@charset "utf-8";
/* CSS Document */
/* ===============
	CSS Communs
==================*/
@import url('https://fonts.googleapis.com/css?family=Raleway:400,600&display=swap');

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    text-align: center;
    font-weight: 200;
    font-family: 'Raleway';
}

.bodywrapper.login header {
    height: 11rem;
}

/* CSS pour le HEADER et le FOOTER */
.bodywrapper.login header .top {
    height: 0;
}

.bodywrapper footer #footer-middle {
    padding-bottom: 0;
}

.inbl, .u-inbl {
    display: flex;
}

img {
    max-width: 100%;
}

.flex_full_width {
    width: 100%;
}

h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 2rem;
    margin-top: 2rem !important;
}

h2 {
    font-size: 2.4rem;
    line-height: 3.6rem;
    font-weight: 500;
    margin-bottom: 2.4rem;
}

h3 {
    font-size: 2.1rem;
    line-height: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    color: #3C3C3B;
}

p {
    font-size: 1.6rem;
    font-weight: 400;
}

.connexionParticulier a {
    font-family: sans-serif;
}

input:focus, .bodywrapper input:focus {
    box-shadow: none;
    outline: solid 1px #007CC2;
    border-radius: .2rem;
}

.bodywrapper a.discreet, .bodywrapper a:active, .bodywrapper a:hover, .bodywrapper a:visited {
    text-decoration: none;
}

/* ===============
	Version Mobile
==================*/

/*=====Commun=====*/

.flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.reverse {
    flex-direction: column-reverse;
}

.btn_A {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 600;
    height: 48px;
    margin-top: 25px;
    text-decoration: none;
    box-shadow: none;
}

.btn_A:hover {
    text-decoration: none;
}

.title_field {
    font-size: 2.1rem;
    font-weight: 700;
    color: #3C3C3B;
    text-align: left;
}

.container_input {
    width: 100%;
}

.container_password {
    display: inline-block;
    box-shadow: 0 0 0 1px #828282;
    height: 4.8rem;
    font-size: 1.4rem;
    border-radius: .2rem;
    text-align: start;
}

.container_password.focus {
    outline: solid 1px #007CC2;
}

.container_password input {
    vertical-align: middle;
    box-shadow: none;
    padding: 0 1rem;
    width: calc(100% - 48px);
    text-overflow: ellipsis;
}

.container_password input:focus {
    outline: none;
}

/*=====Module connexion particulier=====*/
.title_particulier {
    padding: 2rem;
    text-align: center;
    border-bottom: 5px solid #228848;
}

div.sign_in {
    width: 100%;
}

.sign_in {
    color: #102236;
    background-color: #fff;
    padding: 2%;
}

.sign_in form input {
    height: 4.8rem;
    font-size: 1.4rem;
    border-radius: .2rem;
    font-weight: 500;
}

.password {
    position: relative;
    display: inline-block;
    vertical-align: initial;
    background: none !important;
    box-shadow: none;
    z-index: 0;
    width: 100%;
}

.password, .line {
    text-align: start;
}

/*Tooltip & oeil*/
.picto {
    position: absolute;
    display: inline-block;
    margin: 13px 10px;
    float: right;
    right: 4%;
    cursor: pointer;
}

.picto .fa-eye .fa-eye-slash {
    text-align: end;
    margin-left: 2rem;
}

/*Texte tooltip survol*/
.text_picto {
    display: none;
    background-color: #007CC2;
    border-radius: .5rem;
    width: 90%;
    font-size: 1.4rem;
    font-weight: 400;
    color: #fff;
    margin-top: 20px;
}

ul > li > a {
    color: #1C335C;
    font-size: 1.6rem;
    font-weight: 500;
    text-decoration: none;
}

ul > li > a:hover {
    color: #007CC2;
}

li {
    text-align: left;
}

.btn_access {
    flex-direction: column-reverse;
    flex-wrap: wrap;
    justify-content: space-around;
}

/*Bouton creer mon compte*/
.btn_account {
    color: #007CC2;
    font-weight: 700;
    margin-top: 25px;

}

.btn_account:hover {
    color: #102236;
    text-decoration: underline;
}

/*Bouton connexion*/
.btn_sign_in {
    color: #1C335C;
    background-color: #fbd87a;
}

.btn_sign_in:hover {
    color: #fbd87a;
    background-color: #1C335C;
}

section.baseline {
    padding: 5% 10%;
    background-color: #e5f2fa;
    justify-content: space-around;
}

.btn_link_CTA {
    color: #126DA8;
    border: 1px solid #126DA8;
    white-space: nowrap;
    margin-bottom: 25px;
}

.btn_link_CTA:hover {
    color: #fff;
    background-color: #126DA8;
    border: none;
}

/*Bouton se deconnecter*/
.btn_deconnexion {
    color: #fff;
    background-color: #126DA8;
    cursor: pointer;
    width: fit-content;
    margin: 25px auto auto;
}

.btn_deconnexion:hover {
    background-color: #1C335C;
}

/* Annule et reprend des règles nécessaires des fichiers minifiés sur le focus d'inputs */
.bodywrapper .btn_deconnexion:focus {
    transition: none;
    border-radius: 50px;
    outline: 0.1rem dotted #212121;
}



/*=====Nouvelle mire de connexion=====*/
.banner_login {
    background: rgb(0, 124, 194);
    color: rgb(255, 255, 255);
    height: 10rem;
    align-content: center;
    font-size: 3.5rem;
}

.body_connexion {
    display: flex;
    flex-direction: column;
    margin: auto;
    min-height: 60vh;
    align-items: center;
}

.body_connexion hr {
    display: none;
    border-left: 1px solid rgba(0, 124, 194, 20%);
    height: auto;
    align-self: stretch;
    margin: 5rem 0;
}

.body_login_particulier {
    display: flex;
    flex-direction: column;
    margin: 2rem 10rem;
}

.body_login_particulier > b {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.body_redirect_cta {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    margin: 2rem;
    background: rgba(0, 124, 194, 20%);
    align-items: center;
    border-radius: 1rem;
}

.title_redirect_cta {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.title_cta_desktop {
    display: none;
}

.content_redirect_cta {
    display: none;
    width: fit-content;
    padding: 0 1.5rem;
}

.sign_in_form {
    box-sizing: border-box;
    margin-top: 1rem;
}

.input_container {
    display: flex;
    flex-direction: column;
}

input.login_input {
    min-width: 36rem;
    width: 100%;
    height: 4.3rem;
    padding: 0.6rem 1.2rem;
    border: 0.2rem solid rgb(0, 124, 194);
    border-radius: 2rem;
    box-shadow: inset 0 0 2rem 2rem rgb(255, 255, 255);
}

input.login_input:focus {
    background-color:  rgb(232, 240, 254);
    border-radius: 2rem;
    outline: unset;
}

.dropdown_help {
    margin: 1rem 0;
    color: #007cc2;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: end;
}

.dropdown_help:hover {
    color: rgb(28, 51, 92);
    cursor: pointer;
}

.username_help {
    padding: 0.7rem;
    outline: 0.5rem auto rgb(28, 51, 92);
    margin-bottom: 0.5rem;
}

.password_container {
    display: flex;
    flex-direction: row;
}

.toggle_password {
    position: relative;
    margin: 0.9rem 0 0 -2rem;
    width: 2rem;
}

.forgot_password {
    margin-top: 1rem;
    margin-right: 0.5rem;
    text-align: end;
}

.forgot_password:hover {
    text-decoration: underline;
}

.input_label {
    position: relative;
    padding: 0 0.5rem;
    top: 1.3rem;
    left: 2rem;
    color: rgb(28, 51, 92);
    background-color: rgb(255, 255, 255);
    width: fit-content;
    border-radius: 2.5rem;
}

.btns_body {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    flex-direction: row;
}

.btn_login {
    flex: 1;
    min-width: 15rem;
    max-width: 20rem;
    height: 3.2rem;
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    margin: 0 1rem;
    font-size: 1.4rem;
    box-shadow: unset;
    font-weight: 600;
    color: rgb(28, 51, 92);
    background-color: rgb(255, 255, 255);
}

a.btn_login {
    color: rgb(28, 51, 92);
}

.btn_login:hover {
    border-color: rgb(255, 255, 255);
    background-color: rgba(0, 124, 194, 20%);
}

.btn_connect {
    color: rgb(255, 255, 255);
    background-color: rgb(28, 51, 92);
}

.btn_connect:hover {
    background-color: rgba(28, 51, 92, 80%);
}

.btn_create_account {
    border: 0.1rem solid rgb(28, 51, 92);
}

.btn_redirect_cta {
    background-color: rgb(255, 255, 255);
}

.btn_redirect_cta:hover {
    background-color: rgba(0, 124, 194, 20%);
}

.fa-chevron-circle-up {
    color: rgb(28, 51, 92);
}



/*=====Module connexion entreprise=====*/
.title_entreprise {
    padding: 2rem;
    text-align: center;
    border-bottom: 5px solid #1C335C;
}

.other {
    flex-direction: column;
    width: 100%;
}

.particulier {
    padding: 3% 10%;
    background-color: #C8EBCB;
}

.cta {
    padding: 3% 10%;
    background-color: #e5f2fa;
}

.btn_link_particulier {
    color: #31714D;
    border: 1px solid #31714D;
    margin-bottom: 25px;
}

.btn_link_particulier:hover {
    background-color: #31714D;
    color: #fff;
    border: none;
}

/*=====Module deconnexion=====*/
.contenu_deconnexion {
    /* 6.3rem = height header du app.min.css */
    /* 2.5rem = padding du #footer-bottom du app.min.css */
    /* 2.5rem = margin du #footer-bottom-left du app.min.css */
    /* 1.3rem * 1.5 = 1.95rem = line-height du #footer-bottom-left du app.min.css */
    min-height: calc(100vh - 6.3rem - 3.5rem - 2.5rem - 1.95rem); 
    display: flex;
    flex-direction: column;
}

.contenu_deconnexion .title_particulier {
    border: none;
    margin-top: auto !important ;
    margin: auto auto auto;
}

.contenu_deconnexion form {
    margin: 0 auto 5%;
}

.lien_retour {
    margin: 0 auto auto;
    color: #007CC2;
}

.lien_retour:hover {
    color: #102236;
}

footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 5px;
    width: 100%;
    background-color: #ECf8fD;
}

html:not(.no-flexbox) .bodywrapper footer #footer-bottom {
    padding-top: 1.5rem;
}

/*=====Module reinitialisation mot de passe=====*/
.box_password {
    width: 80%;
    box-shadow: 1px 1px 6px #DBDBDB;
    margin: 5%;
    padding: 5% 2%;
}

.btn_save {
    background-color: #fbd87a;
    color: #1C335C;
}

.btn_save:hover {
    background-color: #1C335C;
    color: #fbd87a;
}

/* ===============
	Messages d'erreurs
==================*/
.alerte {
    border: 1px solid;
    border-radius: 5px;
    opacity: 1;
    margin: 0 10px 0 10px;
    padding: 8px 22px 11px;
}

.alerte.alerte-error, .alerte.alerte-warning {
    background: #C038420D 0 0 no-repeat padding-box;
    border-color: #C03842;
    color: #C03842;
}

.alerte.alerte-success {
    background: #C038420D 0 0 no-repeat padding-box;
    border-color: #38c06a;
    color: #38c06a;
}

.alerte.alerte-info {
    background-color: rgba(18, 109, 168, .05);
    border-color: #126da8;
}

.alerte {
    text-align: left;
    letter-spacing: 0;
    opacity: 1;
}

.alerte .alerte_titre {
    font: 600 16px/19px 'Raleway';
    margin-bottom: 5px;
}

.alerte .alerte_contenu {
    font: 14px/16px 'Raleway';
}


@media screen and (min-width: 768px) {
    /*=====Commun=====*/
    .container_input {
        width: 100%;
    }

    /*Texte tooltip*/
    .text_picto {
        margin-left: 0;
        width: 100%;
    }

    .title_field {
        text-align: left;
        margin-left: 0;
    }

    .link {
        margin-left: 0;
    }

    /*=====Module connexion particulier=====*/
    .btn_access {
        text-align: center;
    }

    div.sign_in {
        width: 60%;
        box-shadow: 1px 1px 6px #DBDBDB;
        margin: 2% auto;
    }

    .sign_in form label {
        text-align: left;
    }

    section.baseline {
        text-align: center;
    }

    section.baseline.flex {
        padding: 5%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
    }

    section.baseline > div > h3 {
        text-align: center;
        margin: 0;
    }

    section.baseline > div {
        display: inline-block;
        vertical-align: middle;
    }

    .btn_access {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    /*=====Module deconnexion=====*/
    .contenu_deconnexion {
        /* 10.6rem = height header du app.min.css */
        /* 4rem = padding du #footer-bottom du app.min.css */
        /* 0.5rem = margin du #footer-bottom-left du app.min.css */
        /* 1.3rem * 1.5 = 1.95rem = line-height du #footer-bottom-left du app.min.css */
        min-height: calc(100vh - 10.6rem - 3.5rem - 0.5rem - 1.95rem); 
    }

    html:not(.no-flexbox) .bodywrapper footer #footer-bottom>.flex-container {
        justify-content: center;
    }

    #footer-bottom-left .flex-container {
        display: block;
    }

    /*=====Module reinitialisation mot de passe=====*/
    .eye {
        right: 5%;
        padding-top: 3%;
    }
}


/* ===============
	Version Desktop
==================*/
@media screen and (min-width: 992px) {
    /*=====Commun=====*/
    .flex {
        flex-direction: row;
        text-align: left;
    }

    .flex-center {
        flex-direction: column !important;
    }


    /*=====Module connexion particulier=====*/
    div.sign_in {
        width: 500px;
    }

    .container_input {
        width: 100%;
    }

    .link {
        margin-left: 0;
    }

    div.baseline {
        padding: 5% 10%;
    }

    section.baseline.flex {
        padding: 3% 10%;
        justify-content: space-around;
    }

    section.baseline > div:first-child {
        text-align: left;
    }

    .btn_access {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    /*=====Module reinitialisation mot de passe=====*/
    .box_password {
        width: 30%;
        box-shadow: 1px 1px 6px #DBDBDB;
        margin: 5% auto;
        padding: 3%;
    }

    .eye {
        right: 7%;
        padding-top: 5%;
    }


    /*=====Module connexion entreprise=====*/
    .other {
        flex-direction: row;
    }

    .particulier {
        width: 50%;
    }

    .cta {
        width: 50%;
    }

    /*=====Nouvelle mire de connexion=====*/
    .body_connexion{
        width: 98rem;
        flex-direction: row;
    }

    .body_login_particulier {
        width: 60rem;
        margin: 2rem;
    }

    .body_redirect_cta {
        width: 60rem;
    }

    .body_connexion hr {
        display: inline;
    }

    .title_cta_desktop {
        display: inline;
    }

    .title_cta_mobile {
        display: none;
    }

    .content_redirect_cta {
        display: inline;
    }
}

/* ===========================================================================
	Version Tablette spécifique footer : dû aux medias dans Jahia...
==============================================================================*/
@media screen and (min-width: 1024px) {
    .contenu_deconnexion {
        /* 11rem = height header du app.min.css */
        /* 60px = padding du #footer-middle du app.min.css */
        /* 7rem = padding du #footer-bottom du app.min.css */
        /* 1rem = margin du #footer-bottom-left du app.min.css */
        /* 1.5rem = margin de la 1ère div .links du app.min.css */
        /* 18px = height de la 1ère div .links du app.min.css */
        /* 1.5rem = margin de la 2ème div .links du app.min.css */
        /* 18px = height de la 2ème div .links du app.min.css */
        /* 1rem = margin de la classe inbl sous .links du app.min.css */
        min-height: calc(100vh - 11rem - 60px - 6.5rem - 1rem - 1.5rem - 18px - 1.5rem - 18px - 1rem); 
    }
    
    footer::before {
        content: normal
    }

    html:not(.no-flexbox) .bodywrapper footer #footer-bottom>.flex-container {
        justify-content: normal;
    }

    #footer-bottom-left .flex-container {
        display: flex;
    }
}

@media screen and (min-width: 980px) and (max-width: 1320px) {
    section.baseline.flex {
        padding: 3% 17%;
        justify-content: space-around;
    }
}

.fa-chevron-down {
    font-size: 14px;
    padding: 4px;
    transform: rotate(-90deg);
    opacity: 0.5;
}

#dropText {
    overflow: hidden;
    max-height: 500px;
}

#dropText.hide {
    max-height: 0;
    transition-duration: .4s;
    border-color: #1c335c00;
    padding: 0;
    margin-bottom: 0;
    opacity: 0;
}

.rotate {
    transform: translate(0, -0.1em) rotate(-360deg);
    transition-duration: .4s;
}

.link_id {
    text-align: left;
}

ul > li > a {
    color: #1C335C;
    font-size: 1.6rem;
    font-weight: 500;
    text-decoration: none;
}

ul > li > a:hover {
    color: #007CC2;
    text-decoration: none;
}

a:focus, a:hover, a:active {
    text-decoration: none;
}

li {
    text-align: left;
}

.link_title {
    font-weight: 600;
    display: block;
}

.link_title:nth-child(2) {
    padding-top: 12px;
}

.link li p {
    border: 2px solid rgba(28, 51, 92, 0.5);
    border-radius: .4rem;
    line-height: 1.3;
    padding: 10px;
    margin-top: 4px;
    margin-bottom: 12px;
}

.font-grey {
    color: #727272;
}
