@font-face {
    font-family: "mainfont";
    src: url('/Content/fonts/NeoSansArabic.ttf');
}
@font-face {
    font-family: "medfont";
    src: url('/Content/fonts/NeoSansArabicMedium.ttf');
}
:root {
    --main-font:mainFont;
    --med-font:medFont;
    --bs-primary: #630D0E;
    --primary-rgb: 99, 13, 14;
    --bs-secondary:#F7F7F7;
    --light-red:#D59192;
    --bs-dark: #000000;
}
body,*{ font-family: var(--main-font);}
p{text-align: justify;}
html {scroll-padding-top: 121px;}
#1, #2, #3,#4,#5{scroll-margin-top: 121px;}
.top-bar{
    background: var(--bs-primary);
    height: 48px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}
.top-bar .list-group-item,
.social-links .list-group-item{background: none; border: none;}
.top-bar li a{ color: #fff; text-decoration: none;}
.contact-info a{ font-size: .8rem;}
.contact-info a i{ margin-top: .2rem;}
.social-links li{ padding: 0 .2rem;}
.social-links a {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    line-height: 25px;
    font-size: .9rem;
    text-align: center;
    border: 1px solid #fff;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
}
.social-links a:hover{ background: #fff; color: var(--bs-primary) !important;}
.navbar{ 
    background: var(--bs-secondary); 
    top: 48px;
    transition: all .3s ease-in-out;
}
.navbar-brand img{ width: 110px;}
.navbar li{ margin: 0 .3rem;}
.active-item{
    background: #ddd;
    border-radius: .5rem .5rem 0 0;
    border-bottom: 2px solid #b1afaf;
}
.navbar .active-item a{ color: var(--bs-dark) !important;}
.navbar li a{padding: .1rem 1rem !important; color: var(--bs-primary) !important;}
.main-slider{ background: var(--bs-secondary);}
.main-slider .carousel-inner img{ 
    width: 57%;
    height: 500px;
    object-fit: contain;
    object-position: top;
    position: absolute;
    bottom: 0;
    right: 0;
}
.main-slider .carousel-item{
    transition: -webkit-transform 1.5s ease;
    transition: transform 1.5s ease;
    transition: transform 1.5s ease, -webkit-transform 1.5s ease;
}
.main-slider .carousel-caption{ 
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: static; 
    color: var(--bs-dark);
    text-align: initial;
    transition: .5s all ease-in-out;
}
.main-slider .carousel-caption h1{
    font-size: 1.5rem;
    color: var(--bs-primary);
    margin-top: 0;
}
.main-slider .carousel-caption p{ font-size: 1rem; width: 345px; }
.main-slider .carousel-caption .main-btn.btn-primary{ width: 150px;}
.main-btn.btn-primary{ 
    border:none;
    background: var(--bs-primary);
    font-size: .9rem;
    height: 37px;
}
.main-slider .carousel-indicators [data-bs-target]{
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--bs-primary);
    opacity: 1;
}
.main-slider .carousel-indicators .active{ background: var(--bs-primary); }
.main-title{
    color: var(--bs-primary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-family: var(--med-font);
}
.main-slide{
    width: calc(50% - 10px);
    max-height: 340px;
    object-fit: contain;
} 
.more-slide ul{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0;
    width: 50%;
    height: 350px;
    padding: 0;
}
.more-slide ul > li {
    width: calc(50% - 5px);
    max-height: 165px;
    opacity: 1;
    border: none;
    border-radius: 0;
    margin: 0;
    list-style: none;
    overflow: hidden;
    text-decoration: none;
}
.more-slide ul > li:hover img{ transform: scale(1.15);}
.more-slide ul > li img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    text-decoration: none;
    transition: .3s all ease-in-out;
    -webkit-transition: .3s all ease-in-out;
    -moz-transition: .5s all ease-in-out;
}
.slide-number.carousel-indicators{
    top: -48px;
    bottom: auto;
    margin: 0;
    padding: .4rem;
    background: var(--bs-primary);
}
.slide-number.carousel-indicators > li {
    width: 26px;
    height: 26px;
    line-height: 26px;
    color: var(--bs-primary);
    font-size: .9rem;
    text-indent: initial;
    opacity: 1;
    border: none;
    background: #fff;
    border-radius: 5px;
    text-align: center;
}
.slide-number.carousel-indicators .active{
    background: #999;
    color: #fff;
}
.latest-news .carousel-caption{
    position: static;
    background: var(--bs-primary);
    padding: .5rem 1rem;
}
.latest-news .carousel-caption p{text-align: center;}
.latest-offers{
    background: var(--bs-secondary);
}
.offers .item{
    height: auto;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.offers .item img{
    max-height: 350px;
    width: 100%;
    object-fit: contain;
    transition: .3s all ease-in-out;
    -webkit-transition: .3s all ease-in-out;
    -moz-transition: .5s all ease-in-out;
}
.offers .item:hover .offer-description{bottom: 0;}
.offers .item:hover img{transform: scale(1.15);}
.offer-description{
    position: absolute;
    bottom: -150px;
    background: rgba(var(--primary-rgb),.75);
    padding: 1.3rem 1rem;
    text-decoration: none;
    transition: .3s all ease-in-out;
    -webkit-transition: .3s all ease-in-out;
    -moz-transition: .5s all ease-in-out;
}
.offers .offer-description h4{ font-size: .95rem; color: #fff;}
.offer-description p{ 
    font-size: .85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    color: #fff;
}
.owl-slider .owl-nav{
    position: absolute;
    top: -50px;
    right: 0;
    margin: 0;
}
.owl-slider.owl-carousel .owl-nav button.owl-prev,
.owl-slider.owl-carousel .owl-nav button.owl-next{
    margin: 0;
    width: 22px;
    height: 26px;
    line-height:18px;
    background: rgba(var(--primary-rgb),.4);
    color: var(--bs-primary);
    border-radius: 0;
    font-size: 1.8rem;
}
.owl-slider.owl-carousel .owl-nav button.owl-prev{ border-right: 1px solid; }
.owl-slider.owl-carousel .owl-nav button span{ 
    height: 26px;
    display: inline-block;
}
.about-us{position: relative; padding-bottom: 100px !important;}
.about-us h4,.equipments h4,.doctors h4,.offers h4{
    font-size:1.1rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
    font-family: var(--med-font);
}
.about-us p{ 
    font-size: .95rem;
    width: 350px;
    max-width: 100%;
}
.about-content{height: 450px;}
.about-img{
    position: absolute;
    right:0; 
    top: 120px;
    height: 450px;
}
.big-img{ 
    border-radius:12px 0 0 12px;
    width: 700px;
    height: 450px;
    object-fit: cover;
}
.small-img{
    border-radius: 12px;
    width: 280px;
    height: 180px;
    object-fit: cover;
    position: absolute;
    bottom: -45px;
    left: -50px;
}
.categories{background: var(--bs-secondary);}
.category{
    border-radius: 12px;
    overflow: hidden;
    transition: .3s all ease-in-out;
    -webkit-transition: .3s all ease-in-out;
    -moz-transition: .5s all ease-in-out;
}
.category a{ 
    display: inline-block;
    width: 100%;
    font-size: 1rem;
    padding: 1rem;
    color: var(--bs-dark);
    text-decoration: none;
    font-weight: bold;
}
.category img{
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.active-category.category{
    /* transform: scale(1.05); */
}
.doctors.row:nth-child(odd){
    flex-direction: row-reverse;
}
.doctors-slider .item{
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 1px 2px 5px rgba(0,0,0,0.25);
    margin: 5px;
}
.doctors-slider .item a{text-decoration: none;}
.doctors-slider .item img{
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    object-position: top;
    background-color: white;
}
.doctors-slider .item h4{
    margin-bottom: 0;
    border-radius: 0 0 12px 12px;
   background: var(--light-red);
   color: var(--bs-dark);
   font-size: 1rem;
   padding:1.5rem 1rem;
   text-overflow: ellipsis;
   overflow: hidden;
   white-space: nowrap;
}
.scroll-content{ overflow-y: scroll; max-height: 370px;}
.scroll-content::-webkit-scrollbar{width:8px}
.scroll-content::-webkit-scrollbar-track{background:var(--bs-secondary)}
.scroll-content::-webkit-scrollbar-thumb{background:#eee}
.scroll-content::-webkit-scrollbar-thumb:hover{background:#999}
.equipments .scroll-content{ max-height: 300px;}
.equipments,.doctors,.offers.row{margin:0 0 1.5rem 0 !important;}
.equipments p,.doctors p,.offers p{ font-size: .95rem;}
.medical-equipments{ background: var(--bs-secondary);}   
.side-img{position: relative;box-sizing: content-box;}
.side-img img{
    width: 100%;
    max-height: 530px;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
}
.side-img.border{
    border-width: 8px !important;
    border-color: var(--light-red) !important;
}
.side-img.border img{ border-radius: 0;}
.side-img span{
    position: absolute;
    background: var(--bs-primary);
    top: 0;
    left:-80px;
    color: #fff;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 3px;
}
.side-img .sec-num{right:-80px; left: auto;}
.side-img span:after{
    content: '';
    position: absolute;
    width: 80px;
    height: 1px;
    background: #ccc;
    left: 35px;
    top: 17px;
}
.side-img .sec-num:after{
    left: auto;
    right: 35px;
}
.footer{
    background: var(--bs-primary);
    border-top: 8px solid #999;
}
.footer-logo{
    background: var(--bs-secondary);
    width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.footer-logo img{ width: 160px; }
/* .footer-list{
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
} */
.footer-list li{ background: none; border: none;}
.footer-list li a{ 
    text-decoration: none;
    color: #fff;
    font-size: .9rem;
}
.footer .contact-info p{ 
    color:#fff; 
    font-size: .9rem;
}
.footer .contact-info a{ color: #fff; text-decoration: none;}
.copy-right{ 
    color: #fff; 
    padding: 1rem;
    font-size: .85rem;
}
.copy-right a{
    color:#fff;
    text-decoration: none;
}
.footer-links{flex-grow: 1;}
.lang-btn{
    background: #ddd;
    text-decoration: none;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
}
.lang-btn .nav-link{padding: 0 !important;}
.lang-btn:hover,.lang-btn:focus{color: var(--bs-primary);}
.navbar-light .navbar-toggler {border:none}
.navbar-light .navbar-toggler:focus{ border: none; box-shadow: none;}
.sec-title{
    background: rgba(var(--primary-rgb),.1);
    font-size: 1.3rem;
    color: var(--bs-primary);
    font-family: var(--med-font);
}
.doctors p>span{ color: #999;}
.doctors .scroll-content::-webkit-scrollbar-track{background:#fff}
.offers .scroll-content::-webkit-scrollbar-track{background:#fff}
.contact-us h4{
    font-size: 1.1rem;
    color: var(--bs-primary);
}
.contact-us p{font-size: .95rem;text-align: center;}
.cir-icon {
    width: 37px;
    height: 37px;
    line-height: 34px;
    border-radius: 50%;
    border:2px solid var(--bs-primary);
    display: inline-block;
    text-align: center;
    margin-bottom: 1rem;
}
.contact-us a {
    display: block;
    font-size: .95rem;
    color: var(--bs-dark);
    text-decoration: none;
}
.cir-icon i {color: var(--bs-primary); }
.contact-form{ display: inline-block; width: 100%;}
.contact-form h3{ font-size: 1.2rem;}
.contact-form .form-control{
    padding: .55rem .75rem;
    background: #F5F5F5;
    border: none;
    box-shadow: 1px 2px 3px rgba(0,0,0,0.1);
}
.contact-form textarea{ height: 157px;}
.contact-form .main-btn.btn-primary{ width: 150px;}
.map{ height: 400px; border-bottom: 8px solid var(--light-red);}
.map iframe{ width: 100%; height: 100%; }
.contact-details h4{
    color: var(--bs-primary);
    font-size: 1rem;
}
.contact-details a{ 
    border: none;
    width: 32px;
    height: 32px;
    line-height: 30px;
}
.contact-details .social-links a:hover{background:var(--bs-primary) !important;}
.contact-details i{ font-size: 1.4rem; color: var(--bs-primary); }
.contact-details a i{ color: #fff; font-size: 1rem;}
.whats a{background: #25d366;}
.twitter a{background: #1da1f2;}
.snap a{background: #fffc00;}
.insta a{
    background: #f09433; 
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
    background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}
.facebook a{background: #3b5998;}
/* offers page */
.offer-price{ margin-top: 2rem;}
.offer-price p{ 
    color: var(--bs-primary); 
    margin-bottom: 0;
    font-family: var(--med-font);
}
.offer-price p>span{font-family: var(--med-font);}
.offer-price .offer-discount{ 
    color:#999; 
    margin-top: .5rem;
    font-family: var(--main-font);
}
.offer-price .offer-discount span{ text-decoration: line-through;font-family: var(--main-font)}
/* responsive */
/* Large desktops and laptops */
@media (min-width: 1200px) {
}
/* Landscape tablets and medium desktops */
@media (min-width:  991.98px) and (max-width: 1199px) {
    .main-slider .carousel-inner img { width: 600px;}
    .big-img { width: 495px; height: 405px;}
    .small-img {
        width: 240px;
        height: 142px;
        bottom: 0;
    }
    .footer-logo{ width: 300px;}
}
/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .main-slider .carousel-inner img { width: 380px; height: 390px; }
    .about-content { height: 350px;}
    .about-img{ height: 390px;}
    .big-img { width: 315px; height: 350px;}
    .small-img {
        width: 240px;
        height: 142px;
        bottom: 0;
    }
    .footer-list {
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
    }
    .footer-list li { display: inline-block; padding: 0 .5rem; }
    .contact-info{ padding: 0 1rem;}
    .footer-logo img { width: 106px;}
    .navbar-expand-md .navbar-nav .nav-link {padding: .1rem 0.8rem !important;}
    .side-img{ height: auto;}
    .top-bar .contact-info .list-group-horizontal {
        display: block;
    }
    .top-bar .list-group-item {
        padding: 0 0.1rem!important;
        line-height: 18px;
    }
    .main-slide{ max-height: 270px;}
    .more-slide ul{ height: 280px;}
    .more-slide ul > li{ max-height: 130px;}
}
/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) {
    .top-bar .list-group-item{padding: .5rem;}
    .top-bar .social-links .list-group-item{ padding: .5rem .1rem;}
    .contact-info{ padding: 0 1rem;}
    .top-bar .contact-info .list-group-horizontal { display: block;}
    .contact-info a {font-size: 0.75rem; }
    .navbar-brand img { width: 80px; }
    .navbar li { margin: .3rem 0; }
    .main-slider .carousel-inner img { width: 200px; height: 200px;}
    .main-slider .carousel-item{ height: 420px;}
    .main-slider .carousel-caption { min-height: 420px;}
    .main-slide{ height: max-200px;}
    .more-slide ul{ height: 209px;}
    .more-slide ul > li {max-height: 96px;}
    .offers .item,.offers .item img{ height: 330px;}
    .doctors-slider .item img{ height: 240px;}
    .doctors-slider .item h4{ font-size: .8rem;}
    .about-us{ padding-bottom: 3rem !important;}
    .about-content { display: block !important; height: auto;}
    .about-us p, .equipments p {width: 100%; font-size: .85rem;}
    .about-img{ position: static; height: auto;}
    .big-img{ width: 100%; height:200px;border-radius: 12px !important;}
    .small-img{ display: none;}
    .side-img{ 
        margin: 0 auto;
        display: block;
    }
    .side-img .sec-num { right: 0;}
    .side-img span { left: 0;}
    .side-img span:after{display: none;}
    .footer-list {
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
    }
    .footer-list li { display: inline-block; padding: 0 .5rem; }
    .footer-logo img { width: 106px;}
    .lang-btn{
        color: var(--bs-primary);
    }
    .equipments .scroll-content,.scroll-content{max-height: 195px;}
    .contact-us .col-md-4{ border:none !important}
    .map{ height:300px;}
    .top-bar .list-group-item {
        padding: 0.1rem!important;
        line-height: 18px;
    }
}
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .top-bar .list-group-item{padding: .5rem .3rem;}
    .main-title{ font-size: 1.15rem; margin-bottom: 1.5rem;}
    .latest-news .main-title{ margin-bottom: 3rem;}
    .latest-news .carousel-caption { font-size: .9rem;}
    .category img { height: 190px;}
    .equipments .scroll-content,.scroll-content{max-height: initial;}
    .side-img{ width: 200px;}
    .doctors,.offers.row{
        border-bottom: 1px solid #ddd;
        padding-bottom: 2.5rem;
    }
    .doctors:last-child,.offers:last-child{ border: none;}
    .doctors p {margin: 0;}
    .top-bar{ height: auto;}
    .top-bar .col-auto{ width: 100%;}
        .top-bar .social-links {
            justify-content: flex-start;
            margin-bottom: .2rem;
        }
    .main-slider .carousel-item>div{ 
        display: flex; 
        flex-direction: column-reverse;
        height: 100%;
        justify-content: center;
    }
    .main-slider .carousel-inner img{ position: static;}
    .main-slider .carousel-caption h1{ font-size: 1.1rem;}
    .main-slider .carousel-caption p{ font-size:.9rem;width: 100%;}
    .main-slider .carousel-inner img { width: 100%; height:160px; margin-top: 1rem;}
    .main-slider .carousel-item{ height: 570px;}
    .main-slider .carousel-caption { min-height:initial;}
    .main-slider .carousel-caption .main-btn.btn-primary{ margin-top: 0 !important;}
    .doctors{ scroll-margin-top:0 ;}
    .equipments:not(:last-child){ border-bottom: 1px solid #ddd;}
    .equipments:nth-child(2n){ flex-direction: column-reverse;}
    .doctors.row:nth-child(odd) {
        flex-direction: column-reverse;
    }
    .doctors.row:nth-child(even) {
        flex-direction: column-reverse;
    }
}
@media (max-width: 400px) {
    .main-slide{ max-height: 140px;}
    .more-slide ul{ height: 150px;}
    .more-slide ul > li {max-height: 64px;} 
    .offers .item, .offers .item img { height: 270px; }
    .footer>.d-flex{display: block !important;}
    .footer-logo{ padding: 15px; width: 100%;}
    .footer-links{ padding-top:1rem !important;}
}