.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    width: 100vw;
    min-height: 100vh;
    background-color: rgba(0, 10, 20,0.6);
    padding: 80px 30px 0px 30px;
    box-sizing: border-box;
    overflow-y: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.modal-content {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 30px;
    max-width: 450px;
    margin: auto auto 80px auto;
    box-shadow: 0px 10px 25px rgba(0, 10, 20, 0.3), 0px 2px 6px rgba(0, 10, 20, 0.1);
    position: relative;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
}

.modal-close svg {
    width: 24px;
    height: 24px;
    fill: #aaaaaa;
    transition: 0.2s ease;
}

.modal-close:hover,
.modal-close:focus {
    text-decoration: none;
    cursor: pointer;
}

.modal-close:hover svg,
.modal-close:focus svg {
    fill: #888888;
}

#texte-modal-mentions-legales {
    color: #E0559A;
    text-align: center;
    font-size: 26px;
    margin-bottom: 30px;
    margin-top: 10px;
}

#modal-mentions-legales b {
    color: #E0559A;
    font-size: 18px;
}

#modal-mentions-legales a {
    color: #8d154f;
    text-decoration: none;
}

#modal-mentions-legales .modal-content {
    text-align: justify;
}

#icone-chargement {
    position: fixed;
    top: calc(50vh - 25px);
    left: calc(50vw - 25px);
}

@keyframes iconeChargement {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#icone-chargement svg {
    fill: white;
    width: 50px;
    height: 50px;
    animation: iconeChargement 2s linear infinite;
}

#modal-demo .brochure-download-button {
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 10px;
    transition: 0.15s ease;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 8px rgba(0, 10, 20, 0.1), 0 0 2px rgba(0, 10, 20, 0.12);
    margin: 0 auto 30px auto;
    color: rgb(50, 60, 70);
    width: -moz-fit-content;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-demo .brochure-download-button:hover {
    background-color: #e71d42;
    color: white;
}

#modal-demo .brochure-download-button:hover svg {
    fill: white;
}

#modal-demo .brochure-download-button svg {
    margin-right: 6px;
    transition: 0.15s ease;
    fill: #e71d42;
    width: 16px;
    height: 16px;
}

.g-recaptcha > div {
    margin: 0 auto;
}

#erreur-formulaire {
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    display: none;
}

#logo-modal-demo {
    height: 150px;
    width: auto;
    margin: 10px auto 30px auto;
    display: block;
}

#texte-modal-demo {
    text-align: center;
    margin: 25px auto;
    font-size: 22px;
    color: rgb(50, 60, 70);
    font-weight: bold;
}

#bouton-envoyer-demande {
    margin: 30px auto 0px auto;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    border: none;
    background-color: #0091EA;
    color: white;
    text-transform: uppercase;
    font-family: century-gothic;
    transition: 0.15s ease;
    cursor: pointer;
}

#bouton-envoyer-demande:hover {
    opacity: 0.8;
}

#bouton-envoyer-demande:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

#bouton-envoyer-demande svg {
    fill: #ffffff;
    margin-right: 8px;
    width: 14px;
    height: 14px;
}

#message-envoye, #erreur-message-pas-envoye {
    margin-top: 30vh;
    text-align: center;
    font-size: 18px;
    color: rgb(30, 40, 50);
}

.bloc-icone-retour-demande {
    height: 50px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    width: 100%;
    fill: rgb(80, 90, 100);
}

#message-envoye .bloc-icone-retour-demande {
    fill: #78ad03;
}

.bloc-icone-retour-demande svg {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 500px) {

    .modal {
        padding: 30px 15px;
    }

    #logo-modal-demo {
        height: 140px;
    }

}

@media screen and (max-width: 450px) {

    #modal-demo .brochure-download-button {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #modal-demo .brochure-download-button svg {
        margin-right: 0;
        margin-bottom: 8px;
        width: 24px;
        height: 24px;
    }

}