* {
	font-family: 'Montserrat', sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	overflow-x: hidden;
}

.container {
	margin-left: auto;
	margin-right: auto;
}

.grey-text {
	color: #848885;
}

/* NAV BAR */
nav {
	position: fixed !important;
    top: 0;
    width: 100%;
	background-color: rgba(0,0,0,0.3);
	backdrop-filter: blur(15px);
	z-index: 10;
	padding: 1em !important;
}

nav a {
	color: #FFFFFF !important;
}

nav a:hover {
	font-weight: bold;
}

.navbar-toggler {
	color: transparent;
}

#navbar {
	justify-content: flex-end;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
	background-image: url('../img/close_icon.svg');
}

.scrolled_down{
  transform:translateY(-100%); transition: all 0.3s ease-in-out;
}
.scrolled_up{
  transform:translateY(0); transition: all 0.3s ease-in-out;
}

#logo {
	max-height: 60px;
}

#languageModal a {
	color: #696969;
	text-decoration: none;
	font-weight: 500;
}

#languageModal .modal-dialog {
	max-width: 250px;
	margin-left: auto;
	margin-right: auto;
}

#languageModal .modal-body>div:first-child {
	padding-bottom: 20px;
}

/* SECCIONES */
#mb-hero {
	display: none;
	height: 85vw;
	background-image: url('../img/mb-hero-bg.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
}

#mb-hero-l, #mb-hero-r, #mb-hero-pit {
	position: absolute;
}

#mb-hero-l {
	left: 14vw;
	top: 18vh;
}

#mb-hero-r {
	right: 14vw;
	top: 15vh;
}

#mb-hero-pit {
	width: 100%;
	text-align: center;
	top: 20vh;
}

#mb-hero-l img {
	width: 36vw;
}

#mb-hero-r img {
	width: 30vw;
}

#mb-hero-pit img {
	width: 13vw;
}

#mb-hero-text {
	position: absolute;
	left: 0px;
	top: calc(30vh - 1em);
	width: 100%;
	text-align: center;
	color: #FFFFFF;
}

#mb-hero-text h1 {
	font-weight: bold;
	font-size: 40px;
}

#hero {
	height: calc(100vh + 76px);
	margin-top: -80px;
	background-image: url('../img/hero-bg.png');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
}

#hero-back-l {
	position: absolute;
	width: 13vw;
	height: 13vw;
	left: 20vw;
	top: 7vh;
	background: url(../img/hero-right.png);
	background-size: contain;
	background-repeat: no-repeat;
	filter: blur(3px);
	transform: rotate(-135deg);
}

#hero-back-r {
	position: absolute;
	width: 13vw;
	height: 13vw;
	right: -4vw;
	top: 15vh;
	background: url(../img/hero-left.png);
	background-size: contain;
	background-repeat: no-repeat;
	filter: blur(3px);
}

#hero-blur-tl {
	position: absolute;
	width: 100vh;
    height: 100vh;
    left: -50vh;
	top: -118px;

	background: url('../img/hero-complete.png');
	background-size: contain;
	background-repeat: no-repeat;
	transform: rotate(4.65deg);
}

#hero-l {
	position: absolute;
	width: 70vh;
	height: 70vh;
	right: calc(50vw + 40px);
	bottom: 2vh;

	background: url('../img/hero-left.png');
	background-size: contain;
	background-repeat: no-repeat;
}

#hero-r {
	position: absolute;
	width: 70vh;
	height: 70vh;
	left: calc(50vw + 30px);
	top: 15vh;

	background: url('../img/hero-right.png');
	background-size: contain;
	background-repeat: no-repeat;
}

#hero-pit {
	position: absolute;
	width: 35vh;
	height: 35vh;
	left: 40vw;
	top: 25vh;

	background: url('../img/AvocadoWorld_4sec.gif');
	background-size: contain;
	background-repeat: no-repeat;
}

#hero-blur {
	position: absolute;
	width: 50vh;
	height: 60vh;
	right: 0px;
	bottom: 4px;

	background: url('../img/hero-blur.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position-x: right;
    background-position-y: bottom;
}

#hero-text {
	position: absolute;
	left: 0px;
	top: calc(50vh - 1em);
	width: 100%;
	text-align: center;
	color: #FFFFFF;
}

#hero-text h1 {
	font-weight: bold;
	font-size: 80px;
}

@-webkit-keyframes fZoomOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: scale3d(3, 3, 3);
    transform: scale3d(3, 3, 3);
  }
}
@keyframes fZoomOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: scale3d(3, 3, 3);
    transform: scale3d(3, 3, 3);
  }
}

.fadeZoomOut {
  -webkit-animation-name: fZoomOut;
  animation-name: fZoomOut;
  animation-duration: 2s;
}

#certificaciones {
	background-color: #E9F2EC;
	background-image: url('../img/certificaciones-bg.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding-top: 3em;
}

#certificaciones h1 {
	color: #09371E;
}

#certificaciones h1 span {
	font-size: 70%;
}

#certificaciones video {
	width: 100%;
	box-shadow: rgba(0, 0, 0, 0.8) 6px 6px 0px;
}

#certificaciones .cert_notice {
	font-size: 0.8em;
	font-weight: bold;
	color: #09371E;
}

#certificaciones .half_green {
	background: linear-gradient(to bottom, rgba(0,0,0,0) 25%, #09371E 0%);
}

#certificaciones .row.green {
	background-color: #09371E;
	height: 100px;
    max-width: 100%;
    margin: 0;
}

#certificaciones .cert_square {
	margin-bottom: 2em;
	padding: 1em;
	background-color: #FFFFFF;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	text-align: center;
	font-size: 0.7em;
	color: #696969;
	box-shadow: rgba(0, 0, 0, 0.8) 6px 6px 0px;
}

#cert-logos a {
	text-decoration: none;
}

.cert_square .cert_logo {
	height: 0;
	width: 80%;
	padding-top: 80%;
	margin-left: auto;
	margin-right: auto;
}

.cert_square .cert_logo img {
	margin-top: -120%;
}

.cert_square .cert_name {
	margin-top: 1em;
	min-height: 3em;
}

#impacto {
	background-color: #252424;
}

#impacto_bldg {
	width: 100%;
}

#impacto p {
	color: #E6DF19;
	font-size: 14px;
	margin-top: 1rem;
}

#impacto .number {
	color: #FFFFFF;
	font-size: 70px;
	margin-top: -2rem;
}

#productos {
	padding-top: 5rem;
	padding-bottom: 5rem;
	background-image: url('../img/productos-bg.png');
	background-size: cover;
	background-position-y: top;
	background-repeat: no-repeat;
	position: relative;
}

#productos h2 {
	color: #09371E;
	font-weight: bold;
}

#productos p {
	color: #FFFFFF;
}

#p-avocado-left {
	position: absolute;
    bottom: 10%;
    left: -9vw;
    z-index: 9;
}

#p-avocado-left img {
	width: 15vw;
}

#p-avocado-right {
	position: absolute;
    top: 25%;
    right: -9vw;
    z-index: 9;
}

#p-avocado-right img {
	width: 15vw;
}

#p-sliders {
	padding-left: 4em;
	padding-right: 4em;
}

.p_slider {
	background-color: #FFFFFF;
	box-shadow: rgba(0, 0, 0, 0.8) 6px 6px 0px;
	margin-bottom: 1.5em;
}

.p_slider span {
	display: block;
	color: #696969;
	font-size: 0.8em;
}

.slider_foot {
	padding: 1.5em;
}

.p_type {
	font-size: 0.6em;
	font-weight: bold;
}

.p_desc {

}

#historia {
	background: #E9F2EC;
}

#historia-content {
	padding-top: 5rem;
}

#historia-content > div {
	padding-left: 1em;
}

#historia video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -1;
}

#historia .content {
	display: none;
	margin-top: 2em;
}

#historia .content.active {
	display: block;
}

#h_nav, #h_nav a {
	font-weight: bold;
	color: #CACACA;
	text-decoration: none;
}

#h_nav a.active {
	color: #09371E;
}

#h_nav a:hover {
	color: #6DBF45;
}

#h_nav span {
	margin-left: 1em;
	margin-right: 1em;
}

#historia-video-container {
	position: relative;
}

#historia .overlay {
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAACdJREFUGFc1ikEKAAAIwrb/P9qwyIM4pgqJNJ22HwL1i8ED1ewzpwY30gkLtLL3ZQAAAABJRU5ErkJggg==') repeat;
}

#contacto {
	background: linear-gradient(to right, #E9F2EC 50%, #FFFFFF 50%);
}

#contacto h2 {
	color: #09371E;
}

#contacto a, .c_line {
	color: #848885;
}

#c_nav, #c_nav a {
	font-weight: bold;
	color: #CACACA;
	text-decoration: none;
}

#c_nav a.active {
	color: #09371E;
}

#c_nav a:hover {
	color: #6DBF45;
}

#contacto .content {
	display: none;
}

#contacto .content.active {
	display: block;
}

#c_logo, #c_logo_usa {
	margin-top: 1em;
	height: 4em;
	margin-bottom: 1em;
}

.c_line {
	display: flex;
}

.c_line img {
	height: 1em;
	margin-right: 5px;
}

#contact-form {
	padding-top: 5em;
	padding-bottom: 5em;
}

.btn-contact {
	background-color: #23753A;
	color: #FFFFFF;
	font-weight: bold;
}

#contact-map {
	max-width:100%;
	overflow:hidden;
	color:red;
	width:100%;
	height:100%;
}

footer {
	background-color: #09371E;
	color: #FFFFFF;
	font-size: 0.6em;
	min-height: 160px;
}

footer a {
	color: #FFFFFF;
	text-decoration: none;
}

footer a:hover {
	color: #FFFFFF;
	font-weight: bold;
}

footer .links {
	border-bottom: 2px solid #23753A;
}

footer .lang_select {
	text-align: right;
}

footer .card {
	display: flex;
	flex-direction: row;
	color: #000000;
	border: 1px solid #000000;
	background-color: transparent;
	box-shadow: rgba(0, 0, 0, 0.8) 6px 6px 0px;
	max-width: calc(100% - 10px);
	height: 100%;
}

footer .card > div {
	padding: 1em;
}

footer .card img {
	max-height: 7em;
}

.owl-nav {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 0 10px;
}

.owl-nav button {
	width: 20px;
	height: 20px;
}

.owl-nav button span {
	color: #FFFFFF;
	background-color: rgba(0,0,0,0.4);
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

.owl-dots {
	position: absolute;
	bottom: 5px;
	width: 100%;
	text-align: center;
}

.owl-dots button.owl-dot {
	border-radius: 50%;
	height: 8px;
	width: 8px;
	position: relative;
	margin-left: 2px;
	margin-right: 2px;
}

.owl-dots button.owl-dot span {
	background-color: rgba(0,0,0,0.4);
	height: 8px;
	width: 8px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

.owl-dots button.owl-dot.active span, 
.owl-dots button.owl-dot:hover span {
	background-color: #000000;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

/* SMALL SCREEN FIXES */
@media screen and (max-width: 800px) {
	#hero-back-r {
		right: 0px;
	}
	#p-avocado-left, #p-avocado-right {
		display: none;
	}

	#hero-l {
		left: 4px;
		right: auto;
	}

	#hero-r {
		right: 4px;
		left: auto;
	}
}

@media screen and (min-width: 768px) {
	#contact-map {
		max-width: initial;
		width: 50vw;
	}

	#historia video, #historia .overlay {
		width: 50vw;
	}
}

@media screen and (max-width: 768px) {
	.navbar-collapse.collapse.show {
		margin-top: 1em;
	}
	nav a:hover {
		color: #09371E !important;
	}
	#certificaciones .cert_notice {
		margin-top: 3rem;
	}
	#contacto {
		background: #E9F2EC;
	}
	#contact-map {
		height: 500px;
	}
	footer .card_container {
		margin-top: 2em;
	}
	footer .links_container {
		padding: 1em;
	}
	footer .card_container {
		padding: 1em;
	}
	footer .lang_select {
		padding: 1em;
		text-align: left;
	}
}

@media screen and (max-width: 720px) {
	#hero-l, #hero-r {
		width: 50vw;
		height: 50vw;
	}

	#hero-l {
		top: 30vh;
	}

	#hero-r {
		top: 15vh;
	}

	#hero-pit {
		height: 25vw;
		width: 25vw;
	}
}

@media screen and (max-width: 600px) {
	.navbar {
		background-color: #000000;
	}
	#hero {
		display: none;
	}
	#mb-hero {
		display: block;
	}
	#p-sliders {
		padding: 0;
	}
}

@media screen and (max-width: 460px) {
	#hero-l, #hero-r {
		max-width: 30vw;
	}

	#mb-hero-text h1 {
		font-weight: bold;
		font-size: 30px;
	}
}

@media screen and (min-width: 460px) {
	footer {
		padding-top: 2em;
	}
}