@charset "UTF-8";
/* CSS Document */
html{
	height:100%;
}

body{
	margin:0px;
	font-family: 'Lato', sans-serif;
	height:100%;
}

a {
	text-decoration: none;
	color: white;
}

h2{
	color: rgb(100, 100, 100);
	font-weight: 300;
	font-style: italic;
	border-bottom: 1px solid #b3b3b3;	
	display: inline-block;
	margin: 0;
}

header{
	background-image: linear-gradient(to top, rgb(32, 119, 185) 0%, rgba(32, 91, 155, 0.76) 100%);
	background:-webkit-linear-gradient(bottom, rgb(32, 119, 185) 0%, rgba(32, 91, 155, 0.76) 100%);
	background-color:#1c1e75;
	height: 90px;
	position: fixed;
	width: 100%;
	top:0px;
	z-index: 1;
}

header ul{
	margin:0px;
	list-style:none;
	padding:10px;
}

header li{
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	width:15%;
	text-align: center;
	text-decoration:none;
	vertical-align:middle;
	display:block;
	float:left;
	list-style:none;
	border-right:solid 1px #999999;
	padding: 10px 10px;
}

li:hover{
	background-color: #347BC3;
}

nav{
	width: 50%;
	float:right;
	margin-top: 15px;
	height:50px;
}

input[type="submit"]{
	padding: .4em 1em;
	display: block;
	line-height: normal;
	font-weight: normal;
	color: #555555;
	border-radius: 4px;
	border: 1px solid #d3d3d3;
	background: #e6e6e6 url(../img/glass.png) 50%;
	width: 95%;
	font-family: 'Lato', sans-serif;
	font-size: 12px;
	margin-left: 10px;
}

footer{
	background-color: #252528;
	color: #fff;
	padding: 4% 15%;
	border-bottom: 3px;
	font-size: 1.2em;
	display: inline-block;
	width: 100%;
}

#container{
	background-image: linear-gradient(to bottom, #FFFFFF 0%, rgba(230, 237, 237, 0.5) 100%);
	background-image: -moz-linear-gradient(to bottom, #FFFFFF 0%, rgba(230, 237, 237, 0.5) 100%);
	background-image: -webkit-linear-gradient(to bottom, #FFFFFF 0%, rgba(230, 237, 237, 0.5) 100%);
	background-image: -o-linear-gradient(to bottom, #FFFFFF 0%, rgba(230, 237, 237, 0.5) 100%);
	background-image: -ms-linear-gradient(to bottom, #FFFFFF 0%, rgba(230, 237, 237, 0.5) 100%);
	position:relative;
	height: auto;
	width:100%;
}

#mision{
	float: right;
	margin-left: 0px;
}

#logo{
	float:left;
	padding:15px 30px;
}
#menu{
	float:left;
	padding:15px 20px;
	display:none;
}

#titulo{
	margin: 30px 0px;
	float:left;
	text-align:center;
	font:italic 2em times new roman, sans-serif;
	color:#949494;
}

#panel_imagenes {
	float:left;
	width:100%;
	height:400px;
	margin:15px;
	background-color: white;
}

#contenido{
	border: 0px none transparent;
	height: 90%;
	width: 100%;
	margin-top: 90px;
}

#crossfade {
	position:relative;
  	float: right;
	width: 100%;
    height:400px;
}

#crossfade img {
	width: 100%;
 	position:absolute;
	max-width: 100%;
  	max-height:100%;
  	left:0;
  	-webkit-transition: opacity 1s ease-in-out;
  	-moz-transition: opacity 1s ease-in-out;
  	-o-transition: opacity 1s ease-in-out;
  	transition: opacity 1s ease-in-out;
}

@-webkit-keyframes crossfadeFadeInOut {
   0% {
     opacity:1;
   }
   25% {
    opacity:1;
  }
  75% {
    opacity:0;
  }
  100% {
   opacity:0;
 }
}

#nav{
	-webkit-transition: all .5s;
	transition: all .5s;
}

.navSeleccionado{
	left:0px;
}

#crossfade img.top {
	animation-name: crossfadeFadeInOut;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	animation-duration: 5s;
	animation-direction: alternate;
	-webkit-animation-name: crossfadeFadeInOut;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-duration: 5s;
	-webkit-animation-direction: alternate;
}

@-webkit-keyframes cf4FadeIn {
	0%{-webkit-transform:scale(1,1); opacity:1;}
  	50%{-webkit-transform:scale(0,0);-webkit-transform-origin: top right;opacity:0;}
  	100%{-webkit-transform:scale(1,1);-webkit-transform-origin: top right;opacity:1;}
}

@-webkit-keyframes cf4FadeOut {
	0%{-webkit-transform-origin: top right;;-webkit-transform:scale(0,0); opacity:0;}
  	50%{-webkit-transform:scale(1,1);-webkit-transform-origin: bottom left;opacity:1;}
  	100%{-webkit-transform:scale(0,0);-webkit-transform-origin: top right;opacity:0;}
}

#cf4 {
	position:relative;
	float: right;
	margin-top: 40px;
	height: 432px;
	width: 40%;
	margin-right: 9%;
}

#cf4 img {
	max-width: 100%;
 	max-height:100%;
    position:absolute;
	border-radius:4px;
	box-shadow: 5px 5px 5px #aaa;
    left:0;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

  #cf4 img.top {
	-webkit-animation-name: cf4FadeIn;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-duration: 10s;
    opacity:0;

  }
  #cf4 img.bottom {
	-webkit-animation-name: cf4FadeOut;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-duration: 10s;
    opacity:0;
  }  

#contacto{
	border-right: none;
	border-bottom-right-radius: 4px;
	border-top-right-radius: 4px;
	-moz-border-bottom-right-radius: 4px;
	-moz-border-top-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-webkit-border-top-right-radius: 4px;
}

.panel_seleccionado{
	color: #29a9df;
	padding-bottom: 6px;
	border-bottom: solid 4px #29a9df;
}

.panel_derecho{
	text-align:center;
	width: 25%;
	padding: 33px 30px 26px 30px;
	border-radius: 6px;
	box-shadow: 2px 2px 2px -1px rgb(214, 214, 214);
	background-color: #fff;
	position: relative;
	float: left;
	margin: 40px 10%;
}

.panel_derecho p{
	font-size: 20px;
}

.panel_derecho h2{
	font-size: 30px;
}

.panel_derecho h3{
	font-size: 25px;
	margin-bottom: 0px;
}

.entrada{
	padding-left: 39px;
	margin: 10px 0px;
	color: black;
	height: 29px;
	border-radius: 3px;
	width: 89%;
	border: 1px solid #cccccc;
	padding: 4px 6px;
	font-size: 14px;
}

.entradaGrande{
	font-size: 14px;
	padding: 11px;
	width: 89%;
	margin: 0;
	border-radius: 3px;
	height: 113px;
	background-color: #ffffff;
	border: 1px solid #cccccc;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border linear .2s, box-shadow linear .2s;
	-moz-transition: border linear .2s, box-shadow linear .2s;
	-o-transition: border linear .2s, box-shadow linear .2s;
	transition: border linear .2s, box-shadow linear .2s;
}

@media screen and (max-width: 1000px) {
	#crossfade{
		height: 36%;
   	}
   	.panel_derecho{
   		width:80%;
   	}
	#cf4 {
		margin-right: 30%;
		margin-top: 0px;
	}
	#mision{
		float: left;
		margin-left: 10%;
		margin-top: 0px;
	}
	body{
		font-size: 12px;
	}
	nav{
		width: 60%;
		float: left
	}
}

@media screen and (max-width: 750px){
	#titulo{
		display:none;
	}
	nav {
		width: 70%;
	}
	header li{
		border: none;
		padding: 10px 7px;
	}
	#logo{
		padding: 15px;
	}
	#crossfade{
		height: 100px;
	}
}

@media screen and (max-device-width: 640px){
	body{
		font-size:35px;
	}
	footer{
		font-size:.6em;
		padding:0px;
	}
	header li {
		float: none;
		border:none;
		margin:10px 10%;
	}
	header{
		height:8%;
	}
	#logo{
		padding:10px 0px;
		height: 60%;
		width:auto;
	}
	#titulo{
		margin: 10px 2px;
		font-size:.7em;
		display:inline;
	}
	nav{
		background-color:#464646;
		width:auto;
		height:auto;
		display:block;
		position: absolute;
		margin-top:12.5%;
		padding:10px 30px;
		left:-280px;
	}
	#menu{
		display:inline;
	}
	#contenido{
		width:100%;
		margin-top:10%;
	}
	.panel_derecho{
		margin: 30px auto;
	}
	#mision{
		margin-left:1%;
	}
	#crossfade{
		height: 100px;
	}
}

@media screen and (max-device-width: 640px) and (orientation: landscape){
	header{
		height:15%;
	}
	#contenido{
		margin-top:6.5%;
	}
}

@media screen and (max-width: 640px){
	body{
		font-size:35px;
	}
	footer{
		font-size:.6em;
		padding:0px;
	}
	header li {
		float: none;
		border:none;
		margin:10px 10%;
	}
	header{
		height:8%;
	}
	#logo{
		padding:10px 0px;
		height: 60%;
		width:auto;
	}
	#titulo{
		margin: 10px 2px;
		font-size:.7em;
		display:inline;
	}
	nav{
		background-color:#464646;
		width:auto;
		height:auto;
		display:block;
		position: absolute;
		margin-top:12.5%;
		padding:10px 30px;
		left:-280px;
	}
	#menu{
		display:inline;
	}
	#contenido{
		width:100%;
		margin-top:10%;
	}
	.panel_derecho{
		margin: 30px auto;
	}
	#mision{
		margin-left:1%;
	}
	#crossfade{
		height: 100px;
	}
}

@media screen and (max-width: 640px) and (orientation: landscape){
	header{
		height:15%;
	}
	#contenido{
		margin-top:6.5%;
	}
}
