#arcgis-map-container {
  width: 100%;
  position: relative;
  padding-top: 50%; /* Esto establece la relación de aspecto del 40% */
}

#arcgis-map {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90%;
  width: 100%;
  border: 1px solid #ccc;
}

/* Texto encima del mapa */
.arcgis-map-text {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  margin-top: 10px;
}


.arcgis-map-text .left-text {
  flex: 1;
  margin-right: 10px;
}


.arcgis-map-text .right-text {
  flex: 1;
  margin-left: 10px;
}

/* Estilo para el texto de la izquierda */
.arcgis-map-text .left-text h5 {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

/* Estilo para el texto de la derecha */
.arcgis-map-text .right-text p {
  margin: 0;
  font-size: 0.9rem;
}

#block-portal-mapscvchomeblock h2 {
  font-size: 1rem;
  font-weight: 300;
  color: #33A0FF;
  background-color: rgba(51, 160, 255, 0.24);
  border-radius: 99px;
  padding: 0.5rem 0.8rem;
  display: inline;

}

#block-portal-mapscvchomeblock h5 {
  font-size: 1.8rem;
}

#block-portal-mapscvchomeblock {
  background-color: #EEF9FF;
}

.head-map {
  padding: 10% 10% 5% 10%;
}

/* Contenedor derecho */
.arcgis-map-text .right-text .right-text-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2%;
}

.right-text-content > a {
  white-space: nowrap;
  color: white;
  background-color: #33A0FF;
  padding: 3% 6%;
}

.right-text-content > a:hover {
  color: white;
  text-decoration: none;
}

.arcgis-map-text .right-text p.help {
  font-size: 0.8rem;
  color: #33A0FF;
  font-weight: 500;
}

.esri-legend {
  border-radius: 16px;
}

.esri-legend--card__label-container {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr); /* Dos columnas */
  gap: 10px; /* Espaciado entre elementos */
}

.custom-legend .esri-legend__layer-cell {
  margin: 0; /* Ajuste de márgenes para alineación */
}

.esri-legend--card__section {
  font-size: 16px !important;
  min-width: 470px !important;
  padding: 10% !important;
}

.esri-legend--card__layer-caption {
  margin-bottom: 0 !important;
  padding: 7px !important;
}

h4.esri-widget__heading {
  font-size: 16px !important;
}

.station-header {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  color: #69798E;
  font-size: 18px;
}

.name-station {
  font-weight: bold;
  padding-top: 20px;
  margin-bottom: 0 !important;
}

.dep-station {
  color: #69798E;
  font-size: 20px;
}

.label-f {
  font-size: 14px;
  color: #69798E;
  font-weight: 400;
}

.l-field {
  font-size: 18px;
  color: #353B45;
  font-weight: bold;
}

.label-field {
  padding-bottom: 15px;
}

.coordenadas {
  display: flex;
  gap: 20px;
}

.coordenadas > .co-x {
  background-color: #ECEEF2;
  border-radius: 10px;
  padding: 5px;
}

.coordenadas > .co-x > span {
  color: #69798E;
  font-weight: 400;
  padding-right: 6px;
  font-size: 14px;
}

.bottones {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 15px;
}

.bottones > a {
  white-space: nowrap;
  color: white !important;
  font-weight: bold;
  background-color: rgb(51, 160, 255);
  padding: 5% 11%;
  cursor: pointer;
}

.bottones > a.info {
  color: rgb(51, 160, 255) !important;
  background-color: #EEF9FF;
}


#busqueda-map .form-container {
  display: flex;
  align-items: flex-end;
  gap: 30px;
}

#busqueda-map .filters {
  display: grid;
  grid-template-rows: auto auto;
  gap: 15px;
}

#busqueda-map .row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#busqueda-map label {
  font-size: 14px;
  margin-right: 5px;
}

#busqueda-map select {
  padding: 5px;
  font-size: 14px;
  width: 200px;
}

#busqueda-map .button-container {
  display: flex;
  align-items: center;
}

#busqueda-map button {
  padding: 10px 20px!important;
  font-size: 14px!important;
  background: none !important;
  background-color: #007BFF!important;
  color: white!important;
  border: none!important;
  cursor: pointer!important;
  border-radius: 5px!important;

}

#busqueda-map button:hover {
  background-color: #0056b3;
}

#arcgis-map-container:focus, .ui-dialogui-dialog:focus {
  outline: none;
  box-shadow: none;
}

#busqueda-map-cont {
  padding: 5%;
  background-color: white;
  border-radius: 24px;
  border: 1px solid #D6DAE1;
}

#busqueda-map {
  padding: 5%;
  background-color: #F1F4F9;
}
.form-items{
  width: auto!important;
  display: flex;
  flex-direction: column;
}
#select-categoria{
  width: 100% !important;
}
#select-categoria,#select-departamento,#select-cuenca, #select-municipio, #select-estacion {
  padding: 2px 20px!important;
  background-color: white!important;
  border-radius: 24px!important;
  border: 1px solid #D6DAE1!important;
  height: 2.5em!important;
}
.tabs .tab-link{
  border-radius: 0 !important;
  background: none !important;
  border: none !important;
  padding: 10px 25px !important;
}
.tabs .tab-link.active{
  font-weight: bold !important;
  color: #007BFF !important;
  border-bottom: 2px solid #007BFF !important;
}
#station-form input{
  padding: 2px 20px !important;
  background-color: white !important;
  border-radius: 24px !important;
  border: 1px solid #D6DAE1 !important;
  height: 2.5em !important;
  width: 100%;
  margin-bottom: 25px !important;
}
#station-form select{
  padding: 2px 20px !important;
  background-color: white !important;
  border-radius: 24px !important;
  border: 1px solid #D6DAE1 !important;
  height: 2.5em !important;
  width: 100%;
  margin-bottom: 25px !important;
}
#station-form button {
  padding: 10px 20px!important;
  font-size: 14px!important;
  background: none !important;
  background-color: #007BFF!important;
  color: white!important;
  border: none!important;
  cursor: pointer!important;
  border-radius: 5px!important;

}
#station-form button[disabled]{
  background-color: rgba(0, 123, 255, 0.50) !important;
}
