@charset "utf-8";
/* CSS Document */


@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/*sobreescribe el CVC no responsive*/
body {color:#000;}

#todo {
	width: 100%;
	max-width: 88.9em;
}

#contenido, #miga {
	width: 100%;
	max-width: 870px;
}
#contenido, #folio {font-family: 'Open Sans', Arial, Helvetica, "sans-serif";}

#folio {font-size:1.1em;}

#pie {
	max-width: 63.2em;
	float: none;
	margin-left: auto;
	margin-right: auto;
	background-color: #fff;
	padding:20px 5px 0;
}
#col1 {
	box-sizing:border-box;
	float: none;
	clear: both;
	width: 100%;
	font-size: 16px;
}
.introduccion #col1 {
	padding-left:10%;
	padding-right:10%;
}

acronym[title] {border-bottom:none;}

/* estilos comunes */

#col1 {
	margin: 0 auto 1em;
	max-width: 560px;
}
h1, h2, h3, h4, h5, h6, .portada  #col1, p.autor, .autores dt {
font-family: "Source Sans 3", Arial, Helvetica, "sans-serif";
margin-bottom:1em;
font-weight: 600;
}

h1  {
line-height: 1.3;
font-size:26px;
margin-bottom:2em;
}
h1 span.cap  {
display: block;
margin-bottom:-1.5em;
font-size:16px;
text-transform: uppercase;
}
h1 a:link, h1 a:visited {
color:#000;
}
h2, h3, h4, h5, h6 {
margin: 1.5em 0 1em;
}
h2  {
font-size: 22px;
}
h3 {
font-size: 20px;
}
h4 {
font-size: 18px;
}
h5 {font-size: 16px;}
h6 {font-size: 15px;}

p.autor  {
margin-top:.5em;
margin-bottom:4em;
font-weight: 600;
font-size: 1.2em;
}
.autor span {
display: inline-block;
margin-top: .3em;
font-weight: 400;
}
p.autor:has(+ .autor) {margin-bottom:0!important;}
p + h3, p + h4 {margin-top:2em;}

blockquote.epigrafe  {
	width: 70%;
	margin-left: 30%;
	padding-left: 0;
	margin-top: 4em;
	margin-bottom:4em;
}

blockquote cite  {display:block;text-align:right;font-style:normal;}

cite em { font-style:italic;}

.autores dt {
	margin-top:26px;
	margin-bottom:16px;
	font-weight: 600;
}
dd {margin-bottom:12px; }

.highslide-gallery h5 {border-bottom:2px solid #000;padding-bottom:2em; margin-bottom:2em;}

.highslide-gallery {
	margin: 3em 0;
}
.highslide-gallery img {width:100%;}
.highslide-gallery  span:first-child {display: block;}

p.cuestionario + p.cuestionario {margin-bottom:1.7em;}


#col1 ol, #col1 ul {
	list-style-position: inside;
}
#col1 ul  {
	list-style-type:disc;
	margin:1em;
}
#col1 ul ul {
margin:.2em 0 .3em 1em;
}
ol.rom  {
	
	list-style-type: upper-roman;
	margin:1em;
}

/*portada*/

#contenido.portada {
width:100%;
max-width: none;
/*background-color: #a3c8dd;*/
}
.portada #col1 {
max-width: 601px;
margin-bottom:24px;
border:1px solid #E7E7E7;
background-color: #fbf7ee;
box-shadow: -8px 18px 20px 4px rgba(32, 32, 32, 0.3);
}

.portada #col1 img {
padding: 0;
max-width:100%;
}

.portada h1 {
font-size: 32px;
margin-bottom: .5em;
}

.portada h1 a, .portada #col1 > p:first-of-type, .portada #col1 h1 + ul {
display: block;
margin:24px;
max-width: 400px;
padding: 7px 18px;
}
.portada  #col1 > p:first-of-type {
font-size: 1.15em;
font-weight: 400;
}
.portada #col1 h1 + ul {
display: flex;
flex-wrap: wrap;
list-style: none;
padding-left:0!important;
max-width: none;
margin:2em 0 0 42px;
}
.portada #col1 h1 + ul li {
font-weight: 400;
font-size: 1em;
background-color:#cc6552;
padding: 5px 16px 3px;
margin: 0 5px 5px 0;
}
.portada #col1 h1 + ul a {
color:#fff;
/*color:#d4032a;*/
width: 100%;
}
.portada #col1 h1 + ul a::after {
font-family: Arial, san-serif;
content: " \203A";
}
.portada #col1 ul a::hover {
text-decoration: none;
}

.portada ul.descarga  {
display: flex;
font-weight: 400;
position: absolute;
margin:0;
top:18px;
right:1%;
}
.portada ul.descarga li {
font-weight: 400;
list-style-type: none;
margin-left: 10px;
padding:0 8px 0;
border: 1px dashed #d4032a;
background-color: #fff;
}
.portada ul.descarga a {
display: block;
width: 100%;
color:#d4032a;
color:#000;
}
.portada ul.descarga a:hover {
text-decoration: none;
}
/*  bibliografías, notas */

ol.biblio, #colnotas ul {
box-sizing: border-box;
list-style-position: inside;
margin-left:2%;
}
.biblio li, #colnotas li {
margin-bottom:.5em;
line-height: 1.5;
list-style: none;
}
.biblio li {text-indent:-2%;}
.biblio .versalitas {font-size: 1.1em;}

h2:has(+ .biblio) {margin-top:2em;}

#colnotas {
margin-top:4em;
padding-top:2em;
border-top:1px solid #000;
}
#colnotas h2 {
margin-bottom:3em;
}
#colnotas ul ul {
	list-style-position: outside;
	padding: 0 1em 0 2em;
	margin-bottom: 0;
}
#colnotas ul ul li {
	list-style: disc;
	margin-bottom: 0;
}
#colnotas ul blockquote {
	font-size: 1em;
}
#colnotas a[href^="#np"]:after, #colnotas a[href^="#np"]:before {
	content: "|";
	color: #333;
	vertical-align: top;
	padding: 0 .2em;
}
#colnotas a[href^="#np"]:after {
	padding: 0 0 0 .5em;
}
#colnotas a[href^="#np"]:visited {
	color: #c00;
}

sup {
	vertical-align: text-top;
}
sup a:visited {
	color: #c00;
}
h1 sup {
	vertical-align: 2px;
}
h1 sup, h2 sup, h3 sup {
	font-size: .7em;
}
h4 sup {
	font-size: .75em;
}
h4.sangrado sup {
	font-size: .85em;
}

/* Índice */

.indice #col1 ul + ul {
margin-top:2em;
}

.indice #col1 li {
line-height: 1.5;
margin-bottom: .5em;
list-style: none;
}

.indice #col1 li a, .indice #col1 li a:visited {
display:inline-block;
color: #c00;
}

/*Tablas */

table  {
	background-color: #fff;	
	margin:2em 0;
	border-collapse:collapse;
}
table p {
	margin-bottom:0;
}

#col1 div:has(> table) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
		width:120%;
		margin-left:-10%;
}

thead td, thead th {
border-bottom:2px solid #333;
padding-bottom:2px;
padding-top:2px;
text-transform:uppercase;
font-size:.9em;
}

caption {padding-bottom:12px;text-align:left;}
caption span:first-child, .highslide-gallery h5 span:first-child {
	font-size: 0.9em;
	display: block;
}
tbody tr {border-bottom:1px solid #333;}
td, th {padding-left:4px;text-align:left;}
tbody tr:first-child td {padding-top: .3em;}
tbody tr:last-child td {padding-bottom: .1em;}

tfoot td {font-size:.9em;border-top:2px solid #333;padding-top:.3em;padding-left:2px;}

.xl  {	
display: block!important;
overflow-x: scroll;
margin:1em 0 2em;
}

/************************************************************************/

@media only screen and (max-width:1024px) {


#col1 table   {
width:99%;
margin-left:0;
margin-right:0;
}
#col1 div:has(> table)  {
width: 100%;
display: block!important;
overflow-x: scroll;
}
#col1 div table  {
margin-left:10%;
margin-right:10%;
}


}

@media only screen and (max-width:901px) {

#todo, #todo > div { width:100%; margin-left:0;margin-right:0;overflow:hidden; padding:0;}
#cabecera #logos {padding-bottom:5px;}
#decha {
	background-image:none!important;
	padding-left:0;
	padding-top:3px;
}

div#miga {margin:-3px 20px 3px;}
#folio {display:none;}
.flechas {width:99%;}

#col1 {
	width:90%; 
	margin:2em auto 0;
	padding-right:0;
}

}
@media only screen and (max-width:768px) {

#todo, #miga {margin-left:3px;}

.highslide-gallery{width:100%;float:none; clear:both;margin:2em auto;}
.colnotas {font-size:.9em;}


#derechos {font-size:.8em;margin-top:4em;}

.portada #col1 p {
  max-width: 80%;
}

.portada h1 a::after {right: 12px;}
}

@media only screen and (max-width:640px) {
#cabecera #logos {width:100%;}

.indice #col1 h1 + ul {margin-left:0;}

#col1 ul, #col1 ol {margin-left:.5em;}

}

@media only screen and (max-width:618px) {
	
#cabecera #logos {width:100%;}
#cabecera #logos img {margin-left:-4vw;}

.colnotas {
	float:none; 
	width:90%;
	margin:2em auto 0;
}

.highslide-gallery {margin:1em 0;width:100%; clear:both;}
.highslide-gallery p {
	padding-left: .5em;
	margin: 0;
	margin-top:.7em;
}

}
@media only screen and (max-width:560px) {

#col1 {
  padding-left: 0!important;
  padding-right: 0!important;
}
.portada #col1 {padding-top:1em;}
.portada h1 {
  font-size: 28px;
}
.portada #col1 h1 + ul li {width:70px;}

.portada #col1 > p:first-of-type {
margin-top:3em;
}

.portada ul.descarga {
top:12px;
}

}

@media only screen and (max-width:320px) {
body {border-color:pink;}

#cabecera #logos img {width:90%}

}
@media only screen and (max-width:240px) {

h1 {font-size:1.2em;text-align: left;}


}

