html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
 }

body {
	background-color: white;
	width: 100%;
	margin: 0 auto;
	line-height: 1.25;
	font-family: trebuchet MS,sans-serif,helvetica,sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	}

h1 {
	font-size: 35px;
	color: #666;
	margin: 0;
	line-height: 1;
}

h2 {
	font-size: 30px;
	color: #666;
	margin: 0;
}

h3 {
	font-size: 25px;
	margin: 0;
}

h4 {
	font-size: 20px;
	color: rgba(119,119,119,1);
	margin: 0;
	text-align: center;
	margin: 0;
}

h5 {
	font-size: 18px;
	color: rgba(119,119,119,1);
	margin: 0 0 2% 0;
}

.ar-text p, .ar-text li {
	font-size: 18px;
	line-height: 1.75;
}


hr {
	color: rgba(119,119,119,.4);
	background-color: rgba(119,119,119,.4);
	height: 1px;
	text-align:center;
	margin: 100px auto;
	border: none;
	width: 100%;
}

.margin-top {
	margin-top: 8%;
}

.body-margin {
	margin: 100px auto;
}

p {
	margin: 0;
	line-height: 1.5;
}

p, li {
	font-size: 16px;
}

img {
	max-width: 100%;
	height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

#top-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 75px;
	padding: 0 10px;
	z-index: 9000;
	background-color: rgba(255,255,255,.8);
}

#top-nav img {
	width: 20%;
	max-width: 220px;
	min-width: 170px;
	align-self: center;
}

#logo-ar {
	margin: 0;
}

.menu-container {
	display: flex;
	justify-content: flex-end;
	width: 60%;
	max-width: 890px;
	position: relative;
}

.menu {
	display: flex;
	width: 100%;
	padding: 0;
	margin: 0;
	text-align: center;
	z-index: 9999;
	font-weight: bold;
	list-style-type: none;
	position: relative;
}

.menu li {
	width: 40%;
}

.menu a {
	transition: color .15s ease-in-out;
	color: #666;
}

.menu a:hover {
	color: #40301e;
}

.sub-properties {
	display: block;
	display: none;
	position: absolute;
	background-color: white;
	z-index: 9999;
	width: 20%;
	font-size: 12px;
	top: 40px;
}

.submenu-lang ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	width: 100%;
	background-color: white;
	z-index: 9999;
}

.submenu-lang li {
	width: 100%;
	height: 40px;
	padding: 0;
	z-index: 9999;
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid #e5e5e5;
}

.submenu-lang a {
	line-height: 33.33%;
	z-index: 9999;
}

.submenu-lang a:hover {
	color: #40301E;
	border-color: #40301E;
}

.click-jump:active {
	margin-top: 3%;
	transition: all .15s ease-in-out;
}

.body-flex {
	display: flex;
   flex-direction: column;
   align-items: center;
	margin: 0 auto;
	width: 90%;
	max-width: 1100px;
	flex: 1;
}

.body-flex h4 {
	margin: 40px 0 30px 0;
}

#contact-page {
	min-height: 100vh;
	max-width: 1500px;
}

#contact-wrap {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	margin: 0;
	flex: 1;
}

.cycle-slideshow {
	display: inline-block;
	height: 75vh;
	min-height: 250px;
	width: 100%;
	position: relative;
	text-align: center;
	overflow: hidden;
	transition: height 999999s;
	transition-delay: 999999s;
	z-index: 0;
}

.slide {
	width: 100%;
	height: 100%;
	margin: 0;
	z-index: 0;
}

.cycle-image {
	width: 100%;
	height: 100%;
}

.cycle-header {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 35%;
  	text-align: center;
  	background-color: rgba(0,0,0,.2);
  	padding: 5px 20px;
  	z-index: 9000;
}

#services.html-header {
	top: 40%;
}

.cycle-header h1 {
	font-size: 60px;
	color: white;
	margin: 0;
	line-height: 1;
	white-space: nowrap;
}

.cycle-pager {
	text-align: center;
	cursor: pointer;
	white-space: nowrap;
	z-index: 9999;
}

.cycle-pager span {
	width: 9px;
	height: 9px;
	display: inline-block;
	text-indent: 800%;
	white-space: nowrap;
	border-radius: 50%;
	margin: 10px 10px 0 10px;
	cursor: pointer;
	background-color: rgba(255, 255, 255, 0.5);
    -webkit-transition: box-shadow 0.3s ease, background-color 0.2s ease;
    transition: box-shadow 0.3s ease, background-color 0.2s ease;
}

.cycle-pager .cycle-pager-active {
	background-color: transparent;
   	box-shadow: 0 0 0 1.5px white;
}

.mouse-scroll {
	z-index: 9999;
	position: relative;
	bottom: 80px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 46px;
	height: 46px;
	color: #FFF;
	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border: 3px solid #FFF;
	border-radius: 50% 50%;
}

.mouse-scroll .mouse-movement-up {
	border-right: 4px solid white; border-bottom: 4px solid white;
	width: 10px; height: 10px;
	transform: rotate(-135deg);
	margin-top: -2px;
}

#oliveimage {
	background-image: url(../images/olivo.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

#oliveimage2 {
	background-image: url(../images/sevilla2.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

#oliveimage3 {
	background-image: url(../images/sierra2.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

#oliveimage4 {
	background-image: url(../images/sevilla1.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

#oliveimage5 {
	background-image: url(../images/olives2.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

#oliveimage6 {
	background-image: url(../images/sevilla4.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

#facility1 {
	background: url(../images/facility1.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

#serviceimage {
	background: url(../images/OAK4.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.parallax {
	background-attachment: fixed;
}


.fixed-bg {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 450px;
	margin: 100px 0;
	width: 100%;
}

.blur {
	-webkit-filter: blur(1.5px);
	filter: blur(1.5px)
}

.fixed-bg h1 {
	color: white;
	text-align: center;
	margin: 0 auto;
}

#olive-header-animation {
	width: 90%;
}

.heading-text {
	color: rgba(119,119,119,1);
	margin-top: 85px;
	padding: 0;
	text-align: center;
}

.heading-text h3 {
	margin: 0 0 30px 0;
}

.body-text {
	color: rgba(119,119,119,1);
	margin: 0;
	padding: 0;
}

.body-text li {
	line-height: 1.75;
}

.headingbox {
	display: flex;
    justify-content: center;
    align-items: center;
	width: 100%;
	z-index: 9000;
	margin: 80px 0;
	overflow: hidden;
}

.subheader {
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  color: #666;
  width: 100%;
}

.subheader:before, .subheader:after {
  background-color: rgba(119,119,119,.4);
  content: '.';
  flex-grow: 1;
  height: 1px;
  position: relative;
  top: 0.66em;
}

.subheader:before {
	margin-right: 25px;
}

.subheader:after {
	margin-left: 25px;
}

.body-section {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	margin: 0 auto;
}

.chart {
	width: 50%;
	height: auto;
	margin: 0 auto;
	min-width: 300px;
}

#last-body-section {
	margin-top: 80px;
}

.reverse {
	flex-direction: row-reverse;
}

.flex-text {
	width: 60%;
	position: relative;
}

.flex-text h2 {
	margin-bottom: 25px;
}

.flex-text h3 {
	margin-bottom: 15px;
}

.flex-text:after {
	top: 40px;
    content: '';
    height: 2px;
    left: 0;
    position: absolute;
    width: 60px;
}

.ar-align:after {
	right: 0;
}

.flex-text.border-brown:after {
	background-color: #40301E;
}

.flex-text.border-yellow:after {
	background-color: #ffbc00;
}

.flex-text.border-blue:after {
	background-color: #056a87;
}

.flex-text.border-green:after {
	background-color: #376304;
}

.body-image {
   	height: 300px;
    width: 300px;
    border-radius: 50% 50%;
    border: 6px solid white;
       -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5);
-moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5);
box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5);
}

.regions {
	width: 70%;
}

.small-image {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 190px;
	height: 190px;
	border-radius: 50% 50%;
}

.small-image h2 {
	color: white;
}

#partners-image {
	background-image: url(../images/sanvicente.jpg);
	background-repeat: no-repeat;
    background-size: cover;
    background-position: 65% center;
}

#quality-image {
	background-image: url(../images/sanvicente2.jpg);
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#factory-image {
	background-image: url(../images/facility1.jpg);
	background-repeat: no-repeat;
    background-size: cover;
    background-position: -10px center;
}

#alhambra-image {
	background-image: url(../images/alhambra-min.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	backface-visibility: hidden;
}

#olivepic {
	background-image: url(../images/canena2-min.jpg);
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.list-wrap {
	margin: 0 auto;
	width: 50%;
}


#olive-list {
	margin-bottom: 40px;
}

table {
	border-collapse: collapse;
	width: 50%;
	padding: 0;
	margin: 100px auto 0 auto;
}

table th {
	padding: 0;
	margin: 0;
}

table .right-cell {
	text-align: right;
	flex-grow: 1;
}

table .left {
	text-align: left;
	flex-grow: 1;
}

table tr {
	border-bottom: 1px solid #ddd;
	color: rgba(119,119,119,1);
	display: flex;
}

table td {
	padding: 10px 10px;
}

#contact-header {
	font-size: 2em;
	margin: 100px 0 60px 0;
	color: #40301E;
}

form {
	width: 40%;
	margin: 0;
	color: rgba(119,119,119,1);
}

form input, form textarea {
	border: 2px solid rgba(119,119,119,.9);
	width: 100%;
	box-sizing: border-box;
	padding: 8px;
}

form, #submit {
	font-size: 16px;
}

form textarea {
	height: 15em;
}

form input:focus, form textarea:focus {
	outline: none;
	border-color: #ddd;
}

.half-width {
	width: 50%;
	float: left;
	box-sizing: border-box;
}

.contact-info-group label:nth-child(1) {
	padding-right: 5px;
}

.contact-info-group label:nth-child(2) {
	padding-left: 5px;
}

.contact-font-color {
	color: rgba (119,119,119,1);
}

label, label span {
	display: block;
}

label {
	margin-bottom: 20px;
}

label span {
	color: rgba(119,119,119,1);
}

#submit {
	width: 50%;
	border: none;
	background-color: rgba(119,119,119,1);
	color: white;
	cursor: pointer;
	margin-left: 25%;
	height: 3em;
}

#submit:hover {
	background-color: #ddd;
	color: rgba(119,119,119,1);
	border: 2px solid rgba(119,119,119,.9);
}

.map-container {
    position: relative;
   	padding: 0;
    height: 350px;
    width: 40%;
    overflow: hidden;
}

.map-container iframe,
.map-container object,
.map-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.foot-container {
	display: flex;
	justify-content: space-between;
	height: 130px;
	width: 100%;
	margin-top: 80px;
	padding-top: 15px;
	background-color: #D9DADB;
}

.foot-container * {
	line-height: 1.3;
	margin: 0;
}

.foot-container h3 {
	display: inline-block;
	font-size: 16px;
	font-weight: bold;
	color: rgba(119,119,119,1);
}

.foot-container p {
	font-size: 14px;
	color: rgba(119,119,119,1);
}

.foot-container h3, .foot-container p {
		margin-left: 10px;
	}

	.foot-container .small-heading {
		margin-right: 10px;
	}

#contact-page .foot-container {
	background-color: white;
	border-top: 1px solid #D9DADB;
}

@media screen and (min-width: 1500px) {
	.cycle-slideshow {
		max-height: 1000px;
	}
}

@media screen and (max-width: 1500px) {

	#top-nav {
		height: 70px;
	}

	.slide-caption h1 {
		font-size: 50px;
	}

	.slide-caption h4 {
		font-size: 20px;
	}

	.cycle-header h1 {
		font-size: 50px;
	}

	.cycle-header h4 {
		font-size: 25px;
	}

	.mouse-scroll .mouse {
	 	width: 39px;
	  	height: 39px;
	}

	.mouse-scroll .mouse .mouse-movement-up {
		border-right: 3px solid white; border-bottom: 3px solid white;
		width: 8px; height: 8px;
		top: 28%;
		left: 34%;
	}
}

@media screen and (max-width: 1200px) {

	table {
		width: 60%;
	}

	#top-nav {
		height: 65px;
	}

	.menu li {
		font-size: 14px;
	}

	.fixed-bg {
		height: 450px;
	}

}

@media screen and (max-width: 950px) {
	.body-image {
	   	height: 250px;
	    width: 250px;
		}

	.body-flex h4 {
    	margin: 65px 0 30px 0;
	}
}


@media (min-width: 801px) {
   #my-menu, #menubutton, #mobile-header, #nav-slide {
   		display: none !important;
   }

   #triangle {
   		display: none !important;
   }
 }

@media screen and (max-width: 800px) {

    #top-nav {
     	display: none !important;
   	}

   	 #top-nav img {
		display: none !important;
	}

	.menu-container {
		width: 65%;
	}

	.sub-properties {
		font-size: 10px;
	}

	.cycle-slideshow {
		margin-top: 45px;
		height: 65vh;
	}

	.cycle-header h1 {
		font-size: 45px;
	}

	.cycle-header h4 {
		font-size: 20px;
	}

	.header h3 {
		font-size: 35px;
	}

	.slide-header h3 {
		font-size: 2em;
	}

	.headingbox {
		margin: 50px 0;
	}

	.body-image, .small-image {
		margin: 0 auto;
	}

	.parallax {
		background-attachment: scroll;
	}

	.fixed-bg {
		height: 400px;
	}

	hr, .fixed-bg {
		margin: 65px auto;
	}

	table {
		margin: 65px auto 0 auto;
		width: 80%;
	}

	#body-slider {
    	margin: 65px auto 0 auto;
	}

	.heading-text {
		margin-top: 50px;
	}

	.flex-text {
		width: 100%;
	}

	.small-image, .body-image {
		margin-bottom: 30px;
	}

	#last-body-section, .foot-container {
		margin-top: 65px;
	}

	.list-wrap {
		margin: 20px 0 0 60px;
		width: 80%;
	}

	.list-wrap-ar {
		margin-right: 80px;
	}

	#contact-header {
		margin: 100px 0 60px 0;
	}

	form, .map-container {
		width: 100%;
	}

	.map-container {
		height: 150px;
		margin-bottom: 60px;
	}

}

@media screen and (max-width: 600px) {
    h1 {
		font-size: 30px;
	}

	h2 {
		font-size: 25px;
	}

	h3 {
		font-size: 22px;
	}

  h4 {
    font-size: 18px;
  }

  .cycle-header h1 {
  	white-space: normal;
  }

  .flex-text:after {
		top: 36px;
	 }

	.list-wrap {
		width: 90%;
		margin-left: 40px;
	}

	.subheader {
		font-size: 20px;
	}

	table {
		font-size: 14px;
	}

	#contact-header {
		font-size: 2em;
		margin: 90px 0 50px 0;
	}

	#oliveimage2 {
		background: url(../images/sevilla2-min.jpg);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: -80px center;
	}

	#oliveimage3 {
		background: url(../images/sierra2-min.jpg);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
	}

	#oliveimage {
		background-image: url(../images/olivo-min.jpg);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
	}

	#oliveimage5 {
		background-image: url(../images/olives2-min.jpg);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
	}

	#partners-image {
		background-image: url(../images/sanvicente-min.jpg);
		background-repeat: no-repeat;
	    background-size: cover;
	  background-position: 60% center;
	}

	#quality-image {
		background-image: url(../images/sanvicente2-min.jpg);
		background-repeat: no-repeat;
	    background-size: cover;
	    background-position: center center;
	}

	#factory-image {
		background-image: url(../images/facility1-min.jpg);
		background-repeat: no-repeat;
	    background-size: cover;
	    background-position: -10px center;
	}

	#serviceimage {
		background: url(../images/OAK4-min.jpg);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
	}

}

@media screen and (max-width: 430px) {

	 h1 {
		font-size: 25px;
	}

	h3 {
		font-size: 20px;
	}

	h4 {
    font-size: 16px;
	}

	h5 {
    font-size: 16px;
  }

  .cycle-header h1 {
		font-size: 35px;
	}

	.cycle-header {
  	padding: 5px 10px;
	}

	.mouse-scroll {
		bottom: 65px;
		width: 40px;
		height: 40px;
		border: 3px solid #FFF;
	}

	.mouse-scroll .mouse-movement-up {
		border-right: 3px solid white; border-bottom: 3px solid white;
		width: 9px; height: 9px;
	}

	.headingbox {
		margin: 40px 0;
	}

  .slide-caption h1 {
		font-size: 40px;
	}

  .header h3 {
		font-size: 30px;
	}

	.fixed-bg {
		height: 300px;
	}

	.body-image {
   	height: 200px;
    width: 200px;
	}

	.small-image {
		width: 160px;
		height: 160px;
	}

	.subheader:before {
  	margin-right: 15px;
	}

	.subheader:after {
  	margin-left: 15px;
	}

 	table {
		width: 90%;
	}

	.map-container {
		display: none;
	}

	form {
		margin-bottom: 5%;
	}

	.foot-container {
		height: 105px;
	}

	.foot-container h3 {
		font-size: 14px;
		margin-bottom: 2px;
	}

	.foot-container p {
		font-size: 12px;
		padding-bottom: 2px;
	}
}
