@charset "utf-8";
/* CSS Document */
.contenedor { width:100%; }
img { max-width: 100%; }
.territorios-sr-only {
	border:0;
	clip-path:inset(50%);
	height:1px;
	margin:-1px;
	overflow:hidden;
	padding:0;
	position:absolute;
	white-space:nowrap;
	width:1px;
}
.pd10 {padding:10px;}
.flotari {float:left;}
.site-header {
	display:flex;
	align-items:flex-start;
	gap:24px;
	margin:0 0 1rem;
	padding:1rem;
	border-bottom:4px solid #0f6291;
	position:relative;
}
.site-header-logo {
	flex:0 0 180px;
}
.site-header-logo img {
	display:block;
	width:180px;
	height:auto;
}
.site-header-text {
	flex:1 1 auto;
	min-width:0;
	padding-right:96px;
	padding-top:8px;
}
#botones-globales {
	align-items:center;
	display:flex;
	gap:10px;
	position:absolute;
	right:1rem;
	top:1rem;
}
#botones-globales a {
	align-items:center;
	color:#0f6291;
	display:flex;
	gap:4px;
}
#botones-globales a:hover {
	color:#888;
}
#botones-globales img {
	display:block;
	height:24px;
	width:24px;
}
.site-header-text .seccion {
	margin:0 0 14px;
}
.seccion {
	color:#333;
	text-decoration:none;
}
.documento {
	color:#333;
	margin-bottom:.5rem;
	text-decoration:none;
}
.enlace {
	color:#0f6291;
	text-decoration:none;
}
a.enlace:hover {
	color:#888;
}
.territorios-separador {
	border:0;
	border-top:4px solid #0f6291;
	margin:0.5em 0;
	width:100%;
}

body {
  margin: 0;
}
.contenedor {
  width: 100%;
}
.grid-contenedor,
.grid-elemento {
  box-sizing: border-box;
  width: 100%;
}
.grid-elemento {
  padding-left: 14px;
  padding-right: 14px;
}
.territorios-shell {
  align-items: flex-start;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 25%) minmax(0, 1fr);
  gap: 18px;
  padding: 0 14px 18px 14px;
  width: 100%;
}
.territorios-indicadores {
  background: #f7f8fa;
  border: 1px solid #c8d3dc;
  box-sizing: border-box;
  flex: 0 0 25%;
  padding: 12px;
  position: sticky;
  top: 0;
}
.territorios-main {
  background: #fff;
  border: 1px solid #d7dfe6;
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 0 18px 0;
}
.selector-territorios {
  background: transparent;
  border: 0;
  display: none;
  margin: 0 0 16px 0;
  padding: 0;
}
.selector-territorios label {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.selector-territorios select {
  background: #fff;
  border: 1px solid #9fb3c2;
  box-sizing: border-box;
  color: #333;
  padding: 7px;
  width: 100%;
}
.indicador-panel[hidden] { display: none; }
.indicador-panel {
  clear: both;
  margin: 0;
}
.indicador-panel .grid-elemento {
  padding-left: 18px;
  padding-right: 18px;
}
.indicador-indice {
  border-top: 1px solid #d8e0e6;
  list-style: none;
  margin: 0;
  padding: 10px 0 0 0;
}
.indicador-indice li { margin-bottom: 7px; }
.indicador-indice a {
  color: #205c90;
  text-decoration: none;
}
.indicador-indice a.is-active {
  font-weight: 700;
}
.indicador-indice a:hover { text-decoration: underline; }
.territorios-volver-inicio {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  gap: .5rem;
  grid-column: 2;
  justify-content: center;
  margin: 1rem 0 0;
}
.territorios-boton-arriba,
.territorios-boton-indicador {
  background: #0f6291;
  border: 1px solid #0f6291;
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  padding: .45rem .9rem;
  text-decoration: none;
}
.territorios-boton-arriba:hover,
.territorios-boton-indicador:hover {
  background: #0b4b70;
  border-color: transparent;
  color: #fff;
  text-decoration: none;
}
.territorios-boton-indicador.is-disabled,
.territorios-boton-indicador.is-disabled:hover {
  background: #d8d8d8;
  border-color: #d8d8d8;
  color: #555;
  cursor: default;
}
@media (max-width: 820px) {
  .site-header {
    display:block;
  }
  .site-header-logo {
    margin-bottom:12px;
  }
  .site-header-logo img {
    width:150px;
  }
}

@media (max-width: 820px) and (orientation: portrait) {
  .selector-territorios {
    display: block;
  }

  .indicador-indice {
    display: none;
  }

  .territorios-shell {
    display: block;
    padding: 0 10px 14px 10px;
  }
  .territorios-indicadores {
    margin-bottom: 14px;
    position: static;
    width: 100%;
  }
  .territorios-main { width: 100%; }
  .territorios-volver-inicio {
    margin-left: 0;
    width: 100%;
  }
}
.footer-rule {
  border:0;
  border-top:1px solid #999;
  margin:0.5em 0;
  width:100%;
}
.territorios-local-texto {
  margin: 0 0 10px;
  color: #434343;
}

.territorios-local-meta {
  color: #434343;
}

.territorios-local-mapa-texto {
  margin-bottom: 8px;
}

.territorios-local-mapa-texto strong {
  display: block;
  margin-bottom: 8px;
}

.territorios-local-grafico {
  margin: 12px 0 18px;
  padding-top: 8px;
}

.territorios-local-grafico-titulo {
  margin: 0 0 8px;
  color: #0f6291;
}

.territorios-local-grafico-mapa {
  margin-top: 8px;
  padding-top: 0;
  border-top: 0;
}

.territorios-map-years {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.65rem auto 0.85rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid #d8e2e8;
  background: #f7fafc;
  color: #263945;
  text-align: center;
}

.territorios-map-years span,
.territorios-map-years strong {
  display: inline-block;
  padding: 0.12rem 0.35rem;
}

.territorios-map-years a {
  display: inline-block;
  padding: 0.12rem 0.35rem;
  color: #0f6291;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.territorios-map-years strong {
  background: #e3eef4;
  color: #263945;
}

.territorios-year-animation {
  margin-left: 0.75rem;
  padding: 0.22rem 0.75rem;
  border: 1px solid #080;
  background: #080;
  color: #fff;
  cursor: pointer;
}

.territorios-year-animation.is-running {
  border-color: #c00;
  background: #c00;
}

.territorios-year-animation:hover,
.territorios-year-animation:focus {
  filter: brightness(0.92);
  outline: 2px solid transparent;
}

.territorios-year-animation:focus-visible {
  outline: 2px solid #0f6291;
  outline-offset: 2px;
}

.territorios-local-grafico-mapa .territorios-local-grafico-titulo {
  display: none !important;
}

.territorios-local-datos-clave {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 14px 0 12px;
  padding: 0;
  list-style: none;
}

.territorios-local-dato-clave {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-areas:
    "icono cifra"
    "icono texto";
  align-items: center;
  column-gap: 14px;
  min-height: 96px;
  color: #4d4d4d;
}

.territorios-local-dato-rojo {
  color: #d91414;
}

.territorios-local-dato-naranja {
  color: #d98b16;
}

.territorios-local-dato-verde {
  color: #24c416;
}

.territorios-local-dato-icono {
  grid-area: icono;
  display: block;
  width: 72px;
  height: 72px;
}

.territorios-local-dato-icono svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.territorios-local-dato-cifra {
  grid-area: cifra;
  color: inherit;
}

.territorios-local-dato-texto {
  grid-area: texto;
  color: #434343;
}

.territorios-local-mapa {
  margin: 0 auto 1rem;
  width: min(100%, 820px);
}

.territorios-local-mapa svg {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.territorios-local-mapa-placeholder {
  pointer-events: none;
}

.territorios-local-mapa-placeholder-region {
  stroke: #ededed;
  stroke-width: 0.8;
}

.territorios-local-mapa-placeholder-scale,
.territorios-local-mapa-placeholder-scale-text {
  fill: #ededed;
}

.territorios-map-render {
  min-height: clamp(300px, 75vw, 760px);
  position: relative;
  transition: opacity 0.25s ease;
}

.territorios-local-columnas {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  min-height: 280px;
  overflow-x: auto;
  padding: 12px 8px 4px;
  border-left: 1px solid #d8e2e8;
  border-bottom: 1px solid #9fafb8;
}

.territorios-local-columna-grupo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 54px;
  height: 260px;
}

.territorios-local-columna-barras {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 215px;
  width: 100%;
}

.territorios-local-columna {
  width: 12px;
  min-height: 2px;
  background: #4d4d4d;
}

.territorios-local-columna:nth-child(2) {
  background: #8a8a8a;
}

.territorios-local-columna:nth-child(3) {
  background: #b7b7b7;
}

.territorios-local-columna:nth-child(4) {
  background: #0f6291;
}

.territorios-local-columna-etiqueta {
  width: 70px;
  margin-top: 8px;
  color: #263945;
  text-align: right;
  transform: rotate(-45deg);
  transform-origin: top right;
}

.territorios-local-leyenda {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 12px 0 0;
  color: #263945;
}

.territorios-local-leyenda-item::before {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background: #4d4d4d;
  content: "";
}

.territorios-leyenda-color-1::before {
  background: #4d4d4d;
}

.territorios-leyenda-color-2::before {
  background: #8a8a8a;
}

.territorios-leyenda-color-3::before {
  background: #b7b7b7;
}

.territorios-leyenda-color-4::before {
  background: #0f6291;
}

.territorios-local-apiladas {
  display: grid;
  gap: 8px;
  margin: 8px 0 12px;
}

.territorios-local-apilada-fila {
  display: grid;
  grid-template-columns: minmax(150px, 230px) 1fr;
  align-items: center;
  gap: 8px;
}

.territorios-local-apilada-etiqueta {
  color: #263945;
}

.territorios-local-apilada-barra {
  display: flex;
  height: 20px;
  background: #edf3f6;
  border: 1px solid #d5e0e6;
}

.territorios-local-apilada-segmento {
  height: 100%;
  background: #4d4d4d;
}

.territorios-local-apilada-segmento:nth-child(2) {
  background: #8a8a8a;
}

.territorios-local-apilada-segmento:nth-child(3) {
  background: #b7b7b7;
}

.territorios-local-detalles {
  margin-top: 10px;
}

.territorios-local-detalles summary {
  cursor: pointer;
  color: #0f6291;
}

.territorios-local-grafico-sin-borde {
  border-top: 0;
  padding-top: 0;
}

.territorios-local-tabla-wrapper {
  overflow-x: auto;
  margin-top: 10px;
}

.territorios-local-grafico-mapa .territorios-local-tabla-wrapper {
  margin: 14px auto 10px;
}

.territorios-chart-render,
.territorios-echarts {
  width: 100%;
  height: 360px;
  min-height: 320px;
  margin: 10px 0 12px;
  transition: opacity 0.25s ease;
}

.territorios-evolution-section {
  margin-top: 18px;
}

.territorios-evolution-grid {
  display: grid;
  gap: 18px;
}

.territorios-evolution-item {
  min-width: 0;
}

.territorios-evolution-title {
  margin: 0 0 8px;
  color: #263945;
}

.territorios-evolution-chart {
  height: 430px;
  min-height: 380px;
}

.territorios-evolution-chart-wide {
  height: 520px;
}

.territorios-evolution-chart-heatmap {
  height: 560px;
}

.territorios-evolution-sparklines {
  height: auto;
  min-height: 0;
  overflow-x: auto;
}

.territorios-sparkline-table {
  width: 100%;
  border-collapse: collapse;
  color: #333;
}

.territorios-sparkline-table th,
.territorios-sparkline-table td {
  padding: 8px 10px;
  border: 1px solid #c8d3dc;
  text-align: left;
  vertical-align: top;
}

.territorios-sparkline-table thead th {
  background: #eef5f9;
  color: #263945;
}

.territorios-sparkline-table tbody tr:hover {
  background: #eef5f9;
}

.territorios-csv-table,
.territorios-tabulator {
  transition: opacity 0.25s ease;
  width: 100%;
}

.territorios-map-render.is-updating,
.territorios-chart-render.is-updating {
  opacity: 0.45;
  pointer-events: none;
}

.territorios-main .tabulator {
  background: transparent;
  border: 1px solid #c8d3dc;
  color: #333;
}

.territorios-main .tabulator-row {
  background: transparent;
  height: auto;
  min-height: 0;
  overflow: visible;
}

.territorios-main .tabulator-row:hover {
  background: #eef5f9;
}

.territorios-main .tabulator-cell {
  background: transparent;
  color: #333;
  height: auto;
  min-height: 0;
  overflow: visible;
  text-align: left;
  white-space: normal;
}

.territorios-main .tabulator-cell > *,
.territorios-main .tabulator-responsive-collapse,
.territorios-main .tabulator-responsive-collapse table,
.territorios-main .tabulator-responsive-collapse tbody,
.territorios-main .tabulator-responsive-collapse tr,
.territorios-main .tabulator-responsive-collapse td {
  height: auto;
  max-height: none;
  overflow: visible;
  white-space: normal;
}

.territorios-main .tabulator-cell:focus,
.territorios-main .tabulator-row:focus,
.territorios-main .tabulator-col:focus {
  outline: 2px solid #0f6291;
  outline-offset: -2px;
}

.territorios-main .tabulator-col {
  background: #f3f7fa;
  color: #263945;
  text-align: left;
  height: auto;
}

.territorios-main .tabulator-header,
.territorios-main .tabulator-headers,
.territorios-main .tabulator-col,
.territorios-main .tabulator-col .tabulator-col-content {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  text-align: left;
  white-space: normal;
}

.territorios-main .tabulator-col .tabulator-col-title {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.territorios-main .tabulator-col .tabulator-col-title-holder,
.territorios-main .tabulator-col .tabulator-col-title,
.territorios-main .tabulator-col .tabulator-header-popup-button {
  height: auto;
  max-height: none;
  white-space: normal;
}

.territorios-local-tabla {
  width: 100%;
  border-collapse: collapse;
}

.territorios-local-tabla th,
.territorios-local-tabla td {
  border: 1px solid #d8e2e8;
  padding: 7px 8px;
  vertical-align: top;
}

.territorios-local-tabla th {
  background: #eef4f7;
  color: #0f6291;
}

.territorios-local-tabla tr:nth-child(even) td {
  background: #f8fbfc;
}

#indicador-01-01 .territorios-infogram-data-table {
  margin: 20px 0 12px;
  overflow: visible;
}

#indicador-01-01 .territorios-infogram-data-table .territorios-local-tabla {
  border-collapse: collapse;
  color: #4d4d4d;
  text-align: center;
}

#indicador-01-01 .territorios-infogram-data-table th,
#indicador-01-01 .territorios-infogram-data-table td {
  padding: 6px 8px;
  border: 0;
  text-align: center;
}

#indicador-01-01 .territorios-infogram-data-table th {
  background: #e9e9e9;
  color: #333;
}

#indicador-01-01 .territorios-infogram-data-table th:first-child {
  background: #fff;
}

#indicador-01-01 .territorios-infogram-data-table tr:nth-child(odd) td {
  background: #e9e9e9;
}

#indicador-01-01 .territorios-infogram-data-table tr:nth-child(even) td {
  background: #fff;
}

#indicador-01-01 .territorios-local-meta {
  margin-top: 8px;
  text-align: right;
}

#indicador-01-01 .territorios-infogram-section-rule {
  margin: 28px 0 26px;
  border: 0;
  border-top: 1px solid #e0e0e0;
}

#indicador-01-01 .territorios-infogram-chart-text {
  margin-top: 0;
  color: #4d4d4d;
}

#indicador-01-01 .territorios-infogram-chart-text strong {
  display: block;
  margin-bottom: 10px;
}

#indicador-01-01 .territorios-infogram-bars {
  margin-top: 0;
  margin-bottom: 4px;
  padding-top: 0;
  border-top: 0;
}

#indicador-01-01 .territorios-infogram-bars .territorios-local-grafico-titulo {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#indicador-01-01 .territorios-infogram-radio-legend {
  display: grid;
  justify-content: start;
  gap: 18px;
  margin: 24px 0 24px 120px;
  color: #4d4d4d;
}

#indicador-01-01 .territorios-infogram-radio-legend span::before {
  display: inline-block;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -4px;
  border: 0;
  border-radius: 0;
  background: #080;
  content: "";
}

#indicador-01-01 .territorios-infogram-radio-legend .is-active::before {
  background: #C00;
}

#indicador-01-01 .territorios-infogram-bars .territorios-local-columnas {
  position: relative;
  align-items: flex-start;
  justify-content: center;
  gap: 34px;
  min-height: 344px;
  overflow: visible;
  padding: 18px 0 34px 104px;
  border-left: 0;
  border-bottom: 0;
  background: transparent;
}

#indicador-01-01 .territorios-infogram-bars .territorios-local-columnas::before {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 300px;
  height: 2px;
  background: #333;
  content: "";
}

#indicador-01-01 .territorios-infogram-bars .territorios-local-columnas::after {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 18px;
  height: 282px;
  background: repeating-linear-gradient(to bottom, #a6a6a6 0, #a6a6a6 1px, transparent 1px, transparent 40.285714px);
  content: "";
}

#indicador-01-01 .territorios-infogram-y-axis {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 18px;
  height: 282px;
  color: #4d4d4d;
}

#indicador-01-01 .territorios-infogram-y-axis span {
  position: absolute;
  left: 0;
  transform: translateY(-1.05em);
}

#indicador-01-01 .territorios-infogram-y-axis span:nth-child(1) {
  top: 0;
}

#indicador-01-01 .territorios-infogram-y-axis span:nth-child(2) {
  top: 40.285714px;
}

#indicador-01-01 .territorios-infogram-y-axis span:nth-child(3) {
  top: 80.571429px;
}

#indicador-01-01 .territorios-infogram-y-axis span:nth-child(4) {
  top: 120.857143px;
}

#indicador-01-01 .territorios-infogram-y-axis span:nth-child(5) {
  top: 161.142857px;
}

#indicador-01-01 .territorios-infogram-y-axis span:nth-child(6) {
  top: 201.428571px;
}

#indicador-01-01 .territorios-infogram-y-axis span:nth-child(7) {
  top: 241.714286px;
}

#indicador-01-01 .territorios-infogram-y-axis span:nth-child(8) {
  top: 282px;
}

#indicador-01-01 .territorios-infogram-bars .territorios-local-columna-grupo {
  position: relative;
  z-index: 1;
  flex: 0 0 84px;
  height: 330px;
  justify-content: flex-start;
}

#indicador-01-01 .territorios-infogram-bars .territorios-local-columna-barras {
  height: 282px;
  gap: 6px;
}

#indicador-01-01 .territorios-infogram-bars .territorios-local-columna {
  width: 18px;
  background: #C00;
}

#indicador-01-01 .territorios-infogram-bars .territorios-local-columna:nth-child(2) {
  background: #080;
}

#indicador-01-01 .territorios-infogram-bars .territorios-local-columna-etiqueta {
  width: 84px;
  min-height: 2.4em;
  margin-top: 10px;
  color: #333;
  line-height: 1.15;
  text-align: center;
  transform: none;
  white-space: normal;
}

#indicador-01-01 .territorios-infogram-bars .territorios-local-leyenda {
  display: none;
}

#indicador-01-01 .territorios-infogram-bars + .territorios-local-meta {
  margin-top: 8px;
}

.territorios-local-mapa-region {
  stroke-width: 0.8;
  cursor: help;
}

.territorios-local-mapa-region:hover,
.territorios-local-mapa-region:focus {
  filter: none;
  outline: none;
}

.territorios-local-mapa-boundary {
  fill: none;
  stroke: #fff;
  stroke-width: 1.2;
  pointer-events: none;
}

.territorios-local-mapa-recuadro {
  fill: none;
  stroke: #e6e6e6;
  stroke-width: 1;
}

.territorios-local-mapa-escala-texto {
  fill: #333;
}

.territorios-local-mapa-escala-segmento {
  cursor: pointer;
  stroke: #fff;
  stroke-width: 1;
}

.territorios-local-mapa-escala-segmento:hover,
.territorios-local-mapa-escala-segmento:focus {
  outline: none;
  stroke: #333;
}

.territorios-map-tooltip {
  position: fixed;
  z-index: 9999;
  padding: 8px 10px;
  color: #263945;
  background: #fff;
  border: 1px solid #9fafb8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.territorios-map-tooltip-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.territorios-map-tooltip-color {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 3px;
  border-radius: 50%;
}

.territorios-map-tooltip-content,
.territorios-map-tooltip-content strong,
.territorios-map-tooltip-content span {
  display: block;
}

.territorios-map-tooltip-content span {
  margin-top: 3px;
  color: #0f6291;
}

@media (max-width: 720px) {
  .territorios-local-datos-clave {
    grid-template-columns: 1fr;
  }
}
