/* Set the size of the div element that contains the map */
#map {
    height: 100%; /* The height is 400 pixels */
    width: 100%; /* The width is the width of the web page */
}



body {
    font-size: 16px; /* Remplacez la valeur par celle que vous souhaitez */
    background-color: #ffffff;
}


html {
    font-family: "Lucida Sans", sans-serif;
}
.header {
    background-color: #0077aa;
    color: #ffffff;
    padding: 5px;
    margin-top: 10px;
    position: relative; /* Ajouté pour le positionnement absolu de l'image */
}


footer {
    background-color: #0077aa;
    color: #ffffff;
    text-align: center;
    font-size: 13px;
    padding: 15px;
}
/* For mobile phones: */
/*[class*="col-"] {*/
/*    width: 100%;*/
/*}*/

.pagination a span.current {
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
}


.pagination {
    align-content: center;
}

.pagination a {
    color: black;
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
}

.pagination a.active {
    background-color: #4CAF50;
    color: black;
    border-radius: 5px;
}

.pagination a:hover:not(.active) {
    background-color: #4CAF50;
    border-radius: 5px;
   /* color: black;*/

}


#customers {
    margin: auto; /* Centrer la table */
    background-color: white; /* Fond blanc */
    border: 0px solid black; /* Cadre mince et noir */
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3); /* Ombre portée */
    border-collapse: separate; /* Permet d'avoir des coins arrondis */
    border-spacing: 0; /* Enlève l'espacement entre les cellules */
    max-width: 800px; /* Largeur maximale */
    margin: 5px;
}

#customers-center {
    width: auto; /* Ajuste la largeur à celle du contenu */
    margin: auto; /* Centrer la table */
    background-color: white;
    border-radius: 8px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    padding: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

#footer{
    width: auto; /* Ajuste la largeur à celle du contenu */
    margin: auto; /* Centrer la table */
}

#customers td, #customers th {
    padding: 8px; /* Espacement du texte par rapport aux bords */
    border-bottom: #cacaca 1px solid; /* Bordure inférieure des cellules */
}

th, td {
    border-bottom: 1px solid #cdcdcd;
    border-right: 1px solid #cdcdcd;
}

#customers th {
    text-align: center; /* Centrer le texte des en-têtes */
    font-weight: bold; /* Texte en gras */
}
#customers th.erreur , #customers-center th.erreur {
    color: red;
}
#customers td.left {
    text-align: left;
}


#customers td.right {
    text-align: right;
}

#customers td.center, #customers-center td.center {
    text-align: center;
}

input {
    border: 1px solid #ccc; /* Bordure discrète */
    border-radius: 6px; /* Coins arrondis */
    padding: 6px; /* Espacement interne */
    font-size: 14px; /* Taille de police */
    box-sizing: border-box; /* Évite que le padding affecte la largeur */
    font-weight: bold;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4); /* Ombre portée */
}

.conteneur-nouveau td.right, .conteneur-nouveau th.right {
    text-align: right;
}

.conteneur-nouveau {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto; /* Ajuste automatiquement la largeur selon le contenu */
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.7);
    margin: auto; /* Centrer la table */
    border: 1px solid black; /* Cadre mince et noir */
    border-collapse: separate; /* Permet d'avoir des coins arrondis */
    border-spacing: 0; /* Enlève l'espacement entre les cellules */
    max-width: 800px; /* Largeur maximale */
    white-space: nowrap;
}

.menu {
    background-color: #0077aa;
    color: white;
    font-size: 68px;
}
a span {
    display: inline-block;
    padding: 5px;
    background-color: #0077aa;
    color: #d1d1d1;
    border-radius: 8px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    transition: all 0.3s;
}

a:hover span {
    background-color: #1F4E79;
    border-color: #0077aa;
    box-shadow: none;
}

.custom-image-control{
    padding: 20px;
}

/****************** Tableau de Bord *****************************************/
/* Base styles */
body {
    background-color: #f3f4f6;
    padding: 24px;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;

}

.triangle-up {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #0056A6;
    /*margin-top: 5px;*/
    cursor: pointer;
    position: absolute;
    top: 5px; /* Ajuster un peu plus bas */
    right: 10px; /* Positionner à droite */
    filter: drop-shadow(0px 0px 2px black);
}

.section {
    background-color: white;
    border-radius: 8px;
    padding:8px;
    box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.3);
    border-left: 12px solid #0056A6;  /* Bordure à gauche */
}

.vert{
    border-left: 12px solid #06a600;   /* Bordure à gauche */

}

.container-double {
    display: flex;
    justify-content: space-between; /* Ajuste l'espace entre les éléments */
    gap: 16px; /* Ajoute un espace entre les sections */
    flex-wrap: wrap; /* Permet de passer en colonne si l'écran est trop petit */
}

.demi-section {
    background-color: white;
    border-radius: 8px;
    padding:8px;
    box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.3);
    border-left: 12px solid #0056A6;  /* Bordure à gauche */
    margin: auto;
}


.section invisible {
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0);!important;
}

.attention {
    /*box-shadow: 5px 5px 6px rgba(255, 0, 0, 0.5);*/
    display: flex;
    justify-content: space-evenly; /* Répartir les box de manière égale */
    flex-wrap: wrap; /* Permet aux box de passer à une nouvelle ligne si nécessaire */
    gap: 5px;
    margin-top: 8px;
    border-left: 12px solid red;  /* Bordure à gauche */;
    border-top: 2px solid red;
    border-right: 2px solid red;
    border-bottom: 2px solid red;
}

hr {
    width: 90%;
}
a{
    text-decoration: none; color: inherit;
}
.title {
    font-size: 18px;
    font-weight: bold;
    margin: 2px;
    width: 100%;
    text-align: center;
}

.buttons {
    display: flex;
    justify-content: space-evenly; /* Répartir les boutons de manière égale */
    flex-wrap: wrap; /* Permet aux boutons de passer à une nouvelle ligne si nécessaire */
    gap: 12px;
    margin-top: 12px;
    padding-bottom: 4px;

}

.button, .box, .button-2{
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-weight: bold;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    flex-grow: 0;
    flex-shrink: 0;
    margin-bottom: 2px;
    font-size: 14px;
    background-color: #a1d1ff;
    color: black;
    border-right: #0056A6 3px solid;
    border-bottom: #0056A6 3px solid;
}



input[type="submit"].button {
    appearance: none; /* Supprime le style par défaut */
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-weight: bold;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    flex-grow: 0;
    flex-shrink: 0;
    margin-bottom: 2px;
    font-size: 14px;
    background-color: #a1d1ff;
    color: black;
}




.box, .box-normal, .box-retour, .box-rouge, .box-quitter, .box-juste-cote {
    min-width: 50px;
    min-height: 35px;
    background-color: white;
    margin: 3px;
    border-radius: 8px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    padding: 4px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: auto;
    flex-grow: 0;
    flex-shrink: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    hyphens: auto;
    font-size: 12px;
}
.box-rouge{
    /*box-shadow: 5px 5px 6px rgba(255, 0, 0, 0.5);*/
    border: 2px solid red;
    border-right: red 5px solid;
    padding: 6px;
}

.box {
    font-size: 14px;
    min-height: 15px;
}

 img{
    margin-right: 5px;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.box-quitter{
    display: flex;
    justify-content: flex-end;}

.box-retour {
    display: flex;
    justify-content: left;
}
.container-menu {
    display: flex;
    align-items: center; /* Centre l'image et le texte verticalement */
    /*gap: 10px; !* Ajoute un espace de 10px entre l'image et le texte *!*/
    background: white;
    padding: 5px;
    padding-left: 15px;
    margin-top: 5px;
    /*margin-bottom: -15px;*/
    border-radius: 8px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    /*max-width: 600px; !* Ajuste selon tes besoins *!*/
    width: auto;
    border-left: 12px solid #0056A6;
}

.container-menu img {
    width: auto; /* Ajuste la taille de l'image */
    height: auto; /* Garde les proportions */
}

.mt-4{
    margin: 0px;
    /*border-left: 12px solid #0056A6;  !* Bordure à gauche *!*/

}

.container-menu p {
    margin: 0; /* Évite les marges par défaut */
    flex: 1; /* Permet au texte d’occuper tout l’espace disponible */
    text-align: left;

}

.box-footer{
    min-width: 50px;
    min-height: 15px;
    background-color: white;
    margin: 1px;
    border-radius: 8px;
    /*box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);*/
    padding: 0px;
    display: inline;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: auto;
    flex-grow: 0;
    flex-shrink: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    hyphens: auto;
    font-size: 10px;
}
#dynamic-sections{
    margin: 0px;
}


#dynamic-sections:empty {
    display: none;
}


 .title h4{
    font-size: 16px;
    font-weight: bold;
    margin: 2px;
    width: 100%;
    text-align: center;
}

/* ///////////////////////////////////////////////////////////////////////////// */
