/********** Template CSS **********/

@font-face {
    font-family: OpenSans;
    src: url(fonts/OpenSans-Light.ttf);
}

@font-face {
    font-family: OpenSansBold;
    src: url(fonts/OpenSans-Bold.ttf);
}


@font-face {
    font-family: geLight;
    src: url(fonts/ge-ss-unique-light.otf);
}

@font-face {
    font-family: geBold;
    src: url(fonts/ge-ss-unique-bold.otf);
}



*{
    font-family: 'OpenSans';
}
.translatepress-ar *{
    font-family: 'geLight';
}

.translatepress-ar .form-control, .translatepress-ar .wpcf7-form-control {
    direction: rtl !important;
}

.fa, .far, .fas {
    font-family: "Font Awesome 5 Free" !important;
}




h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6{

    font-family: 'OpenSansBold';
    color: var(--headingColor);

}
.translatepress-ar h1, .translatepress-ar .h1, 
.translatepress-ar h2, .translatepress-ar .h2, 
.translatepress-ar h3, .translatepress-ar .h3, 
.translatepress-ar h4, .translatepress-ar .h4, 
.translatepress-ar h5, .translatepress-ar .h5, 
.translatepress-ar h6, .translatepress-ar .h6{

    font-family: 'geBold';
    color: var(--headingColor);

}

.h5, h5{

    font-size: 1.1rem;

}

.read-more{

    display: none;

}

:root {

    --primary: #f8f2e2;

    --light: #ffffff;

    --dark: #58595b;

    --secondary: #399f47;

    --headingColor:#58595b

    

}



.btn-outline-secondary{

    color: var(--dark);

    border-color: var(--dark);

    border-radius: 0;

    padding-left: 1.5rem;

    padding-right: 1.5rem;

}



.btn-outline-secondary:hover{

    color: var(--secondary);

    border-color: var(--secondary);

    background: none;

}

body{

    color: var(--dark);

}

a{

    color: var(--dark) !important;

}

a:hover{

    color: var(--secondary) !important;

}

.bg-primary{

    background: rgb(248,242,226);

    background: linear-gradient(180deg, rgba(248,242,226,1) 0%, rgba(255,241,202,1) 100%) !important;

}

.btn-primary{

    color: var(--primary) !important;

    background-color: var(--dark) !important;

    border-color: var(--dark) !important;

}

.text-primary{

    color: var(--dark) !important;

}

.border-primary{

    border-color: var(--dark) !important

}

.card{

    border: 0 !important;

    border-radius: 0 !important;

}



.back-to-top {

    position: fixed;

    display: none;

    right: 45px;

    bottom: 45px;

    z-index: 99;

}



.bg-theme2{

    background: var(--secondary);

}

a, .btn-link{

    text-decoration: none;

}



/*** Spinner ***/

#spinner {

    opacity: 0;

    visibility: hidden;

    transition: opacity .5s ease-out, visibility 0s linear .5s;

    z-index: 99999;

}



#spinner.show {

    transition: opacity .5s ease-out, visibility 0s linear 0s;

    visibility: visible;

    opacity: 1;

}

.single-article img{

    max-width: 100%;

    margin: auto;

    display: block;

}

.article-inner img{

    margin:15px auto;

    max-width: 100%;

    border-radius: 15px;

}



.doctor-card{

    position: relative;

    overflow: hidden;

}

.doctor-name{

    position: absolute;

    width: 100%;

    padding: 15px 5px;

    left: 0;

    bottom: 0;

    background: rgb(0, 0, 0);

    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);

}

.doctor-name *{

    text-shadow: 1px 1px 1px #000;

}

.doctor-single-content h3{

    color: var(--dark);

    margin-bottom: 0;

    margin-top: 15px;

}

.doctor-single-content p{

    margin-bottom: 5px;

}

.doctor-card .tags{

    position: absolute;

    top: 2px;

    right: 3px;

    text-align: right;

}

.book-fixed{

    position: fixed;

    bottom: 0;

    left:10px;

    border: 2px solid #fff;

    border-bottom: 0;

    border-radius: 5px  5px 0px 0px;

    z-index: 99;

}

.other-department{

    display: none;

    width: 100%;

}

.logo img{

    width: 380px;

    padding: 10px 0;

}

.department-list .department-ab{

    display: flex;

    flex-direction: column;

    justify-content: space-between;

}

.excerpt a{

    color: #212529;

}

.sub-depart-wrap{

    margin-bottom: 20px;

    align-items: center;



}





.sub-depart-wrap p:nth-last-child(){

    margin-bottom: 0;

}

.sub-depart-wrap .col-md-6 img{

    border-radius: 10px;

}

.sub-depart-wrapper .sub-depart-wrap:nth-child(even){

    flex-direction: row-reverse;

}

/*** Button ***/

.btn {

    font-weight: 500;

    transition: .5s;

}



.btn.btn-primary,

.btn.btn-secondary {

    color: #FFFFFF;

}



.btn-square {

    width: 38px;

    height: 38px;

}



.btn-sm-square {

    width: 32px;

    height: 32px;

}



.btn-lg-square {

    width: 48px;

    height: 48px;

}



.btn-square,

.btn-sm-square,

.btn-lg-square {

    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: normal;

}





/*** Navbar ***/

.navbar.sticky-top {

    top: -100px;

    transition: .5s;

    border-top: 1px solid #58595b;

}



.navbar .navbar-brand {

    display: flex;

    align-items: center;

}



.navbar .navbar-brand img {

    max-height: 50px;

}



.navbar .dropdown-toggle::after {

    border: none;

    content: "\f107";

    font-family: "Font Awesome 5 Free";

    font-weight: 900;

    vertical-align: middle;

    margin-left: 8px;

}



.navbar .navbar-nav .nav-link {

    margin-right: 0;

    padding: 8px 15px;

    color: #FFFFFF;

    font-size: 15px;

    font-weight: 500;

    outline: none;

}



.dropdown-menu{

    border-top: 3px solid #000 !important;

    background: #e2e0db;

    padding: 0;

}



.dropdown-item.active, .dropdown-item:active, .dropdown-item:hover{

    background-color: #efeeed !important;

}

.dropdown-item{

    color: #828384 !important;

    padding: 10px 15px;

    background-color: #e2e0db;

    border-bottom: 1px solid #fff;

}



.navbar .navbar-nav .nav-link:hover,

.navbar .navbar-nav .nav-link.current-menu-item {

    /* background: var(--secondary); */

    color: #399f47 !important;

}



@media (max-width: 991.98px) {

    .navbar .navbar-nav .nav-link  {

        margin-right: 0;

        padding: 10px;

    }



    .navbar .navbar-nav {

        border-top: 1px solid #EEEEEE;

    }

}



.navbar .navbar-nav .nav-link , .dropdown-item{

    /* color: var(--dark); */

    font-weight: 700;

}



@media (min-width: 992px) {

    .navbar .nav-item .dropdown-menu {

        display: block;

        border: none;

        margin-top: 0;

        top: 150%;

        opacity: 0;

        visibility: hidden;

        transition: .5s;

    }



    .navbar .nav-item:hover .dropdown-menu {

        top: 100%;

        visibility: visible;

        transition: .5s;

        opacity: 1;

    }

}





/*** Header ***/

.header-bg {

    background:url(../img/bg.jpg) center center;

    background-attachment: fixed;

    background-size: auto;

}









.logo{

    background: url(../img/bg.jpg);

    background-size: cover;

}



@keyframes pulse-border {

    0% {

        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);

        opacity: 1;

    }



    100% {

        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);

        opacity: 0;

    }

}



.modal-video .modal-dialog {

    position: relative;

    max-width: 800px;

    margin: 60px auto 0 auto;

}



.modal-video .modal-body {

    position: relative;

    padding: 0px;

}



.modal-video .close {

    position: absolute;

    width: 30px;

    height: 30px;

    right: 0px;

    top: -30px;

    z-index: 999;

    font-size: 30px;

    font-weight: normal;

    color: #FFFFFF;

    background: #000000;

    opacity: 1;

}

.badge{

    font-weight: 500 !important;

}

.pd-wrap{

    position: relative;

    overflow: hidden;

}

.pd-wrap .tags{

    position: absolute;

    top: 10px;

    right: 10px;

}

.pd-wrap .pd-text{

    width: 90%;

    margin: auto;

    margin-top: -20px;

    background: var(--secondary);

    position: relative;

    z-index: 3;

    padding: 10px; 

}



.client-carousel .owl-nav .owl-prev,

.doc-carousel .owl-nav .owl-prev,

.doc-carousel .owl-nav .owl-next,

.client-carousel .owl-nav .owl-next,

.header-carousel .owl-nav .owl-prev,

.header-carousel .owl-nav .owl-next {

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #FFFFFF;

    background: var(--primary);

    border: 1px solid #FFFFFF;

    font-size: 22px;

    transition: .5s;

    border-radius: 50%;

}

.tech-carousel .owl-nav .owl-prev,

.tech-carousel .owl-nav .owl-next {

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--primary);

    background: #fff;

    border: 1px solid #fff;

    font-size: 22px;

    transition: .5s;

    border-radius: 50%;

}





.client-carousel .owl-nav .owl-next,

.doc-carousel .owl-nav .owl-next,

.header-carousel .owl-nav .owl-next{

    position: absolute;

    right: 0;

    top: 50%;

    background: var(--primary);

}

.tech-carousel .owl-nav .owl-next{

    position: absolute;

    right: 0;

    top: 50%;

    background: #ccc;

}



.tech-carousel .owl-stage{display: flex;}

.tech-wrap-ab {

    display: flex;

    flex: 1 0 auto;

    height: 100%;

}

.card {

    position: relative;

    overflow: hidden;

    /* margin-bottom: 80px; *//*This is optional*/

    display: flex;

    flex-direction: column;

    align-items: stretch;

} 









.client-carousel .owl-nav .owl-prev,

.doc-carousel .owl-nav .owl-prev,

.header-carousel .owl-nav .owl-prev{

    position: absolute;

    left: 0;

    top: 50%;

    background: var(--primary);

}

.tech-carousel .owl-nav .owl-prev{

    position: absolute;

    left: 0;

    top: 50%;

    background: #ccc;

}



.client-carousel .owl-nav .owl-prev:hover,

.client-carousel .owl-nav .owl-next:hover,

.doc-carousel .owl-nav .owl-prev:hover,

.doc-carousel .owl-nav .owl-next:hover,

.header-carousel .owl-nav .owl-prev:hover,

.header-carousel .owl-nav .owl-next:hover {

    background: var(--primary);

    border-color: var(--primary);

}

.tech-carousel .owl-nav .owl-prev:hover,

.tech-carousel .owl-nav .owl-next:hover{

    background: #fff;

    border-color: #282F34;

}





.client-carousel .owl-dots,

.doc-carousel .owl-dots,

.tech-carousel .owl-dots,

.header-carousel .owl-dots {

    position: absolute;

    height: 45px;

    bottom: 30px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    justify-content: center;

}

.client-carousel .owl-dot,

.doc-carousel .owl-dot,

.header-carousel .owl-dot {

    position: relative;

    display: inline-block;

    margin: 0 5px;

    width: 15px;

    height: 15px;

    background: transparent;

    border: 1px solid #FFFFFF;

    transition: .5s;

    border-radius: 50%;

}

.tech-carousel .owl-dot{

    position: relative;

    display: inline-block;

    margin: 0 5px;

    width: 15px;

    height: 15px;

    background: transparent;

    border: 1px solid #ccc;

    transition: .5s;

    border-radius: 50%;

}

.client-carousel .owl-dot::after,

.doc-carousel .owl-dot::after,

.header-carousel .owl-dot::after {

    position: absolute;

    content: "";

    width: 5px;

    height: 5px;

    top: 4px;

    left: 4px;

    background: #FFFFFF;

    border-radius: 5px;

}

.client-carousel .owl-dot::after{

    position: absolute;

    content: "";

    width: 5px;

    height: 5px;

    top: 4px;

    left: 4px;

    background: #ccc;

    border-radius: 5px;

}

.client-carousel .owl-dot.active,

.doc-carousel .owl-dot.active

.header-carousel .owl-dot.active {

    background: var(--primary);

    border-color: var(--primary);

}



.tech-carousel .owl-dot.active{

    background: #fff;

    border-color: #282F34;

}



.breadcrumb-item + .breadcrumb-item::before {

    color: var(--light);

}





.accordion-button:not(.collapsed){

    background-color: var(--secondary);

    color: #fff;

}

.accordion-button{

    background: var(--primary);

    color: var(--dark);

}

.accordion-button::after, .accordion-button:not(.collapsed)::after{

    background-image: none;

}



/*** Img Border ***/

.img-border {

    position: relative;

    height: 100%;

    min-height: 600px;

}



.img-border::before {

    position: absolute;

    content: "";

    top: 0;

    left: 0;

    right: 3rem;

    bottom: 3rem;

    border: 5px solid var(--primary);

}



.img-border img {

    position: absolute;

    top: 3rem;

    left: 3rem;

    width: calc(100% - 3rem);

    height: calc(100% - 3rem);

    object-fit: cover;

}





/*** Facts & Visiting Hours ***/

.facts {

    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/bg-1.jpg) center center no-repeat;

    background-size: cover;

}



.visiting-hours {

    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/bg-2.jpg) center center no-repeat;

    background-size: cover;

}



.visiting-hours .list-group-item {

    display: flex;

    justify-content: space-between;

    color: var(--light);

    background: rgba(0, 0, 0, .15);

    border-color: rgba(255, 255, 255, .15);

}



.visiting-hours .table {

    color: var(--light);

    background: rgba(0, 0, 0, .15);

}



.visiting-hours .table td {

    padding: .5rem 1rem;

    border-color: rgba(255, 255, 255, .15);

}



.visiting-hours .table tr:last-child td {

    border: none;

}





/*** Animal ***/

.animal-item {

    position: relative;

    display: block;

}



.animal-item .animal-text {

    position: absolute;

    width: 100%;

    height: 100%;

    top: 0;

    left: 0;

    background: rgba(0, 0, 0, .7);

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding-bottom: 100px !important;

    opacity: 0;

    transition: .5s;

}



.animal-item:hover .animal-text {

    opacity: 1;

    padding-bottom: 20px !important;

}



.service-home-intro{

    height: 120px;

}

.rounded{

    border-radius: 10px !important;

}

.cta-wrap{

    position: relative;



}

.cta-show{

    position: absolute;

    top: 0;

    left: 10px;

    width: calc(100% - 20px);

    height: 100%;

    display: flex;

    background: #e0c9a2e6;

    flex-direction: column;

    align-content: center;

    justify-content: center;

    opacity: 0;

    transition: opacity 0.5s;

}

.cta-wrap:hover .cta-show{

opacity: 1;

}

/*** Membership ***/

.membership-item {

    padding: 45px 30px;

    color: #FFFFFF;

    background: rgba(0, 0, 0, .7);

}



.membership-item img {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    z-index: -1;

}



.membership-item .display-1 {

    color: transparent;

    -webkit-text-stroke: 2px var(--primary);

}





/*** Testimonial ***/

.testimonial-carousel::before {

    position: absolute;

    content: "";

    top: 0;

    left: 0;

    height: 100%;

    width: 0;

    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);

    z-index: 1;

}



.testimonial-carousel::after {

    position: absolute;

    content: "";

    top: 0;

    right: 0;

    height: 100%;

    width: 0;

    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);

    z-index: 1;

}



@media (min-width: 768px) {

    .testimonial-carousel::before,

    .testimonial-carousel::after {

        width: 200px;

    }

}



@media (min-width: 992px) {

    .testimonial-carousel::before,

    .testimonial-carousel::after {

        width: 300px;

    }

}



.testimonial-carousel .owl-item .testimonial-text {

    background: var(--light);

    transform: scale(.8);

    transition: .5s;

}



.testimonial-carousel .owl-item.center .testimonial-text {

    background: var(--primary);

    transform: scale(1);

}



.testimonial-carousel .owl-item .testimonial-text *,

.testimonial-carousel .owl-item .testimonial-item img {

    transition: .5s;

}



.testimonial-carousel .owl-item.center .testimonial-text * {

    color: var(--light) !important;

}



.testimonial-carousel .owl-item.center .testimonial-item img {

    border-color: var(--primary) !important;

} 



.testimonial-carousel .owl-nav {

    position: absolute;

    width: 350px;

    top: 15px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    justify-content: space-between;

    opacity: 0;

    transition: .5s;

    z-index: 1;

}



.testimonial-carousel:hover .owl-nav {

    width: 300px;

    opacity: 1;

}



.testimonial-carousel .owl-nav .owl-prev,

.testimonial-carousel .owl-nav .owl-next {

    position: relative;

    color: var(--primary);

    font-size: 45px;

    transition: .5s;

}



.testimonial-carousel .owl-nav .owl-prev:hover,

.testimonial-carousel .owl-nav .owl-next:hover {

    color: var(--dark);

}





/*** Footer ***/

.footer-wrap{

    background: url(../img/bg.jpg);

    background-size: cover;

}

.footer {

    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/bg-2.jpg) center center no-repeat;

    background-size: cover;

}



.footer .btn.btn-social {

    margin-right: 5px;

    width: 35px;

    height: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--light);

    border: 1px solid #FFFFFF;

    transition: .3s;

}



.footer .btn.btn-social:hover {

    color: var(--primary);

}



.footer .btn.btn-link {

    display: block;

    margin-bottom: 5px;

    padding: 0;

    text-align: left;

    color: #FFFFFF;

    font-size: 15px;

    font-weight: normal;

    text-transform: capitalize;

    transition: .3s;

}



.footer .btn.btn-link::before {

    position: relative;

    content: "\f105";

    font-family: "Font Awesome 5 Free";

    font-weight: 900;

    margin-right: 10px;

}



.footer .btn.btn-link:hover {

    color: var(--primary);

    letter-spacing: 1px;

    box-shadow: none;

}



.footer .copyright {

    padding: 25px 0;

    font-size: 15px;

    border-top: 1px solid rgba(256, 256, 256, .1);

}



.footer .copyright a {

    color: var(--light);

}



.footer .copyright a:hover {

    color: var(--primary);

}

.select2-container .select2-selection--single{

    height: 36px !important;

}

.select2-container--default .select2-selection--single .select2-selection__rendered{

    line-height: 36px !important;

}

.form-control{

    appearance: auto;

    -webkit-appearance:auto;

 

}



@media (max-width: 700px) {

    .doctor-name h4{

        font-size: 18px;

    }
    .service-home-intro {
    height: auto;
    margin-bottom: 20px;
}


}