.js-plotly-plot .plotly .modebar {
  padding-top: 5%;
  margin-right: 3.5%;
}

body {
  background-color: #f2f2f2;
  margin: 5%;
}

.two.columns {
  width: 16.25%;
}

.column,
.columns {
  margin-left: 0.5%;
}

.pretty_container {
  border-radius: 5px;
  background-color: #f9f9f9;
  margin: 10px;
  padding: 15px;
  position: relative;
  box-shadow: 2px 2px 2px lightgrey;
}

.mini_container {
  border-radius: 5px;
  background-color: #f9f9f9;
  margin: 10px;
  padding: 15px;
  position: relative;
  box-shadow: 2px 2px 2px lightgrey;
}

.bare_container {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}

.dcc_control {
  margin: 0;
  padding: 5px;
  width: calc(100%-40px);
}

.control_label {
  margin: 0;
  padding: 10px;
  padding-bottom: 0px;
  margin-bottom: 0px;
  width: calc(100%-40px);
}

.rc-slider {
  margin-left: 0px;
  padding-left: 0px;
}

.flex-display {
  display: flex;
}

.container-display {
  display: flex;
}

.pdf-page-break {
  page-break-after: always;
}

/* ------------------------------------------------- uMEn ------------------------------------------------- */

#individual_graph,
#aggregate_graph {
  width: calc(100% - 30px);
  position: absolute;
}

#aggregate_data {
  align-items: center;
}

#count_graph {
  position: absolute;
  height: calc(100% - 30px);
  width: calc(100% - 30px);
}

#count_graph_prev {
  position: absolute;
  height: calc(100% - 30px);
  width: calc(100% - 30px);
}

#countGraphContainer {
  flex: 5;
  position: relative;
}

#header {
  align-items: center;
}

#logout-button {
  text-align: center;
  height: 100%;
  padding: 0 20px;
  text-transform: none;
  font-size: 15px;
  float: right;
  margin-right: 10px;
  margin-top: 30px;
}

#donnees-button {
  text-align: center;
  height: 100%;
  padding: 0 20px;
  text-transform: none;
  font-size: 15px;
  float: right;
  margin-right: 10px;
  margin-top: 30px;
}


#right-column {
  display: flex;
  flex-direction: column;
}

#title {
  text-align: center;
}

#ass {
  flex: 1;
}

#cot {
  flex: 1;
}

#pres {
  flex: 1;
}

#sinis {
  flex: 1;
}

#res {
  flex: 1;
}

#tripleContainer {
  display: flex;
  flex: 3;
}

#mainContainer {
  display: flex;
  flex-direction: column;
}

#pie_graph > div > div > svg:nth-child(3) > g.infolayer > g.legend {
  pointer-events: all;
  transform: translate(30px, 349px);
}


/* ------------------------------------------------- LMP ------------------------------------------------- */

#count_graph_lmp {
  position: absolute;
  height: calc(100% - 30px);
  width: calc(100% - 30px);
}

#count_graph_lmp_ptf {
  position: absolute;
  height: calc(100% - 30px);
  width: calc(100% - 30px);
}

#countGraphContainer_lmp {
  flex: 5;
  position: relative;
}

#header_lmp {
  align-items: center;
}

#logout-button_lmp {
  text-align: center;
  height: 100%;
  padding: 0 20px;
  text-transform: none;
  font-size: 15px;
  float: right;
  margin-right: 10px;
  margin-top: 30px;
}

#title_lmp {
  text-align: center;
}


#right-column_lmp {
  display: flex;
  flex-direction: column;
}

#ass_lmp {
  flex: 1;
}

#cot_lmp {
  flex: 1;
}

#pres_lmp {
  flex: 1;
}

#sinis_lmp {
  flex: 1;
}

#res_lmp {
  flex: 1;
}

#mainContainer_lmp {
  display: flex;
  flex-direction: column;
}


*[data-dash-is-loading="true"] {
        filter: blur(3px);
    }










/* styles.css */
/* Boutons */
.btn {
    display: inline-block;
    font-weight: 400;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: #007bff;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover {
    color: #fff;
    text-decoration: none;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    background: rgba(0, 0, 0, 0.2);
}


.modal.fade .modal-dialog {
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -25%);
    transform: translate(0, -25%);
}

.modal.show .modal-dialog {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 70px;
}


/* Styles pour les Boutons */
.btn-primary {
    background-color: #007BFF;
    border-color: #007BFF;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #545b62;
    border-color: #4e555b;
}



/* Styles pour les Modals */


.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    top: 0; /* Le header reste en haut lors du défilement */
    background-color: #fff; /* Couleur de fond du header */
    z-index: 100; /* Pour être au-dessus du contenu défilant */
}



.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 3rem;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 20px;
    overflow-y: auto;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - (1.75rem * 2));
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: auto;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
/*    border: 1px solid rgba(0, 0, 0, 0.125);*/
/*    border-radius: 0.3rem;*/
    outline: 0;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
}

/* Styles pour les liens dans les modals */
.modal a {
    color: #007BFF;
    text-decoration: underline;
}

.modal a:hover {
    color: #0056b3;
    text-decoration: none;
}

.custom-modal {
    background-color: rgba(0, 0, 0, 0.5); /* Couleur de l'arrière-plan du modal */
}

/* Styles pour les Modals Scrollables */
.modal-dialog-scrollable {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto; /* Utilisez 'auto' pour permettre le défilement */
    max-height: calc(100% - (1.75rem * 10)); /* Définissez une hauteur maximale pour éviter le débordement */
    overflow-y: auto; /* Activez la barre de défilement verticale en cas de besoin */
}


.modal-header .close::before {
    all: initial; /* Réinitialise tous les styles */
    content: "×"; /* Utilisez le caractère "×" pour représenter le symbole de croix */
    font-size: 24px; /* Ajustez la taille de la police de l'icône de croix */
    color: #000; /* Couleur de l'icône de croix */
    cursor: pointer; /* Curseur pointeur au survol */
    margin-right: 15px; /* Ajustez la marge à droite de l'icône (facultatif) */
}
