/*media query*/

:root {
  --grey: #eee;
  --white: #fff;
  --dark: #333;
  --light_dark:#555;

  --orange: #ff5e58;
  --light_orange: #f49100;
  --light_yellow: #fffaeb;
  --light_blue: #2bb0ef;

}


/*less than 575px*/
@media only screen and (max-width:480px) 
{ 

.box17 .box-content {
    padding: 15px 18px 20px 18px;
    bottom: 0px;
    background: rgb(255, 0, 0, .3);
}

h4 {
    font-size: 14px;
    line-height: 20px;
}

.owl-carousel .owl-nav button.owl-next {
    right: -5px;
}


.owl-carousel .owl-nav button.owl-prev {
    left: -5px;
}
.sub_nav_outer {
    bottom: 45px;
    right: 20px;
    left:  20px;
    height: auto;
}

#main_banner.home img {
    width: 100%;
    height: 260px;
}

.hero-waves {
    height:50px;
    bottom: 0px;
    left: 0px;
}

.fix_sub_nav {
    top: 63px;
}
 
#main_banner img {
    width: 100%;
    height: 300px;
}

}
@media only screen and (max-width:577px)  and (min-width:480px)
{
  .box17 .box-content {
    padding: 15px 18px 20px 18px;
    bottom: 0px;
    background: rgb(255, 0, 0, .3);
}

.sub_nav_outer {
    bottom: 50px;
    right: 30px;
    height: auto;
}
#main_banner.home img {
    width: 100%;
    height: 300px;
}
  #main_banner img {
    width: 100%;
    height: 300px;
}

  .fix_sub_nav {
    top: 63px;
}
 
  .color_break p{
      font-size:20px;
      letter-spacing: 1.2px;
      line-height:26px;
  }
  .color_break img{
    height: 320px;
  }
  .color_break .img_back{
    position: absolute;
    width: 100%;
    
  }

  .color_break .img_up{
    position: absolute;
    top: 0px;
    left: 0px; 
    right: 0px;
    padding:80px 40px 40px 40px;
  }

  .stylish_btn2 {
    padding: 8px 10px 8px 10px;
    min-width: 120px;
  }
 

}

/*less than 767px*/
@media only screen and (max-width:768px) and (min-width:577px)
{  

.box17 .box-content {
    padding: 15px 18px 20px 18px;
    bottom: 0px;
    background: rgb(255, 0, 0, .3);
}

  .sub_nav_outer {
    bottom: 50px;
    right: 20px;
    left:  20px;
    height: auto;
}
  #main_banner.home img {
    width: 100%;
    height: 350px;
}
.color_break p{
    font-size:20px;
    letter-spacing: 1.2px;
    line-height:26px;
}

#main_banner img {
    width: 100%;
    height: 340px;
}

  
}

/*less then 992px and less than 768*/
@media only screen and (max-width:993px) and (min-width:768px)
{  

  .sub_nav_outer {
    bottom: 80px;
    right: 30px;
    left:  30px;;
    height: auto;
}
  #main_banner.home img {
    width: 100%;
    height: 420px;
}
#main_banner img {
    width: 100%;
    height:400px;
}
  
}

/*less then 1201 and greater than 993*/
@media only screen and (max-width:1201px) and (min-width: 993px)
{ 

  

}

/*less then 1400px and greater than 993*/
@media only screen and (max-width:1400px) and (min-width:1201)
{

}
