/* MOBILE MEDIA */

.sf-arrows ul .sf-with-ul:after{
  margin-top: -5px;
  margin-right: -3px;
  border-color: transparent;
  border-left-color: #000;
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after{
  border-left-color: #333;
}
.toggle-nav, a.closebtn{
  display: none;
}
.main-navigation ul ul li{
  padding: 10px;
}

/* MEDIA SECTION */

@media screen and (max-width: 720px) and (min-width:320px){
  .sticky{
    position: static !important;
    transform: none;
  }
  img.custom-logo {
    width: 30%;
}
  #slider .inner_carousel p{
    display: none;
  } 
  #slider .inner_carousel h2{
    padding-bottom: 0;
    font-size: 26px;
    width: 100% !important;
  }
  section#slider .inner_carousel{
    top: 50% !important;
  }
  #about img.about-img2{
    position: static;
  }
  section#about{
    margin-top: 0px;
    padding-top: 0px;
  }
  .about_box_img{
    background: none;
  }
  .team-text-box {
    text-align: center;
  }
  .testi-head h3{
    letter-spacing: 9px;
  }
  .testi-box i{
    display: none;
  }
  section#brands {
    padding-bottom: 80%;
  }
  section#subscribe {
    padding: 0px 0px;
  }
  #subscribe .subscribe-form {
    width: 100%;
  }
  #subscribe .subscribe-email-text{
    width: 72%;
  }
  #subscribe .subscribe-btn{
    right: 4%;
  }
  section#testim {
    margin-top: -18em;
  }
  #latest_news .news-box:hover .lower-new-box {
    opacity: 0.9;
} 
  div#footer_box {
    text-align: center;
  }
  #comments input[type="text"], #comments input[type="email"], #comments textarea{
    width: 300px;
  }


}

@media screen and (max-width: 1000px) and (min-width:768px){
  .sticky{
    position: static !important;
  }
  img.custom-logo {
    width: 20%;
}
 #slider .inner_carousel p,#about .about-box p.abt-para,#features .feature_box_txt p.f-para{
  display: none;
 }
 #about img.about-img2{
  top: -2%;
 }
 section#testim {
    margin-top: -15em;
  }
  .testi-box i{
    display: none;
  }
#subscribe .subscribe-form {
    width: 53%;
  }
  #subscribe .subscribe-btn{
    right: 27%;
  }
  #sidebar .search-form .search-submit{
    width: 40%
  }
  section#slider .inner_carousel{
    top: 65% !important;
  }
}
@media screen and (max-width: 1199px) and (min-width:1024px){
  #subscribe .subscribe-btn{
    right: 33%;
  }
  section#testim {
    margin-top: -18em;
  }
  #about img.about-img2{
    top: 2%;
  }
  .about_box_img{
    height: 78%;
  }
  section#about {
    padding-bottom: 0 !important;
  }
  section#features {
    padding-top: 10px !important;
  }
}
@media screen and (max-width: 1000px){
  .toggle-nav {
    display: block;
    cursor: pointer;
    z-index: 999999;
  }
  .toggle-nav i {
    font-size: 20px; 
    color: #fe878d;
    background: #fff0e9;
    border-radius: 10px;
  }
  .sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999999;
    top: 0;
    right: 0;
    background-color: #fff0e9;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    display: block;
    color: #ffffff;
  }
  nav#site-navigation ul {
    margin: 0;
  }
  iframe {
    width: 100%;
    height: auto;
  }
  .main-navigation ul ul li,
  #masthead.scrolled .main-navigation ul ul li{
    display: block;
  }
  .menu > ul > li:hover:before, 
  .menu > ul > li.current_page_item:before, 
  .menu > ul > li.current-menu-item:before{
    display: none;
  }
  .sf-arrows .sf-with-ul:after{
    border-top-color: #333;
  }
  .menubar .nav ul li,.menubar.scrolled .main-navigation li{
    border-bottom:solid 1px #475275; 
    display:block;
    text-align:left;
    float:none;
    width: 18rem;
    padding: 5px 0;
  }
  .nav ul li a{
    padding:5px 10px;
    color:#fe878d;
  }
  .nav ul li a:hover{
    color:#ff8a00;
  }
  .nav ul li ul,
  .nav ul li ul ul{ 
    display:block !important;
  }
  .nav ul li ul li a:before{
    content:"\00BB \00a0";
  }
  .nav ul li ul li a{
  padding-left:20px !important;
  }
  .nav ul li ul li ul li a{
    padding-left:30px !important;
  }
  .main-navigation ul ul{
    position: static;
    background:transparent;
  }
  .main-navigation .current_page_item > a, .main-navigation .current-menu-item > a {
    color: #db4242;
  }
}
@media screen and (min-width: 1400px){
section#slider .inner_carousel{
  left: 12% !important;
}
}
