﻿* {
	border: 0;
	margin: 0;
	padding: 0;
}

article, footer, header, nav, section {
	display: block;
}

/* estilos del sitio */

body{
	background: #212121 url(../img/fondo.jpg);
	color: #FFF;
	font-family: Helvetica, Verdana;
	font-size: 1em;
}

a{
	color: #57ABB8;
	font-weight: bold;
	text-decoration: none;
}

a:hover{
	color:#F60;
}

article{

	text-align: center;	
	font-size: 1.2em;
	color: #FFF;
	font-family: Georgia, Verdana;	
    padding: 0.2em;
}

#fecha, #visitas{
	background: #FFF;
	border: 0.1em solid #57ABB8;
	border-radius: 0.25em;
	color: #F60;
	font-family: Arial, Verdana;
	font-size: 1.4em;
	padding: 0.2em;
}

header, section#contenido, footer{
	background: #FFF url(../img/fondo-interno.jpg);
	margin: 0 auto;
	max-width: 90%;
	text-align: center;
}

header h1, nav{
	display: inline-block;
	max-width: 100%;
	vertical-align: middle;
}

ul{
	list-style: none;
}

nav ul{
	list-style: none;
}

nav li{
	display: inline-block;
	padding: 0.1em;
	vertical-align: top;
}

nav a{
	background: #FFF;
	/*solido = continuo*/
	border: 0.1em solid #57ABB8;
	border-radius: 0.25em;
	color: #F60;
	/*naturalmente en linea por eso le doy block*/
	display: block;
	font-family: Arial, Helvetica;
	font-size: 1.4em;
	padding: 0.2em;
	-ms-transition: all 0.5s ease-in;
	-moz-transition: all 0.5s ease-in;
	-o-transition: all 0.5s ease-in;
	-webkit-transition: all 0.5s ease-in;
	transition: all 0.5s ease-in;
}

nav a:hover{
	background: #212121;
	/*dashed=discontinua*/
	border: 0.1em solid #F60;
	color: #FFF;
	-ms-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	-webkit-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}

section#encabezado{
	background: #ff6600;
	border-radius: 0.5em;
	padding: 0.25em;
	display: block;
	max-width: 95%;
	margin: 0em auto;
}

section#grupo-central, section#grupo-inferior{
	background: #1E6381;
	border-radius: 0.5em;
	max-width: 95%;
	margin: .25em auto;
	padding: 0.25em;
}

section#grupo-inferior{
	margin: 0em auto;
}

section#hizquierda, section#derecha, article#menu, article#medio, article#derecha{
	background: #E2E7F1;
	border-radius: .5em;
	margin-bottom: .5em;
	text-align: center;
	font-size: 1em;
	color: #311AE3;
	font-family: Verdana, Helvetica;
	
	width: 47.5%;
	display: inline-block;	
	vertical-align: top;
	padding: .25em;		
}

article#menu, article#medio, article#derecha{
	width: 20%;
}

article#medio{
	width: 55%;	
}
aside#menu, section#principal, aside#anuncios{
	background: #1E6381;
	border-radius: 0.5em;
	display: inline-block;
	max-width: 50%;
	vertical-align: top;		
	margin: 0 auto;
	padding: 0.25em;
}

aside#menu, article#menu{
	max-width: 180px;
	margin: 0 auto;	
}
aside#anuncios{
	max-width: 30%;
}

article#galeria-inicio{
	border-radius: 0.5em;
	margin: 0.5em;
	padding: 0.5em;
	text-align: center;
}

#galeria-inicio{
	background: #E2E7F1;
	border-radius: .5em;
	margin-bottom: .5em;
	padding-left: .5em;
	text-align: center;
	font-size: 1.5em;
	color: #F90;
	font-family: Lucida Sans, Verdana, Helvetica;
	font-weight:bold;
}

footer{
	color: #000;
	font-size: 0.85em;
	padding: 0.75em 0;
}

h2{
	color: #F8E8AC;
	font-family: Arial, Verdana;
	border-radius: .5em;
	box-shadow: .25em .25em .25em .25em rgba(255,153,0,.5);
	margin-bottom: .5em;
	text-align: center;
	font-size: 1em;
}

hr{
	border: 1.5px dashed #F60;
	color: #ff6600;
	margin: 1em 0;
}

.fecha{
	text-align: left;
	font-size: .7em;
	color: #311AE3;
}

.bannerDGCyE{
	text-align: center;
	font-size: 1.4em;
	color: #FFF;
}
.bannerSAD{
	text-align: center;
	font-size: 1.3em;
	color: #FFF;
}

.fade{
	-ms-transition: all 0.5s ease-in;
	-moz-transition: all 0.5s ease-in;
	-o-transition: all 0.5s ease-in;
	-webkit-transition: all 0.5s ease-in;
	transition: all 0.5s ease-in;	
	opacity: 1;
	/*para que entienda ie*/
	filter:alpha(opacity=10);
}

.fade:hover{
	-ms-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	-webkit-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;	
	opacity: 0.7;
	/*para que entienda ie*/
	filter:alpha(opacity=7);
}

div.portafolio article{
	margin: 2em auto;
	display: inline;
	padding: 1em;	
}

.redonda{
	border-radius: 3.125em;
	box-shadow: 5px 5px 10px rgba(255,255,255,.3);
}

.resaltado{
	color: #FE0606;
	font-family: Arial, Verdana;
	border-radius: 0 0.5em 0 0.5em;
	box-shadow: .25em .25em .25em .25em rgba(254,6,6,.5);
	margin-bottom: .5em;
	text-align: center;
	font-size: 1.5em;
	max-width: 95%;
}

.resaltadoBlancoNegro{
	color: #ffffff;
	background: #212121;
	font-family: Arial, Verdana;
	border-radius: 0 0.5em 0 0.5em;
	box-shadow: .25em .25em .25em .25em rgba(134,114,114,.5);
	margin-bottom: .5em;
	text-align: center;
	font-size: 1.5em;
	max-width: 95%;
}

@Media screen and (min-width:1201px){
	header h1{
		text-align: left;
		width: 35%;
	}
	nav{
		text-align: right;
		width: 60%;
	}
}

@Media screen and (max-width:1200px){
	header h1{
		text-align: right;
	}
	nav{
		text-align: left;
		font-size: 0.8em;
	}

	#galeria-inicio{
		width: 90%;
			font-size: 1.5em;
	}

	aside{
		width: 20%;
	}
}

@Media screen and (max-width:800px){
	#galeria-inicio{
		width: 88%;
		font-size: 1em;
	}

	body{
		font-size: .9em;
	}
}

@Media screen and (max-width:600px){
	nav li{
		font-size: .8em;		
		display: inline-block;
		margin: 0px;
		width: 98%;
		text-align: center;
	}

	section#principal{
		margin-bottom: 0.2em;
	}

	section#principal, aside{
		display: block;
		width: 95%;

	}

	#galeria-inicio{
		font-size: .9em;
	}

	header h1{
		font-size: 1.2em;
	}

	body{
		font-size: .7em;		
	}
}