/* CSS */
/* -------------------------------------------- */
html{
    font-size: 16px;
}

body {
    font-family: 'itc-avant-garde-gothic-pro', sans-serif;
    font-family: 'calibri', sans-serif;
}

header{
    height: 100vh;
    background: url(../images/fond.jpg);
    background-size: cover;
    background-position: center;
}


/* ----- INDEX ----- */
#logo-index{
    width: 100%;
    padding-bottom: 30px;
    padding-top: 30px;
}

/* --------------- MENU --------------- */
#menu-logo{
    height: 100px;
    display: block;
    margin: auto;
}


/* -- BANNIERE -- */
.pastille{
    width: 100%;
}

.jeu-concours{
    width: 100%;
}

.img-banner{
    width: 80%;
    display: block;
    margin: auto;
}

.img-banner-cheque{
    padding-top: 40px;
    width: 100%;
    display: block;
    margin: auto;
    transform: rotate(-4deg);
}

/* ----- OFFRES ----- */
.offre-blue{
    background-color: rgba(189,208,0,1);
}

.offre-yellow{
    background-color: rgba(249,179,74,1);
}

.offre-remise-color{
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 15px;

}

.offre-image{
    width: 150px;
    margin-top: 15px;
}

.offre-remise-pourcentage{
    text-align: center;
    font-weight: 700;
    font-size: 5rem;
    margin:0;
}

.offre-remise-pourcentage-sup{
    text-align: center;
    font-weight: 700;
    font-size: 1.4rem;
    margin:0;
    padding-bottom: 10px;
}

.offre-remise-color-yellow{
    color: rgba(189,208,0);
}
.offre-lien-savoir-plus{
    text-align: center;
    color: rgba(189,208,0);
    font-size: 1.1rem;
}

.offre-lien-savoir-plus:hover{
    color: black;
    text-decoration: none;
}

.button-offre-yellow{
    border: solid 2px rgba(249,179,74,1);
    background-color: rgba(249,179,74,1);
}

.button-offre-yellow:hover{
    border: solid 2px rgba(249,179,74,1);
}

.button-offre-dark-blue{
    border: solid 2px rgba(0,155,208,1);
    background-color: rgba(0,155,208,1);
}

.button-offre-dark-blue:hover{
    border: solid 2px rgba(0,155,208,1);
}

.offre-caracteristiques{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 5px;
    justify-content: center;
}

.offre-caracteristiques-text{
    padding-left: 15px;
    padding-right: 15px;
}

/* --------------- FOOTER --------------- */
#fond-footer{
    margin:0;
    height: 80px;
    width: 100%;
    background-color: rgba(76,81,81,1);
    margin-top:3rem;
    bottom: 0;
    align-items: center;
}

.text-footer{
    font-size: 1rem;
    color:rgba(255,255,255,0.9);
}

#marges-footer{
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin:0;
    padding-top:2rem;
    margin-right: auto;
    margin-left: auto;
    bottom: 0;
}

footer a{
    color: rgba(255,255,255,0.6);
}

footer a:hover{
    color: rgba(255,255,255,0.7);
    text-decoration: underline;
}

#mentions{
    margin-top:1rem;
}

@media (max-width:992px){
    #fond-footer{
        height: 130px;
    }
    .text-footer{
        text-align: center!important;
    }
    #marges-footer{
        margin-top:3rem;
    }
}

/* ----- MODALS ----- */
.modal-footer{
    justify-content: center;
}

.logo-de-modal{
    width: 150px;
    display: block;
    margin: auto;
}

.modal-header .close {
    margin: 0;
}

.buttons-modal{
    width: 90%;
    margin: auto;
    padding-top: 15px;
}

.button-modal{
    display: flex;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    height:40px;
    width: 100%;
    border-radius:10px;
    font-weight:700;
    line-height: 1.8;
}

.button-modal:hover{
    background-color: white;
    color: black;
    text-decoration: none;
}

@media (max-width:576px){
    .button-modal{
        font-size: 0.9rem;
        line-height: 2.2;
    }
}


/* Modal agence */
.titre-modal{
    display: block;
    margin: auto;
    margin-top: 15px;
}

.text-agence{
    display: block;
    margin: auto;
}

.text-agence-modal{
    text-align: center;
    font-size: 1.3em;
    font-weight: 500;
}

.text-agence-valeur{
    font-weight: bold;
    padding-top: 15px;
    padding-bottom: 15px;
}

.flex-agence{
    display: flex;
    align-items: center;
}

.text-agence{
    width: 50%;
}

.photo-agence{
    width: 50%;
}

#img-agence{
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
    display: block;
    margin: auto;
}

.flex-agence .buttons-modal{
    padding-top: 0;
}


/* Block agence */
.text-agence-block{
    font-size: 1.1em;
    font-weight: 500;
}

#div-agence{
    display: flex;
    align-items: center;
    margin-top: 35px;
    margin-bottom: 35px;
}

#img-agence-block{
    width: 350px;
}

.agence-block{
    margin-left: 25px;
}

.agence-block h1{
    text-align: left;
}


/* ----- Général ----- */
.img-responsive{
    object-fit: cover;
}

.gras{
    font-weight: 700;
}

.text-yellow{
    color: rgba(249,179,74,1);
}

.text-petit{
    margin-top: 80px;
    font-size: 0.8rem;
}

.exposant {
    position: relative;
    bottom: 1px;
    font-size: 0.5em;
    line-height: .8em;
    vertical-align:super;
    text-decoration:none;
}

.exposant-offres {
    position: relative;
    bottom: 10px;
    font-size: 0.3em;
    vertical-align:super;
    text-decoration:none;
}

.retrait-gauche{
    padding-left: 1.6rem;
}

.retrait-gauche-2{
    padding-left: 5.6rem;
}

.retrait-gauche-2 a{
    color:rgba(0,155,208,1);
}

.retour-marges{
    margin-top: 1.3rem;
}


/* ----- Titres ----- */
h4{
    text-align: center;
    font-weight: bold;
    font-size: 1.3rem;
}

h5{
    text-align: center;
    font-weight: bold;
    font-size: 1.3rem;
    color: #fff;
}

h7{
    font-weight: 700;
    font-size: 1.2rem;
    padding-bottom: 0.2rem;
    margin-top: 1.3rem;
}

h8{
    font-family: 'itc-avant-garde-gothic-pro', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    padding-bottom: 0.2rem;
    padding-top:0.2rem;
}

h9{
    font-weight: 700;
    font-size:1.1rem;
    padding-left:4rem;
}

/* -- Jeu concours -- */
#formulaire-jeu{
    width: 92%;
    display: block;
    margin: auto;
}

#jeu-concours-form label{
    margin-bottom: 0px;
}

.input-text {
    width : 100%;
    border-radius: 5px;
    padding: .25em .75em;
    font-size: 1.1em;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25em;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.input-text:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2em rgba(0,123,255,.25);
}

.input-checkbox{
    margin-right: 5px;
    margin-top: 5px;
    zoom: 1.5;
}

.text-checkbox{
    font-size: 0.9em;
    color: #000;
}

.text-reglement{
    font-size: 0.8em;
    color: #000;
    text-align: center;
}

.boutons-check{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
}

label{
    color: #000;
}

.mentions-jeu a {
    color: #00c1ff;
    opacity: 0.8;
    transition: all 0.5s;
}

.mentions-jeu a:hover{
    opacity: 1;
}

.button-jeu{
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-transform: uppercase;
    width: 150px;
    height: 35px;
    font-size: 1.2em;
    border-radius: 100px;
    font-weight: 700;
    color: black;
    background: white;
    border: solid 2px #fff;
    -webkit-transition: all .5s;
    transition: all .5s;
    margin-top: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.25);
    text-decoration: none;

}

.button-jeu:hover {
    border: #00c1ff;
    background: #00c1ff;
    color: white;
    box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.marges-radio{
    margin-right: 5px;
}

.marges-input-text{
    margin-top: 20px;
}

.boutons-check p {
    margin-bottom: 0;
}

/* ---------- Blocks ---------- */
#marges-blocks{
    margin-top: 25px;
}

.block-conteneur-yellow{
    width: 350px;
    height: 770px;
    border-radius: 15px;
    border: solid #bdd000 2px;
    background: #bdd000;
    display: block;
    margin: auto;
}

.block-conteneur-blue{
    width: 350px;
    height: 770px;
    border-radius: 15px;
    border: solid #00c1ff 2px;
    background: #00c1ff;
    display: block;
    margin: auto;
}

@media (max-width:380px){
    .block-conteneur-yellow{
        width: 100%;
    }
    .block-conteneur-blue{
        width: 100%;
    }
}

.block-center{
    padding-bottom: 25px;
    display: block;
    margin: auto;
}

h1{
    font-weight: bold;
    text-align: center;
    font-family: 'itc-avant-garde-gothic-pro', sans-serif;
    text-transform: uppercase;
    font-size: 2em;
}

h3{
    font-size: 1.5em;
    text-align: center;
    font-weight: bold;
    font-family: 'itc-avant-garde-gothic-pro', sans-serif;
}

.marge-h3{
    display: block;
    margin: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
}

.h3-white{
    background: #fff;
}

.button-center{
    display: flex;
    justify-content: center;
    padding-bottom: 15px;
}

.button-souscrire{
    display:inline-block;
    color: #000;
    background: #fff;
    text-transform: uppercase;
    font-size: 1.2em;
    text-align:center;
    height:35px;
    width: 210px;
    border-radius:100px;
    font-weight:700;
    line-height: 1.7;
    box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.button-souscrire:hover{
    background: #AA8C66;
    color: white;
    box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

#img-bravo{
    width: 70%;
    display: block;
    margin: auto;
}

#msg-ok{
    margin-top: 150px;
}

.paragraphe{
    font-size: 18px;
}

#row-flex{
    height: 75vh;
    align-items: center;
}

.mentions{
    display: block;
    margin: auto;
}

.mise-en-valeur{
    color:#fff;
    font-weight: bold;
}

.text-checkbox a{
    color: #fff;
    opacity: 0.7;
}

.text-checkbox a:hover{
    opacity: 1;
}


/* --------------- TIRAGE AU SORT --------------- */
#contour{
    margin-top: 25px;
    width:100%;
    border: solid #00c1ff 2px;
    border-radius: 15px;
    margin-left: 15px;
    margin-right: 15px;
}

#img-machine-sous{
    display: block;
    margin: auto;
    width: 80px;
    margin-top: 25px;
    padding-bottom: 20px;
}

.margin-bot{
    padding-bottom: 25px;
}



/* --------------- TO TOP --------------- */
#btn-scroll-top{
    z-index: 15;
    font-weight: 700;
    font-size: 1.3rem;
    color: white;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: all 0.7s ease-out;
    height: 43px;
    width: 43px;
    padding-top: 10.5px;
    border-radius: 100px;
    background-color: rgba(76,81,81,1);
    opacity: 1;
    text-align: center;
}

#btn-scroll-top:hover{
    background-color: rgba(0,180,198,1);
}




/* ----- MEDIAS QUERIES ----- */
@media (max-width:991px){
    .flex-agence{
        flex-direction: column-reverse;
    }
    .photo-agence{
        width: 100%;
    }
    .text-agence{
        width: 100%;
        margin-top: 25px;
    }
    #img-agence{
        width: 320px;
    }
}

@media (max-width:768px){
    #row-flex{
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .img-banner-marges{
        padding-bottom: 70px;
    }
    header{
        height: 100%;
        padding-bottom: 50px;
    }
    #div-agence{
        flex-direction: column;
    }
    .agence-block{
        margin-left: 15px;
        margin-right: 15px;
        margin-top: 25px;
    }
    .agence-block h1{
        text-align: center;
    }
    .text-agence-block{
        text-align: center;
    }
}

@media (max-width:576px) {
    #fond-footer{
        height: 170px;
    }
    .paragraphe{
        font-size: 16px;
    }
    #img-agence{
        width: 90%;
    }
}

@media (max-width:360px){
    #menu-logo {
        height: 40px;
    }
    #img-agence-block{
        width: 300px;
    }
    #img-agence{
        width: 100%;
    }
}
