body {
    font-size: 10px;
}

body img {
    height: auto;
}

h1 {
    font-size: 1.6em;
    padding: 1em 0;
}

h2 {
    font-size: 1.8rem;
}

.bk-container h2 {
    margin: 1em 0;
}

hr {
    border: 1px solid #126b21;
    margin-top: 0;
}

.btn {
    border: 0;
    background-color: #126b21;
    color: white;
}

.btn:hover {
    background-color: #064110;

}

.img-deco {
    margin: 2em auto;
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 0 15px -5px #505050;
}

.bk-menu .discret {
    background-color: #126b21;
}

.bk-menu .discret a {
    color: #38503c  ;

}


.message-informatif {
    font-weight: bold;
    color: #ca0000 ;
    margin: 3em .5em;
    width: 100%;
    text-align: center;
}

.error {
    color: red;
}

.alert-success {
    color: #064110;
}

.alert.alert-success.bk-centrage {
    text-align: center !important;
    color: #064110 !important;
}


.alert.alert-danger.bk-centrage {
    text-align:center;
}

.bk-primary {
    background-color: #126b21;
}


.bk-explication {
    max-width: 600px;
    margin: 2em auto;
    padding: 20px 15px;
    border-radius: 10px;
    background-color: #8b1818;
    color: white;
}

.bk-container {
    min-height: 50vh;
    max-width: 700px;
    margin: auto;
}


.bk-message-validation {
    font-size: 1.8em;
    text-align: center;
}

.choix-validation form {
    display: flex;
    flex-direction: column;
    margin: 20px;
    max-width: 1000px;
}

.choix-validation form button {
    border-radius: 10px;
    margin: 10px;
    background-color: #348d37;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition: transform 0.1s;
    /* Transition courte pour l'effet de pression */
}

.choix-validation form button:active {
    transform: scale(0.98);
    /* Réduit la taille de 5% lorsqu'on appuie */
}


@media screen and (min-width:650px) {
    .choix-validation form button {
        flex-direction: row;
        justify-content: space-around;
    }
}

.bk-flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

header,
footer,
.bk-content {
    font-size: 1.6em;
}

.hour {
    text-align: center;
    margin: 3em;
    color: #126b21;
}

/* .hour img {
    margin: 3em auto;
    width: auto;
} */

.alert {
    font-weight: bold;
    color: red;
}

@media screen and (min-width:500px) {
    h1 {
        font-size: 2.2em;
        padding: .2em;
        margin-bottom: 0;
    }
}


.card-body h2 {
    text-align: center !important;
}

/********************************************************************/
/*                              HEADER                              */
/********************************************************************/

.bk-header {
    background-color: #126b21;
    color: white;
}

.bk-header-title {
    display: flex;
    flex-direction: column;
    margin: 0 .5em 0;
    gap: 10px;
    text-align: center;
}

.bk-header-title a {
    height: 80px;
    align-self: center;
}

.bk-header-title img {
    margin: 1em 0 0;
    width: 70px;
}

@media screen and (min-width:500px) {
    .bk-header-title {
        flex-direction: row;
        justify-content: center;
        gap: 2em;
        padding: 1em;
    }

    .bk-header-title img {
        align-self: center;
        margin: 0;
    }
}


/********************************************************************/
/*                              FOOTER                              */
/********************************************************************/
footer {
    padding-top: 1em;
    height: 500px;
}

footer.bk-container {
    display: flex;
    align-items: center;
}

.bk-menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    max-width: 400px;
    margin: auto;
}

.bk-menu li {
    text-align: center;
    background-color: #cce1f2;
    margin: .5em;
    padding: .2em .5em;
    border-radius: 3px;
    transition: transform .4s;
}

.bk-menu a {
    display: block;
    width: 100%;
    color: #126b21;
    padding: 0 .5em;
    font-size: 1em;
}

.bk-menu a:hover {
    text-decoration: none;
}

.bk-menu li:hover {
    transform: scale(.99);
}

.bk-menu .logged {
    background-color: #126b21;
    color: #597a5f;
}


/********************************************************************/
/*                           RESULTATS                              */
/********************************************************************/
.resultat-container h2 {
    font-size: 2em;
    color: #064110;
    margin-bottom: 0.2em;
}


.resultat {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.btn-resultat {
    background-color: #126b21;
    display: block;
    padding: .3em .5em;
    border-radius: 10px;
    color: white;
    font-size: 2em;
    text-align: center;
    margin: .5em;
}






/********************************************************************/
/*                            LISTES VOTANTS                        */
/********************************************************************/
.liste-votants {
    color: #126b21;
    font-size: 1.4em;
}

.liste-votants li {
    display: flex;
    justify-content: space-between;
    margin: .2em;
    align-items: center;
    border-bottom: 1px solid #126b21;
}

.liste-votants a {
    color: #ca0000;
}

/********************************************************************/
/*                              HORAIRE                             */
/********************************************************************/

.horaires {
    font-size: 1.4em;
    padding: .5em;
    text-align: center;
}