*{
	margin: 0px;
	padding: 0px;
	list-style: none;
	text-decoration: none;
	box-sizing: border-box;
	font-family: 'Roboto', sans-serif;
	font-size: 0.8rem;
}

a{ color: #212121}

/*VERIFICAR SI ES NECESARIO*/
body {
	width: 100%;
	min-width: 16rem;
	min-height: 100vh;
	position: relative;
	padding-bottom: 12rem;
	/*display: flex;
	flex-wrap:wrap;
	flex-direction:column;
	justify-content: flex-end*/
}
.banner{
	height: 7rem;
	font-size: 1rem;
	background: azure;
	display: none;
	font-family: 'Cabin Sketch', cursive;
	justify-content: center;
	margin:0; 
	box-shadow: 0.25rem 0.25rem 0.25rem #484848;
	border-radius: 0.2rem 0.2rem 0 0;
}

header {
	position: sticky;
	display: flex;
	width: 100%;
	top:0;
	margin: auto;
	min-width: 16rem;
	background: #116E6E;
	box-shadow: 0.25rem 0.25rem 0.25rem #484848;
	height: 3.5rem;
	align-items: center;
	justify-content: flex-end;
	z-index: 200;
}

div.navegacion {	
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	height: 100%;
	font-family: 'Josefin Sans', sans-serif;
	width: 100%;
	max-width: 100rem;
	min-width: 16rem;
}

/*SE OCULTAN LOS CHECKBOX DEL MENU Y SUB MENU*/
#btnmenu{display: none;}
#btnsubmenu1{display: none;}
#btnsubmenu2{display: none;}
#btnsubmenu3{display: none;}
/****************************************/

/*UBICACION Y ESPACIO PARA EL ICONO DE MENU*/
div.navegacion > label {
	order:30;
	height: 2rem;
	flex-basis: 3rem;
	border-left: 0.07rem solid whitesmoke;
}
/****************************************/

/*CONFIGURACION DE LAS BARRAS DE MENU*/
.b1, .b2 {
	width: 1.4rem;
	background: whitesmoke;
	height: 0.075rem;
	border-radius: 2rem;
	transition: 0.3s ease-in-out;
	margin-left: 0.7rem
}
.b1 {margin-top: 0.6rem;}
.b2 {margin-top: 0.6rem;}
/****************************************/

/* EL LOGO DE LA PAGINA (32px)*/
.logo { 
	/*flex-grow:1;*/
	display: flex;
	text-align: center;
	height: 100%;
	order:20;
	background: #116E6E;
	margin: auto;
	/*width: 100vw;*/
}
/****************************************/

.circle {
	width: 34px;
	height: 34px;
	background: #212121;
	border-radius: 17px;
	box-shadow: 0.0625rem 0.0625rem 0.0625rem #484848;
	margin: auto;
	transform: translateX(1.5rem);
}

/*MENU DE NAVEGACION*/
nav {
	position: relative;
	display: block;
	visibility: hidden;
	width: 100vw;
	height: calc(100vh - 3.5rem);
	order:50;
	overflow-y: scroll;
	font-family: 'Baloo', cursive;
	min-width: 16rem;
}
/*************************************/

label.fondomenu{
	position: fixed;
	background-color: #484848;
	height: 100%;
	width: 100%;
	top: 3.5rem;
	left: 0;
	opacity: .3;
	z-index: 650;
}

nav > ul {
	position: relative;
	height: auto;
	z-index: 700;
	left: -200vw;
	width: calc(100vw - 5rem);
	background: #B0B0B0;	
}

/*ITEMS DE MENU NAV*/
li.menu_item {
	height: auto;
	display: flex;
	/*transition: background 0.3s ease-in-out;*/
	align-items: center;
	background: linear-gradient(to right, #F0F0F0, #E0E0E0 );
	box-shadow: 0.25rem 0.25rem 0.25rem #484848;
}
/**********************************************/


/*LINKS A SUBMENU EN NAV*/

li.submenu_link {
	display: flex;
	flex-wrap: wrap;
	height: auto;
	align-items: center;
	background: linear-gradient(to right, #F0F0F0, #E0E0E0 );
	box-shadow: 0.25rem 0.25rem 0.25rem #484848;
}

li.submenu_link > label {
	display: flex;
	flex-grow:1;
	justify-content: space-between;
	align-items: center;
	height: 3rem;
}
/************************/



nav > ul > li:last-of-type {	
	border-radius: 0 0 0.2rem 0;
}

/*TEXTO DE LOS BOTENES DEL MENU DE NAVEGACION*/
li.menu_item a, li.submenu_item a,  li.submenu_link > label a {
	padding-left: 1rem;
	padding-right: 1rem;
	flex-grow:1;
	color: #212121;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	font-family: 'Roboto', cursive;
	height: 3rem;
	
}
/**********************************************/

#item_selected label a {
	border-bottom: 0.1rem solid #B71C1C;
	font-style: italic;
}

#subitem_selected {
	border-left: 0.5rem solid #7BAB1A;
	font-style: italic;
}

/*CONFIGURACION DEL SUBMENU*/

ul.submenu {
	position: absolute;
	left:-100vw;
	border-radius: 0 0.2rem 0.2rem 0;
	background: #e0e0e0;	/*OJO CON FONDO PARA TRANSICION*/			
	width: calc(100vw - 3.5rem);	
	transition: left 0.3s;			
}
/************************/

li.submenu_item { 
	box-shadow: none;
	border-left:0.5rem solid #484848;
	background: linear-gradient(to right, #D0D0D0, #E0E0E0);
}

/*li.submenu_item + li.submenu_item {border-top: 0.07rem solid silver;}
*/
.next, .before, .more {
	display: flex;
	align-items: center;
}
	
.before, .more {display: none;}

.submenu label{
	width: 4rem;
}

/*******************************
**********ANIMACIONES**********
*****************************/

/* SE MUESTRA EL PUNTERO AL COLOCAR EL MOUSE SOBRE LINK DEL SUBMENU*/

.logo:hover .circle {box-shadow: 0.125rem 0.125rem 0.125rem #484848;}


/*ANIMACION AL BOTON DEL MENU*/
div.navegacion > label:hover {
	cursor: pointer;
	opacity: 0.5;
	}
/******/

/*LOS BOTONES DE NAVEGACION SE ELEVAN AL AUMENTAR LA*/
/*li.submenu_link:hover label<*/
li.menu_item:hover { 
	background: #E0E0E0;
	/*transition: 0s;*/
	}
/**********************************************/

/* SE MUESTRA EL PUNTERO AL COLOCAR EL MOUSE SOBRE LINK DEL SUBMENU*/
.submenu_link > label:hover {cursor: pointer;}
li.submenu_item:hover  { background: #D0D0D0;}
/***************************************************
**************************************************/

/**************************************
********ACCIONES AL HACER CLICK*******
************************************/

/*ACCIONES AL HACER CLICK EN EL ICONO DE MENU*/

#btnmenu:checked ~ nav {
	visibility: inherit;
}
#btnmenu:checked ~ nav > ul {
	left: 0;
	transition: 0.3s ease-in-out;
	} 
#btnmenu:checked ~ label .b1 { transform: translateY(0.4rem) rotate(45deg);} /*COVIERTE LAS BARRAS EN UNA X*/
#btnmenu:checked ~ label .b2 { transform: translateY(-0.3rem) rotate(-45deg);}	/*COVIERTE LAS BARRAS EN UNA X*/
/****************************************/
	
/*ACCIONES AL HACER CLICK SOBRE BOTON DEL SUBMENU*/
#btnsubmenu1:checked ~ ul.submenu { /*display: block;*/
	position: relative;
	left: 0;
	/*transition: 0.3s ease-in-out;*/
}
#btnsubmenu1:checked ~ label .before {display: flex;}
#btnsubmenu1:checked ~ label .next {display: none;}
/***********************************************/
/*ACCIONES AL HACER CLICK SOBRE BOTON DEL SUBMENU*/
#btnsubmenu2:checked ~ ul.submenu { /*display: block;*/
	position: relative;
	left: 0;
	/*transition: 0.3s ease-in-out;*/
}
#btnsubmenu2:checked ~ label .before {display: flex;}
#btnsubmenu2:checked ~ label .next {display: none;}
/***********************************************/
/*ACCIONES AL HACER CLICK SOBRE BOTON DEL SUBMENU*/
#btnsubmenu3:checked ~ ul.submenu { /*display: block;*/
	position: relative;
	left: 0;
	/*transition: 0.3s ease-in-out;*/
}
#btnsubmenu3:checked ~ label .before {display: flex;}
#btnsubmenu3:checked ~ label .next {display: none;}
/***********************************************/

/*ESTILOS Y CONFIGURACION DE LOS TEXTOS*/
.banner h1 { font-size: 4.5rem;}
.banner h2 {
	font-size: 1rem;
	text-align: right;
	font-family: 'Josefin Sans', sans-serif;
	width: 100%;
	color: #484848;
}
h1 {
	text-align: center;
	font-family: 'Cabin Sketch', cursive;
	width: 100%;
	color: #B71C1C;
}

footer {
	text-align: center;
	background: #6C0000;
	padding: 3rem 0 1rem 0;
	color: whitesmoke;
	/*border-radius: 0.2rem;*/
	box-shadow: 0.0625rem 0.0625rem 0.0625rem #484848;
	width: 100%;
	position: absolute;
	bottom: 0;	
	z-index:	0;
}

footer a{color: yellow;}

footer .sociales { 
	display: flex;
	justify-content:space-around;
	margin: 0 10% 2rem 10%;	
}

.sociales img {
	width: 3rem;
	height: auto;
}

i{padding: 0.5rem;}

body h1{ font-size: 2rem;}
body h2{ font-size: 1.5rem;}
body h3{ font-size: 1rem; color: #484848}
body h4{ font-size: 0.9rem;}

article h1 {
	color: #B71C1C;
	padding: 1rem 0;
	border-bottom: 0.1rem solid #B71C1C;
}

article div.muestra{
	display: flex;
	justify-content: center;
	}

	.muestra p{
	height: auto;
	margin: auto;	
	}
	
div.imgcentrada img{
	max-width: 100%;
	height: auto;
}	
main h2 { margin: 1rem 0;}
.desktop { display: none;}

@media (min-width:576px) and (max-width:991px) {	
	body {padding-bottom: 15rem;}
	body h1{ font-size: 2.2rem;}
	body h2{ font-size: 1.6rem;}
	body h3{ font-size: 1.3rem;}
	body h4{ font-size: 1rem;}
	*{ font-size: 0.9rem;}
	/*article div.muestra{ flex-wrap: }*/
	.desktop { display: none;}
	
	.sociales img {
	width: 5rem;
	height: auto;
}
/*CONFIGURACION DE LAS BARRAS DE MENU*/
.b1 {margin-top: 0.5rem;}
/****************************************/

	}	

@media (min-width:992px) {
	body {padding-bottom: 15rem;}
	.mobile { display: none;}
	td.desktop {display: table-cell;	}
	aside.desktop {display: grid;	}
	body h1{ font-size: 2.5rem;}
	body h2{ font-size: 2rem;}
	body h3{ font-size: 1.6rem;}
	body h4{ font-size: 1.3rem;}
	*{ font-size: 1rem;}			
	
	.banner{ display: flex;}

	header {justify-content: center;	}

	div.navegacion {
		max-width: 90rem;
		flex-wrap: nowrap;	
	}	

	div.navegacion > label { display: none;}

	.logo{
		flex-basis:5rem;
		flex-grow:0;
	}

	.circle {
		margin: auto;
		transform: translateX(0);
	}

	label.fondomenu{display: none;}

	nav {
		display: flex;
		height: 100%;
		visibility: inherit;
		border-radius: 0;
		overflow-y: visible;
		flex-grow:1;
		box-shadow: none;
		width: auto;
	}

	nav > ul {	
		display: flex;
		left: 0;
		background: #116E6E;
	}

	li.menu_item, li.submenu_link {
		margin: 0;
		padding:0;
		height: 3.5rem;
		display: block;
		background:#116E6E;
		box-shadow:none;
		border-top: 0.1rem solid #116E6E;
		border-bottom: 0.1rem solid #116E6E
	}

	li.menu_item a, li.submenu_link label a { color: whitesmoke;}		

	#item_selected {
		background: #116E6E;
		border-bottom: 0.2rem solid #B71C1C;
	}
	
	#item_selected label a{ border:0;}	
	
	li.submenu_link { display: block;}

	.next {display: none;}
	.more {display: flex;}
	
	ul.submenu{
		margin: 0.4rem 0 0 0;
		border-radius: 0 0 0.2rem 0.2rem;
		/*background: whitesmoke; */
		width: auto;
		box-shadow: 0.25rem 0.25rem 0.25rem #484848;
		position: relative;
		transform: translateX(-100vw);
		opacity: 0;
		/*transition: opacity 1s;*/
	}	

	li.submenu_item{
		/*background: whitesmoke; */
		width: inherit;
		height: 100%;	
		margin: 0rem;
		border: 0;
		border-left: 0.5rem solid #484848; 
	}
	
	li.submenu_item:last-of-type {border-radius: 0 0 0.2rem 0.2rem;}	
	
	li.submenu_item a{color: #212121;}
	.material-icons.icomovil {display: none;}
	
	/*ANIMACIONES*/
	li.menu_item:not(#item_selected):hover  a {color: #212121}	
		
	li.menu_item:hover { background: #116E6E;}	
	li.submenu_item:hover { background: #f0f0f0;}	
	/*li.submenu_link:hover { 
		border-radius:0;
		border-bottom: 0;
	}*/
	li.submenu_link:hover ul.submenu {
		transform: translateX(0);
		opacity: 1;
		/*transition: all 0s;*/
		transition: opacity 0.3s ease-in-out;
	}	
	ul li.submenu_link:hover label .more {visibility: hidden;}
	#btnsubmenu1:checked ~ label .before {display: none;}
	#btnsubmenu2:checked ~ label .before {display: none;}
	#btnsubmenu3:checked ~ label .before {display: none;}

	#btnsubmenu1:not(checked) ~ ul.submenu { left: 0;}
	#btnsubmenu2:not(checked) ~ ul.submenu { left: 0;}
	#btnsubmenu3:not(checked) ~ ul.submenu { left: 0;}
	.sociales img {
	width: 5rem;
	height: auto;
}
}

article p {
	text-align: justify;
	line-height: 2;
	text-indent: 2rem;
	padding: 0 1rem;
}

	.cuenta { margin: auto;}

	.cuenta input {
		background: white;
		border: 0;
		text-align: center;
		color: #7BAB1A;
	}

	.clockday input{
		font-size: 4rem;
		color: #B71C1C;
	}	
	
	.backclock {
		border-bottom: 0.03rem solid silver;
		border-top: 0.03rem solid silver;	
		padding: 0.5rem 1rem;
		display: flex;
		justify-content: space-around;
	}
	.small { font-size: 0.65rem;}
	
dt {
	font-weight: bold;
	text-align: left;
	padding: 0 1rem;	
}

dd {
	text-align: justify;
	line-height: 2;
	text-indent: 2rem;
	padding: 0 1rem;
}

article time{
	flex-grow: 1;
	width: 100%;
	text-align: left;
	padding: 0 1rem;
}

article span{
	flex-grow: 1;
	width: 100%;
	text-align: right;
	padding: 0;
}

div.personaje {
	display: flex;
	flex-wrap: wrap;
	align-items:center;
	justify-content:center;
}

.personaje a {
	font-family: 'Love Ya Like A Sister', cursive;
	font-size: 2rem;
	font-weight: bold;
	color: #7BAB1A;
	/*font-family: 'Bungee Inline', cursive;*/
}

/*COLORES*/


.color-primary-0 { color: #B71C1C }	/* Main Primary color */
.color-primary-1 { color: #F36868 }
.color-primary-2 { color: #D63C3C }
.color-primary-3 { color: #960707 }
.color-primary-4 { color: #6C0000 }

.color-secondary-1-0 { color: #116E6E }	/* Main Secondary color (1) */
.color-secondary-1-1 { color: #3E9292 }
.color-secondary-1-2 { color: #248080 }
.color-secondary-1-3 { color: #045A5A }
.color-secondary-1-4 { color: #004141 }

.color-secondary-2-0 { color: #7BAB1A }	/* Main Secondary color (2) */
.color-secondary-2-1 { color: #B7E261 }
.color-secondary-2-2 { color: #98C838 }
.color-secondary-2-3 { color: #5F8C06 }
.color-secondary-2-4 { color: #436500 }