*{
	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%;
	/*max-width: 100rem;*/
		min-width: 16rem;	
}

.banner{
	height: 7rem;
	font-size: 1rem;
	color: #9CA738; 
	/*color: #D4706A;*/
	background: linear-gradient(#2D4571, #2D4571, #2D4571, #2D4571, #2D4571, #2D4571, #2D4571, #2D4571, #2D4571, #2D4571, #2D4571, #2D4571, #2D4571, azure );
	/*opacity: 0.95;*/
	display: none;
	font-family: 'Cabin Sketch', cursive;
	justify-content: center;
	margin:0; 
	box-shadow: 0 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;
	/*flex-direction:column;*/
	margin: auto;
	min-width: 16rem;
	background: #2D4571;
	box-shadow: 0 0.25rem 0.25rem #484848;
	height: 3.5rem;
	align-items: center;
	justify-content: flex-end;
	/*margin:0;*/
	/*border-radius: 0.2rem 0.2rem 0.2rem 0.2rem;
	border:0.07rem solid silver;*/
}

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: all 0.5s;
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: #2D4571;
	margin: auto;
	/*width: 100vw;*/
}
/****************************************/

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

/*MENU DE NAVEGACION*/
nav {
	/*background: red;*/
	position: relative;
	display: block;
	visibility: hidden;
	width: 100vw;
	height: calc(100vh - 3.5rem);
	/*top: -100vh;*/
	/*left: -200vw;*/
	/*transition: 0.3s;*/
	/*border-radius:  0 0 0.2rem 0.2rem;*/
	order:50;
	overflow-y: scroll;
	font-family: 'Baloo', cursive;
	/*box-shadow: 0 0.5rem 0.5rem #484848;
	transform: translateX(-75vw);
	border:0.05rem solid silver;*/
	min-width: 16rem;
}
/*************************************/

label.fondomenu{
	position: fixed;
	background-color: gray;
	height: calc(100vh - 3.5rem);
	width: 100%;
	top: 3.5rem;
	left: 0;
	opacity: .2;
	z-index: 499;
}

nav > ul {
	position: relative;
	height: auto;
	z-index: 500;
	left: -200vw;
	transition: 0.3s;
	width: calc(100vw - 5rem);
	/*background-color: silver;*/
}

/*BOTONES DEL MENU DE NAVEGACION*/
li.menu_item {
	height: auto;
	display: flex;
	transition: 0.4S;
	/*box-shadow: 0 0.125rem 0.125rem #484848;*/
	/*margin: 0.5rem 1rem;
	/*text-align: center;*/
	align-items: center;
	padding-left: 0.5rem;
	/*justify-content: center;*/
	background: whitesmoke;
}
/**********************************************/

li.menu_item:last-of-type {
	box-shadow: 0 0.25rem 0.25rem #484848;
}

/*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.1rem solid #dce775;
		background-color: #eee;
}

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

/*CONFIGURACION DEL SUBMENU*/

label.fondosubmenu{
	display: flex;
	position: absolute;
	top: 0rem;
	transform: translateX(-100vw);
/*	background-color: navajowhite;*/
	height: calc(100vh - 3.5rem);
	width: 100vw;
	z-index: 510;
	justify-items: center;
	align-items: flex-start;
	transition: 0.3s;
}

ul.submenu {
					/*width: calc(100vw - 4rem);*/
				margin-top: 0.07rem;
				box-shadow: 0 0.5rem 0.5rem #484848;
				border-radius: 0 0.2rem 0.2rem 0;
				/*background: yellow;*/
				transition: 0.3s;
				/*border:0.05rem solid silver;*/
				min-width: 8rem;

}
/************************/

.menos, .mas {
	display: flex;
	align-items: center;
	}
	
.menos {
	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 0.15rem 0.15rem grey;}

div.navegacion > label:hover {
	cursor: pointer;
	opacity: 0.5;
	}
/******

/* SE COLOCA DE OTRO COLOR AL ITEM DE LA PAGINA ACTUAL*/

/******************************************************/

/*LOS BOTONES DE NAVEGACION SE ELEVAN AL AUMENTAR LA*/
nav ul > li.menu_item:hover  { background-color: #e9e9e9;}
/**********************************************/


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

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

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

#btnmenu:checked ~ nav {
	visibility: inherit;
}
#btnmenu:checked ~ nav ul { /*Baja y Rota el Menu*/
	/*	transform: rotate(0deg);
	display: initial; */
	left: 0;
	top:0.07rem;
	} 
#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*/
/****************************************/

#btnmenu:checked ~ nav > ul li.submenu_link label.fondosubmenu{
 left: 0;
}
	
/*ACCIONES AL HACER CLICK SOBRE BOTON DEL SUBMENU*/
#btnsubmenu:checked ~ .fondosubmenu {
	/*position: fixed;*/
    transform: translateX(0);
    /*top: 50%;*/
}
#btnsubmenu:checked ~ label .menos {display: flex;}
#btnsubmenu:checked ~ label .mas {display: none;}
/***********************************************/

footer {
	text-align: center;
	background: #212121;
	padding: 50px 0px;
	color: whitesmoke;
	/*border-radius: 0.2rem;*/
	box-shadow: 0 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;
	background: azure;
	
	}

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

div.navegacion > label {
		display: none;	
	}

	.logo{
		flex-basis:5rem;
		flex-grow:0;
		background: azure;
		/*margin: initial;*/
	}
	/*.circle {
		transform: translateX(-1.5rem);	
	}*/

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

label.fondomenu{
	display: none;
}

nav {
	display: flex;
	height: 100%;
	visibility: inherit;
	/*transform: rotate(0deg);*/
	border-radius: 0;
	overflow-y: visible;
	flex-grow:1;
	box-shadow: none;
	width: auto;
	transition:0s;
	background: azure;
	/*margin-right: 1rem;*/
}

	nav > ul {	
		display: flex;
			/*position: fixed;*/
			left: 0;
		/*height: 3rem;*/
	}
/**/
	li.menu_item {
		margin: 0;
		padding:0;
		height: 3.5rem;
		display: block;
		background: azure;
		border-left: 0.5rem solid azure;
		border-right: 0.5rem solid azure; 
		/*border-top:0.2rem solid whitesmoke;*/
}

	li.menu_item:last-of-type {
	box-shadow: 0 0 0 #484848;
	}

	li.menu_item a{
		color: #AA3E39;
		/*border-bottom: 0.07rem solid whitesmoke;*/
	}		

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

	#item_selected {
		background: azure;
		border-bottom: 0.3rem solid #2D4571;
		border-left: 0.5rem solid azure;
		border-right: 0.5rem solid azure;
}

	#item_selected a { color: #212121;}

	label.fondosubmenu {
	position: relative;
	top: 0.3rem;
	width: 100%;
	margin: auto;
	padding: 0;
	height: auto;
	}
	
	.submenu{
		background: #f05545;
		margin: 0;
	}	
	
	.submenu label{
	display: none;
}	
	ul.submenu li.menu_item {
		width: inherit;
		height: 100%;	
	}
	
	ul.submenu li.menu_item a{
		color: #AA3E39;
	}
	.material-icons.icomovil {
	display: none;	
	}
	
	/*ANIMACIONES*/
nav > ul > li.menu_item.submenu_link:hover{ 
	border-bottom:0;	
	/*font-weight: bold; */
	/*color: #212121;*/
}
	
nav > ul > li.menu_item:hover { 
	border-bottom: 0.3rem solid #AA3E39;
	background: azure;
}	
/**************************/

ul.submenu li.menu_item:hover {
		background: azure;
		border-left: 0.5rem solid #AA3E39;	
	}
	
	/*ACCIONES AL HACER CLICK AL LINK DEL SUBMENU*/
#btnsubmenu:checked ~ .submenu {
	display: block;

	/*left: 0;*/
}
#btnsubmenu:checked ~ label .menos {display: flex;}
#btnsubmenu:checked ~ label .mas {display: none;}
/***********************************************/

}


.color-primary-0 { color: #AA3E39 }	/* Main Primary color */
.color-primary-1 { color: #FFAEAA }
.color-primary-2 { color: #D4706A }
.color-primary-3 { color: #801B15 }
.color-primary-4 { color: #550400 }

.color-secondary-1-0 { color: #2D4571 }	/* Main Secondary color (1) */
.color-secondary-1-1 { color: #6D85B2 }
.color-secondary-1-2 { color: #456194 }
.color-secondary-1-3 { color: #1A2C4E }
.color-secondary-1-4 { color: #091833 }

.color-secondary-2-0 { color: #9CA738 }	/* Main Secondary color (2) */
.color-secondary-2-1 { color: #F1FB93 }
.color-secondary-2-2 { color: #CDD863 }
.color-secondary-2-3 { color: #6C7518 }
.color-secondary-2-4 { color: #3E4405 }