/**********  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 {
    padding-bottom: 66.75%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #1d2327;
}

.click-for-gallery {
    color: #FFF;
    background-color: #4ec6d6;
    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-color: #eee;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat
}

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

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

.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
}

@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;
    }

}

@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;
    }

}


@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
    }

    .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;
    }
}

@media(max-width:479px) {
    .adult-check-buttons a {
        line-height: 50px;
        width: 105px;
    }

    .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: 135px;
    }



}

@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;
}


/**** 07-02-2023 ******/
.gallery-thumb {
    position: relative;
    background-color: #f1f1f1;
}

.gallery-thumb-outer {
    position: relative;
    padding-bottom: 66.5%;
}

.gallery-thumb-outer img {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    object-fit: contain;
    height: 100%;
    display: none;
    transition: all ease 8s;
}

.gallery-thumb-outer:hover img {
    transform: scale(1.2);
}

.fancybox__counter {
    display: none
}

.gallery-thumb-outer a+a {
    display: none
}

.gallery-thumb-outer+.gallery-thumb-outer a:after {
    content: none !important
}

.body-fancybox-dots .carousel__track {
    transform: none !important;
    justify-content: center;
}

.body-fancybox-dots .fancybox__thumbs .carousel__slide {
    width: 11px;
    height: 11px;
    background: transparent;
    border-radius: 50%;
    padding: 0;
    border: 2px solid #58c6d5;
    margin: 5px;
}

.body-fancybox-dots .fancybox__thumbs {
    margin-bottom: 15px
}

.body-fancybox-dots .fancybox__thumb {
    display: none
}

.body-fancybox-dots .is-nav-selected {
    background-color: #58c6d5 !important
}

.body-fancybox-dots .fancybox__toolbar__items--right>button:not(.fancybox__button--close) {
    display: none
}

.fancybox__container {
    z-index: 999999999999 !important
}

span.gallery-icon {
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    right: 24px;
    top: 18px;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.5));
}

span.gallery-icon svg,
span.gallery-icon img {
    width: 20px;
    height: 20px;
}

/*
.gallery-thumb.has_more_gallery_items a:not(.video-first-phase):after{
    content: "";
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    background: url(../img/svgs/gallery.svg) no-repeat center;
    width: 1.75rem;
    height: 1.75rem;
    background-size: 1.5rem 1.5rem;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.5))
}*/
.video-first-phase:after {
    content: "";
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    background: url(../img/video-play.svg) no-repeat center;
    width: 2.25rem;
    height: 2.25rem;
    background-size: 2.25rem 2.25rem;
}

.selfies-thumb a:after {
    content: "";
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    background: rgba(0, 0, 0, 0.45) url(../img/svgs/gallery.svg) no-repeat center;
    width: 1.75rem;
    height: 1.75rem;
    background-size: 1.5rem 1.5rem;
}

.link-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 0;
    height: 100%;
    z-index: 2;
}

.style-slide-1 .slick-prev,
.style-slide-1 .slick-next {
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin: 5px;
    background-color: #000;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none
}

.style-slide-1 .slick-prev,
.style-slide-1 .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    z-index: 1
}

.style-slide-1 .slick-prev {
    left: -40px;
}

.style-slide-1 .slick-next {
    right: -40px;
}

.style-slide-1 .slick-prev:before,
.style-slide-1 .slick-next:before {
    content: "";
    width: 15px;
    height: 15px;
    display: block;
    border-color: #FFF;
    border-style: solid;
}

.style-slide-1 .slick-next:before {
    transform: rotate(135deg);
    margin-right: 4px;
    border-width: 2px 0 0 2px;
}

.style-slide-1 .slick-prev:before {
    transform: rotate(-45deg);
    margin-left: 4px;
    border-width: 2px 0 0 2px;
}

.slick-disabled {
    background-color: #d1d1d1 !important;
    outline: none;
    pointer-events: none;
}

.gallery-iframe-holder {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background: #000
}

.gallery-thumb-bg {
    background: #f1f1f1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-position: center top;
    background-size: cover;
    z-index: 1;
}

/*.gallery-thumb-item {
    width: 100%;
    padding-bottom: 56.24%;
    position: relative;
    overflow: hidden;
}*/
.gallery-thumb-outer {
    position: relative;
    padding-bottom: 66.5%;
    z-index: 5;
    overflow: hidden;
}

.gallery-thumb-outer a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0
}

.gallery-thumb-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-iframe-holder iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.gallery-thumb-item video,
.gallery-thumb-item iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.gallery-thumb-item video {
    object-fit: contain
}

.gallery-thumb:hover .gallery-thumb-bg img {
    transform: scale(1.2);
}

.gallery-thumb-bg {
    overflow: hidden;
}

.gallery-thumb-bg img {
    transition: 8s;
}

@media(max-width:1399px) {
    .photo-gallery-category-home {
        padding-left: 40px;
        padding-right: 40px
    }
}

@media(max-width:767px) {
    .mobile-view-slider .slick-slide.item.video {
        height: 360px;
    }
}

@media(max-width:479px) {
    .mobile-view-slider .slick-slide.item.video {
        height: 270px;
    }

    .photo-gallery-category-home {
        padding-left: 0;
        padding-right: 0;
    }

    .style-slide-1 .slick-prev {
        left: 0;
    }

    .style-slide-1 .slick-next {
        right: 0;
    }

    .style-slide-1 .slick-prev,
    .style-slide-1 .slick-next {
        width: 30px;
        height: 30px;
    }
}


.mobile-view-slider {
    /*    overflow: hidden*/
}

.main-slider {
    position: relative;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s ease;
}

.mobile-view-slider {
    /* width: 360px; */
    margin: auto;
}

/* .main-slider,
.mobile-view-slider .slick-slide {
    height: 360px;
} */

.main-slider.slick-initialized {
    opacity: 1;
    visibility: visible;
}

.mobile-view-slider .slick-slide {
    position: relative;
    /* background-color: #eee */
}

.mobile-view-slider .slick-slide::before {
    background-color: #000;
    opacity: 0.3;
    z-index: 1;
}

.mobile-view-slider .slick-slide video {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    left: 0;
    top: 0;
    transition: all ease 1s
}

.mobile-view-slider .slick-slide iframe {
    position: relative;
    pointer-events: none;
}

.mobile-view-slider .slick-slide figure {
    position: relative;
    height: 100%;
}

.mobile-view-slider .slick-slide .slide-image {
    opacity: 0;
    height: 100%;
    background-size: contain;
    background-color: #eee;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.8s ease;
}

.mobile-view-slider .slick-slide .slide-image img {
    transition: all ease 1s
}

.mobile-view-slider .slick-slide .slide-image.show {
    opacity: 1;
}

.mobile-view-slider .slick-slide .image-entity {
    width: 100%;
    /* opacity: 0;
  visibility: hidden; */
}

.mobile-view-slider .slick-slide .loading {
    position: absolute;
    top: 44%;
    left: 0;
    width: 100%;
}

.mobile-view-slider .slick-slide.slick-active {
    z-index: 1;
}


.mobile-view-slider .slick-dots {
    text-align: center;
    padding-top: 15px;
}

.only-one-item+.slick-dots {
    display: none !important
}

.mobile-view-slider ul.slick-dots li button {
    display: block
}

.mobile-view-slider .slick-dots li {
    display: inline-block;
    vertical-align: top;
    margin: 0 8px;
}

.mobile-view-slider .slick-dots li button {
    width: 16px;
    height: 16px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #4ec6d6;
    box-shadow: 0 0 0 0 transparent;
    vertical-align: middle;
    color: red;
    background-color: #4ec6d6;
    transition: all 0.3s ease;
    opacity: 0.4;
}

.mobile-view-slider .slick-dots li button:focus {
    outline: none;
}

.mobile-view-slider .slick-dots li button:hover {
    opacity: 1;
}

.mobile-view-slider .slick-dots li.slick-active button {
    border-color: #3da7b5;
    box-shadow: 0 0 0 2px #fff;
    opacity: 1;
}

.main-slide-video,
.main-slide-img {
    padding-bottom: 56.24%;
    position: relative;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden
}

.main-slide-video video,
.main-slide-img img {
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    top: 0;
    object-fit: cover
}

.main-slide-img img {}

.direct-gallery-view.gallery-thumb-outer img {
    display: block
}

@-webkit-keyframes slideIn {
    from {
        filter: blur(15px);
    }

    to {
        filter: blur(0);
    }
}

@keyframes slideIn {
    from {
        filter: blur(15px);
    }

    to {
        filter: blur(0);
    }
}

@-webkit-keyframes slideOut {
    from {
        filter: blur(0);
    }

    to {
        filter: blur(15px);
    }
}

@keyframes slideOut {
    from {
        filter: blur(0);
    }

    to {
        filter: blur(15px);
    }
}

@media(max-width:599px) {

    /* .main-slider,
    .mobile-view-slider .slick-slide {
        height: 250px;
    } */
}

@media(max-width:399px) {
    .mobile-view-slider {
        /* width: 290px; */
        margin: auto;
    }

    /* .main-slider,
    .mobile-view-slider .slick-slide {
        height: 165px;
    } */
}