@charset "UTF-8";
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.main {
  height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#div-header {
  height: 7%;
  width: 100%;
  background-color: #333;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
}

#logo {
  width: 10%;
}
#logo img {
  width: 100%;
}

.mode {
  width: 70%;
  height: 100%;
  background-color: #090909;
  /* margin-left: 1rem; */
}

.mode[data-mode=timelapse] {
  background-color: #151515;
  /* margin-left: 1rem;   */
}

#buttons {
  background-color: transparent;
  width: 100%;
  height: 70%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-around;
  border-bottom: 2px solid #cec5c5;
}
#buttons .timelapse_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
#buttons .timelapse_item .timelapse_year {
  color: #cec5c5;
  font-size: 0.8rem;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
#buttons .timelapse_item .timelapse_dot {
  width: 10px;
  height: 10px;
  background-color: #cec5c5;
  border-radius: 50%;
  position: relative;
  top: 0;
  transform: translateY(50%);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
#buttons .timelapse_item .timelapse_dot .button {
  border: none;
  background-color: transparent;
  width: 100%;
  height: 100%;
  position: absolute;
  cursor: pointer;
  margin: 0;
  padding: 0;
}
#buttons .timelapse_item:hover > .timelapse_year {
  transform: scale(1.2);
  transition: 0.2s ease-in-out;
}
#buttons .timelapse_item.active > .timelapse_year {
  color: #2c7be5;
  transition: 0.2s ease-in-out;
}
#buttons .timelapse_item.active > .timelapse_dot {
  background-color: #2c7be5;
  transition: 0.2s ease-in-out;
}

.compte {
  width: 20%;
  height: 100%;
  background-color: #000000;
  /* margin-left: 1rem;   */
}

#app {
  display: flex;
  flex-direction: row;
  height: 93%;
  width: 100vw;
  margin: 0;
  padding: 0;
}

#map_div {
  width: 80%;
  height: 100%;
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
  border: 2px solid #ccc;
}

#map-controls { /* rectangle des boutons de contrôle */
  position: absolute;
  height: 80%;
  top: 10px;
  right: 10px;
  z-index: 1000; /* au-dessus de Leaflet */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#map-controls .div_micro, #map-controls .b2d3d {
  display: flex;
  flex-direction: column;
}

#btn_edit {
  width: 35px;
  height: 30px;
  background: #1b1b1b;
  border: none;
  border-radius: 3px;
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-weight: bold;
  padding: 4px 6px;
  margin-bottom: 0.2rem;
}
#btn_edit img {
  width: 100%;
}

#btn_edit.active {
  background: #2c7be5;
}

#btn_2d {
  margin-bottom: 0.2rem;
}

#map_div.fullscreen_mode {
  width: 100%;
}

.map-btn {
  width: 35px;
  height: 30px;
  background: rgb(20, 20, 20);
  border: none;
  border-radius: 3px;
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-weight: bold;
  color: #f8f5f5;
}

.map-btn.active {
  background: #2c7be5;
  color: white;
}

.div_filter {
  display: flex;
}
.div_filter .map-btn-filter {
  width: 35px;
  height: 30px;
  background: #1b1b1b;
  border: none;
  border-radius: 3px;
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-weight: bold;
  padding: 4px 6px;
}
.div_filter .map-btn-filter img {
  width: 100%;
}
.div_filter .map-btn-filter.active {
  background: #2c7be5;
}
.div_filter #display_filter {
  display: none;
  border-radius: 0 3px 3px 0;
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.2);
}
.div_filter #display_filter.active {
  display: block;
  background-color: white;
  padding: 4px;
  font-family: Arial, Helvetica, sans-serif;
}

.map-btn.fullscreen_btn {
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.map-btn.fullscreen_btn.active {
  background: #2c7be5;
  color: white;
}

#sidebar_div {
  display: block;
  width: 20%;
  height: 100%;
  background-color: black;
  color: white;
  padding: 1rem;
  font-family: Arial, Helvetica, sans-serif;
}

#sidebar_div h3 {
  /* text-align: center; */
  margin-top: 1rem;
}

#sidebar_div.fullscreen_mode {
  display: none;
}

#picture_container {
  width: 100%;
}
#picture_container img {
  width: 100%;
  border: 4px solid transparent;
}
#picture_container img.warning {
  border: 4px solid rgb(218, 165, 32);
}
#picture_container img.danger {
  border: 4px solid rgb(178, 34, 34);
}

.pourcentage .div_etat {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.pourcentage .div_etat .etat_color {
  height: 15px;
}
.pourcentage #span_normal {
  background-color: rgb(145, 82, 45);
}
.pourcentage #span_attention {
  background-color: rgb(218, 165, 32);
}
.pourcentage #span_danger {
  background-color: rgb(178, 34, 34);
}/*# sourceMappingURL=style.css.map */