html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
	margin: 0 auto;
	font-family: "trebuchet MS",helvetica,sans-serif;
	min-width: 290px;
	background-color: white;
	width: 100%;
}

.outer-container {
	margin: 0 auto;
	max-width: 1600px;
  width: 90%;
}

.body-container {
	margin: 0;
}

@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome-webfont.eot?v=4.6.2');
  src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.6.2') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.6.2') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.6.2') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.6.2') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.6.2#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa-caret-right:before {
  content: "\f0da";
}

.fa-caret-left:before {
  content: "\f0d9";
}

a {
  	text-decoration: none;
  	color: inherit;
}

p {
	line-height: 1.5;
	color: #777;
	margin: 0;
}

.ar-text p {
	font-size: 18px;
	line-height: 1.75;
}

hr {
	color: #ddd;
	background-color: #ddd;
	height: 1px;
	margin: 130px auto;
	border: none;
	width: 100%;
	max-width: 1600px;
}

.hr-mini {
	color: white;
	background-color: white;
	height: 1px;
	text-align:center;
	margin: 20px auto;
	border: none;
	width: 70px;
}

#headbox {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100vh;
	width: 100%;
	transition: height 999999s;
	transition-delay: 999999s;
}

img {
	max-width: 100%;
	height: auto;
}

#nasdek-logo {
	width: 38%;
	min-width: 220px;
	max-width: 550px;
	margin: auto 0;
	backface-visibility: hidden;
}

#img-container-ar {
	position: absolute;
}

#scroll-triangle {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 28px; height: 28px;
	background-color: rgba(119,119,119,.9);
	border-radius: 50%;
	margin-bottom: 14vh;
	z-index: 0;
	opacity: 0;
}

#triangle {
	display: inline-block;
	margin-bottom: 4px;
	border-right: 4px solid white; border-bottom: 4px solid white;
	width: 8px; height: 8px;
	transform: rotate(45deg);
	z-index: 0;
}

.menu-container {
	width: 100%;
	height: 30px;
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 60px;
	opacity: 0;
	position: relative;
}

.menu {
	display: flex;
	justify-content: space-around;
	height: 30px;
	text-align: center;
	width: 100%;
	padding: 0;
	margin: 0;
}

.small-heading {
	font-size: 16px;
	font-weight: bold;
	color: #777;;
}

.bar-effect {
	display: inline-block;
	width: 15%;
	height: 30px;
	overflow: hidden;
}

.effect-link {
	display: block;
	height: 30px;
	text-shadow: none;
	line-height: 1;
	border-bottom: 4px solid #40301E;
	-webkit-transition: all .15s ease-in-out;
	-moz-transition: all .15s ease-in-out;
	transition: all .15s ease-in-out;
}

.bar-effect:hover .effect-link {
	height: 26px;
	color: #40301E;
}

.bar-effect.active .effect-link {
	height: 26px;
	color: #40301E;
}

.sub-properties {
	display: block;
	display: none;
	position: absolute;
	width: 15%;
	height: 100px;
	bottom: 0;
	margin-bottom: 50px;
	background-color: white;
}

.submenu-lang ul {
	margin: 0px;
	padding: 0px;
	height: 100%;
	list-style: none;
}

.submenu-lang li {
	width: 100%;
	padding: 0;
	height: 40%;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid #e5e5e5;
}

.submenu-lang a {
	line-height: 40%;
}

.submenu-lang a:hover {
	color: #40301E;
	border-color: #40301E;
}

.click-jump:active {
	margin-top: 3%;
	transition: all .15s ease-in-out;
}

.cycle-slideshow {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 650px;
	position: relative;
	overflow: hidden;
}

#olive-pic {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background-image: url(../images/sevilla10-comp.jpg);
	background-size: cover;
	background-position: center;
}

#alhambra-pic {
	position: absolute;
	top: -3px;
	bottom: -3px;
	right: -3px;
	left: -3px;
	background-image: url(../images/alhambra-garden-comp.jpg);
  background-size: cover;
	background-position: center center;
}

.parallax {
	background-attachment: fixed;
}

.caption {
	text-align: center;
	max-width: 800px;
	width: 80%;
}

.caption h1 {
	color: #fff;
	font-size: 2.8em;
	font-weight: bold;
	line-height: 1.25;
	margin: 0;
}

.caption p {
	width: 100%;
	text-align: center;
	line-height: 1.25;
	font-size: 1.5em;
	color: #fff;
	font-weight: bold;
}

.body-margin {
	margin: 130px auto;
}

.headingbox {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 100%;
}

.subheader {
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  color: rgba(119,119,119,1);
  width: 100%;
  margin: 0;
}

.subheader:before, .subheader:after {
  background-color: #ddd;
  content: '\a0';
  flex-grow: 1;
  height: 1px;
  position: relative;
  top: 0.66em;
}

.subheader:before {
  margin-right:40px;
}
.subheader:after {
  margin-left:40px;
}

.list-container {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
}

.cell {
	width: 22%;
	position: relative;
}

.cell:after {
	top: 35px;
	content: '';
	height: 2px;
	left: 0;
	position: absolute;
	width: 60px;
}

.ar-align:after {
	right: 0;
}

.cell.border-brown:after {
	background-color: #40301E;
}

.cell.border-yellow:after {
	background-color: #ffbc00;
}

.cell.border-blue:after {
	background-color: #056a87;
}

.cell.border-green:after {
	background-color: #376304;
}

.cell h4 {
	font-size: 20px;
	color: #666;
	margin: 0 0 40px 0;
}

.button-container {
	margin-top: 130px;
	text-align: center;
}

.button, a.button {
	 background: #056a87;
	 border: none;
	 border-radius: 2px;
	 color: #fff;
	 display: inline-block;
	 font-size: 16px;
	 height: 45px;
	 letter-spacing: .5px;
	 line-height: 45px;
	 padding: 0 24px;
	 text-decoration: none;
	 text-transform: uppercase;
	 white-space: nowrap;
	 transition: background .2s ease;
}

.button:hover, .button:focus, a.button:hover, a.button:focus {
    background: #0884a7;
}

.inner-wrap {
	display: flex;
	align-items: flex-start;
	justify-content: space-around;
	width: 90%;
	max-width: 1600px;
	flex-wrap: wrap;
	margin: 50px auto 0 auto;
}

#olive-container {
	width: 100%;
	text-align: center;
	margin: 0;
}

#top-wrap {
	margin: 0 auto;
	text-align: center;
	width: 90%;
}

#top-wrap h2 {
	color: #666;
}

#top-wrap p {
	max-width: 900px;
}

#top-wrap h2, #top-wrap p {
	margin: 0 auto 50px auto;
}

.inner-wrap span {
	font-size: 1.5em;
	color: #666;
	font-weight: bold;
}

.inner-wrap div {
	width: 20%;
}

.inner-wrap .text-margin {
	margin: 0 0 20px 0;

}

#olive-container #learn-button {
	color: #056a87;
	text-transform: uppercase;
	font-weight: bold;
	margin: 0 auto;
	width: 120px;
}

#olive-container #learn-button a:hover {
	color:#0884a7;
}

#olive-container #learn-button:hover > .fa-caret-right {
	color:#0884a7;
	animation: fadeOutRight 1.5s infinite;
}

#olive-container #learn-button:hover > .fa-caret-left {
	color:#0884a7;
	animation: fadeOutLeft 1.5s infinite;
}

.foot-container {
	display: flex;
	justify-content: space-between;
	height: 130px;
	width: 100%;
	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;
	}

@media screen and (max-width: 1500px) {

	.cycle-slideshow {
		height: 450px;
	}

	.body-margin, hr {
		margin: 100px auto;
	}

	.button-container {
		margin-top: 100px;
	}

	.caption h1 {
		font-size: 2.3em;
	}

}

@media screen and (max-width: 1200px) {
	.cell {
		width: 45%;
	}

	#cell3, #cell4 {
		margin-top: 50px;
	}
}

@media screen and (max-width: 1100px) {
	.inner-wrap div {
		width: 40%;
	}

	.margin-top {
		margin-top: 50px;
	}

	.body-margin {
		margin: 100px 0;
	}

	.button-container {
    	margin-top: 100px;
	}

}

@media (min-width: 801px) {
  #my-menu, #menubutton, #mobile-header, #nav-slide {
  	display: none !important;
  }

  #triangle, #scroll-triangle {
  	display: none !important;
  }
 }

@media screen and (max-width: 800px) {

	.inner-wrap span {
		font-size: 1.3em;
	}

  #logo {
		top: 13px;
	}

	#img-container p {
		font-size: 17px;
		margin: -17px 0px 0px 6px;
	}

	.menu-container {
    display: none !important;
  }

	.submenu {
		margin-bottom: 6%
	}

	.submenu-lang {
		margin-bottom: 5%;
	}

	.caption h1 {
		font-size: 2.1em;
	}

	.caption p {
		font-size: 1.3em;
	}

	.body-margin, hr {
		margin: 80px auto;
	}

	.button-container {
		margin-top: 80px;
	}

	.parallax {
		background-attachment: scroll;
	}

	#olive-container {
		height: auto;
	}

	#olive-container h1 {
		font-size: 30px;
		padding: 0;
	}

    #slidertext h3 {
    	font-size: 1.3em;
    }

}

@media screen and (max-width: 600px) {
	#scroll-triangle {
		width: 24px; height: 24px;
	}

	#triangle {
    margin-bottom: 4px;
    border-right: 3px solid white; border-bottom: 3px solid white;
    width: 7px; height: 7px;
	}

	.body-container {
		margin: 0px;
	}

	.body-margin, hr {
		margin: 70px 0;
	}

	.button-container {
    	margin-top: 70px;
	}

	.caption {
  	margin: 0 40px;
	}

	.cell {
		width: 100%;
	}

	#cell2, #cell3, #cell4 {
		margin-top: 45px;
	}

	#olive-container h1 {
		font-size: 30px;
	}

	#slidertext h3 {
    	font-size: 1.1em;
    }

    #olive-pic {
		background-image: url(../images/sevilla10-min.jpg);
		background-size: cover;
		background-position: center;
	}

	#alhambra-pic {
		background-image: url(../images/alhambra-garden-min.jpg);
	  	background-size: cover;
		background-position: center;
	}

	.button, a.button {
	    font-size: 15px;
	    height: 35px;
	    line-height: 35px;
	    padding: 0 16px;
	}

}

@media screen and (max-width: 430px) {
	h2, .inner-wrap span {
		font-size: 1.3em;
	}

  	p {
  		font-size: 15px;
  	}

  	.hr-mini {
  		width: 50px;
  	}

  	.cycle-slideshow {
		height: 400px;
	}

  	#olive-container h1 {
		font-size: 20px;
	}

    .cycle-pager span {
		width: 6px;
		height: 6px;
	}

	.subheader:before {
	  margin-right: 15px;
	}

	.subheader:after {
	  margin-left: 15px;
	}

	#img-container p {
		font-size: 16px;
		margin: -16px 0px 0px 4px;
	}

	.caption h1 {
		font-size: 1.8em;
	}

	.caption p {
		font-size: 1.1em;
	}

	.cell h4 {
		margin: 0 0 30px 0;
		font-size: 18px;
	}

	.cell:after {
		top: 30px;
	}

	.body-margin, hr {
		margin: 65px auto;
	}

	.button-container {
		margin-top: 65px;
	}

	.small-heading {
		font-size: 18px;
	}

	.foot-container {
		height: 105px;
	}

	.foot-container h3 {
		font-size: 14px;
		margin-bottom: 2px;
	}

	.foot-container p {
		font-size: 12px;
		padding-bottom: 2px;
	}
}

@media screen and (max-width: 380px) {

}
