/*-------------- media section ---------------*/

@media screen and (max-width:991px) and (min-width: 577px) {
  .socialbox{ text-align: center; float: unset; }
  .woocommerce div.product div.images .flex-control-thumbs{ margin: 10px 0 0 0; }
  .contact-box .wpcf7 input[type="text"], .contact-box .wpcf7 input[type="email"], .contact-box .wpcf7 textarea{ width: 100% !important; }
  #sidebar aside{ margin-bottom: 11%; }
}

@media screen and (max-width: 1250px){
  .headerbar, .side-navigation, .side-navigation ul ul li, .current_page_item{ display: block; }
  .headerbar:focus,.hamburger:focus{ outline: none; }
  .hamburger i:before { line-height: 0; text-align: left; color: #FFFFFF; }
  .main-header .side-navigation { display: none }
  .side-navigation,.side-navigation li { padding: 0; }
  .side-navigation ul ul li a{ border: 0; }
  #sidebar1 { height: 100%; width: 0; position: fixed; z-index: 9999999; top: 0; left: 0; overflow-x: hidden; transition: .5s; }
  .side-navigation ul li ul, .side-navigation ul li ul ul { display: none; }
  .side-navigation ul ul,.side-navigation ul ul li { background: var(--transparent) !important; }
  .side-navigation ul ul { position: static; width: 100%; box-shadow: none; }
  .side-navigation ul ul li{ padding-left: 15px; }
  .side-navigation ul.sub-menu li a:before{ content: none; }
  .side-navigation ul>li.menu-item-has-children>a:after{ margin-top: 0; }
	iframe { width: auto;
    height: auto; }

}


 /* ----------------------- Custom Responsive ------------------ */

@media screen and (min-width:1510px) and (max-width:1800px) {

  /* Banner */
  .banner-text-wrap,.banner-trusted { left: 60px; }

  /* About Us */
  .about-img { padding-right: 25px; }

  /* Services */
  .service-content:nth-child(odd) { transform: perspective(1000px) rotateY(40deg); }
  .service-content:nth-child(even) { transform: perspective(1000px) rotateY(-40deg); }

  /* Image With Text */
  .iwt-text-wrap { padding: 28px 20px; }

  /* Text Banner */
  .tb-text { left: 60px; }

  /* Testimonial */
  .testi-inner { margin: 0 0px 0 45px; }

  /* Get In Touch */
  .git-f p { margin-bottom: 25px; }

  /* Direction */
  .direction-distance-wrap { gap: 60px; }

}

@media screen and (min-width:1260px) and (max-width:1500px){

  .service-heading h2, .department-heading h2, .iwt-heading h2, .pp-heading h2, .facilitie-heading h2, h2.testi-heading, .blog-heading h2 { font-size: 40px; }

  /* Banner */
  .banner-text-wrap,.banner-trusted { left: 0.75rem; }
  h1.banner-heading { font-size: 52px; line-height: 64px; max-width: 60%; margin-bottom: 80px;}
  p.banner-text { padding: 5px 0 25px; max-width: 60%; }
  .brand-heading h2 { font-size: 26px; text-align: center; }
  .brand-heading { padding: 50px 15px 50px 15px; }

  /* About Us */
  .about-img { padding-right: 40px; }
  .about-text h2 { font-size: 30px; line-height: 47px; padding: 20px 0 10px; }
  .about-text p { font-size: 14px; line-height: 26px; }
  ul.about-feature { margin: 25px 0 30px; }

  /* Service */
  .service-heading { padding-bottom: 0px; }
  .service-text p { font-size: 14px; }
  .service-content:nth-child(even) { transform: perspective(1200px) rotateY(-29deg); }
  .service-content:nth-child(odd) { transform: perspective(1200px) rotateY(29deg); }
  a.sv-btn { margin: 60px auto 0; }

  /* Choose Us */
  .cu-inner-wrap .row, .cu-inner-wrap .rowww { align-items: center; }
  .cu-img { padding-left: 30px; }
  .cu-text h2 { font-size: 30px; line-height: 40px; padding: 20px 0 30px; }
  .cu-feature { grid-column-gap: 30px; grid-row-gap: 20px; }

  /* Doctor */
  .doctor-heading h2 { font-size: 40px; padding-bottom: 10px; }
  .doctor-heading p { font-size: 14px; max-width: 95%; }
  .doctor-inner-wrapper { grid-gap: 10px; }
  .doctor-text p { font-size: 14px; line-height: 26px; }

  /* Department */
  .department-inner-wrapper { gap: 10px; }
  .department-text p { font-size: 14px; line-height: 26px; }

  /* Image With Text */
  .iwt-text-wrap { padding: 25px 20px; }
  p.iwt-text { font-size: 14px; line-height: 26px; }
  .iwt-detail { padding-bottom: 30px; }
  .iwt-contact { padding-top: 30px; }
  .iwt-inner-wrapper .row { align-items: center; }

  /* Pricing */
  .pp-heading h2 { padding-bottom: 15px; }
  .pp-heading p { font-size: 14px; max-width: 95%; }
  .pp-product { gap: 20px; }
  .pp-text p { font-size: 14px; line-height: 26px; max-width: 90%; }

  /* Text Banner */
  .tb-text { left: 0.75rem; }
  .tb-text h2 { font-size: 38px; line-height: 50px; max-width: 70%; padding-bottom: 30px; }

  /* Facilities */
  .facilities-inner-wrapper { grid-column-gap: 40px; grid-row-gap: 40px; }

  /* Testimonial */
  .testi-inner { margin: 0 0px 0 0px;     width: 1000px;
    margin: auto;}
  .testi-text p { font-size: 13px; line-height: 1.5; max-width: 90%; }

  /* Blog */
  .blog-content-wrap { grid-gap: 25px; }
  .blog-title a { line-height: 28px; }

  /* Get in Touch */
  .git-f p { margin-bottom: 25px; }
  .git-form-wrap h4 { font-size: 32px; padding: 0 0 25px; }
  .git-form-wrap { padding: 20px; margin-left: auto;
    margin-right: auto;width: 80%;}

  /* Direction */
  .direction-text { padding: 20px; }
  .direction-text h2 { font-size: 38px; line-height: 55px; }
  .direction-text p { font-size: 14px; line-height: 30px; padding: 10px 0 25px; }
  .direction-distance-wrap { gap: 50px; }



}

@media screen and (min-width: 1010px) and (max-width:1250px) {

  section { background-size: cover; background-repeat: no-repeat; padding: 30px 0; }
  .service-heading, .doctor-heading, .department-heading, .iwt-heading, .pp-heading, .facilitie-heading, .testi-head, .blog-heading { padding-bottom: 30px; }
  .service-heading h2, .department-heading h2, .iwt-heading h2, .pp-heading h2, .facilitie-heading h2, h2.testi-heading, .blog-heading h2 { font-size: 40px; }

  /* Banner */
  .banner-text-wrap { left: 25px; }
  h1.banner-heading { font-size: 54px; line-height: 70px; max-width: 95%; margin-bottom: 80px;}
  p.banner-text { font-size: 14px; line-height: 26px; text-align: left; padding: 5px 0 25px; max-width: 80%; }
  .banner-arrow { max-width: 80px; height: 80px; padding: 10px 0; }
  .banner-trusted { gap: 25px; bottom: 30px; left: 25px; }

  /* Brand */
  section#brand { padding: 0 0 30px; }
  .brand-inner-wrapper { grid-template-columns: 0.6fr 3fr; }
  .brand-heading { padding: 30px 10px 30px 10px; }
  .brand-heading h2 { font-size: 22px; line-height: 32px; text-align: center; }
  .brand-img { padding: 30px 10px; }
  .brand-img img { width: 15%; }

  /* About US */
  .about-img { padding-right: 25px; }
  .about-text h2 { font-size: 32px; line-height: 42px; padding: 15px 0 5px; }
  .about-text p { font-size: 14px; line-height: 24px; }
  ul.about-feature { margin: 15px 0 30px; }
  ul.about-feature li { font-size: 14px; margin-bottom: 10px; }

  /* Services */
  .service-heading { padding-bottom: 50px; }
  .service-content:nth-child(odd) { transform: perspective(1100px) rotateY(25deg); padding: 20px 10px; }
  .service-content:nth-child(even) { transform: perspective(1100px) rotateY(-25deg); padding: 20px 10px; }
  .service-title { font-size: 20px; line-height: 26px; padding: 10px 0 5px; }
  .service-text p { font-size: 14px; line-height: 24px; margin: 0 0 10px; }
  a.sv-btn { margin: 50px auto 0; }

  /* Choose Us */
  .cu-inner-wrap .row { align-items: center; }
  .cu-text h2 { font-size: 32px; line-height: 42px; padding: 15px 0 15px; }
  .cu-feature { grid-column-gap: 15px; grid-row-gap: 15px; }
  .cu-f-text h4 { font-size: 16px; padding: 0 0 7px; }
  .cu-feature-content { gap: 10px; }
  .cu-f-text p { font-size: 12px; }
  .cu-img { padding-left: 25px; }

  /* Doctor */
  .doctor-wrapper { padding: 30px 0 30px; }
  .doctor-heading h2 { font-size: 38px; padding-bottom: 10px; }
  .doctor-heading p { font-size: 14px; line-height: 26px; max-width: 100%; }
  .doctor-inner-wrapper { grid-gap: 10px; }
  .doctor-text-wrap { padding: 20px 10px 20px; }
  .doctor-text p { font-size: 13px; line-height: 24px; }

  /* Department */
  .department-inner-wrapper { gap: 10px; }
  .department-text p { font-size: 13px; line-height: 24px; }
  a.dep-btn { margin: 30px auto 0; }

  /* Image With Text */
  .iwt-text-wrap { padding: 20px 10px; }
  p.iwt-text { font-size: 14px; line-height: 24px; }
  .iwt-detail { padding-bottom: 25px; }
  .iwt-contact { padding-top: 25px; }
  .iwt-contact { gap: 15px; }
  .iwt-inner-wrapper .row { align-items: center; }

  /* Pricing */
  .pp-heading h2 { padding-bottom: 15px; }
  .pp-heading p { font-size: 14px; line-height: 26px; max-width: 95%; }
  .pp-product { gap: 20px; }
  .pp-images img { border: 5px solid #ffffff; }
  .pp-text-wrap { padding: 70px 0 20px; }
  .pp-title a { font-size: 20px; }
  .pp-price { font-size: 34px; padding: 15px 0; }
  .pp-text p { font-size: 14px; line-height: 24px; max-width: 95%; margin-bottom: 20px; }
  ul.pp-feature { gap: 15px; padding-top: 20px; }
  .pp-cart-btn { padding-top: 20px; }
  .pp-cart-btn a { font-size: 20px; }

  /* Text Banner */
  .tb-text { left: 30px; }
  .tb-text h2 { font-size: 34px; line-height: 44px; max-width: 75%; padding-bottom: 20px; }

  /* Facilities */
  .facilities-inner-wrapper { grid-column-gap: 20px; grid-row-gap: 20px; }
  .facilitie-details { padding: 30px 20px; }
  .facilitie-details p { font-size: 14px; line-height: 26px; }

  /* Testimonial */
  .testi-inner { margin: 0; }
  .testi-text p { font-size: 14px; line-height: 24px; padding-top: 10px; padding-bottom: 10px; max-width: 95%; }

  /* Blog */
  .blog-content-wrap { grid-gap: 10px; }
  .blog-title a { font-size: 18px; line-height: 30px; }
  .blog-title { padding: 15px 0 5px; }
  .blog-text p { font-size: 14px; line-height: 24px; }
  a.blog-btn { margin: 30px auto 0; }

  /* Get in Touch */
  .git-form-wrap { padding: 15px; }
  .git-form-wrap h4 { font-size: 30px; line-height: 40px; padding: 0 0 15px; }
  .git-name { gap: 50px; }
  .git-f input { padding-bottom: 5px; }
  .git-f p { margin-bottom: 21px; }
  .git-f input::placeholder, .git-f select { font-size: 14px; }
  .git-btn input { padding: 0; }

  /* Direction */
  .direction-text { padding: 15px; }
  .direction-text h5 { font-size: 18px; }
  .direction-text h2 { font-size: 38px; line-height: 40px; padding-top: 10px; }
  .direction-text p { font-size: 14px; line-height: 26px; padding: 10px 0 15px; }
  .direction-distance-wrap { gap: 10px; }
  .ddw p { font-size: 14px; }

}

@media screen and (min-width: 651px) and (max-width:1000px){

  section { padding: 30px 0; }
  .service-heading h2, .department-heading h2, .iwt-heading h2, .pp-heading h2, .facilitie-heading h2, h2.testi-heading, .blog-heading h2 { font-size: 38px; }
  .service-heading, .doctor-heading, .department-heading, .iwt-heading, .pp-heading, .facilitie-heading, .testi-head, .blog-heading { padding-bottom: 25px; }
  .btn-1, .btn-2 { font-size: 16px; max-width: 170px; }

  /* Banner */
  .banner-text-wrap { left: 30px; }
  h1.banner-heading { font-size: 44px; line-height: 60px; max-width: 95%; margin-bottom: 50px;}
  p.banner-text { font-size: 14px; line-height: 26px; padding: 5px 0 24px; max-width: 95%; }
  .banner-trusted { display: none; }
  .banner-arrow { max-width: 60px; height: 60px; padding: 5px 0; }
  .banner-arrow img { width: 25%; }

  /* Brand */
  section#brand { padding: 0 0 30px; }
  .brand-inner-wrapper { grid-template-columns: 1fr; }
  .brand-heading { padding: 25px 15px 25px 15px; }
  .brand-heading h2 { font-size: 30px; line-height: 32px; text-align: center; }
  .brand-img { padding: 25px 15px; gap: 20px; flex-wrap: wrap; }

  /* About */
  .about-img { padding-right: 0px; }
  .about-text { padding-top: 30px; }
  .about-text h2 { font-size: 36px; line-height: 46px; padding: 15px 0 5px; }
  .about-text p { font-size: 14px; line-height: 24px; }
  ul.about-feature { margin: 20px 0 30px; }

  /* Services */
  .service-heading { padding-bottom: 35px; }
  .service-inner-wrapper {  grid-template-columns: 1fr 1fr; grid-row-gap: 25px; }
  .service-title { font-size: 18px; padding: 20px 0 5px; }
  .service-text p { font-size: 14px; margin: 0 0 15px; }
  .service-content:nth-child(odd) { transform: perspective(1600px) rotateY(25deg); padding: 20px 20px; }
  .service-content:nth-child(even) { transform: perspective(1600px) rotateY(-25deg); padding: 20px 20px; }
  a.sv-btn { margin: 35px auto 0; }

  /* Choose Us */
  .cu-text h2 { font-size: 36px; line-height: 46px; padding: 20px 0; }
  .cu-feature { grid-column-gap: 32px; grid-row-gap: 20px; }
  .cu-feature { padding-bottom: 30px; }

  /* Doctor */
  .doctor-heading h2 { font-size: 40px; padding-bottom: 10px; }
  .doctor-heading p { font-size: 14px; line-height: 24px; max-width: 100%; }
  .doctor-content { margin: 0 10px; }
  .doctor-text p { font-size: 14px; line-height: 24px; }
  .doctor-wrapper { padding: 30px 0 30px; }

  /* Department */
  .department-content { margin: 0 10px 5px; }
  .department-text p { font-size: 14px; line-height: 24px; }
  a.dep-btn { margin: 30px auto 0; }

  /* Image With Text */
  p.iwt-text { font-size: 14px; line-height: 26px; }
  .iwt-text-wrap { padding: 30px 20px; }

  /* Pricing */
  .pp-heading h2 { padding-bottom: 15px; }
  .pp-heading p { font-size: 14px; line-height: 24px; max-width: 98%; }
  .pp-product { grid-template-columns: 1fr 1fr; grid-column-gap: 30px; grid-row-gap: 70px; }
  .pp-text p { font-size: 14px; line-height: 26px; max-width: 95%; margin-bottom: 20px; }
  ul.pp-feature { padding-top: 20px; }
  .pp-cart-btn { padding-top: 25px; }
  .pp-cart-btn a { font-size: 20px; }

  /* Text Banner */
  .tb-details img { height: 250px; object-fit: cover; }
  .tb-text { left: 30px; }
  .tb-text h2 { font-size: 32px; line-height: 46px; max-width: 80%; padding-bottom: 25px; }

  /* Facilities */
  .facilitie-details p { font-size: 14px; line-height: 26px; }
  .facilitie-details h4 { font-size: 16px; padding: 0 0 15px; }
  .facilitie-details { padding: 25px 15px; }
  .facilities-inner-wrapper { grid-column-gap: 20px; grid-row-gap: 20px; }

  /* Testimonial */
  .testimonial-text-section.slick-slide { margin: 0 15px }
  .testi-inner { margin: 0 0px 0 15px; }
  .testi-content { gap: 15px }
  .testi-text p { font-size: 14px; line-height: 24px; padding-top: 10px; max-width: 95%; }
  .testimonial-text { padding: 10px 0; }

  /* Blog */
  .blog-content-wrap { grid-template-columns: 1fr 1fr; gap: 30px; }
  .blog-title { padding: 15px 0 5px; }
  .blog-text p { font-size: 14px; line-height: 24px; }
  a.blog-btn { margin: 25px auto 0; }

  /* Get in touch */
  .git-form-wrap { padding: 25px; }

  /* Direction */
  .direction-text { padding: 25px; }
  .direction-text h2 { font-size: 38px; line-height: 48px; padding-top: 10px; }
  .direction-text p { font-size: 14px; line-height: 29px; padding: 10px 0 20px; }
  .direction-distance-wrap { gap: 80px; }
  .grid-3 {
    grid-template-rows: auto auto auto auto;
    grid-template-columns: 1fr 1fr;
}

}

@media screen and (max-width:650px){

  section { padding: 30px 0; }
  .service-heading h2, .department-heading h2, .iwt-heading h2, .pp-heading h2, .facilitie-heading h2, h2.testi-heading, .blog-heading h2 { font-size: 32px; }
  .service-heading, .doctor-heading, .department-heading, .iwt-heading, .pp-heading, .facilitie-heading, .testi-head, .blog-heading { padding-bottom: 25px; }
  .w-col {
    width: 100%;
	padding-left: 0;
    padding-right: 0;

}

  /* Slider */
  .banner-arrow,img.bl-img { display: none; }
  img.b-mbl-img { display: block; }
  .banner-text-wrap { top: 50%; transform: translateY(-50%); left: 10px; width: 100%; max-width: 95%; }
  h1.banner-heading { font-size: 32px; line-height: 42px; text-align: center; max-width: 100%; margin-bottom: 50px;}
  p.banner-text { font-size: 14px; line-height: 24px; padding: 10px 0 25px; max-width: 100%; text-align: center; }
  .btn-1, .btn-2 { font-size: 14px; max-width: 150px; height: 45px; margin: 0 auto; }
  .banner-trusted { display: none; }

  /* Brand */
  section#brand { padding: 0 0 30px; }
  .brand-inner-wrapper { grid-template-columns: 1fr; }
  .brand-heading { padding: 20px 15px 20px 15px; }
  .brand-heading h2 { font-size: 28px; line-height: 32px; text-align: center; }
  .brand-img { flex-wrap: wrap; padding: 30px 5px; gap: 30px; background: #f2f2f2; }

  /* About */
  .about-img { padding-right: 0px; }
  .about-text { padding-top: 25px; }
  .about-text h2 { font-size: 26px; line-height: 38px; padding: 15px 0 10px; }
  .about-text p { font-size: 14px; line-height: 26px; }
  ul.about-feature { margin: 20px 0 35px; }
  ul.about-feature li { font-size: 14px; margin-bottom: 15px; }
  a.about-btn { margin: auto; }

  /* Service */
  .service-heading { padding-bottom: 25px; }
  .service-inner-wrapper { grid-template-columns: 1fr; gap: 10px; }
  .grid-3 {
    flex-direction: column;
    display: flex;
}
  .service-content:nth-child(odd),.service-content:nth-child(even) { transform: perspective(0px) rotateY(0deg); }
  a.sv-btn { margin: 35px auto 0; }

  /* Choose Us */
  .cu-text h2 { font-size: 26px; line-height: 38px; padding: 15px 0 20px; }
  .cu-feature { grid-template-columns: 1fr; grid-row-gap: 15px; }
  .cu-f-icon { max-width: 40px; height: 70px; }
  .cu-f-text h4 { font-size: 18px; padding: 0 0 10px; }
  .cu-img { text-align: center; padding-top: 25px; }

  /* Doctor */
  .doctor-wrapper { padding: 30px 0 30px; }
  .doctor-heading h2 { font-size: 38px; line-height: 34px; padding-bottom: 15px; }
  .doctor-heading p { font-size: 14px; line-height: 24px; max-width: 100%; }
  .doctor-content { margin: 0 5px; }
  .doctor-text p { font-size: 14px; line-height: 26px; }
  .doctor-social { bottom: -15px; }

  /* Department */
  .department-content { margin: 0 5px; margin-bottom: 10px; }
  a.dep-btn { margin: 25px auto 0; }
  .department-text p { font-size: 14px; line-height: 26px; }

  /* Image With Text */
  .iwt-text-wrap { padding: 25px 10px; }
  p.iwt-text { font-size: 14px; line-height: 24px; text-align: justify; }
  h3.iwt-title { font-size: 20px; line-height: 30px; }
  .iwt-detail { padding-bottom: 25px; }
  .iwt-contact { padding-top: 25px; }

  /* Pricing */
  .pp-heading h2 { padding-bottom: 10px; }
  .pp-heading p { font-size: 14px; line-height: 24px; max-width: 100%; }
  .pp-product { gap: 70px; grid-template-columns: 1fr; }
  .pp-text p { font-size: 14px; line-height: 24px; max-width: 95%; margin-bottom: 20px; }
  .pp-price { padding: 20px 0; }
  ul.pp-feature { padding-top: 20px; }
  .pp-cart-btn { padding-top: 25px; }
  .pp-cart-btn a { font-size: 20px; }

  /* Text Banner */
  .tb-details img { height: 300px; object-fit: cover; }
  .tb-text { left: 10px; }
  .tb-text h2 { font-size: 28px; line-height: 38px; max-width: 95%; padding-bottom: 25px; }
  a.tb-btn { margin: 0; }

  /* Facilities */
  .facilities-inner-wrapper { grid-template-columns: 1fr; grid-column-gap: 0; grid-row-gap: 20px; }
  .facilitie-details p { font-size: 14px; line-height: 26px; }

  /* Testimonial */
  .testi-inner { margin: 0 }
  .testimonial-text-section.slick-slide { margin: 0px 10px; height: 290px;}
  .testi-content { grid-template-columns: 1fr; gap: 20px; }
  .testi-img img { margin: 0 auto; }
  .testi-quotes { top: 100px; }
  h4.testi-title {width: calc(100% - 80px);
    float: right; }
  p.testi-customer-designation { text-align: center; }
  .testi-text p { font-size: 13px; line-height: 15px; text-align: justify; padding-top: 10px; margin: 0 auto 15px; max-width: 95%; }

  /* Blog */
  .blog-info.slick-slide { margin: 0 5px; }
  .blog-content-wrap { grid-template-columns: 1fr; gap: 30px; }
  .blog-tag-date { justify-content: center; }
  .blog-title { text-align: center; padding: 15px 0 5px; }
  .blog-title a { font-size: 20px; }
  .blog-text p { font-size: 14px; line-height: 26px; text-align: center; }
  a.blog-btn { margin: 25px auto 0; }

  /* Get in touch */
  .git-form-wrap { padding: 10px 10px 15px; }
  .git-form-wrap h4 { font-size: 28px; line-height: 36px; text-align: center; padding: 0px 0 20px; }
  .git-name { flex-direction: column; gap: 0; }
  .git-f input { padding-bottom: 10px; }
  .git-f p { margin-bottom: 25px; }
  .git-btn { margin: 0 auto; text-align: center;}
  .git-btn input { padding: 0; text-align: center;}

  /* Direction */
  .direction-text { padding: 15px; }
  .direction-text h5 { font-size: 20px; text-align: center; }
  .direction-text h2 { font-size: 30px; line-height: 40px; text-align: center; }
  .direction-text p { font-size: 14px; line-height: 26px; text-align: justify; padding: 10px 0 15px; }
  .direction-distance-wrap { gap: 15px; }
  .ddw h4 { font-size: 20px; line-height: 30px; }
  .ddw p { text-align: left; }

}

@media screen and (max-width:380px) {
  .above_title{ margin-top: 0; }
}
