.page-login {
    user-select: none;
}

.page-login .logo {
    margin-bottom: 6vh;
}

.page-login .logo svg,
.page-login .logo img {
    width: auto;
    height: 12vh;
}

.page-login .logo .logo_lettre {
    fill: #FFF;
}

.contenu-page-login {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.txt-welcome {
    text-align: center;
    width: 28vw;
    margin-bottom: 4vh;
    color: var(--blanc-1);
    line-height: 1.3;
}

.txt-welcome h2 {
    font-size: var(--font-size-title-4);
    margin: 0;
    margin-bottom: 1.5vh;
}

.txt-welcome h2::after {
    content: "";
    position: absolute;
    top: 105%;
    left: 50%;
    width: 100px;
    margin-left: -50px;
    height: 1px;
    background: var(--blanc-1);
}

.container-login,
.box-login {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}

.container-login a {
    color: var(--blanc-1);
}

.a-lost-password {
    margin-top: 3vh;
}

.container-login a span {
    color: var(--primary-2);
}

.box-login {
    background: var(--blanc-1);
    color: var(--primary-2);
    width: 24vw;
    height: 24vw;
    border-radius: 50%;
}

.box-login form {
    display: flex;
    flex-direction: column;
    width: 15vw;
}

.box-login.fwf_form input[type=text],
.box-login.fwf_form input[type=password] {
    font-size: var(--font-size-input-4);
    padding: var(--padding-input-4);
}

/* Checkbox "Se souvenir de moi" : structure WordPress (input dans label)
   Différent de la structure Vue (input + label). On cible #rememberme pour éviter
   d'afficher en double la checkbox Vue si on met opacity:1 sur toutes les checkbox.
   Taille réduite à 16px car 27px est trop grand pour la page login. */
.box-login.fwf_form input[type="checkbox"]#rememberme {
    opacity: 1;
    position: relative;
    visibility: visible;
    width: 16px;
    height: 16px;
}

.box-login.fwf_form label {
    line-height: 1;
}

.box-login p {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0;
}

.box-login *+p {
    margin-top: 1rem;
}

#fwf_show_pdw {
    position: absolute;
    right: 0;
    top: 16px;
    bottom: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#fwf_show_pdw svg {
    height: 20px;
    width: auto;
}


/* Ecrans moyens et petits */
@media (min-width: 992px) and (max-width: 1600px) {

    .page-login .logo {
        margin-bottom: 14vh;
    }

    .page-login .logo svg {
        height: 18vh;
    }

    .contenu-page-login {
        flex-direction: row;
        width: 80%;
    }

    .contenu-page-login>* {
        flex: 1;
    }

    .txt-welcome {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        padding-right: 20%;
        text-align: left;
        height: 100%;
        padding-bottom: 5vh;
    }

    .txt-welcome p {
        text-align: left !important;
    }

    .box-login {
        width: 31vw;
        height: auto;
        padding: 2rem 0;
        border-radius: var(--arrondi-2);
    }

    .txt-welcome h2::after {
        left: 0;
        margin: 0;
    }

}

/* Smartphones et tablettes */
@media (max-width: 991px) {

    .page-login .logo,
    .page-login .contenu-page-login {
        flex: 1;
        margin: 4vh 0;
    }

    .txt-welcome {
        width: 90%;
        margin-bottom: 5vh;
    }

    .container-login {
        align-items: stretch;
        width: 100%;
        justify-content: center;
    }

    .container-login>* {
        flex: 1;
    }

    .box-login {
        width: auto;
        border-radius: 0;
        height: auto;
        padding: 1rem;
    }

    .box-login form {
        width: 80%;
    }

    .a-lost-password {
        text-align: center;
    }
}