/* Styles communs aux formulaires de dépôt (add/), de modification (edit/) et de suppression (delete/).
   Le HTML des formulaires est défini dans shared/forms.php. */
body, button, input, select, textarea {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
}


input[type=text] , .containerFichier {
    padding: 10px;
    border: 1px solid gray;
    border-radius: 8px;
    width: 95%;
}
input[type=text]:hover{
    background-color: rgb(235, 255, 225);
}

input:focus {
    background-color: rgb(235, 255, 225);
}

input.captcha {
    width: 9em;
}


label:hover {
    cursor: pointer;
    color: gray;
}


.containerFichier {
    text-align: center;
}


input[type=file]:hover {
    cursor: pointer;
}

.message {
    color: green;
    font-weight: bold;
}

.informations ul {
    list-style-type: none;
}

.informations {
    margin: 2em;
    font-style: italic;
    text-align: justify;
}

input[type=submit] {
    margin-top: 3em;
    margin-left: 2em;
    padding-left: 4em;
    padding-right: 4em;
    padding-top: 1em;
    padding-bottom: 1em;
    border: 2px solid black;
    border-radius: 10px;
    font-weight: bold;
}

input[type=submit]:enabled:hover {
    cursor: pointer;
    background-color: rgb(255,240,200);
}



.error {
    color: red;
}

.error::before {
    content: "Erreur : ";
    font-weight: bold;
}

.form-entry {
    margin-bottom: 1em;
}


#drop-area {
    border: 2px dashed #ccc;
    border-radius: 20px;
    width: 80%;
    max-width: 700px;
    font-family: sans-serif;
    margin: 25px auto;
    margin-bottom: 50px;
    padding: 20px;
}
#drop-area.is-dragover {
    border-color: red;
    background-color: yellow;
}

#confirmation_file {
    font-weight: bold;
}
.valid {
    color: green;
}
.warning {
    color: red;
}
#drop-area.drag_ok {
    border-color: darkgreen;
}

/* Aide sous un champ du formulaire de suppression/modification */
.code-edition {
    font-size: 85%;
    color: gray;
    margin-left: 2em;
    margin-top: 0;
    padding-top: 0;
    font-style: italic;
}

/* Champ qui ne s'applique pas dans ce formulaire (ex. email lors d'une modification) : grisé */
.non-applicable {
    color: gray;
}
.non-applicable input:disabled {
    background-color: #f1f1f1;
    color: gray;
    cursor: not-allowed;
}
