@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  src:
    local("Roboto"),
    local("Roboto-Regular"),
    url(https://css2.rtve.es/css/rtve.2015/rtve.commons/rtve.fonts/roboto/woff2/Roboto-Regular.woff2)
      format("woff2"),
    url(https://css2.rtve.es/css/rtve.2015/rtve.commons/rtve.fonts/roboto/woff/Roboto-Regular.woff)
      format("woff");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F,
    U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
body {
  font-family: Roboto, arial, sans-serif;
  font-weight: 400;
  font-style: normal;
}

.article .summary {
  background: #ffffff !important;
}

#buttons-container {
  top: 4rem;
  right: 2rem;
  z-index: 0;
  width: 20em;
  height: 60vh;
  max-height: 60vh;
  overflow-y: auto;
  background-color: white;
  display: flex;
  direction: row;
  flex-wrap: wrap;
  position: relative;
  float: right;
  padding: 1rem;
}
#buttons-container h2 {
  margin: 0;
  padding: 0.3rem;
}
div#geocoder {
  position: absolute;
  top: 5.2rem;
  left: auto;
  right: -0.8rem;
  width: 25rem;
}
.horas {
  display: flex;
  flex-direction: row;
  justify-content: end;
  margin-right: 1rem;
  padding-top: 1rem;
}
#incendios-24h,
#incendios-48h {
  width: 10.5rem;
  padding: 0.4rem;
  border: none;
  border-radius: 3px;
  font-size: 1.4rem;
  text-align: center;
  color: #fff;
  background: #ee8a65;
  z-index: 9;
  margin: 0.8rem;
  cursor: pointer;
}
div#leyenda {
  left: 0.5vw;
  position: absolute;
  margin: 1rem 0 0 1rem;
  width: auto;
  background-color: white;
  padding: 0.5rem 1rem;
}
span.circulo {
  margin-right: 0.4rem;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 0%,
    rgba(247, 132, 0, 1) 50%,
    rgba(255, 0, 1, 1) 100%
  );
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  border: 3px solid red;
}
span.sup {
  margin-right: 0.4rem;
  width: 15px;
  height: 15px;
  display: inline-block;
  border: 2px solid #a85035;
  background-color: #a85035;
  vertical-align: middle;
  background: radial-gradient(
    circle,
    rgba(215, 179, 144, 1) 0%,
    rgba(168, 80, 53, 1) 100%
  );
}
div#vuelos {
  position: absolute;
  top: 1.2rem;
  left: 0.8rem;
  margin: 3rem 0 0 1rem;
  cursor: pointer;
}
.fecha_inc {
  font-style: italic;
  color: #858585;
}
.enlaces_incendios {
  background: #fff;
  position: relative;
  width: 22em;
  border-radius: 4px;
}
.enlaces_incendios h2 {
  padding: 0;
  margin-bottom: 0;
  text-align: left;
}

#fire-risk-geocoder-info {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0 0 0;
  padding: 0.6rem 0.8rem;
  background: #fff;
  border-radius: 4px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #333;
  width: 100%;
  box-sizing: border-box;
  height: 40vh;
}

#fire-risk-geocoder-info span {
  width: 70vw;
  margin: 0;
  text-align: center;
}

body {
  margin: 0;
  padding: 0;
}

#map {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}

#map .mapboxgl-ctrl-bottom-left {
  left: 0.8rem;
  bottom: 1.5rem;
}
.mapboxgl-ctrl-group button {
  width: 2.3rem !important;
}
#incendios-48h {
  top: 100px;
}
#incendios-24h.button-active,
#incendios-48h.button-active {
  background-color: #eb4f4f;
  color: #fff;
}
#incendios-24h.button-active:hover,
#incendios-48h.button-active:hover {
  border: 2px solid black;
}
#incendios-24h.button-inactive,
#incendios-48h.button-inactive {
  background-color: #fff;
  border: 2px solid #eb4f4f;
  color: #eb4f4f;
}
#incendios-24h.button-inactive:hover,
#incendios-48h.button-inactive:hover {
  border: 2px solid black;
}
div#incendio {
  height: 20px;
  display: inline-block;
}
div#superficie {
  margin-left: 1rem;
  height: 20px;
  display: inline-block;
}
button#europa,
button#canarias,
button#peninsula {
  width:36px;
  height:36px;
  display: block;
  background: #fff;
  text-indent: -1000%;
  overflow: hidden;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 4px;
  box-shadow: 0 0 0 2px #0000001a;
  border: transparent;
}
button#peninsula {
  background-image: url("https://www.rtve.es/aplicaciones/infografias/rtve_2026/noticias/incendios-2026/imagenes/Icon_Spain.svg");
}
button#canarias {
  background-image: url("https://www.rtve.es/aplicaciones/infografias/rtve_2026/noticias/incendios-2026/imagenes/Icon_Canarias.svg");
}
button#europa {
  background-image: url("https://css2.rtve.es/css/rtve.2023.noticias/cadaveres-hormigon/i/Icon_Europa-000000.svg");
} /*FALTA ICONO*/

@media screen and (max-width: 760px) {
  div#vuelos {
    position: absolute;
    top: -1rem;
    right: 94vw;
    margin: 3rem 0 0 1rem;
    cursor: pointer;
  }
}
#europa:hover,
#peninsula:hover,
#canarias:hover {
   background-color: #eee;
  color: black;
  border: transparent;
}
.fly-button {
  display: inline-block;
  width: calc(50% - 10px);
  margin: 5px;
  padding: 10px;
  background-color: white;
  color: #757575;
  border: 2px solid #cdcdcd;
  cursor: pointer;
}
.fly-button:hover {
  border: 2px solid black;
  box-shadow: 0 0 10px red;
}
#popupFijo {
  position: absolute;
  display: none;
  background-color: #f7f7f7;
  padding: 5px;
  width: 300px;
  height: 120px;
  overflow: auto;
  top: 180px;
  right: 10px;
}

/*** NUEVO CSS ***/
.contenido {
  padding: 2rem;
  padding: 65px 20px 20px 20px;
}
.dashboard {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.dashboard div#vuelos {
  position: relative;
  cursor: pointer;
  top: auto;
  left: auto;
  margin: 0;
  margin-left: 0;
}
.dashboard .buscador {
  margin-right: 0;
}
.dashboard .buscador div#geocoder {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: auto;
  padding-top: 1rem;
}
.dashboard .buscador #buttons-container {
  z-index: 0;
  width: 20em;
  height: 60vh;
  max-height: 60vh;
  overflow-y: auto;
  background-color: white;
  display: flex;
  direction: row;
  flex-wrap: wrap;
  position: relative;
  padding: 1rem;
  top: auto;
  right: auto;
  float: none;
  border-radius: 4px;
}
.contenido .leyenda-vuelos {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.contenido .leyenda-vuelos div#leyenda {
  position: relative;
  width: auto;
  background-color: #000;
  padding: 0.5rem 1rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  left: auto;
  margin: 0;
  opacity: 0.7;
  color: #fff;
  margin-left: 0;
  border-radius: 4px;
}
.contenido .leyenda-vuelos div#leyenda div#incendio,
.contenido .leyenda-vuelos div#leyenda div#superficie {
  height: auto;
}
.contenido .leyenda-vuelos .horas {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  margin-right: 0;
  padding-top: 0;
}
.contenido .leyenda-vuelos .horas #incendios-24h {
  margin-right: 1rem !important;
}
.contenido .leyenda-vuelos .horas #incendios-24h,
.contenido .leyenda-vuelos .horas #incendios-48h {
  margin: 0;
}

.p_final .rtve-embed {
  position: relative;
}

.p_final .rtve-embed #map {
  position: relative;
  height: calc(100dvh - 200px);
  width: 99.5dvw;
  margin-left: calc((100vw - 100%) / -2);
  overflow: hidden;
}

.p_final .rtve-embed .contenido {
  position: absolute;
  width: 99.5dvw;
  top: 0;
  height: calc(100dvh - 200px);
  left: calc((100vw - 100%) / -2);
}

.summary li h2:before,
.summary li span:before {
  content: none;
}
