:root{
	/*--black-background: #181A1C;*/
	--black-background: black;
	--yellow-1: #FED53D;
	--yellow-2: #EDC52F;
	--yellow-3: #E3BB25;
}

*{
	margin: 0;
	padding: 0;
}

html{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	
}

body{
	background-color: var(--black-background);	
}

html, body{
	height: 100%;
	min-height: 100%;
}


h1{
	font-size: 30px;
}

h2{
	font-size: 22px;
}

h3{
	font-size:18px;
}

a{
	color: white !important;
}

#body{
	overflow: hidden;
}

#wrapper{
	overflow: hidden;
	position: relative;
	min-height: 100%;
	box-sizing: border-box;
}

#nav-background{
	
	padding-top: 1px;
}

#nav{
	position: relative;
	color: white;
	height: 60px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px;
	max-width: 1200px;
	padding-top: 20px;
}

@media (max-width: 960px){
	#nav{
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (max-width: 1215.8px){
	#nav{
		max-width: 900px;
	}
}

#brand{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

#brand-img{
	position: absolute;
	height: 60px;
	width: 60px;
	top: 5px;
	box-sizing: border-box;
	object-fit: contain;
}

#brand-title{
	position: absolute;
	left: 70px;
	font-weight: normal;
	display: flex;
	top: 10px;
	justify-content: center;
	align-items: center;
	line-height: 1;
}

#brand-subtitle{
	font-size: 16px;
	font-style: italic;
	position: absolute;
	top: 42px;
	left: 70px;
	line-height: 1;
}

@media (max-width: 1215.8px){
	#brand{
		width: 250px;
	}

	#brand-title{
		top: 3px;
	}

	#brand-subtitle{
		top: 35px;
	}
}

#menu{
	z-index: 1000;
}

@media (min-width: 960.8px){
	#menu{
		position: relative;
		float: right;
		display: flex;
	}

	.menu-item{
		list-style: none;
		height: 60px;
		box-sizing: border-box;
		margin: 0 5px;
		position: relative;

	}

	.menu-link:hover{
		text-decoration: underline;
	}


	.menu-link{
		height: 60px;
		padding: 0 15px;
		display: flex;
		justify-content: center;
		align-items: center;
		box-sizing: border-box;
		text-decoration: none;
	}

	.sub-menu{
		list-style: none;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		color: white;
		background-color: var(--yellow-2);
		min-width: 150px;
		max-height: 0;
		position: absolute;
		top: 43px;
		left: 15px;
		z-index: 10;
		border-radius: 2px;
		transition-property: max-height;
		transition-timing-function: ease-in-out;
		transition-duration: 0.3s;
		box-shadow: 0px 2px 2px rgba(0,0,0,0.3);	
	}

	.menu-item:hover .sub-menu{
		max-height: 1000px;
	}

	.sub-menu li{
		border: solid rgba(0,0,0,0.3);
		border-width: 0 1px;
		border-bottom: 1px solid rgba(0,0,0,0.2);
	}

	.sub-menu li:first-child{
		border-top-width: 1px;
		border-top-right-radius: 2px;
		border-top-left-radius: 2px;
	}

	.sub-menu li:last-child{
		border-bottom-width: 1px;
		border-bottom-right-radius: 2px;
		border-bottom-left-radius: 2px;
	}

	.sub-menu li{
		margin: 0 !important;
		padding: 0;
	}

	.sub-menu a{
		box-sizing: border-box;
		padding: 10px;
		display: inline-block;
		width: 100%;
		text-decoration: none !important;
		color: inherit !important;
	}

	.sub-menu a:hover{
		background-color: rgba(0,0,0,0.1);
	}

	#menu-button{
		display: none;
	}

}

@media (max-width: 960px){

	#nav a:hover, #nav a:focus{
		background-color: rgba(255,255,255,0.2);
	}

	#nav{
		padding: 0;
		position: static;
		padding-top: 0px;
		margin-bottom: 40px;
	}

	#brand{
		position: absolute;
		top: 30px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 100%;
		z-index: 0;
	}

	#brand-img-and-title{
		display: flex;
		z-index: 0;
	}

	#brand-title{
		padding-left: 5px;
		position: static;
		z-index: 0;
	}

	#brand-img{
		position: relative;
		height: 46px;
		width: 46px;
		top: 0;
		left: 0;
		z-index: 0;
	}

	#brand-subtitle{
		position: static;
		width: 200px;
		text-align: center;
		line-height: 1.25;
	}

	#menu-button{
		display: flex;
		background-color: transparent;
		border-style: none;
		color: var(--yellow-2);
		font-size: 30px;
		margin-right: 20px;
		margin-top: 15px;
		outline: none;
		z-index: 100;
		position: absolute;
		top: 15px;
		right: 10px;
	}

	#menu{
		padding-top: 20px;
		font-size: 16px;
		width: 70%;
		position: absolute;
		top: 0;
		left: -70%;
		height: 100%;
		display: flex;
		flex-direction: column;
		background-color: var(--black-background);
		margin-top: 0;
		list-style: none;
		transition-property: left;
		transition-duration: 0.3s;
	}

	#menu.active{
		left: 0;
	}

	.menu-item{
		display: block;
		width: 100%;
	}

	.menu-link{
		display: inline-block;
		font-weight: bold;
		width: 100%;
		padding: 10px 0px 10px 20px;
		text-decoration: none;
		flex-direction: column;
		align-items: left;
		color: var(--yellow-1) !important;
		box-sizing: border-box;
	}

	.sub-menu{
		list-style: none;
	}

	.sub-menu a{
		display: inline-block;
		color: white !important;
		text-decoration: none;
		padding: 10px 0px 10px 45px;
		width: 100%;
		box-sizing: border-box;
	}

}

#video-width{
	max-width: 888px;
	margin: 30px auto 50px auto;
}

@media (max-width: 960px){

	#video-width{
		margin-bottom: 30px;
	}
}

#video-container{
	max-width: 888px;
	height: 0;
	position: relative;
	padding-bottom: 56.25%;
	box-sizing: border-box;

}

#video-corp{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 2px;
}

#text-container{
	font-family: 'Calibri Light', sans-serif;
	padding: 20px;
	text-align: center;
	font-size: 32px;
	line-height: 1.25;
	font-weight: 100;
	color: white;
	width: 70%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 40px;
	max-width: 1200px;
}

@media (max-width: 960px){

	#text-container{
		width: 90%;
	}
}

@media (max-width: 624px){
	#text-container{
		font-size: 25px;
	}
}

#section-container-wrapper{
	width: 100%;
	background-color: var(--yellow-3);
}

#section-container{
	flex-wrap: wrap;
	display: flex;
	justify-content: center;
	width: 100%;
	padding-top: 30px;
	padding-bottom: 20px;
	max-width: 1216px;
	margin: 0 auto;
}

#section-container h2{
	display: flex;
	justify-content: center;
	align-items: center;
	height: 60px;
	color: white;
	margin-top: 5px;
}

#section-container h3, #section-container p{
	color: white;
	text-align: center;
}

#section-container h3{
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#section-container p{
	font-size: 18px;
	padding: 10px 20px;
}

.foto-text{
	width: 100%;
	position: absolute;
	top: 150px;
	height: 100%;
	background-color: rgba(0,0,0,0.4);
	transition-property: top;
	transition-duration: 0.4s;
	transition-timing-function: ease-out;
}

.box:hover .foto-text{
	top: 0px;
}

.section{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.section-row{
	flex-wrap: wrap;
	display: flex;
	justify-content: center;
}

#representations{
	margin-top: 15px;
	max-width: 1200px;
	width: 100%;
}

#section-pres .section-row{
	justify-content: center;
	width: 100%;
}

.box{
	display: block;
	overflow: hidden;
	position: relative;
	height: 200px;
	width: 280px;
	background-color: black;
	margin: 10px;
	border-radius: 4px;
	box-shadow: 0px 3px 3px rgba(0,0,0,0.3);
}

#foto-predictivo{
	background-image:  url(imagenes/predictivo.png);
	background-size: 280px;
	background-position: bottom;
}

#foto-preventivo{
	background-image: url(imagenes/preventivo.png);
	background-size: 280px;
}

#foto-conf{
	background-image: url(imagenes/conf.png);
	background-size: cover;
}

#foto-cap{
	background-image: url(imagenes/capacitaciones.png);
	background-size: cover;
}

#foto-gastops{
	background-image: url(imagenes/gastops.png) 	;
	background-repeat: no-repeat;
	background-position: center top 45px ;
	background-size: 230px ;
	background-color: white;
}

#foto-oneprod{
	background-image: url(imagenes/oneprod.png);
	background-repeat: no-repeat;
	background-position: center top 35px;
	background-size: 260px;
	background-color: white;
}

#foto-sinocera{
	background-image: url(imagenes/sinocera.png);
	background-repeat: no-repeat;
	background-position: center top 50px;
	background-size: 280px;
	background-color: white;
}

#foto-ae{
	background-image: url(imagenes/ae.png);
	background-repeat: no-repeat;
	background-position: center top 50px;
	background-size: 120px;
	background-color: white;
}

#news-container{
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	justify-content: center;
	max-width: 1216px;
	min-height: 200px;
	padding-top: 40px;
	padding-bottom: 40px;
}


@media (max-width: 1232px ){
	#news-container{
		max-width: 608px;
	}
}

@media (max-width: 624px){
	#news-container{
		max-width: 304px;
	}
}


#news-container h3{
	color: white;
	margin-left: 12px;
	margin-bottom: 20px;
}

.news-row{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.news-box{
	display: flex;
	flex-direction: column;
	width: 280px;
	margin: 20px 12px;
	margin-top: 20px;
}

.news-box .squares-svg{
	width: 40px;
	margin-bottom: 15px;
}

.news-title{
	font-size: 22px;
	color: var(--yellow-3);
}

.news-title a{
	color: inherit !important;
	text-decoration: none;
}

.news-title a:hover{
	text-decoration: underline;
}

#footer-container{
	width: 100%;
	background-color: rgba(255,255,255,0.15);
}


footer{
	display: block;
	min-height: 60px;
	margin-left: auto;
	margin-right: auto;
	color: white;
	text-align: center;
	padding: 20px 10px;
	box-sizing: border-box;
	max-width: 1216px;
}

@media (max-width: 1215.8px){
	footer{
		max-width: 900px;
	}
}

@media (max-width: 607.8px){
	footer{
		max-width: 500px;
		padding-bottom: 50px;
	}

}



#footer-info-container{
	margin-bottom: 20px;
	display: flex;
	flex-wrap: wrap;
}

#footer-info{
	text-align: left;
	margin-top: 10px;
	margin-bottom: 10px;
}

#footer-info div{
	margin: 7px 0;
}

#newsletter-suscription{
	margin: 10px auto 20px auto;
	min-width: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#newsletter-suscription h4{
	font-weight: normal;
	text-align: left;
	margin-bottom: 4px;
}

#newsletter-suscription form{
	display: flex;
	align-items: center;
	justify-content: center;
}

#newsletter-suscription input{
	width: 210px;
	height: 30px;
	padding-left: 10px;
	font-size: 18px;
	border-radius: 2px;
	border-style: none;
	background-color: rgba(255,255,255,0.4);
	color: white;
}

#newsletter-suscription input::placeholder{
	color: white;
}

#newsletter-suscription button{
	color: white;
	background-color: var(--yellow-3);
	height: 30px;
	border-style: none;
	border-radius: 2px;
	margin-left: 5px;
	padding: 0 5px;
}

#newsletter-suscription button:hover{
	filter: brightness(0.8);
}

#footer-social-media{
	margin-top: 10px;
}

#footer-social-media a{
	margin: 0 2px;
	color: white !important;
	font-size: 30px;
}

#footer-social-media a:first-child{
}

@media (max-width: 607.8px){
	#footer-social-media{
		order: 2;
		margin-left: auto;
	}

	#footer-info{
		order: 1;	
	}

	#newsletter-suscription{
		order: 0;
	}
}

@media (max-width: 607.8px){

	#footer-social-media{ 		
		margin-right: auto;
	}

	#footer-info{
		margin-left: 5%;		
	}
}