/*@import url(http://fonts.googleapis.com/css?family=Alegreya+Sans:300,400,700);*/




/* ICON STYLES - ICON FROM: http://fontastic.me/
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.icon-up-open-big { display: inline-block; }

.icon-up-open-big:after {
  content: "a";
  font-size: 2.5em;
  display: block;
  -webkit-transform: rotateX(180deg);
          transform: rotateX(180deg);
  color: black;
  -webkit-transition: color .3s;
          transition: color .3s;
}

.icon-up-open-big:hover:after {
	color: white;	
}

.scroll-icon {
	position: absolute;
 	left: 50%;
  bottom: 30px;
  padding: 0 10px;
  	-webkit-transform: translateX(-50%);
  	        transform: translateX(-50%);
}



/* HELPER CLASSES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.l-left {
	float: left;
}

.l-right {
	float: right;
}

.end {
	margin-top: 30px;
	font-size: 3em;
	font-weight: 700;
	opacity: 0;
	-webkit-transform: translateY(300px);
	        transform: translateY(300px);
	-webkit-transition: opacity, -webkit-transform 1s;
	        transition: opacity, -webkit-transform 1s;
	        transition: opacity, transform 1s;
	        transition: opacity, transform 1s, -webkit-transform 1s;
	-webkit-transition-delay: 1s;
	        transition-delay: 1s;
}



/* RESET-GENERAL STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

* {
	margin: 0;
	padding: 0;
}

html {
}

body {
	color: black;
}

a1 {
	text-decoration: none;
	color: white;
}
a2 {
	text-decoration: none;
	color: white;
}
a {
	text-decoration: none;
	color: #ffffff;
}

ul, li {
	list-style-type: none;
}



/* NAV STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.header-top {
	background: rgba(0, 0, 0, .7);
	height: 70px;
	padding: 0 10px;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 12;
	box-sizing: border-box;
}

h1 {
	line-height: 70px;
	height: 70px;
}

h1 a {
	padding: 0 10px;
}

.toggle-menu1 {
	width: 50px;
	height: 50px;
	display: inline-block;
	position: relative;
	top: 25px;
}

.toggle-menu {
	width: 50px;
	height: 50px;
	display: inline-block;
	position: relative;
	top: 10px;
}

.toggle-menu i {
	position: absolute;
	display: block;
	height: 3px;
	background: white;
	width: 30px;
	left: 10px;
	-webkit-transition: all .3s;
	        transition: all .3s;
}

.toggle-menu i:nth-child(1) {
	top: 16px;
}

.toggle-menu i:nth-child(2) {
	top: 24px;
	/*top: 34px;*/
}

.toggle-menu i:nth-child(3) {
	top: 32px;
}

.open-menu i:nth-child(1) {
	top: 25px;
	-webkit-transform: rotateZ(45deg);
	        transform: rotateZ(45deg);
}

.open-menu i:nth-child(2) {
	background: transparent;
}

.open-menu i:nth-child(3) {
	top: 25px;
	-webkit-transform: rotateZ(-45deg);
	        transform: rotateZ(-45deg);
}

nav {
 	height: 0;
	opacity: 0;
	box-sizing: border-box;
	background: rgba(0, 0, 0, .7);
	position: fixed;
	top: 70px;
	width: 100%;
	webkit-transition: all 3s;
    transition: all 3s;
	overflow: hidden;
}

.open-menu ~ nav {
	opacity: 1;
 	padding: 0;
	z-index: 105;
	/*height: calc(90vh - 70px);*/
	/*height: calc(20vh - 70px);*/
	height: auto;
}

nav ul {
	padding: 0 10px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

nav li {
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
	border-color: #eeede1;
	border-right-style: solid;
	border-width: 2px;
	
}

nav li a {
	font-size: 18px;
	line-height: 1.2em;
	display: block;
	padding: 20px 13px 20px 13px;
	text-align: center;
	-webkit-transition: background .3s;
	        transition: background .3s;
}

ul {
	-webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 10px;

}


nav li:first-child, nav li:last-child{
	border-width: 0px;
}

nav li:nth-child(odd) ,
body.fp-viewing-fifthSection-1 #menu li:nth-child(5)  {
	/*background: #795932 ;*/
}

nav li:nth-child(even)  {
	/*background: #e3a35b;*/
}

nav li:nth-child(odd) :hover {
	/*background: #9e2f41;*/
}

nav li:nth-child(even) :hover {
	/*background: #c53c52;*/
}

nav li.active ,
body.fp-viewing-fifthSection-1 #menu li:last-child  {
  /*background: #453659;*/
  /*background:rgba(245,130,32,1);*/
}
nav li:hover a {
	color: #e5e5e5;
}  
nav li.active a {
	color: #0197e5;
}


/* SECTION STYLES - fullPage.js 
–––––––––––––––––––––––––––––––––––––––––––––––––– */

section { 
}

h2 {
	text-transform: lowercase;
	font-size: 4em;
	margin-bottom: 20px;
}

h3 {
	font-weight: 400;
	font-size: 2.8em;
}



/* SLIDENAV STYLES - fullPage.js 
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#fp-nav ul li a span, 
.fp-slidesNav ul li a span {
	background: #0197e5;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
}

#fp-nav ul li a.active span, 
.fp-slidesNav ul li a.active span, 
#fp-nav ul li:hover a.active span, 
.fp-slidesNav ul li:hover a.active span {
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	background: transparent;
	box-sizing: border-box;
	border: 2px solid #0197e5;
}



/* MQ STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen and (max-width: 767px) {
	nav ul {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		margin: 0;
	}
	nav li {
		margin-top: 1px;
		border-right-style: none;
		border-bottom-style: solid;
		padding: 10px;
	}
	nav li a {
		font-size: 1.5em;
	}
	.scroll-icon {display: none;}
	#fp-nav {display: none;}
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
	html {
		font-size: 50%;
	}
	nav li a {
		padding: 3px;
	}
}