/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
.contact-list-view {
    display: block;
    gap: 0;
    float: none;
    margin-top: 10px;
}
.contact-box {
    margin-bottom: 10px;
}
.book-appointment {
    float: none;
    text-align: center;
}

.carousel-caption {
  bottom: 30px;
  width:90%;
}
.carousel-caption h2 {
    font-size: 2rem;
    line-height: 41px;
}

img.mobile_logo {
    width: 180px;
}
a.service{
 margin-bottom:15px;
}
.expert-doctors-div .owl-nav .owl-next {
    right: -8px !important;
}
.expert-doctors-div .owl-nav .owl-prev {
    left: 0;
}
.expert-doctors-div .owl-nav {
    position: relative;
    right: 0;
    left: 0;
    text-align: center;
    bottom: -40px;
    top:40px;
}
.expert-doctors-div .owl-nav button {
    position: relative;
    top: 0;
    width: 40px;
    height: 40px;
    right: 26px;
}
.stats-text h4 {
    background-color: var(--main-yellow-bg);
    padding: 10px 15px;
    border-radius: 0;
    margin-bottom: 0;
    font-size: 1.25rem;
    font-weight: 600;
    padding-bottom: 10px;
}
.stats-outline{
 border:none;
}
.blog-img {
    height: 100%;
    width: 100%;
}
.pl-30 {
    padding-left: 0;
}
.footer-section {
    padding-top: 20px;
}
.list:first-child {
    width: 100% !important;
}

.list {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}
.contact-list{
 display: block;
}
.choose-box {
    margin-bottom: 25px;
}
.counter {
        margin-bottom: 15px;
        border: 1px solid var(--main-yellow-bg);
        border-right: 1px solid var(--main-yellow-bg) !important;
        padding: 10px 0;
    }
section#inner-header{
 min-height: 110px;
}

.doc-info-img {
    height:100%;
    width: 100%;
    object-fit: cover;
}
.doc-info-details{
    margin-top:25px;
}
.appointment-text-form input {
    margin-bottom: 10px;
}
.appointment-text-form select {
    margin-bottom: 10px;
}
.day_available {
    margin-top: 10px;
    text-align: left !important;
}


}

/* Small devices (phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
img.mobile_logo {
        width: 200px;
}
.contact-list-view {
    gap: 50px;
    margin-left: -240px;
}
.book-an-appoint a
 {

    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 160px;
}
.carousel-caption{
    width:90%;
    margin:auto;
    bottom:30px;
}
.carousel-caption h2 {
    font-size: 3.2rem;
    line-height: 60px;;
}
.aboutus-section-content {
    margin-top: 30px;
}
.counter h3{
 font-size:15px;
}
.blog-img {
    height: 100%;
    width: 100%;
}
section#inner-header{
 min-height: 110px;
}
.doc-info-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.doctor-info {
    width: 36%;
    float: left;
}
.doctor-personal-info{
    width: 60%;
    float: right;
    margin-top: 0 !important;
}
.doc-info-details{
    margin-top:25px;
}


}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
section#navigation-list a.nav-link {
        padding: 5px 16px 5px 0px;
        font-weight: 500;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        max-width: 125px;
        font-size: 14px;
    }
.book-an-appoint a{
    font-size:16px;
}
.contact-box-text span {
    font-size: 14px;
}
.contact-list-view{
 margin-left:-63px;
}
.contact-box-text p{
 font-size:14px;
}
.carousel-item img{
 height:420px;
}
.carousel-caption{
 width:70%;
}
a.service {
    padding: 20px 0;
    min-height: auto;
}
.box-service h4 {
    font-size: 1.1rem;
}

.expertise-box h4{
 font-size: 19px;
}
.expertise-box p {
    padding-bottom: 20px;
}
.expertise-box{
 min-height:360px;
}
.contact-list {
    padding: 7px 10px;
}
section#inner-header{
 min-height: 110px;
}
.doc-info-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1400px) and (max-width: 1920px) {
.blog-img {
    height: 354px;
    width: 397px;
}
section#navigation-list a.nav-link {
    padding: 5px 27px 5px 0px;
    font-weight: 600;
    font-size: 16px;
}
.doc-info-img {
    height: 416px;
    width: 416px;
    object-fit: cover;
}

}