span.preline {
  white-space: pre-line;
}
/* Customize the label (the container) */
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
  background-color: #2196f3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

html {
  height: -webkit-fill-available;
}

body {
  margin: 0px;
  font-family: Dosis !important;
  position: fixed;
  top: 0px;
  bottom: 0px;
}

.circle {
  width: 32px;
  height: 32px;
  line-height: 32px;
  background-image: url(mb.png);
  background-size: 80%;
  text-align: center;
  border: 1px #176a9b solid;
  border-radius: 16px;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: 0px 0px 8px 8px #12608f;
  position: relative;
  background-color: #a9d7ff;
}

.circle span {
  color: white;
  border: 1px solid #005587;
  background-color: #1c87c6;
  border-radius: 5px;
  position: absolute;
  height: 14px;
  bottom: -7px;
  line-height: 14px;
  left: 16px;
}

img.leaflet-marker-icon {
  border: 2px solid #1c87c6;
  border-radius: 19px;
  background-color: white;
  padding: 2px 2px 1px 2px;
}

.custom-speed-marker {
  width: 4px !important;
  height: 4px !important;
  background-color: #1c87c6;
}

.leaflet-container a.leaflet-popup-close-button {
  width: 22px;
  font: 28px/20px Tahoma, Verdana, sans-serif;
}

#toolbox {
  height: 30px;
  display: flex;
  gap: 15px;
  align-items: center;
  padding-left: 3px;
}

#map {
  height: 100%;
}

#main {
  width: 100vw;
  height: 100vh;
}

#header {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}
div#banner-wrap {
  width: 100vw;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

#banner-wrap {
  width: 100%;
  height: 90px;
  position: fixed;
  top: 20px;
  left: 0;
  z-index: 1000; /* Assure que le header reste au-dessus du contenu */
}

#banner {
  display: flex;
  flex-direction: column;

  font-family: Dosis !important;
  width: 80%;
  max-width: 1100px;
  height: 90px;
  background-color: #74c9f0;
  justify-content: space-evenly;
  align-items: center;
  /* gap: 10px; */
}

#banner #banner-top {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

#banner #banner-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: Dosis !important;
  background-color: #0087c9;
}

#banner #banner-bottom #geolocation {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#banner2 {
  font-family: Dosis !important;
  height: 100%;
  background-color: #0087c9;
  display: flex;
  align-items: center;
}

.zone-link {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 100%;
  margin-left: 0;
  margin-right: 7px;

  text-align: center;

  cursor: pointer;
  min-width: 0;
  font-size: 19px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  flex: auto;
}

.zone-click {
  cursor: pointer;
  min-width: 0;
  font-size: 18px;
  text-transform: uppercase;
  margin-left: 0;
  margin-right: 0px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  flex: 1 1 0px;
  display: flex;
  justify-content: center;
}

#input_geolocation_address {
  align-items: center;
  height: 40px;
  width: 100%;

  font-family: "Dosis";
  font-size: 15px;
  border-radius: 5px;
}

.geolocation-btn {
  position: relative;
  display: inline-block;
  padding: 3px;
  width: 35px;
  height: 35px;
  border: 2px solid #74c9f0;
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.3s;
  flex-shrink: 0;
}

.geolocation-btn:hover {
  background-color: #74c9f0;
  transition: background-color 0.3s;
}

.geolocation-btn img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  position: relative;
  z-index: 1;
}

@media only screen and (max-width: 1090px) {
  #mb {
    width: 90px;
    transition-property: width margin-top;
    transition-duration: 300ms;
  }
  .zone-link .zone-click {
    font-size: 12px;
  }

  #banner {
    width: 95%;
    margin-left: 30px;
    padding: 0px 0px;
  }

  #banner2 {
    padding: 0px 10px;
  }
}
@media only screen and (max-width: 750px) {
  #mb {
    width: 45px;
    margin-right: 12px;
    margin-top: 0px;
    border: 2px solid #74c9f0;
  }

  .zone-link {
    font-size: 50%;
  }

  #input_geolocation_address {
    font-size: 13px;
    height: 30px;
    margin-left: 0px;
    margin-right: 0px;
  }

  .geolocation-btn {
    width: 20px;
    border: 20px;
    margin-right: 0px;
    margin-left: 0px;
    padding: 0px;
  }

  .pipe {
    display: none;
  }

  #banner-wrap {
    width: 100%;
  }

  #banner {
    width: 95%;
    margin-left: 5px;
    margin-right: 5px;
    height: 50px;
  }

  #banner #banner-bottom #geolocation {
    width: 90%;
  }

  #banner2 {
    padding: 0px 5px;
  }
}

.pipe {
  width: 2px;
  height: 45px; /* Ajuster la hauteur du pipe */
  background-color: #fff;
  margin: 0 4px;
}

#ring {
  width: 579px;
  position: absolute;
  top: -179px;
  left: -189px;
  z-index: 1000;
}

#logo {
  background-image: url(https://www.qualifelec.fr/wp-content/uploads/2018/11/Anneau-Qualifelec.png);
  background-size: cover;
  position: absolute;
  z-index: 10100;
  width: 150px;
  height: 150px;
  background-color: white;
  border-radius: 50%;
}

.circle-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("https://www.qualifelec.fr/wp-content/uploads/2018/09/logo_home.png");
}
#mb {
  display: flex;
  align-items: center;
  height: 100%;
  width: 110px;
  border-radius: 8%;

  transition-property: width;
  transition-duration: 300ms;
  border: 5px solid #74c9f0;
  z-index: 1001;
  background-color: white;
}
#mb img {
  width: 100%;
}

#mb-container {
    padding: 4px;
}

div#templates {
  visibility: hidden;
  position: absolute;
}

svg.svg-inline--fa {
  width: 12px;
}

.leaflet-popup-content-wrapper {
  border-radius: 0px;
}

.leaflet-popup-content {
  min-width: 301px;
  font-family: Dosis !important;
  margin: 0px;
}

.leaflet-container a.leaflet-popup-close-button {
  color: white;
}

/* [BLOCK DETAILS] */
.block_details_name {
  background-color: #d1d1d1;
  color: white;
  padding: 10px;
  font-weight: bold;
  font-size: 18px;
}

.block_details_name.highlight{
  background-color: #74c9f0;
  color: white;
  padding: 10px;
  font-weight: bold;
  font-size: 18px;
}

.block_details_contact {
  padding: 10px;
  font-size: 14px;
}

.block_details_contact .nowrap {
  display: flex;
  align-items: center;
  padding: 3px 0;
}

.block_details_contact .nowrap svg {
  margin-right: 8px;
  width: 15px;
}

.block_details_contact .nowrap .contact_label {
  display: flex;
  flex-direction: column;
}




.certificate {
  background-color: aliceblue;
  padding: 5px;
  border-radius: 3px;
  border: 1px solid #0078a8;
  background-image: url(../img/mb.png);
  padding-left: 35px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 2px 1px;
  line-height: 30px;
}
.affaires {
  padding: 10px;
  overflow-y: scroll;
  max-height: 220px;
}
.affaires .affaire {
  border: 1px solid #e3e2e2;
  border-radius: 2px;
  padding: 5px;
  margin-bottom: 8px;
}
.affaires h2 {
  padding: 6px 0px;
  background-color: aliceblue;
  margin: 0;
}