@import url('https://fonts.googleapis.com/css2?family=Anton&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body, html {
  height: 100%;
  margin: 0;
  font-size: 1.2em;
  font-family: Poppins;
  line-height: 1.1em;
}
img{
	max-width: 90%;
}
a{
	text-decoration: none;
	cursor: pointer;
}
h1{
	color: #a51f32;
	font-weight: 700;
	text-align: center;
	font-size: 1.5em;
}
h2{
	color: #FFF;
	font-weight: 600;
	text-align: center;
	font-size: 1.2em;
}
h3{
	color: #832b3d;
	font-weight: 600;
	text-align: center;
	font-size: 1.2em;
}
h4{
	color: #000;
	font-weight: 600;
	text-align: center;
	font-size: 1.5em;
}
p{
	color: #070c1a;
	font-weight: normal;
	text-align: center;
}
ul{
	color: #832b3d;
	text-align: left;
	width: 80%;
	margin-left: 10%;
}
i{
	padding: 0 10px 0 0;
}
/* Estilos para el mapa de Google */
.google-map {
  width: 100%;
  padding: 10px 0;
  display: inline-block;
  height: 350px;
  margin-bottom: 0;
  margin-top: 10px;
}
.CERTIF{
	background: #a20a30;
	display: inline-block;
	padding: 10px 20px;
	color: #fff;
	border-radius: 5px;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

header{
  background-color: #f1f1f1;
  padding: 30px;
  text-align: center;
}
header img{
	width: 200px;
}
#navbar {
  overflow: hidden;
  background-color: #363233;
  z-index: 1;
}
#navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}
#navbar a:hover {
  background-color: #ddd;
  color: black;
}
#navbar a.active {
  background-color: #972827;
  color: white;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.sticky + .content {
  padding-top: 60px;
}

.parallax {
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: 70%;
}
.p1{
	background-image: url('IMG/back1.jpg');
	text-align: center;
  background-position: center;
  background-size: cover;
  padding-top: 50px;
  padding-bottom: 50px;
}
.p2 {
	background-image: url('IMG/back2.jpg');
	text-align: right;
	background-position: left;
}
.p3 {
	background-image: url('IMG/back3.jpg');
	text-align: left;
	background-position: right;
}
.p4 {
	background-image: url('IMG/back4.jpg');
	text-align: right;
	background-position: left;
}
.p5 {
	background-image: linear-gradient(42deg, rgba(5,96,78,0.4) 0%, rgba(5,96,78,0.4) 100%),url('IMG/certificaciones.jpg');
	text-align: center;
	color: #FFF;
	font-weight: 500;
  background-position: center;
  background-size: cover;
  padding-top: 50px;
  padding-bottom: 50px;
}
.p5 p{
	color: #fff;
}

.content{
	width: 90%;
	max-width: 1024px;
	margin:auto;
	padding: 20px;
}
.content2{
	width: 90%;
	margin:auto;
	padding: 20px;
}
.flex{
	display: flex;
	align-items: stretch;
}
.contactos{
	width: 50%;
	display: inline-block;
	text-align: center;
}
.datoscont{
	color: #a20a30;
	font-size: 14px;
	line-height: 1.2em;
	margin: 10px 0 0 10px;
}
.mid1{
	width: 50%;
	padding: 20px;
	color: #fff;
	text-align: justify;
	display: inline-block;
	font-size: 1.3rem;
}
.mid2{
	width: 30%;
	padding: 40px 20px 20px 20px;
	vertical-align: top;
	color: #fff;
	text-align: center;
	display: inline-block;
}

.mid-left{
	display: inline-block;
	width: 40%;
	height: 100%;
	min-height: 200px;
	background: #fff;
	position: relative;
	text-decoration: none;
	color: #333;
	padding: 0 10px;
	border-left: 5px solid white;
}
.mid-left:before {
	content: "";
	position: absolute;
	/* Pushed down half way, will get pulled back up half height of triangle
	   ensures centering if font-size or line-height changes */
	top: 0;
	width: 30px;
	height: 100%;
	background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
	left: -35px;
}
.mid-right{
	display: inline-block;
	width: 40%;
	height: 100%;
	min-height: 200px;
	background: #fff;
	position: relative;
	text-decoration: none;
	color: #333;
	padding: 0 10px;
	border-left: 5px solid white;
}
.mid-right:before {
	content: "";
	position: absolute;
	top: 0;
	width: 30px;
	height: 100%;
	background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
	right: -30px;
}
.logo2{
	max-width: 200px;
	margin: 30px auto;
}

.img4 {
	text-align: center;
	display: flex;
	flex: 1 1 1 1;
	align-items: center;
}
.cont1 {
	overflow:hidden;
	display: table-cell;
	margin: 5px auto;
	min-height: 200px;
	width: 90%;
	border:3px solid white;
	background: #000;
	background-size: 100%;
	background-position: center center;
	-webkit-transition: all 0.7s ease;
	transition: all 0.7s ease;
	vertical-align: middle;
	padding: 100px 5px 5px 5px;
	color: #fff;
}
.cont2{
	display: inline-block;
	width: 300px;
	vertical-align: middle;
	padding: 5px 5px 5px 5px;
	color: #fff;
	margin: auto;
}
.cont2 img{
	vertical-align: text-bottom;
}

.CALI{
	background: url('IMG/CALIDAD.jpg');
	background-size: 100%;
	background-position: center center;
	-webkit-transition: all 0.7s ease;
	transition: all 0.7s ease;
}
.INOCUIDAD{
	background: url('IMG/inocuidad.jpg');
	background-size: 100%;
	background-position: center center;
	-webkit-transition: all 0.7s ease;
	transition: all 0.7s ease;
}
.AUTOMOTRIZ{
	background: url('IMG/AUTOMOTRIZ.jpg');
	background-size: 100%;
	background-position: center center;
	-webkit-transition: all 0.7s ease;
	transition: all 0.7s ease;
}
.AMBIENTAL{
	background: url('IMG/ambiental.jpg');
	background-size: 100%;
	background-position: center center;
	-webkit-transition: all 0.7s ease;
	transition: all 0.7s ease;
}
.SEGURIDAD{
	background: url('IMG/SEGURIDAD.jpg');
	background-size: 100%;
	background-position: center center;
	-webkit-transition: all 0.7s ease;
	transition: all 0.7s ease;
}
.LABORATORIO{
	background: url('IMG/LABORATORIO.jpg');
	background-size: 100%;
	background-position: center center;
	-webkit-transition: all 0.7s ease;
	transition: all 0.7s ease;
}
.RESPONSAVILIDAD{
	background: url('IMG/RESPONSABILIDAD.jpg');
	background-size: 100%;
	background-position: center center;
	-webkit-transition: all 0.7s ease;
	transition: all 0.7s ease;
}
.cont1 h1{
	color: #FFF;
	line-height: 1.3em;
}
.cont1:hover {
	background-size: 110%;
}

form{
	display: block;
	width: 90%;
	margin: 20px auto;
}

input, textarea{
	width: 90%;
	padding: 10px;
	border-radius: 5px;
	margin: 10px auto;
	border: 1px solid #a20a30;
	color: #a20a30;
	font-weight: 800;
	font-size: 0.8rem;
	font-family: Poppins;
}

.enviar{
	width: 50%;
	max-width: ;
	padding: 10px;
	border-radius: 5px;
	margin: 10px auto;
	background: #a20a30;
	border: none;
	color: #fff;
	font-weight: 800;
	font-size: 0.8rem;
	font-family: Poppins;
}
.enviar:hover{
	background: #7b0a26;
}


.hedcont{
	display: block;
	color: #fff;
	padding: 80px 20px;
}
.hedcont h1{
	text-align: left;
	color: #fff;
	-webkit-text-stroke: 1px black;
}
.contenidosimg{
	width: 90%;
	display: inline-block;
	text-align: center;
	height: 100%;
	min-height: 400px;
}

.float{
    position:fixed;
    width:60px;
    height:60px;
    bottom:40px;
    left:40px;
    background-color:#25d366;
    color:#FFF;
    border-radius:50px;
    text-align:center;
  	font-size:30px;
    box-shadow: 2px 2px 3px #999;
  	z-index:100;
}
.my-float{
    margin-top:16px;
}

.RED{
	background: #a20a30;
	color: #fff;
	padding: 20px;
}
.RED h1{
	color: #fff;
}
.RED p{
	color: #fff;
}
.RED input, .RED textarea{
	width: 300px;
}
.RED .enviar{
	width: 200px;
	padding: 10px;
	border-radius: 5px;
	margin: 10px auto;
	background: #fff;
	border: none;
	color: #a20a30;
	font-weight: 800;
	font-size: 0.8rem;
	font-family: Poppins;
}
.enviar:hover{
	background: #ccc;
}

@media only screen and (max-width:900px) {
	.mid1{
		width: 90%;
		padding: 20px;
		color: #fff;
		text-align: justify;
		display: inline-block;
		font-size: 1.3rem;
	}
	.mid2{
		width: 90%;
		padding: 40px 20px 20px 20px;
		vertical-align: top;
		color: #fff;
		text-align: center;
		display: inline-block;
	}
	.parallax {
	  background-attachment: fixed;
	  background-repeat: no-repeat;
	  background-size: cover;
	}
	.mid-left{
		display: inline-block;
		width: 60%;
		height: 100%;
		min-height: 200px;
		background: #fff;
		position: relative;
		text-decoration: none;
		color: #333;
		padding: 0 10px;
		border-left: 5px solid white;
	}
	.mid-right{
		display: inline-block;
		width: 60%;
		height: 100%;
		min-height: 200px;
		background: #fff;
		position: relative;
		text-decoration: none;
		color: #333;
		padding: 0 10px;
		border-left: 5px solid white;
	}
	.img4 {
		text-align: center;
		display: block;
		align-items: center;
	}
	.cont1 {
		overflow:hidden;
		display: inline-block;
		margin: 5px auto;
		width: 45%;
		min-height: 150px;
		border:3px solid white;
		padding: 25px 5px 5px 5px;
	}
}
@media only screen and (max-width:600px) {

	.mid-left{
		margin-top: 200px;
		display: inline-block;
		width: 100%;
		background: #fff;
		position: relative;
		text-decoration: none;
		color: #333;
		padding: 0 10px;
		border-left: 0px solid white;
	}
	.mid-left:before {
		display: none;
	}
	.mid-right{
		margin-top: 200px;
		display: inline-block;
		width: 100%;
		background: #fff;
		position: relative;
		text-decoration: none;
		color: #333;
		padding: 0 10px;
		border-left: 0px solid white;
	}
	.mid-right:before {
		display: none;
	}
	.cont1 {
		overflow:hidden;
		display: inline-block;
		margin: 5px auto;
		width: 90%;
		min-height: 150px;
		border:3px solid white;
		padding: 25px 5px 5px 5px;
	}
.flex{
	display: block;
	align-items: stretch;
}
	.contactos{
		width: 90%;
		display: block;
		text-align: center;
	}
}