/* reseteo universal*/
*{
	border: 0;
	margin: 0;
	padding: 0;
}

article, figcaption, figure, footer, header, hgroup, section {
	display: block;
}

@font-face {
	font-family: "Chalet";
	src: url("../fonts/Chalet.eot");
	src: url("../fonts/Chalet.eot?#iefix") format("embedded-opentype"),
		url("../fonts/Chalet.woff") format("woff"),
		url("../fonts/Chalet.ttf") format("truetype"),
		url("../fonts/Chalet.svg#Chalet") format("svg");
	font-weight: normal;
	font-style: normal;
}

audio, iframe, img, video {
	max-width: 100%;
}

fieldset {
	border: .1em solid #F60;
	border-radius: .5em;
	padding: 1em;
}

figcaption {
	font-size: 0.85em;
	padding: 0.25em;
	text-align: center;
}

form {
	width: 100%;
}

form div {
	margin: .5em;
}

html, body
{
	width: 100%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 400;
	text-rendering: optimizeLegibility;
	background-color: #FFF;
	color: #FFF;
	text-align: center;
}

header h1, section, footer {
	display: inline-block;
	margin: 0 auto;
	max-width: 100%;
	text-align: center;
	vertical-align: middle;
}

header nav {
		z-index: 1000;
}

.menu_bar {
	display: none;
}

hr {
	border: 1px dashed #FFF;
	margin: 1em 0;
}

iframe {
	border-radius: .5em;
}

li, ul {
	display: inline-block;
}

nav {
	background: #d7080a;
	border: 0.1em solid #d7080a;
	margin-bottom: 1em;	
}

nav a {
	color: #FFFFFF;
	background: #d7080a;
	border-bottom: 3px solid #d7080a;
	display: block;
	font-family: Arial, Helvetica, Verdana;
	font-size: 1.1em;
	padding: 0.6em;
	text-decoration: none;
	-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: #93191a;
		border-bottom: 3px solid #ffae00;
		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;
	}

header nav ul li .children li {
	display:block;
	overflow: hidden;
	border-bottom: 2px solid rgba(255,255,255,.5);
	padding-top: 0;
	padding-bottom: 0;
	width: 200%;
}

header nav ul li {
	position: relative;
}
 
header nav ul li:hover .children {
	display:block;
}

header nav ul li .children li a {
	display:block;
}
 
header nav ul li .children {
	display: none;
	position: absolute;
	text-align: left;
	z-index:1000;
}
 
input[type="email"], input[type="text"], textarea {
	background: #EEE;
	border-radius: .25em;
	color: #F60;
	font-size: 1em;
	padding: .25em;
	width: 95%;
}

input[type="email"]:focus, input[type="text"]:focus, textarea:focus {
	background: #C6ECF9;
}

input[type="submit"] {
	background: #F90;
	border-radius: 0 .25em;
	color: #500;
	font-family: "Chalet";
	font-size: 1.25em;
	padding: .25em;
}

input[type="submit"]:hover {
	background: #7BBFD5;
	border-radius: .25em 0;
	color: #000;
	cursor: pointer;
}

label {
	cursor: pointer;
}

legend {
	color: #F1AC1E;
	font-size: 1.2em;
	font-weight: bold;
}

section article ul li span {
	margin-right: 20px;
	color: #55C304;
}

.av span {
	margin-right: 10px;
	color: #55C304;
}

aside {
	width: 28%;
	display: inline-block;
	vertical-align: top;
}

.novelas {
	background: #EC8000;
	background: -webkit-linear-gradient(#ea7300, #f4b400);
	background: -moz-linear-gradient(#ea7300, #f4b400);
	border: 0.1em solid #FCF652;
	display: block;
	font-size: 2em;
	margin-top: 0.25em;
	padding: 0.3em;
}

.novelas {
	padding-left: 0;
	margin-left: 0;
}

article.nov1, article#galeria-inicio {
	max-width: 100%;
	min-height: 220px;
	margin: 0.5em 0em;
	text-align: center;
}

article.nov1 {
	min-height: 145px;
}

section#contenido {
	margin: 0 auto;
	width: 100%;
	text-align: center;
}

h3 {
  display: block;
  font-size: 1.3em;
  -webkit-margin-before: 0.5em;
  -webkit-margin-after: 0.5em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  font-weight: bold;
}

#boton {
	background: -webkit-linear-gradient(#c44229 , #ea7300); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#c44229, #ea7300); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#c44229, #ea7300); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to #c44229 , #ea7300); /* Standard syntax */
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	color: #fff;
	display: inline-block;
	margin-top: 0.5em;
	padding: 10px;
	text-decoration: none;
	-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;
}

#boton:hover{
	background: -webkit-linear-gradient(#336d32 , #26e621); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#336d32, #26e621); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#336d32, #26e621); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to #336d32 , #26e621); /* Standard syntax */336d32
	-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;	
}

.boton2 {
	background-clip: border-box;
	background-color: rgba(0, 0, 0, 0);
	border-radius: 30px;
	border-style: solid;
	border-width: 4px;
	color: #fff;
	display: inline-block;
	font-weight: normal;
	margin-top: 0.5em;
	padding: 10px;
	padding-left: 20px;
	padding-right: 20px;
	margin-left : 1.5em;
}

.boton2:hover{
	background-color: rgb(215, 8, 10);
	border-radius: 30px;
	border-color: rgb(215, 8, 10);
}

#contenedor {
	background: white;
	margin: 0px auto;
	width: 90%;
	padding: 0;
}

#principal {
	width: 70%;
	display: inline-block;
}

#principal1 {
	width: 100%;
	display: inline-block;
}

#principal1 h1{
	color: #033d7c;
	font-size: 2em;
	margin-bottom: 1.5em;
}

#principal1 h2{
	color: #000000;
	margin-bottom: 1em;
	text-align: center;
}

#principal1 img{
	width: 35%;
	vertical-align: text-top;
}

#mosaicotexto {
	width: 62%;
	color: #033d7c;
	font-size: 1.2em;
	margin-bottom: 2em;
	padding-left: 1em;
	text-align: justify;
	vertical-align: text-top;
}

#principal1 img, #mosaicotexto {
	display: inline-block;
}


#result {
	width:90%;
	padding:0.5em;
	border:1px solid #F1AC1E;;
	margin:auto;
	margin-top:10px;
	text-align:center;
}

section#contacto, section#mapa {
	background: #011E30;
	border-radius: .5em;
	display: inline-block;
	font-family: "Chalet";
	font-size: 1em;
	margin: 0 auto;
	margin-left: 1em;
	min-height: 350px;
	padding: .5em;
	text-align: justify;
	vertical-align: middle;
	width: 45%;
}

article#info-contacto, article#contactanos {
	border: .1em solid #1E6381;
	border-radius: .5em;
	margin: .5em;
	min-height: 144px;
	padding: .5em;
}

span.datos-contacto {
	color: #F1AC1E;
	font-family: Arial;
	font-size: 1em;
}

section#mapa {
	text-align: center;
}


.flex-caption {
  width: 96%;
  padding: 2%;
  left: 0;
  bottom: 0;
  background: rgba(0,0,0,.5);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,.3);
  font-size: 14px;
  line-height: 18px;
}

.logos {
	width: 30%;
	vertical-align: middle;
	padding: 0.5em;
}

.mosaicos a
{
	display: block;
	text-decoration: none;
	color: #054084;
}

.mosaicos a:hover
{
	color: #FFF;
}

.mosaicos li {
	background-color: #DAD9D7;
	display: inline-block;	
	list-style: none;
  	margin: 0.5em;
  	padding: 1em;
	text-align: center;
	width: 26%;
}

.mosaicos img {
  max-width: 150px;
}

.mosaicos li:hover {
   background-color: #555;
}

.mosaicos p {
	font-size: 1em;
	font-weight: 500;
}

.mosmantex {
	color: #054084;
	margin-top: 2em;
	min-height: 19.7em;
}

.mosmant li {
	width: 49%;
  	margin: 0.5em 0.1em;
  	padding: 0;
	vertical-align: top;
}

.mosmant h1 {
	color: #ea7300;
	font-size: 2em;
	font-weight: bold;
	padding-top: 0.5em;
}

.manto {
	width: 95%;
	min-height: 19.7em;
}

.textfarm {
	color: #033d7c;
	font-size: 1.5em;
	font-weight: bold;
	padding-top: 0.5em;
	text-align: left;
}

.titulofar {
	color: #000000;
	font-size: 2em;
	font-weight: bold;
	padding-top: 0.5em;
}

.texto {
	background: #2F3943;
	color: #FFFFFF;
	min-height: 19.7em;
}

.texto1 {
	background: #2F3943;
	color: #032448;
}

.av li {
	width: 35%;
  	padding: 0;
 	vertical-align: middle;
}

.av .texto1 {
		width: 60%;
}

.parrafo {
	font-size: 1.4em;
	font-weight: bold;
	line-height: 170%;
	text-align: left;
	padding: 0.5em;
}

.parrafo1 {
	font-size: 1.3em;
	text-align: justify;
	padding: 0.5em;
}

.misvis {
	font-size: 1em;
	font-weight: bold;
	color: #F1AC1E;
}

.legal1 {
	font-size: 0.8em;
	text-align: justify;
	padding: 0.5em;
}

.legalsub {
	font-size: 1em;
	font-weight: bold;
	color: #F1AC1E;
}

.misvis1 {
	font-size: 1.37em;
	font-weight: bold;
	color: #054084;
	text-align: left;
}

.resalta {
	font-size: 1.37em;
	font-weight: bold;
	color: #ea7300;
}

.parrafo2 {
	color: #FFFFFF;
	display: block;
	font-size: 1.1em;
	font-weight: bold;
	text-align: left;
	padding: 0.5em;
	margin-left: .5em;
}

.resalta1 {
	font-size: 1.37em;
	font-weight: bold;
	color: #00889E;
	padding: 0.5em;
	text-align: left;
}

.resalta2 {
	font-size: 1.37em;
	font-weight: bold;
	color: #F1AC1E;
	padding: 0.5em;
	text-align: left;
}

.resalta3 {
	font-size: 1.37em;
	font-weight: bold;
	color: #44CC00;
	padding: 0.5em;
	text-align: left;
}

.resalta4 {
	font-size: 1.37em;
	font-weight: bold;
	color: #89BDD3;
	padding: 0.5em;
	text-align: left;
}

.textotabla {
	display: list-item;
	font-family: "Times New Roman", Times, serif;
	font-size: 18px;
	font-weight: bold;
	color: #232F5F;
	text-align: left;
}

.textotabla1 {
	display: list-item;
	font-family: "Times New Roman", Times, serif;
	font-size: 18px;
	font-weight: bold;
	color: #316220;
	text-align: left;
}

.textoresaltado{
	color: #054084;
	font-size: 1em;
	margin-bottom: 2em;
	text-align: justify;
	padding: 0.5em;
}

.listas{
	width: 40%;
	padding-right: 5em;
	vertical-align: top;
}

.visitas {
	background: #000000;
	color: #FFFFFF;
	font-size: 14px;
	font-style: normal;
	font-weight: normal;
	padding: 0.5em;
	-webkit-border-radius: 0.2em;
	-moz-border-radius: 0.2em;
	border-radius: 0.2em;
}

.constru {
	width: 90%;
}

.ir-arriba {
	display:none;
	padding:20px;
	background:#033d7c;
	font-size:20px;
	color:#fff;
	cursor:pointer;
	position: fixed;
	bottom:20px;
	right:20px;
}

footer {
	background-color: #d7080a;
	border: 0.1em solid #d7080a;
	display: block;
	font-size: 1em;
	margin-top: 10px;
	padding: 0.5em;
	width: 100%;
}

footer a {
	color: #FFF;
}

.fade {
	padding-bottom: 10px;
	padding-top: 10px;
	opacity: 1;
	filter:alpha(opacity=10);
	-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;
	z-index: 5;
}

.fade:hover {
	opacity: 0.7;
	filter:alpha(opacity=7);
	-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;
	z-index: 5;
}

@media screen and (min-width: 1400px){
	#contenedor{
		width: 75%;
	}
}
 
@media screen and (min-width: 1081px){
	header h1{
		text-align: center;
		width: 35%;
	}

	nav {
		display: inline-block;
		text-align: center;
		width: 100%;
	}
}

@media screen and (max-width: 1080px){
	nav li{
		font-size: 1.1em;
	}

	article#principal {
		width: 65%;
	}

	aside {
		width: 30%;
	}

	.mosaicos li {
	width: 40%;
	}

	.mosmant h1 {
	font-size: 1.5em;
	}
	.parrafo, .parrafo1 {
	font-size: 1em;	
	}
	.anti-v{
		width: 90%;
		padding-bottom: 2em;
	}

	.textotabla, .textotabla1 {
		font-size: 14px;
	}

	.listas{
		padding-right: 1em;
	}

	form {
		width: 95%;
	}
}

@media screen and (max-width: 800px){
	nav li{
		font-size: 0.95em;
	}

	article#principal {
		width: 88%;
	}	
	
	aside{
		width: 95%;
	}

	article.nov1, article#galeria-inicio {
		display: inline-block;
		width: 40%;
	}

	#mosaicotexto {
		width: 62%;
		color: #033d7c;
		font-size: 0.8em;
		margin-bottom: 1em;
		padding-left: 0.5em;
		text-align: justify;
		vertical-align: text-top;
	}

	.mosmant h1 {
	font-size: 2em;
	}
	.parrafo, .parrafo1 {
	font-size: 1.5em;
	}	

	.parrafo2 {
	font-size: 1em;	
	}

	.constru {
	width: 70%;
	}
		section#contacto, section#mapa {
		display: block;
		width: 95%;
		margin: 0 auto;
	}

	section#mapa {
		margin-bottom: .5em;
	}

	form {
		width: 100%;
	}

}

@media screen and (max-width: 600px){

	body {
		padding-top: 80px;
	}

	.logos {
		display: block;
		width: 80%;
		margin: 0 auto;
		padding: 0;
		padding-bottom: 0.5em;
	}

	.menu_bar {
		display: block;
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
		background:#E6344A;
		text-align: left;
	}
	.menu_bar .btn-menu {
		display: block;
		padding: 20px;
		color: #fff;
		overflow: hidden;
		text-decoration: none;
		font-weight: bold;
		font-size: 25px;
	}

	.menu_bar span {
		float: right;
		font-size: 40px;
	}

	header nav {
		top: 80px;
		background: orange;
		width: 80%;
		position: fixed;
		right: 100%;
		overflow: scroll;
		height: calc(100% - 80px);
		text-align: left;
		z-index: 1000;
	}

	nav li, ul{
		display: inline-block;
		width: 100%;
		padding: 0px;
		margin: 0px;
		text-align: left;
	}

	nav ul li a {
		padding: 20px;
		font-weight: bold;
	}
	
	article#principal, aside, article.nov1, article#galeria-inicio, .mosmant li, .manto {
		display: block;
		width: 100%;
	}	

	.fade {
		max-width: 90%;
		z-index: 0;
	}

	.mosaicos li {
	width: 95%;
	}

	.constru {
	width: 90%;
	}

	.parrafo, .parrafo1 {
	font-size: 1.3em;
	}	

	.resalta {
	font-size: 1.35em;
	}

	section article ul, .av .texto1,.av .textox  {
		margin: auto;
		display: block;
		width: 95%;
		padding-bottom: 2em;
	}

	section article ul, .av .textofarma {
		display: block;
		width: 95%;
		margin-bottom: 1em;
		text-align: center;
	}	

	.anti-v {
		display: block;
		max-width: 90%;
		padding-bottom: 0em;
		padding-top: 1.5em;
	}

	.parrafo2 {
	font-size: 1.3em;	
	}

	.textotabla, .textotabla1 {
		font-size: 18px;
	}

	.listas{
		width: 90%;
		padding-bottom:2em;
	}

	#principal1 img, #mosaicotexto {
	display: block;
	width: 100%;
	}

	#mosaicotexto {
		font-size: 1em;
	}

	#principal1 h2{
	font-size: 1.3em;
	padding-top: 0.5em;
	}	
	.av{
		max-width: 100%
	}
}