/* ------- Contenido ------- */
section.main{
	width: 100%;
	z-index: 1;
	/*margin-bottom: 60px;*/
}
section.main>
h1{
	display: none;
}
section.main > 
hr{
	display: none;
}
section.main 
article.servicios{
	width: 100%;
	text-align: center;
}
section.main 
article.servicios 
div.servicio{
	padding: 30px 2px;
	width: 233.5px;
	margin: auto;
	text-align: center;
	display: inline-block;
	vertical-align: middle;
	position: relative;
}
section.main 
article.servicios 
div.servicio:before{
	content: '';
	position: absolute;
	background: red;
	width: 100%;
	height: 1px;
	bottom: 10px;
	right: 100px;
	opacity: 0;
}
section.main 
article.servicios 
div.servicio:hover:before{
	animation: .3s borde_inferior 1;
	animation-fill-mode: forwards;
}
@keyframes borde_inferior{
	0%{right: 100px;}
	100%{right:0px; opacity: 1;}
}

section.main 
article.servicios 
div.servicio:hover 
h2{
	color: #99bd11;
}
section.main 
article.servicios 
div.servicio 
figure{
	margin: 0;
}
section.main 
article.servicios 
div.servicio 
figure 
img{
	border-radius: 50%;
	width: 214px;
	height: 214px;
}
section.main 
article.servicios 
div.servicio 
h2{
	font-family: 'Quicksand', sans-serif;
	font-weight: lighter;
	text-transform: uppercase;
	height: 60px;
}
section.main 
article.servicios 
div.servicio 
a{
	color: black;
	text-decoration: none;
}
section.main 
article.servicios 
div.servicio 
a 
span{
	font-size: .8em;
}
section.main 
article.servicios 
div.servicio 
hr{
	width: 50%;
}
section.main 
article.servicios 
div.mensaje{
	width: 90%;
	max-width: 480px;
	/*margin: 20px 20px;*/
	display: inline-block;
	vertical-align: top;
	text-align: justify;
}
section.main 
article.servicios 
div.mensaje
h3{
	font-weight: 400;
	color: rgb(56,86,35);
	/*letter-spacing: 1px;*/
}
section.main 
article.servicios 
div.mensaje h4{
	font-weight: 600;
	color:rgb(83,129,53);
	padding: 0;
	margin: 0;
	/*font-size: ;*/
}
section.main
article.servicios
div.mensaje h4.mas-abajo{
	margin-top: 10px;
}
section.main 
article.servicios 
div.mensaje figure{
	display: inline-block;
	vertical-align: top;
	width: 200px;
	margin: 10px 15px;
	text-align: left;
}
section.main 
article.servicios 
div.mensaje figure span{
	height: 60px;
	display: block;
	color: rgb(59,56,56);
}
section.main 
article.servicios 
div.mensaje figure span strong{
	color: rgb(83,129,53);
}
section.main 
article.servicios 
div.mensaje figure img{
	width: 100%;
}
section.main 
article.servicios 
div.mensaje ul{
	margin: 0;
	margin-top: 5px;
	color: rgb(59,56,56);
}
section.main 
article.servicios 
div.mensaje
p{
	font-size: .9em;
	color: rgb(59,56,56);
}
section.main 
article.servicios 
div.mensaje
p strong{
	color: rgb(83,129,53);
}
section.main 
article.servicios
div.mantencion-industrial{
	display: none;
}
section.main 
article.servicios
div.obras-civiles{
	display: none;
}

/*Historia y quienes Somos*/
section.main
article.empresa{
	margin: 30px 10% 0px 10%;
	border-top: 1px solid black;
}
section.main
article.empresa
h2{
	font-family: 'Quicksand', sans-serif;
	font-weight: lighter;
	text-transform: uppercase;
	font-size: 1.6em;	
}
section.main
article.empresa
p{
	font-size: .9em;
	color:rgb(59,56,56);
	text-align: justify;
}
section.main
article.empresa
p strong{
	color: rgb(83,129,53);
}
/*Servicios*/
section.main
article.man-industrial{

}
section.main
article.man-industrial
div.secciones{
	text-align: center;
	width: fit-content;
	margin: auto;
}
section.main
article.man-industrial
div.secciones
div.seccion{
	width: 240px;
	display: inline-block;
	vertical-align: top;
	margin: 5px 15px;
	position: relative;
}
section.main
article.man-industrial
div.secciones
div.seccion:hover{
	cursor: pointer;
}
section.main
article.man-industrial
div.secciones
div.seccion:before{
	content: '';
	border-top: 1px solid rgba(0,0,0,.4);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;

}
section.main
article.man-industrial
div.secciones
div.seccion:hover:before{
	border-top: 1px solid red;
}
section.main
article.man-industrial
div.secciones
div.seccion
h3{
	font-weight: 400;
	text-transform: uppercase;
	font-size: .9em;
	text-align: center;
	min-height: 35px;
	color: rgba(0,0,0,.7);
}
section.main
article.man-industrial
div.secciones
div.seccion:hover
h3{
	color: #99bd11;
}
section.main
article.man-industrial
div.secciones
div.seccion
a
{
	text-decoration: none;
}
section.main
article.man-industrial
div.secciones
div.seccion
figure{
	margin: 0;
	text-align: center;
	
}
section.main
article.man-industrial
div.secciones
div.seccion
figure
img{
	width: 240px;
	height: 240px;
	border-radius: 100px;
	transition-duration: .2s;
}
section.main
article.man-industrial
div.secciones
div.seccion:hover
figure
img{
	transform: scale(1.05);
}
section.main
article.man-industrial
div.secciones
div.seccion
p{
	text-align: justify;
	color: rgb(59,56,56);;
}
/*Secciones de mantencion industrial*/
section.main
article.seccion-mi{

}
section.main
article.seccion-mi
div.flexslider ul.slides li img{
	border: 5px solid #424141;
	max-width: 960px;
}
section.main
article.seccion-mi
div.slide-seccion,
div.maquinas{
	width: 100%;
	max-width: 980px;
}
section.main
article.seccion-mi
div.maquinas
figure{
	margin: 0;
	text-align: center;
}
section.main
article.seccion-mi
div.maquinas
figure
img{
	border: 5px solid #424141;
	height: 310px;
	width: 310px;
	margin: 0px 10px;
}
section.main
article.seccion-mi
div.maquinas
h3{
	font-family: 'Quicksand', sans-serif;
	font-weight: lighter;
	text-transform: uppercase;
	font-size: 1.3em;
}
/*Obras Civiles*/
section.main
article.obras-construccion
div.secciones{
	text-align: center;
	width: fit-content;
	margin: auto;
}
section.main
article.obras-construccion
div.secciones
div.seccion{
	width: 210px;
	display: inline-block;
	vertical-align: top;
	margin: 5px 15px;
	position: relative;
}
section.main
article.obras-construccion
div.secciones
div.seccion:hover{
	cursor: pointer;
}
section.main
article.obras-construccion
div.secciones
div.seccion:before{
	content: '';
	border-top: 1px solid rgba(0,0,0,.4);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;

}
section.main
article.obras-construccion
div.secciones
div.seccion:hover:before{
	border-top: 1px solid red;
}
section.main
article.obras-construccion
div.secciones
div.seccion
h3{
	font-weight: 400;
	text-transform: uppercase;
	font-size: .9em;
	text-align: center;
	min-height: 35px;
	color: rgba(0,0,0,.7);
}
section.main
article.obras-construccion
div.secciones
div.seccion:hover
h3{
	color: #99bd11;
}
section.main
article.obras-construccion
div.secciones
div.seccion
a
{
	text-decoration: none;
}
section.main
article.obras-construccion
div.secciones
div.seccion
figure{
	margin: 0;
	text-align: center;
	
}
section.main
article.obras-construccion
div.secciones
div.seccion
figure
img{
	width: 200px;
	height: 200px;
	border-radius: 100px;
	transition-duration: .2s;
	border: 3px solid #4B4B4B;
}
section.main
article.obras-construccion
div.secciones
div.seccion:hover
figure
img{
	transform: scale(1.05);
}
section.main
article.obras-construccion
div.secciones
div.seccion
p{
	color: rgb(59,56,56);;
	text-align: justify;
	text-justify:inter-word;
}
/*Clientes*/
section.main
div.grupo-clientes{
	text-align: center;
}
section.main
div.grupo-clientes
div.cliente{
	width: 150px;
	display: inline-block;
	vertical-align: top;
	margin: 10px 3px;
	text-align: center;
}
section.main
div.grupo-clientes
div.cliente
figure{
	margin: auto;
	text-align: center;
	height: 100px;
	width: 100px;
	position: relative;
}
section.main
div.grupo-clientes
div.cliente
figure
img{
	max-height: 100%;  
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;  
    top: 0;  
    bottom: 0;  
    left: 0;  
    right:0;  
    margin: auto;
}
section.main
div.grupo-clientes
div.cliente
h3{
	font-weight: lighter;
	font-size: .9em;
	font-style: italic;
}
section.main
div.grupo-clientes
div.cliente
figure
img.mas-grande{
	transform: scale(1.4);
}
section.main
div.grupo-clientes
div.cliente
figure
img.radius{
	border-radius: 100%;
}
/*Contacto*/
section.main
article.contacto > div{
	display: inline-block;
}
section.main
article.contacto
div.form-content{
	width: 100%;
	max-width: 600px;
}
section.main
article.contacto
div.info-contacto{
	max-width: 300px;
	display: inline-block;
	vertical-align: top;
	width: auto;
}
section.main
article.contacto
div.info-contacto
p{
	font-size: 4em;
	text-align: right;
	overflow: hidden;
}
section.main
article.contacto
form{
	max-width: 600px;
	position: relative;
	margin-bottom: 100px;
}
section.main
article.contacto
form
div.grupo-input{
	margin-bottom: 15px;
}
section.main
article.contacto
form
div.grupo-input
label{
	display:block;
	margin-bottom: 5px;
	opacity: .6;
}
section.main
article.contacto
form
div.grupo-input
label
i.fa{
	margin-right: 10px;
}
section.main
article.contacto
form
div.grupo-input
input,textarea{
	width: 100%;
	padding: 5px 10px;
	border-radius: 2px;
	border: 1px solid rgba(0,0,0,.2);
	resize: none;
	font-size: .9em;
	box-sizing: border-box;
	box-shadow: inset 1px -1px 5px rgba(0,0,0,.4);
}
section.main
article.contacto
form
div.grupo-input
textarea{
	height: 200px;
}
section.main
article.contacto
form
div.grupo-input
label:has(+ input:focus){
	color:red;
}
section.main
article.contacto
form
button{
	width: 100px;
	height: 35px;
	background: #575757;
	border: 1px solid rgba(0,0,0,.2);
	border-radius: 3px;
	color: white;
	font-family: 'Quicksand', sans-serif;
	font-weight: lighter;
	font-size: .8em;
	text-transform: uppercase;
	position: absolute;
	right: 0;
	cursor: pointer;
	box-shadow: 1px 1px 5px rgba(0,0,0,.5);
}
section.main
article.contacto
form
button:hover{
	background: #828282;
}
section.main
article.contacto 
div.mensaje-agradecimiento{
	width: 100%;
	text-align: center;
}
section.main
article.contacto
div.mensaje-agradecimiento h2{
	font-family: 'Open Sans Condensed', sans-serif;
	font-weight: 700;
	font-size: 2em;
	margin-bottom: 0px;
}
section.main
article.contacto
div.mensaje-agradecimiento p{
	font-family: 'Open Sans Condensed', sans-serif;
	font-weight: 300;
	font-size: 	1.4em;
	margin-top: 10px;
	text-align: center;
}

/*Pantalla sobre 480px*/
@media screen and (min-width: 480px){
	section.main{
		margin-top: 60px;
	}
	section.main > 
	hr{
		display: inherit;
		width: 75%;
		margin-bottom: -10px;
		clear: both;
		height: 2px;
   	 	background: black;
	}
	section.main 
	h1{
		text-align: center;
		font-weight: lighter;
		text-transform: uppercase;
		margin-bottom: 10px;
		color: rgba(0,0,0,.75);
		display: inherit;
		font-size: 2.4em;
	}
	section.main 
	h1
	span{
		font-weight: 600;
		padding-left: 10px;
	}
	/*Historia*/
	section.main
	article.empresa{
		border-top: none;
	}
	section.main
	article.obras-civiles
	#carousel{
		display: inherit;
	}
}

/*Pantalla sobre 570px*/
@media screen and (min-width: 570px){
	
}

/*Pantalla sobre 744px*/
@media screen and (min-width: 744px){
	section.main
	article.empresa{
		max-width: 980px;
		margin: 40px auto;	
		padding-left: 20px;
	}
	section.main
	article.empresa
	h2{
		margin-bottom: 20px;	
	}
	section.main
	article.contacto
	form
	div.grupo-input{
		width: 48%;
		
	}
	section.main
	article.contacto{
		padding: 0px 20px;

	}
	section.main
	article.contacto
	div.form-content{
		max-width: inherit;
	}
	section.main
	article.contacto
	form{
		max-width: inherit;

	}
	section.main
	article.contacto
	form
	div.grupo-mensaje{
		top:0;
		right: 0;
		position: absolute;
	}
	section.main
	article.contacto
	form
	div.grupo-input
	textarea{
		height: 160px;
	}
}

/*Pantalla sobre 950px*/
@media screen and (min-width: 950px){
	section.main
	h1{
		margin-top: -40px;
		font-size: 2.7em;
	}
	section.main 
	article.servicios 
	div.mensaje{
		margin-top: 40px;
	}
	section.main 
	article.servicios{
		min-height: 450px;
	}
	section.main article.obras-construccion div.secciones{
		max-width: 800px;
	}
}

/*Pantalla sobre 994px*/
@media screen and (min-width: 994px){

	section.main
	article.man-industrial
	div.secciones{
		text-align: left;
	}
	section.main 
	article.servicios 
	div.mensaje{
		width: 500px;
	}
	
	
}

@media only screen and (min-width: 1042px){
	section.main
	article.servicios
	div.mantencion:hover ~ div.mensaje-servicios{
		display: none;

	}
	section.main
	article.servicios
	div.mantencion:hover ~ div.mantencion-industrial{
		display: inline-block;
		animation:1s aparecer 1;
		animation-fill-mode: forwards;
	}
	section.main
	article.servicios
	div.obras:hover ~ div.mensaje-servicios{
		display: none;
	}
	section.main
	article.servicios
	div.obras:hover ~ div.obras-civiles{
		display: inline-block;
		animation:1s aparecer 1;
		animation-fill-mode: forwards;
	}
	@keyframes aparecer{
		0%{ opacity: 0; transform: scale(.7);}
		40%{ transform: scale(1.05);}
		90%{transform: scale(1);}
		100%{opacity: 1;}
	}
}
/*Pantalla sobre 1170px*/
@media screen and (min-width: 1470px){
	section.main
	article.servicios
	div.servicio{
		width: 320px;
		padding: 50px 2px;
	}	
	section.main
	article.servicios
	div.servicio
	figure a img{
		width: 280px;
	}
	section.main 
	article.obras-construccion{
		max-width: 1240px;
	}
	section.main article.obras-construccion div.secciones{
		max-width: inherit;
	}
	header div.content-menu figure{
		margin-left: 0;
	}
	section.main > hr{
		width: 80%;
		max-width: 1200px;
	}
	section.main article.servicios div.mensaje{
		margin-top: 50px;
		width: 600px;

	}
	section.main 
	article.servicios 
	div.mensaje figure{
		/*width: 230px;*/
	}
}