html, 
body {
	height: 100%;
	margin: 0;
	font-family:Century;
}

/* Estructura general */

.logo-wrapper {
    width: 15%;
    float: left;
    text-align: left;
    height: 100%;
}

.logo-wrapper img {
    margin: 25px 0 0 20px;
}

.titulo-wrapper {
    width: 70%;
    float: left;
    text-align: center;
    height: 100%;
}

#titulo {
	position: absolute;
	top: 0px;
	height: 90px;
	width: 100%;
	min-width: 1270px;
	border-bottom: 2px solid #D3D8A5;
}

#titulo p {
	font-size: 24px;
	margin: 30px 1vw 0 1vw;
}

.escudo-wrapper {
	width: 15%;
    float: right;
   	text-align: right;
   	height: 100%;
}

.escudo-wrapper img {
	margin: 5px 20px 0 0;
}

#div_map {
	position: absolute;
	left: 0;
	top: 95px;
	width: 580px;
	min-width: 580px;
	min-height: 700px;
	bottom: 25px;
}

#div_info {
	position: absolute;
	right: 0;
	top: 95px;
	left: 580px;
	min-width: 700px;
	min-height: 700px;
	bottom: 25px;
}

/* Botones */

#botones_map {
	position: absolute;
	top: 0;
	width: 100%; 
	height: 60px;
}

/*
#texto_map p {
	padding: 25px;
	margin: 0;
}*/

#botones_info {
	position: absolute;
	top: 55px;
	width: 100%; 
	height: 50px;
}

.marco_boton {
	position: relative;
	width: 33%;
	float: left;
	margin-top: 15px;
}

#boton1,
#boton2,
#boton3 {
	width: 80%;
	margin: 0 auto 0 auto;
	text-align: center;
	padding: 10px 0 9px 0;
	cursor: pointer;
}

#boton1:hover,
#boton2:hover,
#boton3:hover {
  background-color: rgb(119, 100, 26);
}

.boton_activo {
	background-color: #D3D8A5;
}

#botona,
#botonb,
#botonc {
	width: 80%;
	margin: auto;
	text-align: center;
	border-bottom: 3px solid #D3D8A5;
	padding: 5px;
	cursor: pointer;
}

#botona:hover,
#botonb:hover,
#botonc:hover {
  background: rgb(119, 100, 26);
  border-bottom: 3px solid rgb(119, 100, 26);
}

#botones_map p,
#botones_info p {
	margin: 0;
	font-size: 15px;
}

/* Mapa principal */

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

#map .leaflet-popup-content-wrapper {
	border-radius: 5px;
	text-align: center;
	color: #4d4d4d;
	padding: 1px;
}

#map .leaflet-popup-content {
	margin: 5px 15px;
	font-family: Century;
	font-size: 14px;
}

#map .leaflet-popup-content p {
	margin: 0;
}

#map .leaflet-popup-content p:first-child {
	font-weight: bold;
}

#map .leaflet-interactive {
  cursor: default !important;
}

.grafico .leaflet-container {
  cursor: default !important;
}

/* Info */

#titulo_info {
	position: absolute;
	top: 0;
	width: 100%;
	height: 55px;
	margin: 15px 0 0 0;
}

#titulo_info p {
	text-align: center;
	font-size: 22px;
	margin: 10px 0 10px 0;
}

#info {
	position: absolute;
	top: 120px;
	width: 100%;
	bottom: 0;
	overflow: scroll;
}

#texto_info {
	margin-top: 20px;
	margin-bottom: 0px;
	padding: 0px 80px 0px 80px;
	font-size: 13px;
	color: #4d4d4d;
}

#texto_info p {
	margin: 8px 50px 0 50px;
}

.grafico {
    width: 900px;
    display: block;
    margin: 50px auto;
    color: #4d4d4d;
}

@media only screen and (max-width: 1540px) {
	.grafico {
		width: calc(100vw - 640px);
	}
}

@media only screen and (max-width: 1270px) {
	.grafico {
		width: 630px;
	}
}

.grafico_titulo {
	font-size: 20px;
	margin: 0 0 10px 30px;
	float: left;
}

.grafico_fuente {
	text-align: end;
	font-size: 12px;
	margin-top: 10px;
	margin-right: 60px;
}

.grafico_mapa {
	height: 650px;
	width: 100%;
}

.grafico img {
	width: 25px;
	height: 25px;
	float: right;
	opacity: 0.7;
}

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

.info h4 { 
	margin: 0 0 5px; 
	color: #777; 
}

.legend { 
	text-align: left; 
	line-height: 18px;
	color: #555;
}

.legend i { 
	width: 18px; 
	height: 18px; 
	float: left; 
	margin-right: 8px; 
	opacity: 0.7;
}

.info_icon {
	height: 25px;
	width: 25px;
	margin-left: 50px;
}

/*
.espacio_titulo {
	float: left;
}

.info_titulo {
	font-size: 20px;
}*/

/* Mapas accesibilidad */

.grafico .leaflet-popup-content-wrapper {
  background: #F5F5F5;
  opacity: 0.8;
  border-radius: 5px;
  text-align: center;
  box-shadow: none;
  color: #4d4d4d;
  padding: 1px;
 }

.grafico .leaflet-popup-content {
	margin: 5px 15px;
	width: 100%;
	font-family: Century;
	font-size: 14px;
}

.grafico .leaflet-popup-content p {
	margin: 0;
}

.grafico .leaflet-popup-content p:first-child {
	font-weight: bold;
	border-bottom: 1px solid black;
}

.grafico .grafico_mapa .leaflet-interactive {
  cursor: default !important;
}

.grafico .leaflet-interactive {
	cursor: pointer !important;
}

.grafico .leaflet-container {
  cursor: default !important;
}

/* Pie de página */

footer {
	position: absolute;
	width: 100%;
	height: 25px;
	bottom: 0;
	clear: both;
    display: block;
    min-width: 1160px;
    font-size: 10px;
    font-family: Arial, Helvetica, sans-serif;
}

@media only screen and (max-height: 820px) {
	footer {
		bottom: calc(100vh - 820px);
	}
}

.w3avalid {
    float: left;
    margin-left: 2.0em;
    padding-right: .5em;
}

.w3avalid img {
    padding-top: 2px;
    border: 0;
}

.services {
    float: right;
    padding: 0em 2.0em 0 0;
}

.services ul {
    margin-bottom: 0px;
    margin-top: 5px;
}

.services li {
    display: inline;
    border-right: 0.1em solid #d6d6d6;
    margin: .0em .0em;
    padding-left: .5em;
}

.services li a {
    color: #727272;
}

.copyright {
    float: right;
    padding: 0 .6em;
    margin-right: 20em;
    border-right: 0.1em solid #d6d6d6;
    border-left: 0.1em solid #d6d6d6;
}

.copyright p {
    color: #a6a5a4;
    margin-top: 5px;
    margin-bottom: 0;
}

.legend {
	font-size: 11px;
}

/* Estilo gráfico sankey */

.node rect {
  cursor: move;
  fill-opacity: 1;
}

.node text {
  pointer-events: none;
  text-shadow: none;
  font-size: 11px;
  font-family: sans-serif;
}

.link {
  fill: none;
  stroke: #000;
  stroke-opacity: .2;
}

.link:hover {
  stroke-opacity: .5;
}

