/* main style */

.form textarea[class*=error] {
    border: 1px solid #ff5050;
    color: #ff5050;
}


/* header */
.header__top { padding: 7px 20px; }
@media only screen and (min-width: 850px){.header__top{padding:7px 40px}}
@media only screen and (min-width: 850px){body.is-scrolling .header__top{padding:7px 40px}}


/* video player */
.video-link {
    cursor: pointer;
    position: relative;
    transition: all 0.5s;
}


.overlay-vid-box {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0.8;
    display: none;
}


.close-vid-box {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 16px;
    height: 16px;
    z-index: 9999;
    display: none;
    cursor: pointer;
}

.main-vid-box {
    position: fixed;
    width: 100%;
    height: 100vh;
    display: none;
    top: 0px;
    left: 0px;
    z-index: 999;
}


.videoWrapper {
    position: relative;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.videoWrapper video {
    position: relative;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100% !important;
    height: 100% !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-width: 40px;
    border-style: solid;
    border-color: transparent;
}

/*  */
.video-container {
    position: relative;
}

.play-btn {
    position: absolute;
    width: 80px;
    height: 80px;
    left: 50%;
    top: 50%;
    margin-left: -40px; /*half of the width */
    margin-top: -40px; /*half of the height */
}

/* posts */
.edito,
.typologies {
    background-image: url("../img/bg-wood.jpg");
}
.typologies__inner {
    background-color: transparent;
}

/* posts */
.benefits__slider__item {
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}
.benefits__slider__item .modal__content__picture__img {
    border-radius: 10px 10px 0px 0px;
}
.benefits__slider__item .benefits__slider__title,
.benefits__slider__item .block-1__paragraph {
    padding-left: 10px;
    padding-right: 10px;
}
