/*
::
:: Theme Name: MedDoctors - Medical & Health HTML5 Template
:: Email: Nourramadan144@gmail.com
:: Author URI: https://themeforest.net/user/ar-coder
:: Author: ar-coder
:: Version: 1.0
:: 
*/

/* :: Large devices */
@media (min-width: 991px) and (max-width: 1199px){
    
    /* :: Features */
    .features .features-item {
        padding: 35px 28px;
    }
    .features .features-item .item-text h4,
    .features-2 .features-item .item-text h4{
        font-size: 22px;
        line-height: 33px;
    }
	.header, .header .header-carousel .sec-hero {
    min-height: 350px !important;
}
body .stellarnav > ul > li > a {
    padding:20px 2px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
}
.header-carousel.owl-theme .owl-dots {
    margin: 0;
    line-height: 1;
    position: absolute;
    bottom: 450px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.about-us .about-img-box {
    position: relative;
    margin-right: 40px;
    height: 80%;
}
.about-us .about-img-box .about-experience {
    background-color: #9c878c;
    color: #FFF;
    position: absolute;
    top: 260px;
    right: -75px;
    z-index: 1;
    padding: 30px;
    border-radius: 3px;
    overflow: hidden;
    border: 5px solid #fff;
}
    
}
@media (max-width:1024px){
	.about-us {
    margin-top:-320px;
}
	
}
/* :: Medium devices */
@media (max-width: 991px){
    
    /* :: Section Title */
    .sec-title h3{
     margin-bottom: 0;
    font-size: 24px;
    }
    
    /* :: BG Section */
    .bg-section-2-left,
    .bg-section-2-right{
        height: 50%;
        float: none;
        width: 100%;
    }
    
    /* :: Navbar */
    .top-navbar{
        display: none;
    }
    .nav-bar .content-box{
        display: block !important;
    }
    .nav-bar .logo{
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        padding:0px 0;
    }
    .nav-bar .logo .open-nav-bar span{
        width: 30px;
        height: 3px;
        border-radius: 3px;
        background-color: #1A3D7D;
        display: block;
    }
    .nav-bar .logo .open-nav-bar:hover span{
        background-color: #13ADE5;
    }
    .nav-bar .logo .open-nav-bar span:nth-of-type(2){
        margin: 5px 0;
        width: 20px;
        position: relative;
        right: -10px;
    }
    .nav-bar .nav-bar-links{
        display: none
    }
    .nav-bar .nav-bar-links.active{
        display: block;
        border-top: 1px solid rgb(34, 34, 34, 0.1);
        max-height: 300px;
        overflow: hidden;
        overflow-y: scroll;
        -webkit-box-shadow: 0 3px 4px rgb(0 0 0 / 7%);
                box-shadow: 0 3px 4px rgb(0 0 0 / 7%);
        background-color: #FFF;
    }
    .nav-bar .nav-bar-links .level-1 .item-level-1{
        display: block;
    }
    .nav-bar .nav-bar-links .level-1 .item-level-1 .link-level-1{
        padding: 12px 0 12px 12px;
        margin-right: 12px;
    }
    .nav-bar .nav-bar-links .level-1 .item-level-1:last-of-type .link-level-1{
        margin-right: 12px;
    }
    .nav-bar .nav-bar-links .level-1 .item-level-1.has-menu .link-level-1:after{
        background-color: #13ADE5;
        color: #FFF;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        text-align: center;
        line-height: 25px;
        font-size: 12px;
        position: absolute;
        right: 0;
        top: 50%;
        -webkit-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
                transform: translateY(-50%);
        -webkit-transition: all 0.8s cubic-bezier(0.38, 0.17, 0.09, 0.99);
        -o-transition: all 0.8s cubic-bezier(0.38, 0.17, 0.09, 0.99);
        transition: all 0.8s cubic-bezier(0.38, 0.17, 0.09, 0.99);
    }
    .nav-bar .nav-bar-links .level-1 .item-level-1.has-menu .link-level-1.active:after{
        -webkit-transform: translateY(-50%) rotate(180deg);
            -ms-transform: translateY(-50%) rotate(180deg);
                transform: translateY(-50%) rotate(180deg);
    }
    .nav-bar .nav-bar-links .level-2{
        -webkit-transform: unset;
        -ms-transform: unset;
        transform: unset;
        opacity: unset;
        visibility: unset;
        position: unset;
        padding: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        display: none;
    }
    .nav-bar .nav-bar-links .level-2.active{
        display: block;
    }
    .nav-bar .nav-bar-links .level-2 .item-level-2 .link-level-2{
        color: #9B9B9B;
        border-bottom: 1px solid rgb(155 155 155 / 30%);
    }
    .nav-bar .nav-bar-tools {
        display: none !important;
    }
    
    /* :: Header */
    .header .banner .handline{
        font-size: 70px;
    }
    .header-features{
        display: none !important
    }
    
    /* :: Features */
    .features .features-item.one{
        background-color: #1A3D7D;
        border-top-left-radius: 3px;
        border-bottom-left-radius: 0;
        border-top-right-radius: 3px;
    }
    .features .features-item.three{
        border-top-right-radius: 0;
        border-bottom-right-radius: 3px;
        border-bottom-left-radius: 3px;
    }
    
    .features-2 .features-opening-hours{
        margin: 0;
    }
    
    /* :: About Us */
    .about-us .about-text-box{
        margin-top: 50px;
    }
    .about-core li{
        width: 100%;
    }
    
    .about-us-2 .about-text-box{
        margin-top: 0;
        margin-bottom: 50px;
    }
    .about-us-2 .about-img-box{
        margin: 0
    }
    
    /* :: Provide */
    .provide .bg-section{
        height: 85%;
    }
    .provide-core li{
        float: left;
        width: 50%;
    }
    .provide-2 .img-box{
        margin: 0;
    }
    .provide-2 .text-box{
        margin-bottom: 50px;
    }
    .provide-2 .text-box.two{
        margin: 50px 0 0 0;
    }

    
    /* :: Presentation */
    .video-presentation{
        height: auto;
        margin-top: 50px;
    }
    
    /* :: Quote Box */
    .quote-box .quote-text-box{
        margin-top: 50px
    }
    
    /* :: Testimonial */
    .testimonial .bg-section{
        width: calc(100% - ( 355.83px / 2 ) );
    }
    .testimonial-carousel .testimonial-carousel-item .content-text-box{
        font-size: 28px;
        line-height: 1.3;
    }
    .testimonial-3 .testimonial-carousel .testimonial-carousel-item .item-img{
        margin: 0
    }
    
    /* :: Doctors */
    .doctors-box.mr-20,
    .sidebar-blog.mr-20{
        margin-right: 0;
    }
    
    /* :: Sidebar Blog */
    .sidebar-blog.ml-20{
        margin-left: 0;
    }
    
    /* :: Map */
    .map-box{
        margin-right: 0;
    }
    .map-box iframe{
        height: 500px;
        margin-bottom: 50px;
    }
    
    /* :: Fact Area */
    .fact-area .sec-title h3{
        font-size: 45px;
        line-height: 1.3;
    }
}

/* :: Small devices */
@media (max-width: 768px){
	body .ina {
     margin-top: 40px;
    margin-bottom: 100px;
}
	.nav-bar .logo .logo-nav img {
    width: 185px;
    padding: 9px 0;
}
.statistic-item .statistic-counter {
 font-size: 24px;
    font-weight: 600;
}
.statistic-item .counter-name {
    color: #000;
    font-size: 14px;
    font-weight: 500;	
}
.statistic {
    padding: 70px 0 30px 0;
    border-bottom: 1px solid #E9E9E9;
}
	
	.about-us .about-text-box .sec-title {
    margin-bottom: 16px;
}
.margintop {
    margin-top: 0;
}
.about-content .about-title h2 {
     font-size: 28px;
    margin-bottom: 0;
  }
  .service-box a {
    color: #000;
    font-size: 14px;
  }
  .sheading h1 {
    font-size: 18px;
  }
  .sheading {
    padding:8px 0 2px;
}
.mr20{
	margin:20px 0;
}
.ultag li {
    font-size: 15px;
}
.servicssend h4 {
    font-size: 18px;
}
.servicesiimg{
	margin-top:14px;
}
.servicssend p{
	margin-bottom: 0px;
    text-align: justify;
}
.sec-title h3 {
    margin-bottom: 0;
    font-size: 20px;
}
.mar50 {
    margin-bottom: 24px;
}
.testimonials h2 {
    font-size: 15px;
    font-weight: 500;
    color: #000;
}
.about-us-2 .about-img-box {
    margin-top: 20px;
}
.expect img {
    margin-top: 0;
}
.about-us-2 .about-text-box {
    margin-top: 0;
    margin-bottom: 20px;
}
.quote-and-presentation .sec-title h3 {
    margin-bottom: 28px;
    font-size: 20px;
}
.contact-info-content .inheding {
    margin-bottom: 20px;
    margin-top: 33px;
}
.pulication a{
	height:auto;
}
.arar {
    padding-bottom: 0;
}
.ba {
    background: #fff;
    height: auto;
}
.contact-info-content .contact-box{
	height:auto;
	padding: 16px 17px;
	margin-bottom: 4px;
}
.contact-info-content .contact-box i {
    font-size: 26px;
}
.contact-info-content {
    margin-bottom: 0;
}
.contact-info-content .contact-box .box a, .contact-info-content .contact-box .box p {
    font-size: 15px;
}
.add-comments .inner-add-comments-box {
    margin-bottom: 15px;
}

.tablink {
    padding: 10px 11px;
    font-size: 16px;
    width: 40%;
    font-weight: 600;
}
	.py-100-70 {
    padding: 40px 0 70px 0;
}
.nav-bar .stellarnav > ul > li > a {
    font-weight: 500;
    font-size: 14px;
	color: #fff ! important;
}
.stellarnav.mobile li a {
 color: #fff ! important;
    text-transform: uppercase;
    font-size: 13px;
    padding: 10px;;
}
.nav-bar .stellarnav ul ul{
right: 0px;
    border: none ! important;
}
.py-100 {
margin-top: 0px;
    padding:50px 0 90px;
}
.serices h1 {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 900;
    padding: 18px 0 4px;
    color: #000;
}
.sidebar-department{
	display:none;
}
	
	.testimonial-2 {
    background: url(../img/map.png);
    background-size: contain;
    padding: 100px 0 65px;
}
.testimonal h2 {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    padding: 5px 0 35px;
    color: #000;
}

.testimonal h1 {
text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    color: #000;
}
.video-presentation .inner-box {
position: relative;
    text-align: center;
    padding: 18px 10px 8px;
    background-color: #ffffff;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.10);
    margin: 10px 0px 15px;
}
.video-presentation {
    height: auto;
    margin-top: 0;
}
.team20 {
    padding: 70px 0 25px;
}
.doctors-box .text-box h5 {
    text-transform: capitalize;
    font-size: 17px;
}
.doctors-box .text-box {
    margin-top: 15px;
    padding: 0 25px;
}
.flogo img {
    background: #fff;
    padding: 6px;
    width: 200px;
}
.footer-title h4 {
color: #FFF;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 25px;
}
.footer-title h4:before {
    display: block;
    position: relative;
    width: 36px;
    border-bottom: 2px solid #fff;
    content: "";
    top: 31px;
    z-index: 99;
}
.opening-hours li span .height {
    height: 44px;
}
.opening-hours li p {
    color: #fff;
    font-size: 14px;
    text-transform: none;
    margin-bottom: 12px;
}
.footer .links li a {
    display: inline-block;
    position: relative;
    color: #F4F4F4;
    font-size: 14px;
    line-height: 30px;
    text-transform: uppercase;
    font-weight: 400;
}
.footer .logo, .footer .links, .footer .opening-hours {
    margin-bottom: 11px;
}
.copyright {
    margin-top: 0;
    padding: 10px 0 0;
    background-color: #000;
    overflow: hidden;
}
    .header, .header .header-carousel .sec-hero {
    min-height: 145px !important;
}
.header .header-carousel {
    height: 67%;
}
.about-us {
    margin-top:40px;
    margin-bottom: 0;
	    padding: 0 10px;
}
.left200 {
    left: 0;
    position: relative;
}
    /* :: Header */
    .header .banner .handline{
        font-size: 60px;
    }
    
    /* :: Testimonial */
    .testimonial .container-fluid{
        margin-right: auto;
        margin-left: auto;
        max-width: 540px;
    }
    .testimonial .container-fluid .col-md-5.padding-0,
    .testimonial .container-fluid .col-md-7.padding-0{
        padding-right: calc(var(--bs-gutter-x)/ 2);
        padding-left: calc(var(--bs-gutter-x)/ 2);
    }
    .testimonial .bg-section{
        width: 100%;
    }
    .testimonial-carousel .testimonial-carousel-item{
        padding: 0;
        margin-top: 50px;
    }
    .testimonial-img-box .img-box,
    .testimonial-2 .testimonial-carousel .testimonial-carousel-item,
    .testimonial-3 .testimonial-carousel .testimonial-carousel-item,
    .testimonial-3 .testimonial-carousel .testimonial-carousel-item .item-img{
        margin: 0
    }
    .testimonial-3 .testimonial-carousel .testimonial-carousel-item .item-img{
        min-height: 350px
    }
    .testimonial-3 .testimonial-carousel .testimonial-carousel-item .item-text{
        margin-top: 50px;
    }
    
    /* :: Footer */
    .footer .newsletter h5{
        margin-bottom: 25px;
    }
    
    /* :: Copyright */
    .copyright p{
        float: none;
    text-align: center;
    margin-bottom: 2px;
    font-size: 15px;
    line-height: 20px;
    }
    .copyright ul {
        float: none;
        text-align: center;
    }
    .copyright ul li:first-of-type{
        margin: 0;
    }
    
    /* :: Products Details */
    .products-details-content .text-box{
        margin-top: 30px;
    }
}

/* :: Extra small devices */
@media (max-width: 575px){
	.departments .bg-section {
    background-image: url(../images/departments/01_departments.jpg);
    height: calc(100% - (289px + 44px) );
}
	.about-us .about-img-box .about-experience {
background-color: #dcd5cf;
    color: #FFF;
    position: absolute;
    top: 253px;
    right: 0;
    z-index: 1;
    padding: 20px 13px;
    border-radius: 3px;
    overflow: hidden;
    border: 5px solid #fff;
}
.departments {
    padding-top: 42px;
    position: relative;
    background-color: #F9F9F9;
    padding-bottom: 65px;
    margin-top: 0;
}
.statistic-item i {
    font-size: 40px;
}
.statistic-item .content {
    padding-left: 50px;
}
.sec-title {
    margin-bottom: 7px;
}
.departments .departments-item .item-content h4 {
    text-transform: uppercase;
    font-size: 18px;
}
p {
    color: #464545;
    font-size: 14px;
}
.testimonial-carousel .testimonial-carousel-item .testimonial-doctor h4{
	font-size:18px;
}
.about-us .about-img-box .about-experience i {
    font-size: 25px;
    line-height: 1;
    margin-bottom: 10px;
    display: inline-block;
    color: #000;
}
.about-us .about-img-box .about-experience .experience-counter {
    font-size: 28px;
    font-weight: 700;
    line-height: 0.8;
    font-family: 'Rajdhani', sans-serif;
    margin-bottom: 6px;
    color: #000;
}
.about-us .about-img-box .about-experience i {
    font-size: 25px;
}
.about-us .about-img-box .about-experience .experience-counter {
    font-size: 28px;
}
	.btn-1 {
    color: #000;
    background-color: #dcd5cf;
    text-transform: capitalize;
    position: relative;
    text-align: center;
    z-index: 1;
    font-size: 14px;
    font-weight: 500;
    min-width: 98px;
    height: 40px;
    line-height: 40px;
    padding: 0px 16px;
    letter-spacing: 0.3px;
    border-radius: 62px;
    overflow: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    display: inline-block;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 15px;
    box-shadow: 0px 0px 6px #5e595985;
    border: 1px solid #fff;
}
    /* :: Header */
    .header .banner .handline{
        font-size: 50px;
    }
    .header .banner a.btn-1:last-of-type,
    .header .banner .header-video{
        margin: 15px 0 0 0;
        display: block;
        max-width: 180px;
    }
    
    /* :: About US */
    .about-us .about-text-box .sec-title h3{
      font-size: 18px;
    line-height: 20px;
	margin-bottom: 0;
    }
	.about-us-2 .about-text-box p {
    margin-bottom: 3px;
    text-align: justify;
    font-size: 15px;
}
	.about-us .about-text-box .sec-title b {
    font-size: 14px;
    color: #2e2e2e;
    margin-bottom: 5px;
}
    .about-us .about-profile{
        margin-top: 30px;
    }
    .about-us-3 .about-img-box .img-box img{
        height: 300px
    }
    .about-us-3 .about-img-box .about-experience{
        bottom: auto;
        top: 20px;
    }
    
    /* :: Features 2 */
    .features-2 .features-item.first{
        padding-bottom: 0;
    }
    .features-2 .features-item.last{
        padding-top: 0;
        padding-bottom: 0;
    }
    
    /* :: Provide */
    .provide-core li{
        float: none;
        width: 100%;
    }
    
    /* :: Quote Box */
    .quote-box{
        padding: 30px;
    }
    .quote-box .quote-item .btn-1{
        display: block;
    }
    
    /* :: Fact Area */
    .fact-area .sec-title h3{
        font-size: 45px;
        line-height: 56px;
    }
    
    /* :: Breadcrumb Header */
    .breadcrumb-header .banner h1{
        font-size: 55px;
    }
    
    /* :: Single Blog */
    .single-bolg .item-comments .inner-comments .comments-box.reply{
        margin-left: 0;
    }
    
    /* :: 404 Error */
    .page-404-area h2{
        font-size: 150px;
    }
}