@font-face {
    font-family: "mainfont";
    src: url('/Content/fonts/NeoSansArabic.ttf');
}
@font-face {
    font-family: "medfont";
    src: url('/Content/fonts/NeoSansArabicMedium.ttf');
}
@font-face {
    font-family: "boldfont";
    src: url('/Content/fonts/NeoSansArabicBold.ttf');
}
:root {
    --main-font:mainFont;
    --med-font:medFont;
    --bold-font:boldFont;
    --bs-primary: #1F2F49;
    --bs-secondary:#E22016;
    --secondary-rgb:226, 32, 22;
    --bs-dark: #000000;
    --bs-gray:#A8A8A8;
}
body{overflow-x: hidden;text-align: justify;}
body,*{ font-family: var(--main-font);}
.bold{ font-family: var(--bold-font);}
p{text-align: justify;}
.text-center p{text-align: center;}
.top-bar{
    position: relative;
    background: var(--bs-gray);
    height: 48px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}
.top-bar .container{ height: 100%;}
.top-bar .social-links{ height: 100%;}
.social-links li{ padding: 0 .2rem;background: none; border: none;}
.social-links a {
    display: inline-block;
    color: #fff;
    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{ 
    padding: 0;
    background: var(--bs-primary); 
    top: 48px;
    transition: all .3s ease-in-out;
}
.navbar-brand img{ height: 65px;object-fit: contain;}
.navbar li{ margin: 0 1rem;}
.active-item{border-bottom: 2px solid var(--bs-secondary);}
.navbar li a{padding: .2rem !important; color: #fff !important;}
.navbar li .lang-btn,.lang-btn{
    width: 35px;
    height: 35px;
    line-height: 32px;
    border: 1px solid var(--bs-secondary);
    text-align: center;
    padding: 0 !important;
    color: #fff;
    text-decoration: none;
}
.lang-btn:hover,.lang-btn:focus{color:var(--bs-secondary);}
.navbar-light .navbar-toggler,.navbar-light .navbar-toggler:focus{
    box-shadow: none;
    border: none;
    background: #fff;
    border-radius: 0;
}
/*main slider */
.main-slider .carousel .carousel-item {
    height: 550px;
    overflow: hidden;
    transition: -webkit-transform 1.5s ease;
    transition: transform 1.5s ease;
    transition: transform 1.5s ease, -webkit-transform 1.5s ease;
}
.main-slider .carousel-item>img {
    height: 550px;
    width: 100%;
    object-fit: cover;
    object-position: top;
    transform: scaleX(-1);
}
.main-slider .carousel-caption{
    left: 4rem;
    right: auto;
    bottom: 0;
    top: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: initial;
}
.main-slider .carousel-caption h1{ 
    color: var(--bs-secondary); 
    font-size: 1.3rem;
    margin:0 0 .7rem 0;
}
.main-slider .carousel-caption p{
    font-size: 1rem;
    width:350px;
    max-width: 100%;
    color: var(--bs-dark);
}
.main-slider .main-btn.btn-primary{ width: 140px;}
.main-slider .carousel-indicators{
    right: 4rem;
    left: auto;
    top: 0;
    bottom: 0;
    margin: 0 auto;
    flex-direction: column;
}
.main-slider .carousel-indicators [data-bs-target]{
    width: 9px;
    height: 9px;
    margin: 0.2rem;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--bs-primary);
    opacity: 1;
}
.main-slider .carousel-indicators .active{ background: var(--bs-primary); }
.main-btn.btn-primary{ 
    border:none;
    background: var(--bs-primary);
    font-size: .9rem;
    height: 37px;
    min-width: 130px;
}
.main-title{
    color: var(--bs-primary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-family: var(--bold-font);
}
.branch{height: 450px; position: relative;}
.branch img{
    height: 450px;
    width: 100%;
    object-fit: cover;
}
.description,.offer-description{
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 1.3rem;
    color: #fff;
    font-size: .9rem;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.77) 17%, rgba(0,0,0,0.9) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.77) 17%,rgba(0,0,0,0.9) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.77) 17%,rgba(0,0,0,0.9) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#e6000000',GradientType=0 ); /* IE6-9 */
}
.description h4,.offer-description h4{ font-size: 1.1rem; }
.description i{ min-width: 16px; margin-top: .3rem;}
.description p{ margin-bottom: .5rem;}
.description a{ color: #fff;margin-bottom: .5rem;}
.description .appointments p{ margin-bottom: 0;}
/* about us */
.about-us{
    background: #eee
}
.about-us .col-md-6 img{
    width: 100%;
    height: 320px;
    object-fit: contain;
}
.about-us .col-md-6 p{
    line-height: 1.7rem;
}
/* latest news */
#newsSlider{ margin-top: 5rem;}
.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);
    height: 165px;
    opacity: 1;
    border: none;
    background: none;
    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: cover;
    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-dark);
    border-radius: 0;
}
.slide-number.carousel-indicators > li {
    width: 26px;
    height: 26px;
    line-height: 26px;
    color: var(--bs-secondary);
    font-size: .9rem;
    text-indent: initial;
    opacity: 1;
    border: none;
    background: #fff;
    text-align: center;
    border-radius: 5px;
}
.slide-number.carousel-indicators .active{
    background: var(--bs-primary);
    color: #fff;
}
.latest-news .carousel-caption{
    position: static;
    background: var(--bs-dark);
    padding: .5rem 1rem;
}
.latest-news .carousel-caption p{text-align: center;}
/* offers */
.latest-offers{
    background: #eee;
    position: relative;
}
.latest-offers:after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 230px;
    background: #F5D7D6;
    z-index: 0;
}
.latest-offers .main-title{ position: relative; z-index: 10;}
.offers .item{
    height: 350px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}
.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 img{transform: scale(1.15);}
.offer-description{ min-height: 135px;}
.offer-description p{
    font-size: .95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.owl-slider.owl-carousel .owl-nav button.owl-prev, .owl-slider.owl-carousel .owl-nav button.owl-next {
    margin: 0;
    width: 30px;
    height: 30px;
    line-height: 25px;
    background: rgba(var(--secondary-rgb),.15);
    color: var(--bs-secondary);
    border-radius: 0;
    font-size: 1.8rem;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}
.owl-slider.owl-carousel .owl-nav button span {
    height: 30px;
    display: inline-block;
}
.owl-slider.owl-carousel .owl-nav button.owl-prev { left: -60px; }
.owl-slider.owl-carousel .owl-nav button.owl-next { right: -60px; }
.note{ color: var(--bs-secondary);}
/* medical equipments */
.equipments h4{
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}
.equipments p{ font-size: .95rem; }
.side-img { position: relative; height: 530px; }
#equipments .side-img{height: 800px;}
.side-img.border {
    border-width: 8px !important;
    border-color:  rgba(var(--secondary-rgb),.1) !important;
}
.side-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.side-img span {
    position: absolute;
    background: var(--bs-primary);
    top: 0;
    left: -80px;
    color: #fff;
    width: 35px;
    height: 35px;
    line-height: 37px;
    text-align: center;
    border-radius: 3px;
}
.side-img span:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 1px;
    background: #ccc;
    left: 35px;
    top: 17px;
}
/* footer */
.footer {
    position: relative;
    background: var(--bs-gray);
    border-top: 8px solid var(--bs-secondary);
}
.footer-logo{ margin-top: 0;}
.footer-logo img{ width: 150px;}
.footer-list li{ 
    background: none; 
    border: none; 
    padding: .2rem 1rem;
}
.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;
}
/* offers page */
.sec-title{
    background: rgba(var(--secondary-rgb),.1);
    font-size: 1.3rem;
    color: var(--bs-primary);
    font-family: var(--med-font);
}
.offers-list{margin:0 0 1.5rem 0 !important;}
.offers-list h4{
    font-size: 1.1rem;
    color: var(--orange);
    margin-bottom: 1rem;
    font-family: var(--med-font);
}
.offers-list h4>i { color: var(--bs-secondary); }
.offers-list p{ font-size: .95rem;}
.offer-price{ margin-top: 2rem;}
.offer-price p{ 
    margin-bottom: 0;
    font-family: var(--med-font);
}
.offer-price >div p{ color: var(--bs-secondary);}
.offer-price p>i{ color: var(--bs-secondary);}
.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)}
.scroll-content{ overflow-y: scroll; max-height: 370px;}
.scroll-content::-webkit-scrollbar{width:8px}
.scroll-content::-webkit-scrollbar-track{background:#fff}
.scroll-content::-webkit-scrollbar-thumb{background:#eee}
.scroll-content::-webkit-scrollbar-thumb:hover{background:#999}
#equipments,#offers,#news,#aboutus,#branches{ scroll-margin-top:70px ;}
/* responsive */
/* Large desktops and laptops */
@media (min-width: 1200px) {
    /* .latest-offers .container{ padding: 0 4rem;} */
}
/* Landscape tablets and medium desktops */
@media (min-width:  991.98px) and (max-width: 1199px) {
    .navbar li{ margin:.6rem .9rem; font-size: .9rem;}
}
/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .navbar li{ margin:.6rem .5rem; font-size: .8rem;}
    .main-slider .carousel .carousel-item {height: 420px;}
    .main-slider .carousel-caption{ top:50px}
    .owl-slider.owl-carousel .owl-nav button.owl-prev { left: -40px; }
    .owl-slider.owl-carousel .owl-nav button.owl-next { right: -40px; }
    .offers-list .side-img{ height: 380px;}
}
/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) {
   .top-bar:after{ display: none;}
   .navbar{ top: 48px;}
   .navbar li{ font-size: .95rem;}
   .navbar-brand{ position: relative; top: 0; }
   .navbar-brand img { width: 137px;}
   .navbar-expand-md .navbar-collapse{ margin: 0 !important;}
   .main-slider .carousel .carousel-item {height: 370px;}
   .main-slider .carousel-caption{ top: 30px;}
   .latest-news{ padding-top: 3rem; margin-top: 0;}
   .latest-news .carousel-caption{font-size: .85rem;}
   .main-slide{ max-height: 200px;}
   .more-slide ul{ height: 209px;}
   .more-slide ul > li {height: 96px;}
   .latest-offers:after{
       background: url(../imgs/offers-bg2.png)no-repeat;
       background-size: cover;
    }
    .latest-offers .container{ padding: 0 2rem;}
    .side-img {
        height: 330px;
        width: 225px;
        margin: 0 auto;
    }
    .owl-slider.owl-carousel .owl-nav button.owl-prev { left: -50px; }
    .owl-slider.owl-carousel .owl-nav button.owl-next { right: -50px; }
    .offers .item,.offers .item img{ height: 300px;}
    .about-us .col-md-6 img {height: 220px;}
    .footer{ padding-top: 3rem;}
    .footer-list li {padding: .3rem 0;}
    .branch img,.branch {height: 400px;}
    .offers-list .side-img{ 
        height: 200px;
        margin: 0 auto;
        display: block;
    }
    .scroll-content { max-height: 185px;}
    #equipments .side-img {
        height: auto;
    }
    #equipments,#offers,#news,#aboutus,#branches{ scroll-margin-top:50px ;}
}
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .main-slider .carousel-caption {
        height: 100% !important;
        left: 0;
        right: auto;
        bottom: 0;
        top: auto;
        width: 100%;
        height: fit-content;
        padding: 1rem 1rem 2rem 1rem;
        background: rgba(255,255,255,.7);
    }
    .main-slider .main-btn.btn-primary{ margin-top: 0 !important;}
    .main-slider .carousel-caption h1{ font-size: 1.1rem;}
    .main-slider .carousel-caption p { font-size: .9rem;}
    .main-slider .carousel-indicators {
        right: 0 !important;
        left: 0 !important;
        top: auto;
        bottom: 0;
        margin: 0 15% 1rem 15%;
        flex-direction: row;
    }
    .latest-offers .container{ padding: 0 5rem;}
    .description, .offer-description{padding: 1rem;}
    .offers .item,.offers .item img{ height: 260px;}
    .offer-description p,.description p{font-size: .85rem;}
    .about-us .col-md-6 img {height: 165px;}
    .about-us .col-md-6 p,.equipments p{font-size: .85rem;}
    .equipments h4 {font-size: 1rem;}
    .main-title{ font-size: 1.2rem;}
    .offers-list .side-img{ height: 200px;}
    .offers-list{
        border-bottom: 1px solid #ddd;
        padding-bottom: 2.5rem;
    }
    .offers-list:last-child{ border: none;}
    .scroll-content{max-height: initial;}
    .main-slider .carousel .carousel-item,.main-slider .carousel-item img{ height: 300px;}
}
@media (max-width: 400px) {
    .main-slide{ max-height: 180px;}
    .more-slide ul{ height: 190px;}
    .more-slide ul > li {height: 84px;}
    .latest-offers .container{ padding: 0 3rem;}
    .owl-slider.owl-carousel .owl-nav button.owl-prev { left: -35px; }
    .owl-slider.owl-carousel .owl-nav button.owl-next { right: -35px; }
}