/* top slider */

#TopSlider {
    width: 100%;
    height: 108vh;
    transform: translateY(-18px);
    background: #f0f5f9;
}

/* #loader{
	position: fixed;
	width: 100%;
	height: 100vh;
	background: #21242d url(../../Images/logo-gif-final.gif) no-repeat center;
	z-index: 999;
} */


/* about section starts here */

#AboutSectioon {
    background: #fff;
}

.AboutCards {
    width: 85%;
    margin: auto;
    height: 425px;
    box-shadow: 0 0px 10px rgba(100, 100, 100, 0.27);
    transform: translateY(-81px);
}

.CardImageSection {
    width: 100%;
    height: 40%;
    position: relative;
}

.CardImageSection::after {
    content: '';
    position: absolute;
    display: inline-block;
    width: 100%;
    background: url(../../Images/AboutCardImagecommon.png);
    height: 168px;
    background-size: cover;
    bottom: 0;
}

.CardImage {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: 0.8s ease all;
}

.Img1 {
    background-image: url('../../Images/AboutCardImage001.png');
}

.Img2 {
    background-image: url('../../Images/AboutCardImage002.png');
}

.Img3 {
    background-image: url('../../Images/AboutCardImage003.png');
}

.AboutCardIcon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    margin: auto;
    transform: translateY(75%);
    position: relative;
}

.AboutCardIcon img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.BtnCard {
    padding: 8px 16px;
    background: transparent;
    border-radius: 40px;
    font-size: 12px;
    color: #00a95b;
    text-transform: uppercase;
    transition: 0.4s ease all;
    border: 1px solid #00a95b;
    font-weight: 700;
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
}

.BtnCard:hover {
    background: #00a95b;
    color: #fff;
}

.EmergencyService h3 {
    color: #565656;
    font-size: 20px;
    font-weight: 600;
}

.EmergencyService h4 {
    color: #828282;
    line-height: 54px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
}

.AboutCards p {
    color: #828282;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 0 25px;
    position: relative;
    line-height: 29px;
}

.BorderBottom::after {
    content: '';
    position: absolute;
    display: block;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 86%;
    height: 1px;
    background: #827f7f73;
}

.AboutCards p span {
    float: right;
    font-family: 'Open Sans', sans-serif;
}

/* news & events starts here */

#NewsEvents {
    background: #f9faff;
    padding: 80px 0;
}

.NewsContent {
    width: 95%;
    float: right;
}

.NewsEvents .nav>li {
    background: #f7f7f7;
    margin-bottom: 10px;
    transition: 0.4s ease all;
}

.NewsEvents .nav>li>a>span {
    float: right;
    font-weight: bolder;
    transform: translateY(4px);
}

.NewsEvents .nav>li.active, .NewsEvents .nav>li>a:focus {
    background: #00a95b;
    color: #fff;
}

.NewsEvents .nav>li.active>a, .NewsEvents .nav>li>a:focus {
    color: #fff;
}

.NewsEvents .nav>li>a:hover {
    background-color: #00a95b5c;
}

.NewsEvents .nav>li>a {
    padding: 18px 25px;
    color: #6c6c6c;
    font-size: 14px;
    font-weight: 500;
    transition: 0.4s ease all;
}

.NewsEvents .nav>li>a::after {
    content: '';
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    width: 4px;
    background: #dddcdc;
    transition: 0.4s ease all;
    height: 100%;
}

.NewsEvents .nav>li.active>a::after {
    background: #464646;
}

.NewsContent h3 {
    color: #464646;
    font-size: 30px;
    margin-top: 0;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.NewsContent p {
    color: #828282;
    line-height: 22px;
    letter-spacing: 0.5px;
    margin: 25px 0;
    font-weight: 400;
}

.NewsContent img {
    width: 100%;
}

/* our departments starts here */

#OurDepartments {
    padding: 80px 0;
    background: #f9faff;
}

.DepartmentsDetails {
    text-align: center;
    margin-bottom: 50px;
}
.DepartmentsDetails1 {
    text-align: center;
    margin-bottom: 0px;
}

.DepartmentIcon {
    width: 55px;
    height: 55px;
    position: relative;
    border-radius: 50%;
    background: #eaeaea;
    margin: auto;
}

.DepartmentIcon:hover {
    
    background: #5ee67542;
   
}

.DepartmentIcon img {
    position: absolute;
    top: 50%;
    width: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.DepartmentsDetails h2 {
    color: #464646;
    font-size: 17px;
    font-weight: 600;
}
.DepartmentsDetails1 h2 {
    color: #464646;
    font-size: 17px;
    font-weight: 600;
}

.mistify__info-description
{
    text-align: justify;
}

.DepartmentsDetails p {
    color: #828282;
    letter-spacing: 0.5px;
    line-height: 23px;
    font-size: 13px;
}
.DepartmentsDetails1 p {
    color: #828282;
    letter-spacing: 0.5px;
    line-height: 23px;
    font-size: 13px;
}

.circle {
    background: #fff;
    color: black;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-align: center;
    z-index: 99999999;
    position: relative;
    transition: 0.5s ease all;
    box-shadow: 0px 8px 12px 0px #a5a3a357;
    -webkit-box-shadow: 0px 8px 12px 0px #a5a3a357;
    -moz-box-shadow: 0px 8px 12px 0px #a5a3a357;
}

#MoreDepartments {
    display: none;
    float: left;
}

/* special packages starts here */

#SpecialPackages {
    padding: 80px 0;
}

.Packages {
    width: 100%;
    height: auto;
    padding: 20px 30px;
    transition: 0.5s ease all;
}

.Packages h1 {
    color: #00a95b;
    font-weight: 800;
    font-size: 45px;
}

.Packages h1 span {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
}

.Packages h3 {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 500;
    margin: 20px 0;
}

.Packages h3 span {
    font-weight: 700;
}

.Packages p {
    color: #828282;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.ViewPackage {
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.4s ease all;
}

.Line {
    height: 3px;
    width: 64%;
    display: inline-grid;
    background-color: #00a95b;
    transform: translate(-2%, -2px);
}

.SpecialPackages .item {
    background: url('../../Images/Carousels/SpecialPackages/Package001.png');
    background-size: cover;
    -webkit-perspective: 100px;
    perspective: 100px;
}

.PackagesDetails {
    padding: 20px 30px;
    width: 41%;
    height: 100%;
    background: rgba(0, 169, 91, 0.54);
    opacity: 1;
    position: absolute;
    bottom: 0px;
    left: 50%;
    -webkit-transform-style: preserve-3d;
    -webkit-transform: rotateX(45deg);
    transform-style: preserve-3d;
    transform: rotateX(45deg) translateX(-50%);
    opacity: 0;
    transition: 0.5s ease all;
}

.PackagesDetails h1 {
    color: #fff;
    font-size: 27px;
    font-weight: 400;
}

.PackagesDetails h1 span {
    font-weight: 600;
}

.PackagesDetails ul {
    list-style: none;
    color: #fff;
    padding: 0;
    line-height: 32px;
    font-size: 13px;
    margin-top: 20px;
}

.PackagesDetails .ViewPackage {
    position: absolute;
    display: block;
    width: 82.5%;
    bottom: 20px;
    ;
}

.PackagesDetails .ViewPackage a {
    color: #ffff;
    font-size: 6px;
    transition: 0.5s ease all;
}

.PackagesDetails .Line {
    background-color: #fff;
}

.item:hover .Packages {
    opacity: 0;
}

.item:hover .PackagesDetails {
    opacity: 1;
    width: 100%;
    transform: rotateX(0deg) translateX(-50%);
}

.item:hover .PackagesDetails .ViewPackage a {
    font-size: 13px;
}

.PackagesDetails .ViewPackage a:hover {
    text-decoration: none;
    color: #00a95b;
}

/* ExpertDoctors section strats here */

#ExpertDoctors {
    padding: 80px 0;
    background: #f9faff;
}

.DoctorsCard {
    width: 93%;
    margin: auto;
    background: #fff;
    height: 455px;
    box-shadow: 0 0px 1px rgba(100, 100, 100, 0.27);
    transition: 0.6s ease all;
}

.DoctorImageSection {
    width: 100%;
    height: 44%;
    position: relative;
}

.DoctorImageSection::after {
    content: '';
    position: absolute;
    display: inline-block;
    width: 100%;
    background: url(../../Images/AboutCardImageCommon.png);
    height: 156px;
    background-size: cover;
    bottom: 0;
}

.DocImage {
    width: 100%;
    height: 100%;
    background-size: 100%;
    background-position: center;
    transition: 0.6s ease all;
}

.DocImg1 {
    background-image: url(../../Images/DoctorsSection/Dr.-Farhan-Sarwar.png);
}

.DocImg2 {
    background-image: url(../../Images/DoctorsSection/Dr.-Ahmad-Farooq.png);
}

.DocImg3 {
    background-image: url(../../Images/DoctorsSection/Doctor3.png);
}

.DocImg4 {
    background-image: url(../../Images/DoctorsSection/Dr.-Samina-Usman.png);
}
.DocImg5 {
    background-image: url(../../Images/DoctorsSection/Dr.-Abida-Javaid-Awan.png);
}
.DocImg6 {
    background-image: url(../../Images/DoctorsSection/Dr.-Nadia-Ali.png);
}
.DocImg7 {
    background-image: url(../../Images/DoctorsSection/Dr.-Nadia-Ali.png);
}
.DocImg7 {
    background-image: url(../../Images/DoctorsSection/DrSohail.png);
}
.DocName {
    color: #464646;
    font-size: 16px;
    font-weight: 600;
    margin-top: 40px;
}

.DocDepartment {
    color: #00a95b;
    font-size: 10px;
    letter-spacing: 0.5px;
}

.DocExperience {
    color: #828282;
    font-size: 13px;
    line-height: 40px;
}

.Tags {
    margin-top: 12px;
}

.DocTag {
    font-size: 10px;
    font-weight: 400;
    background: #00a95b;
    color: #fff;
    padding: 5px 11px;
    margin: 5px 0;
}

.ExpertDoctors .owl-stage-outer {
    padding: 15px 0;
}

.DocDetail {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    overflow: hidden;
}

.DocDetail::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    display: block;
    background: rgba(0, 169, 91, 0.54);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    border-radius: 100%;
    transition: 0.6s ease all;
}

.ShowDetails {
    background: #fff;
    color: #00a95b;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 15px;
    transition: 0.4s ease all;
    z-index: 2;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 110%);
    transition: 0.6s ease all;
}

.ShowDetails:hover {
    background: #00a95b;
    color: #fff;
}

.item:hover .DocImage {
    background-size: 140%;
}

.item:hover .DocDetail::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    border-radius: 0
}

.item:hover .ShowDetails {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.item:hover .DoctorsCard {
    border: none;
    box-shadow: 0 0px 10px rgba(100, 100, 100, 0.27);
}

/* testimoial section starts here */

#Testimonial {
    padding: 80px 0;
    background: url('../../Images/TestinonialSectionBg.png');
    background-size: cover;
    background-attachment: fixed;
}

.PatientsComments {
    background: #fff;
    color: #828282;
    padding: 40px 20px;
    border-radius: 10px;
    transition: 0.4s ease all;
}

.PatientsComments p {
    font-size: 12px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.Testimonial .Circle {
    background: #fff;
    color: black;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
    z-index: 99999999;
    position: relative;
    transition: 0.5s ease all;
    box-shadow: 0px 8px 12px 0px #00000057;
    -webkit-box-shadow: 0px 8px 12px 0px #00000057;
    -moz-box-shadow: 0px 8px 12px 0px #00000057;
}

.Circle:hover {
    box-shadow: 0px 8px 12px 0px #00000057, inset 0px 5px 8px 0px #00000057;
    -webkit-box-shadow: 0px 8px 12px 0px #00000057, inset 0px 5px 8px 0px #00000057;
    -moz-box-shadow: 0px 8px 12px 0px #00000057, inset 0px 5px 8px 0px #00000057;
}

.Circle span {
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    font-weight: 900;
    transform: translate(-50%, -50%);
}

.Testimonial .owl-nav {
    width: 100%;
    display: table;
    position: absolute;
    top: 34%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.Testimonial .owl-nav .owl-prev {
    position: absolute;
    left: -30px;
}

.Testimonial .owl-nav .owl-next {
    position: absolute;
    right: -30px;
}

.Testimonial .owl-nav .owl-prev:hover, .Testimonial .owl-nav .owl-next:hover {
    background: none;
}

.Testimonial .center .PatientsComments {
    background: #00a95ac4;
    color: #fff;
}

/* media queries */

@media (max-width: 1570px) and (min-width: 1240px) {
    .mistify__info-container {
        max-width: 38%;
    }
}

@media (max-width: 1240px) {
    .TopSliderDepartments {
        width: 55px;
        height: 55px;
        margin-right: 17px;
    }
}

@media (max-width: 1200px) and (min-width: 992px) {
    .CardImageSection::after {
        height: 159px;
    }
    #MoreDepartments {
        float: none;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .mistify__info-container {
        max-width: 49%;
    }
    .CardImageSection::after {
        height: 130px;
    }
    .AboutCards p {
        padding: 0 15px;
        margin-bottom: 5px;
    }
    .sm_lineheight {
        line-height: 20px !important;
    }
    .DoctorImageSection::after {
        height: 165px;
    }
    .PatientsComments {
        width: 80%;
        margin: auto;
    }
    #Copyright {
        padding: 20px 0;
    }
}

@media (max-width: 767px) and (min-width: 320px) {
    .TopBar {
        height: auto;
    }
    .mistify__info-container {
        max-width: calc(60% - 50px);
        left: 70px;
    }
    .mistify__slide-title, .mistify__info-title {
        font-size: 3.4rem;
    }
    .mistify__dots {
        width: 165px;
    }
    .mistify__dots--active::after, .mistify__dots-container--hover .mistify__dots--hover::after {
        width: 45px;
    }
    .mistify__slide, .mistify_main_background {
        background-size: 80%;
    }
    .mistify__dots-container--hover .mistify__dots--active::after {
        width: 45px;
        background-color: #00a95b;
    }
    .AboutCards {
        width: 320px;
        transform: translateY(0);
        margin-bottom: 30px;
    }
    .NewsContent {
        width: 100%;
    }
    .xs_no_padding {
        padding: 0;
    }
    .PatientsComments {
        width: 320px;
        margin: auto;
    }
}

@media (max-width: 744px) {
    .mistify__info-container {
        max-width: calc(100% - 50px);
        left: 50px;
        top: 360px;
    }
    #Testimonial {
        background-position: center;
    }
}