﻿/* nouvelle page d'accueil */

.home-logo {
    max-width: 400px;
    padding: 25px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.home-title {
    text-transform: uppercase;
    font-family: Arial;
    font-size: 17px;
    font-weight: bold;
    color: #0071BC;
    display: flex;
    align-items: flex-end;
    margin-bottom: 24px;
    line-height: 1.2;
}

.home-blue-band {
    width: 100%;
    background-color: #0071BC;
    margin: 0;
}

.home-blue-band-header {
    height: 30px;
}

.home-blue-band-footer {
    height: 100px;
}

.home-banner {
    width: 100%;
    height: 300px;
    background-image: url(/Images/Home/Banniere.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    position: relative;
}

    .home-banner > div:first-of-type {
        background-color: white;
        bottom: 0;
        height: 175px;
        margin: auto;
        opacity: 0.8;
        position: absolute;
        right: 125px;
        top: 0;
        width: 300px;
    }

    .home-banner > div:last-of-type {
        align-items: center;
        bottom: 0;
        display: flex;
        font-family: Arial;
        font-size: 36px;
        height: 175px;
        margin: auto;
        padding: 20px;
        position: absolute;
        right: 125px;
        text-transform: uppercase;
        top: 0;
        width: 300px;
    }

.home-form {
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

    .home-form > div {
        max-width: 500px;
        text-align: center;
    }

.passe-from {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

    .passe-from > hr {
        border-bottom: 1px solid gray;
        margin-top: 10px;
        margin-bottom: 0;
        width: 400px;
    }

.inscription-from {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .home-logo {
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .home-title {
        margin-left: 30px;
    }

    .home-banner > div {
        right: 20px !important;
    }
}

/* general */
.form-check-input.is-invalid ~ .form-check-label, .was-validated .form-check-input:invalid ~ .form-check-label {
    color: #ff3300;
}

.invalid-feedback {
    color: #ff3300;
}

.accueil, .projet {
    position: absolute;
    padding: 50px;
    height: 100%;
}

    .accueil a, .projet a {
        width: 160px;
    }

    .accueil .fleche {
        position: relative;
        left: -12px;
        top: 1px;
    }

    .projet .fleche {
        position: relative;
        left: -3px;
        top: 1px;
    }

    /* animation slide */
    .accueil.translation-right {
        transform: translateX(100%) !important;
        -webkit-transition: 1s all;
        -moz-transition: 1s all;
        -o-transition: 1s all;
        transition: 1s all;
    }

    .accueil.translation-left {
        transform: translateX(0%) !important;
        -webkit-transition: 1s all;
        -moz-transition: 1s all;
        -o-transition: 1s all;
        transition: 1s all;
    }

    .projet.translation-right {
        transform: translateX(0%) !important;
        -webkit-transition: 1s all;
        -moz-transition: 1s all;
        -o-transition: 1s all;
        transition: 1s all;
    }

    .projet.translation-left {
        transform: translateX(-100%) !important;
        -webkit-transition: 1s all;
        -moz-transition: 1s all;
        -o-transition: 1s all;
        transition: 1s all;
    }

    .accueil.translation-right div {
        opacity: 0 !important;
        -webkit-transition: 1s all;
        -moz-transition: 1s all;
        -o-transition: 1s all;
        transition: 1s all;
    }

    .accueil.translation-left div {
        opacity: 1 !important;
        -webkit-transition: 1s all;
        -moz-transition: 1s all;
        -o-transition: 1s all;
        transition: 1s all;
    }

#forgot {
    cursor: pointer;
}

.final-step {
    cursor: pointer;
}

#forgot:hover {
    text-decoration: underline;
}

#dropdownRegionRepresentantInscription {
    cursor: pointer;
}

.retour-connexion {
    cursor: pointer;
}

    .retour-connexion:hover {
        text-decoration: underline;
    }

.participer.translation-right {
    color: #fff;
    -webkit-transition: 1s all;
    -moz-transition: 1s all;
    -o-transition: 1s all;
    transition: 1s all;
}


.participer.translation-left {
    color: #424242;
    -webkit-transition: 1s all;
    -moz-transition: 1s all;
    -o-transition: 1s all;
    transition: 1s all;
}

.participer hr.translation-right {
    border-top: 1px solid #fff;
    -webkit-transition: 1s all;
    -moz-transition: 1s all;
    -o-transition: 1s all;
    transition: 1s all;
}

.participer hr.translation-left {
    border-top: 1px solid #424242;
    -webkit-transition: 1s all;
    -moz-transition: 1s all;
    -o-transition: 1s all;
    transition: 1s all;
}

/* div accueil */
.accueil h1, .accueil p {
    position: relative;
    top: 10%;
    left: 13%;
}

.accueil .logo-fff {
    position: absolute;
    top: -23px;
    left: -38px;
}

.accueil h1 {
    max-width: 70%;
}

.accueil p {
    padding-top: 20px;
    font-size: 40px;
}

.accueil .lien-connexion {
    margin-top: 15px;
}

.accueil .cadre-texte {
    flex: 1;
}

/* div projet */
.projet {
    transform: translateX(-100%);
    overflow-x: auto;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .projet::-webkit-scrollbar {
        display: none;
    }

    .projet .title {
        margin-bottom: 50px;
        padding-left: 15px;
    }

        .projet .title .col-lg-8 {
            border-bottom: solid 1px #424242;
            height: 78px;
        }

        .projet .title .logo-fff {
            position: absolute;
            top: -80px;
            left: -86px;
        }

        .projet .title .title-content {
            display: block;
            margin-left: 91px;
            font-weight: 700;
            font-size: 24px;
            line-height: 1.2;
        }

/* div participer */
.participer {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 30px;
    overflow-x: auto;
}

    .participer .info {
        width: 220px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 10%;
    }

    .participer h2 {
        margin-bottom: 20px;
    }

    .participer hr {
        margin-top: 3em;
        margin-bottom: 3em;
    }

    .participer input {
        background-color: #f8f9fa;
        margin-left: auto;
        margin-right: auto;
    }

    .participer #valider {
        margin-top: 50px;
        width: 250px;
    }

#mail_contact {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Small devices (landscape phones, 991px and up) mobile */
@media (max-width: 991px) {
    h2 {
        font-size: 19px !important;
    }

    .accueil .logo-fff,
    .projet .logo-fff {
        display: none !important;
    }

    .accueil {
        position: absolute;
        text-align: center !important;
        float: inherit !important;
        background-attachment: inherit;
        height: 160px;
        padding: 20px;
    }

        .accueil .cadre-texte {
            justify-content: inherit !important;
            height: 70px !important;
        }

            .accueil .cadre-texte h1 {
                display: none;
            }

            .accueil .cadre-texte p {
                position: relative;
                top: 20px;
                left: 0;
                font-weight: bold;
                font-size: 18px !important;
                padding-top: inherit !important;
            }

        .accueil .lien-projet-mobile {
            margin-top: 15px;
            z-index: 5;
        }

    .projet {
        transform: translateX(0%);
        padding: 30px;
        display: none;
        position: relative;
        margin-top: 150px;
        height: auto !important;
    }

        .projet .title {
            text-align: center;
            margin-bottom: 30px !important;
        }

            .projet .title .col-lg-8 {
                height: auto;
            }

            .projet .title .title-content {
                top: 0;
                font-size: 19px;
                line-height: 0;
                margin: auto;
                display: inline;
            }

            .projet .title h2 {
                margin-left: auto;
                margin-right: auto;
                padding-right: 0;
            }

            .projet .title h2 {
                margin-bottom: 15px;
            }

    .participer {
        float: left;
        position: relative;
        text-align: center !important;
        height: auto !important;
        padding: 30px;
        margin-top: 150px;
    }

        .participer.mt-0 {
            margin-top: 0 !important;
            border-top: solid 1px #e9ecef;
        }

        .participer hr {
            display: none;
        }

        .participer .logo-fff-mobile {
            margin: auto;
        }

        .participer .info {
            width: 100%;
            text-align: center !important;
            margin-bottom: 50px;
            margin-top: 10px;
        }

            .participer .info p {
                font-size: 16px;
            }


        .participer #valider {
            margin-top: 20px;
        }

    .accueil.translation-right {
        transform: translateX(0%) !important;
        transition: none !important;
    }

    .projet.translation-left {
        transform: translateX(0%) !important;
        transition: none !important;
    }

    .accueil.translation-right div {
        opacity: 1 !important;
        transition: none !important;
    }

    .participer.translation-right {
        color: #424242 !important;
        transition: none !important;
    }
}

/* Medium devices (tablets, 769px and up) : tablette portrait */
@media (min-width: 768px) and (max-width: 992px) {
    .participer #valider {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .accueil h1 {
        max-width: 90%;
    }
}

/* Large devices (desktops, 992px and up) : tablette paysage */
@media (min-width: 992px) and (max-width: 1199px) {
    .participer {
        padding: 40px 30px 0 30px;
    }

        .participer h2 {
            font-size: 35px;
        }

        .participer .info {
            font-size: 170px;
        }

        .participer .info {
            font-size: 16px;
        }

        .participer hr {
            margin-top: 2em !important;
            margin-bottom: 2em !important;
        }

        .participer #valider {
            width: 196px;
            margin-top: 20px !important;
        }

    .accueil h1, .accueil .cadre-texte p {
        left: 45px;
        top: 4%;
    }

    .accueil h1, .accueil p {
        left: 8% !important;
    }

    .accueil h1 {
        max-width: 90%;
        font-size: 42px;
    }

    .accueil .cadre-texte p {
        font-size: 22px;
    }

    .projet h2 {
        font-size: 24px;
        padding-top: 5px;
    }
}

@media (min-width: 1200px) and (max-width: 1768px) {
    .accueil h1 {
        max-width: 90%;
        font-size: 62px;
    }

    .accueil h1, .accueil p {
        left: 8% !important;
    }
}