/* Responsive CSS Document

/* ================================================ */


@media only screen and (max-width: 1599px) {
    .bs-slider-bg .carousel-item .slide-text {
        top: 25%;
        left: 0;
        right: 0;
        max-width: 1170px;
        padding: 10px 0;
    }
    .bs-slider-bg .slide-img {
        right: 8.5%;
    }
    .bs-slider-bg.control-round .carousel-control {
        display: none;
    }
}


@media only screen and (max-width: 1399px) {
    .bs-slider-one .slide-text {
        left: 3%;
        right: 2%;
        top: 27%;
    }
}


@media only screen and (max-width: 1199px) {

    .blog-post-grid-style .blog-post-style-single .blog-post-style-img {
        height: auto;
    }
    .navbar > .container .navbar-brand,
    .navbar > .container-fluid .navbar-brand {
        max-width: 207px;
    }
    .bs-slider.bs-slider-style {
        max-height: 600px;
    }
    .bs-slider-one .slide-text {
        left: 3%;
        right: 2%;
        top: 25%;
    }
    .bs-slider-style .slide-text {
        top: 28%;
    }
    .bs-slider-one .slide-text > h2 {
        font-size: 48px;
    }
    .home-3 .services-slider-top {
        margin-top: -75px;
    }    
    .bs-slider-bg .carousel-item .slide-text {
        max-width: 864px;
    }
    .bs-slider-bg .slide-img {
        right: 4.5%;
    }
    .divider-layer-style .experience-text {
        font-size: 34px;
    }
    .divider-layer-style .layer-left {
        margin-left: -25px;
    }
    .divider-content.content-style h2 {
        font-size: 34px;
        line-height: 1.4;
    }
    .department-icon {
        margin-right: 2px;
        min-width: 78px;
    }
    .about-feature .appointment-item h4 {
        font-size: 24px;
    }
    .blog-item .blog-content .blog-meta .date {
        margin-bottom: 8px;
    }
}

@media only screen and (min-width: 992px)  and (max-width: 1023px) {

    nav.navbar.bootsnav ul.nav > li.dropdown > a.dropdown-toggle:after{
        font-family: 'FontAwesome';
        content: "\f0d7";
        margin-left: 5px;
        margin-top: 2px;
    }
    nav.navbar.bootsnav li.dropdown ul.dropdown-menu > li > a {
        border-bottom: 1px solid #eee;
        color: #6f6f6f;
        padding: 15px;
    }
    nav.navbar.bootsnav ul.dropdown-menu.megamenu-content .col-menu .content ul.menu-col li a{
        display: block;
        padding: 5px 0;
    }
    nav.navbar.bootsnav li.dropdown ul.dropdown-menu.cart-list {
        right: 0;
        left: auto;
    }


}

@media only screen and (max-width: 991px) {

    .mobile-responsive ul li:nth-child(2) {
        margin-left: 0px;
    }
    .mobile-responsive ul li:nth-child(3) {
        margin-top: 0px;
    }
    .menu-style .navbar-toggler {
        border: 1px solid #1d3455;
        background-color: #1d3455;
        padding: 5px 6px;
    }
    .menu-style .navbar-toggler .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }
    .menu-style .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }
    nav.navbar.bootsnav li.dropdown .dropdown-menu {
        max-width: 100%;
        width: 100%;
    }
    .menu-style .attr-nav {
        display: none;
    }
    .bs-slider-one .bs-slider{
        max-height: 450px;
    }
    .bs-slider-one .slide-text > h4 {
        font-size: 16px;
        margin-bottom: 5px;
        padding: 5px 11px;
    }
    .bs-slider-one .slide-text > h2 {
        font-size: 36px;
        margin-bottom: 10px;
    }
    .bs-slider-one .slide-text > a.btn-default {
        font-size: 13px;
        padding: 10px 14px;
    }    
    .bs-slider.bs-slider-style {
        max-height: 450px;
    }
    .bs-slider-style .slide-text {
        top: 28%;
    }
    .home-3 .services-slider-top {
        margin-top: 85px;
    }
    .bs-slider-bg.bs-slider {
        max-height: 400px;
    }
    .bs-slider-bg .carousel-item .slide-text {
        left: -240px;
        max-width: 420px;
        top: 6%;
    }
    .bs-slider-bg .carousel-item .slide-text h4 {
        font-size: 24px;
        margin-bottom: 0;
    }
    .bs-slider-bg .slide-text > h2 {
        font-size: 30px;
        margin-bottom: 10px;
    }
    .bs-slider-bg .slide-text > h2 br {
        display: none;
    }
    .bs-slider-bg .slide-text > a.btn-default {
        font-size: 11px;
        padding: 12px 20px;
    }
    .bs-slider-bg .slide-img {
        max-width: 300px;
        top: 18%;
    }
    .slide-img:after {
        height: 150px;
        width: 150px;
    }
    .divider-layer-style {
        padding-top: 50px;
    }
    .divider-content.content-style {
        padding-left: 0;
        padding-top: 120px;
    }
    .over-layer-white-deep .funfact-item.style-3 .count h2.start-count.border-none {
        border-right: 1px solid #1d3455 !important;
    }
    .about-feature .appointment-item {
        padding: 24px 18px;
    }
    .about-feature .appointment-item h4 {
        font-size: 20px;
    }
    .about-feature .appointment-item p {
        font-size: 12px;
    }
    .about-feature .appointment-item .btn.btn-theme {
        font-size: 12px;
        padding: 6px 17px;
    }
    .divider-content h3 {
        font-size: 24px;
    }
    .welcome-feature .welcome-item .content {
        padding: 24px 15px;
    }
    .welcome-feature .welcome-item .content h3 {
        font-size: 15px;
        letter-spacing: 0;
    }
    .welcome-feature .welcome-item .content p {
        font-size: 13px;
    }
    .form-style.form-style-two {
        padding-left: 0;
    }
    .patient-profile {
        padding-left: 0;
    }

}

@media only screen and (min-width: 768px) and (max-width: 992px) {
    body {
        overflow-x: hidden;
    }

}
@media screen and (max-width: 767px) {
    body {
        overflow-x: hidden !important;
    }
    .container {
        overflow-x: hidden !important;
    }
    .doctor-details-section .container {
        overflow-x: visible !important;
    }    
    #ajax-contact .form-row .row {
        margin-right: 0;
        margin-left: 0;
    }
    .top_header {
        padding: 0 15px;
    }
    .menu-style {
        padding: 0 15px;
    }
    .navbar > .container .navbar-brand,
    .navbar > .container-fluid .navbar-brand {
        margin-left: -15px;
    }
    .menu-style .navbar-toggler {
        margin-right: 0;
    }
    .header-topbar-col ul.address li:first-child:before {
        display: none;
    }    
    .bs-slider-one.bs-slider{
        max-height: 400px;
    }
    .bs-slider-one .slide-text > h2 {
        font-size: 30px;
    }
    .bs-slider-bg.bs-slider {
        max-height: 350px;
    }
    .bs-slider-bg .carousel-item .slide-text {
        max-width: 540px;
        top: 5%;
        left: 0;
    }
    .bs-slider-bg .carousel-item .slide-text h4 {
        font-size: 20px;
    }
    .bs-slider-bg .slide-text > h2 {
        font-size: 24px;
    }
    .bs-slider-bg .carousel-item .slide-text.slide-bg-circle:after {
        height: 70px;
        bottom: -24%;
        width: 70px;
    }
    .bs-slider-bg .slide-img {
        max-width: 150px;
        right: -2%;
    }
    .welcome-section-style {
      padding: 20px 0 90px;
    }
    .welcome-section-style .container {
        overflow-x: visible !important;
    }
    .about-section.about-top {
        margin-top: 80px;
    }
    .about-feature .appointment-item {
        margin-bottom: 30px;
    }
    .gallery.col-3 .gallery-item {
        width: calc(50% - 1px);
    }
    .health-tips-1:before,
    .health-tips-2:before {
        width: 100%;
    }
    .funfact-item {
        margin-bottom: 50px;
    }    
    .welcome-feature .welcome-item .content {
        padding: 24px 25px;
    }
    .doctor-details .content {
        padding-left: 0;
    }
    .doctor-details .content .contact-info-box strong {
        display: block;
    }
    .doctor-details .content .contact-info-box p {
        display: block;
    }
    .under-construction .lh-160 {
        font-size: 48px;
        line-height: 1;
        margin-bottom: 40px;
    }

    .cart-product-section {
        height: auto; /* Allow the height to adjust for mobile */
        width: 670px;
        
    }

    .cart-product p {
        font-size: 14px;
        margin: 17px 0 20px 0;
    }

}

@media screen and (max-width: 667px) {
    body {
        overflow-x: hidden !important;
    }
    .container {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}

@media screen and (max-width: 667px) {
    .index-img .section-title.light-title h5 {
        display: none;
    }
    .index-img .section-title.light-title h2 {
        font-size: 20px;
    }
}

@media screen and (max-width: 626px) {

    .gallery-filter li a {
        margin-bottom: 12px;
    }
}

@media screen and (max-width: 575px) {
    .header-topbar-col {
        flex-direction: column;
        align-items: center;
        padding: 3px 0 15px;
    }
    .header-topbar-col ul.address li:first-child {
        margin-right: 0;
    }
    .bs-slider-one .slide-text > h2 {
        font-size: 24px;
    }
    .bs-slider-style .slide-text {
        top: 26%;
    }
    .bs-slider-bg .carousel-item .slide-text {
        padding: 10px 15px;
        left: 0;
    }
    .bs-slider-bg.bs-slider {
        max-height: 300px;
    }
    .bs-slider-bg .carousel-item .slide-text h2 {
        line-height: 1.4;
    }
    .bs-slider-bg .slide-img {
        display: none;
    }
    .health-tips-1 .heading {
        font-size: 22px;
    }
    .health-tips-1 .tips p {
        margin-right: 50px;
    }
    .health-tips-1 .tips li .count {
        margin-left: 10px;
        top: 8px;
    }
    .health-tips-2 .heading {
        font-size: 22px;
    }
    .health-tips-2 .tips li .count {
        margin-right: 10px;
        top: 8px;
    }
    .health-tips-2 .tips p {
        margin-left: 50px;
    }
    .divider-content h3 {
        font-size: 20px;
    }
    .welcome-feature .thumb img {
        margin-top: 25px;
        max-width: 100%;
        width: 100%;
    }
    .gallery-social .thumb .gthumb-overlay h4 {
        display: none;
    }
    .service-details .content {
        padding: 28px 15px;
    }
    .patient-list .patient-list-content .content-list .list-item {
        display: block;
    }
    .form-style .form-group-file-three .file-content h2 {
        font-size: 30px;
    }
    .form-style .form-group-file-three .file-content h3 {
        font-size: 24px;
    }
    .form-style .form-group-file-three .thumb {
        margin-right: 12px;
    }
    .error-page h3 {
        font-size: 150px;
        line-height: 150px;
    }
}

@media screen and (max-width: 491px) {
    
    .accordion-panel.style-1 .panel-title {
        font-size: 11px;
    }
    .accordion-panel.style-1 .panel-heading .accordion-toggle:after {
        margin-left: 3px;
    }
    .services-slider.services-slider-top{
        margin-top:70px;
    }
    .banner-rev .tp-caption.slide-text h4{
        font-size:28px;
    }
    .banner-rev .tp-caption.slide-text h2{
        max-width: 400px;
        font-size: 32px;
    }
    .banner-rev .tp-caption.slide-text a{
        margin-right: 0;
    }    
    .gallery.col-3 .gallery-item {
        width: 100%;
    }
}

@media screen and (max-width: 479px) {
    .slide-text {
        padding: 10px 25px;
    }
    .bs-slider-one .slide-text {
        left: 1%;
        right: 1%;
    }
    .bs-slider-one .slide-text > h2 {
        font-size: 22px;
        line-height: 1.7;
    }    
    .bs-slider-style .slide-text {
        top: 22%;
    }
    .divider-layer-style .experience-text {
        font-size: 26px;
        margin-bottom: 10px;
    }
    
}

@media screen and (max-width: 391px) {
    
    .accordion-panel.style-1 .panel-title {
        font-size: 11px;
        line-height: 22px;
    }
    .accordion-panel.style-1 .panel-heading .accordion-toggle:after {
        font-size: 12px;
        height: 22px;
        line-height: 22px;
        margin-right: 5px;
        width: 22px;
    }
    .about-item.style-1 {
        padding: 12px;
    }
    .about-item.style-1 h3 {
        font-size: 12px;
    }
}

















