/* HOMEPAGE */

.home-block {
    padding-left: 2%;
    padding-right: 2%;
    margin-bottom: 2em;
}

.home-block:last-child {
    margin-bottom: 0;
}

.home-slide-desc {
    margin-top: .75em;
    padding-left: 2%;
    padding-right: 2%;
}

@media only screen and (min-width: 980px) {
    .content-top__home {
        margin-bottom: 2em;
    }
    .home-block {
        padding-left: 0;
        padding-right: 0;
        position: relative;
    }
    .home-slide-desc {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 3.25em;
        margin-top: 0;
    }
    .home-slide-desc.right {
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
    }
    .home-slide-desc.left {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    .home-slide-desc.top {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        padding-top: 5%;
    }
    .home-slide-desc.bottom {
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        padding-bottom: 5%;
    }
    .home-slide-desc__inner {
        max-width: 520px;
    }
    .a-left--home {
        text-align: left;
    }
    .a-center--home {
        text-align: center;
    }
    .a-right--home {
        text-align: right;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1500px) {
    .home-slide__h2 {
        margin-right: 160px;
    }
}


/* SERVICES */

.mob-services__row:after {
    content: '';
    display: table;
    clear: both;
}

.mob-services__row {
    margin-bottom: 2em;
}

.mob-services__row:last-child {
    margin-bottom: 0;
}

.mob-service {
    position: relative;
    float: left;
    width: 49%;
}

.mob-service__h3 {
    margin-bottom: 0;
    width: 100%; /* IE 10 FIX FOR DISPLAY FLEX */
}

.mob-service__desc {
    z-index: 10;
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    padding: 1.75em;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: background-color .5s;
    transition: background-color .5s;
}

.mob-service:nth-child(even) {
    float: right;
}

@media only screen and (min-width: 980px) {
    .mob-service__desc {
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
        padding-bottom: 2.75em;
    }
    .mob-service {
        width: 49.25%;
    }
}

/* SERVICES V2 */

.no-margin {
    margin: 0;
    padding: 0;
}

@media only screen and (max-width: 979px) {
    .content-top__home.no-margin {
        margin-bottom: 2em;
    }
}

.home-block.services {
    margin: 0;
}

.home-block.services .service {
    position: relative;
}

.home-block.services .service figure img {
    width: 100%;
}

.home-block.services .service .desc h3 {
    margin-bottom: 0;
    width: 100%; /* IE 10 FIX FOR DISPLAY FLEX */
    text-transform: uppercase;
}

.home-block.services .service .desc {
    z-index: 10;
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    padding: 1.75em;
    top: 0;
    left: 0;
    width: 50%;
    background: #ccc;
    height: 100%;
    -webkit-transition: opacity .2s;
    transition: opacity .2s;
}

.home-block.services .service .desc {
    background-color: #FAF8F6;
    color: #1D1D1B;
}

.home-block.services .service:nth-child(even) .desc {
    left: auto;
    right: 0;
}

@media only screen and (min-width: 980px) {
    .home-block.services .service .desc:hover {
        opacity: 0;
    }
}

@media only screen and (max-width: 639px) {
    .home-block.services .service .desc {
        position: relative;
        width: 100%;
        height: 100vw;
    }
}

/* INFOS */

.home-block.infos {
    margin: 0;
}

.home-block.infos .info {
    position: relative;
}

.home-block.infos .info .desc {
    display: block;
}

.home-block.infos .info .desc h3 {
    display: block;
    opacity: 1;
    margin: 0;
    padding: 1em;
    text-align: center;
    -webkit-transition: opacity .2s;
    transition: opacity .2s;
}

.home-block.infos .info .desc h3.hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
}

.home-block.infos .info {
    background-color: #FAF8F6;
    border-top: 1px solid #1D1D1B;
}

.home-block.infos .info.three {
    border-bottom: 1px solid #1D1D1B;
}

.home-block.infos .info .desc h3 {
    color: #1D1D1B;
}

@media only screen and (min-width: 980px) {
    .home-block.infos .info .desc:hover h3 {
        opacity: 0;
    }
    .home-block.infos .info .desc:hover h3.hover {
        opacity: 1;
    }
}

/* NAV */

@media only screen and (min-width: 980px) {
    .header-wrapper, .nav-wrapper {
        position: absolute;
    }
    .nav-primary ul[class^=level].more-infos-link__ul {
        position: absolute !important;
    }
    .nav-primary ul[class^=level].more-infos-link__ul.opened {
        position: static !important;
    }
}

/* EO NAV */

/* SWIPER */

@media only screen and (max-width: 980px) {
    .swiper-home-header.swiper-container--mob.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-container--mob.swiper-pagination-custom, .swiper-pagination-fraction {
        position: static;
        margin-top: .25em;
    }
}

/* EO SWIPER */
