/*=== 07_visor.css ===*/

/* para la optima presentación como web publication */


body {
	font-size: calc(.9em + .3vw);	
	line-height: 1.35;
	background: #ECECEC; 
}
p, li, figcaption {
	text-align: left;
/* 	hyphens: none; */
}    
.wrapper {
	max-width: 37em;
	margin: auto;
	padding: 0 30px 0 30px;
}

section {
	margin-top: 7em;
	page-break-after: always; 
	break-after: right;
}
section::after {
	display: block;
	content: " ";
	width: 60%;
	margin: 3em auto 0 auto;
	border-bottom: 2px solid #004481;
}	
section:last-of-type {padding-bottom: 3em;}
section:last-of-type:after {display: none;}


				/* ==========  Dando estilo a nav ============= */

/* Para que el nav no transprente los botone s de bigfoot */
#nav {z-index: 999 !important;}

/* Color y grosor de la rayita que indica dónde estamos */
.is-active-link::before {background-color: var(--colorbase)!important;}
.toc-link::before {width: 4px!important;}

/* Márgenes y estilos para las entradas del Nav */
#nav ol li {
	margin-bottom:5px;
	/* margin-top:15px;*/
	padding-left:5px;
	margin-left: 1em;
	text-indent: -1em;
	text-align: left;
	font-size: 1rem;
	-webkit-text-fill-color: #004481!important;  	
}
	#nav ol li a {
		line-height:1.3;
		font-weight: bold;
		font-size: 1rem;
	}

#nav ol li ol {margin-left: -.1em;}

	#nav ol li ol a {
	line-height:1.1 !important;	
	font-weight: normal;
	text-transform: none;	
}
	#nav ol li ol li{
		margin-bottom:10px;
		margin-top:10px;
	}
#nav ol li ol li ol{margin-left: -.3em;}


/*Para que al clicar en el tocbot, los titulares caigan bien sin quedar tapados por el header*/
h1::before, h2::before, h3::before {
    display: block;
    content: " ";
    height: 60px;
    margin-top: -60px;
    visibility: hidden;
}
/*y los h1 de esta colección, que están en una div muy alta porque tienen mucha cosa */
h1 {	
	/*! padding-top: 100px; */
	/*margin-top: -100px;*/
}

/* Para títulos de secciones que no tienen h1 o no así nombrado */
h1.para-docnav {
    font-size: 0.1px!important; 
    line-height:1px!important; 
    opacity:0; 
    margin:0px;
    padding:0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    margin-block-start: 0em;
    margin-block-end: 0em;
}
	h1.para-docnav + * {margin-top: 0;}







                /*TITULARES y otros block elements*/
                
/*  Tamaño de fuente en función del ancho de la ventana  */                
h1 {font-size: calc(1.3em + 1vw)!important;}
h2 {font-size: calc(1em + .2vw)!important;  margin-top: calc( var(--lh) * 4);}
h3 {font-size: calc(1em + .1vw)!important;}
h4 {}
h5 {}
h6 {}

aside {
    background-color:white;
    border-radius: 25px;
    border: 2px solid lightgrey;
    padding: 1em 1em .2em 1em;
    margin: 1em 0; 
}
    aside p {color:inherit;}
    aside h4 {
        color: #1973B8;
        margin-bottom: 1em;
    }

figure, 
figure.float-top,
figure.float-bottom {margin: 2.5em 0;}

figcaption b {font-family: BBVABenton, Arial, sans-serif;}


                    /* TABLAS */
.bl-tabla, 
.bl-tabla.float-top,
.bl-tabla.float-bottom {
	margin: 2.5em 0;
}
.bl-tabla + .p-caption {
    margin-top: -2em;
}

table {
	border-collapse: collapse;
	border-spacing: 0;    
	width: 100%;
	box-shadow: 0px 0px 20px rgba(0,0,0,0.10),
	0px 05px 20px rgba(0,0,0,0.05),
	0px 10px 20px rgba(0,0,0,0.05),
	0px 15px 10px rgba(0,0,0,0.05);
	margin: 0px auto;    
	margin-bottom: 1em;
	border-style: hidden;
}
.bl-tabla th, 
.bl-tabla td {
  padding: 0.25em;
  vertical-align: middle;   
  border-bottom: .5px solid #ccc; 
}
th {}
td {}
td:first-child {}  
  
tbody tr:nth-child(odd) {}
tbody tr:hover {
  background: var(--colorbase)!important;  
  color:white;      
}

                    /*LISTAS*/
.bl-lista {}
ol {}
ul {}
li {margin-bottom: .4em; padding-left: ;} 

                    /* Cabecera y cierre */

#f-cubierta {}
	#img-cubierta {
		height:80%;
		object-fit:contain;
	}
	@media (max-width: 500px) {
		.f-cubierta {height:50vh;}
	}	

.f-portada h2 {font-size: calc(1em + .5vw)!important;  margin-top: 1vh!important;}										
.bloque-autores p {font-size: calc(.8em + .4vw)!important;}


div.cierre-creditos {
	margin-top: 3em;
	justify-content: space-between;
}
div.cierre-creditos .logos {max-width: 9em; margin-bottom: 1em;}
div.cierre-creditos p {flex-shrink: 1; width: auto;}

                /*BLOQUE GRAFICO*/





                /* BOTONES - ENLACES*/

.button {
    color: #004481;
    background: #ffffff;
    border: 1px solid #49A5E6;
    padding: 0.75em 1.75em;
    text-transform: uppercase;
    margin: auto;
    text-align: center;
}
a.button-inline {
    font-family: 'Muli', Sans-Serif;
    font-size: .6em;
    font-weight: normal!important;
    color: #555555;
    background: #ffffff;
    border: 1px solid #DF453B;
    padding: 0.1em .8em 0em .8em;
    text-transform: uppercase;
    margin: auto;
    text-align: center;
    white-space: nowrap;
}
a.enlace {
    color:#DF453B;
	-webkit-text-fill-color: #DF453B;      
}

/* Boton de descarga */
div.boton-descarga {
	text-align: right;
}

a.download {
	color: #49A5E6;
	-webkit-text-fill-color:  #49A5E6;  	    
	text-decoration: none;
	display: inline-block;
	height: 1.8em;
	width: auto;
	text-align: right;
	font-size: .7em;
	padding: 4px 8px 4px 12px;
	border-radius: 5px;
	display: inline-block;
	border: 1px solid #49A5E6;	
}

a.download::before {
	display: inline-block;
	content: url('../imagenes/download-icon.svg');
	position: relative;
	top: 3px;
	right: .5em;
	width: 1.3em;
}
a.download:hover,
a.download:focus {
	-webkit-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
	-moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
	box-shadow: 5px 40px -10px rgba(0,0,0,0.57);
	transition: all 0.4s ease 0s;
}


                        /*SECCIONES */

    /*El índice*/
.f-indice {}
	.f-indice li._1 {font-size: 1em;}

/*    Epígrafe*/


										/*=========NOTAS======*/
.p-textonota{
	margin-bottom: 10px;
    font-weight: normal!important;
}
.p-textonota sup {
    display:inline-table;
    padding-right: 1em;
    color: #DF453B;
    -webkit-text-fill-color: #DF453B;
    vertical-align: bottom;
    text-align: right;
}
/*                        Notas fn*/
span.fn a {
    font-weight: normal;
    font-style: normal;
    color: #37424A!important;
    -webkit-text-fill-color: #37424A!important;   
}




								/* Correcciones al BIGFOOT */

.bigfoot-footnote__button {
    color: var(--colorbase)!important;
    font-size: .7em;
	z-index: 0;	
  	background-color: rgba(110, 110, 110, 0.05);
	margin:0;
	hyphens: auto;
}
.bigfoot-footnote__wrapper {
  	width: 22em;   
  	max-width: 100%;
}
.bigfoot-footnote__content {
    font-weight: normal!important;
    font-size: 1em;                    
}
.bigfoot-footnote__content p.p-textonota {
    padding-left: 0em!important;
	margin-left: 0em!important;
	text-indent:-0em!important;
	text-align: left;
}

.bigfoot-footnote__content p.h2 {
    font-size: 16px!important;
}



							/*=========NOTAS Bibliografía======*/
/* Funcionando con Bigfoot para que aparezcan en popup*/

a[href^="#_bib"] {
	color: green;
}

span.l-ref-bib {    
	-webkit-text-fill-color: ;
	font-size: 1em;
		overflow-wrap: break-word;
		word-wrap: break-word;
		-ms-word-break: break-all;
		word-break: break-all;
		word-break: break-word;		
}
span.l-link-a-texto.tras::after {
    background-image: url('../imagenes/return.svg');
    background-size: 1em 1em;
    display: inline-block;
    width: 1em; 
    height: 1em;
    content:"";
    margin-left: 4em;
    color: #004481;
    -webkit-text-fill-color: #004481;     
}



            /*copyright page*/
.f-copyright{}

                        /*GRAFICOS*/
.graficos {
    width: 100%; 
    max-width: 1200px; 
    min-height: 400px;
    margin:auto;
    content: fit;
}
p.leyenda-grafico {  
	font-size: 0.9em;
	margin-top: 0em;
	margin-bottom: 1.5em;
	border: 1px solid var(--colorbase);
}

                        /*LETRAS , OTROS*/
.go-top {
	position: fixed;
	bottom: 2em;
	right: 2em;
	text-decoration: none;
	color: white;
	background-image: url('../imagenes/up-arrow.png');
	background-repeat: no-repeat;
	background-color: transparent;
	font-size: 12px;
	height:40px;
	width:40px;
	display: none;
	text-decoration: none !important;
}
.go-top:hover {
	background-color: blue;
}


   
 
                        /*MEDIA QUERIES*/

@media print {}

@media screen {
/* 	div[class*="height"] {height: initial!important; max-height: none; overflow: hidden;} */
}

@media (min-width: 300px) {
    .wrapper {padding: 0 10px 0 10px;}
}

@media (min-width: 500px) {
    .wrapper {padding:  0 20px 0 20px;}
}

@media (min-width: 800px) {
    .wrapper {padding: 0 40px 0 40px;}
    p, li {  
        -webkit-font-smoothing: antialiased;
         -moz-osx-font-smoothing: grayscale;
    }
}
@media (min-width: 1200px) {
    figure.ancha, 
     div.ancha, 
    .ancha {width: 50em; max-width: 1400px; margin-left: -18%;}
}



@media (max-width: 800px) {
    .flex-row {display: block;}
    
    .flex-row.bl-3,
    .flex-row.bl-2 {max-height: initial; height: initial;}
    .flex-row img,
    .flex-row.bl-3 img,
    .flex-row.bl-2 img,    
    .flex-row.bl-3 div{
        text-align: center;
        margin-left:auto;
        width: 100%;
        height: auto;
        max-width: 100%;
    }    
	figure.ancha.flex-row div {width: 100%;}    
	figure.ancha.flex-row figcaption {
			width: auto;
			padding-left: 0em;
		}
    
}





/*Notas   de aquí : https://codepen.io/WilliamRobertson/pen/ONpWRJ*/

/*Separadores*/
.separador {
    width: 70%;
    border-bottom: 2px solid #DF453B;    
    margin: 4.5em auto;
}
hr.style-two {
    border: 1;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}
hr.style-eight {
    overflow: visible; /* For IE */
    padding: 0;
    border: none;
    border-top: medium double #333;
    color: #333;
    text-align: center;
    margin: 3em;
}
hr.style-eight:after {
    content: "§";
    display: inline-block;
    position: relative;
    top: -0.9em;
    font-size: 1.5em;
    padding: 0 0.25em;
    background: #fcfaf6;
}
