ul.wi-container {
    margin: 0 auto;
    position: relative;
    padding: 0;
    list-style-type: none;
    -webkit-perspective: 1400px;
    -moz-perspective: 1400px;
    -ms-perspective: 1400px;
    -o-perspective: 1400px;
    perspective: 1400px;
}

ul.wi-container li {
    width: 100%;
    height: 100%;
    display: none;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: auto;
}

ul.wi-container li.wi-move {
    pointer-events: none;
    -webkit-transition: -webkit-transform 600ms ease, opacity 600ms ease, left 600ms ease, top 600ms ease;
    -moz-transition: -moz-transform 600ms ease, opacity 600ms ease, left 600ms ease, top 600ms ease;
    -o-transition: -o-transform 600ms ease, opacity 600ms ease, left 600ms ease, top 600ms ease;
    -ms-transition: -ms-transform 600ms ease, opacity 600ms ease, left 600ms ease, top 600ms ease;
    transition: transform 600ms ease, opacity 600ms ease, left 600ms ease, top 600ms ease;
}

.clinic-pod {
    width: 100%;
    margin: 45px auto 0;
    display: block;
}

.clinic-pod + .shadow {
    margin-bottom: 35px;
}

.clinic-pod ul.wi-container {
    width: 100%;
    height: 270px;
}

.clinic-pod ul.wi-container li {
    background: #f4f4f4;
    padding: 30px 15px 0;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.clinic-pod-btn {
    position: absolute;
    bottom: 30px;
    width: 100%;
    margin-left: -15px;
}

.clinic-pod-btn > div {
    margin-top: 10px;
    font-size: 14px;
}

.clinic-pod ul.wi-container li.wi-front {
    background-color: #f4f4f4;
    background-image: url("../img/fold.png");
    background-position: right bottom;
    background-repeat: no-repeat;
}

.clinic-pod ul.wi-container li.wi-back {
    background-image: url("../img/pattern-green.jpg");
    color: white;
}

.clinic-pod ul.wi-container li.wi-back h3 {
    color: white;
}

.clinic-pod .wi-front .the-title {
    color: #313131;
    margin-bottom: 5px;
}

.clinic-pod-phone {
    font-size: 17px;
    color: #5d5d5d;
    margin-bottom: 20px;
}

.clinic-pod-address {
    font-size: 15px;
    color: #5d5d5d;
    margin-bottom: 4px;
    line-height: 16px;
}

.treatment-pod {
    display: block;
}

.clinic-pod-excerpt {
    color: white;
}

.treatment-pod .wi-container {
    height: 430px;
    width: 100%;
}

.treatment-pod .wi-front {
    background: url("../img/fold.png") no-repeat bottom right white;
}

.treatment-pod-title-outer {
    line-height: 108px;
    margin-top: 8px;
    padding: 0 30px;
}

.treatment-pod-title {
    font-size: 23px;
    color: #313131;
    line-height: normal;
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    margin: 0;
}

.treatment-pod-image {
    background-size: cover;
    background-position: 75% center;
    height: 180px;
    position: relative;
}

.treatment-pod-image:after {
    background: url("../img/tree-cyrcle.png") bottom right no-repeat;
    background-size: contain;
    content: ' ';
    width: 33px;
    height: 33px;
    bottom: 9px;
    position: absolute;
    right: 20px;
    opacity: 0.5;
}

.treatment-pod-text {
    color: #5d5d5d;
    line-height: 26px;
    margin: 21px 30px 10px;
}

.treatment-pod .wi-back {
    text-align: center;
    color: white;
}

.treatment-pod-back {
    border: 1px solid white;
    margin: 13px 10px;
    padding: 20px;
    position: relative;
    line-height: 362px;
}

.treatment-pod-back-inner {
    line-height: normal;
    display: inline-block;
    vertical-align: middle;
    width: 100%;
}

.treatment-pod-footer {
    position: absolute;
    bottom: 10px;
    line-height: normal;
}

.treatment-pod-back-title, .wi-title {
    font-size: 40px;
    color: white;
    border-top: 3px solid white;
    border-bottom: 3px solid white;
    line-height: 58px;
    margin: 20px auto;
}

.treatment-pod-subtitle {
    font-size: 26px;
}

.category-pod .treatment-pod .wi-front, .background-tree .treatment-pod .wi-front {
    background-color: #f4f4f4;
}

.category-pod .treatment-pod-title-outer {
    margin-top: 0;
    line-height: 100px;
}

.category-pod .treatment-pod-image {
    height: 140px;
}

.category-pod .treatment-pod-text {
    margin: 20px 23px;
}

.category-pod .treatment-pod .wi-container {
    height: 385px;
}

.category-pod .tp-apr {
    display: block;
}

.category-pod .tp-dash {
    display: none;
}

.category-pod .treatment-pod-back-title {
    font-size: 28px;
}

.category-pod .treatment-pod-subtitle {
    font-size: 20px;
}

.category-pod .treatment-pod-footer {
    font-size: 12px;
    width: 100%;
    margin-left: -20px;
}

.category-pod .treatment-pod-back {
    line-height: 320px;
}

.clinic-home-pod {
    display: block;
    text-align: center;
}

.clinic-home-pod-address {
    line-height: 20px;
    margin-bottom: 25px;
}

.clinic-home-pod .wi-container {
    height: 230px;
}

.clinic-home-pod .wi-front {
    background: url("../img/fold.png") bottom right no-repeat #f4f4f4;
}

.clinic-home-pod .wi-back {
    color: white;
}

.clinic-home-pod-subtitle {
    margin: 20px 0 0;
    color: #5d5d5d;
    font-size: 14px;
}

.wi-back .mega-menu-clinic-title {
    padding-bottom: 14px;
}

p.mega-menu-clinic-address {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding-top: 10px;
    font-size: 17px;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.1);
}

.clinic-home-pod-title {
    color: #4c4c4c;
    font-size: 28px;
    margin: 0 0 10px;
}

.clinic-home-pod hr {
    border-top: 1px solid #fcfcfc;
    border-bottom: 1px solid #dedede;
    padding: 0;
    margin: 15px 0;
}

.clinic-home-pod-phone {
    color: #5d5d5d;
    font-size: 20px;
    margin-bottom: 16px;
}

.wi-back .clinic-home-pod-title, .wi-back .clinic-home-pod-subtitle {
    color: white;
}

.wi-images-landscape {
    height: 185px;
}

.wi-back-landscape-inner {
    height: 185px;
    overflow: hidden;
}

.wi-images-landscape .wi-back {
    height: 185px;
}

.wi-back-portrait-inner {
    overflow: hidden;
}

.wi-images {
    text-align: center;
}
.wi-images .wi-front .images-landscape, .wi-images .wi-front .images-portrait {
    position: relative;
}

.wi-images .wi-front .images-landscape:after, .wi-images .wi-front .images-portrait:after {
    content: ' ';
    background: url("../img/fold.png") bottom right no-repeat;
    display: block;
    height: 92px;
    width: 93px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.wi-images .wi-back .wi-inner {
    border: 1px solid white;
    margin: 13px 10px;
    padding: 20px;
    position: relative;
}

.wi-images-portrait .wi-back .wi-inner {
    line-height: 327px;
}

.wi-images-landscape .wi-back .wi-inner {
    line-height: 138px;
    padding: 10px 20px;
}

.wi-inner-caption {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    color: white;
    line-height: normal;
}

.wi-title {
    font-size: 21px;
    margin-top: 0;
    line-height: 25px !important;
    padding: 13px 0 !important;;
}


.wi-images-landscape .wi-title {
    font-size: 21px;
    margin-top: 0;
    line-height: 22px !important;
    padding: 3px 0 !important;
    min-height: 57px;
    position: relative;
}
.wi-images-landscape .wi-title div {
    position: absolute;
    top: 50%;
    width: 100%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.wi-inner-caption p {
    margin: 0;
    line-height: normal;
}

.clinics-pod {
    display: block;
    text-align: center;
    max-width: 555px;
    margin: 0 auto;
}

.clinics-pod ul.wi-container {
    height: 570px;
}

.clinics-pod .wi-front {
    background: url('../img/fold.png') bottom right no-repeat white;
    height: 570px;
}

.clinics-pod + .shadow {
    margin-bottom: 13px;
}

.clinics-pod-title {
    font-size: 32px;
    color: #313131;
    margin: 30px 0 5px;
}

.clinics-pod-address {
    color: #5d5d5d;
    margin-bottom: 5px;
}

.clinics-pod-phone {
    font-size: 22px;
    margin-bottom: 25px;
}

.clinics-pod-image {
    height: 235px;
    background-position: center;
    background-size: cover;
    margin-bottom: 15px;
}

.clinics-pod-archive {
    font-size: 16px;
    line-height: 26px;
    padding: 0 30px;
    color: #5d5d5d;
}

.clinics-pod-btn {
    text-align: center;
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    margin: 0;
}

.clinics-pod-back {
    border: 1px solid white;
    margin: 10px;
    padding: 20px;
    min-height: 550px;
}

.clinics-pod-back .clinics-pod-title {
    color: white;
    margin-top: 10px;
}

.clinics-pod-back .clinics-pod-phone, .clinics-pod-back .clinics-pod-address {
    color: white;
    font-size: 17px;
    margin: 0;
}

.clinics-pod-opening-times {
    color: white;
}

.clinics-pod-opening-times .the-title {
    border-top: 3px solid white;
    border-bottom: 3px solid white;
    max-width: 250px;
    color: white;
    font-size: 30px;
    line-height: 52px;
    margin: 30px auto 10px;
}

.clinics-pod-opening-times .open-time {
    max-width: 380px;
    margin: 0 auto;
    line-height: 35px;
    font-size: 17px;
    text-align: right;
}

.clinics-pod-opening-times .open-time + .open-time {
    border-top: 1px solid white;
}

.clinics-pod-opening-times .open-time span:first-child {
    text-align: left;
    float: left;
}

.before-and-after .wi-container, .before-and-after img {
    height: 194px;
    width: 100%;
    object-fit: cover;
}

.alt-treatment {
    display: block;
    margin: 0 auto;
    text-align: center;
    max-width: 350px;
    height: 310px;
}

.alt-treatment .wi-front {
    background: white;
}

.alt-treatment, .alt-treatment .wi-front, .alt-treatment .wi-back {
    height: 310px;
    overflow: hidden;
}

.alt-treatment-outer {
    line-height: 105px;
}

.alt-treatment-outer-gray .wi-front .alt-treatment-outer {
    background: #f4f4f4;
}

.alt-treatment-caption {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    line-height: normal;
}

.alt-treatment-title {
    color: #313131;
    padding: 0 30px;
    line-height: 38px;
    font-size: 28px;

}

.alt-treatment-image {
    background-size: cover;
    background-position: 75% center;
    height: 205px;
    position: relative;
}

.alt-treatment-image:after {
    content: ' ';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 92px;
    height: 91px;
    background: url(../img/fold.png) bottom right no-repeat;
}

.wi-back .alt-treatment-title {
    color: white;
}

.alt-treatment-excerpt {
    color: white;
    padding: 20px 0 0;
    margin: 0 30px 0;
    border-top: 2px solid white;
}

.alt-treatment .wi-back {
    position: relative;
}

.alt-treatment .alt-treatment-btn {
    position: absolute;
    bottom: 40px;
    width: 100%;
}

.mega-menu-clinic {
    border: 1px solid #7b8f3b;
    text-align: center;
    white-space: normal;
}

.mega-menu-clinic .wi-front .mega-menu-clinic-caption {
    background: #f4f4f4;
    text-align: center;
    padding: 17px 0;
}

.mega-menu-clinic-image {
    background-size: cover;
    background-position: center;
    height: 135px;
    position: relative;
}

.mega-menu-clinic-image:after {
    content: ' ';
    background: url("../img/fold.png");
    width: 92px;
    height: 91px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.mega-menu-clinic ul.wi-container {
    height: 223px;
}

.mega-menu-clinic-subtitle {
    margin: 0;
    color: #666666;
    font-size: 16px;
}

.mega-menu-clinic-title {
    margin: 0;
    color: #4c4c4c;
    font-size: 27px;
}

.wi-back .mega-menu-clinic-title, .mega-menu-clinic-address, .mega-menu-clinic-phone {
    color: white;
}

.mega-menu-clinic-phone {
    font-weight: bold;
    font-size: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding-top: 10px;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1199px) {
    .treatment-pod .wi-container {
        height: 520px;
    }
}

@media (max-width: 767px) {
    .alt-treatment-title {
        font-size: 22px;
        line-height: normal;
    }
}