.formulaire{
    display: flex;
    flex-direction: column;
    align-items: center;


}
/*
Mise en forme générale du formulaire et de ses input
*/
form{
    color:#145D79;
    font-family: Verdana, sans-serif;
    padding:20px;
    border:2px solid #145D79;
    border-radius: 10px;
    box-shadow: 0 0 0 2px #90C2E7;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.form_titre{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom:10px;
}
.form_titre h3{
    height: 60px;
    padding-left: 5px;
    color:black;
    margin-right:15px;
    display: flex;
    align-items: center;
}
.logoFormulaireContact{
    height: 100px;
    width: 50px;
    background-image: url('../images/logo_formulaire_contact.png');
    background-size: contain;
    background-position:center;
    background-repeat: no-repeat;
    justify-self: center;
    align-self: center;
}
p{
    display: flex;
    flex-direction: column;
}
input{
    border-radius:5px;
    height: 25px;
    width: 250px;
    font-size: 1rem;
    margin-bottom:10px;
}
input:focus,
input:active,
textarea:focus,
textarea:active{
    background-color: #ebf2f7;
}
.formulaire span{
    font-size: 0.8rem;
    color:red;
}
.form_civilite{
    display: flex;
    align-items: center;
    margin-bottom:10px;
}
.form_civilite input{
    width: initial;
    margin:0px 5px 0px 5px;
}
.form_civilite,
.form_organisme{
    width: 518px;
}
.form_nomPrenom,
.form_mailTel,
.form_codeVille{
    display: flex;
}
.form_nom,
.form_mail,
.form_codePostal{
    margin-right: 10px;
}
.form_organisme,
.form_adresse2{
    margin-top:0px;
}
.form_adresse{
    display: flex;
    flex-direction: column;
}
.form_adresse input,
.form_organisme input{
    width: 515px;
}
.form_objet{
    margin-bottom: 15px;
}
/*
Mise en forme de l'objet
*/
select{
    background-color: white;
    color:#145D79;
    width: 300px;
    font-size: 1rem;
}
.form_objet{
    margin-top:20px;
    width: 525px;
}

#titreMessage,
#error-message-message{
    padding-left: 5%;
}
#objetAMasquer{
    display: none;
}
/*
Mise en forme de la zone Message
*/
.zoneMessage{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}
textarea{
    font-family: Verdana, sans-serif;
    width: 90%;
    align-items: center;
}
#nombreCaracteresRestants{
    font-style: italic;
    align-self:flex-end;
    padding-right: 5%;
    font-size: 0.9rem;
    margin: 0px 0px 20px 0px;
}
/*
Mise en forme de Politique Confidentialité
*/
.form_consentement{
    margin-bottom: 30px;
}
.form_consentement label,
.form_consentement label a{
    font-size: 0.9rem;
}
#consentement{
    width:20px;
    height:20px;
    margin-bottom:0px;
}
/*
Mise en forme reCaptcha
*/
.form_recaptcha{
    margin-bottom:20px;
}
/*
Mise en forme du bouton d'envoi
*/
.form_bouton{
    display: flex;
    justify-content: center;
}
button{
    width: 250px;
    height: 50px;
    font-size: 1rem;
    font-weight: 600;
    background-color: #f5a486;
    border: 1px solid black;
    border-radius: 15px;
    box-shadow: 2px 2px 2px grey;
    margin-bottom:15px;
}
button:hover{
    background-color: #f8e3db;
    cursor: pointer;
}
/*
Champ des mentions obligatoires
*/
.form_etoile{
    display: flex;
    justify-content: end;
}
/*
Message de validation/non envoi du message
*/
#confirmationEnvoi,
#erreurEnvoi{
    color: black;
    padding: 15px;
}
#confirmationEnvoi{
    background-color:#7FDD4C;
    
}
#erreurEnvoi{
    background-color: red;
}

@media screen and (max-width:690px) {
    .form_nomPrenom,
    .form_mailTel,
    .form_codeVille{
        flex-direction: column;
    }

    .form_organisme input,
    .form_adresse input,
    .form_complement input,
    .form_objet select{
        width: 250px;
    }
    .form_organisme,
    .form_civilite,
    .form_adresse,
    .form_objet{
        width: 264px;
    }

}
