
@import "./fonts/GothamRnd.css";
@import "./fonts/Poppins.css";
@import "./fonts/Raleway.css";


* {
    margin: 0;
    padding: 0;
    border: 0;
    --main-color: #002C77;
    --main-color-op1: rgba(0, 44, 119, 0.1);
    --main-color-op05: rgba(0, 44, 119, 0.05);
    --menu-mobile-color: #F0F2F7;
    --third-color: #00968F;
    --fourth-color: #DCDCDC;
}

body {
    font-family: 'Poppins', sans-serif;
    color: black;
}
/*######################################################*/
/*                      LOGIN                           */
/*######################################################*/

.login {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

    .login .visuel,
    .login .connexion {
        width: 100%;
        height: 100vh;
    }

    .login .visuel {
        background-image: url('images/homepage_visuel.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        position: relative;
        z-index: 10;
    }

        .login .visuel .layout,
        .login .visuel .title {
            width: 100%;
            height: 100%;
            position: absolute;
        }

        .login .visuel .layout {
            background-color: #000000;
            opacity: 15%;
            top: 0;
            left: 0;
        }

    .login .title {
        z-index: 10;
        color: #FFFFFF;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 55px;
        line-height: 65px;
        text-shadow: #00000029 0 0 30px;
    }

        .login .title span {
            font-weight: bold;
            font-size: 65px;
        }


    .login .connexion {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: relative;
        flex-direction: column;
    }

        .login .connexion .layout {
            background: transparent radial-gradient(closest-side at 50% 50%, var(--main-color) 0%, #FFFFFF00 100%) 0% 0% no-repeat padding-box;
            opacity: 15%;
            top: 0;
            left: 0;
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .login .connexion .panel {
            z-index: 10;
        }

.pwd {
    position: relative;
}

    .pwd .pwd-eye {
        position: absolute;
        top: 2.5em;
        right: 1em;
        cursor: pointer;
        color: #cacaca;
    }

    .pwd .secret {
        color: black;
    }

.panelLogin {
    min-width: 400px;
    width: 50%;
    margin: 0 auto;
    background-image: url('images/logo.png');
    background-position: 50% 0;
    background-size: 50%;
    background-repeat: no-repeat;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    padding-top: 90px;
}


    .panelLogin .formulaire {
        background-color: #FFFFFF;
        border: 1px solid #002C771A;
        border-radius: 10px;
        padding: 20px;
        width: 100%;
    }

    .panelLogin h2 {
        font-size: 1em;
        margin: 0;
        padding: 0;
    }

    .panelLogin .form-label {
        font-weight: 500;
        color: var(--main-color)
    }

    .panelLogin .link {
        color: #000000;
        padding: 0;
        margin: 0;
        text-decoration: none;
        font-weight: 500;
    }

    .panelLogin .btn {
        margin-top: 2em;
        width: 100%;
    }

.CreerCompte {
    margin-top: 2em;
}

    .CreerCompte span {
        display: block;
        font-weight: 500;
        color: var(--main-color)
    }

    .CreerCompte .btn-secondary {
        width: 100%;
        padding: 0.75em;
    }

.cadre {
    background-color: #FFFFFF;
    border: 1px solid #002C771A;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
}

.infoMail {
    color: var(--main-color);
}

    .infoMail a {
        text-decoration: none;
        font-weight: 500;
        color: var(--main-color);
    }
/*#### POPUP INFO ####*/
.head {
    display: flex;
    justify-content: space-between;
    align-content: center;
}

.info {
    border-radius: 50%;
    background: var(--main-color);
    width: 20px;
    height: 20px;
    display: block;
    text-align: center;
    color: white;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: georgia;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}

    .info:hover .popup {
        display: block;
        opacity: 1;
        transform: scale(1);
    }

.popup {
    display: none;
    text-align: center;
    color: white;
    background: var(--main-color);
    position: absolute;
    top: 25px;
    font-family: "poppins", sans-serif;
    font-size: 0.75rem;
    padding: 10px;
    border-radius: 10px;
    width: 200px;
    font-weight: normal;
    z-index: 1;
}

    .popup:before {
        content: "\0025B2";
        position: absolute;
        top: -1em;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12px;
        color: var(--popup-color);
    }

/*######################################################*/
/*                      MAIN                            */
/*######################################################*/
.menuMobile {
    border: 2px solid var(--main-color);
    border-radius: 10px;
    color: var(--main-color);
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    margin-top: 20px;
    margin-left: 20px;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1;
}


    .menuMobile i {
        font-size: 30px;
    }


nav {
    height: 100vh;
    width: 310px;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    border-right: 1px solid rgba(0, 159, 255, 0.1);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 20px;
    line-height: 25px;
    background-color: var(--main-color-op05);
}

    nav ul {
        list-style-type: none;
        padding: 0 !important;
    }

        nav ul li {
            margin-top: 10px;
            margin-bottom: 10px;
            width: 240px;
            height: 40px;
            display: flex;
            align-items: center;
            border-radius: 10px;
        }

            nav ul li i {
                padding-left: 15px;
            }


            nav ul li.actif {
                background-color: var(--main-color);
                border-radius: 10px;
                color: #FFFFFF;
            }


                nav ul li.actif a, nav ul li.actif a:hover {
                    color: white;
                }

            nav ul li a {
                padding-left: 15px;
            }

                nav ul li a, nav ul li a:hover {
                    color: black;
                    text-decoration: none;
                }


    nav .logo {
        background-image: url('images/logo.png');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        width: 180px;
        height: 85px;
        margin-bottom: 65px;
        margin-top: 27px;
    }


    nav .close {
        font-family: 'FontAwesome';
        position: absolute;
        color: var(--main-color);
        right: 0;
        margin-top: 35px;
        margin-right: 20px;
        font-size: 20px;
        display: none;
    }

        nav .close i {
            font-size: 40px;
        }


main {
    margin-left: 310px;
    min-height: 750px;
    margin-bottom: 30px;
    position: relative;
}

    main .layout {
        width: 100%;
        height: 100%;
        position: absolute;
        background: transparent radial-gradient(closest-side at 50% 10%, var(--main-color) 0%, #FFFFFF00 100%) 0% 0% no-repeat padding-box;
        opacity: 0.15;
        z-index: -10;
    }

.text-danger {
    font-size: 0.9rem;
}

.error {
    font-size: 0.9rem;
    text-align: center;
    padding-top: 1em;
}

.btn-primary {
    margin-top: 0.5em;
    border: none;
    padding: 0.5em;
    background-color: var(--main-color);
    color: #FFFFFF;
}

.btn-secondary {
    color: var(--main-color);
    font-weight: bold;
    background-color: white;
    border: 1px solid #DCDCDC;
}

    .btn-secondary:hover {
        background-color: #DCDCDC;
    }
/*######################################################*/
/*                      Homepage                        */
/*######################################################*/


.homepage {
    margin-top: 90px;
    margin-left: 200px;
    margin-right: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

    .homepage .title {
        color: var(--main-color);
        font-size: 30px;
        text-align: left;
        letter-spacing: 0px;
        line-height: 46px;
        font-weight: 600;
        display: flex;
        flex-direction: column;
        margin-bottom: 30px;
    }

    .homepage .subtitle {
        font-size: 25px;
        line-height: 30px;
        font-weight: 600;
        text-align: left;
        position: relative;
        margin-bottom: 10px;
    }

        .homepage .subtitle span {
            font-size: 16px;
            line-height: 20px;
            font-weight: normal;
            text-align: left;
        }


    .homepage .page {
        width: 100%;
    }


    .homepage .blocGarantie {
        background-color: var(--third-color);
        border-radius: 10px;
        margin-bottom: 40px;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 15px 21px;
        font-size: 20px;
        line-height: 25px;
        color: white;
    }

        .homepage .blocGarantie > div {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            flex: 1;
            font-family: 'Source Sans Pro', sans-serif;
        }

        .homepage .blocGarantie b {
            font-size: 25px;
            line-height: 38px;
            font-weight: 600;
            font-family: 'Poppins', sans-serif;
            padding-right: 10px;
        }

    .homepage.resiliation .formulaire {
        padding: 20px;
        font-family: 'Source Sans Pro', sans-serif;
    }

        .homepage.resiliation .formulaire label {
            color: var(--main-color);
            font-size: 20px;
            line-height: 25px;
            font-weight: 600;
            margin-bottom: 0;
        }

        .homepage.resiliation .formulaire div {
            margin-bottom: 20px;
        }

        .homepage.resiliation .formulaire .text-danger {
            color: #CE0000 !important;
            font-size: 16px;
            line-height: 20px;
            font-weight: 600;
        }

        .homepage.resiliation .formulaire .form-control {
            border: 1px solid #DCDCDC;
            height: 50px;
        }

    .homepage.resiliation .bloc {
        border: 1px solid #DCDCDC;
        border-radius: 10px;
        margin-bottom: 20px;
    }

        .homepage.resiliation .bloc hr {
            margin: 0 10px;
        }

        .homepage.resiliation .bloc .tableau {
            margin: 0;
        }

        .homepage.resiliation .bloc .subtitle {
            padding: 15px 17px;
        }

        .homepage.resiliation .bloc .tableau .ligne {
            display: flex;
            flex-direction: row;
            padding: 15px 17px;
        }

        .homepage.resiliation .bloc .tableau a, .homepage.resiliation .bloc .tableau a:hover {
            text-decoration: none;
        }

        .homepage.resiliation .bloc .tableau .ligne.data:hover {
            background-color: var(--main-color);
        }

        .homepage.resiliation .bloc .tableau .ligne.data {
            padding: 15px 15px;
            position: relative;
        }

        .homepage.resiliation .bloc .tableau {
            font-size: 20px;
            line-height: 25px;
            text-decoration: none;
            color: black;
            font-family: 'Source Sans Pro', sans-serif;
        }

            .homepage.resiliation .bloc .tableau .ligne.data .cell {
                color: black;
                font-weight: 600;
            }

            .homepage.resiliation .bloc .tableau .ligne.data:hover .cell {
                color: white;
            }

            .homepage.resiliation .bloc .tableau .ligne.data:hover::after {
                color: white;
            }

            .homepage.resiliation .bloc .tableau .ligne.data::after {
                content: "\f138";
                font-family: "FontAwesome";
                width: 20px;
                height: 20px;
                position: absolute;
                right: 0;
                color: black;
                margin-right: 20px;
            }

            .homepage.resiliation .bloc .tableau .ligne .cell {
                flex: 1 1 0px;
            }

        .homepage.resiliation .bloc .infosContrat {
            padding: 20px;
            display: flex;
        }

            .homepage.resiliation .bloc .infosContrat div {
                display: flex;
                flex-direction: column;
                flex: 1 1 0px;
                font-family: 'Source Sans Pro', sans-serif;
                font-size: 20px;
                line-height: 25px;
            }

            .homepage.resiliation .bloc .infosContrat .element {
                display: flex;
                flex-direction: row;
            }

            .homepage.resiliation .bloc .infosContrat .btn {
                flex: none;
            }

            .homepage.resiliation .bloc .infosContrat .col2 {
                flex: 1.5;
            }

            .homepage.resiliation .bloc .infosContrat .btn2 a {
                width: 260px;
            }

            .homepage.resiliation .bloc .infosContrat .btn3 a {
                width: 150px;
            }

            .homepage.resiliation .bloc .infosContrat .btn2, .homepage.resiliation .bloc .infosContrat .btn3 {
                align-items: end;
            }

        .homepage.resiliation .bloc.confirmation, .homepage .bloc.informatif {
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-size: 20px;
            line-height: 25px;
            color: black;
            font-family: 'Source Sans Pro', sans-serif;
            text-align: center;
        }

            .homepage.resiliation .bloc.confirmation i {
                color: var(--main-color);
                font-size: 100px;
                margin-bottom: 20px;
            }


/*######################################################*/
/*                      Profil                          */
/*######################################################*/

.profil {
    background-color: var(--main-color);
    border-radius: 10px;
    color: #FFFFFF;
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 50px;
    margin-right: 50px;
    padding: 13px 17px;
    cursor: pointer;
    font-family: 'Source Sans Pro', sans-serif;
}

    .profil i {
        margin-left: 10px;
    }

.profilPopup {
    display: none;
    position: absolute;
    left: -300%;
    top: 120%;
    z-index: 9;
    width: 400px;
    background-color: var(--main-color);
    border-radius: 10px;
    padding: 11px 19px;
}

    .profilPopup .title {
        font-size: 25px;
        line-height: 38px;
        font-weight: 600;
        font-family: 'Poppins', sans-serif;
    }

    .profilPopup hr {
        border: 1px solid white;
    }

    .profilPopup .liens {
        display: flex;
        flex-direction: column;
    }

        .profilPopup .liens a, .profilPopup .liens a:hover {
            color: white;
            text-decoration: none;
            font-size: 20px;
            line-height: 25px;
        }

        .profilPopup .liens .lien {
            margin-bottom: 15px;
        }

            .profilPopup .liens .lien i {
                width: 20px;
                margin-right: 10px;
            }


/*######################################################*/
/*                      FIL ARIANNE                     */
/*######################################################*/

.filAriane {
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-weight: bold;
    align-items: center;
    height: 50px;
    margin-bottom: 30px;
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
}

    .filAriane div {
        height: 100%;
        position: relative;
        flex: 1 1 0px;
        background-color: var(--fourth-color);
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .filAriane div.actif {
            background-color: var(--third-color);
        }

        .filAriane div:last-child {
            border-radius: 0 10px 10px 0;
        }

        .filAriane div:first-child {
            border-radius: 10px 0 0 10px;
        }

        .filAriane div::after {
            content: '';
            position: absolute;
            top: 0;
            right: -25px;
            width: 49px;
            height: 49px;
            transform: scale(0.707) rotate(45deg);
            z-index: 1;
            background: var(--fourth-color);
            border-right: 2px solid var(--fourth-color);
            border-top: 2px solid var(--fourth-color);
        }

        .filAriane div.actif::after {
            background: var(--third-color);
        }

        .filAriane div:last-child:after {
            content: none;
        }

.filArianeMobile {
    display: none;
    flex-direction: column;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 10px;
}

    .filArianeMobile div {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        margin-bottom: 5px;
    }


    .filArianeMobile .num {
        background-color: var(--fourth-color);
        width: 40px;
        height: 40px;
        padding: 10px;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        margin-right: 10px;
    }

    .filArianeMobile .actif .num {
        background-color: var(--third-color);
    }

    .filArianeMobile .lib {
        justify-content: flex-start;
        align-items: center;
        border-radius: 10px;
        color: var(--fourth-color);
    }

    .filArianeMobile .actif .lib {
        color: var(--main-color);
    }

    .filArianeMobile .actif.prev .lib {
        color: var(--fourth-color);
    }
/*######################################################*/
/*                      footer                          */
/*######################################################*/

footer {
    height: 50px;
    border-top: 1px solid #DCDCDC;
    margin-left: 330px;
    margin-right: 20px;
    margin-top: 70px;
    z-index: 10;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    footer a, footer a:hover {
        color: black;
        font-size: 16px;
        line-height: 20px;
        text-decoration: none;
        margin-left: 10px;
        margin-right: 10px;
    }


.connexion footer {
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 0 auto 0 auto;
    position: absolute;
    bottom: 0;
}
/*######################################################*/
/*                      DIVERS                          */
/*######################################################*/
.wide a {
    display: block;
}

.buttonBack, .buttonBack:hover {
    border: 1px solid #DCDCDC;
    border-radius: 15px;
    padding: 5px 15px;
    color: black;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
    text-decoration: none;
    margin-bottom: 13px;
}

    .buttonBack::before {
        content: "\f060";
        font-family: "FontAwesome";
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }


.buttonUpdate, .buttonUpdate:hover {
    border: 1px solid var(--main-color);
    background-color: var(--main-color-op1);
    color: var(--main-color);
    padding: 8px 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
    text-decoration: none;
    margin-bottom: 13px;
}

    .buttonUpdate:hover {
        background-color: var(--main-color);
        color: white;
    }

    .buttonUpdate::before {
        content: "\f304";
        font-family: "FontAwesome";
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }

    .buttonUpdate.noPic::before {
        content: "";
    }

.buttonValidate {
    border: 1px solid var(--main-color);
    background-color: var(--main-color-op1);
    color: var(--main-color);
    padding: 12px 0;
    border-radius: 5px;
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
    width: 100%;
    position: relative;
}

    .buttonValidate:hover {
        background-color: var(--main-color);
        color: White;
    }

    .buttonValidate::after {
        content: "\f138";
        font-family: "FontAwesome";
        width: 20px;
        height: 20px;
        position: absolute;
        right: 0;
        color: black;
        margin-right: 20px;
        color: var(--main-color);
    }

    .buttonValidate:hover::after {
        color: White;
    }

.mentions {
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 20px;
    color: var(--main-color);
    max-height: 100px;
    overflow: hidden;
    cursor: pointer;
    transition: max-height 0.2s;
    padding-right: 20px;
    position: relative;
}


    .mentions:after {
        position: absolute;
        bottom: 0;
        height: 100%;
        width: 100%;
        content: "";
        background: linear-gradient(to top, rgba(255,255,255, 1) 20%, rgba(255,255,255, 0) 80% );
        pointer-events: none;
        right: 20px;
    }

    .mentions:hover {
        max-height: 800px;
        transition: max-height 1s;
    }

        .mentions:hover:after {
            display: none;
        }

    .mentions i {
        position: absolute;
        right: 0px;
    }


/****************************************************************************/
/*                          Gestion des @media                              */
/****************************************************************************/
@media only screen and (max-height: 650px) {
    .panelLogin {
        padding-top: 60px;
    }

        .panelLogin .btn {
            margin-top: 1em;
        }

    .CreerCompte {
        margin-top: 0.5em;
    }
}

@media only screen and (max-width: 1580px) {

    .homepage {
        margin-left: 50px;
        margin-right: 50px;
    }
}

@media only screen and (max-width: 1270px) {

    .visuel .title {
        font-size: 45px;
        line-height: 55px;
    }

    .homepage {
        margin-left: 20px;
        margin-right: 20px;
    }

        .homepage .blocGarantie b {
            line-height: 30px;
        }
}

@media only screen and (max-width: 1024px) {


    nav {
        height: 100vh;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-left: 20px;
        z-index: 20;
        background-color: var(--menu-mobile-color);
    }

        nav.show {
            display: flex;
        }

        nav .logo {
            height: 50px;
            margin-bottom: 25px;
        }

        nav .close {
            display: block;
        }

    .menuMobile {
        display: flex;
    }

    footer {
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        justify-content: space-around;
    }

        footer a, footer a:hover {
            width: 100%;
            text-align: center;
            margin: 0;
        }



    main {
        margin-left: 0px;
    }

    .profil {
        margin-top: 20px;
        margin-right: 20px;
    }

    .profilPopup .title {
        font-size: 20px;
    }

    .profilPopup {
        width: 325px;
        left: -228%;
    }

    .homepage {
        margin-top: 110px;
        margin-left: 20px;
        margin-right: 20px;
    }

        .homepage .title {
            font-size: 25px;
            line-height: 38px;
        }

        .homepage .subtitle {
            font-size: 20px;
            line-height: 25px
        }

            .homepage .subtitle .infos {
                display: none;
            }

        .homepage .blocGarantie {
            flex-direction: column;
            align-items: flex-start;
            padding: 10px 10px;
            max-height: 100%;
            font-size: 18px;
        }

            .homepage .blocGarantie > div {
                flex-direction: row;
            }

            .homepage .blocGarantie b {
                font-size: 20px;
            }

    .filAriane {
        display: none;
    }

    .filArianeMobile {
        display: flex;
    }

    .homepage.resiliation .bloc .tableau {
        font-size: 16px;
    }

        .homepage.resiliation .bloc .tableau .ligne.data .cell {
            font-weight: normal;
        }

            .homepage.resiliation .bloc .tableau .ligne.data .cell:first-child {
                font-weight: 600;
                font-size: 18px;
            }

        .homepage.resiliation .bloc .tableau .ligne {
            flex-direction: column;
        }

            .homepage.resiliation .bloc .tableau .ligne.entete {
                display: none;
            }

        .homepage.resiliation .bloc .tableau hr:first-of-type {
            display: none;
        }

    .homepage.resiliation .bloc .infosContrat {
        flex-direction: column-reverse;
        justify-content: flex-start;
    }

        .homepage.resiliation .bloc .infosContrat .element {
            flex-direction: column;
        }

        .homepage.resiliation .bloc .infosContrat .element {
            margin-bottom: 10px;
        }

        .homepage.resiliation .bloc .infosContrat .btn2, .homepage.resiliation .bloc .infosContrat .btn3 {
            align-items: flex-start;
        }

    .buttonUpdate, .buttonUpdate:hover, .buttonUpdate, .buttonValidate {
        font-size: 18px;
    }

    .homepage.resiliation .bloc.confirmation, .homepage .bloc.informatif {
        font-size: 18px;
    }
}

@media only screen and (max-width: 990px) {
    .visuel {
        display: none;
    }

        .visuel .title {
            font-size: 45px;
            line-height: 55px;
        }
}

@media only screen and (max-width: 600px) {


    .popup {
        top: -90px;
        right: 20px;
    }

        .popup:before {
            display: none;
        }

    .panelLogin .btn {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}
