/*----------------------Mobile Menu Icon------------------------------*/

/*-----------------Superfish Menu------------------*/
.sf-arrows .sf-with-ul{
  padding-right: 15px;
}

.sf-arrows .sf-with-ul li:before{
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -2px;
  height: 0;
  width: 0;
  border: 5px solid transparent;
  border-top-color: #1e3237;
}

.sf-arrows ul .sf-with-ul:after{
  margin-top: -5px;
  margin-right: -3px;
  border-color: transparent;
  border-left-color: #888;
}

.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:425px){
   .title-box h1{
    top: 0%;
   }
}
@media screen and (max-width:575px) {
  
  .main-header-box {
    margin: 20px 0;
  }
  #footer input[type="submit"]{
    right: 20px;
  }
  #slider .slider-box .btn1{
    padding: 7px 9px;
  }
  #slider .slider-box .btn2{
    padding: 7px 9px;
  }
  #header .right_content {
    text-align: center;
  }
  .toggle-nav {
    top: 2px;
    float: unset;
  }
  #slider .slider-box {
    max-width: 100%;
  }
  #slider .slide_btn {
    margin: unset;
    display: none;
  }
  #slider .slider-box{
    left: 5%;
    right: 3%;
  }
  #slider .owl-dots{
    bottom: 30px;
  }
  #slider .slider-box h1 {
    font-size: 18px;
    line-height: 20px;
  }
  #slider .slider-box p , #latest_news .brdr{
    display: none;
  }
  #service .left_content , #service .right_content {
    text-align: center;
    margin-bottom: 20px;
  }
  #service .small {
    align-self: center;
  }
  #footer .copy-text p{
    margin: 0px 10px 0px 10px;
  }
  #choose .heading h3, 
  #choose .heading p , 
  #footer .social-icons {
    text-align: center;
  }
  #testimonial .owl-dots {
    bottom: unset;
    padding-bottom: unset;
  }
  #book_table select {
    margin-bottom: 20px;
  }
  .home.page-template .site-header , .main-header-box ,
  #service li.id-1 , #service li.id-2 , #service li.id-3 ,
  #service li.id-4, #service li.id-5 , #service li.id-6 ,
  #latest_news .latest_content , #choose .left_img ,
  .contact-content {
    position: unset;
  }
  .main_heading , .main_text {
    font-size: 20px;
    text-align: center;
  }
  #footer h3 {
    text-align: center;
  }
  #footer {
    text-align: center;
  }
  #footer ul li {
    text-align: center;
  }
  section{
    padding: 20px 0;
  }
  blockquote{
    width: 100%;
  }
  .media-small {
    padding-left: 10px !important;
  }
  section h2{
    font-size: 22px;
  }
  .above_title {
    margin-top: 2%;
  }
  .sticky {
    position: unset !important;
  }
  .post-navigation .nav-previous {
    width: 100%;
  }
  .post-navigation .nav-next {
    width: 100%;
  }
}
@media screen and (max-width:768px){
  #latest_news button.owl-next{top: -4%;}
  #latest_news button.owl-prev{top: -4%;}

}
@media screen and (min-width: 575px) and (max-width:768px){
.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
    
   
    margin: 0 3.8% 2.992em 0;
    padding: 0;
    position: relative;
    width: 26.05%;
    margin-left: 0;
    float: left;
    clear: both;
}
img.emoji {
    display: none !important;
}
.woocommerce ul.products[class*=columns-] li.product:nth-child(2n), .woocommerce-page ul.products[class*=columns-] li.product:nth-child(2n){
  float: left;
}
ul.products.columns-4 {
    display: flex;
}

.woocommerce div.product div.images img {
   width: 48%;
    float: left;
}


}
@media screen and (min-width: 576px) and (max-width:767px) {

  .main-header-box {
    margin: 20px 0;
  }
  #slider .slider-box{
    max-width: 43%;
  }
  #header .right_content {
    text-align: center;
  }
  .toggle-nav {
    top: 2px;
    float: unset;
  }
  #slider .slider-box h1 , #latest_news h5 {
    font-size: 18px;
    line-height: 20px;
  }
  #latest_news p.description {
    line-height: 21px;
  }
  #service .left_content , #service .right_content {
    text-align: center;
    margin-bottom: 20px;
  }
  #service .small {
    align-self: center;
  }
  #footer .social-icons {
    text-align: left;
  }
  #book_table select {
    margin-bottom: 20px;
  }
  .home.page-template .site-header , .main-header-box ,
  #service li.id-1 , #service li.id-2 , #service li.id-3 ,
  #service li.id-4, #service li.id-5 , #service li.id-6 ,
  #latest_news .latest_content , #choose .left_img ,
  .contact-content {
    position: unset;
  }
  .main_heading , .main_text {
    font-size: 20px;
    text-align: center;
  }

}

@media screen and (max-width:767px){
    #book_table select, input#appt, #book_table input[type="date"], #book_table input[type="number"]{
      margin-bottom: 20px;
    }
}
@media screen and (min-width: 576px) and (max-width:991px){
    #slider .owl-dots{
      bottom: 45px;
    }
}
@media screen and (min-width: 768px) and (max-width:991px) {
  .contact-content {
    top: 50px;
  }
  .home.page-template .site-header , #choose .left_img {
    position: unset;
  }
  #slider .slider-box h1 {
    font-size: 25px;
    line-height: 30px;
  }
  #service .service_data p {
    display: none;
  }
  #choose .small {
    align-self: center;
  }
  #service li.id-1 {
    left: 68px;
  }
  #service li.id-3 {
    top: 185px;
    left: 75px;
  }
  #service li.id-4 {
    right: 68px;
  }
  #service li.id-6 {
    top: 185px;
    right: 78px;
  }
}
@media screen and (min-width: 992px) and (max-width:1200px) {

  .contact-content {
    top: 50px;
  }
  #service .service_data p {
    display: none;
  }
  #choose .left_img {
    position: unset;
  }
  #choose .small {
    align-self: center;
  }
  #service li.id-1 {
    left: 85px;
  }
  #service li.id-2 {
    top: 136px;
    left: 32px;
  }
  #service li.id-3 {
    top: 240px;
    left: 93px;
  }
  #service li.id-4 {
    right: 90px;
  }
  #service li.id-5 {
    top: 136px;
    right: 35px;
  }
  #service li.id-6 {
    top: 240px;
    right: 96px;
  }
  #latest_news p.description {
    font-size: 12px;
    line-height: 18px;
  }

}

@media screen and (max-width: 1024px) {

  .main-navigation a:before , .main-navigation a:after {
    display: none;
  }
  .main-navigation ul ul{
    background-color: transparent;
  }
  .main-navigation ul ul li, .menubar.scrolled .main-navigation ul ul li{
    border-bottom: none;
  }
  .main-navigation .sub-menu li:before {
    top: 12px;
  }
  .site-description{
    font-size: 12px !important;
  }
  .toggle-nav {
    display: block;
    position: relative;
    float: right;
    right: 15px;
    height: 30px;
    width: 30px;
    cursor: pointer;
    margin: 0 auto;
    z-index: 999999;
    right: 0;
    text-align: right;
    right: 0;
    margin-right: 0;
  }
  .toggle-nav i {
    font-size: 29px;
    color: #1f1e1e;
  }
  .sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999999;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }
  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  .sidenav a:hover {
    color: #f1f1f1;
  }
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    display: block;
    color: #ffffff;
  }
  .sidenav #site-navigation {
    width: 100%;
  }
  .toggle-nav span {
    cursor:pointer; 
    text-align: right;
  }
  iframe {
    width: 100%;
    height: auto;
  }
  .innermenubox {
    position: static;
    padding-bottom: 10px;
  }

  .main-navigation .menu{
    float: none;
    text-align: center;
  }
  .main-navigation ul ul li,
  #masthead.scrolled .main-navigation ul ul li{
    display: block;
  }
  .main-navigation .menu > ul > li.highlight{
    background: transparent !important;
  }
  .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;
  }
  .toggle i.fa.fa-bars,.toggle i.fa.fa-times {
    float: right;
    color: black;
  }
  .menubar .nav ul{ 
    width:100%;
    margin-top:0; 
  }
  .menubar .nav ul li,
  .menubar.scrolled .main-navigation li{
    border-top:1px #303030 solid; 
    display:block;
    text-align:left;
    float:none;
    width: 18rem;
    padding: 5px;
  }
  .nav ul li a{
    padding:5px 10px; 
    display:block; 
    color:#ffffff;
    text-align: left;
  }
  .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;
    width: 100%;
    box-shadow: none;
  }
  .main-navigation li.current_page_item {
    border:none;
  }
  section {
    padding: 30px 0;
  }
}
