@import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}

h1 {
  font-size: 23px;
  color: #ffffff;
  font-weight: 400;
  text-align: center;
  margin-bottom: 1rem;
}

h2 {
  font-size: 18px;
  color: #ffffff;
  font-weight: 600;
  text-align: justify;
  line-height: 24px;
  margin-bottom: 0rem;
}

h2 a,
h2 a:hover {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

h3 {
  font-size: 19px;
  color: #43494f;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 0rem;
}

h4 {
  font-size: 22px;
  color: #3498db;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 0rem;
}

h5 {
  font-size: 19px;
  color: #00b5ea;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 0rem;
}

h6 {
  font-size: 16px;
  font-weight: 550;
  color: white;
  line-height: 22px;
  margin-bottom: 0rem;
}

p {
  color: #43494f;
  font-size: 15px;
  text-align: left;
  margin-top: 1rem;
}

.p1 {
  color: white;
  font-size: 15px;
  text-align: left;
  margin-bottom: 5px;
}

a {
  color: #00b5ea;
  text-decoration: none;
}

a:hover {
  color: #50c3e5;
  text-decoration: none;
}

.p-dark-centered {
  font-family: "Montserrat", sans-serif;
  color: #95a5a6;
  text-align: center;
}

.h4-big-center {
  font-size: 23px;
  color: #3498db;
  font-weight: 400;
  line-height: 25px;
  margin-bottom: 0rem;
  margin-top: 2rem;
  text-align: center;
}

/* h6:hover {
    color: #50c3e5;
} */

.popup-extra {
  font-size: 19px;
  color: #00b5ea;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 0rem;
}

.modal-rgpd-body {
  max-height: 50vh !important;
  overflow-y: auto;
}

.col-btn {
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-top: 2vh;
  margin-bottom: 0vh;
  width: 50vh;
}

.bootstrap-select {
  margin-left: 5% !important;
}

.select-header {
  margin-top: 2vh;
  margin-bottom: 2vh;
  font-size: 22px;
  color: #3498db;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
}

.bootstrap-select {
  width: 90% !important;
  max-width: 90% !important;
  max-height: 60vh !important;
  margin-bottom: 3vh;
}

#bs-select-1 {
  max-height: 50vh !important;
}

.bootstrap-select .dropdown-menu.inner {
  width: 100% !important;
}

.navbar-cigale {
  background-color: #3498db;
  color: #ffffff;
  min-height: 10vh !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* .navbar-cigale-logo{height:25px;} */
.navbar-cigale-logo {
  height: 7vh;
}

.navbar-cigale ol {
  background-color: #3498db;
  margin: 0rem;
  padding: 0vh;
}

.navbar-cigale ul li {
  margin-top: 1rem;
}

.navbar-cigale a {
  color: #ffffff;
  text-decoration: none;
}

.navbar-cigale a:hover {
  color: #43494f;
  text-decoration: none;
}

.navbar-cigale-breadcrumbitem + .navbar-cigale-breadcrumbitem::before {
  color: #ffffff;
  font-size: 20px;
}

.new-navbar-index {
  height: 10vh;
}

.background_blue {
  /* background-color: #3498DB; */
  /* height: 100vh; */
  display: block;
  position: absolute;
  top: 0px;
}

.index-head-row {
  /* min-height: 500px; */
  /* height: 60vh; */
  /* background-color: #3498DB; */
  flex-direction: column;
  display: flex;
  padding-bottom: 1%;
  padding-right: 10%;
  padding-left: 10%;
  padding-top: 1%;
}

.index-head-col-left {
  width: 70%;
  margin: 2% auto;
  padding: 1%;
  /* flex-basis: 100%; */
  /* border: 1px solid white; */
  border-radius: 20px;
  /* box-shadow: 0px 0px 5px 5px white; */
}

.index-head-col-right {
  display: grid;
  margin: 2% auto;
  padding-left: 3%;
  /* flex-basis: 100%; */
  /* border: 2px solid #ffc107; */
  border-bottom: 2px solid #ffc107;
  border-top: 2px solid #ffc107;
  /* border-radius: 20px; */
  /* box-shadow: 0px 0px 5px 5px white; */
  padding-right: 3%;
  padding-top: 1%;
  padding-bottom: 1%;
  width: 70%;
}

.index-head-col-logo {
  padding: 1%;
  margin: 1%;
  flex-basis: 70%;
  background-color: white;
  border-radius: 20px;
  margin-top: auto;
  margin-bottom: auto;

  height: min-content;
}

.button_methodo {
  text-align: right !important;
  margin-bottom: 0.5rem;
}

.index-head-button,
.index-head-button:hover {
  float: left;
}

.index-contributors-img {
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  display: block;
  max-width: 280px;
}

.index-body-news {
  background-color: #ffffff;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 5rem;
  border-top: 1px solid #95a5a6;
  border-bottom: 1px solid #95a5a6;
  margin-left: 30%;
  margin-right: 30%;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.container-index-div {
  /* background-color: #3498DB; */
  /* height: 85vh; */
  margin-top: 1vh;
}

.index-body-pages {
  /* min-height: 90px;
    height: 10vh;    */
  margin-right: 5%;
  margin-left: 5%;
  flex-direction: row;
  display: flex;
  /* background-color: white; */
  padding-left: 3%;
  padding-right: 3%;
  border-radius: 10px;
  box-shadow: 0px 0px 5px 5px white;
  border: 2px solid white;
  margin-bottom: 1%;
  margin-top: 1%;
}

/* .index-body-pages:hover{
    box-shadow: 0px 0px 5px 5px white;
}
 */

.div-index-footer {
  /* box-shadow: 0px 0px 5px 5px white; */
  /* border: 1px solid #3498DB; */
  margin: 1% auto;
  /* height: 12vh; */
  text-align: center;
  /* margin-top: 3vh; */
  /* margin-bottom: 1vh; */
  border-radius: 10px;
  /* width: 100%; */
  margin-left: 5%;
  margin-right: 5%;
  background-color: white;
  padding-top: 10px;
  /* padding: 1vh; */
}

@media (max-width: 900px) {
  .index-head-col-left {
    margin: 5%;
  }

  .index-head-col-right {
    margin: 5%;
  }

  .index-head-col-logo {
    margin: 5%;
  }

  .index-body-pages {
    flex-direction: column;
    height: auto;
  }

  .index-head-col-left {
    padding-left: 15rem;
    padding-right: 9rem;
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .image_link {
    width: 20%;
  }

  .index-head-row {
    flex-direction: column;
    margin-top: 5%;
    height: auto;
  }

  .container-index-div {
    background-color: #3498db;
    height: auto;
    max-height: 7000px;
    margin-top: 10vh;
  }

  .div-index-footer {
    border-radius: 0px;
    height: 60px;
    width: 100%;
  }
}

.index_text_link {
  margin: 10px;
  line-height: normal;
  font-size: smaller;
}

.header_title_link {
  font-size: large;
}

.link_pages {
  flex-basis: 100%;
  text-align: center;
  margin: 10px;
  /* background-color: white;
    border-radius: 10px; */
}

.image_link {
  width: 25%;
  margin: 2px;
}

.link_pages:hover {
  -ms-transform: scale(1.1);
  /* IE 9 */
  -webkit-transform: scale(1.1);
  /* Safari 3-8 */
  transform: scale(1.1);
  color: #50c3e5;
}

@media (max-width: 997px) {
  /* .image_link{
        width: 20%;
    } */
}

.index-body-pages-cols {
  text-align: center;
  padding-left: 5rem;
  padding-right: 5rem;
  margin-bottom: 5rem;
}

.index-body-pages-cols img {
  margin-bottom: 1rem;
}

.index-body-pages-cols p {
  text-align: center;
}

.contact-row h4 {
  margin-top: 4rem;
}

.contact-row h5 {
  margin-top: 2rem;
}

.contact-row-header {
  margin-top: 10%;
  margin-left: 25%;
  margin-right: 25%;
  border-bottom: 1px solid #95a5a6;
  margin-bottom: 2%;
}

.contact-col-header {
  margin-top: 10vh;
  padding-left: 10%;
  padding-right: 0%;
  margin-bottom: 5%;
}

.contact-col-left {
  padding-left: 10%;
  padding-right: 0%;
}

.contact-col-right {
  padding-left: 5%;
  padding-right: 10%;
}

.visualisation-body {
  height: 100vh;
  padding-top: 0px;
  overflow: hidden;
}

.visualisation-col-left {
  width: 25vw;
  margin-top: 10vh;
  height: 90vh;
  overflow: hidden;
  padding-left: 0px;
  padding-right: 0px;
  overflow-y: auto;
  scrollbar-color: #e8e8e8 white;
  scrollbar-width: auto;
}

.visualisation-col-left-footer {
  height: 11vh !important;
}

.visualisation-col-map-header {
  margin-top: 11vh;
  /* height: 11vh !important; */
}

.visualisation-col-map {
  margin-top: 10vh;
  height: 90vh;
}

#left-layers {
  padding-left: 0px;
  padding-right: 0px;
}

#toc {
  margin-top: 1rem;
}

#toc li {
  position: absolute !important;
}

.layer-sous-onglet {
  font-family: "Montserrat", sans-serif;
  color: #3498db;
  /* margin-bottom: 8px; */
  margin-top: 8px;
  font-size: 18px;
  text-align: left;
  margin-left: 1vw;
}

/* FIXME: Fait à l'arrache pour Geres, changer unité layer */
label.btn-unites {
  font-size: 12px !important;
  padding: 0.1rem 0.2rem 0.1rem 0.2rem !important;
}

/* .visualisation-report-block {margin-top:10vh; height: 90vh; overflow-y: auto !important; padding-left: 5px !important; padding-right: 5px !important;} */
.visualisation-report-block {
  margin-top: 10vh;
  height: 90vh;
  overflow-x: hidden;
  overflow-y: auto !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

/* #visualisation-row-graphiques_Format_PCAET {width:100% !important; margin:0vh;overflow-y: auto; scrollbar-color: #e8e8e8 white; scrollbar-width: auto;} */
#visualisation-row-graphiques-Format_PCAET {
  height: 93%;
  width: 100% !important;
  margin: 0vh;
  scrollbar-color: #e8e8e8 white;
  scrollbar-width: auto;
}

#visualisation-row-graphiques-Approche_SCOPE_2 {
  height: 93%;
  width: 100% !important;
  margin: 0vh;
  scrollbar-color: #e8e8e8 white;
  scrollbar-width: auto;
}

#visualisation-row-graphiques-Bilan_territorial {
  height: 93%;
  width: 100% !important;
  margin: 0vh;
  scrollbar-color: #e8e8e8 white;
  scrollbar-width: auto;
}

#visualisation-row-graphiques-no_format {
  height: 93%;
  width: 100% !important;
  margin: 0vh;
  scrollbar-color: #e8e8e8 white;
  scrollbar-width: auto;
}

#visualisation-row-graphiques-no_graph {
  height: 93%;
  width: 100% !important;
  margin: 0vh;
  scrollbar-color: #e8e8e8 white;
  scrollbar-width: auto;
}

div[id^="visualisation-graph-block-"] {
  /* margin-bottom: 3vh !important;
    margin-top: 3vh !important;
    border: 0px solid lightgrey;
    padding-left: 5px !important;
    padding-right: 5px !important; */
  margin-bottom: 6vh !important; /* BVN */
  border: 0px solid lightgrey;
  padding-left: 5px !important;
  padding-right: 5px !important;
}

#visualisation-graph-title {
  width: 100%;
  font-size: 16px;
  color: #3498db;
  font-weight: 400;
  line-height: 26px;
  margin-left: 3vh;
  margin-bottom: 3vh;
}
.no-bs-padding {
  padding-right: 0;
  padding-left: 0;
}

.visualisation-graph-block-E-title {
  display: flex;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  padding: 0px 12px 12px 12px;
  font-family: Helvetica, Arial, sans-serif;
}
.visualisation-graph-block-E-content {
  height: 100%;
  padding: 12px;
  text-align: center;
}
.visualisation-graph-block-E-content-text {
  margin-top: 1em;
  font-size: 1.3em;
  /* font-weight: bold; */
}
.visualisation-graph-block-E-number {
  font-weight: bold;
  font-size: 2.5em;
}
.textColorGreen {
  color: green;
}

.textColorRed {
  color: red;
}
#visualisation-graph-block-A-Format_PCAET {
  height: 35vh !important;
}

#visualisation-graph-block-B-Format_PCAET {
  height: 35vh !important;
}

#visualisation-graph-block-C-Format_PCAET {
  height: 60vh !important;
}

#visualisation-graph-block-D-Format_PCAET {
  height: 35vh !important;
}

#visualisation-graph-block-D-prod-Format_PCAET {
  height: 60vh !important;
}

#visualisation-graph-block-E-Format_PCAET {
  height: 35vh !important;
}

#visualisation-graph-block-F-Format_PCAET {
  height: 35vh !important;
}

#visualisation-graph-block-G-Format_PCAET {
  height: 35vh !important;
}

#visualisation-graph-block-A-Approche_SCOPE_2 {
  height: 35vh !important;
}

#visualisation-graph-block-B-Approche_SCOPE_2 {
  height: 35vh !important;
}

#visualisation-graph-block-C-Approche_SCOPE_2 {
  height: 60vh !important;
}

#visualisation-graph-block-D-Approche_SCOPE_2 {
  height: 35vh !important;
}

#visualisation-graph-block-D-prod-Approche_SCOPE_2 {
  height: 60vh !important;
}

#visualisation-graph-block-E-Approche_SCOPE_2 {
  height: 35vh !important;
}

#visualisation-graph-block-F-Approche_SCOPE_2 {
  height: 35vh !important;
}

#visualisation-graph-block-G-Approche_SCOPE_2 {
  height: 35vh !important;
}

#visualisation-graph-block-A-Bilan_territorial {
  height: 35vh !important;
}

#visualisation-graph-block-B-Bilan_territorial {
  height: 35vh !important;
}

#visualisation-graph-block-C-Bilan_territorial {
  height: 60vh !important;
}

#visualisation-graph-block-D-Bilan_territorial {
  height: 35vh !important;
}

#visualisation-graph-block-D-prod-Bilan_territorial {
  height: 60vh !important;
}

#visualisation-graph-block-E-Bilan_territorial {
  height: 35vh !important;
}

#visualisation-graph-block-F-Bilan_territorial {
  height: 35vh !important;
}

@media (max-width: 992px) {
  #visualisation-graph-block-F-Bilan_territorial {
    height: 50vh !important;
  }
  #visualisation-graph-block-F-Format_PCAET {
    height: 50vh !important;
  }
  #visualisation-graph-block-F-Bilan_territorial {
    height: 50vh !important;
  }
}

#visualisation-graph-block-G-Bilan_territorial {
  height: 35vh !important;
}

#visualisation-graph-block-A-no_format {
  height: 35vh !important;
}

#visualisation-graph-block-B-no_format {
  height: 35vh !important;
}

#visualisation-graph-block-C-no_format {
  height: 60vh !important;
}

#visualisation-graph-block-D-no_format {
  height: 35vh !important;
}

#visualisation-graph-block-D-prod-no_format {
  height: 60vh !important;
}

#visualisation-graph-block-E-no_format {
  height: 35vh !important;
}

#visualisation-graph-block-F-no_format {
  height: 35vh !important;
}

#visualisation-graph-block-G-no_format {
  height: 35vh !important;
}

#visualisation-graph-block-A-no_graph {
  height: 35vh !important;
}

#visualisation-graph-block-B-no_graph {
  height: 35vh !important;
}

#visualisation-graph-block-C-no_graph {
  height: 60vh !important;
}

#visualisation-graph-block-D-no_graph {
  height: 35vh !important;
}

#visualisation-graph-block-D-prod-no_graph {
  height: 60vh !important;
}

#visualisation-graph-block-E-no_graph {
  height: 35vh !important;
}

#visualisation-graph-block-F-no_graph {
  height: 35vh !important;
}

#visualisation-graph-block-G-no_graph {
  height: 35vh !important;
}

#visualisation-graph-title-toggle-Format_PCAET {
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 10px;
}

#visualisation-graph-title-toggle-Approche_SCOPE_2 {
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 10px;
}

#visualisation-graph-title-toggle-Bilan_territorial {
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 10px;
  z-index: 0;
}

#visualisation-graph-title-toggle-no_format {
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 10px;
}

#visualisation-graph-title-toggle-no_graph {
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 10px;
}

.visualisation-graph-people-title {
  text-align: center;
  font-weight: bold;
  font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica,
    sans-serif;
  font-size: 13px;
  max-width: 80%;
  margin-top: -3px;
  margin-left: 30px;
  padding-bottom: 1em;
}

.visualisation-graph-people-values {
  font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica,
    sans-serif;
  font-size: 13px;
  text-align: center;
}

.visualisation-graph-empreinte-main {
  font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica,
    sans-serif;
  font-size: 13px;
  text-align: center;
}

.visualisation-graph-empreinte-note {
  font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica,
    sans-serif;
  font-size: 9px;
  text-align: center;
}

/* @media screen and (max-width: 1251px) {
.visualisation-graph-people-title {text-align: center;font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;font-size: 13px;padding-top: 37px;}
} */
.extraction-col-left {
  margin-top: 10vh;
  height: 90vh;
  overflow: hidden;
  overflow-y: auto;
  scrollbar-color: #e8e8e8 white;
  scrollbar-width: auto;
}

.extraction-col-left h4 {
  text-align: center;
  margin-top: 5vh;
}

.extraction-col-left .btn-outline-secondary {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1vh;
  margin-top: 0vh;
}

.extraction-col-right {
  margin-top: 10vh;
  height: 90vh;
  padding-left: 0px;
  padding-right: 0px;
}

.extraction-formulaire-row {
  margin-left: 2vh !important;
  margin-right: 1vh !important;
  margin-top: 2vh;
  color: #9c9c9c;
  font-size: 15px;
  text-align: left;
}

.bootstrap-select {
  margin-top: 1vh !important;
  margin-left: 0px !important;
  margin-right: 0px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.dropdown-menu {
  width: 100% !important;
  max-width: 100% !important;
  transform: translate3d(0px, 6vh, 0px) !important;
  width: 100% !important;
  min-width: 90% !important;
  /* max-height: 80% !important; */
  min-height: 20rem !important;
  /* position: static !important;*/
  /* overflow: unset !important;  */
}

.dropdown-item {
  padding: 0.25rem 1.5rem;
}

/* .extraction-tableau{background-color:green;margin:2vh;}; */
/* .dataTables_wrapper{background-color:green;margin:2vh;} */
.extraction-header {
  width: 100%;
  height: 10vh;
  margin: 2vh;
}

/* .dataTables_scroll{margin:2vh;} */
#tableau_wrapper {
  margin: 2vh;
  height: 75vh;
}

.dataTables_scroll {
  width: 100% !important;
}

.dataTables_scrollBody {
  height: 50vh !important;
  max-height: 50vh !important;
  width: 100% !important;
}

.extraction-confirm {
  padding: 2vh;
}

/*.modal-footer{padding:0rem;margin-top:2vh;} */
#extraction-cgu {
  float: left;
  margin-left: 2vh;
}

#extraction-logo {
  float: left;
}

.input-group-text {
  word-wrap: break-word;
  /* IE 5.5-7 */
  white-space: -moz-pre-wrap;
  /* Firefox 1.0-2.0 */
  white-space: pre-wrap;
  /* current browsers */
  text-align: left;
}

input[id^="mob-param"] {
  word-wrap: break-word;
  /* IE 5.5-7 */
  white-space: -moz-pre-wrap;
  /* Firefox 1.0-2.0 */
  white-space: pre-wrap;
  /* current browsers */
  text-align: left;
}

#mob-param-22 {
  word-wrap: break-word;
  /* IE 5.5-7 */
  white-space: -moz-pre-wrap;
  /* Firefox 1.0-2.0 */
  white-space: pre-wrap;
  /* current browsers */
  text-align: left;
  background-color: #e1e1e1;
}

/* Methanisation */
.left-block {
  margin-top: 10vh;
  height: 90vh;
  overflow: hidden;
  padding-left: 0px;
  padding-right: 0px;
  overflow-y: auto;
  scrollbar-color: #e8e8e8 white;
  scrollbar-width: auto;
  padding-bottom: 5vh;
  min-width: 320px;
}

@media screen and (max-width: 992px) {
  .left-block {
    margin-top: 10vh;
    height: auto;
    overflow: hidden;
    padding-left: 0px;
    padding-right: 0px;
    overflow-y: auto;
    scrollbar-color: #e8e8e8 white;
    scrollbar-width: auto;
    padding-bottom: 0vh;
    min-width: 320px;
  }
}

@media screen and (max-width: 992px) {
  .visualisation-col-left {
    height: 78vh;
  }

  .visualisation-col-map {
    height: 78vh;
    margin-top: 0vh;
  }
}

@media screen and (max-width: 980px) {
  /*767px*/
  .index-head-col-left {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
  }

  .index-contributors-img {
    margin-top: 0rem;
  }

  .index-body-news {
    margin-left: 10%;
    margin-right: 10%;
  }

  .index-body-pages-cols {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .contact-col-left {
    padding-right: 10%;
  }

  .contact-col-right {
    padding-left: 10%;
  }

  .contact-row-header {
    margin-left: 5%;
    margin-right: 5%;
  }
}

@media screen and (min-width: 992px) and (max-width: 1300px) {
  /* .index-head-col-left{padding-left:2rem; padding-right:2rem;} */
  /* .index-contributors-img{width:60%; margin-left:20%; margin-right:20%;} */
  .index-body-news {
    margin-left: 10%;
    margin-right: 10%;
  }

  .index-body-pages-cols {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Méthanisation didacticiel */
.enjoyhint_close_btn {
  margin-top: 8%;
}

/* Manager */
.list-group-item.active {
  background-color: #3498db;
  border-color: #3498db;
  z-index: 10;
}

.card {
  font-family: "Montserrat", sans-serif;
  line-height: 28px;
  color: #212529;
  margin-bottom: 50px;
  font-size: 18px;
  text-align: justify;
}

.card-body {
  margin-bottom: 0vh;
  max-height: 60vh;
  overflow-y: scroll;
  scrollbar-color: #3498db rgb(255, 255, 255);
  scrollbar-width: thin;
  padding: 0px;
}

.layer {
  border: 0px solid lightgrey;
  border-top: 0px solid lightgrey;
  margin: 0%;
  margin-bottom: 0%;
  margin-top: 0%;
  padding-top: 0%;
  padding-left: 20px;
  padding-bottom: 0%;
  font-family: "Montserrat", sans-serif;
  color: #212529;
  font-size: 16px;
}

.layer:hover {
  background-color: #d6e0e6;
  color: #1668ac;
}

.layer-invisible {
  color: #989898;
}

/*display:none;*/

/* #layer-specific-function{background-color: #95a5a6;} */
/* #styles-couches{background-color: #95a5a6;} */

img.external-site-layer-link {
  height: 20px !important;
  position: relative;
  /* display: inline-block; */
  float: right;
}

/* Badge renvoyant vers la méthodologie */
a.badge-info {
  margin-left: 10px;
  color: white;
  background-color: #3498db;
  font-size: 15px;
  border: 1px solid white;
  float: right;
}

a.badge.badge-pill.badge-info:hover {
  margin-left: 10px;
  color: white;
  background-color: #3498db;
  border: 2px solid white;
}

a.badge.badge-pill.badge-info:active,
a.badge.badge-pill.badge-info:focus {
  display: inline-block;
  padding-right: 0.6em;
  padding-left: 0.6em;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 10rem;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: 0px;
  color: white;
  background-color: #3498db;
  border: 1px solid white;
}

a.badge-info-collapsed {
  margin-left: 10px;
  color: #6c757d;
  background-color: white;
  font-size: 15px;
  border: 1px solid #6c757d;
  float: right;
}

a.badge.badge-pill.badge-info-collapsed:hover {
  margin-left: 10px;
  color: #6c757d;
  background-color: white;
  font-size: 15px;
  border: 2px solid #6c757d;
}

a.badge.badge-pill.badge-info-collapsed:active,
a.badge.badge-pill.badge-info-collapsed:focus {
  display: inline-block;
  padding-right: 0.6em;
  padding-left: 0.6em;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 10rem;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: 0px;
  color: #6c757d;
  background-color: white;
  border: 1px solid #6c757d;
}

/* Legend */
.legend {
  min-width: 50%;
  padding: 6px 8px;
  background: white;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  font-family: "Montserrat", sans-serif;
  line-height: 18px;
  color: #95a5a6;
  margin-bottom: 25px;
  font-size: 14px;
  text-align: left;
  max-height: 50vh;
  overflow-y: scroll;
  scrollbar-color: #3498db rgb(255, 255, 255);
  scrollbar-width: thin;
}

.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
  opacity: 0.7;
}

.legend .colorcircle {
  border-radius: 50%;
  width: 15px;
  height: 15px;
  margin-right: 5px;
  padding: 0px;
}

.legend .colorcircleSmall {
  position: absolute;
  margin-top: 25px;
  margin-left: 12px;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  margin-right: 5px;
  padding: 0px;
}

.legend .colorcircleBig {
  position: absolute;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-right: 5px;
  padding: 0px;
  line-height: 60px;
}

.legend .rectangle {
  margin-top: 5px;
  margin-left: 1px;
  height: 10px;
  width: 15px;
  background-color: rgba(0, 0, 0, 0);
  border: 0px solid red;
}

.legend-title {
  margin-top: 1vh;
}

.close {
  width: auto;
  text-align: right;
  margin-right: 7px;
}

/* Switches */
.switch {
  position: relative;
  /* display: inline-block; */
  width: 30px;
  height: 17px;
  float: right;
  margin: 6px 0;
}

.switch input {
  display: none;
}

.switch-center {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 30px;
  width: 30px;
  height: 17px;
}

.switch-center input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.slider_legend {
  background-color: #ccc;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  height: 30px;
  min-width: 50px;
  border-radius: 17px;
  padding: 2px;
  padding: 2px;
}

.div_select_legend {
  margin: 2px;
}

.div_title_legend {
  font-weight: bold;
  margin-top: 3px;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.inner_div_legend {
  padding: 8px;
  display: flex;
}

.text_legend {
  margin: 2px;
  line-height: 15px;
}

.div_legend {
  margin-top: 10px;
  margin-right: 10px;
  margin-left: 10px;
}

.close_button_div {
  height: 20px;
}

.span_close_button {
  line-height: 20px;
  font-size: 18px;
  font-weight: 600;
  display: inline-block;
  height: auto;
  width: auto;
  position: absolute;
  right: 10px;
  top: 0px;
  opacity: 0, 5;
  text-align: center;
  margin: 2px;
  color: white;
}

.span_close_button:hover {
  cursor: pointer;
  color: #3de0f5;
  opacity: 1;
}

.block_legend {
  text-align: initial;
  font-size: small;
  width: auto;
  height: auto;
  background: radial-gradient(#ffffff, #3498db);
  margin: 3px;
}

.slider_round {
  background-color: rgb(255, 255, 255);
  -webkit-transition: 0.2s;
  transition: 0.2s;
  height: 25px;
  width: 25px;
  border-radius: 28px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

input.default:checked + .slider {
  background-color: #444;
}

input.primary:checked + .slider {
  background-color: #2196f3;
  background-color: red;
}

input.success:checked + .slider {
  background-color: #8bc34a;
}

input.info:checked + .slider {
  background-color: #3de0f5;
}

input.info[disabled] + .slider {
  background-color: #cccccc;
}

input.warning:checked + .slider {
  background-color: #ffc107;
}

input.danger:checked + .slider {
  background-color: #f44336;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

.slider.round {
  border-radius: 17px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Popups Leaflet */
.scroller {
  scrollbar-color: #e8e8e8 white;
  scrollbar-width: thin;
}

.leaflet-popup-content-wrapper {
  opacity: 0.8;
  background-color: white;
}

.popup-wfs-title {
  background-color: #3498db;
  color: white;
  font-size: 20px;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  margin-bottom: 10px;
}

.popup-data-row {
  overflow: auto;
  max-height: 400px !important;
  max-width: 400px !important;
  min-height: 300px !important;
  min-width: 300px !important;
}

.popup-data-row-no-graph {
  overflow: auto;
  max-height: 600px !important;
  min-height: 300px !important;
  width: auto;
  padding: 10px;
  margin-top: 20px;
}

.popup-wfs-field {
  color: #212529;
  display: inline-block;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  overflow-wrap: break-word;
  border-bottom: 1px solid #f5f5f5;
  margin-bottom: 3px;
}

.popup-wfs-val {
  display: inline-block;
  color: #212529;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  padding-left: 10px;
  overflow-wrap: break-word;
  border-bottom: 1px solid #f5f5f5;
  margin-bottom: 3px;
}

/* add by olivier */
.list-popup-getfeatureinfo {
  margin: 2px;
}

/* -----------------------    CSS    Tooltips    ------------------------*/
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
  border: 0px solid transparent;
}

.tooltip-a {
  background-color: rgba(0, 0, 0, 0);
  border-style: none;
  box-shadow: none;
  font-size: 12px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  color: #212529;
  /*  #F2F2F2; */
  text-shadow:
    2px 0 0 #fff,
    -2px 0 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    1px 1px #fff,
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff;
}

/*---------------------------------------------------------------------*/

/* -----------------------CSS DU RAPPORT GERES ------------------------*/

.map-block {
  margin-top: 10vh;
}

@media screen and (max-width: 992px) {
  .map-block {
    margin-top: 0px;
  }
}

.alert-center {
  margin-top: 15%;
  margin-left: 25%;
  margin-right: 25%;
  text-align: center;
}

#report-block {
  margin-top: 10vh;
  height: 90vh;
  overflow-y: auto !important;
  padding-left: 10vh !important;
  padding-right: 10vh !important;
}

.rapport-geres-titre {
  color: black;
  font-size: 26px;
  text-align: center;
  margin-top: 2%;
  margin-bottom: 2%;
}

.rapport-geres-theme {
  color: white;
  font-size: 16px;
  text-align: center;
  margin-top: 2%;
  margin-bottom: 2%;
  background-color: #3498db;
  /* height: 8%; */
  display: flex;
  align-items: center;
  justify-content: center;
}

#plot-gisement-rom-mwh {
  min-height: 500px;
  border: 1px solid black;
  margin: 0 auto;
}

#plot-gisement-rom-t {
  min-height: 500px;
  border: 1px solid black;
  margin: 0 auto;
}

#carte-rom,
#carte-step,
#carte-dbg,
#carte-ddg,
#carte-imp,
#carte-imp2,
#carte-imp3,
#carte-alp,
#carte-alp-tepos,
#carte-alp-tepcv,
#carte-alp-tzdzg,
#carte-alp-cte {
  min-height: 500px;
  border: 10px solid white;
}

.legendes {
  /* font-size:16px;
    color:black; */
  background-color: rgba(255, 255, 255, 0.5);
  font-family: "Montserrat", sans-serif;
  line-height: 28px;
  color: #212529;
  /*  #F2F2F2; */
  margin-bottom: 25px;
  font-size: 14px;
  text-align: justify;
}

#tables-rapport-geres {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

#tables-rapport-geres td,
#tables-rapport-geres th {
  border: 1px solid #ddd;
  padding: 8px;
}

#tables-rapport-geres tr:nth-child(even) {
  background-color: #f2f2f2;
}

#tables-rapport-geres tr:hover {
  background-color: #ddd;
}

#tables-rapport-geres th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #4caf50;
  color: white;
}

.modal-content {
  max-height: 80vh;
  scrollbar-color: #e8e8e8 white;
  scrollbar-width: auto;
}

.modal-content .close {
  width: 10%;
}

#urlModalTitle {
  width: 80%;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  color: #3498db;
  text-align: left;
  margin-top: 0%;
  margin-bottom: 0%;
}

.modal-content {
  overflow: auto;
}

.modal-content .modal-footer {
  margin-bottom: 2vh !important;
  margin-right: 2vh !important;
}

#stats-warning {
  font-size: 10px;
  color: light-grey;
  text-align: right;
}

/*---------------------------------------------------------------------*/

.leaflet-draw {
  box-shadow: 4px 4px 8px 2px rgba(0, 0, 0, 0.2);
}

.title-popup-getfeatureinfo {
  background-color: white;
  width: 100%;
  height: 100%;
}

#graph {
  /* height: 100%;
    padding-top: 6%;
    padding-bottom: 0%;
    padding-left: 0px; */
  margin-top: 10vh;
}

/* @media screen and (min-width: 992px) and (max-width: 1400px) {
  #graph {
    height: 100%;
    padding-top: 9%;
    padding-bottom: 0%;
    padding-left: 0px;
}
}


@media screen and (min-width: 100px) and (max-width: 991px) {
  #graph {
    padding-top: 0px;

}
}  */

@media screen and (min-width: 100px) and (max-width: 599px) {
  .highcharts-root {
    padding-top: 0px;
    padding-bottom: 1vh;
  }
}

@media screen and (min-width: 600px) and (max-width: 990px) {
  .highcharts-root {
    padding-top: 2vh;
    padding-bottom: 2vh;
  }
}

.input-graph {
  height: 100px;
  width: 100px;
}

/* Pour faire apparaitre la modal devant la carte  */

#map-block {
  z-index: 1;
}

@media screen and (max-width: 992px) {
  #map-block {
    z-index: 1;
    min-height: 60vh;
    margin-left: 4vh;
    margin-right: 4vh;
    margin-top: 0vh;
    margin-bottom: 1vh;
  }
}

/* The Modal graph (background) */
.modal_graph {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-graph-content {
  background-color: #fefefe;
  margin: 15% auto;
  /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  /* Could be more or less, depending on screen size */
  border-radius: 5px;
  max-width: 50%;
  max-height: 70%;
  overflow-y: scroll;
  scrollbar-color: #3498db rgb(255, 255, 255);
  scrollbar-width: thin;
}

/* The Close Button */
.close_modal_graph {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close_modal_graph:hover,
.close_modal_graph:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.input-button-filter {
  width: 80%;
  margin: 0 auto;
  margin-bottom: 5px;
  margin-top: 5px;
}

.icon-filter:hover {
  -ms-transform: scale(1.5);
  /* IE 9 */
  -webkit-transform: scale(1.5);
  /* Safari 3-8 */
  transform: scale(1.5);
  cursor: pointer;
}

.text-from-swagger {
  font-family: "Arial", sans-serif;
  color: black;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  word-spacing: normal;
}

.icon-chart {
  margin-left: 8px;
  margin-right: 8px;
}

.icon-chart:hover {
  margin-left: 8px;
  margin-right: 8px;
  -ms-transform: scale(1.5);
  /* IE 9 */
  -webkit-transform: scale(1.5);
  /* Safari 3-8 */
  transform: scale(1.5);
  cursor: pointer;
}

.send-icon {
  margin-right: 5px;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 10px;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  float: left;
}

.send-icon:hover {
  -ms-transform: scale(1.5);
  /* IE 9 */
  -webkit-transform: scale(1.5);
  /* Safari 3-8 */
  transform: scale(1.5);
  cursor: pointer;
}

.trash-icon {
  margin-right: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 5px;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  float: right;
}

.trash-icon:hover {
  -ms-transform: scale(1.5);
  /* IE 9 */
  -webkit-transform: scale(1.5);
  /* Safari 3-8 */
  transform: scale(1.5);
  cursor: pointer;
}

.input_filters_div- {
  padding: 1px;
  background-color: #3498db;
  margin: 10px;
  border-radius: 5px;
}

.onefilterDiv {
  padding-left: 10px;
  padding-top: 5px;
  padding-right: 10px;
  padding-bottom: 2px;
  background-color: #d6e0e6;
  border: 1px solid #3498db;
  border-radius: 5px;
}

.header_filters_div- {
  background-color: #d6e0e6;
  align-items: center;
  border: 1px solid #3498db;
  border-radius: 5px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.text-api-filter {
  color: #3498db;
  text-align: center;
  font-size: small;
  line-height: 1;
  margin-top: 3px;
  margin-bottom: 3px;
}

.responsive_title_map {
  color: #3498db;
  text-align: center;
  margin: 0 auto;
  font-size: 18px;
  font-weight: bold;
  width: 100%;
  border-top: solid 2px #3498db;
  margin-left: 4vh;
  margin-right: 4vh;
  margin-bottom: 1vh;
  border-bottom: solid 2px #3498db;
  background-color: #d6e0e6;
}

.responsive_title_graph {
  color: #3498db;
  text-align: center;
  margin: 0 auto;
  font-size: 18px;
  font-weight: bold;
  width: 100%;
  border-top: solid 2px #3498db;
  margin-left: 4vh;
  margin-right: 4vh;
  display: none;
  margin-top: 4vh;
  /* margin-bottom: 1vh; */
  border-bottom: solid 2px #3498db;
  background-color: #d6e0e6;
}

/* style pour les onglets du graph */
/* Style the tab */
.tab {
  margin-bottom: 15px;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: #ffffff;
  /* box-shadow: 0px 0px 3px 1px #3498DB; */
  color: #3498db;
  float: left;
  border-top: none;
  outline: none;
  cursor: pointer;
  padding: 4px 4px;
  transition: 0.3s;
  margin-left: 10px;

  border-bottom: 1px solid #3498db;
  min-width: 10vh;
  /* border-bottom-right-radius: 10px; */
}

/* Change background color of buttons on hover */
.tab button:hover {
  /* background-color: #ddd; */
  box-shadow: 0px 0px 5px 2px #3498db;
  /* border-bottom-left-radius: 10px; */
  border-bottom-right-radius: 10px;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #3498db;
  color: white;
  border-bottom-right-radius: 10px;
}

.tablinks {
  border-bottom: 0px solid #3498db;
  border-left: 0px solid #3498db;
  border-right: 0px solid #3498db;
}
.tablinks-explanation {
  border-bottom: 1px solid #ffc107;
  border-left: 0px solid #ffc107;
  border-right: 0px solid #ffc107;
  background-color: #ffffff;
  color: #ffc107;
  float: left;
  /* border-top: none; */
  outline: none;
  cursor: pointer;
  padding: 4px 4px;
  transition: 0.3s;
  margin-left: 20px;
}

.tablinks-explanation:hover {
  box-shadow: 0px 0px 5px 2px #3498db;

  border-bottom-right-radius: 10px;
}

.button_tab {
  width: auto;
  height: 30px;
  display: inline-block;
  vertical-align: middle;
}

.button_tab_explanation {
  width: auto;
  height: 30px;
  display: inline-block;
  vertical-align: middle;
}

/* Style the tab content */
.tabcontent {
  display: none;
  /* padding: 6px 12px; */
  /* border: 1px solid #ccc; */
  border-top: none;
  margin-top: 8px;
}

.toggle-div-ht {
  margin-bottom: 7px;
  left: 0px;
  display: block;
  background-color: #cddce682;
  border: 1px solid #3498db;
  border-radius: 0px 0px 10px 10px;
  margin-top: 1px;
  padding: 1.5em;
  padding-bottom: 1.5em;
}

/* Style for child elements */

.toggle-select-div > label {
  font-size: 1.2em; /* Increases text size */
}

.toggle-div-ht li {
  font-size: 12px;
}

.switch-ht {
  position: relative;
  display: block;
  width: 30px;
  height: 17px;
  float: left;
  margin-top: 1.5%;
  margin-right: 10px;
  min-width: 30px;
}

.switch-ht input {
  display: none;
}

.toggle-ht-button {
  width: 100%;
  align-items: center;
  font-size: 16px;
  color: white;
  padding: 0.5rem 1rem;
}

.toggle-select-div {
  height: 23px;
  width: 100%;
  align-items: center;
  padding-left: 10px;
  font-family: "Montserrat", sans-serif;
  line-height: 14px;
  color: #212529;
  font-size: 12px;
  padding-bottom: 2px;
  display: flex;
  color: #2a72a2;
  margin-bottom: 1em;
}

.select-year {
  color: #2a72a2;
  font-size: 1.2em;
  padding: 2px 12px;
  margin-right: 10px;
  background-color: #ccc;
  border-color: #ccc;
}

.select-poll {
  color: #2a72a2;
  font-size: 1.2em;
  padding: 2px 12px;
  margin-right: 10px;
  background-color: #ccc;
  border-color: #ccc;
}
.select-seuil {
  color: #2a72a2;
  font-size: 1.2em;
  padding: 2px 12px;
  margin-right: 10px;
  background-color: #ccc;
  border-color: #ccc;
}

.text-parametre-graphique {
  color: #2a72a2;
  text-align: center;
}

.setting-icon {
  float: initial;
  height: 20px;
  margin-right: 5px;
}

.change_poll_label {
  margin-bottom: 0px;
  color: #2a72a2;
}

.change_seuil_label {
  margin-bottom: 0px;
  color: #2a72a2;
}

.no_content_graph {
  text-align: center;
  width: 80%;
  margin: auto;
}

.tab-explanation {
  display: flex;
  margin-bottom: 15px;
  margin-left: 10px;
}

.button-radio-div-prod-or-emi {
  margin-top: 1vh;
  margin-bottom: 2vh;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  color: black;
  background-color: #f8f9fa;
  height: 36px;
  border-radius: 5px;
}

/* .button-radio-div-prod-or-emi:hover{

} */

@media screen and (max-width: 1039px) {
  .button-radio-div-prod-or-emi {
    height: 50px;
  }
}

.div-Formats-de-rapportage {
  width: 100%;
}

.toggle-select-div-extraction {
  position: absolute;
  right: 35px;
  margin-right: 10px;
  font-size: 0.9em;
}

.toggle-select-div-extraction-production {
  position: absolute;
  right: 35px;
  top: 98px;
}

.form-check {
  margin: auto;
}

.dataTables_wrapper {
  font-size: 1rem;
}

@media screen and (max-width: 1000px) {
  .dataTables_wrapper {
    font-size: 0.6rem;
  }
}

@media screen and (min-width: 1001px) and (max-width: 1400px) {
  .dataTables_wrapper {
    font-size: 0.8rem;
  }
}

.footer-logo-dev {
  display: flex;
  justify-content: center;
  align-items: center;
  /* max-height: 20vh; */
  /* overflow: hidden; */
  width: 70%;
  margin: auto;
}

.div-img-logo {
  flex: 0 0 auto;
  margin: 0 10px;
  width: calc(100% / 6); /* divise la largeur de la fenêtre en 6 colonnes */
  height: 100%; /* ajoute une hauteur de 100% pour que l'image remplisse entièrement la div */
}

.img-log-footer-metha {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ajuste la taille de l'image pour qu'elle remplisse entièrement la div */
}
.img-log-footer-oreca {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ajuste la taille de l'image pour qu'elle remplisse entièrement la div */
}
.img-log-footer-region {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ajuste la taille de l'image pour qu'elle remplisse entièrement la div */
}
.img-log-footer-ademe {
  width: 50%;
  height: 100%;
  object-fit: cover; /* ajuste la taille de l'image pour qu'elle remplisse entièrement la div */
}
.img-log-footer-prefet {
  width: 45%;
  height: 100%;
  object-fit: cover; /* ajuste la taille de l'image pour qu'elle remplisse entièrement la div */
}
.img-log-footer-atmo {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ajuste la taille de l'image pour qu'elle remplisse entièrement la div */
}

#background_blue {
  height: 100%;
  width: 100%;
  background-color: #3498db;
}

#div_explication_cigale {
  background-image: url("img/image_50ans_1024_576.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-right: 5%;
  margin-left: 5%;
  width: 90%;
  border-radius: 10px;
}

/* #background_blue{
    background-image: url("img/image_50ans_1024_576.png");
    background-size: 100% 100%;
  background-repeat: no-repeat;
  }     */

.index-cigale-logo {
  height: 7vh;
  /* max-width: 100%; /* assurez-vous que l'image ne dépasse pas la largeur de la div */
  /* max-height: 100%; */
}

.logo_link_pages {
  flex-basis: 100%;
  text-align: center;
  margin: 10px;
  align-items: center; /* centrer verticalement les éléments */
  justify-content: center; /* centrer horizontalement les éléments */
  display: flex;
}

.w-max-content {
  width: max-content;
}

.reset-button {
  background-color: transparent;
  border-width: 0;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  line-height: inherit;
  outline: none !important;
  padding: 0;
  cursor: pointer;
}
.documentation_frame {
  margin-left: auto;
  max-width: 1100px;
  margin-right: auto;
  padding: 10px;
  border: 1px solid #3498db;
  background-color: #3498db;
  border-radius: 5px;
  margin-top: 9em;
}

.title_documentation {
  text-align: center;
  color: #3498db;
  font-size: x-large;
  margin: 5%;
}

.accordion-body {
  text-align: center;
}

.ancre:hover {
  cursor: pointer;
}

.links_doc {
  text-align: left;
}

.param-btn {
  padding: 8px 12px;
  border-radius: 5px;
  background-color: #1f7fc0;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
}
.param-btn:hover {
  background-color: #166aa1;
}

.mobile-toggle {
  width: 300px;
}

#extraction-btn {
  width: 160px;
  font-size: 0.8em;
}

.my-table {
  max-width: 100%;
}

.accordion-body img {
  max-width: 100%;
}

.accordion-button h1 {
  font-weight: inherit;
}

.title_frame {
  width: 100%;
  font-size: x-large;
  font-style: normal;
  text-align: left;
  color: white;
  border-radius: 5px;
  height: 1.5em;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
}

.souligne-orange {
  border-bottom: 2px solid #fbb911;
}

.adhesion_link {
  background-color: #3498db;
  text-align: center;
  width: fit-content;
  color: white;
  border-radius: 5px;
  padding: 6px;
}

.adhesion_link:hover {
  box-shadow: 0px 0px 5px 2px #3498db;
}

.adhesion_link a {
  color: white;
  font-size: large;
}

.popup-synthese {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border: 1px solid #fbb911;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  width: auto;
  border-radius: 10px;
}

.popup-synthese p {
  margin-bottom: 10px;
}

/* .popup-synthese button {
    padding: 8px 16px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  } */

/* .popup-synthese button:hover {
    background-color: #555;
  } */

.popup-synthese h2 {
  font-size: 18px;
  color: #3498db;
  font-weight: 600;
  text-align: justify;
  line-height: 24px;
  margin-bottom: 0rem;
}

.popup-synthese .switch {
  position: relative;
  /* display: inline-block; */
  width: 30px;
  height: 17px;
  float: right;
  margin: 3px 0;
}

.li_content_popup {
  padding: 5px;
  margin: 5px;
}

.li_popup {
  margin-bottom: 5px;
}

.overlay-active {
  position: relative;
  z-index: 9999; /* Assurez-vous que la valeur du z-index est supérieure à celle des autres éléments */
}

.overlay-active::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.5
  ); /* Couleur semi-transparente de l'overlay */
}

.btn-group {
  z-index: 0 !important;
}

.div_title_popup {
  align-items: center;
  display: flex;
  justify-content: center;
}

.fermer-popup-rapport {
  display: flex;
  float: right;
  margin-right: 10px;
}

.ouvrir-popup-rapport {
  display: flex;
  float: right;
}

.print-report {
  margin-left: 1%;
}
.div-secret-stat-info {
  position: absolute;
  right: 35px;
  margin-right: 10px;
  width: 30%;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: #2a72a2;
  text-align: right;
  line-height: 13px;
}

.secret-statistique {
  font-weight: 400;
  cursor: pointer;
  color: #26aed7;
}

.secret-statistique:hover {
  color: #50c3e5;
}

.close-geres-report {
  float: right;
  margin-top: 2%;
}

/* TDB only classes  */

.vl-color {
  color: #203864;
}

.vl-color-filter {
  filter: invert(17%) sepia(37%) saturate(1726%) hue-rotate(190deg)
    brightness(93%) contrast(90%);
}

.vl30-color {
  color: #4472c4;
}

.vl30-color-filter {
  filter: invert(64%) sepia(46%) saturate(272%) hue-rotate(180deg)
    brightness(94%) contrast(96%);
}

.ld-color {
  color: #8faadc;
}

.ld-color-filter {
  filter: invert(89%) sepia(9%) saturate(518%) hue-rotate(186deg)
    brightness(91%) contrast(95%);
}

.progress {
  background-color: white;
  /* Change the default background to white */
  border: 1px solid black;
  /* color: black; */
}

.fs-08-rem {
  font-size: 0.8rem;
}

.indicateur-color {
  color: #4771c6;
}

.w-65 {
  width: 65px;
}

h-60 {
  height: 60px;
}

.upper-right-button {
  position: absolute;
  top: -5px;
  right: 1px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.diagonal-text {
  position: absolute;
  top: 12vh; /* Adjust top position as needed */
  right: 100px;
  transform: translateY(-50%) rotate(-45deg);
  background-color: transparent; /* Transparent red background */
  color: red !important;
  padding: 10px 20px;
  font-weight: bold;
  z-index: 10;
  font-size: 24px;
}

.bg-color-indicateur {
  background-color: #dae3f3;
}

.icon-indicateurs-color {
  filter: invert(40%) sepia(71%) saturate(552%) hue-rotate(180deg)
    brightness(91%) contrast(85%);
}

.h-jauge {
  height: 46px;
}

.pointer-cursor {
  cursor: pointer; /* Set cursor to pointer on hover */
}
.mw-200 {
  max-width: 200px;
}
.mw-250 {
  max-width: 250px;
}
.upper-right-button {
  position: absolute;
  top: -5px;
  right: 1px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.hidden {
  display: none;
}

#visualisation-graph-title-toggle {
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 10px;
  z-index: 0;
}

#visualisation-row-graphiques {
  /* height: 93%; */
  width: 100% !important;
  margin: 0vh;
  scrollbar-color: #e8e8e8 white;
  scrollbar-width: auto;
}

.plot-no-graph {
  padding: 1em;
  margin-top: -2em;
}

.visualisation-col-map {
  z-index: 1;
}

#btn-open-layer-left {
  display: none;
  width: min-content;
  height: 5vh;
  position: absolute; /* Change de relative à absolute */
  bottom: 70vh; /* Ajuste la position par rapport au bas */
  z-index: 99; /* Assure que le bouton reste visible au-dessus de la carte */
}

.btn-container {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgb(255, 255, 255);
  width: 2.5%;
  height: 5%;
  z-index: 99;
  position: fixed;
  left: 10%;
  bottom: 5%;
}

.btn-container-map {
  display: flex;
  justify-content: center;
  border-radius: 8px;
}

.btn-container-map-hover {
  border: none;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition:
    background-color 0.3s ease,
    transform 0.2s ease,
    top 0.3s ease,
    left 0.3s ease; /* Animations douces */
}

#btn-container-visualisation-col-left {
  border-top-right-radius: 8px; /* Coin supérieur droit */
  border-bottom-right-radius: 8px; /* Coin inférieur droit */
  width: 3.5%;
  left: 24.5%;
}

[id^="ButtonTheme"] {
  white-space: normal;
  overflow-wrap: break-word;
}
[id^="ButtonTheme"]:not(.list-group-item.active):hover {
  background-color: #163b540f;
  border: 0px;
}

.shadow-custom {
  box-shadow: 0px 0px 1em 0.1em rgba(15, 45, 66, 0.5);
}

.shadow-custom-graph {
  box-shadow: -10px 10px 1em 0.1em rgba(15, 45, 66, 0.5);
}

.rounded-custom {
  border-radius: 1em;
  transition: transform 0.2s ease-in-out;
}

.rounded-custom:hover {
  transform: translateY(-5px);
}

.h-40 {
  height: 40%;
}

.divContainer {
  height: 27vh;
}

.btn_more_information {
  font-size: 10px;
}

.p_information {
  display: none;
  width: 80%;
}

.bg_blue {
  background-color: #3498db;
}

.info-button {
  transition: background-color 0.3s;
}

.info-button:hover {
  background-color: #0056b3;
}

.info-modal {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Test ajout modal tableau erp*/

.info-button-erp {
  width: 30px;
  height: 30px;
  background-color: #ffffff; /* White background */
  border: 2px solid #0d6efd; /* Blue border */
  border-radius: 50%; /* Makes it circular */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer; /* Pointer cursor on hover */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional shadow for better appearance */
  transition: transform 0.2s ease; /* Animation on hover */
}

.info-button-erp:hover {
  transform: scale(1.1); /* Slightly enlarge on hover */
}

.legend-item {
  outline: none !important; /* Supprime la ligne de focus */
  color: #333; /* Couleur du texte légèrement plus foncée */
  transition: color 0.2s ease; /* Animation légère pour le changement de couleur */
}

.legend-item:hover {
  color: #000; /* Rendre le texte encore un peu plus foncé au survol */
}

.highlight {
  background-color: rgba(
    255,
    230,
    150,
    0.5
  ); /* Surlignage visuel, si nécessaire */
}

.flip-card {
  perspective: 1000px;
  margin: 10px auto;

  /* ----- BVN start ----- */
  width: 50%;
  height: 200px;
  /* ----- BVN end ----- */
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.2s; /* BVN */
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%; /* BVN */
  height: 100%;
  min-height: 225px;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 10px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

.flip-card-front {
  background-color: #f8f9fa;
  color: black;

  /* ----- BVN start ----- */
  background-color: white;
  box-shadow: 0px 0px 7px #f0f1f4;
  border: solid 1px #f0f1f4;
  font-family: Barlow, sans-serif;
  background-size: contain;
  padding: 1.5rem 0;
  /* left: 1rem; */
  /* ----- BVN end ----- */
}

/* ----- BVN start ----- */
.flip-card-front h6,
.flip-card-front p {
  max-width: 98%;
}

.flip-card-front h6 {
  color: black;
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
  text-align: center;
}

.flip-card-front hr {
  margin-top: 0.1rem;
  margin-bottom: 1rem;
  border-top: solid 4px #fbb911;
  width: 10%;
}

.flip-card-front p {
  color: black;
  font-size: 15px;
  text-align: center;
  line-height: 1.1;
}

.flip-card-front p:first-of-type {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.flip-card-front p:last-of-type {
  color: #245aa6;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.flip-card-front > div {
  display: flex;
  justify-content: space-around;
  width: 75%;
  text-align: center;
  background-color: aliceblue;
  border-radius: 15px;
}

.flip-card-front > div > div {
  width: 100%;
  padding: 7px;
  color: #245aa6;
  margin: auto;
}

.flip-card-front > div > div > div:first-of-type {
  font-style: italic;
  font-size: 15px;
}

.flip-card-front > div > div > div:last-of-type {
  font-size: 2.1rem;
  line-height: 1.2;
}

.tooltip-main,
.tooltip-inner {
  font-size: 12px;
  color: #245aa6;
  background-color: aliceblue;
  box-shadow: 0 0 3px #f0f1f4;
}

.bs-tooltip-top .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
  border-top-color: #245aa6 !important;
}

.bs-tooltip-bottom .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
  border-bottom-color: #245aa6 !important;
}

.bs-tooltip-left .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
  border-left-color: #245aa6 !important;
}

.bs-tooltip-right .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
  border-right-color: #245aa6 !important;
}
/* ----- BVN end ----- */

.flip-card-back {
  background-color: #ffffff;
  color: black;
  transform: rotateY(180deg);
  /* right: 1rem; */
  /* padding: 1rem; */
  line-height: 1.2;
}

.flip-card-back .reg {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.flip-card-back em {
  font-size: 0.86rem !important;
}

.btn-info-circle {
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;

  /* ----- BVN start ----- */
  position: absolute;
  top: 16px;
  right: 16px;
  border: none; /* modifié par EM */
  color: #4c585e;
  width: 1.2rem;
  height: 1.2rem;
  background-color: transparent; /* modifié par EM */
  /* ----- BVN end ----- */
}

.graph-container {
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: 5px;
}

.flip-card.no-flip .flip-card-inner {
  transform: none; /* Désactive la rotation */
}

/* Card sans flip pour affichage simple */
.card-no-flip {
  margin: 10px auto;
  width: 100%;
  min-height: 225px;
}

.card-no-flip-content {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 225px;
  text-align: center;
  background-color: white;
  box-shadow: 0px 0px 7px #f0f1f4;
  border: solid 1px #f0f1f4;
  font-family: Barlow, sans-serif;
  padding: 1.5rem;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.card-no-flip-content h6 {
  color: black;
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
  text-align: center;
  max-width: 98%;
}

.card-no-flip-content hr {
  margin-top: 0.1rem;
  margin-bottom: 1rem;
  border-top: solid 4px #fbb911;
  width: 10%;
}

.card-no-flip-content p {
  color: black;
  font-size: 15px;
  text-align: center;
  line-height: 1.1;
  max-width: 98%;
}

#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
  z-index: 9999; /* Au-dessus de tout */
  display: flex;
  justify-content: center;
  align-items: center;
}

#loadingOverlay::before {
  content: "";
  border: 8px solid #f3f3f3; /* Couleur de fond */
  border-top: 8px solid #3498db; /* Couleur de la bordure active */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#tdb-graph-title-toggle {
  z-index: 1000; /* Un z-index élevé pour s'assurer qu'il est bien au-dessus */
  position: sticky;
  top: 0;
  background: white; /* S'assurer qu'il ne devient pas transparent */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optionnel : Ajouter une ombre */
}
.construction-message {
  position: relative;
  top: 20%;
  padding: 20px 30px;
  border-radius: 8px;
  text-align: center;
  font-size: 20px; /* Augmenté pour plus de lisibilité */
  font-weight: bold; /* Rend le texte plus lisible */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.loader {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-left-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.sub-menu {
  margin: 2% 0%;
  display: flex;
  cursor: pointer;
  width: 35%;
  justify-content: space-between;
}

.btn-print-to-pdf {
  border: 0.5px solid #000;
}

.theme-sensibilisation .leaflet-interactive {
  cursor: auto;
}

.theme-sensibilisation .leaflet-marker-icon {
  cursor: pointer;
}

/* ============================================================ */
/* ===== Fusion de tdb-ripolinage.css (couche de restylage) ===== */
/* ============================================================ */

/* ---------- GLOBAL ---------- */

/* ---------- All ---------- */

* {
  font-family: Barlow, sans-serif !important;
}

a {
  color: #245aa6 !important;
}

div[class^="leaflet"] a {
  color: initial !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #4c585e;
  font-weight: bold;
}

/* ---------- Header/Nav ---------- */

.navbar,
.navbar-cigale,
.navbar-cigale-logo,
#version-inv-nav {
  background-color: #245aa6 !important;
}

.fixed-top {
  z-index: 9999;
}

#navbarSupportedContent ul li a {
  color: white !important;
  font-size: 0.9rem;
  text-transform: uppercase;
}

#navbarSupportedContent ul li a i {
  margin-right: 3px;
}

body:not(#methazoom) .navbar-toggler {
  all: unset !important;
  border: 0;
  font-size: 1rem !important;
  cursor: pointer !important;
  background-color: white !important;
  border-radius: 50% !important;
  border: solid 3px #fbb911 !important;
  width: 26px !important;
  padding: 5px !important;
}

body:not(#methazoom) .navbar-toggler:focus {
  border: solid 1px white;
  outline: unset;
}

body:not(#methazoom) .navbar-toggler-icon {
  background-image: none !important;
}

body:not(#methazoom) .navbar-toggler-icon::after {
  content: "\F479";
  font-family: Bootstrap-icons;
  font-size: 20px;
  color: black;
  position: relative;
  top: -3px;
  left: 3px;
}

/* ---------- Left column ---------- */

#visualisation-col-left,
#left-block {
  background-color: #f0f1f4;
  box-shadow: 0 0 7px silver inset;
}

.select-header {
  color: #245aa6;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 2rem;
}

:is(#tdb-select-territoires, #visualisation-select-territoires, #select-zones)
  + button {
  width: 87%;
  position: relative;
  left: 1.5rem;
  background-color: #245aa6;
  color: white;
  padding: 0.6rem;
}

:is(#tdb-select-territoires, #visualisation-select-territoires, #select-zones)
  + button::before {
  content: "\F3EA";
  font-family: Bootstrap-icons;
  margin-right: 5px;
}

:is(#tdb-select-territoires, #visualisation-select-territoires, #select-zones)
  + button:hover {
  text-shadow: 0 0 1px white;
}

.dropdown-menu {
  overflow-x: auto;
  width: 90% !important;
  top: 10px !important;
  left: 23px !important;
}

.dropdown-menu.inner.show {
  position: relative;
  top: -2.2rem;
}

.dropdown-menu .selected {
  width: 90% !important;
}

.dropdown-item {
  font-size: 0.9rem;
}

#bs-select-1 {
  overflow-x: auto;
}

#bs-select-1 a {
  color: black !important;
  padding-left: 0;
  padding-right: 0;
}

#bs-select-1 a.active,
#bs-select-1 a:active {
  color: #245aa6;
  background-color: rgba(36, 90, 166, 0.1) !important;
}

#left-layers [id^="ButtonTheme"] {
  overflow: hidden;
  padding: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  border: solid 1px #f0f1f4;
  margin-top: 0.6rem;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 1px #ddd;
  color: black;
  border-radius: 0 5px 5px 0 !important;
  border-left: solid 3px #245aa6 !important;
  transition: transform 0.1s ease;
  cursor: pointer;
}

:is(#theme1, #theme2, #theme3, #theme4, #theme5, #theme6, #theme7, #theme8, #theme9, #theme10, #theme11, #theme12, #theme13, #theme14, #theme15, #theme16, #theme17, #theme18, #theme19, #theme20) .card-body {
  border: 0;
  border-radius: 0;
  width: 84%;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  padding: 0.75rem;
}

#left-layers [id^="ButtonTheme"]::after {
  border: solid 2px rgba(251, 185, 17, 0.3);
  width: 20px;
  display: block;
  position: relative;
  left: -5px;
}

#left-layers [id^="ButtonTheme"]:not(.active):hover {
  background-color: white;
  transform: scale(1.05);
}

#left-layers [id^="ButtonTheme"].active {
  color: #245aa6;
  background-color: rgba(36, 90, 166, 0.1);
  border: 0;
}

.list-group {
  width: 96%;
  margin: auto;
  background-color: #f0f1f4;
}

.list-group-item:not(.toggle-ht-button):hover {
  background-color: #f0f1f4;
}

input.info:checked + .slider {
  background-color: #245aa6;
}

.layer-sous-onglet {
  color: #245aa6;
}

/* ---------- Map (center) ---------- */

path[stroke="#25a4f2"] {
  stroke: white !important;
  stroke-width: 2px;
}

path[stroke="#3DE0F5"] {
  stroke: black !important;
  stroke-width: 3px;
}

#btn-container-visualisation-col-map {
  border-radius: 20px 0 0 20px;
  background-color: white;
}

.bi-arrow-left {
  color: #245aa6;
}

.bi-arrow-right {
  color: #245aa6;
}

.legend-title {
  margin-top: 0;
  margin-bottom: 0.1rem;
  line-height: 1.5 !important;
}

.legend.leaflet-control {
  color: black;
  text-align: left;
  font-size: 0.75rem;
  line-height: 1.1;
  background-color: rgba(255, 255, 255, 0.9);
  min-width: unset;
  border-right: solid 1px #f0f1f4;
  border-radius: 5px;
  overflow-y: hidden;
}

.legend.leaflet-control img {
  margin-top: 5px;
}

/* ---------- Right column ---------- */

#tdb-graph-title-toggle {
  background: url("https://bilan.atmosud.org/user/images/g5_helium/nuages.jpg")
    center;
}

#poll_selector,
#year_selector,
#seuil_selector {
  color: #4c585e;
  background-color: white;
  padding: 0.5rem;
  text-align: left;
  border: solid 1px #ddd;
  box-shadow: 0 0 3px #f0f1f4;
  margin: 7px;
}

.change_poll_label,
.change_year_label {
  color: black;
  font-size: 0.8rem !important;
  margin: 0;
}

.change_seuil_label {
  color: black;
  font-size: 0.8rem !important;
  margin: 0;
  width: 120px;
}

#visualisation-row-graphiques,
#visualisation-report-block {
  background-color: white;
}

.shadow-custom-graph {
  box-shadow: 0 0 7px #f0f1f4;
  border-radius: 5px;
}

[id^="visualisation-graph-block-"].datablock {
  margin-bottom: 1rem !important;
  background-color: white;
  padding: 0.25rem;
}

[id^="visualisation-graph-block-"].datablock > div {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 5px !important;
}

[id^="visualisation-graph-block-"].datablock > div > div {
  margin-right: auto !important;
  margin-left: unset !important;
}

[id^="visualisation-graph-block-"].datablock .h5 {
  font-size: 1rem !important;
  color: #245aa6;
}

[id^="visualisation-graph-block-"] > div:not(.btn) {
  color: #4c585e !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* ---------- PAGES ---------- */

:is(#tdb, #visualisation) #left-layers [id^="ButtonTheme"]::before {
  font-family: Bootstrap-icons;
  margin-right: 0.5rem;
  position: relative;
  top: 1px;
  font-weight: normal;
}

/* ---------- Tableau de bord ---------- */

/* Left */

#tdb #left-layers #ButtonTheme4::before {
  content: "\F425";
}
#tdb #left-layers #ButtonTheme2::before {
  content: "\F4D4";
}
#tdb #left-layers #ButtonTheme1::before {
  content: "\F6F7";
}
#tdb #left-layers #ButtonTheme3::before {
  content: "\F840";
}
#tdb #left-layers #ButtonTheme6::before {
  content: "\F185";
}
#tdb #left-layers #ButtonTheme5::before {
  content: "\F186";
}
#tdb #left-layers #ButtonTheme7::before {
  content: "\F4D0";
}

/* Center */

path[stroke="#25a4f2"] {
  stroke: black !important;
  stroke-width: 3px;
}

/* Right */

#tdb .highcharts-container:has(svg[aria-label="Consommation d'énergie par secteur en GWH"]) {
  min-height: 400px;
  max-height: 400px;
}

#tdb #toggle-ht {
  padding: 0.75rem 0.75rem 0.25rem 0.75rem;
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  padding: 18px 5px 5px 5px !important;
  background-color: rgba(255, 255, 255, 0.2);
}

#tdb .toggle-ht-button {
  border: 0;
  color: black !important;
  font-weight: bold;
  padding: 1.2rem;
  background-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 0 2px silver inset;
}

#tdb #toggle-ht-content {
  display: inline-flex;
  width: 100%;
}

/* ---------- Visualisation ---------- */

#visualisation #left-layers #ButtonTheme1::before {
  content: "\F6F7";
}
#visualisation #left-layers #ButtonTheme2::before {
  content: "\F187";
}
#visualisation #left-layers #ButtonTheme3::before {
  content: "\F5D1";
}
#visualisation #left-layers #ButtonTheme4::before {
  font-family: "bootstrap-icons";
  content: "\F903";
}

/* ---------- Méthazoom ---------- */

#methazoom .highcharts-container {
  height: 400px !important;
}

#methazoom [id^="ThemeMethodo"] {
  border: 0;
}

#methazoom [id^="ButtonTheme"].active [id^="ThemeMethodo"] {
  color: white !important;
  background-color: #245aa6;
}

#map-block .leaflet-draw a {
  color: white !important;
}

/* ---------- Données ---------- */

#donnees .col-md-12.contact-col-header {
  margin-top: 12%;
}

/* ---------- Documentation ---------- */

#documentation h1 {
  font-size: 1.2rem;
}

#documentation .title_frame {
  color: #4c585e;
}

#documentation .souligne-orange {
  border: 0;
}

#documentation .documentation_frame {
  background-color: #f0f1f4;
  border-color: #ddd;
}

/* ---------- Contact ---------- */

.contact-row-header {
  margin-top: 4%;
}

/* ---------- RESPONSIVE ---------- */

@media screen and (min-width: 900px) {
  body:not(#methazoom) #navbarSupportedContent ul {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    box-shadow: 0 0 1px white;
  }

  body:not(#methazoom) #navbarSupportedContent ul li {
    margin: 0.5rem 0 0.5rem 0 !important;
  }

  body:not(#methazoom) #navbarSupportedContent ul li a:hover {
    color: #fbb911 !important;
  }
}

/* Fix d'un bug au passage plein ecran / fenetré sur le graphique bulle */
#visualisation-graph-block-G {
  max-height: 500px;
}