* {
	padding:0;
	margin:0;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
/*INICIO letra de la fecha portada*/
#fechahoy { /*tipo de letra de la fecha portada*/
font-family: 'Arima', cursive;
/*FIN letra de la fecha portada*/
}

/*body {background:#FEFEFE;} /*COLOR BLANCO*/

/*section {
	padding:20px;
}
*/
#novisible {
	/*visibility:hidden;*/
	display:none;
}

.menu_bar {
	display:none;
}

header {
	width: 100%;
	font-family: Verdana, Geneva, sans-serif;
	float: left;
	font-weight: bold;
	font-size: 115%; /*tamaño fuente normal pc 105*/
	/*font-size: 100%; /*tamaño fuente normal pc 105*/
	text-shadow: 3px 3px 2px #006; /*SOMBRA TEXTO BOTONETA MENU MOVIL*/
}

header nav {
	background:#004C70; /*COLOR DE FONDO BARRA MENU #06F*/
	background-image: url(../rotulo.jpg); /*COLOR DE FONDO BARRA MENU*/
	max-width: 1215px; /*EXPANDE O ESTRECHA LA BARRA DE MENU 1215px*/
	/*max-width: 1000px; /*EXPANDE O ESTRECHA LA BARRA DE MENU*/
	width: 95%;
	margin:2px auto;
	border-radius: 5px 5px 5px 5px; /*BORDES REDONDOS*/
	transition: all .6s; /*TRANSICION SALIDA LATERAL MOVIL*/
	box-shadow: 3px 3px 2px #006; /*SOMBRA BARRA DE MENU*/
	text-shadow: 3px 3px 2px #006; /*SOMBRA TEXTO BOTONETA MENU BARRA NAVEGACION*/
	z-index:1000;
}

header nav ul {
	list-style:none;
}

header nav ul li {
	display:inline-block;
	/*La razon por la que no usamos floar en vez de inline-block es
	porque no vamos a poder usar overflows en el header nav ul*/
	position: relative;
	z-index:1000;
}

header nav ul li:hover .children {
	display: block;
}

/*Submenu*/
header nav ul li .children {
	background:#06F; /*COLOR DE FONDO MENU DESPLEGLABLE #06F*/
	position: absolute;
	display: none;
	width: 150%; /*ANCHO DE LA BARRA MENU DESPLEGLABE*/
	box-shadow: 3px 3px 2px #006; /*FONDO DESPLEGLABLE MENI*/
	border-radius: 5px 5px 5px 5px; /*BORDES REDONDOS*/
	z-index: 1000;
}

header nav ul li .children li {
	display: block;
	overflow: hidden;
	box-shadow: 3px 3px 2px #006;
	border-bottom: 1px solid rgba(255,255,255,.5); /*COLOR BLANCO*/
	/*Usamos overflow hidden porque aqui si vamos a necesitar usar float*/	
}

header nav ul li .children li a {
	display: block;
}

header nav ul .children li a span {
	float: right;
	position: relative;
	top:3px;
	margin-right: 0px;
	margin-left:10px;
}

header nav ul li a {
	color:#fff; /*COLOR BLANCO*/
	text-decoration: none;
	display: inline-block;
	padding:20px;
}

header nav ul li:hover {
	background:#39C; /*COLOR PASAR POR ENCINA MENUS*/
	border-radius: 5px 5px 5px 5px; /*BORDES REDONDOS*/
	transition: all .6s; /*TRANSICION MENU MOVIL*/
	z-index:1100; /*PONE POR ENCIMA EL MENU DE COMUNIDADES*/	
}

header nav ul li:active {
	background:#06C; /*COLOR AL HACER CLIK MENUS*/
}

header nav ul li span {
	margin-right:10px;
}

header nav ul li .caret {
	position: relative;
	top: 3px;
	margin-left: 10px;
	margin-right: 0;
}

@media screen and (max-width:700px) {
body {
	padding-top:71px; /*SEPARACION ENTRE EL LOGO I EL MENU (81)*/
}
#novisible {
	/*visibility:visible;*/
	display:block;
}
.menu_bar {
	width: 100%; /*EL ANCHO DEL MENU MOVIL*/
	background: #004C70; /*COLOR MENU MOVIL #06F*/
	background-image: url(../rotulo.jpg); /*IMAGEN FONDO MENU MOVIL*/	
	display: block;
	position: fixed;
	top: 0; /*REGULA LA ALTURA DEL MENU MOVIL*/
	border-radius: 5px 5px 5px 5px; /*BORDES REDONDOS*/
	height: 70px; /*ANCHO DE LA BARRA MENU MOVIL*/
}

.menu_bar .bt-menu {
	display: block;
	padding: 20px;
	color:#fff;
	overflow: hidden;
	font-size:25px;
	font-weight:bold;
	text-decoration: none;		
}

.menu_bar span {
	float: right;
	font-size: 40px;
}

header nav {
	/*width: 80%;*/
	width: 80%; /*EXPANDE O ESTRECHA EL MENU DE SALIDA DEL MOVIL*/
	height: calc(100% - 80px);
	right:100%; 
	/*Con esto ocultamos el menu hacia la derecha, lo agregamos hasta el final*/
	margin: 0; /*SEPARACION DE ALTURA ENTRE LA BARRA MENU Y EL MENU LATEREAL MOVIL*/
	position:fixed;
	overflow:scroll;
}

header nav ul li {
	display: block;
	border-bottom:1px solid rgba(255,255,255,.5);
}

header nav ul li a {
	display: block;
}

header nav ul li:hover .children{
	display: none;
}

header nav ul li:active {
	background:#06C; /*COLOR AL HACER CLIK MENUS*/
}

header nav ul li .children {
	width: 100%;
	position: relative;
	/*display: block;*/
}

header nav ul li .children li a{
	margin-left:20px;
}

header nav ul li .caret {
	float: right;
}

.texto {
	text-shadow: 3px 3px 2px #006; /*SOMBRA TEXTO BOTONETA PRINCIPAL*/
}
.texto2 {
	text-shadow: 3px 3px 2px #30F; /*SOMBRA TEXTO BOTONETA 2*/
}
.texto3 {
	text-shadow: 3px 3px 2px #006; /*SOMBRA TEXTO BOTONETA 3*/
}

