/*------------------------------------*\
    HOMEPAGE STYLE
\*------------------------------------*/
.fold {
    /* margin-bottom: 15px; */
    background: #fff;
    position: relative;
    padding: 15px 0;
}
.fold .title {
    font-size: 24px;
    line-height: 1;
    margin: 0;
    margin-bottom: 10px;
}

.hero {
    padding-top: 80px;
    margin-bottom: 0;
    overflow-x: hidden;
    padding-bottom: 0;
}
.hero-bg {
    background-image: url(../img/home/hero.jpg);
    width: calc(100% - 32px);
    height: 100%;
    /*top: 0;*/
    left: 16px;
    z-index: 0;
    /*left: 0;*/
    /*width: 100%;*/
    /*background-attachment: fixed;*/
}
.hero h1 {
    line-height: 1.2;
    margin: 0;
    padding-bottom: 28px;
    margin-bottom: 28px;
    font-size: 35px;
}
.hero h1:after {
    content:'';
    position: absolute;
    bottom: 0;
    left: 0;
    background: #fff;
    width: 100%;
    height: 5px;
    max-width: 358px;
}
.welcome .btn {
    margin-top: 28px;
    max-width: 280px;
}
.about {
    padding: 30px 0;
}
.about:before {
    content: '';
    background: rgba(7, 68, 114, .85);
    display: block;
    position: absolute;
    top: 0;
    left: -15px;
    width: calc(100% + 30px);
    height: 100%;
    z-index: 0;
    width: 150vw;
    left: -50vw;
}

.hero .welcome {
    height: calc(100vh - 80px);
    min-height: 400px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.49);
}

.welcome .btn {
    text-shadow: none;
}

.about .title {
    font-size: 32px;
    margin-bottom: 18px;
}

.box-model {
    max-width: 220px;
    margin: 28px 0 0;
}

.box-item {
    background: rgba(255, 255, 255, 0.20);
    border: 1px solid #fff;
    padding: 28px 24px;
    font-size: 18px;
    width: 100%;
    min-width: 210px;
}

.box-item p {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 15px;
    line-height: 1.6;
}

.box-item i {
    font-size: 40px;
}

.box-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
    font-size: 0;
}

.parking {
    height: 37px;
}

.times {
    background-position: -45px 0;
}

.marker {
    background-position: -90px 0;
}

.wifi {
    background-position: -135px 0;
    height: 31px;
}

.fold-space {
    background: #074472;
    padding: 30px 15px;
}

/*SENCOND FOLD - FIND A DOCTOR*/
.find-doctor {
    /* padding-top: 15px; */
}

.find-doctor .fold-space {
    padding-left: 0;
    padding-right: 0;
}


/*THIRD FOLD - VIRTUAL TOUR*/
.virtual-tour {
    background-image: url(../img/home/ground-floor.jpg);
    padding: 100px 0;
}

.video {
    min-width: 114px;
    height: 114px;
    background-position: -100px -45px;
    margin-bottom: 18px;
}

.virtual-tour .btn {
    margin-left: auto;
}

/*FOURTH FOLD - OUR TREATMENTS*/
.our-treatments {
    padding: 50px 0;
}
.our-treatments .title {
    color: #69686d;
    margin-bottom: 30px;
}

.our-treatments .slick-track,
.our-treatments .slick-initialized .slick-slide {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

.our-treatments .slick-slide {
    height: auto;
}

.slide-center-item .text-holder {
    background: rgba(7, 68, 114, .85);
    opacity: 0;
    -webkit-transition: all ease 0.5s;
    -o-transition: all ease 0.5s;
    transition: all ease 0.5s;
    margin-top: auto;
}

.slide-center-item {
    padding: 100px 15px 30px;
    position: relative;
    -webkit-transition: all ease 0.5s;
    -o-transition: all ease 0.5s;
    transition: all ease 0.5s;
}

.slide-center-item:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    -webkit-transition: all ease 0.5s;
    -o-transition: all ease 0.5s;
    transition: all ease 0.5s;
}

.slide-center-item .slide-title {
    font-size: 24px;
    margin-bottom: 24px;
    line-height: 1;
}

.slide-center-item .btn {
    margin-left: auto;
    margin-right: auto;
}

.slide-center-item.slick-active:before {
    opacity: 0;
}

.slide-center-item.slick-active .text-holder {
    opacity: 1;
}

/*FIFTH FOLD - TESTMONIALS*/
.testimonials {
    padding-bottom: 0;
}
.testimonials .fold-space {
    padding: 55px 0;
}
.testimonials-slick {
    margin-top: 28px;
}

.testimonials .author {
    line-height: 1.5;
}

.testimonials .author .bold {
    font-size: 18px;
    display: block;
}
.testimonials .author .position {
    font-size: 16px;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@media (min-width: 480px) {
    .box-model {
        max-width: 432px;
        margin-left: 0;
    }

    .box-item {
        width: 50%;
    }

    /*FIND A DOCTOR*/
    .form-group.btn-search {
        min-width: 220px;
        margin-right: 28px;
        margin-bottom: 0;
    }

    .virtual-tour .wrapper {
        max-width: 417px;
        text-align: right;
    }

    .virtual-tour .fw {
        width: auto;
    }

    .virtual-tour .wrapper .title {
        font-size: 42px;
        margin-bottom: 22px;
    }

    .video {
        margin-bottom: 0;
    }

    .slide-center-item {
        margin: 0 20px;
    }

    .testimonials .fold-space {
        padding-left: 110px;
        padding-right: 30px;
    }

    .testimonials .text-holder .slick-slider:before {
        content: '';
        display: block;
        position: absolute;
        top: 5px;
        left: -105px;
        width: 98px;
        height: 70px;
        background-image: url(../img/sprite.png);
        background-position: 0px -45px;
        z-index: 1;
    }

}

@media (min-width: 640px) {
    .hero {
        font-size: 18px;
    }

    .hero .welcome {
        max-width: 530px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .welcome .btn {
        margin-top: 0;
    }

    .fold .title {
        font-size: 32px;
        margin-bottom: 28px;
    }

    .find-doctor .title {
        margin-bottom: 0;
    }

}

@media (min-width: 768px) {
    .slick-next {
        right: 118px; 
    }

    .slick-prev {
        left: 118px; 
    }
}

@media (min-width: 970px) {

    .hero {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        height: 100vh;
        min-height: 900px;
    }

    .hero-bg {
        background-attachment: fixed;
        background-position: 50% 10px;
    }

    .hero > .wrapper {
        margin-top: auto;
    }

    .hero .welcome,
    .hero .about {
        padding: 30px;
    }

    .hero .welcome {
        height: auto;
        justify-content: flex-start;
    }

    .hero .welcome,
    .find-doctor .text-holder {
        padding-left: 0;
    }

    .hero .about,
    .find-doctor .wrapper {
        padding-right: 0;
    }

    .hero .about:before {
        left: 0;
    }

    .find-doctor > div,
    .find-doctor .fold-space,
    .testimonials > div {
        padding: 55px 47px;
        max-width: 50%;
        width: calc(1/2*100% - (1 - 1/6)*22px);
        margin-right: 7px;
    }

    .find-doctor .wrapper {
        max-width: 410px;
        margin-right: 0;
    }

    .find-doctor .img-holder,
    .testimonials .img-holder {
        background-image: url(../img/home/whole-area.jpg);
        background-position: center right;
        margin-left: 7px;
        margin-right: 0;
    }

    .testimonials .text-holder {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .testimonials .text-holder .wrapper {
        padding: 0; 
        max-width: 475px; 
        margin-right: 0;
    }
    
    .testimonials .img-holder {
        padding: 0;
        background: none;
    }

    .testimonials .img-holder .img {
        height: calc(1/2*100% - (1 - 1/6)*9px);
    }

    .testimonials .img-holder .img1 {
        background-image: url(../img/home/waiting-area-1.jpg);
    }
    .testimonials .img-holder .img2 {
        background-image: url(../img/home/waiting-area-2.jpg);        
    }

    .virtual-tour {
        padding: 150px 0;
    }

    .slide-center-item {
        padding: 200px 35px 35px;
    }

    .slide-center-item .text-holder {
        padding: 28px 40px;
    }

}

@media only screen and (min-width:1170px) {

    .hero h1 {
        font-size: 52px;
        padding-bottom: 55px;
        margin-bottom: 55px;
    }

    .hero .welcome, 
    .hero .about {
        padding: 55px 70px;
        min-width: 50%;
    }
    .hero .welcome {
        padding-left: 0;
        padding-right: 40px;
        margin-right: 7px;
        padding-top: 130px;
    }
    .hero .about {
        padding-right: 0;
        margin-left: 7px;
    }

    .about .title {
        font-size: 42px;
        margin-bottom: 10px;
    }

    .find-doctor .text-holder {
        padding-left: 0;
        padding-right: 175px;
        margin-right: 7px;
        margin-left: 0;
    }

    .find-doctor .wrapper {
        max-width: 410px;
    }

    .testimonials .text-holder {
        padding-top: 160px;
        padding-bottom: 160px;
        padding-right: 95px;
        font-size: 24px;
    }

    .testimonials .text-holder .title {
        margin-bottom: 50px;
    }

    .testimonials .author {
        margin-top: 40px;
    }

    .testimonials .text-holder .slick-slider:before {
        top: 12px;
    }

    .slide-center-item {
        /*padding: 315px 70px 60px;*/
        padding: 175px 70px 60px;
        max-width: 944px;
        margin: 0 45px;
    }

    .slick-next {
        right: 180px; 
    }

    .slick-prev {
        left: 180px; 
    }

}

@media only screen and (min-width:1280px) {

    .slide-center-item {
        padding-top: 315px;
    }

    /*.slick-next {
        right: 180px; 
    }

    .slick-prev {
        left: 180px; 
    }*/
}

@media only screen and (min-width:1450px) {
    .testimonials .text-holder .slick-slider:before {
        left: -126px;
    }
}