*{
	margin: 0px;
	padding: 0px;
	list-style: none;
	text-decoration: none;
	box-sizing: border-box;
	font-family: 'Indie Flower', cursive;
}
/*VERIFICAR SI ES NECESARIO*/
body {
	width: 100%;
	min-width: 16rem;	
}

.banner{
	height: 7rem;
	font-size: 1rem;
	color: #B71C1C;
	background: azure;
	/*background: linear-gradient( whitesmoke, #238B66, #0E7350, #005E3D);*/
	/*opacity: 0.95;*/
	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;
	/*border:0.04rem solid silver;*/
}

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

div.navegacion {	
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	height: 100%;
	font-family: 'Baloo', cursive;
	width: 100%;
	max-width: 100rem;
	/*justify-content: flex-end;*/
	min-width: 16rem;
}

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

/*UBICACION Y ESPACIO PARA EL ICONO DE MENU*/
div.navegacion > label {
	order:30;
	height: 2rem;
	flex-basis: 3rem;
	/*padding-top: 0.5rem;*/
	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.65rem;}
/*.b1 {	margin: 0.2rem 0.6rem 0rem 0.5rem;}
.b2 {	margin: 0.5rem 0.6rem 0rem 0.5rem;}
/****************************************/

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

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

/*BOTONES DEL MENU DE NAVEGACION*/
li.menu_item {
	height: auto;
	display: flex;
	transition: background 0.3s ease-in-out;
	align-items: center;
	background: linear-gradient(to left, #B0B0B0, #C0C0C0, #D0D0D0, #E0E0E0, #f0f0f0 );
	box-shadow: 0.25rem 0.25rem 0.25rem #484848;
}
/**********************************************/

li.menu_item:last-of-type {	
	border-radius: 0 0 0.2rem 0;
}

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


#item_selected {
		font-style: italic;
		border-bottom: 0.2rem solid #7BAB1A;
		background: #f0f0f0;
		/*#b71c1c*/
}

/*ORGANIZACION DEL ENLACE SUBMENU*/

ul li.menu_item.submenu_link {
	display: flex;
	flex-wrap: wrap;
}

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

/*CONFIGURACION DEL SUBMENU*/

ul.submenu {
	position: absolute;
	left:-100vw;
	border-radius: 0 0.2rem 0.2rem 0;
	background: #B0B0B0;				
	width: calc(100vw - 3.5rem);				
}
/************************/

ul.submenu li.menu_item { 
	box-shadow: none;
	margin-left:0.5rem;
	background: linear-gradient(to right, #484848,#707070, #909090, #B0B0B0);
}

ul.submenu li.menu_item + li.menu_item {border-top: 0.07rem solid silver;}

ul.submenu li.menu_item a {color: whitesmoke;}

.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*/
nav ul > li.menu_item:hover  { background: #B0B0B0;}
/**********************************************/

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

/**************************************
********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*/
#btnsubmenu:checked ~ ul.submenu { /*display: block;*/
	position: relative;
	left: 0;
	transition: 0.3s ease-in-out;
}
#btnsubmenu:checked ~ label .before {display: flex;}
#btnsubmenu:checked ~ label .next {display: none;}
/***********************************************/

footer {
	text-align: center;
	background: #38000E;
	padding: 50px 0px;
	color: whitesmoke;
	/*border-radius: 0.2rem;*/
	box-shadow: 0.0625rem 0.0625rem 0.0625rem #484848;
}


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

a{color: yellow;}

i{padding: 0.5rem;}

@media (min-width:992px) {
	.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 {
		margin: 0;
		padding:0;
		height: 3.5rem;
		display: block;
		background:#116E6E;
		box-shadow:none;
		border: 0.3rem solid #116E6E;
	}

	li.menu_item a { color: whitesmoke;}		

	#item_selected {
		background: #116E6E;
		border-bottom: 0.3rem solid #800020;
		border-left: 0.5rem solid #116E6E;
		border-right: 0.5rem solid #116E6E;

	}
	
	ul li.menu_item.submenu_link { 	
		display: block;
		margin-left: 0.1rem;
	}
	.next {display: none;}
	.more {display: flex;}
/*	ul li.menu_item.submenu_link label{ 	
	}
*/		
	ul.submenu{
		margin: 0.2rem 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;
		left: -100vw;
		opacity: 0;
	}	

	ul.submenu li.menu_item{
		background: whitesmoke; 
		width: inherit;
		height: 100%;	
		margin: 0rem;
		border:0;
	}
	
	ul.submenu li.menu_item a{color: #212121;}
	.material-icons.icomovil {display: none;}
	
	/*ANIMACIONES*/
	nav ul > li.menu_item:not(#item_selected):hover  a {
		font-weight: normal; 
		color: #212121}	
		
	nav > ul > li.menu_item:not(.submenu_link):hover { 
		background: #116E6E;
		border-top: 0.3rem solid #6B8700;
	}	
	#item_selected:hover { 
		background: #116E6E; 
		border-top: 0.3rem solid #116E6E;
	}	
	ul.submenu > li.menu_item:hover { 
		background: whitesmoke; 
		border-left: 0.3rem solid #6B8700;
		
	}	
	ul li.menu_item.submenu_link:hover { 
		border-radius:0;
		background: linear-gradient( #116E6E, #116E6E, #116E6E, whitesmoke);
		border-bottom: 0;
	}
	ul li.menu_item.submenu_link:hover ul.submenu {
		left: 0;
		opacity: 1;
		transition: opacity 0.3s ease-in-out;
	}	
	ul li.menu_item.submenu_link:hover label .more {visibility: hidden;}
	#btnsubmenu:checked ~ label .before {display: none;}
}

/*COLORES*/

.color-primary { color: #800020 }	/* Main Primary color */
.color-primary-xl { color: #BD2F53 }
.color-primary-l { color: #9D1436 }
.color-primary-d { color: #5E0018 }
.color-primary-xd { color: #38000E }

.color-secondary { color: #005E3D }	/* Main Secondary color (1) */
.color-secondary-xl { color: #238B66 }
.color-secondary-l { color: #0E7350 }
.color-secondary-d { color: #00452D }
.color-secondary-xd { color: #00291B }

.color-secondary { color: #6B8700 }	/* Main Secondary color (2) */
.color-secondary-xl { color: #A8C732 }
.color-secondary-l { color: #88A515 }
.color-secondary-d { color: #4F6300 }
.color-secondary-xd { color: #2F3B00 }