#dlgContenant {
    font-size: 1.1vw;
}

.gDialogue-Modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgb(34, 54, 84, 0.4);
    z-index: 999;
}

.gDialogue-Non-Modal {
    position: fixed;
    bottom: 1em;
    right: 1em;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    animation: animationDialogue ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes animationDialogue {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.gDialogue-Boite {
    background-color: #ffffff;
    box-shadow: 0 0 3px #bbbbbb;
    border: 1px solid #b2b2b2;
    max-width: 30em;
    height: auto;
}

.gDialogue-Header {
    margin-bottom: 1.3em;
    display: flex;
    justify-content: space-between;
    padding: 2em 2em 0em;
}

.gDialogue-Titre {
    font-family: "Roboto";
    font-weight: bold;
    font-size: 1.3em;
    color: #223654;
}

.gDialogue-Titre:after {
    content: "";
    display: block;
    margin: 0em;
    width: 2.5em;
    padding-top: 0.25em;
    border-bottom: 4px solid #e58271;
}

.gDialogue-Icone-Btn-Fermer {
    content: url("../Icons/close_icon.svg");
}

.gDialogue-Btn-Fermer {
    margin-top: -1em;
    margin-right: -1em;
    cursor: pointer;
}

.gDialogue-Texte {
    font-weight: regular;
    font-size: 1em;
    color: #223654;
    margin-bottom: 1.3em;
    padding-left: 2em;
    padding-right: 2em;
}

.gDialogue-Controles {
    display: flex;
    flex-direction: row;
    justify-content: end;
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 2em;
}

.gDialogue-Controles .gDialogue-Ok,
.gDialogue-Controles .gDialogue-Annuler {
    flex-basis: 20%;
    text-align: center;
    font-size: 0.9em;
}

.gDialogue-Controles .gDialogue-Annuler {
    margin-right: 1em;
}

/******** Boutons ********/

#dlgContenant .btn-principal:disabled,
#dlgContenant .btn-secondaire:disabled,
#dlgContenant .btn-tertiaire:disabled {
    opacity: 0.65;
}

/* bouton principal */
#dlgContenant .btn-principal {
    cursor: pointer;
    font-weight: bold;
    line-height: 1.3em;
    display: inline-block;
    box-sizing: border-box;
    min-width: 6em;
    padding: 0.5em 1em;
    transition: all 0.24s ease-in-out;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    border: 0.15em solid transparent;
    border-radius: 0;
    color: #fff;
    border-color: #095797;
    background-color: #095797;
    box-shadow: 0 0.05em 0.3em rgba(34, 54, 84, 0.16);
    /* pour safari */
    -webkit-appearance: none;
}

#dlgContenant .btn-principal:hover:enabled {
    border-color: #156bb2;
    background-color: #156bb2;
}

#dlgContenant .btn-principal:focus {
    border-color: #223654;
    background-color: #156bb2;
    box-shadow: 
        0 0.15em 0.6em rgba(34, 54, 84, 0.16),
        0 0 0 0.15em #4a98d9;
}

#dlgContenant .btn-principal:active:enabled {
    border-color: #3783c9;
    background-color: #3783c9;
}

/* bouton secondaire */
#dlgContenant .btn-secondaire {
    cursor: pointer;
    font-weight: bold;
    line-height: 1.3em;
    display: inline-block;
    box-sizing: border-box;
    min-width: 6em;
    padding: 0.5em 1em;
    transition: all 0.24s ease-in-out;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    border: 0.15em solid transparent;
    border-radius: 0;
    color: #095797;
    background-color: transparent;
    border-color: #095797;
}
#dlgContenant .btn-secondaire:hover:enabled {
    background-color: rgba(9, 87, 151, 0.16);
}
#dlgContenant .btn-secondaire:focus {
    border-color: #223654;
    background-color: rgba(9, 87, 151, 0.16);
    box-shadow: 0 0 0 0.15em #4a98d9;
}
#dlgContenant .btn-secondaire:active:enabled {
    background-color: rgba(9, 87, 151, 0.08);
}

/* bouton tertiaire */
#dlgContenant .btn-tertiaire {
    cursor: pointer;
    font-weight: bold;
    line-height: 1.3em;
    display: inline-block;
    box-sizing: border-box;
    min-width: 6em;
    padding: 0.5em 1em;
    transition: all 0.24s ease-in-out;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    border: 0.15em solid transparent;
    border-radius: 0;
    color: #095797;
    background-color: transparent;
}
#dlgContenant .btn-tertiaire:hover:enabled {
    text-decoration: underline;
    background-color: rgba(197, 202, 210, 0.24);
}
#dlgContenant .btn-tertiaire:focus {
    border-color: #223654;
    background-color: rgba(197, 202, 210, 0.24);
    box-shadow: 0 0 0 0.15em #4a98d9;
}
#dlgContenant .btn-tertiaire:active:enabled {
    background-color: rgba(197, 202, 210, 0.16);
}

.gDialogue-Modal {
    overflow: hidden;
    position: fixed;
}

/*********************************************************************************************************************/
/******************************************************************************************************* media 1024 ***/
/*********************************************************************************************************************/

@media (max-width: 1024px) {
    #dlgContenant {
        font-size: 1.5vw;
    }
}

/*********************************************************************************************************************/
/******************************************************************************************************* media 640 ***/
/*********************************************************************************************************************/

@media (max-width: 640px) {
    #dlgContenant {
        font-size: 3.5vw;
    }

    .gDialogue-Non-Modal {
        left: 1em;
    }
}