/* These styles are generated from project.scss. */
:root {
  --primarycolor: #004465;
  --secondarycolor: #cbddef;
  --tertiarycolor: #afcdd8;
  --personalizedbackgroundcolor: #f1f3fb;
  --activehovercolor: #60bebb;
  --personalizedbackgroundcolor2: #dce0ea;


  --baucolor: #94abbc;
  --baucolortransparent: #94abbcaa;
  --visioncolor: #004465;
  --visioncolortransparent: #d13b66aa;
  --myscenariocolor: #8db736;
  --myscenariocolortransparent: #8db736aa;
  --hazardcolor: #56ABD6;
}

body {
  background-color: #F1F3FF;
}

/* DIFERENTES TIPOS DE VARIANTES PARA LA FUENTE */

.roboto-header {
  font-size: 3rem;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.roboto-header-medium {
  font-size: 2rem;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.roboto-thin {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.roboto-light {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.roboto-medium {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.roboto-bold {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.roboto-black {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.roboto-thin-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.roboto-light-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.roboto-regular-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.roboto-medium-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.roboto-bold-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.roboto-black-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: italic;
}

body {
  font-size: 0.8rem;
}

p,
ul {
  line-height: 2;
}

input,
button,
a,
select,
textarea {
  border-radius: 0 !important;
}


/* COLORES */
/* Example custom class for your range slider */
.custom-range {
  -webkit-appearance: none;
  /* Remove default Chrome/Safari appearance */
  width: 100%;
  height: 8px;
  background-color: #60bebb !important;
  /* Track color */
  border-radius: 4px;
  outline: none;
  /* Remove focus outline */
}

/* Chrome/Edge/Safari */
.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  /* Remove default thumb appearance */
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #0d4972 !important;
  /* Thumb (dot) color */
  cursor: pointer;
  margin-top: -4px;
  /* Center the thumb on the track */
}

.custom-range::-webkit-slider-thumb:hover {
  background: #333333;
  /* Optional: darker on hover */
}

/* Firefox */
.custom-range::-moz-range-thumb {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #0d4972 !important;
  /* Thumb (dot) color */
  cursor: pointer;
}

/* (Optional) Remove default Firefox styles on track */
.custom-range::-moz-range-track {
  height: 8px;
  background-color: #60bebb !important;
  /* Track color */
  border-radius: 4px;
}

.border-bottom-activehover {
  border-bottom: 1px solid var(--activehovercolor) !important;
  width: 100%;
}

#cambiar-proyecto {
  background-color: #60BEBB !important;
  color: var(--primarycolor) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  position: relative;
  padding: 10px !important;
  border: 1px solid #ccc !important;
  display: inline-block !important;
  padding-right: 30px !important;
  /* Adjust to make room for the chevron */
}

#cambiar-proyecto::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 5px solid transparent !important;
  border-right: 5px solid transparent !important;
  border-top: 5px solid var(--primary-color) !important;
  pointer-events: none !important;
  transform: translateY(-50%) !important;
}

#cambiar-proyecto {
  display: inline-block;
  padding-right: 30px;
  /* Adjust to make room for the chevron */
}

.color-primary {
  color: var(--primarycolor);
}

.modal,
.modal table td,
.modal button {
  color: var(--primarycolor);
}

.list-group-item {
  color: var(--primarycolor);
}

.list-group-item.active {
  z-index: 2;
  color: var(--bs-list-group-active-color);
  background-color: var(--activehovercolor);
  border-color: var(--primarycolor);
}

/* .modal table td {
    color: var(--primarycolor);
  } */

.table th {
  --bs-table-bg: var(--primarycolor);
  color: white;
}

.table {
  --bs-table-bg: transparent;
}

.table-personalized td {
  background-color: var(--secondarycolor);
  border: solid #0C4972;
  border-width: 0 0 1px 0;
  color: var(--primarycolor);
}

.table .btn {
  color: var(--primarycolor);
}

.bg-secondary {
  background-color: var(--secondarycolor) !important;
}

.color-secondary {
  color: var(--secondarycolor);
}

.color-hover {
  color: var(--activehovercolor);
}

.background-primary {
  background-color: var(--primarycolor);
}

.borders-primary {
  border-color: var(--primarycolor);
}

.borders-secondary {
  border-color: var(--secondarycolor);
}

.borders-bau {
  border-color: var(--baucolor);
}

.borders-vision {
  border-color: var(--visioncolor);
}

.borders-my {
  border-color: var(--myscenariocolor);
}

.bg-bau {
  background: var(--baucolor);
}

.color-bau {
  color: var(--baucolor);
}

.color-bau::-webkit-slider-thumb {
  background: var(--baucolor);
}

.color-bau::-moz-range-thumb {
  background: var(--baucolor);
}

.color-bau::-ms-thumb {
  background: var(--baucolor);
}

.bg-hazard {
  background: var(--hazardcolor);
}

.color-hazard {
  color: var(--hazardcolor);
}

.color-hazard {
  color: var(--hazardcolor);
}

.color-hazard::-webkit-slider-thumb {
  background: var(--hazardcolor);
}

.color-hazard::-moz-range-thumb {
  background: var(--hazardcolor);
}

.color-hazard::-ms-thumb {
  background: var(--hazardcolor);
}

.bg-vision {
  background: var(--visioncolor);
}

.color-vision {
  color: var(--visioncolor);
}

.color-vision::-webkit-slider-thumb {
  background: var(--visioncolor);
}

.color-vision::-moz-range-thumb {
  background: var(--visioncolor);
}

.color-vision::-ms-thumb {
  background: var(--visioncolor);
}

.bg-my {
  background: var(--myscenariocolor);
}

.color-my {
  color: var(--myscenariocolor);
}

.color-my::-webkit-slider-thumb {
  background: var(--myscenariocolor);
}

.color-my::-moz-range-thumb {
  background: var(--myscenariocolor);
}

.color-my::-ms-thumb {
  background: var(--myscenariocolor);
}

.bg-1 {
  background-color: var(--personalizedbackgroundcolor);
}

.bg-2 {
  background-color: var(--personalizedbackgroundcolor2) !important;
}

.btn-custom:hover {
  background-color: var(--activehovercolor);
  color: var(--primarycolor);
  border-color: var(--primarycolor);
}

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.bg-personalized {
  background-color: var(--primarycolor);
}

/*==================================================> */

/* listados */

ul {
  margin: 0;
}

ul.dashed {
  list-style-type: none;
}

ul.dashed>li {
  text-indent: -5px;
}

ul.dashed>li:before {
  content: "-";
  text-indent: -5px;
}

/* OTROS */
.leaflet-popup-content {
  width: 100% !important;
}

.leaflet-popup {
  min-width: 400px;
}

.map {
  height: 300px;
}

.progress {
  border-radius: 0;
}

.switch-control {
  border-radius: 2em !important;
}

.custom-border {
  border: solid var(--personalizedbackgroundcolor2);
  border-width: 0 2px 0 0;
}

.custom-dashed-border {
  border: dashed var(--personalizedbackgroundcolor2);
  border-width: 0 0 1px 0;
}

/* Navbar img effects --------------------> */

.navbar-header img {
  transition: all 0.5s;
}

.navbar-header img:hover {
  transform: scale(1.1);
}


/* Welcome pop-up  --------------------> */
.popup-container {
  position: absolute;
  top: 55%;
  left: 82%;
  transform: translate(-50%, -50%);
  background-color: #f2f4ffc2;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  padding: 30px;
  max-width: 400px;
  width: 100%;
  display: none;
  z-index: 9999999999;
}

div#popup h2 {
  font-size: 18px;
  color: #074263;
  font-weight: 700;
}

div#popup p {
  font-size: 13px;
  color: #074263;
}

.close-mark {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
}

.close-mark:hover {
  color: red;
}

/* //////////////// */

/* Tool tip  --------------------> */
.leaflet-tooltip.custom-tooltip {
  background-color: --var(--secondarycolor);
  color: #074263;
  /* Text color */
  border-radius: 5px;
  /* Rounded corners */
  padding: 10px;
  /* Padding inside the tooltip */
  max-width: 300px;
  /* Maximum width of the tooltip */
  text-align: left;
  /* Align text to the left */
  white-space: normal;
  word-wrap: break-word;
  /* Allow long words to break and wrap */
}

.custom-tooltip b {
  color: #074263;
  /* Color for bolded text (e.g., Suitability Index, RDDP, Address) */
}

/* //////////////// */

/* Map legend  --------------------> */

.legend {
  color: #074263;
  float: right;
  margin-left: 100px;
}

.legend i {
  width: 25px;
  height: 16px;
  float: left;
  padding: 5px;
  margin-right: 20px;
  opacity: 0.7;
}

.info {
  padding: 6px 8px;
  font: 14px/16px "Roboto", Helvetica, sans-serif;
  color: #074263;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  margin: 0px;
}

.info h5 {
  /* top | left and right | bottom */
  margin: 0 0 5px;
  color: #777;
}

/* //////////////// */

.navbar {
  --bs-navbar-brand-margin-end: 0;
  --bs-navbar-brand-padding-y: 0;
}

.navbar li a {
  color: white;
}

.navbar li a:hover {
  color: var(--activehovercolor);
}

.navbar li select {
  margin-left: 1rem;
}

.navbar li select:hover:not(:focus) {
  color: var(--activehovercolor);
}

.navbar li select:focus {
  background-color: var(--primarycolor);
}

.navbar li select option:not(:checked) {
  background-color: var(--primarycolor);
}

.navbar li select.decorated option:hover {
  box-shadow: 0 0 10px 100px #dc3545 inset;
}

.navbar-header a:first-child {
  text-align: center;
  border-right: 1.5px solid white;
}

.navbar-header a:first-child img {
  padding-right: 1rem;
}

.navbar-header a:last-child img {
  padding-top: 0.125rem;
  padding-left: 1rem;
}

.nav-link {
  border-right: 1.5px solid white;
}

/* Change the last-child border to none */
#navbarNav li:last-child a {
  border-right: none;
}

/* .dropdown-menu {
    background-color: var(--primarycolor);
    --bs-dropdown-min-width: 8rem;
  }

  .dropdown-menu li a {
    font-size: 12px;
  } */

.dropdown-menu li a:hover {
  /* background-color: var(--personalizedbackgroundcolor); */
  background-color: rgba(241, 243, 251, 1);
  color: var(--activehovercolor);
}

@media only screen and (max-width: 576px) {
  .navbar li select {
    margin-left: 0.65rem;
    padding: 0.5rem 0px;
    font-size: 10px;
  }

  .nav-item a {
    font-size: 10px;

  }

  .navbar-nav {
    --bs-nav-link-hover-color: var(--activehovercolor);
  }

  /* .nav-item a:hover {
      --bs-nav-link-hover-color:var(--activehovercolor);
    } */

  #navbarNav li a {
    border-right: none;
  }

  .navbar-brand img {
    height: 18px;
  }
}

/* Query md */
@media only screen and (min-width: 577px) and (max-width: 768px) {
  .navbar li select {
    margin-left: 0.65rem;
    padding: 0.5rem 0px;
    font-size: 10px;
  }

  .nav-item a {
    font-size: 10px;
  }

  #navbarNav li a {
    border-right: none;
  }

  .navbar-brand img {
    height: 21px;
  }
}

.dashed-container {
  border: 1px dashed rgb(111, 111, 111);
  min-height: 160px;
}

button.btn.btn-custom.borders-secondary,
a.btn.btn-custom.borders-secondary {
  background-color: white;
  width: 320px !important;
  max-height: 40px !important;
  border-color: #60BEBB;
  font-size: 13px;
}

button.btn.btn-custom.borders-secondary:hover,
a.btn.btn-custom.borders-secondary:hover {
  background-color: var(--activehovercolor);
  color: white;
  border-color: var(--primarycolor);
}

.modal {
  background-color: #074163b4;
}

.more-minus {
  color: #000;
}

#cambiar-proyecto {
  font-weight: 700;
  color: #084263;
  font-size: 0.8rem;
  padding: 10px;
}

a {
  color: #084263
}

.modal-content {
  background-color: #F2F4FF;
  border-radius: 0;
}

.carousel-control-prev {
  left: -45px;
}

.carousel-control-next {
  right: -45px;
}

.carousel-indicators button {
  width: 12px !important;
  /* Make them round */
  height: 12px !important;
  background-color: #000;
  /* Or whatever color fits your design */
  border-radius: 50% !important;
  /* Makes it a circle */
  margin: 0 5px;
  /* Space between dots */
  display: inline-block;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.carousel-indicators .active {
  opacity: 1;
  /* Highlight active dot */
  background-color: #fff;
  /* Or a contrasting color */
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  display: inline-block;
  width: 6rem;
  height: 2rem;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 200% 200%;
}