
/* ------------------------- Logo -------------------------------------------------- */

.logo {
    position: absolute;
	 left: 35px;
	 top: 40%;
	 transform: translate(0, -35%);
	 z-index: 8;
}

@media screen and (max-width: 1000px){
	.logo {
		left: 70px;
  }
}

/* ------------------------- Navitation -------------------------------------------------- */

.navigation-bar {
	position: fixed;
	width: 100%;
	transform: translate(-50%, 0%);
	left: 50%;
	height: 101px;
	z-index: 7;
	background: #fff;
	border-bottom: 1px solid #E6E9EC;
}

.navigation-bar.scrolled {
	box-shadow: 0 0 10px rgba(0,0,0,.05);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,.05);
	border-bottom: 1px solid #E6E9EC;
	height: 81px;
}

nav {
	position: fixed;
	left: 50%;
	top: 0px;
	transform: translate(-50%, 0);
	z-index: 7;
}

nav ul {
	height: 100%;
	display: inline-block;
}

nav ul li {
	float: left;
	height: 100%;
}

nav.scrolled ul li a {
	padding: 25px 20px;
}

nav ul li a {
	float: left;
	line-height: 30px;
	padding: 35px 20px;
	color: #6A7076;
	font-family: 'Silka-Medium', sans-serif;
	font-size: 15px;
}

nav ul li.active a {
	font-family: 'Silka-SemiBold', sans-serif;
	color: #292C30;
}

nav ul li a:hover {
	background: #f2f4f5; 
}

body#applications .navigation-bar, body#applications .navigation-bar.scrolled {
	display: none;
}

body#applications nav, body#applications nav.scrolled {
	display: none;
}

nav ul li a .resources-number {
	background: #8d949a;
	line-height: 20px;
	height: 20px;
	padding: 0 7px;
	color: #fff;
	font-size: 12px;
	border-radius: 7px;
	font-family: 'Silka-Bold', sans-serif;
	margin-top: 5px;
	margin-left: 2px;
	position: relative;
	display: inline-block;
}

nav ul li.active a .resources-number, nav ul li a:hover .resources-number {
	background: rgb(157, 6, 187);
}

@media screen and (max-width: 1300px){
	.navigation-bar {
		height: 81px;
	}
	
	.navigation-bar.scrolled {
		height: 80px;
	}

	nav ul li a {
		padding: 25px 20px;
	}
}

@media screen and (max-width: 1000px){
	nav {
		position: fixed;
		left: 50%;
		top: 80px;
		transform: translate(-50%, -100%);
		background: #fff;
		width: 100%;
		overflow: hidden;
		text-align: center;
		z-index: 6;
	}

	nav ul {
		display: inline-block;
		text-align: center;
		width: 100%;
		padding: 30px 0;
	}

	nav ul li {
		float: left;
		height: auto;
		width: 100%;
		height: 60px;
	}

	nav ul li a, nav.scrolled ul li a {
		float: none;
		height: 60px;
		display: inline-block;
		padding: 15px 20px;
		border-radius: 10px;
		font-size: 17px;
	}

	body#applications nav, body#applications nav.scrolled {
		display: block;
		transform: translate(-50%, -100%);
		top: -80px;
	}

	nav.active, body#applications nav.active {
		top: 80px;
		transform: translate(-50%,0);
	}

	nav ul li a .resources-number {
		transform: translate(0, -1px);
		background:rgb(157, 6, 187) ;
	}

}

/* ------------------------- Black Overlay -------------------------------------------------- */

.black-overlay {
	visibility: hidden;
	opacity: 0;
}

@media screen and (max-width: 1000px){
	.black-overlay {
		position: fixed;
		left: 0;
		top: 0;
		height: 100%;
		width: 100%;
		background: rgba(41, 44, 48, 0.9);
		z-index: 6;
		visibility: hidden;
		opacity: 0;
	}

	body.active .black-overlay {
		visibility: visible;
		opacity: 1;
	}
}

/* ------------------------- Nav Icon -------------------------------------------------- */

.nav-icon {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 80px;
	height: 80px;
	cursor: pointer;
	z-index: 8;
	display: none;
 }

 body#applications .nav-icon {
	 position: absolute;
 }

 body#applications.active .nav-icon {
	position: fixed;
}
 
 .hamburger-bar {
	width: 20px;
	height: 2px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #616B75;
 }
 
 .hamburger-bar:before,
 .hamburger-bar:after
 {
	content: '';
	position: absolute;
	width: 20px;
	height: 2px;
	background: #616B75;
 }
 
 .hamburger-bar:before {
	transform: rotate(0deg) translate(0px,-6px);
 }
 
 .hamburger-bar:after {
	 transform: rotate(0deg) translate(0px,6px);
 }
 .nav-icon.active .hamburger-bar {
	background: rgba(0, 0, 0, 0);
 }
 
 .nav-icon.active .hamburger-bar:before {
	transform: rotate(-45deg) translate(0px,0px);
 }
 
 .nav-icon.active .hamburger-bar:after {
	transform: rotate(45deg) translate(0px,0px);
 }

 @media screen and (max-width: 1000px){
	.nav-icon {
		display: block;
  }
}



/* ------------------------- Submit -------------------------------------------------- */

.navigation-bar .submit, .footer .submit {
	color: rgb(157, 6, 187);
	font-family: 'Silka-SemiBold', sans-serif;
	font-size: 15px;
	line-height: 30px;
	height: 50px;
	position: absolute;
	right: 25px;
	top: 50%;
	transform: translate(0, -50%);
	padding: 10px 10px 10px 15px;
	background: #fff;
	border-radius: 15px;
}

.navigation-bar .submit:hover, .footer .submit:hover {
	background: #f2f4f5;
}
.navigation-bar .submit .plus, .footer .submit .plus {
	width: 30px;
	height: 30px;
	border-radius: 10px;
	float: right;
	margin-left: 8px;
	background: rgb(157, 6, 187) url("../svg/icon-plus.svg") center center no-repeat;
}

@media screen and (max-width: 1000px){
	.navigation-bar .submit, .footer .submit {
		right: 20px;
	}
}

/* ------------------------- Animations -------------------------------------------------- */

.navigation-bar, a, .nav-icon, .hamburger-bar, .hamburger-bar:before, .hamburger-bar:after, nav, .black-overlay, .resources-number {
	-webkit-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
  	-ms-transition: all .25s ease-in-out;
  	-o-transition: all .25s ease-in-out;
  	transition: all .25s ease-in-out;
 }
