@media only screen and (min-width:767px) and (max-width:1200px) {
    .footer .thrird-block {
        order:1;
    }

    .footer .second-block {
        order:2;
    }
}

@media only screen and (max-width:1200px) {
    .hero-title {
        font-size: 42px;
    }

    .main-title {
        font-size: 42px;
    }


    .hero-desc {
        font-size: 18px;
        
        & br {
            display: none;
        }
    }

    .title {
        font-size: 32px;

        & br {
            display: none;
        }
    }

    .mid-title {
        font-size: 24px;
    }

    .footer-top h3, .footer-top h2 {
        font-size: 20px;
    }

    .footer-navmenu ul li {
        font-size: 10px;
    }
    #footer {
        font-size: 12px;
    }

    
  .menu-item-has-children::after {
    width: 30px;
    height: 30px;
    right: 0px;
    bottom: inherit;
    top: 10px;
    background-size: 15px;
  }

.menu-item {
    padding: 10px;
}

  .header .sub-menu {
    position: relative;
    opacity: 1;
    visibility: inherit;
    top: 0px;
    width: 100%;
    margin-bottom: 0.5rem;
    background-color: #5b822e1a;
    border-radius: 0;
    padding-block: 5px;
    box-shadow: none;

    & li {
         padding: 10px;
    }

    & li a {
      border-bottom: none;
      padding-top: 0;
      display: flex;
      align-items: center;
      margin-inline:5px;
    }
  }

  #header .sub-menu {
    display: none;
  }

  #header .sub-menu.active {
    display: block;
    left: 0;
  }


    .section-services {
        padding-top: 50px !important;
    }

    /*.main-wrapper > section:first-child {
        padding-top:110px !important;
    }*/
  
	.common-banner {
		min-height: 350px;
	}
    .program-wrapper-common .title {
        font-size: 36px;
    }

    .success-carousel .success-carousel-content {
        background-size: 50px;
        padding-left: 3rem;
    }

    
    .content-titles {

        & h2 {
            font-size: 36px;
        }

        & h3 {
            font-size: 32px;
            margin-bottom: 2rem;
        }

        & h5 {
            font-size: 22px;
        }

        & h4 {
            font-size: 28px;
        }
        
    }


    .circle-list ul li::after {
        left: 30px;
    }

    .prog-middle-banner .middle-banner-inner {
        padding: 45px 2rem;
    }
  
  .page-template-hormone-rebalance-program .mobile-btn {
    display:none !important;
  }

}
@media only screen and (max-width:1024px) { 
    #hero-carousel .item {
        background-size: contain;
    }
}

@media only screen and (max-width:768px) { 
    #hero-carousel .item {
        background-image:none !important;
        height: auto;
    }
    .hero-carousel.owl-carousel.owl-loaded {
        height: auto;
    }
    #hero-carousel .item .hero-content {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
@media only screen and (max-width:600px) { 

    #hero-carousel .item .hero-content {
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        text-align: center;
    }
    #hero-carousel .item .hero-content .btn-style-1 a {
        display: inline-block;
    }
  
	/*.page-template-weight-loss-program .program-wrapper-common > section:first-child {
		padding-top:40px !important;
	}*/
	
  .sn-menu {
      min-height: 70px;
  }
  
  header .logo figure img {
      max-width: 140px;
  }

    .hero-carousel .owl-dots {
        background-color: #fff;
        bottom: 0px;
        width: 100%;
        display: flex;
        min-height: 50px;
        padding-inline: 1rem;
        justify-content: center;
        margin-top: 0px !important;
    }

    .header .menu-item-has-children::after {
        right: 15px;
    }

    .sub-menu .sub-menu {
        margin-top: 15px;
    }


    .health-tab .nav-link {
        opacity: 1;
    }

    .team-item {
        margin-inline:auto;
    }
  
  
  .health-tab .nav-link {
    min-height:50px;  
  }

    .row-rev {
        flex-direction: column-reverse;
    }

    .btn-order {
        order: 2;

        & a {
            margin-inline:auto;
        }
    }

    .service-carousel#service-carousel  .owl-nav button {
        position: relative;
        top: 0;
        font-size: 20px;

        &.owl-prev {
            left: -10px;
        }

        &.owl-next {
            right: -10px;
        }
    
    }

    .banner-subtext.mid-title {
        font-size: 20px;
    }

    /*.home .main-wrapper > section:first-child {
        padding-top: 100px !important;
    }*/

    #hero-carousel .item {
        height: auto;
        align-content: center;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: bottom;
    }

    .hero-carousel.owl-carousel.owl-loaded {
        height: auto;
    }
  
   .prog-middle-banner .middle-banner-inner {
        padding: 45px 2rem;
    }

    .program-wrapper-common .about-us-bottom .about-content {
        padding-right: 0;
    }

    .program-wrapper-common .transform-health .health-content {
        padding-right: 0;   
    }

    .program-wrapper-common .card-header a {
        font-size: 20px;
    }
  
  .program-wrapper-common .program-card .card-title {
    font-size:24px;
  }
  
  .clarity-left {
    padding-inline:1rem;
  }
}

    