
#portada {
	float: left;
	width: 100%;
	height: 300px;
	margin-top: 56px;
}


#portada figure {
	width: 100%;
	height: 300px;
	
}


#portada figure > img {
	width: 100%;
	height: 100%;
}



#slider-1 {
	width: 100% !important;
	height: 300px !important;
}

#slider-1  > img {
	width: 100%;
	height: 100%;
}

#slider-1-text-overlay {
	top: 100px !important;
	left: 0px !important;	
}

#slider-1-text-overlay h1 {
	font-size: 22px;
	font-family: 'Sumana Regular';
	font-weight: normal;
	color: #E6E6E6;
}

#slider-1-text-overlay h3 {
	font-size: 16px;
	font-family: 'Sumana Regular';
	font-weight: normal;	
	color: #E6E6E6;
}

.titulo_seccion {
	float: left;
	width: 100%;
	height: 30px;
	margin-top: 100px;
	text-align: center;
}

.titulo_seccion h1 {
	display:block;
	font-size: 22px;
}

#servicios {
	float: left;
	width: 100%;
	height: 650px;
}

#contenedor_servicios{
	float: left;
	width: 100%;
	height: 450px;
	margin-top: 40px;
}

#contenedor_servicios article {
	float: left;
	width:300px;
	height: 200px;
	border: 1px solid #333366;
	margin-left: calc((100% - 300px)/2);
	margin-bottom: 20px;
	background-color: #F5F5F5;
}

#contenedor_servicios article:hover {
	background-color: #FEFEFE;
}

#contenedor_servicios article:hover h2 {
	color: #333666;	
}


#contenedor_servicios article figure {
	width: 190px;
	height: 100px;
	margin-left: calc((300px - 190px)/2);
	margin-top: calc((200px - 120px)/2);
}

#contenedor_servicios article figure img {
	width: 100%;
	height: 100%;
}

#contenedor_servicios article h2 {
	width: 100%;
	height: 20px;
	text-align:center;
	font-size: 18px;
	margin-top: 10px;
}

/*
#contenedor_servicios article h2:hover {
	color: #E7E8E9;
}
*/

#separador {
	float: left;
	width: 90%;
	height: 20px;
	margin-left: calc((100% - 90%)/2); 
	background-image: url("../imagenes/separador.png");
}




#contacto {
	float: left;
	width: 100%;
	height: 800px;
}


#formulario {
	float: left;
	width: 100%;
	height: auto;
	margin-top: 40px;
}

#formulario_lado_izquierdo {
	float: left;
	width: 100%;
}

#formulario_lado_derecho {
	float: left;
	width: 100%;
}

.fila_delgada {
	float: left;
	width: 100%;
/*	 border: 1px solid gray; */
	text-align:	center;
	margin-bottom: 20px;

}

.fila_ancha {
	float: left;
	width: 100%;
	height: auto;
	text-align:	center;
/*	 border: 1px solid gray; */
	margin-bottom: 20px;

}

#formulario label {
	display: block;
	font-size: 18px;
	color: #4E4E4E;	
}

input[type=text] {
	height: 6px;
	width: 90%;
	font-family: 'Heebo Regular';
	font-weight: normal;
	font-size: 14px;
	color: #4E4E4E;
	caret-color: #333366;
	padding: 10px;
	margin-top: 10px;
	border: 1px solid  #333366;
}

input, textarea {
	outline: none;
}

textarea {
	width: 90%;
	height: 115px;
	font-family: 'Heebo Regular';
	font-weight: normal;
	font-size: 14px;
    caret-color: #333366;
	resize: none;
	padding: 10px;
	margin-top: 15px;
	border: 1px solid  #333366;
}

input[type=button] {
	width: 35%;
	height: 40px;
	background-color: #333366;
	color: white;
	padding: 3px 5px;
	border: none;
	border-radius: 0px;
	cursor: pointer;
	font-size: 18px;
	margin-left: calc((100% - 35%)/2);
}

input[type=button]:hover {
	background-color: #F5F5F5;
	color: #333366;
	
}


.errorCampo {
	display:none;
	width: 91%;
	background-color: #333366;
	color: #fff;
	text-align: center;
	border-radius: 0px;
	padding: 10px 10px;
	position: relative;
	z-index: 1;
	margin-left: 1.7%;
	margin-top: -30px;
}

#solicitudEnProceso {
	float: left;	
	display: none;
	color: #0E4682;
	font-size: 18px;
	text-align: center;
	margin-left: 0px;
	margin-top: 30px;
	width: 100%;	
}


#exitoFormulario {
	float: left;	
	display: none;
	color: #0E4682;
	font-size: 18px;
	text-align: center;
	margin-left: 0px;
	margin-top: 30px;
	width: 100%;

}

#errorFormulario {
	float: left;
	display: none;
	color: #0E4682;
	font-size: 18px;
	text-align: center;
	margin-left: 0px;
	margin-top: 30px;
	width: 100%;	
}


@media screen and (min-width:768px) {
	#portada {
		height: 400px;
		margin-top: 65px;
	}


	#portada figure {
		height: 400px;
	}
	
	#slider-1 {
		height: 400px !important;
	}
	
	#slider-1-text-overlay {
		top: 150px !important;
		left: 0px !important;	
	}	
	
	#slider-1-text-overlay h1 {
		font-size: 28px;

	}

	#slider-1-text-overlay h3 {
		font-size: 20px;
		width: auto;
		max-width: 450px;
	}	
	
	.titulo_seccion {
		height: 40px;
	}

	.titulo_seccion h1 {
		font-size: 28px;
	}
	
	#servicios {
		height: 550px;
	}

	#contenedor_servicios{
		width: 740px;
		height: 300px;
		margin-left: calc((100% - 740px)/2);
	}

	#contenedor_servicios article {
		width:340px;
		margin-left: calc((740px - 680px)/3);
		margin-top: 40px;
		margin-bottom: 0px;
	}
	

	#contenedor_servicios article figure {
		margin-left: calc((340px - 190px)/2);

	}
	
	
	#separador {
		width: 85%;
		margin-left: calc((100% - 85%)/2); 
	}

	#contacto {
		height: 550px;
	}


	#formulario_lado_izquierdo {
		width: 49%;
	}

	#formulario_lado_derecho {
		width: 50%;
	}

	.fila_delgada {
		text-align:	left;
	}

	.fila_ancha {
		text-align:	left;
	}

	#formulario label {
		margin-left: 70px;
	}
	
	#formulario #lblMensaje {
		margin-left: 20px;
	}
	
	input[type=text] {
		width: 250px;
		margin-left: 70px;
	}

	textarea {
		width: 300px;
		margin-left: 20px;
	}

	input[type=button] {
		margin-left: 20px;
	}
	
	.errorCampo {
		width: 252px;
		margin-left:70px;
		margin-top: -40px;
	}
	

}



@media screen and (min-width:1024px) {
	#portada {
		height: 500px;
		margin-top: 75px;
	}

	
	#portada figure {
		height: 500px;
	}

	#slider-1 {
		height: 500px !important;
	}

	#slider-1-text-overlay {
		top: 250px !important;
		left: 0px !important;	
	}	

	#slider-1-text-overlay h1 {
		font-size: 40px;

	}

	#slider-1-text-overlay h3 {
		font-size: 26px;
		max-width: 600px;
	}

	.titulo_seccion {
		height: 50px;
		margin-top: 130px;
		text-align: left;
	}

	.titulo_seccion h1 {
		font-size: 30px;
		margin-left: 120px;

	}

	#servicios {
		height: 650px;
	}
	

	#contenedor_servicios{
		width: 800px;
		height: 360px;
		margin-left: calc((100% - 800px)/2);
		margin-top: 0px;
	}

	#contenedor_servicios article {
		width:340px;
		margin-left: calc((800px - 680px)/3);
		margin-top: calc((360px - 200px)/2);
	}


	
	#contenedor_servicios article figure {
		margin-top: calc((200px - 122px)/2);

	}	

	#contenedor_servicios article h2 {
		font-size: 20px;
		height: 22px;
	}


	#contacto {
		height: 680px;
	}

	#formulario {
		width: 1000px;
		height: 350px;
		margin-left: calc((100vw - 1000px)/2);
		margin-top: 90px;
	}

	.fila_ancha {
		margin-bottom: 40px;
	}

	#formulario label {
		font-size: 20px;
		margin-left: 100px;
	}

	#formulario #lblMensaje {
		margin-left: 100px;
	}

	input[type=text] {
		height: 10px;
		width: 340px;
		margin-left: 100px;
	}

	textarea {
		width: 320px;
		height: 115px;
		margin-top: 15px;
		margin-left: 100px;
	}
	
	input[type=button] {
		width: 150px;
		height: 50px;
		font-size: 20px;
		margin-left: 100px;
		margin-top: -40px;
	}	
	
	.errorCampo {
		width: 342px;
		margin-left:100px;
		margin-top: -40px;
	}
	
	#solicitudEnProceso {
		width: 250px;
		margin-left: calc((1000px - 250px)/2);
		margin-top: 30px;
	}	
	
	#exitoFormulario {
		width: 400px;
		margin-left: calc((1000px - 400px)/2);
		margin-top: 30px;		
	}

	#errorFormulario {
		width: 480px;
		margin-left: calc((1000px - 480px)/2);
		margin-top: 30px;
	}
	

}

@media screen and (min-width:1280px) {
	#portada {
		height: 600px;
	}

	
	#portada figure {
		height: 600px;
	}

	#slider-1 {
		height: 600px !important;
	}
	
	#slider-1-text-overlay {
		top: 320px !important;
		left: 0px !important;	
	}
	
	
	
	#contenedor_servicios{
		width: 900px;
		margin-left: calc((100% - 900px)/2);
	}
	
	#contenedor_servicios article {
		width:390px;
	    height: 240px;		
		margin-left: calc((900px - 780px)/3);
		margin-top: calc((360px - 240px)/2);
	}
	
	#contenedor_servicios article figure {
		width: 220px;
		height: 120px;
		margin-left: calc((390px - 220px)/2);
		margin-top: calc((240px - 146px)/2);
	}
	
	#contenedor_servicios article h2 {
		font-size: 24px;
		height: 26px;
	}

	
}

@media screen and (min-width:1920px) {
	#portada {
		width: 1280px;
		margin-left: calc((100vw - 1280px)/2);
	}
	
	#servicios {
		width: 1280px;
		margin-left: calc((100vw - 1280px)/2);
	}
	
	
	#separador {
		width: 1100px;
		margin-left: calc((100vw - 1100px)/2);
	}
	
	#contacto {
		width: 1280px;
		min-height: calc(100vh - 260px);
		margin-left: calc((100vw - 1280px)/2);
	}

	#formulario {
		margin-left: calc((100% - 1000px)/2);
	}	

}

