* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

head {
	font-family: "montserrat", sans-serif;
	font-weight: 500;
}

body {
	background: #fff;
	font-family: "montserrat", sans-serif;
	font-size: 16px;
}

.contenedor {
	width: 90%;
	max-width: 1000px;
	margin: auto;
	overflow: hidden;
}

/* ----- ----- ----- HEADER ----- ----- ----- */

header {
	background: url('../imagenes/tractocamiones.jpg') rgba(38, 33, 97, .8);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 1000px auto;
	max-height: 600px;
}

 header .menu {
	margin: 40px 0;
	text-align: center;
 }
 header .menu a {
	color: rgba(0,0,0,1);
	background: rgba(255,255,255,.6);
	padding: 10px 5px;
	text-decoration: none;
	font-weight: 500;
	border: 3px solid rgba(226,92,46,1);
	font-size: 20px;
	
 }
 
 header .menu a:hover {
	border: 3px solid rgba(13,42,74,.75);
	background: rgba(0,0,0,.3);
	color: rgba(255,255,255,1);
 }

header .contenedor-texto {
	display: flex;
	justify-content: center;
	align-content: center;
	margin: 120px 0 170px 0;
}

header .contenedor-texto .texto {
	border: 4px solid rgba(13,42,74,.75);
	border-radius: 2px;
	display: inline-block;
	text-align: center;
	padding: 20px;
	background: rgba(255,255,255,.75)
}

header .contenedor-texto .texto h1,
header .contenedor-texto .texto h2 {
	color: #000;
	font-weight: 300;
	margin: 0;
}

header .contenedor-texto .texto .nombre {
	margin-bottom: 10px;
	font-size: 50px;
	line-height: 50px;
}

header .contenedor-texto .texto .profesion {
	font-size: 20px;
	line-height: 25px;
	font-weight: 400;
}

/* ----- ----- ----- MAIN ----- ----- ----- */

.main .contenedor {
	font-weight: 500;
}
.main .contenedor .contenedor-texto .texto h1{
	text-align: center;
	font-size: 35px;
	line-height: 35px;
	margin-bottom: 40px;
	color: #004c99;
}

.main .contenedor .contenedor-texto .texto p{
	text-align: justify;
	font-size: 18px;
}

/* ----- ----- ----- DIRECTORIO ----- ----- ----- */

.main .directorio .contenedor {
	overflow: hidden;
	font-weight: 500;
}

.main .directorio .contenedor .contenedor-directorio {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.main .directorio .contenedor .titulo {
	font-size: 35px;
	line-height: 35px;
	margin-bottom: 40px;
	color: #004c99;
	text-align: center;
}

.main .directorio .contenedor .contenedor-directorio .trabajadores {
	width: 38%;
	text-align: center;
	font-size: 18px;
}

.main .directorio .contenedor .direccion {
	text-align: center;
	font-size: 18px;
}

/* ----- ----- ----- FOOTER ----- ----- ----- */

footer .contacto .contenedor .titulo {
	font-size: 35px;
	line-height: 35px;
	margin-bottom: 40px;
	font-weight: 500;
	color: #004c99;
	text-align: center; 
}
 
footer .contacto .contenedor .formulario {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	overflow: hidden;
	width: 100%;
}

footer .contacto .contenedor .formulario .cajas-texto {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
}

footer .contacto .contenedor .formulario .cajas-texto input[type="text"],
footer .contacto .contenedor .formulario .cajas-texto input[type="email"],
footer .contacto .contenedor .formulario textarea {
	border: 3px solid #cecece;
	border-radius: 5px;
	padding: 15px 20px;
	font-size: 20px;
	color: #a4a4a4;
	font-family: "montserrat";
	font-weight: 500;
}
 
footer .contacto .contenedor .formulario .cajas-texto input[type="text"]:focus,
footer .contacto .contenedor .formulario .cajas-texto input[type="email"]:focus,
footer .contacto .contenedor .formulario textarea:focus {
	border: 2px solid #3895ea; 
	padding: 15px;
}
 
footer .contacto .contenedor .formulario .cajas-texto input[type="text"],
footer .contacto .contenedor .formulario .cajas-texto input[type="email"]{
	width: 49.5%;
	margin-bottom: 15px;
	justify-content: space-between;
}

footer .contacto .contenedor .formulario textarea {
	width: 100%;
	height: 100px;
	min-width: 100%;
	max-width: 100%;
	min-height: 100px;
	max-height: 300px;
	margin-bottom: 15px;
	font-family: "montserrat";
	font-weight: 500;
}

footer .contacto .contenedor .formulario .alert {
	padding: 1em;
	color: #fff;
	border-radius: 2px;
	margin-bottom: 20px;
	font-size: 14px;
	width: 100%;
}

footer .contacto .contenedor .formulario .alert.error {
	background: #F2DEDE;
	border: 1px solid #A94442;
	color: #A94442;
} 

footer .contacto .contenedor .formulario .alert.success {
	background: #4CAF50;
}
 
footer .contacto .contenedor .formulario .btn {
	margin: auto;
	background: #004c99;
	color: #fff;
	border-radius: 5px;
	padding: 10px 20px;
	cursor: pointer;
	width: auto;
	font-size: 20px;
	text-align: center;
	font-family: "Montserrat", sans-serif;
}	
 
footer .contacto .contenedor .formulario .boton:hover {
	background: #387bea; 
}
 
/* ----- ----- ----- REDES SOCIALES ----- ----- ----- */
footer .redes-sociales {
	background: #1e2b38;
}

footer .redes-sociales .contenedor .autor {
	color: #fff;
}

/* ----- ----- ----- COLABORADORES ----- ----- ----- */

footer .colaboradores {
	margin-bottom: 20px;
}

footer .colaboradores .contenedor .titulo {
	font-size: 35px;
	line-height: 35px;
	margin-bottom: 20px;
	margin-top: 20px;
	font-weight: 500;
	color: #004c99;
	text-align: center;
}

footer .colaboradores .contenedor {
	text-align: center;
	justify-content: space-between;
	background: rgba(226, 92, 46, .4);
}

footer .colaboradores .contenedor .colaborador {
	display: inline-block;
	flex-direction: row;
	flex-wrap: wrap;
}

footer .colaborador .thumb {
	display: inline-block;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 10px;
	text-align: center;
}

footer .colaborador .thumb img {
	width: auto;
	height: 50px;
}


/* ----- ----- ----- MEDIA QUERIS ----- ----- ----- */

@media screen and (max-width:800px) {
	header .menu {
		text-align: center;
	}

	.main .servicios .contenedor-servicios .servicio {
		width: 46%;
	}
}

@media screen and (max-width:500px) {
	.main .servicios .contenedor .contenedor-servicios .servicio {
		width: 50%;
	}
	footer .colaboradores .contenedor .titulo{
		font-size: 30px;
	}
	header .contenedor-texto .texto .nombre {
		font-size: 35px;
	}

	header .contenedor-texto .texto .profesion {
		font-size: 18px;
	}

	footer .redes-sociales .contenedor {
		flex-wrap: wrap;
		padding: 20px;
		justify-content: center;
	}

	footer .redes-sociales .autor {
		text-align: center;
	}

}

@media screen and (max-width:900px){
	.main .acerca-de .contenedor .productos .bg {
		flex-direction: column;
	}
	
	.main .acerca-de .contenedor .productos .bg .texto {
		width: 100%;
	}
}

@media screen and (max-width:850px){
	.main .directorio .contenedor .contenedor-directorio .trabajadores {
		width: 100%;
	}
	
	.main .servicios .contenedor .contenedor-servicios {
		flex-direction: column;
		align-content: center;
	}
	
	.main .servicios .contenedor .contenedor-servicios .servicio {
		width: 40%;
	}
}

	
}