/* 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: bold;
	opacity: 0;
	-webkit-transform: translateY(300px);
	    -ms-transform: translateY(300px);
	        transform: translateY(300px);
	-webkit-transition: opacity, -webkit-transform 1s;
	        transition: opacity, transform 1s;
	-webkit-transition-delay: 1s;
	        transition-delay: 1s;
}



/* RESET-GENERAL STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*a {
	text-decoration: none;
	color: white;
}*/

ul, li {
	list-style-type: none;
}



/* NAV STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.header-top {
	background: transparent;
	height: 70px;
	padding: 10px 0;
	position: fixed;
	top: 0;
	width: 100%;
	max-width: 90%;
	margin: auto;
	z-index: 12;
	box-sizing: border-box;
	font-family: 'Avenir-Black', sans-serif;
}
.toggle-menu {
	width: 50px;
	height: 50px;
	display: inline-block;
	position: relative;
	top: 10px;
}

.toggle-menu i {
	position: absolute;
	display: block;
	height: 2px;
	background: white;
	width: 30px;
	left: 10px;
	-webkit-transition: all .1s;
	        transition: all .1s;
}

.toggle-menu i:nth-child(1) {
	top: 16px;
}

.toggle-menu i:nth-child(2) {
	top: 24px;
}

.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;
}
.header-white .open-menu i:nth-child(2) {
	background: transparent!important;
}
.header-color .open-menu i:nth-child(2) {
    background: transparent!important;
}

.open-menu i:nth-child(3) {
	top: 25px;
	-webkit-transform: rotateZ(-45deg);
	        transform: rotateZ(-45deg);
}
/*.header-white nav li.active a,
.header-white body.fp-viewing-fifthSection-1 #menu li:last-child a {
    text-decoration:underline;
}
.header-color nav li.active a,
.header-color body.fp-viewing-fifthSection-1 #menu li:last-child a {
    text-decoration:underline;
}*/
nav {
	height: 0;
	opacity: 0;
	box-sizing: border-box;
	/*background: rgba(0,0,0,0.7);*/
	position: fixed;
	top: 70px;
	width: 100%;
	-webkit-transition: all 1s;
	transition: all 1s;
	display: flex;
	justify-content: center;
	align-items: center;
}
.logotipo {
	opacity:0;
	-webkit-transition:.5s;
	-moz-transition:.5s;
	-o-transition:.5s;
	-ms-transition:.5s;
	transition:.5s;
}

.logo:hover .logotipo {
	opacity:1;

}
.header-white .open-menu ~ nav {
	position: absolute;
	opacity: 1;
	padding: 20px 0;
	z-index: 110;
	height: calc(100vh);
	top: 0;
    background: rgba(0,0,0,1);
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 15px;

}
.header-color .open-menu ~ nav {
    position: absolute;
    opacity: 1;
    padding: 20px 0;
    z-index: 110;
    height: calc(100vh);
    top: 0;
    background: rgba(225,225,225,1);
}
.header-color .open-menu ~ nav  a,
.header-color .open-menu ~ nav  a:hover,
.header-color .open-menu ~ nav  a.active{
    color: #424143;
}

nav li a {
	color: #fff;
	font-size: 2em;
	display: block;
	/*padding: 25px;*/
	padding: 17px 25px;
	text-align: center;
	-webkit-transition: background .1s;
	        transition: background .1s;
}
nav li a:hover{
	color: #fff;
}


/* MQ STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen and (max-width: 767px) {
	nav ul {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}

	nav li {
		margin-top: 1px;
	}
  
  nav li a {
    font-size: 1.5em;
  }
  
  .scroll-icon {
    display: none;
  }
}

@media screen and (max-width: 400px) {
  .open-menu ~ nav {
		padding: 20px 0;
	}

	nav li a {
		padding: 3px;
	}
}
@media screen and (max-width: 765px) {
	.navbar-default .navbar-collapse, .navbar-default .navbar-form {
		background: rgba(0,0,0,0.7);
		border: none;
	}
	.navbar-default .navbar-nav>li>a {
		color: #fff;
	}
	nav {
		height: 70px;
		padding: 10px 0;
		opacity: 1;
		/*background: rgba(0,0,0,0.7)!important;*/
		z-index: 999999!important;
	}
	nav li a {
		padding: 0 12px;
	}
	.navbar-nav {
		margin: 15px -15px!important;
	}
	.navbar-nav>li>a {
		padding-top: 13px;
		padding-bottom: 13px;
	}
	.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
		max-height: 508px;
	}
}