body {
    min-height: 100%;
    height: 100%;
    font-size: 14px;
    color: #212121;
    background-color: #fff;
    font-family: "Myriad Pro", Arial;
}

/* Popup modale de récupération d'identifiants */
#modalRecupId {
    display: none;
    width: 600px;
}

#modalRecupId .modal-content {
    padding: 0;
}

#modalRecupId iframe {
    border: none;
    width: 100%;
    height: 280px;
}

input:-webkit-autofill {
    -webkit-text-fill-color: #707070 !important;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
}

.bg {
    height: 30vh;
    background: url(../images/background.png);
    background-position-y: center;
    background-position-x: right;
    -webkit-background-size: cover;
    background-size: cover;
}

.contenu {
    height: 70vh;
}

.contenu .flex {
    padding: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 100%;
}

.flex-center {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: center;
}

#logo {
    width: 50%;
    margin: 10px 0 10px auto;
}

header, footer, main {
    width: 100%;
    margin-bottom: 5vh;
}

header h2 {
    margin: 0;
    color: #3f3f3f;
    font-size: 3em;
    font-weight: 600;
}

header h3 {
    margin: 0;
    color: #808080;
    font-size: 2em;
    font-weight: normal;
}

main {
    display: block;
}

.field {
    margin-bottom: 10%;
    cursor: pointer;
}

.input-field label {
    color: #707070;
    font-size: 1.3em;
    top: 0.5em;
}

.input-field label.active {
    font-size: 1em;
}

input[type=text],
input[type=password] {
    font-size: 1.5em;
}

input[type=text]:focus,
input[type=password]:focus {
    border-bottom: 2px solid #3974ae;
}

input[type=text].valid,
input[type=password].valid {
    border-bottom: 2px solid #288fcb;
}

input[type=text]:focus:not([readonly]),
input[type=password]:focus:not([readonly]) {
    border-bottom: 2px solid #3974ae;
}

.button_form {
    display: inline-block;
    margin-bottom: 15px;
    padding: 10px 25px;
    font-size: 1.5em;
    font-weight: normal;
    text-decoration: none;
    background-color: #3974ae;
    color: #fff;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.button_form:hover {
    background-color: #1488cb;
}

.button_form span {
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    transform-origin: center center;
}

.button_form:hover span {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

#oubli_form {
    font-size: 0.9em;
}

#oubli_form a {
    color: #707070;
    text-decoration: none;
}

#oubli_form:hover a {
    color: #3974ae;
    text-decoration: none;
}

footer, footer a {
    color: #3974ae;
    margin-bottom: 0;
}

/*-------------------------------------------------------------------------*/
/* ----------------------- media queries ----------------------------------*/
/*-------------------------------------------------------------------------*/

@media screen and (max-width: 400px) {
    header h2 {
        font-size: 2.3em;
    }

    header h3 {
        font-size: 1.3em;
    }

    .input-field label {
        color: #707070;
        font-size: 1em;
        top: 0.5em;
    }

    .input-field label.active {
        font-size: 0.8em;
    }

    input[type=text],
    input[type=password] {
        font-size: 1em;
    }
}

@media screen and (min-width: 600px) {
    header, main, footer {
        width: 75%;
    }

    footer {
        height: 30px;
    }

    .bg {
        background-position-y: 28%;
    }
}

@media screen and (min-width: 768px) {
    header, main, footer {
        width: 70%;
    }

}

@media screen and (min-width: 992px) {
    .flex {
        display: -ms-flexbox;
        display: -webkit-box;
        display: flex;
        height: 100%;
    }

    #particles-js {
        position: absolute;
        left: 40%;
        top: 0;
        bottom: 0;
        right: 0;
        overflow: hidden;
    }

    .bg-skew {
        width: 60%;
        /*min-height: 100vh;*/
        height: initial;
        -webkit-transform: skewX(-8deg);
        -ms-transform: skewX(-8deg);
        transform: skewX(-8deg);
        margin-left: -6%;
        overflow: hidden;
    }

    .bg {
        width: 120%;
        height: 100%;
        background: url(../images/background.png);
        background-position-y: bottom;
        background-position-x: center;
        -webkit-background-size: cover;
        background-size: cover;
        -webkit-transform: skewX(8deg);
        -ms-transform: skewX(8deg);
        transform: skewX(8deg);
    }

    .contenu {
        min-height: 100vh;
        height: 100%;
        width: 50%;
        background: url(../images/logo-excellence-vae.png);
        background-repeat: no-repeat;
        background-position: 93% 3%;
        -webkit-background-size: 337px auto;
        background-size: 300px auto;
    }

    .contenu .flex {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -ms-flex-align: start;
        -webkit-box-align: start;
        align-items: start;
        min-height: 100vh;
        padding: 80px 5% 0 15%;
    }

    .flex-center {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: start;
        -webkit-box-align: start;
        align-items: start;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    header, main, footer {
        width: 100%;
        margin-bottom: 30px;
    }

    #logo {
        display: none;
    }

    header h2 {
        font-size: 4em;
    }

    header h3 {
        font-size: 2.3em;
        margin-bottom: 30px;
    }

    #fields {
        width: 75%;
    }

    .field:first-of-type {
        margin: 0;
    }

    .field:last-of-type {
        margin: 30px 0;
    }

    #form_buttons {
        width: 250px;
    }

    .button_form {
        font-size: 1.9em;
    }

}