@keyframes show {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

body {
    background: url(../img/mask_bottom_right.png);
    background-repeat: no-repeat;
    background-position: right bottom -200px;
    min-height: 100vh;
}

.background {
    z-index: 1;
}

.gallery {
    max-width: 1094px;
    width: 60%;
    height: 945px;
    position: fixed;
    left: 0;
    top: 0;
}

.gallery .logo {
    position: absolute;
    z-index: 200;
    margin-top: 75px;
    margin-left: 50%;
    transform: translateX(-50%);
}

.gallery .mask {
    background: url(../img/mask_gallery_desk.png) right 1px no-repeat;
    background-size: contain;
    position: absolute;
    width: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
    z-index: 100;
}

.gallery .mask img {
    width: 100%;
}

.gallery .imgs {
    position: relative;
}

.gallery .imgs img {
    width: 100%;
}

.gallery .imgs img:last-child {
    animation: show 2.5s;
}

.gallery .imgs img {
    position: absolute;
}

@media (max-width: 1200px) {
    .gallery .logo {
        width: 40%;
        margin-left: 30%;
    }
}

@media (max-width: 990px) {
    .background {
        margin-right: -15px;
        margin-left: -15px;
    }
    .gallery {
        width: 100%;
        height: 500px;
        overflow: hidden;
        position: relative;
    }
    .gallery .logo {
        width: 30%;
        margin-top: 45px;
        margin-left: 20%;
        transform: translateX(-50%);
    }
    .gallery .mask {
        background: url(../img/mask_gallery_mobile.png) left bottom no-repeat;
        background-size: contain;
    }
    .form-container {
        /* margin-top: -8em; */
    }
    .corner {
        display: none;
    }
}

@media (max-width: 768px) {
    .gallery {
        height: 300px;
    }
}
/* FORM
/*************************************/

.form {
    position: relative;
    z-index: 500;
    text-align: center;
    color: #004a82;
    font-family: 'Lato', sans-serif;
}

.form .form-title {
    margin-bottom: 20px;
    max-width: 530px;
    width: 100%;
}

.form p {
    color: #005698;
    line-height: 18px;
    font-size: 18px;
}

.form p.big {
    font-size: 30px;
    line-height: 30px;
}

.form p.p--mid-size {
    font-size: 22px;
}

.margin-confirm {
    margin-top: 8em;
}

.form .separator {
    margin-bottom: 1rem;
}

.green {
    color: #8ec73f;
    font-weight: bold;
}

.form input {
    border: 0;
    color: #004a82;
    border-bottom: 2px solid #004a82;
    border-radius: 0;
    font-size: 18px;
    background: none;
}

.form input::placeholder {
    color: #004a82;
    content: "*"
}

.form .form-check {
    padding: 0;
}

.form .form-check-input {
    position: absolute;
    left: -9999px;
}

.form .form-check-label {
    text-align: left;
}

.form .form-check-label:before {
    width: 18px;
    height: 18px;
    border: 2px solid #004a82;
    display: inline-block;
    content: "";
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 3px;
    transition: border .25s ease;
}

.form .round-input:before {
    border-radius: 9px;
}

.form .form-check-label:hover {
    cursor: pointer;
}

.form .form-check-input:checked+.form-check-label:before {
    border: 9px solid #004a82;
}

.form .btn-submit {
    font-size: 22px;
    background-color: #8ec73f;
    color: #fff;
    border-radius: 30px;
    padding: .5em 1em;
    width: 100%;
    border: 2px solid #fff;
}

.btn-submit--small {
    width: inherit!important;
}

.form .btn-submit:hover {
    background-color: #86e600;
}

.form .required {
    color: #000;
    font-size: 18px;
    ;
}

.footer {
    font-family: 'Lato', sans-serif;
    position: relative;
    z-index: 1000;
    margin-bottom: 5em;
    text-align: center;
}

.footer ul {
    padding: 0;
    margin-top: 10px;
}

.form ul {
    padding: 0;
}

.form ul li:first-child {
    margin-left: 0;
}

ul li {
    list-style-type: none;
    display: inline-block;
    font-size: 12px;
    margin-left: 10px;
}

ul li a {
    color: #000;
    text-decoration: underline;
}

.h100vh {
    min-height: 100vh;
    padding: 2em 0;
}

@media (max-width: 990px) {
    body {
        background: url(../img/mask_bottom_right_mobile.png);
        background-repeat: no-repeat;
        background-position: right bottom -100px;
    }
    .form .required {
        font-size: 14px;
    }
    .footer {
        margin-top: 1em;
        text-align: center;
        margin-bottom: 5em;
        margin-left: auto;
        margin-right: auto;
    }
    .footer ul {
        padding: 0;
        float: none;
        margin-top: 10px;
    }
    .footer ul li:first-child {
        margin-left: 0;
    }
    .margin-confirm {
        margin-top: 0em;
    }
}
/* Facebook
/*****************************/

.fb_iframe_widget {
    display: block!important;
    margin-bottom: 1em
}
/* SEJOURS
/****************************/

.top-left {
    height: 684px;
    width: 594px;
    position: absolute;
    left: 0;
    top: 0;
    background: url(../img/sejours-top-left.jpg) left top no-repeat;
}

.top-left .logo {
    width: 50%;
    position: absolute;
    top: 5em;
    left: 2em;
}

.row-slider {
    transform: translateY(-50%);
    margin-top: 50%;
}

.card-slider {
    width: 100%;
    overflow: hidden;
    /* margin: 0 5em; */
    color: #fff;
    font-family: 'Lato', sans-serif;
}

.card-slider .card-deck {
    width: 168.6%;
    margin: 0;
    transition: margin .8s ease;
}

.card-slider .card {
    border: 0;
    border-radius: 1em;
    overflow: hidden;
    text-align: center;
}

.card-slider a {
    display: block;
    text-decoration: underline;
    color: rgba(0, 0, 0, .4);
}

.card-text {
    color: rgba(0, 0, 0, .4);
    font-size: 14px;
    margin-top: .75rem;
    font-weight: bold;
}

.card-slider .card:nth-child(1) {
    background: #80cee2;
    background: linear-gradient(135deg, #80cee2 50%, #23aed5 100%);
    margin-left: 0;
}

.card-slider .card:nth-child(2) {
    background: #e3b755;
    background: linear-gradient(135deg, #e3b755 50%, #dfa547 100%);
}

.card-slider .card:nth-child(3) {
    background: #d46b42;
    background: linear-gradient(135deg, #d46b42 50%, #a05425 100%);
}

.card-slider .card:nth-child(4) {
    background: #98a548;
    background: linear-gradient(135deg, #98a548 50%, #638831 100%);
}

.card-slider .card:nth-child(5) {
    background: #d4804b;
    background: linear-gradient(135deg, #d4804b 50%, #b63163 100%);
    margin-right: 0;
}

.card-slider .card-title {
    font-size: 16px;
    font-weight: 400;
}

.card-slider .card-title span {
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
}

.btn-sejour {
    font-size: 21px;
    background-color: #8ec73f;
    color: #fff;
    border-radius: 30px;
    padding: .25em 1.6em;
    border: 2px solid #fff;
    margin: .5em 0;
}

.btn-sejour:hover {
    background-color: #86e600;
    color: #fff;
}

.card-slider .card-text {
    display: none;
}

.move-slider {
    height: 46px;
    width: 28px;
    background: url(../img/arrows.png) right top no-repeat;
    border: 0;
}

.move-slider:focus {
    outline: none;
}

.move-slider[data-direction="left"] {
    display: none;
    background-position: left top;
}

.move-slider:hover {
    background-position-y: bottom;
}

.sejour-p {
    color: #005698;
    line-height: 18px;
    font-size: 18px;
}

@media (min-width: 991px) {
    .footer--sejour {
        margin: 3em auto;
    }
}

@media (max-width: 990px) {
    .top-left {
        width: 100%;
        background: url(../img/sejours-top-left-responsive.jpg) left bottom no-repeat;
        background-size: cover;
        position: relative;
        height: 12em;
    }
    .top-left .logo {
        width: 15em;
        top: 3em;
    }
    .controls {
        display: none;
    }
    .card-slider .card-deck {
        display: inherit;
        width: 100%;
        margin: 0!important;
    }
    .card-slider .card-deck .card {
        flex: inherit;
        width: 60%;
        margin: 0 auto 2em auto;
    }
    .sejour-p {
        display: none;
    }
    .sejour-title img {
        margin-top: 2em;
        width: 80%;
    }
    .h100vh {
        padding: 0;
        min-height: inherit;
    }
    .footer--sejour {
        padding: 0 3em;
    }
}

.mentions {
    position: relative;
    z-index: 500;
    text-align: center;
    color: #004a82;
    font-family: 'Lato', sans-serif;
}