html {
    position: relative;
    min-height: 100%;
}
body {
    height:100%;
    padding-top: 70px;
    margin-bottom: 80px;
    /**************variables CSS pour la suite******************/
    --top:80px;
    --ecart:1vh;

    --pied:40px;
    --largeur: calc((100vh - var(--top) - var(--ecart) - var(--pied)) / 2);
    --marge: calc((100% - var(--largeur) * 2 - var(--ecart)) / 2);

}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px; /* Set the fixed height of the footer here */
    line-height: 40px; /* Vertically center the text there */
    background-color: #f5f5f5;
}

/*Gérer via les zones
.SALMO {
    background-color:#3f51b5;
}
.CIRCUITS_FERMES {
    background-color:#ff5722 ;
}
.ETANGS {
    background-color: #cddc39;
}
.ECLOSERIE {
    background-color: #f29ba1;
}

/********************tooltip2****************/
.tooltip2 {
    position: relative;
    display: inline-block;
}

.tooltip2 .tooltiptext2 {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 1;
    transition: opacity 0.3s;
}

.tooltip2 .tooltiptext2::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip2:hover .tooltiptext2 {
    visibility: visible;
    opacity: 1;
}

/*********************************multi level menu*/
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}

/*********************Mise en forme du tableau récapitulatif*/
.table-container {
    position: relative;
    margin: 0;
}
.table-header {
    display: flex;
    position: absolute;
    top:0;
    left: 0;
    width: calc(100% - 18px);
    height: 40px;
    min-height: 40px;
    background-color: #f2f2f2;
    font-weight: 800;
}
.table-scrollable {
    padding-top: 40px;
    overflow-y: auto;
    height: calc(100vh - 150px);
}
.ligne {
    display: flex;
}
.ligneBac {
    margin-left: 50px;
}
.dateLigne {
    position: absolute;
}
.colonne {
    margin: auto;
    padding: 2px;
    display: inline-block;
    text-align: center;
    border-left: 1px solid #DFD7CA;
}

/***********************************Bouton d'accueil********************/

.btn-accueil_old {
    position: fixed;
    top: var(--top);
    height: var(--largeur);
    width: var(--largeur);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    --arrondi:150px;
}

.btn-accueil {
    height: var(--largeur);
    width: var(--largeur);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 10px;
    border-radius: 10px;
}

.btn-accueil:hover{
    opacity: 0.8;
}

.btn-accueil-1 {
    border-radius: 150px 130px 5px 130px;
    left: var(--marge);
 }

.btn-accueil-2 {
    border-radius: 130px 150px 130px 5px;
    left: calc(var(--marge) + var(--largeur) + var(--ecart));
}

.btn-accueil-3 {
    border-radius: 130px 5px 130px 150px;
    left: var(--marge);
    top: calc(var(--top) + var(--ecart) + var(--largeur));
}

.btn-accueil-4 {
    border-radius: 5px 130px 150px 130px;
    left: calc(var(--marge) + var(--largeur) + var(--ecart));
    top: calc(var(--top) + var(--ecart) + var(--largeur));
}

.logo {
    position: fixed;
    --taille:100px;
    top:calc(var(--top) + var(--largeur) - var(--taille) / 2);
    left:calc(50% - var(--taille) / 2);
    width: var(--taille);
}

.accueil-titre {
    position: relative;
    font-size: 5vh;
    font-weight: 800;
    text-align: center;
}

#alertes {
    position: fixed;
    top: var(--top);
    right: 5px;
    width: 450px;
    z-index: 100;
}

/***************affichages des bacs****************/
.bacs_container {
    width: 100%;
    position: relative;
}
.bacs {
    position: absolute;
    display: flex;
    border-radius: 7px;
    border: solid;
}
.bacs:hover{

}

.bac-rond {
    border-radius: 50%;
}

.autres_zones {
    display: none;
    position: fixed;
    width: 80%;
    top : 60px;
    left: 10%;
    background-color: #6f42c1;
    border: solid;
    border-radius: 25px;
}
.zone_transfert {
    margin: 10px;
    height: 50px;
    border: solid;
    border-radius: 5px;
}

.bacs-transfert {
    display: none;
    padding: 0;
    text-align: center;
}

.newbac {
    z-index: 100;
    background-color: #71afed;
    display: flex;
    align-items: center;
    justify-content: center;
}
.newbac:hover {
    cursor: move;
}
.newbac_titre {
    position: relative;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
}
.coin, .extremites {
    fill: orangered;
    cursor: move;
}

.bac-traitement {
    border-color: #ed4c5d;
}
.bac-remarque-pastille {
    width: 20px;
    height: 20px;
    border-radius: 8px;
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ed4c5d;
    display: none;
}
.bac-remarque {
    position: relative;
    width: 350px;
    opacity: 1;
    background-color: #ed4c5d;
    border-radius: 8px;
    z-index: 10;
    padding: 5px;
    display: none;
}
.btn-supprimer-remarque{
    position: relative;
    left: 70%;
}
/**********separateur*************************/
.separateur {
    position: absolute;
    border: solid 5px;
    z-index:-1;
}

/**********information dans le bac************/
.bac-container {
    position: relative;
    width: 100%;
    margin: 5px;
}

.bac-container-rond {
    position: relative;
    width: 70%;
    margin: 15%;
    height: 70%;
}
.icone {
    width: 16px;
}
/*
.icones {
    position: relative;
}

.icone-temperature {
    position: absolute;
    width: 16px;
    top: 1px;
    right: 1px;
}
.icone-oxygene {
    position: absolute;
    width: 16px;
    top: 18px;
    right: 1px;
}
.icone-food {
    position: absolute;
    width: 16px;
    top: 36px;
    right: 1px;
}*/
.bac-titre {
    position: relative;
    font-size: 2vh;
    font-weight: 800;
}
.bac-details{
    position: absolute;
    bottom:0;
    left:0;
    font-size: 1.5vh;
    font-weight: 800;
}

.btn-suivi {
    height:90%;
}

/*****************remarques******************************/
.btn-remarque {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #10de17;
    position: fixed;
    top: 65px;
    right: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform .2s;
}
.btn-remarque:hover{
    transform: scale(1.2);
}

.remarque-groupe {
    width: 100%;
}
.remarque-groupe-btn {
    width: 20%;
}

.remarque-titre-apercu{
    font-weight: 800;
    font-size: larger;
}
.remarque-bassin-apercu{
    font-weight: 800;
    font-size: 30px;
}
/*****************informaion sur le bac******************/
.bac-info, .bac-graph {
    width: 95%;
    height: 650px;
    display: none;
    background-color: #fff4e2;
    margin-left: auto;
    margin-right: auto;
}

.bac-graph {
    position: relative;
}

.card-info {
    width: 100%;
    height: 100%;
}

.bacDragging {
    background-color: #1c7430;
}

.graphique {
    width: 100%;
    height: 100%;
}

.periode-invisible {
    display: none;
}

/*******************zones************************/
#new_zone, .new-donnees {
    display: none;
}
.input_hidden {
    display: none;
}

.input-code-gestion {
    display: none;
}
/******************entrees**********************/
.etape {
    display: none;
}
.bac-selection {
    background-color: forestgreen;
}

/****************modal*************************/
.modal-perso {
    display: none;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20000;
}

.modal-perso-container {
    width: 70%;
    height: 90%;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
}
.close {
    color: #28282b;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/*****************Historique****************/
.historique {
    width: 100px;
    height: 100px;
    border: solid 1px;
    border-radius: 5px;
    z-index: 2;

}
.historique-visible {
    cursor: pointer;
}
.historique-visible:hover {
    background-color: #cfdff5;
}
.decalage {
    margin: 25px 15px;
}

#dimension {
    display: none;
    position: absolute;
    background-color: whitesmoke;
    z-index: 1000;
}

#historique_mouvements {
    height: 100%;
    overflow-y: auto;
}

/******************Aliments******************/
#fournisseur_resultats {
    display: none;
    position: absolute;
    width: 100%;
    height: 200px;
    overflow-y: auto;
    z-index:10;
}

.aliment_details, .traitement_suivi {
    display: none;
    max-height: 500px;
    overflow-y: auto;
}
.traitement_details {
    display: none;
    color: #212529;
}

/************Gestion des users**************/
.resultat-rechercher-user {
    display: none;
    position: absolute;
    width: 100%;
    height: 200px;
    overflow-y: auto;
}
.btn-add-user{
    display: none;
}

.liste_eleve {
    overflow-y: auto;
}

/************Historique*****************/
.historique-croix {
    position:absolute;
    top: 2px;right: 5px;
    font-size: 14px;
    color: darkred;
    cursor: pointer;
    font-weight: bold;

}

.suivi-morta {
    position: absolute;
}

.suiviHistorique {
    width: 50%;
    background: aliceblue;
    position: fixed;
    right: 50px;
    top: 90px;
    z-index: 1000;
}

.btn-graph {
    position: absolute;
}


.list-graph {
    color: var(--gray-dark);
}

.list-graph-plein:hover {
    cursor: pointer;
}


.list-graph-vide:hover {
    cursor: not-allowed;
}