﻿.hidden {
    line-height: 0;
    text-indent: -9999px;
}
/*# Hero #*/
.hero .featured {
    padding: 40px 60px 21px;
    position: relative;
}

    .hero .featured p {
        margin-top: 0;
        margin-bottom: 22px;
        color: #0fa1af;
        width: calc(100% - 350px);
        font-size: 19px;
        line-height: 28px;
    }

        .hero .featured p.name {
            font-size: 34px;
            color: #333333;
        }

        .hero .featured p.title {
            color: #333333;
            font-size: 12px;
            font-weight: 700;
            margin-bottom: 13px;
        }

    .hero .featured a {
        text-decoration: underline;
    }

    .hero .featured img {
        position: absolute;
        top: 0;
        right: 0;
    }

.hero .slick-dots {
    width: calc(100% - 370px);
    text-align: center;
    position: absolute;
    bottom: 14px;
}

    .hero .slick-dots li {
        display: inline-block;
        margin-right: 6px;
    }

        .hero .slick-dots li button {
            text-indent: -9999px;
            border-radius: 11px;
            height: 10px;
            width: 10px;
            border: 0;
            padding: 0;
            background-color: #b7b7b7;
        }

            .hero .slick-dots li.slick-active button,
            .hero .slick-dots li button:hover,
            .hero .slick-dots li button:focus {
                background-color: #0fa1af;
            }
/*# Main Content #*/
.servicesnew.patienttestimonials .breadcrumbs {
    margin-bottom: 20px;
}

.justify > div{
    display: grid;
    grid-template-columns: repeat(auto-fill, 254px);
    grid-gap: 1rem;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
}

    .justify .testimonial {
        display: inline-block;
        vertical-align: top;
    }

.testimonial .imgpreview h2,
.testimonial .imgpreview p {
    display: none;
}

.testimonial .imgpreview {
    width: 255px;
    height: 255px;
    background-size: cover;
    /*box-shadow: inset 0 0 0 2000px rgba(86,86,90,0.5);*/
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
}

.testimonial:hover .imgpreview,
.testimonial:focus .imgpreview {
    box-shadow: inset 0 0 0 2000px rgba(0,56,103,0.7);
}

    .testimonial:hover .imgpreview h2,
    .testimonial:hover .imgpreview p,
    .testimonial:focus .imgpreview h2,
    .testimonial:focus .imgpreview p {
        display: block;
    }

.main-body .servicesnew.details .testimonial .imgpreview h2 {
    color: #ffffff;
    width: 100%;
    font-size: 28px;
    line-height: 32px;
    color: #ffffff;
    margin-bottom: 20px;
}

.testimonial .imgpreview a {
    color: #0fa1af;
    text-decoration: underline;
    font-size: 21px;
    pointer-events: none;
}

.patienttestimonials.servicesnew.details .footericons {
    padding-bottom: 64px;
}
/*# Testimonial Detail #*/
.testimonial {
    height: 255px;
    transition-property: all;
    transition-duration: .5s;
    transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}

    .testimonial .detail {
        display: none;
        left: 0;
        position: absolute;
        padding: 21px 0;
        transition-property: all;
        transition-duration: .5s;
        transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    }

    .testimonial.active {
        height: 800px;
    }

        .testimonial.active .imgpreview:after {
            content: "";
            background-color: #0fa1ae;
            height: 8px;
            width: 100%;
            position: absolute;
            bottom: -8px;
            left: 0;
        }

        .testimonial.active .detail {
            display: block;
        }

    .testimonial .detail iframe {
        float: left;
        width: 50%;
        margin-right: 15px;
        height: 300px;
    }

.main-body .servicesnew.details .testimonial .detail h3 {
    font-size: 32px;
    letter-spacing: 0;
    word-spacing: 0;
    margin-top: 0;
    line-height: 32px;
    margin-bottom: 25px;
    color: #333333;
}

.main-body .testimonial .detail p {
    font-size: 16px;
    color: #0fa1ae;
    margin-bottom: 23px;
}

    .main-body .testimonial .detail p a {
        color: #333333;
        text-decoration: underline;
        font-size: 12px;
    }

@media (max-width: 900px) {
    .testimonial.active {
        height: 750px;
    }
}

@media (max-width: 768px) {
    .main-body h1.hidden {
        line-height: 0 !important;
    }

    .hero .featured img {
        position: relative;
        width: auto;
        max-width: 100%;
        margin: 0 auto;
        padding-bottom: 20px;
    }

    .servicesnew .hero {
        height: auto;
    }

    .hero .featured {
        padding: 20px;
    }

        .hero .featured p,
        .hero .slick-dots {
            width: 100%;
        }

        .hero .featured a,
        .main-body .testimonial .detail p a {
            display: block;
            width: 100%;
            text-align: center;
            text-decoration: none;
            border: 2px solid #013668;
            font-weight: 700;
            padding: 10px;
            box-sizing: border-box;
            color: #013668;
        }

            .hero .featured a:hover,
            .hero .featured a:focus,
            .main-body .testimonial .detail p a:hover,
            .main-body .testimonial .detail p a:focus {
                background-color: #013668;
                color: #ffffff;
            }

    .justify {
        justify-content: space-around;
    }

    .testimonial .detail iframe {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .testimonial.active {
        height: 950px;
    }
}

@media (max-width: 600px) {
    .justify {
        display: block;
    }

        .justify .testimonial {
            display: inline-block;
            margin: 0 2.5% 2.5% 2.5%;
            width: 45%;
        }

            .justify .testimonial .imgpreview {
                background-position: center;
                padding: 0;
            }

    .testimonial.active {
        height: 1100px;
    }
}

/*# Featured Testimonial Article #*/
.main-body .featuredarticle h1 {
    margin-left: 8px;
    margin-right: 8px;
}

.featuredarticle {
    margin-top: 40px;
    margin-bottom: 60px;
}

    .featuredarticle .featured img {
        float: right;
        margin-left: 10px;
        margin-bottom: 10px;
    }

    .featuredarticle .featured p,
    .featuredarticle .featured ul,
    .featuredarticle .featured ol {
        color: #333333;
        line-height: 26px;
        font-size: 15px;
        margin-bottom: 25px;
    }

    .featuredarticle p.intro {
        margin-top: 0;
        margin-bottom: 22px;
        color: #0fa1af;
        width: calc(100% - 350px);
        font-size: 19px;
        line-height: 28px;
    }

    .featuredarticle .featured p.name {
        font-size: 34px;
        color: #333333;
        margin-top: 0;
        margin-bottom: 22px;
        line-height: 28px;
    }

    .featuredarticle .featured p.title {
        color: #333333;
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 13px;
        line-height: 28px;
    }

@media (max-width: 650px) {
    .featuredarticle .featured img {
        float: none;
        margin: 0 auto 15px;
        display: block;
        max-width: 100%;
    }

    .featuredarticle p.intro {
        width: 100%;
    }

    .main-body .featuredarticle h1 {
        margin-left: 20px;
        margin-right: 20px;
    }
}

/*# Doctors List #*/
.doctorslist .testimonial.active .detail img {
    float: left;
    padding-right: 20px;
    padding-bottom: 20px;
}

.testimonial.active .detail h4 {
    font-size: 20px;
    margin-bottom: 0;
    margin-top: 0;
}

@media (max-width: 650px) {
    .doctorslist .testimonial.active .detail img {
        display: none;
    }
}
