@media (min-width: 500px){
    form{
        min-width: 450px;
    }
}
@media (max-width: 499.99px) {
    form {
        min-width: 90vw;
    }
}


html{
    width: 100%;
    height: 100%;
}


p{
    margin-block: 0;
    margin-inline: 0;
}
h1, label {
    text-align: center;
    font-family: JostBold, Arial, Helvetica, sans-serif;
}
h1{
    margin-block: 0.5em;
}

.h1Renouvellement {
    margin-right: 15px;
    margin-left: 15px;
}
label{
    padding-bottom: 0.5em;
    text-decoration: underline;
}

input, select{
    height: 30px;
    width: 100%;
    text-align: center;
    font-family: JostSemiBold, Arial, Helvetica, sans-serif;

    background-position: 5px 50%;
    background-size: 25px;
    background-repeat: no-repeat;

    box-shadow: -1px 2px rgba(0, 0, 0, 0.15), 1px 2px rgba(0, 0, 0, 0.15), 0px -1px rgba(0, 0, 0, 0.15) ;

    border-style: unset;
}

input:focus, select:focus{
    outline: none;
    border-style: solid ;
    border-color: #d4aa2e;
    border-width: 1px;

}
input:disabled, select:disabled{
    background-color: rgba(128, 128, 128, 0.750) ;
}

#login{
    background-image: url("../images/biblio/formulaires/login-noir.png");
}
#password{
    background-image: url("../images/biblio/formulaires/password.png");
}
#password_verif {
    background-image: url("../images/biblio/formulaires/password.png");
}





body{
    height: 100%;
    width: 100%;

}
.formContainer{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;

}

form{
    box-shadow: -1px 2px rgba(0, 0, 0, 0.15), 1px 2px rgba(0, 0, 0, 0.15), 0 -1px rgba(0, 0, 0, 0.15) ;

    width: 40%;
    /*min-width: 450px;*/
    max-width: 728px;

    /*min-height: max(500px, 25vh);*/
    height: fit-content;

    border-radius: 5px;
    background-color: white;


    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

}
.formSuppression {
    min-height: max(250px, 13vh);
}

.formSuppression > .champs > .entree {
    padding-bottom: 15px;
}

.formCache{
    transition: opacity ease 600ms;
    visibility: collapse;
    opacity: 0;
}
.formAffiche{
    transition: opacity ease 600ms;
    visibility: visible;
    opacity: 1;
}

input:-webkit-autofill{
    appearance: unset;
}

#couverture{
    display: block;
    z-index: 2;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #d9d9d9;
    opacity: 0.5;
}
.couvertureCachee{
    opacity: 0;
    visibility: collapse;
    transition: opacity ease 600ms;
}
.couvertureAffichee{
    opacity: 0.5;
    visibility: visible;
    transition: opacity ease 600ms;
}


.entete {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-height: 20%;
    height: max-content;
}
.backArrowContainer{
    width: 100%;
    height: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;

    img{
        padding-left: 10px;
        cursor: pointer;
        height: 80%;
        object-fit: contain;

    }
}
.champs{
    /*max-height: 65%;*/
    height: fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
.entree{
    flex-direction: column;
    align-items: center;
    height: auto;
    width: 70%;
    padding-bottom: 10px;
}
.entreeCache{
    display: none;
}
.entreeAffiche{
    display: flex;
}


.red{
    text-decoration: none;
    position: relative;
    font-family: JostSemiBold, Arial, Helvetica, sans-serif;
    color: red;
}
.indication{
    padding-top: 0.5em;
    width: 93%;
    text-align: center;
    color: #BE1622;
    font-size: 11px;
    font-family: JostSemiBold, Arial, Helvetica, sans-serif;
}
.resetMDPParent {
    display: flex;
    justify-content: center;
    align-items: center;
}
.resetMDP{
    width: fit-content;
    font-size: 11px;
    font-family: JostSemiBold, Arial, Helvetica, sans-serif;
}

.entree > .champInput{
    background-color: #FFFFFF;
    width: 93%;

}
.champInput{
    width: 100%;
}


.obligatoire{
    width: 93%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
#inSubmit{
    align-items: center;

    p {
        color: gray;
        font-family: JostSemiBold, Arial, Helvetica, sans-serif;
        font-size: 11px;
        text-align: center;
    }
}

.connexion{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;


    /*max-height: 30%;
    height: fit-content;
    min-height: 58px;*/
}
.connexion > img {
    width: 100px;
    height: 100px;
}

.connexion > .separateur {
    width: 70%;
    height: 0;
    border: solid black 1px;
}

#no-pad-no-marg {
    padding: 0;
    margin: 0;
}
#no-pad-no-marg > .submit {
    margin-bottom: 0;
}

#height150 {
    min-height: 150px;
    justify-content: space-evenly;
}

.submit{
    color: white;

    /*border-width: 1px;
    border-style: solid;
    border-color: black;*/
    border-radius: 6px;

    background-color: #007838;
    background-image: url("../images/biblio/formulaires/send-blanc.png");
    background-position: 95%;
    width: 70%;
    height: 38px;
    cursor: pointer;
    margin-bottom: 10px;

}
#deleteCarte{
    background-color: #BE1622;
    background-image: url("../images/biblio/formulaires/delete-icon-blanc.png");
}
#rouge{
    background-color: #BE1622;
}

.requiredField{
    display: flex;
}


/* form ajout */
#nom_lien {
    background-image: url("../images/biblio/formulaires/nom-du_lien.png");
}
#nom_categorie, #nom_sous_categorie{
    background-image: url("../images/biblio/formulaires/category.png");
}
#url_lien{
    width: 85%;
    text-align: left;
    padding-inline-start: 35px;
    background-image: url("../images/biblio/formulaires/link.png");
}
#image{
    display: block;
}

input[type=file]{
    padding-left: 5px;
    align-content: center;
    justify-content: space-evenly;
    padding-block: 1px;
    padding-inline: 2px;
}

input[type=file]::file-selector-button{
    font-family: Jost;
    border-width: 1px;
}

input[type=file]::file-selector-button:hover{
    cursor: pointer;
    font-family: JostSemiBold;
    border-color: #d4aa2e;
}

#descriptif{
    min-width: 93%;
    max-width: 93%;
    min-height: 61px;
    max-height: 61px;
}


.selecteurTypeLien {
    font-family: JostSemiBold;
    width: 70%;
    height: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #f1f1f1;
}

.typeLienChoix{
    transition: 400ms;
    background-color: inherit;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.typeLienChoix:hover{
    transition: 400ms;
    background-color: #d9d9d9;
    cursor: pointer;
}

.typeLienChoixAffiche{
    transition: 400ms;
    background-color: #d9d9d9;
}
.typeLienChoixCache{
    transition: 200ms;
    background-color: inherit;
}

.typeLienChoixAffiche .entreeAffiche{
}

#selecteurStatut{
    width: 100%;
    height: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;

}
.choixStatut{
    background-color: #d9d9d9;
    border-radius: 10px;
    width: 45%;
    height: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
input[type=radio]{
    border-radius: 10px;
    margin: 0;
    display: flex;
    width: 100%;
    height: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.inlineLabel{
    text-decoration: none;
    padding-bottom: 0;
    text-align: center;
    position: absolute;

}
.choixStatut:has(#actif:checked) {
    transition: 400ms;
    background-color: #007838;
    color: #FFFFFF;
}
.choixStatut:has(#inactif:checked) {
    transition: 400ms;
    background-color: #BE1622;
    color: #FFFFFF;
}
.choixStatut:has(#admin:checked) {
    transition: 400ms;
    background-color: #d4aa2e;
    color: #FFFFFF;
}
.choixStatut:has(#user:checked) {
    transition: 400ms;
    background-color: #0b4697;
    color: #FFFFFF;
}


/* form suppression */
.boutonsSuppression{
    margin-top: 15px;
    color: #000000;
    width: 100%;
    height: 35px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.btnFormSuppr{
    transition: 400ms;
    font-family: JostSemiBold;
    width: 45%;
    height: 35px;
    text-align: center;
    align-content: center;
    border-radius: 10px;
    border-style: none;
    border-color: rgba(212, 170, 46, 0);
    background-color: #d9d9d9;
}
.btnFormSuppr:hover{
    transition: 400ms;
    cursor: pointer;
    font-family: JostBold;
    border-style: solid;
    border-width: 1px;
    border-color: #d4aa2e;
}

#supprimer{
    color: #FFFFFF;
    background-color: #BE1622;
}

.conteneurImgForm {
    width: 120px;
    height : 120px;
    padding: 10px;
    border-style: solid;
    border-color: #d4aa2e;
    border-width: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.conteneurImgForm > img {
    width: 115px;
    height: 115px;
    object-fit: contain;

}

.favoriSansEntrees p {
    text-align: center;
    width: 90%;
}

/* form ajout utilisateur*/
.formUser {
    width: 85%;
}
.formUser > .conteneurParties {
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;
    min-height: 400px;
    height: fit-content;
    max-height: 90vh;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.partie {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
    width: 45%;
}
.separateurVertical {
    width: 0;
    min-height: 435px;
    height: 80%;
    border: #d9d9d9 solid 1px;
}

.entreeLarge{
    width: 98%;
}
.entreeLarge > .divDates {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-evenly;
}

.notRequired {
    display: flex;
}

.partie > .champs > .entree > #selecteurStatut {
    flex-direction: column;
    height: 85px;
}
.partie > .champs > .entree > #selecteurStatut > .choixStatut {
    width: 94%;

}
.formUser > .connexion > .submit {
    width: 92%
}

form > #loading-gif {
    max-height: 150px;
    padding-top: 50px;
    padding-bottom: 50px;
}

#etatCompte {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#etatCompte > .submit {
    width: 94%;
}

.optionPays {
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: 5%;
}

.pays_inter{
    background-image: url("../images/biblio/admin/inter.png");
}
.pays_fr{
    background-image: url("../images/biblio/admin/fr.png");
}
.pays_be{
    background-image: url("../images/biblio/admin/be.png");
}
.pays_es{
    background-image: url("../images/biblio/admin/es.png");
}
.pays_ch{
    background-image: url("../images/biblio/admin/ch.png");
}
