*{
	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: #b71c1c;
	background: linear-gradient( whitesmoke, lightgrey, whitesmoke);
	/*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: #f05545;
	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: #f05545;
	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: flex;
	width: 100vw;
	height: calc(100vh - 3.5rem);
	/*top: -100vh;*/
	left: -200vw;
	transition: all 0.5s;
	/*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.menu{
	/*background-color: steelblue;*/
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
}

.menu > ul {
	z-index: 500;
}

/*BOTONES DEL MENU DE NAVEGACION*/
li.menu_item {
	height: 100%;
	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;
}
/**********************************************/

/*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*/
.submenu{
				position: fixed;
				/*width: calc(100vw - 4rem);*/
				top: 3.5rem;
				left: -100vw;
				box-shadow: 0 0.5rem 0.5rem #484848;
				border-radius: 0 0.2rem 0.2rem 0;
				background: whitesmoke;
				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;
}

div.cerrar{
	display: flex;
	justify-content: space-between;
	padding-right: 1rem;
	/*font-family: 'Baloo', cursive;*/
	cursor: pointer;
	align-items: center;
}

/*******************************
**********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*/
.menu 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 { /*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*/
/****************************************/
	
/*ACCIONES AL HACER CLICK SOBRE BOTON DEL SUBMENU*/
#btnsubmenu:checked ~ .submenu {
	/*position: fixed;*/
    left: 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;	
	}

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

div.navegacion > label {
		display: none;	
	}

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

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

	nav {
	position: inherit;
	height: 100%;
	/*transform: rotate(0deg);*/
	border-radius: 0;
	overflow-y: visible;
	flex-grow:1;
	box-shadow: none;
	width: auto;
	transition:0s;
	/*background: #f05545;*/
	/*margin-right: 1rem;*/
}
	.menu > ul {	
		display: flex;
		
		/*height: 3rem;*/
	}
/**/
	li.menu_item {
		margin: 0;
		padding:0;
		height: 3.5rem;
		display: block;
		background:#f05545; 
}
li.menu_item a{
		color: whitesmoke;
}		

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

#item_selected {
		border-bottom: 0.1rem solid #dce775;
		background-color: #f05545;
		border-bottom: 0.3rem solid #dce775;
		border-left: 0.5rem solid #f05545;
		border-right: 0.5rem solid #f05545;
}
	.submenu {
	position: relative;
	top: 0.5rem;
	width: auto;
	padding: 0.035rem 0;
	background:#f05545;
	}
	.submenu label{
	display: none;
}	
	
	.submenu li{
		width: inherit;
		margin: 0.1rem 0;
		height: 100%;	
	}
	
	.submenu li a{
		color: #212121;
	}
	.material-icons.icomovil {
	display: none;	
	}
	
	/*ANIMACIONES*/
.menu ul > li.menu_item:hover  a { 
	font-weight: normal; 
}
	
.menu ul > li.menu_item:hover { 
	background-color: #E55040; 
}	
/**************************/
	
	/*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;}
/***********************************************/

}