/* ================= RESPONSIVE ================= */
@media only screen and (max-width: 1400px) {
}

@media (max-width: 1366px) {
  .logomain img {
    width: 90%;
  }
}

@media (max-width: 1300px) {
}

@media (max-width: 1280px) {
  .bg-image img {
    margin-right: 150px;
  }
  .service-item .slick-list, .testimoni-part .slick-list{
      margin: 0;
  }
  
  .page-template-tmpl-reviews .left-banner {
    width: 75%;
}
.category-list li a{
    padding-right: 40px;
}
.whymain{
    padding-bottom: 50px;
}
}

@media (max-width: 1240px) {
    .banner .banner-btn:has(> a:nth-child(2)) {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
}
.banner .anchore-btn {
    margin-top: 0;
}
  .counter-area ul {
    flex-wrap: wrap;
  }
  .category-list li a {
    padding: 20px 0px 20px 30px;
    font-size: 18px;
  }
  .sidebar-box input {
    height: auto;
    padding: 20px;
  }
  .sidebar-box h4 {
    margin-bottom: 40px;
    font-size: 26px;
  }
  .recent-post {
    gap: 30px;
  }
  .banner-content h3 {
    width: 100%;
    font-size: 24px;
  }
  .banner-content {
    padding-inline: 38px;
  }
}

@media (max-width: 1200px) {
    .chooseelements{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
  .logomain img {
    width: 80%;
  }
  .dentalservice-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .mainfooter-part {
    column-gap: 40px;
    row-gap: 20px;
  }
  .sharesections {
    bottom: 0;
    top: auto;
    right: 0;
    left: auto;
    border-radius: 5px;
    height: 50px;
  }
  .teamsliders {
    padding-left: 52%;
    padding-bottom: 10px;
  }
  .teamsliders-leftimg {
    width: 50%;
    height: auto;
  }
  .teamsliders{
      min-height: 370px;
  }
  
  .teamsliders-rightdetails{
      margin-top: 70px;
  }
  
  section.faqsections{
      padding-top: 100px;
  }
  
  #single-location .mainappoiments {
    gap: 60px;
    }
    
    .midservice .section-content p{
        width: 100%;
    }
}

@media (max-width: 1160px) {
  .whymain {
    gap: 50px;
  }
  .whyinfo ul li p {
    font-size: 16px;
  }
  .whyinfoimg {
    width: 50px;
  }
  /*.whyinfo ul {*/
  /*    grid-template-columns: repeat(2, 1fr);*/
  /*}*/
  .benefits-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .left .benefit::after,
  .right .benefit::after {
    display: none;
  }
  .left .benefit:nth-child(2n),
  .left .benefit:nth-child(4n) {
    margin-left: 0;
  }
  .right .benefit:nth-child(2n),
  .right .benefit:nth-child(2n) {
    margin-right: 0;
  }
  .benefit {
    width: 100%;
  }
  .benefits {
    flex-direction: unset;
    flex-wrap: wrap;
  }
  .benefits-wrap .tooth-image {
    display: none;
  }
  .right .check {
    left: unset;
    right: 22px;
  }
  .left .check {
    left: 20px;
  }
  .benefits.left p {
    padding-left: 50px;
  }
  .clinic-image img {
    max-height: 550px;
  }
  .clinic-card {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 1100px) {
  .mainfooter-part {
    flex-wrap: wrap;
  }
  .mainfooter-part > div {
    flex: 0 100%;
  }
  .footer-quicklink,
  .footer-workinghour {
    flex: 0 48% !important;
  }
  .headerfooter h2 br {
    display: none;
  }
  .contents-footer {
    padding: 50px 40px;
    gap: 70px;
  }
  .bg-image img {
    display: none;
  }
  .dental-counter-sec .section-content p, .dental-service .section-content p, .financeabout .section-content p{
      width: 100%;
  }
  .page-template-tmpl-services .service-range .section-content, .page-template-tmpl-financing-insurance .service-range .section-content, .page-template-tmpl-patient-resources .service-range .section-content{
    width: 100%;
    margin-inline: auto;
}
.working-hours{
        margin-top:30px;
    }
    .page-template-tmpl-financing-insurance .dental-service.flexible-payment.implementpartitem, .testimoni-part, .footer-appoiment{
        border-radius:0;
    }
    
.left-banner {
    width: 70%;
}
}

@media (max-width: 1080px) {
    .bookbutton .anchore-btn {
    padding: 12px 15px;
}
    .booking-form{
        padding-right: 0;
    }
    .cosmeticdentists-ul ul{
       grid-template-columns: repeat(3, 1fr); 
    }
   .whyinfo .banner-btn{
        gap:10px;
        display:grid;
        grid-template-columns: repeat(2, 1fr);
    }
    #multi-location .mainappoimentsdiv ul{
        padding: 65px 25px 10px;
    }
  .menu-search {
    gap: 30px;
  }

  .banner-contents h1 {
    font-size: 45px;
  }

  .banner-contents h1 br {
    display: none;
  }

  .mainbanner-part {
    gap: 80px;
  }

  .banner {
    min-height: 100% !important;
    padding-bottom: 80px;
    border-radius: 0 !important;
  }
  

  .banner-infopart ul {
    gap: 40px;
  }
  .itemscontents h3 {
    font-size: 45px;
  }
  .page-template-tmpl-about .itemscontents p {
    font-size: 20px;
    line-height: 1.2;
  }
  .service-items {
    text-align: left;
  }
  .service-items img {
    width: 80px;
  }

  .serviceareas.service-posts {
    gap: 50px;
  }
  .faq-container {
    gap: 0;
  }
  .benefits-wrap {
    grid-template-columns: repeat(1, 1fr);
    gap: 22px;
  }
  .tooth-image img {
    max-height: 250px;
    object-fit: contain;
    margin-block: 35px;
  }
  .benefits-wrap .tooth-image {
    display: block;
    order: 0;
    max-height: 434px;
  }
  .right .check {
    left: 22px;
    right: 22px;
  }
  .right .benefit {
    padding-left: 62px;
  }
  .clientlogo-slider .slick-dots {
    bottom: -40px !important;
}
.whyinfo ul{
    grid-template-columns: repeat(2, 1fr);
}
.insurance-partner{
    gap:70px;
}
.page-template-tmpl-reviews .left-banner {
        width: 100%;
    }
    
    span.arrows{
      width:20px;
      height:20px;
  }
  
  .anchore-btn{
    padding: 13px 13px;
  }

}

@media (max-width: 1024px){
    .implementpartitem .implementpart-item h3{
        font-size:22px;
        line-height:34px;
        height:auto;
    }
    .page-template-tmpl-financing-insurance .dental-service.flexible-payment.implementpartitem {
    padding-bottom: 10px;
    padding-top: 70px;
}
    .counter-area ul {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        column-gap: 0;
    }
    .count span{
        font-size:100px;
    }
    .leftfeatured-content{
        width: 31%;
    }
    
    .teamsliders {
        min-height: 430px;
    }
    .dental-counter-sec .dentalservice-items{
      grid-template-columns: repeat(2, 1fr);
  }
  .flexibleright li{
      font-size: 18px;
  }
}

@media (max-width: 1020px) {
  /*.close-menu {*/
  /*    display: block;*/
  /*}*/

  .insurance-partner {
    gap: 40px;
  }

  .menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-part {
    display: flex;
    align-items: center;
  }

  .logomain {
    order: 1;
  }

  .hamburger {
    order: 3;
    margin-left: 15px;
  }

  .menu-search {
    order: 2;
    margin-left: auto;
    display: flex;
    align-items: center;
  }

  .bookbutton {
    margin-right: 10px;
  }

  .mbl-hamburger {
    display: flex;
    order: 3;
    margin-left: 20px;
  }
  .articledetails h3 {
    font-size: 34px;
    line-height: 1.4;
  }
  
  .teamsliders {
        min-height: 440px;
    }
}

@media (max-width: 991px) {
    .single-post .left-banner{
        width: 100%;
    }
    .page-template-tmpl-contact .servicesection.contact-dentalcure svg{
        height: 50px;
    }
    .page-template-tmpl-contact .innerbox-text{
        margin-top: 30px;
    }
     .page-template-tmpl-contact .innerbox{
        height: 280px;
    }
    
     .page-template-tmpl-contact .servicesection .slick-dots {
    bottom: -65px;
}
    .clinic-section{
        padding: 60px 0px;
    }
    .leftworking, .contact-box{
        flex: 100%;
    }
    .single-locationpost section.service-range.servicesrrt{
        padding: 0 0 90px;
    }
    .eligibility-mote{
        padding-top: 60px;
    }
  /*  .mainbanner-part {*/
  /*  flex-direction: column-reverse;*/
  /*}*/
  .left-banner {
    width: 60%;
  }

  .right-banner {
    width: 40%;
  }
  .right-banner img {
    width: 100%;
    float: left;
  }
  span.infocont b{
          font-size: 14px;
  }
    .whyinfo .banner-btn{
        gap:10px;
        display:grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .financesimple.implementpart{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
    .page-template-tmpl-financing-insurance .financeapoimentspart{
        padding-top: 50px;
    }
    #dentaloffice .dentaloffice-full, .Eligibilitymain{
        flex-direction: column;
    }
    .Eligibilitymain > div{
            width: 100%;
    }
    .innerCost{
        padding-top:50px;
    }
    #dentaloffice .dental-image{
        width: 100%;
        height: 450px;
        object-fit: cover;
    }
    #dentaloffice .dental-image img{
        object-position: top;
    }
    #dentaloffice .dental-form{
        width: auto;
        padding: 50px 20px;
    }
  .paymenyts {
    flex-wrap: wrap;
    gap: 40px;
  }
  .flexibleleft {
    padding: 50px;
    flex: 100%;
  }
  .flexibleright{
      flex: 100%;
  }
  .infordoc ul .leftright-intro {
    flex-wrap: wrap;
  }
  .implementpart {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .benefits-wrap {
    grid-template-columns: repeat(1, 1fr);
    gap: 22px;
  }
  .section-heading br {
    display: none;
  }

  /*.left-banner {*/
  /*  width: 55%;*/
  /*}*/

  /*.right-banner {*/
  /*  width: 45%;*/
  /*}*/
  

  .insurance-partner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .faq-left h2 br {
    display: none;
  }
  p.faq-subtext {
    padding: 20px 0px 20px;
  }
  .faq-container {
    gap: 30px;
    grid-template-columns: repeat(1, 1fr);
  }

  .service-item {
    margin-inline: 20px;
  }

  .after-icon p {
    padding-top: 30px !important;
  }

  .teamheadlines {
    flex-direction: column;
    gap: 0;
  }

  .teamheadlines .lefttitle {
    width: 100%;
  }

  .teamheadlines .lefttitle br {
    display: none;
  }

  .teamheadlines .rightcontent {
    width: 100%;
  }

  .dentalinsurance {
    padding-bottom: 70px;
  }

  .counter-area ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .counter-area li:nth-child(2),
  .counter-area li:nth-child(4) {
    border: none;
  }

  .mainfill-part {
    flex-direction: column;
    margin-top: 0;
    gap: 50px;
  }

  .mainfill-part .banner-btn {
    margin-top: 20px;
  }

  .leftfeatured-content,
  .right-before-after {
    width: 100%;
  }

  .testimoni-part,
  .footer-appoiment {
    border-radius: 0 !important;
  }

  #single-location .mainappoiments {
    gap: 40px;
  }

  .mainappoimentsdiv ul li a p {
    font-size: 16px;
  }

  .bg-image {
    display: none;
  }

  .whymain {
    flex-direction: column;
    padding-bottom: 80px;
  }

  .home .leftimg,
  .home .rightwhy {
    width: 100%;
  }

  .servicesection,
  .counter-area,
  .dental-service,
  .chooseus-about {
    border-radius: 0;
  }

  .chooseus-about {
    padding-bottom: 70px;
  }

  .footer-quicklink,
  .footer-workinghour {
    flex: 0 46% !important;
  }

  .footerright p {
    text-align: center;
  }

  .contents-footer {
    gap: 20px;
    flex-direction: column;
  }

  .count span {
    font-size: 90px;
  }

  .counter-area li {
    padding-block: 20px;
  }

  .storydetails {
    align-items: flex-start;
  }

  .mainhealth-smile,
  .storydetails {
    flex-direction: column-reverse;
  }

  .leftrighttake {
    flex-direction: column;
  }

  .lefttakecare img {
    width: 500px;
  }

  .leftsmile,
  .rightsmile,
  .lefttdr {
    width: 100%;
  }
  h3.dttitle {
    text-align: left;
  }
  .doctorleft .whymain {
    gap: 20px;
  }
  .cosmeticdentists-ul ul {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-template-tmpl-doctors section.frontfrom {
    padding-top: 50px;
  }
  .latestblog p {
    padding-inline: 0;
  }

  .home .leftimg, 
  .home .rightwhy,
  .page-id-304 .leftimg,
  .page-id-304 .rightwhy,
  .leftimg,
  .rightwhy {
    width: 100%;
  }
  
  .home .leftimg, .page-id-304 .leftimg

  .dental-counter-sec .dentalservice-items,
  .serviceareas.service-posts {
    grid-template-columns: repeat(2, 1fr);
  }

  .chooseelements,
  .serviceareas.service-posts {
    gap: 30px;
  }
  .innerCost h3 {
    font-size: 32px;
  }

  .blog-container {
    display: flex;
    gap: 30px;
    flex-direction: column;
  }
  .appointment-banner {
    height: 350px;
  }
  .appointment-banner img {
    height: 100%;
  }
  .banner-content {
    justify-content: center;
  }
  
  .righttakecare {
    width: 100%;
}
.abouttakecare{
    padding-bottom: 100px;
}

.page-template-tmpl-about .abouttakecare{
    padding-bottom: 60px;
}
}

@media (max-width:867px) {
    .implementpart-item{
        height: 100%;
        width: 100%;
    }
    .implementpartitem .implementpart-item h3{
        height: 100%;
    }
    .page-template-tmpl-financing-insurance .dental-service.flexible-payment.implementpartitem{
        padding-block: 50px;
    }
    .financesimple.implementpart{
        margin-top: 50px;
    }
    .financesimple-item.implementpart-item{
        margin-top: 0;
        width: 100%;
    }
    .quick-booking-form{
        max-width: 100%;
    }
    .banner .banner-btn {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .banner .banner-btn:has(> a:nth-child(2)) {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 840px) {
  .section-heading {
    font-size: 35px;
  }
  .Eligibilitymain {
    flex-direction: column;
  }
  .Eligibilitymain > div {
    width: 100%;
  }
  .innerCost {
    padding-top: 20px;
  }
  .chooseelements{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .chooseelements .chooseitems, .chooseitems h3, .chooseitems p{
        text-align: left;
    }
}

@media (max-width: 767px) {
  .leftright-intro {
    flex-wrap: wrap;
  }
  .infordoc ul {
    flex-wrap: wrap;
  }
  .mainbanner-part {
    gap: 40px;
  }

  #single-location .mainappoiments {
    flex-direction: column;
  }
  .mainappoiments-left,
  #single-location .mainappoiments-right,
  .simple-booking-form {
    max-width: 100%;
  }
  .mainbanner-part {
    flex-direction: column-reverse;
  }
  .left-banner,
  .right-banner {
    width: 100%;
  }
  .right-banner img {
    width: 50%;
    float: left;
  }
  
  section.banner{
      padding-top: 100px;
  }

  .headerfooter h2 {
    text-align: center;
  }
  .cosmeticdentists-ul ul {
    grid-template-columns: repeat(2, 1fr);
  }
  .cosmeticdentists-ul .cosmeticdentistsimg img{
      max-height: 400px;
  }
  .insurance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}
.dental-service.flexible-payment .flexibleleft h2{
    font-size: 32px;
}
    .banner .banner-btn {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

}

@media (max-width: 695px) {
  .righttakecare {
    width: 100%;
  }

  .footer-quicklink,
  .footer-workinghour {
    flex: 0 100% !important;
  }

  .banner-contents h1 {
    font-size: 38px;
  }

  .banner-contents h1 br {
    display: none;
  }

  .chooseelements {
    flex-direction: column;
  }

  .whyinfo ul {
    grid-template-columns: repeat(1, 1fr);
  }

  .whyinfo ul li p br {
    display: none;
  }

  .abouttakecare {
    padding-bottom: 80px;
  }

  .left-banner .anchore-btn {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    margin-top:0;
  }
  .working-hours {
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 35px;
  }
}

@media (max-width: 600px) {
  .header-part .anchore-btn {
    display: none;
  }

  section.banner {
    padding-top: 120px;
  }
  .section-heading {
    font-size: 28px;
  }
  .banner-infopart ul {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
  .counter-area li {
    padding: 20px;
  }

  .clientsliders {
    flex-direction: column;
  }

  .client-details {
    width: 100%;
  }

  .client-details h5 {
    margin: 10px 0;
  }

  .clientreview-content {
    width: 100%;
  }
  .dental-counter-sec .section-content p {
    width: 100%;
  }
  .page-template-tmpl-contact .servicesection.contact-dentalcure svg{
        height: 50px;
    }
    .page-template-tmpl-contact .innerbox-text{
        margin-top: 30px;
    }
     .page-template-tmpl-contact .innerbox{
        height: 280px;
    }
    
    .servicesection{
        padding: 89px 0px ;
    }
    
     .page-template-tmpl-contact .servicesection .slick-dots {
    bottom: -65px;
}
.faq-question{
    padding: 18px 60px 18px 22px;
    text-align: left !important;
} 

.section-title{
    font-size: 30px;
    margin: 0px 0px 30px;
}

.blog-content h4 {
    font-size: 24px;
    line-height: 1.4;
}

.blog-section{
    padding-inline: 0;
}

}

@media (max-width: 580px) {
  .email-subscribe-bar {
    width: 100%;
  }

  .teamsliders::after {
    height: 70%;
  }

  .teamsliders {
    min-height: 100%;
    padding-bottom: 80px;
    padding-left: 40px;
    flex-wrap: wrap;
  }

  .teamsliders-leftimg {
    position: relative;
    margin-bottom: 32px;
    height: 100%;
  }

  .teamsliders-rightdetails {
    width: 100%;
    margin-top: 0px;
  }

  .sharesections {
    left: auto;
    right: 0;
    bottom: 0;
    height: 50px;
    border-radius: 5px;
    top: auto;
  }

  .footer-navigation {
    margin-top: 50px;
  }
  .mainappoimentsdiv ul {
    padding: 94px 20px 13px 30px;
  }
  
  .banner-btn {
    gap: 0px;
    flex-direction: column;
}
.whyinfo .banner-btn{
        gap:10px;
        display:grid;
        grid-template-columns: repeat(1, 1fr);
    }
    
    .cosmeticdentists-ul ul {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 480px) {
    .banner .banner-btn:has(> a:nth-child(2)) {
        grid-template-columns: repeat(1, 1fr);
    }
  .insurance-partner {
    grid-template-columns: repeat(2, 1fr);
  }

  .footerfollow .container-full {
    flex-direction: column;
    gap: 20px;
  }

  .dental-counter-sec .dentalservice-items,
  .serviceareas.service-posts {
    grid-template-columns: repeat(1, 1fr);
  }
}
