.map {
  height: 100%;
  width: 100%;
}

#is_planurb {
  width: 100%;
  height: auto;
}

.ol-custom {
  z-index: 500;
  top: 4.5em;
  left: 3.5em;
}

/* 
.nowidth{
  width: 324px !important;
} */


.detail-card {
  font-family: 'Arial', sans-serif;
  /* width: 300px; */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.detail-card-header {
  top: 0;
  z-index: 1000;
  padding: 13px;
}

.detail-card-title {
  margin: 0px !important;
  font-size: 18px;
}

.detail-card-content {
  max-height: 400px;
  /* Adjust based on your needs */
}

.detail-card-info {
  overflow-y: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.detail-card-info p {
  margin: 10px 0;
}

.detail-card-info p strong {
  color: #3a5a7e;
}

.title-planurb {
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  color: #fff;
  font: 25px 'Helvetica Neue', Arial, Helvetica, sans-serif;
  padding: 10px;
  position: relative;
  z-index: 1;
  max-height: 600px;
  overflow-y: auto;
  left: 1%;
  width: 250px;
  margin-top: 1%;
}

@media screen and (max-width: 768px) {
  .title-planurb {
    font-size: 16px;
    width: 170px;
    max-height: 80vh;
    padding: 8px;
  }
}

.legend-home {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 3px;
  bottom: 30px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  color: #fff;
  font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
  padding: 10px;
  position: absolute;
  right: 10px;
  z-index: 1;
  height: 200px;
}

.legend {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 3px;
  bottom: 30px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  color: #fff;
  font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
  padding: 10px;
  position: absolute;
  right: 10px;
  z-index: 1;
  height: auto;
  width: 275px;
}

.legend-planurb {
  display: none;
  /* overflow-y: auto; */
}

.legend div span {
  /* border-radius: 50%; */
  display: inline-block;
  height: 15px;
  margin-right: 5px;
  width: 30px;
  font-size: 10px;
}

.legend-home div span {
  /* border-radius: 50%; */
  display: inline-block;
  height: 10px;
  margin-right: 5px;
  width: 20px;
  font-size: 10px;
}

.legend-planurb-header {
  display: none;
  height: 35px;
  overflow-x: auto;

}

.legendheader {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 3px;
  bottom: 30%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  color: #fff;
  font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
  padding: 10px;
  position: relative;
  left: 80%;
  width: 300px;
  z-index: 2;
  height: 50px;
}

.legendheader h4 {
  margin: 0 0 10px;
}

.ol-popup {
  position: absolute;
  background-color: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  padding: 0px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -40px;
  min-width: 110px;
  width: 325px;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.spinner:after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 56%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border-radius: 50%;
  border: 5px solid rgba(180, 180, 180, 0.6);
  border-top-color: rgba(0, 0, 0, 0.6);
  animation: spinner 0.6s linear infinite;
}

.spinner2:after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 57%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border-radius: 50%;
  border: 5px solid rgba(180, 180, 180, 0.6);
  border-top-color: rgba(0, 0, 0, 0.6);
  animation: spinner 0.6s linear infinite;
}

@media screen and (max-width: 767px) {

  .spinner2:after,
  .spinner:after {
    left: 69%;
  }
}

.toggleLegend {
  display: block;
  position: relative;
  color: #fff;
  text-align: center;
  margin-top: 0.5%;
  height: 35px;
  width: 35px;
  background-color: rgba(0, 60, 136, .5);
  border: #fff;
  border-radius: 2px;
  left: 1%;
  z-index: 1;
}

.color-zf01 {
  background-color: rgb(62, 95, 126);
}

.color-zf02 {
  background-color: rgb(19, 75, 0);
}

.color-zf03 {
  background-color: rgb(193, 162, 107);
}

.color-zf04 {
  background-color: rgb(0, 149, 149);
}

.color-zf05 {
  background-color: rgb(167, 188, 169);
}

.color-zf06 {
  background-color: rgb(76, 76, 76);
}

.color-zf07 {
  background-color: rgb(164, 0, 0);
}

.color-zf08 {
  background-color: rgb(168, 3, 79);
}

.color-zf09 {
  background-color: rgb(168, 3, 79);
}

.color-zf10 {
  background-color: rgb(237, 46, 56);
}

.color-zf11 {
  background-color: rgb(247, 227, 74);
}

.color-zf12 {
  background-color: rgb(148, 77, 3);
}

.color-zf13 {
  background-color: rgb(237, 194, 130);
}

.color-zf14 {
  background-color: rgb(160, 186, 77);
}

.color-zf15 {
  background-color: rgb(255, 127, 126);
}

.color-zf16 {
  background-color: rgb(114, 96, 114);
}

.color-zf17 {
  background-color: rgb(186, 186, 186);
}

.color-zf18 {
  background-color: rgb(255, 127, 126);
}

.zona-supl {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255);
}

.swipe1 {
  -webkit-appearance: none;
  appearance: none;
  width: 50%;
  height: 25px;
  /* bottom: 50px;
left: 400px; */
  background: transparent;
}

.swipe2 {
  -webkit-appearance: none;
  appearance: none;
  width: 50%;
  height: 25px;
  /* bottom: 30px;
left: 400px; */
  background: transparent;
}

.swipe3 {
  -webkit-appearance: none;
  appearance: none;
  width: 50%;
  height: 25px;
  /* bottom: 50px;
left: 400px; */
  background: transparent;
}

.swipe2::-webkit-slider-thumb,
.swipe1::-webkit-slider-thumb,
.swipe3::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 1);
  cursor: pointer;
  margin-top: -8px;
}

.swipe2::-webkit-slider-runnable-track,
.swipe1::-webkit-slider-runnable-track,
.swipe3::-webkit-slider-runnable-track {
  margin-top: -3px;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 1);
  border-radius: 10%;
}


@media screen and (max-width: 767px) {
  .swipe1 {
    width: 50%;
    height: 25px;
    bottom: 40px;
    left: 50%;
  }

  .swipe2 {
    width: 50%;
    height: 25px;
    bottom: 20px;
    left: 50%;
  }

  .swipe3 {
    width: 50%;
    height: 25px;
    bottom: 20px;
    left: 50%;
  }


  .swipe2::-webkit-slider-thumb,
  .swipe1::-webkit-slider-thumb,
  .swipe3::-webkit-slider-thumb {
    width: 10px;
    height: 10px;
    margin-top: -4px;
  }

  .swipe2::-webkit-slider-runnable-track,
  .swipe1::-webkit-slider-runnable-track,
  .swipe3::-webkit-slider-runnable-track {
    border-width: 2px;
    margin-bottom: 2px;
  }
}


#info {
  display: block;
  position: relative;
  color: #fff;
  text-align: center;
  top: 10%;
  height: 35px;
  width: 35px;
  background-color: rgba(0, 60, 136, .5);
  border: #fff;
  border-radius: 2px;
  left: 1%;
  z-index: 1;
}

@media screen and (max-width: 767px) {

  #info {
    top: 7%;
  }

  #toggleLegend {
    margin-top: 2%;
    height: 35px;
    width: 35px;
    font-size: 20px;
  }

  .legend {
    font-size: 10px;
    padding: 5px;
    bottom: 20%;
    /* width: auto; */
  }

  .legend h4 {
    font-size: 18px;
  }

  .legend div span {
    width: 30px;
    height: 15px;
    margin-right: 3px;
  }
}

.opacity-container {
  display: flex;
  position: relative;
}

.checkbox-container {
  margin-bottom: 2px;
}


.opacity-container p {
  margin-right: 10px;
  font-size: 12px;
  margin-top: 1px;
}



.accordion-legend {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff' width='5' height='5'%3e%3cpath fill='%23ffffff' fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-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, border-radius 0.15s ease;
  --bs-accordion-btn-icon-transform: rotate(-180deg);
  --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff' width='5' height='5'%3e%3cpath fill='%23ffffff' fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  max-height: 400px;
  overflow-x: auto;
}

.header {
  display: flex;
  color: #ffffff;
  padding-left: 6px;
  width: 110px;
}

.close-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 20px;
  margin-top: -8px;
  color: #ffffff;
  position: relative;
  left: 110%;
}

@media screen and (max-width: 767px) {

  .close-button {
    left: 135%;
  }

  .header-legend {
    font-size: 16px;
  }

}

.fa-buffer,
.fa-info {
  font-size: 25px;
}

#layer-switch {
  font-size: 14px;
}

.header-legend {
  font-size: 20px;
}

.labelCheckbox {
  font-size: 14px;
}

.accordion-body {
  padding-left: 20px !important;
  margin-bottom: -10px;
}

.legend-fp {
  /* height: 200px; */
  overflow-y: auto;
}

.legend-fp::-webkit-scrollbar {
  width: 10px;
}

.legend-fp::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.legend-fp::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.4);
}

.legend-fp::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.6);
}

.popup h1 {
  font-size: 14px;

}

.popup {
  display: flex;
  flex-wrap: wrap;
}

.popup-details {
  font-size: 12px;
}

.popup-buttons {
  font-size: 12px;
  margin-top: 5px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
}

.btn-details {
  margin-right: 3px;
  background-color: rgba(0, 60, 136, .5);
  border-radius: 4px;
  border: 1px solid rgba(0, 60, 136, .8);
  cursor: pointer;
  color: #000000;
}

.btn-details:hover {
  background-color: rgba(0, 60, 136, .8);
  border-color: rgba(0, 60, 136, 1);
}

.btn-details:active {
  background-color: rgba(0, 60, 136, 1);
  border-color: rgba(0, 60, 136, 1);
}

.btn-popup-opinion {
  font-size: 12px !important;
  padding: 1px !important;
  border: 1px solid rgba(168, 160, 0, 0.8);
  margin-right: 3px !important;
}

.btn-popup-opinion:hover {
  background-color: rgba(225, 214, 2, 0.8);
  border-color: rgba(225, 214, 2, 1);
}

.btn-popup-opinion:active {
  background-color: rgba(225, 214, 2, 1);
  border-color: rgba(225, 214, 2, 1);
}

#popupContent {
  display: none !important;
}

#style-rte01 {
  background-color: rgba(0, 105, 133, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte02 {
  background-color: rgba(128, 61, 10, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte03 {
  background-color: rgba(51, 115, 33, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte04 {
  background-color: rgba(255, 0, 191, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte05 {
  background-color: rgba(227, 30, 36, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte06 {
  background-color: rgba(247, 209, 23, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte07 {
  background-color: rgba(252, 144, 142, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

/* #style-cc01{
  background-color: rgba(178, 179,179,1);
  height: 3px !important;
  margin-bottom: 3px;
}
#style-cc02{
  height: 3px !important;
  margin-bottom: 3px;
}
#style-cc03{
  background-color: rgba(252, 144, 142,1);
  height: 3px !important;
  margin-bottom: 3px;
} */

.feature-button {
  background-color: rgba(0, 60, 136, .5);
  border-radius: 4px;
  border: 1px solid rgba(0, 60, 136, .8);
  cursor: pointer;
  color: #000000;
  font-size: 12px;
}

.feature-button:hover {
  background-color: rgba(0, 60, 136, .8);
  border-color: rgba(0, 60, 136, 1);
}

.feature-button:active {
  background-color: rgba(0, 60, 136, 1);
  border-color: rgba(0, 60, 136, 1);
}

#style-cc01e {
  background-color: rgb(122, 28, 61, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-cc01p {
  height: 0;
  border-top: 3px dashed rgb(122, 28, 61);
  margin-bottom: 3px;
}

#style-cc02e {
  background-color: rgb(148, 16, 45, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-cc02p {
  height: 0;
  border-top: 3px dashed rgb(148, 16, 45, 1);
  margin-bottom: 3px;
}

#style-cc03e {
  background-color: rgb(236, 66, 72, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-cc03p {
  height: 0;
  border-top: 3px dashed rgb(236, 66, 72, 1);
  margin-bottom: 3px;
}

#style-cc04e {
  background-color: rgb(247, 163, 10, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-cc04p {
  height: 0;
  border-top: 3px dashed rgb(247, 163, 10, 1);
  margin-bottom: 3px;
}

#style-cc05e {
  background-color: rgb(247, 219, 23, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-cc05p {
  height: 0;
  border-top: 3px dashed rgb(247, 219, 23, 1);
  margin-bottom: 3px;
}

#style-cc06e {
  background-color: rgb(43, 42, 41, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-cc06p {
  height: 0;
  border-top: 3px dashed rgb(43, 42, 41, 1);
  margin-bottom: 3px;
}

#style-cc07e {
  background-color: rgb(91, 91, 91, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-cc07p {
  height: 0;
  border-top: 3px dashed rgb(91, 91, 91, 1);
  margin-bottom: 3px;
}

#style-cc08e {
  background-color: rgb(137, 137, 137, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-cc08p {
  height: 0;
  border-top: 3px dashed rgb(137, 137, 137, 1);
  margin-bottom: 3px;
}

#style-cc09e {
  background-color: rgb(178, 179, 179, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-cc09p {
  height: 0;
  border-top: 3px dashed rgb(178, 179, 179, 1);
  margin-bottom: 3px;
}

#style-cc10e {
  background-color: rgb(252, 144, 142, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-cc10p {
  height: 0;
  border-top: 3px dashed rgb(252, 144, 142, 1);
  margin-bottom: 3px;
}

#style-cc11e {
  height: 3px !important;
  margin-bottom: 3px;
}

#style-cc12e {
  height: 3px !important;
  margin-bottom: 3px;
}

#style-cc13e {
  background-color: rgb(252, 144, 142, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-cc13p {
  height: 0;
  border-top: 3px dashed rgb(252, 144, 142, 1);
  margin-bottom: 3px;
}

#propus {
  margin-left: 3px;
}

#existent {
  margin-left: -5px;
}

#style-rte01e {
  background-color: rgb(184, 0, 184, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte01p {
  height: 0;
  border-top: 3px dashed rgb(184, 0, 184);
  margin-bottom: 3px;
}

#style-rte02e {
  background-color: rgb(72, 185, 213, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte02p {
  height: 0;
  border-top: 3px dashed rgb(72, 185, 213, 1);
  margin-bottom: 3px;
}

#style-rte03e {
  background-color: rgb(35, 101, 117, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte03p {
  height: 0;
  border-top: 3px dashed rgb(35, 101, 117, 1);
  margin-bottom: 3px;
}

#style-rte04e {
  background-color: rgb(102, 165, 182, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte04p {
  height: 0;
  border-top: 3px dashed rgb(102, 165, 182, 1);
  margin-bottom: 3px;
}

#style-rte05e {
  background-color: rgb(128, 61, 10, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte05p {
  height: 0;
  border-top: 3px dashed rgb(128, 61, 10, 1);
  margin-bottom: 3px;
}

#style-rte06e {
  background-color: rgb(150, 99, 5, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte06p {
  height: 0;
  border-top: 3px dashed rgb(150, 99, 5, 1);
  margin-bottom: 3px;
}

#style-rte07e {
  background-color: rgb(186, 87, 0, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte07p {
  height: 0;
  border-top: 3px dashed rgb(186, 87, 0, 1);
  margin-bottom: 3px;
}

#style-rte08e {
  background-color: rgb(130, 61, 10, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte08p {
  height: 0;
  border-top: 3px dashed rgb(130, 61, 10, 1);
  margin-bottom: 3px;
}

#style-rte09e {
  border-bottom: 3px solid rgb(51, 115, 33, 1);
  color: rgb(51, 115, 33, 1);
  text-align: center;
  /* height: 3px !important; */
  margin-bottom: 3px;
}

#style-rte09p {
  border-bottom: 3px dashed rgb(51, 115, 33, 1);
  color: rgb(51, 115, 33, 1);
  text-align: center;
  margin-bottom: 3px;
}

#style-rte10e {
  border-bottom: 3px solid rgb(0, 99, 56, 1);
  color: rgb(0, 99, 56, 1);
  text-align: center;
  /* height: 3px !important; */
  margin-bottom: 3px;
}

#style-rte10p {
  /* height: 0;  */
  border-bottom: 3px dashed rgb(0, 99, 56, 1);
  color: rgb(0, 99, 56, 1);
  text-align: center;
  margin-bottom: 3px;
}

#style-rte11e {
  border-bottom: 3px solid rgb(0, 99, 56, 1);
  color: rgb(0, 99, 56, 1);
  text-align: center;
  /* height: 3px !important; */
  margin-bottom: 3px;
}

#style-rte11p {
  /* height: 0;  */
  border-bottom: 3px dashed rgb(0, 99, 56, 1);
  color: rgb(0, 99, 56, 1);
  text-align: center;
  margin-bottom: 3px;
}

#style-rte12e {
  background-color: rgb(252, 144, 142, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte12p {
  height: 0;
  border-top: 3px dashed rgb(252, 144, 142, 1);
  margin-bottom: 3px;
}

#style-rte13e {
  background-color: rgb(255, 0, 191, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte13p {
  height: 0;
  border-top: 3px dashed rgb(255, 0, 191, 1);
  margin-bottom: 3px;
}

#style-rte14e {
  background-color: rgb(255, 132, 11, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte14p {
  height: 0;
  border-top: 3px dashed rgb(255, 132, 11, 1);
  margin-bottom: 3px;
}

#style-rte15e {
  background-color: rgb(255, 0, 191, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte15p {
  height: 0;
  border-top: 3px dashed rgb(255, 0, 191, 1);
  margin-bottom: 3px;
}

#style-rte16e {
  border-bottom: 3px solid rgb(255, 132, 11, 1);
  color: rgb(255, 132, 11, 1);
  text-align: center;
  /* height: 3px !important; */
  margin-bottom: 3px;
}

#style-rte16p {
  border-bottom: 3px dashed rgb(255, 132, 11, 1);
  color: rgb(255, 132, 11, 1);
  text-align: center;
  margin-bottom: 3px;
}

#style-rte17e {
  border-bottom: 3px solid rgb(227, 30, 36, 1);
  color: rgb(227, 30, 36, 1);
  text-align: center;
  /* height: 3px !important; */
  margin-bottom: 3px;
}

#style-rte17p {
  border-bottom: 3px dashed rgb(227, 30, 36, 1);
  color: rgb(227, 30, 36, 1);
  text-align: center;
  margin-bottom: 3px;
}

#style-rte18e {
  background-color: rgb(277, 30, 36, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte18p {
  height: 0;
  border-top: 3px dashed rgb(277, 30, 36, 1);
  margin-bottom: 3px;
}

#style-rte19e {
  border-bottom: 3px solid rgb(247, 209, 23, 1);
  color: rgb(247, 209, 23, 1);
  text-align: center;
  /* height: 3px !important; */
  margin-bottom: 3px;
}

#style-rte19p {
  border-bottom: 3px dashed rgb(247, 209, 23, 1);
  color: rgb(247, 209, 23, 1);
  text-align: center;
  margin-bottom: 3px;
}

#style-rte20e {
  border-bottom: 3px solid rgb(255, 132, 11, 1);
  color: rgb(255, 132, 11, 1);
  text-align: center;
  /* height: 3px !important; */
  margin-bottom: 3px;
}

#style-rte20p {
  border-bottom: 3px dashed rgb(255, 132, 11, 1);
  color: rgb(255, 132, 11, 1);
  text-align: center;
  margin-bottom: 3px;
}

#style-rte21e {
  background-color: rgb(247, 209, 23, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte21p {
  height: 0;
  border-top: 3px dashed rgb(247, 209, 23, 1);
  margin-bottom: 3px;
}

#style-rte22e {
  background-color: rgb(252, 144, 142, 1);
  height: 3px !important;
  margin-bottom: 3px;
}

#style-rte22p {
  height: 0;
  border-top: 3px dashed rgb(252, 144, 142, 1);
  margin-bottom: 3px;
}

.toggleSwipe {
  display: block;
  position: relative;
  color: #fff;
  text-align: center;
  font-weight: bold;
  margin-top: 0.5%;
  height: 35px;
  width: 35px;
  background-color: rgba(0, 60, 136, .5);
  border: #fff;
  border-radius: 2px;
  left: 1%;
  z-index: 1;
}

#swipe-handle {
  position: absolute;
  top: 0;
  /* left: 60%; */
  /* transform: translateX(-50%);  */
  width: 8px;
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
  cursor: ew-resize;
  z-index: 1000;
  pointer-events: auto;
}

/* html, body{
  overflow: hidden;
} */

#existing-zone-title,
#proposed-zone-title {
  position: absolute;
  bottom: 25px;
  width: 100px !important;
  text-align: center;
  font-weight: bold;
  font-size: 16px !important;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  color: #ffffff;
}

#existing-zone-title {
  left: 40% !important;
}

#proposed-zone-title {
  right: 26.5% !important;
}

@media (max-width: 768px) {
  .toggleSwipe {
    margin-top: 2%;
  }

  #existing-zone-title {
    left: 41% !important;
    bottom: 8% !important;
    font-size: 14px !important;
  }

  #proposed-zone-title {
    right: 5% !important;
    bottom: 8% !important;
    font-size: 14px !important;
  }
}

#style-opiniiT svg,
#style-opiniiR svg {
  height: 25px;
  width: 25px;
  margin-left: 10px;
}

#style-opiniiR {
  padding-left: 20px;
}

#rezolvata {
  margin-left: 20px;
}

.container_jsplanurb {
  overflow: hidden;
}

/* Positioning and styling for the smaller legend button */
/* #legend-button {
  position: absolute;
  top: 100px;
  left: 10px;
  z-index: 1000;
  background-color: rgba(0, 60, 136, 0.5);
  border: none;
  padding: 5px 8px;

  font-size: 12px;

  color: #fff;
  cursor: pointer;
  border-radius: 4px;

  transition: background-color 0.3s ease;
}

#legend-button:hover {
  background-color: rgba(0, 60, 136, 0.8);
}



#legend-panel {
  display: none;
  position: absolute;
  top: 130px;
  left: 15px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border: 1px solid #ccc;
  z-index: 1000;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

#legend-panel h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

#legend-panel ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

#legend-panel ul li {
  margin-bottom: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
} */

/* .legend-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border-radius: 3px;
} */

/* Specific color definitions for each risk category */
.legend-icon.consolidated {
  background-color: rgb(116,196,118);
}

.legend-icon.seismic-risk-0-evr {
  background-color: rgb(247,247,247);
  /* border: solid 1px black; */
}

.legend-icon.seismic-risk-1-evr {
  background-color: rgb(227,26,28);
}

.legend-icon.seismic-risk-2-evr {
  background-color: rgb(253,141,60);
}

.legend-icon.seismic-risk-3-evr {
  background-color: rgb(254,204,92);
}

.legend-icon.seismic-risk-4-evr {
  background-color: rgb(255,255,178);
}

.legend-icon.seismic-risk-5-evr {
  background-color: rgb(103,0,13);
}

.legend-icon.seismic-risk-6-evr {
  background-color: rgb(204,204,204);
}

.legend-icon.with-evr {
  background-color: rgba(255, 255, 255, 0);
  border: solid 3px rgb(37,37,37);
}

.legend-icon.without-evr {
  background-color: rgba(255, 255, 255, 0);
  /* border: solid 3px rgba(240, 245, 149, 1); */
}

/* Styling for the toggle switch */
.toggle-container {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.toggle-label {
  font-size: 14px;
  color: #ffffff;
  margin-left: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: #2196F3;
}

input:checked+.slider:before {
  transform: translateX(16px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


.ol-popup {
  position: absolute;
  background-color: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  min-width: 280px;
  display: none;
  /* Default to hidden, OpenLayers will set display: block when needed */
}

.ol-popup:after,
.ol-popup:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.ol-popup:after {
  border-color: rgba(255, 255, 255, 0);
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}

.ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 2px;
  right: 8px;
}

.popup-content-wrapper {
  font-size: 12px;
  /* padding: 5px; */
}

.section {
  margin-bottom: 10px;
}

.section-title {
  text-align: center;
  font-size: 14px;
  margin-bottom: 3px;
  font-weight: bold;
}

.section-line {
  border: none;
  height: 1px;
  background-color: #333;
  /* Dark line color */
  width: 100%;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.section-content {
  display: flex;
  justify-content: space-between;
  /* padding-top: 5px; */
}

.popup-column {
  width: 48%;
  /* Two columns taking equal width */
}

.popup-column strong {
  display: inline-block;
  width: 120px;
  /* Adjust this for label width consistency */
}


.btn-detail {
  font-size: small !important;
  padding: 3px 3px !important;
  margin-left: 40px;
  margin-top: 10px !important;
}

