/* BODY */

body{
	font-family: Calibri, Arial;
	margin: 0;
	background-color: #bbb;
}
div.fondo{
    font-family: Calibri;
	margin: 0;
	background-color: #bbb;

	top:0;
	left:0;
	bottom:0;
	right:0;
	overflow: auto;
}

h1{
	text-align:center;
}

div.ab{ /*cuerpo central*/
	max-width: 90%;
    min-height: 100%;
	margin: 0 auto;
	background-color: #eee;
	overflow: visible;
}
div.margin_top{  /*cambiará con la cabecera*/
    padding-top: 12.5em;
}
div.margin_top_galeria{
    padding-top: 10em;
}


/* LINKS*/

a:link {		/* unvisited link */
    color: #bbbbbb;
	text-decoration: none;
}

a:visited {		/* visited link */
    color: #888888;
	text-decoration: none;
}

a:hover {		/* mouse over link */
    color: #ffffff;
	text-decoration: none;
}

a:active {		/* selected link */
    color: #ffffff;
	text-decoration: none;
}

/* CABECERA */

table.b {		/* cabecera, tabla */
	position: fixed;
	top: 0;
	left:0;
	width: 100%;

	border-collapse: collapse;
    z-index: 3;
}

table.b tr {	/* renglones */
	margin: auto;

	background: rgba(0, 0, 0, 0.92);
}			

table.b tr th {	/* menú */
	
    width: 6em;
	text-align: center;
	padding-bottom: 0.25em;
	color: #bbbbbb;
	transition: background 0.9s ease, color 0.6s ease-out 0.1s, letter-spacing 0.6s ease-out 0.1s;
}

table.b tr th:hover {		/* mouse over link */
    color: #ffffff;
	text-decoration: none;
	letter-spacing:0.03em;
	background: rgba(0, 0, 0, 1),;
}


table.b tr td {	/* resto */
	width: 6em;/**/
}

table.b tr td img{
    max-height: 140px;
}

#hippo {		/* logo */
	text-align:center;
}


/* GALERIA, LAUREA & GRÁFICO */

p.galeria{
    font-weight: bold;
    color: #333333;
}

.galeria{
	width:90%;
	margin: auto;
	list-style: none;
	padding: 2em;
	box-sizing: border-box;
	
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.galeria li{
	margin: 0.5em;
}

.galeria img{
	width: 100%;
	height: auto;
	max-width: 12em;
}


/* LIGHTBOX, LAUREA & GRÁFICO*/

.lightbox{
	display: none;
	font-family: monospace;
    z-index: 4;
}

.lightbox:target{
	display: block;
	position:fixed;
	background: rgba(0,0,0,0.8);
	top:0;
	left:0;
	width: 100%;
	height: 100%;
}

.lightbox h3{
	color: #fff;
	font-size: 1.5em;
	text-align: center;
	margin: 0.75em 0;
}

.cerrar{
	position: fixed;
	left:49.5%;
	top: 0.5em;
	margin: 0 auto;
	padding: 0.1em;

}

.cerrar a{
	display: block;
	background: #eee;
	width: 1em;
	height: 1em;
	text-align: center;
	text-decoration: none;
	font-size: 1.5em;
	color: #000;
	border-radius: 50%;
	line-height: 1em;
	font-weight: bold;
}


/* IMAGEN, LIGHTBOX, LAUREA & GRÁFICO */

.imagen{
	width: 100%;
	height: 90%;
	padding-top: 2%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.imagen a{
	color: #fff;
	font-size: 3em;
	text-decoration: none;
	margin: 0 0.25em;	
}

.imagen a:nth-child(2){
	margin: 0;
	height: 100%;
	flex-shrink: 2;
}

.imagen img{
	width: auto;
	height: 2263px;
	max-width: auto;
	max-height: 100%;
	box-sizing: border-box;
}

.imagenver{
	width: 100%;
	height: 90%;
	padding-top: 2%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.imagenver a{
	color: #fff;
	font-size: 3em;
	text-decoration: none;
	margin: 0 0.25em;	
}

.imagenver a:nth-child(2){
	margin: 0;
	width: 100%;
	flex-shrink: 2;
    text-align: center;
}

.imagenver img{
    
    width: 100%;
	height: auto;
	max-width: 1200px;
	max-height: auto;
	box-sizing: border-box;
}


/* VIDEO VIEJO TABLA

table.video{
	
	bottom: 0;
	left:0;
	width: 100%;
	border-collapse: separate;
	border-spacing: 2em;

}

table.video tr{
	margin: auto;
	padding-bottom: 20%;
/*	background-color: #444;*/
/*	background: rgba(255, 255, 255, 1)/*

}

table.video tr th{
	top:0;
	right: 0;
	width: 20%;
	height: 10%;
}

table.video tr th img{
	min-width: 1em;
	width: 8em;
	max-width: 100%;
}

table.video tr td{
	left:0;
	right: 6em;
	width: 80%;
	text-align:left;
}
table.video tr td iframe {
	display:absolute;
	min-width:1em;
	width: 600em;
	max-width: 100%;
	min-height:auto;
	height: 100%;
	max-height: auto%;
}
*/

/*VIDEO & INDEX*/

div.cada_video{ /*comparte también con MAQUETACIÓN*/
    margin: auto;
    width:90%;
    z-index: 1;
}
div.cada_video p { /*comparte también con MAQUETACIÓN*/
    display: block;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
}
p.header{ /*comparte también con MAQUETACIÓN*/
    font-weight: bold;
    padding-bottom: 0.5em;
}
div.video_iz{
    float: left;
    width: 48%;
    text-align: right;
}
div.video_der{
    float: right;
    width: 48%;
    text-align: left;
}
div.video_video iframe{
    max-width:90%;
}

.clear{ /*comparte también con MAQUETACIÓN*/
    clear: both;
    padding-top: 3em;
}

div.cada_video img{
    width: 100%;
    max-width: 500px;
    border-radius: 50%;
}

/*responsive VIDEO http://www.w3schools.com/bootstrap/tryit.asp?filename=trybs_responsive_embed&stacked=h*/

.embed-responsive{
    position:relative;
    display:block;
    height:0;
    padding:0;
    overflow:hidden;
}
.embed-responsive-16by9{
    padding-bottom:56.25%;
}
.embed-responsive-item{
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    width:100%;
    height:100%;
    border:0;
}

/*MAQUETACIÓN*/

div.maqueta_iz{
    float: left;
    max-width: 230px;
    text-align: center;
    padding: 2em;
}
div.maqueta_der{    
    width: 100%;
    text-align: left;
}

div.maqueta_iz img{
    width: 100%;
    border-radius: 50%;
}

p.descarga{
    font-size: 0.8em;
    color: #444444;
}

/*NARRATIVA*/

div.cada_comic{
    max-width: 100%;
    margin: 0 auto;
}
/*
div.portada_comic{
    text-align: center;

    float: left;
}
div.portada_comic img{
    width: 100%;
    max-width: 180px;
    border-radius: 50%;
}*/
div.descripcion_comic{
    text-align: right;
    width: 30em;
    max-width: 100%;
    float: left;
    overflow: auto;
}
div.descripcion_comic a:link {		/* unvisited link */
    color: #333333;
	text-decoration: none;
}

div.descripcion_comic a:visited {		/* visited link */
    color: #555555;
	text-decoration: none;
}

div.descripcion_comic img{
    float: left;
    padding-right: 1.5%;
    padding-bottom: 1.5%;
    width: 200px;
    max-width:100%;
    border-radius:50%;
}
