/**********  Photo Gallery ******************************/
.adult-check{
    display: none
}
.adult-check-container{
    max-width: 650px;
    margin-left: auto;
    margin-right: auto
}
.adult-check-description{
    line-height: 2.15
}
.adult-check-buttons a{
    display: inline-block;
    margin: 10px
}
.adult-check-buttons a {
    line-height: 65px;
    width: 125px;
    text-align: center;
    border-radius: 50px;
    text-transform: uppercase;
    color: #FFF
}
.adult-check-yes{
    background-color: #ff8580;
}
.adult-check-no{
    background-color: #a6a6a6;
}
.adult-check-buttons a:hover{
    box-shadow: inset 0 0 5px rgba(0,0,0,0.45)
}
.photo-gallery-categories{
    display: none
}
.photo-gallery-parents {
    padding-left: 360px; 
    position: relative;
}
.photo-category-thumbnail {
    width: 315px;
    height: 550px;
    max-width: 100%;
    background-position: center top;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    z-index: 1;
    pointer-events: none
}
.photo-category-line-one, .photo-category-line-two, .photo-category-line-three {
    position: absolute;
}
.photo-category-line-one {
    right: 15px;
    top: 15px;
    border-width: 1px 1px 0 0;
    border-style: solid;
    border-color: #FFF;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
}
.photo-category-line-two{
    position: absolute;
    left: 15px;
    height: calc(100% - 75px);
    top: 15px;
    width: 1px;
    background-color: #FFF
}
.photo-category-line-three{
    position: absolute;
    right: 15px;
    width: calc(100% - 75px);
    bottom: 15px;
    height: 1px;
    background-color: #FFF
}
.photo-gallery-parent-category,  .categories-card .card-body{
    position: static;
    margin-left: 360px
}
.photo-gallery-down-arrow{
    width: 22px;
    height: 22px
}
.photo-gallery-down-arrow img, .photo-gallery-down-arrow svg{
    width: 100%;
    height: 100%
}
.categories-tabs{
    position: relative;
    min-height: 550px
}
.photo-gallery-parent-category {
    border: 1px solid #e0e0e0;
    color: #000;
    margin-bottom: 0;
}
.photo-gallery-parent-category-inner {
    padding: 15px 60px 15px 30px;
    position: relative;
}
.categories-card .categories-title {
    background-color: #FFF;
    width: 100%;
    display: block;
    position: static;
    text-transform: uppercase;
    font-weight: bold;
    color: #404041;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    line-height: 1.1
}
.categories-card .card-body {
    background-color: #FFF;
    color: #000;
    display: block;
    box-shadow: 0 3px 9px 2px rgba(0, 0, 0, 0.1);
}
div[aria-expanded="true"]{
    pointer-events: none
}
div[aria-expanded="true"] .photo-category-thumbnail{
    opacity: 1
}
.photo-gallery-down-arrow {
    width: 22px;
    height: 22px;
    position: absolute;
    right: 20px;
}
.photo-gallery-down-arrow svg path{
    fill: #dddddd
}
div[aria-expanded="true"]  .photo-gallery-down-arrow svg path{
    fill: #FFFFFF
}
.photo-gallery-child-category {
    position: relative;
    padding-left: 40px;
}
.photo-gallery-child-category a{
    color: #000;
    transition: all ease 0.45s;
    display: inline-block
}
.photo-gallery-child-category a:hover{
    color: #2b357a;
}
.photo-gallery-child-category:before {
    content: "";
    width: 20px;
    height: 3px;
    background-color: #ff8580;
    position: absolute;
    left: 0;
    top: 14px;
}
.photo-gallery-case{
    font-size: 24px;
    line-height: 1.15;
    margin-bottom: 10px
}
.patient-counter{
    font-size: 40px;
    line-height: 1.15;
    font-weight: bold;
    margin-bottom: 5px
}
.featured-gallery-holder {
    height: 470px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.click-for-gallery {
    color: #FFF;
    background-color: #B7B8BA;
    padding: 25px 20px;
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 1.14;
}

.click-for-gallery:hover{
    background-color: #36abbb
}

.click-for-gallery a{
    display: block;
    color: #FFF
}

.photo-gallery-before {
    text-align: center;
    padding: 15px;
    font-size: 20px;
    line-height: 1.5;
}

.photo-gallery-before, .photo-gallery-after{
    text-align: center;
    padding: 15px;
    font-size: 20px;
    line-height: 1.5; 
    background: #f1f1f1;
}

.photo-gallery-before {
    position: relative;
}

.photo-gallery-before:after{
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 1%, rgba(0,0,0,0.15) 48%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 1%,rgba(0,0,0,0.15) 48%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 1%,rgba(0,0,0,0.15) 48%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}

.gallery-common-content {
    line-height: 1.15;
    border-top: 1px solid #ccc;
    padding-top: 25px;
}

.photo-gallery-category-post > div{
    position: relative
} 
.photo-gallery-category-post > div:last-child{
    padding-bottom: 0
}


.photo-gallery-category-post > div:not(:first-child):before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: -moz-linear-gradient(left,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 50%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 50%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 */

}

.gallery-before-after-section{
    margin-top: 35px;
    margin-bottom: 50px
}

.gallery-slide-single-outer{
    background-color: #eee
}

.slider-for-main .row, .slider-nav-main  .row{
    justify-content: center
}

.slider-for-main {
    pointer-events: none;
}

.gallery-slide-large{
    height: 550px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat
}

.gallery-slide-before-large{
    margin-right:0px
}

.gallery-slide-after-large{
    margin-left: 0px
}

.have-only-single-image .photo-gallery-after{
    border: 1px solid #ccc;
    border-bottom: none
}

.have-only-single-image .gallery-slide-after-large{
    margin-left: 0
}
.have-only-single-image .gallery-slide-before-large{
    margin-right: 0
}
.mt2{
    margin-top: 30px
}
.photo-gallery-detail-heading{
    margin-bottom: 35px 
}
.gallery-slide-thumb {
    height: 120px;
    background-position: center;
    background-size: cover;
    margin: 5px;
    cursor: pointer
}
.slider-nav-main .slick-current{
    background-color: #6eb7c2;   
}
.counter-thumbnail {
    text-align: center;;
    padding-left: 10px;
    padding-right: 10px
}
.slick-current .counter-thumbnail{
    color: #FFF
}

.photo-gallery-next-prev {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #ccc;
    padding-top: 25px;
}
.detail-patient-info-outer, .detail-procedure-info-outer {
    background-color: #eee;
    padding: 30px;
    outline: 1px solid #ccc;
    border: 5px solid #FFF;
}
ul.detail-patient-info li,  ul.detail-procedure-info li{
    display: flex;
    padding-top: 8px;
    padding-bottom: 8px;
    word-break: break-all;
    font-size: 15px;
}
ul.detail-patient-info li+li, ul.detail-procedure-info li+li {
    border-top: 1px solid rgba(0,0,0,0.1);
}
.detail-patient-info-left {
    width: 65%;
    padding-right: 30px
}
.detail-patient-info-right{
    width: 40%
}
.detail-procedure-info-left {
    width: 60%;
    padding-right: 20px;
}
.detail-procedure-info-right{
    width: 35%;
    word-break: break-word
}
.elm-wrapper {
    margin-top: 0;
    margin-bottom: 2.5em
}
.thumb_size {
    height: 250px;
    width: 100%;
    background-size: cover;    background-position: center;
}
.featured-gallery-holder-wrap { 
    height: 485px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;

}
.gallery-image-wrap{
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
     height: 212px;
}
.phototitle {
    padding: 10px 15px;
    font-size: 25px;
}
.photo-gallery-category-box-outer {
    height: 100%;
    /*box-shadow: 0 0 33px -11px rgba(0,0,0,.3);*/
    padding-bottom: 25px;
} 
.photo-gallery-category-box {
    text-align: center;
    padding-bottom: 15px;
    position: relative;
}
.child-category-links a {
    display: block;
    padding: 8px 15px;
    line-height: 1;
    color: #2B2B2B;
    text-align: center;
    font-size: 20px;
    transition: .5s;
}
.child-category-links a:hover {
    color: #752124;
}
.photo-gallery-category-name {
    line-height: 106%;
    letter-spacing: .03em;
    color: #002932;
    font-weight: 300;
    text-transform: capitalize;
    margin-bottom: 15px;
    padding-top: 25px;
}
.photo-gallery-category-box:after {
    content: "";
    width: 80%;
    background-color: #EBEBEB;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    margin: 0 auto; 
    display: block;
}
.before-text {
    color: #9CAF88;
    background: #F5F7F3;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px;
    display: inline-block;
    line-height: 100%;
    margin-top: 30px;
    margin-bottom: 5px;
}
.photo_gallery_box {
    text-align: center;
}


@media(min-width:768px){
    div[aria-expanded="true"] .photo-gallery-parent-category{
        background-color: #ff8580;
        color: #FFF;
        border: 1px solid #ff8580;
    }
}

@media(min-width:1025px){
    .photo-gallery-child-category a:hover{
        transform: translateX(10px)
    } 
}
@media(min-width:1300px){
.single-photo-gallery-section .container, .photo-gallery-category-home .container{
    max-width: 1260px;
}
}
@media(max-width:1699px){
    .gallery-slide-large {
        height: 450px;
    }
}


@media(max-width:1399px){
  
    .patient-counter {
        font-size: 34px;
    }
    .photo-gallery-case {
        font-size: 22px;
    }
.featured-gallery-holder-wrap { 
    height: 436px;

}
}
@media(max-width:1199px){
    .featured-gallery-holder { 
        height: 175px; 
    } 

}
@media(max-width:991px){
    .click-for-gallery{
        font-size: 18px
    } 
    .patient-counter {
        font-size: 30px;
    }
    .photo-gallery-case {
        font-size: 20px;
    }
    .gallery-slide-large {
        height: 370px;
    }
.featured-gallery-holder {
    height: 180px;
}
.child-category-links a {
    padding: 10px;
    font-size: 16px;
}
.loop-item {
    padding: 25px;
    margin-bottom: 25px;
}

}


@media(max-width:767px){
    .photo-gallery-parent-category, .categories-card .card-body{
        margin-left: 0
    }  
    .categories-tabs .collapse {
        display:block!important;
    }
    .photo-category-thumbnail {
        position: static;
        margin: auto;
        max-width: 100%;
        opacity: 1;
        height: 370px;
    }
    .photo-gallery-parent-category{
        border-bottom: none
    }
    .photo-gallery-parent-category-inner {
        padding: 15px;
        text-align: center;
    }
    .photo-gallery-down-arrow, .photo-category-line-one, .photo-category-line-two, .photo-category-line-three{
        display: none
    }
    .categories-card .categories-title{
        pointer-events: none
    }
    .photo-gallery-category-post > div {
        padding-top: 2rem;
        padding-bottom: 2rem;
    } 
    .btn-blue {
        white-space: normal;
    } 
   
    .gallery-slide-large {
        height: 275px;
    }

    .gallery-before-after-section {
        margin-bottom: 80px;
    }

    .gallery-before-after-section .slick-arrow {
        position: absolute;
        bottom: -75px;
        left: 0;
        right: 0;
        margin: auto;
        width: 50px;
        height: 50px;
        cursor: pointer;
    }

    .gallery-before-after-section .slick-arrow svg {
        width: 35px;
        height: 35px;
    }

    .gallery-before-after-section .slick-arrow svg path{
        fill: #ff8580;
    }
    .gallery-before-after-section .slick-arrow.nextArrow {
        left: 80px;
    }

    .gallery-before-after-section .slick-arrow.prevArrow{
        right: 80px;
    }
    .photo-gallery-next-prev{
        justify-content: center;
    }
    .photo-gallery-next-prev > div {
        padding: 0px 10px;
    }
    .featured-gallery-holder-wrap {
    height: 285px;
}
.information span {
    margin-right: 5px;
}
.loop-item {
    padding: 15px;
    margin-bottom: 15px;
}
.loop-item .gallery-content {
    padding: 20px 0px;
}

}
@media(max-width:575px){
.featured-gallery-holder { 
    height: 308px;
}
}
@media(max-width:479px){
    .adult-check-buttons a { 
        line-height: 50px; 
        width: 105px;
    }
    .featured-gallery-holder {
        height:200px;
    }
    .click-for-gallery {
        font-size: 16px;
        padding: 15px;
    }
    .btn{
        display: inline-block;
        padding: 10px 20px;
        width: auto;
        min-width: 155px;
    }
    .gallery-slide-thumb {
        height: 85px;
    }
    .detail-patient-info-outer, .detail-procedure-info-outer {
        padding: 10px;
    }
    .detail-procedure-info-left {
        width: 60%;
        padding-right: 20px;
    }

    .gallery-slide-large {
        height: 150px;
    }
    .thumb-block img {
    height:115px;
}

}

@media(max-width:375px){
    .gallery-slide-large {
        height: 180px;
    }
    .gallery-slide-thumb {
        height: 70px;
    }   
}


/********************Special and Event***********************/
.compress-container{
    width: 1080px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%
}

.special-sale {
    border: 15px solid #FFF;
    box-shadow: 0 0 12px 4px rgba(0,0,0,0.1);
}

.photo-gallery-category-post .btn-blue:hover, .photo-gallery-next-prev .btn:hover, single-post-category-button:hover {
    color: #000;
}
.patient_meta .patient_content {  
    font-weight: 700; 
}
.patient_meta {
    font-size: 20px;  
}
