

.img_ppal {
	
 width: 100%;
  background-size: cover;
  display: table;
  background-position: 54% 35%;	
	}


#limpieza .img_ppal { background-image: url(../img/Limpieza/Limpieza_Principal.jpg); }
#agro .img_ppal { background-image: url(../img/Agro/Agro_Principal.jpg); }
#cosme .img_ppal { background-image: url(../img/Cosmetica/Cosmetica_Principal.jpg); }
#cosme_cremas .img_ppal { background-image: url(../img/cosme_cremas/cosme_cremas_Principal.jpg); }
#cosme_nat .img_ppal { background-image: url(../img/cosme_nat/cosme_nat_Principal.jpg); }
#vyj .img_ppal { background-image: url(../img/vyj/vyj_Principal.jpg); }
#eya .img_ppal { background-image: url(../img/eya/eya_Principal.jpg); }
#cosme_cap .img_ppal { background-image: url(../img/Cosme_cap/Cosme_cap_Principal.jpg); }
#pintura .img_ppal { background-image: url(../img/Pintura/Pinturas_Principal.jpg); }
#textil .img_ppal { background-image: url(../img/Textil/Textil_Principal.jpg); }
#petroleo .img_ppal { background-image: url(../img/Petroleo/Petroleo_Principal.jpg); }
#lubricantes .img_ppal { background-image: url(../img/Lubricantes/Lubricantes_Principal.jpg); }
#plastico .img_ppal { background-image: url(../img/Plasticos/Plasticos_Principal.jpg); }
#fraccionamiento .img_ppal { background-image: url(../img/Fraccionamiento/Fraccionamiento_Principal.jpg); }
#cosme_a .img_ppal { background-image: url(../img/Cos_Automotor/cos_automotor_ppal.jpg); }
#otras .img_ppal { background-image: url(../img/Otras_Industrias/Otras_Industrias_Principal.jpg); }


#grax{
  font-size: 35px;
}

.clear { clear:both;}

.titulo h1 {
  	margin-top: 30px;
  	text-align: center;
 	 color:#fff;
 	 font-family: 'Ubuntu', sans-serif;
	font-weight: bold;
	text-transform:uppercase;
	font-style: italic;
	text-shadow: 0 2px 2px rgba(0,0,0,.6);
}


#items .contenedor2{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
#items{
/*  background-color: rgba(169, 152, 169, 0.6);*/
padding-top: 50px;
  padding-bottom: 35px;
}


#items h3 { font-family: 'Roboto', sans-serif; font-weight: bold; text-align:center; font-size: 20px; /*border-radius: 10%;*/
	margin: 20px 15px 5px 15px; padding: 10px 0;   box-shadow: 5px -5px 8px 0px rgba(0, 0, 0, 0.2); }

#agro > #items h3 {min-height:68px;}
#items article{
  margin: 0px 10px 20px 10px;
  width: 310px;
}

#cosme_p article{
  margin: 0px 5px 20px 5px;
  width: 380px;
}

#items .icon3{
  width: 280px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
/*  margin-top: 20px;*/
  margin-bottom: 20px;
  border-radius: 10%;
  box-shadow: 5px 5px 8px 0px rgba(0, 0, 0, 0.0);
}

#items p{
    text-align: center;
    font-weight: bolder;
    padding: 10px 8px;
	margin: 5px 15px;
    box-shadow: 5px 5px 8px 0px rgba(0, 0, 0, 0.2);
	min-height: 172px;
}

#cosme_p p{ margin: 5px; min-height: 162px;}
#cosme_p p span { display:block; font-size: 0.85em; width:50%;}
#cosme_p p .izq { float:left;}
#cosme_p p .der { float:right;}
#items ul{
    text-align: left;
    font-weight: bolder;
    padding: 10px;
	margin: 5px 10px;
    box-shadow: 5px 5px 8px 0px rgba(0, 0, 0, 0.2);
	list-style-image: url('../img/bullet.png');
    list-style-position: inside;
	min-height: 500px;
}

#items ul li { 
margin-bottom:10px;
}

#agro > #items p {min-height: 152px; }
#textil > #items p {min-height: 142px; }
#lubricantes > #items p {min-height: 142px; }
#plastico > #items p {min-height: 122px; }

.social { padding-top:50px;}

.blank { background:#fff; padding-top:35px; padding-bottom:10px; text-align:center;}
/*----------------FORMULARIO--------------------------*/

#contacto { text-align:center; margin:0 auto; padding-bottom:35px;}


.formu {
	box-shadow: 8px 6px 8px 0px rgba(0, 0, 0, 0.6);
	background: rgba(51, 51, 51, 0.4);
	margin: 25px auto 0 auto;
	border-radius: 4px;
}


#contacto h2 {
  color: #fff;
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;

}



.contenedor .form2 .form-header .form-title{
   font-weight: normal;
   font-family: sans-serif;
   text-align: center;
   padding: 14px 0;
}

.contenedor .form2 .form-header .form-title span{
   color: white;
}

.contenedor .form2{
   margin: 0 auto;
   border-radius: 3px;
  }

.contenedor .form2 .form-label2{
  display: block;
  color: white;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  position: relative;
}

.contenedor .form2 .form-input2, .form-textarea2{
  border: none;
  outline: none;
  border-bottom: 2px solid #fff;
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 2px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  background-color: rgba(255, 255, 255, 0.8);
}

.contenedor .form2 .form-textarea2{
  resize: vertical;
  height: 100px;
}

.contenedor .form2 .btn-submit2{
  width: 100%;
  outline: none;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 18px;
  border: none;
  color: #fff;
  padding: 15px 0;
  cursor: pointer;
  transition: all .3s ease;
  font-weight: lighter;
  font-family: inherit;
  /*margin-bottom: 20px;*/
}

.form2 .btn-submit2:hover{
  background: rgba(0,0,0,.8);
}


/*-------------------------FOOTER-------------------------------*/
#footer{
  width: 100%;
  background-image: url(../img/footer.jpg);
  background-size: cover;
  display: table;
  height: 541px;
  background-position: 59% 60%;

}
.logo2 {padding-top: 15px;}
.logo2 img{

  height: 100px;
  width: auto;
  display: flex;
  flex-wrap: wrap;
  margin: auto;
}


.overlay2{
  background-color: rgba(51,51,51,0.5);
  width: 100%;
  height: 100%;
}



@media (min-width:768px) {

.img_ppal { height: 540px; }	
.logo1 img{
  height: 150px;
  width: auto;
  margin-top: 20px;
  margin-left: 0;
}
.titulo h1 { font-size: 50px; }

/*FORMULARIO*/

.formu { width:450px; padding:20px;}

.contenedor .form2 .btn-submit2{
  height: 60px;
  font-size: 21px;
}
#contacto h2{
  font-size: 28px;
}

/*FOOTER*/
.logo2 img{
  height: 150px;
  width: auto;
  margin-left: 0;
}
.texto h2{
  font-size: 30px;
}
}
@media (max-width:767px) {

.img_ppal { height: 300px; }	

.logo1 img{
  height: 100px;
  width: auto;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  margin: auto;
}
}

@media (min-width:500px) and (max-width:767px) {
.titulo h1 { font-size: 40px; }
.formu { width:450px; padding:20px;}
}
@media (max-width:499px) {
.titulo h1 { font-size: 30px; }
.formu { width:310px; padding:5px;}

#items ul {margin: 5px 0px; padding: 10px 0; }

#cosme_p p span { display:block; font-size:1em; width:inherit;}
#cosme_p p .izq { float:none;}
#cosme_p p .der { float:none;}

}