/*IDS*/


/*Aquí se añaden los id que se necesiten*/

.balance-text {text-wrap: balanced;}

#imagen-cubierta {
    max-width: 100%;
    width: auto;
}

h1.para-docnav {
    font-size: 0.5px!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;
}



                /*TITULARES y otros block elements*/
h1 {
    font-size: 1.6em;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;    
    color: #DF453B;
    margin-top: 3em;
    margin-bottom: 1em;
    margin-left: 0;
}
h2 {
    font-size: 1.3em;
    line-height: 1.2;    
    font-weight: 400;
    color:black;
    text-align: left;
    margin-top: 3em;    
    margin-bottom: .5em; 

}
h3 {
    font-size: 1.1em;
    line-height: 1.2;
    margin-top: 2em;
    margin-bottom: .5em; 
/*    font-style: italic;*/
    margin-left: 0;
}
h4 {
    font-size: .9em;
    text-transform: uppercase;
    font-weight: normal;    
    margin-bottom: .2em; 
}
h5 {font-size: .9em; 
    margin-top:.5em;
    font-weight: normal;
}
h6 {font-size: 1em; 
    margin-top:.5em;
    font-weight: bold;
    text-decoration: underline;
}

.p-firma {
    font-size: 1em;
    font-weight: bold;
    text-align: right;
/*    color: #DF453B;*/
    margin-top: 1.167em;
    margin-bottom: 1em;
}


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

figure {margin-top: .5em;}


                    /* TABLAS */
.bl-tabla {
    margin-bottom: 2em;
}
.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;
}
.bl-tabla th, 
.bl-tabla td {
  padding: 0.25em;
  vertical-align: middle;   
  border: 1px solid #ccc;
  font-size: 1rem;    
}
	th {
	  text-align: center; 
      background-color: white;
      color: #DF453B;
      font-size: .2rem;      
	}
    td {
        text-align: right;
        padding-right: 10px;
}
tbody tr:nth-child(odd) {
  background: #eee;
}
tbody tr:hover {
  background: #DF453B!important;  
  color:white;      
}
td:first-child {
    text-align: center;
}
/*
#tabla2 tbody tr:last-child td {
    font-weight: 700;
    font-family: monospace;
    font-size: 1.5em;
}
*/
/*
.arrow::before {
    content: url(../imagenes/00_up-down-512.png);
    line-height: 0;
    font-size: .6em;
    color: grey;
}
*/
.arrow {padding-left: .3em; color: darkgrey; display: none;} 




                    /*LISTAS*/
.bl-lista {
    margin-left: 0em;
    margin-bottom: 1em;
}
p + .bl-lista {margin-top: -.5em;}

li {list-style:;
    text-align: justify;
    margin-bottom: .4em;
} 

ul {list-style: none;
    margin-left: 1.5em;
}

/*ul {list-style-image: url(../imagenes/bullet-1.png);}*/

ul.bullets{
    list-style:none;
}
ul.bullets li:before{ 
    content:''; 
    display:inline-block; 
    height:.5em; 
    width:.5em; 
    margin-left: -1.5em;
    padding-right: 1em;
    background-image:url(../imagenes/bullet-3.png); 
    background-size:contain; 
    background-repeat:no-repeat;
    background-position: center center;
    vertical-align: middle;
}

ol.numeral {
    list-style: none; 
    counter-reset: li;
    margin-left: 2em;
}
ol.numeral li::before {
    content: counter(li) ". "; 
    color: #DF453B;
    display: inline-block; 
    width: 1.5em;
    margin-left: -1.5em;
    font-family:monospace;
    font-size: 1.2em;
    font-weight:bolder;
}
    ol.numeral li {counter-increment: li;}

ul.sub-lista  {margin-left: 2em;}
    ul.sub-lista li {list-style: disc;}
    ul.sub-lista li:before  {background-image: none;}

p.p-destacan::before {
    content: url(../imagenes/0001.png);
    line-height: 0;}

/*
.numeral li::before {content: "•"; color: red;
  display: inline-block; width: 1em;
  margin-left: -1em}
*/


                    /* Cabecera y cierre */
/*
body { 
  background: url("../imagenes/yellowstone-1.jpg") no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
*/

#home {
}

#cabeceraBS {
    display: flex;
    flex-direction: column;
    display: grid;
    grid: auto-flow dense;
    grid-template-rows: .1fr 50vh max-content .2fr max-content max-content auto .05fr;
    justify-items: center;
    align-items:center;
    height: 95vh;
/*    border: 1px solid blue;*/
}
#img-cabecera {
    /*width:100%;*/
    /*height: auto;*/
    height:90vh;
    object-fit:contain;

    }
    #cabeceraBS h1,
    #cabeceraBS p.h1{
        font-family: 'Merriweather', Serif;        
        align-self: center;
        color: black;
        text-align: center;
        text-transform: uppercase;
        font-size: 2em;  
        font-weight: 700;        
        font-size: calc(1.2em + 1vw);
        line-height: 1.1;
        letter-spacing: 0.12em;        
        padding: 20px;
        margin: 0;
        margin-top: 2vh;
        text-indent:0;
/*            flex: 0 1 auto;*/
}
    #cabeceraBS h2{
        margin-top: 2vh;
        font-size: calc(.9em + 1vw);
            text-align: center;
}
    #cabeceraBS h3{
        color: #DF453B;
        font-size: calc(1em + 1vw);
        margin-top: 1vh;
            text-align: center;
}
#logo1{
    width: 40%;
    max-width: 20vh;
    margin-left:auto;
    margin-right: auto;
    padding-top: 0em;
    padding-bottom: 0em;
    text-align: center;
    align-self: end;
    flex: 0 1 auto;
    align-self: flex-end;
}




            /*ENTRADAS DE CAPITULO*/
h1#carta {background-image: url(../imagenes/techno-pixbay.jpg); background-position: right top;}
h1#fundacion {background-image: url(../imagenes/techno-pixbay.jpg); background-position: left top;}
h1#cifras {background-image: url(../imagenes/techno-pixbay.jpg); background-position: 20% 40%;}
h1#universidad {background-image: url(../imagenes/universidad-rojo.jpg); background-position: 0% 40%;}
h1#tecno {background-image: url(../imagenes/techno-pixbay.jpg); background-position: 0% 20%;}
h1#resumen {background-image: url(../imagenes/techno-pixbay.jpg); background-position: right bottom;}

h1.section-head {
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    padding: 20px;
    font-size: calc(1rem + 1.2vh);   /* Prince unsupported functions */
    letter-spacing: 0.25em;
    margin: 0;
    margin-top: 8vh;
    margin-bottom: 3vh;
    padding-top: 6vh;
    padding-bottom: 1vh;
}

        /*SUMARIOS (con imagen y sin imagen)*/
blockquote {
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 40px;
    -webkit-margin-end: 40px;
    color: black !important;
    border: none;
    border-left: 5px solid #DF453B;
    padding: 10px 20px;
    margin: 1em 0;
    font-style: italic;
    font-size: 1.6em;
    line-height: 1.2;    
    width: auto;
}
blockquote > p:first-child {
    display: inline;
    color: #DF453B;
}

                    /*Bloque de SUMARIO + foto*/
.bq-flex {
	display: -ms-flexbox;
	display: -ms-flexbox;	
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-left: 5px solid #DF453B;
    margin: 2rem 0;
}
.reverse {flex-direction: row-reverse;}

.bq-flex p{
    flex: 0 0 50%;   
    align-self: center;
/*    width: 40vw;*/
/*    max-width: 45%;*/
    padding: 10px 15px;
    font-style: italic;
    font-size: 1.4em;
    line-height: 1.2; 
    color: #DF453B;
    hyphens: none;
    margin-bottom: 0em;
}
.bq-flex img{
    margin: 0;    
    flex: 0 0 50%;
    align-self: center;   
    width: 45%;    
    max-height: 50vh;
    max-width: 50vw;
/*    z-index: -1;*/
/*    padding-left: 1px;*/
}

/*    BQ  e imágenes; casos particulares*/

#mapa-europa img {max-height: 40vh;}

    /*Bloque dos fotos*/
.bq-flex-2img {  
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 2rem 0;
}
    .bq-flex-2img img{
        margin: 0; 
        padding: 0;
        flex-grow: 2;
        width: 50%;
/*    max-height: 30vh;*/
/*    max-width: 50vw;*/
        align-self: center;
}

                /*BLOQUE GRAFICO*/
.bl-grafico {
    margin:auto;
}
.bl-grafico img {width: 100%;}


                /*ENLACES*/
.leermas {
	margin: 2em auto;
}
.button {
    color: #555555;
    background: #ffffff;
    border: 1px solid #DF453B;
    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;      
}
.p-caption {text-indent: 0; margin-left: 0; padding-left: 0;}

.p-caption a {text-decoration: underline; text-decoration-color: #DF453B;}

/* 
.p-caption:last-of-type:after {
    content:' ';
    position: absolute;
    display:block;
    width: 40%;
    margin: 5px 0%;
    border:1px solid #d0d0d0;
    border-radius:4px;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
    -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
    -moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
}
 */


                /*  PARA EL TOC CREADO POR EL VISOR*/
li.toc-list-item:before {
    content: '';
    display: inline-block;
    height: 10px;
    width: 10px;
    background-image: none;
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 0px;
    padding-right:0px;
}
li.toc-list-item {
    text-indent: -.7em;
    line-height: 1;
}


                        /*SECCIONES */

section.m-capitulo:after,
section.m-prologo:after,
section.m-presentacion:after{
    display: inline-block;
    content: "";
    border-top: 1px solid black;
    width: 20vw;
    margin: 3em auto;;
    transform: translateY(-1rem);
}


    /*El índice*/
    .f-indice ol {
        margin-left: 10%;
    }
    .f-indice ol li._1 {
        margin-left: 1.5em;
        text-indent: -1.5em;
    }

/*    Epígrafe*/
    .f-presentacion {}
    .f-presentacion h2,
    .f-presentacion p.h2 {
        font-family: 'Merriweather', Serif;
        text-align: center;
        color: #DF453B;
        font-size: 1.4em;
        line-height: 1.2;
        font-weight: 600;
        margin-top: 0;
        margin-bottom: 2em;
    }  
    div.bl-autor{
        margin-top: 3em;
        margin-bottom: 3em;
    }
        div.bl-autor p {
            text-align: center;
            font-size: .9em;
            margin-bottom: .5em;
        }
        div.bl-autor p.autor {
            font-size: 1.1em;
            font-weight: bold;
            margin-bottom: .4em;
        }


/*                NOTAS*/
.p-textonota{
    padding-left: 1em;
	margin-left: 3em;
	text-indent:-3em;
	font-size: 1em;
	margin-bottom: 20px;
    font-weight: 300!important;
}
.p-textonota sup {
    display:inline-table;
    padding-right: 1em;
    color: #DF453B;
    -webkit-text-fill-color: #DF453B;
    vertical-align: bottom;
    text-align: right;
}


            /*copyright page*/
.f-copyright{}
	.f-copyright .p-titulo{
		font-family:"Times", serif;
		font-size:1.2em;
		font-style:normal;
		font-variant:small-caps;
		font-weight:normal;
		line-height:19px;
		margin-bottom:8px;
		margin-left:0px;
		margin-right:0px;
		margin-top:2em;px;
		text-align:justify;
		text-decoration:none;
		text-indent:0px;
	}
	.f-copyright .p-autor{}
	.f-copyright p{
		font-size:1em;
		line-height:1.2;
		text-indent:0;
		}

                        /*GRAFICOS*/
.graficos {
    width: 100%; 
    max-width: 1200px; 
    min-height: 400px;
    margin:auto;
    content: fit;
}


                        /*LETRAS , OTROS*/
.cifras {
    color: #DF453B;
    font-size: 1.2em;
    font-weight: bold;
}

.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: rgba(0, 0, 0, 0.6);
}


/*                        Notas fn*/
span.fn a {
    font-weight: normal;
    font-style: normal;
    color: #37424A!important;
    -webkit-text-fill-color: #37424A!important;   
}



.bl-cita {
	text-indent:0px;
	margin-top:0.5em;
	margin-bottom:0.5em;
	margin-left: 2vw;
	margin-right:10vw;
	font-size:0.95em;
/*    border: 1px solid blue!important;*/
    flex-grow: 1;
/*    width: 45%;*/
    padding-left: 2vw;
}
	.bl-cita  p{
        font-size: 1em;
        margin-bottom: .5em;
        text-align: justify;        
    }
	.bl-cita .p-firma-cita{
        margin-bottom: 1.5em; 
        color: #DF453B;
        text-align: right;
}


                        /*MEDIA QUERIES*/

@media print {  
}

@media screen {
    body {background: #fcfaf6; line-height: 1.35;}
    p, li {
        text-align: left;
        hyphens: none;
    }
    .wrapper {
        background: #fcfaf6;
        max-width: 30em;
        margin: auto;
        padding: 0 30px 0 30px;
    }
}

@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;}
    .section-head {padding-top: 8vh; padding-bottom: 3vh;}
/*    table {width: 70%;}*/
    #detalle-ingresos,
    #personal {max-width: 60%; margin-left:20%;}
    p, li {  
        -webkit-font-smoothing: antialiased;
         -moz-osx-font-smoothing: grayscale;
    }
    #citas {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }
    .bl-cita {
        width: 90%;
        margin-right: 2vw;
    } 
}

@media (max-width: 800px) {
    .bq-flex {display: block;}
    .bq-flex img{
        text-align: center;
        margin-left:auto;
        width: 100%;
        max-width: 100%;
    }
    #cabecera {}
    #logo1,
    #logo2 {
/*
        max-width: 12rem;
        margin:auto;
*/
    }
    #logo2 { order: -1;}
    #titulo {
/*
        order: 0;
        align-self: center;
*/
    }
    #cabecera img {
/*        flex-shrink: 10;*/
    }


}





/*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;
}

.fuente-graf {
    font-weight: 300;
}

/*

*/

    





.numero-h {
    display: inline-block;
    color: #DF453B!important; 
    font-size: 1em;
    letter-spacing: .0em;
    opacity: .9;
    padding-right: .5em;
}
h1 span.numero-h { 
    display: block;
    font-size: .9em;}


.bigfoot-footnote__button {
    color: #DF453B!important;
    font-size: .9rem!important;
}
.bigfoot-footnote__content {
    font-weight: normal!important;
}
.bigfoot-footnote__content p.h2 {
    font-size: 16px!important;
}
