@font-face {
	font-family: 'AvenirLight';
	src: url('../fonts/AvenirLTStd-Book.woff') format('woff');
}
@font-face {
	font-family: 'AvenirBold';
	src: url('../fonts/AvenirLTStd-Heavy.woff') format('woff');
}
html, body {
    font-family: 'AvenirLight';
    font-weight: 200;
}
html, body, ul, div, img, h1, a, li {
	padding:0;
	margin:0;
}


/*---HEADER---*/
* {
	transition: all 0.2s;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.logo {
	height: 68px;
	width: auto;
}

.mobile-menu {
	display: none;
	transition: all 1s;
	opacity: 0;
}
.header {
	z-index: 100;
  background-color: rgba(255,255,255, .8);
  display: block;
	width: calc(100%);
	position: fixed;
	top: 0;
	padding: 15px 36px;
	box-sizing: border-box;
	border-bottom-color: #ebf5fb;
}

.header ul {
	float:right;
	margin-top:29px;
}
.header li {
	list-style-type: none;
	display: inline-block;
	margin-left: 67px;
	padding-bottom: 10px;
}
.header a {
	font-family: "AvenirBold";
	font-size: 23px;
	text-decoration: none;
	color: #6C6C6C;
	display: inline-block;
	margin-bottom: -10px;
}

/*---SCROLL---*/
.scroll .logo{
	height: 45px;
}

.scroll{
	padding: 12px 33px;
	width: calc(100%);
	/* border-bottom: solid 2px #ebf5fb; */
}

.scroll > ul {
	margin-top: 14px;
}

.scroll a {
	font-size: 19px;
}

.scroll li {
	margin-left: 55px;
}

.scroll .underline {
	box-shadow: 0 2px #A9A9A9;
}

/*---MOBILE-MENU---*/
.menu-btn {
	display: none;
	position: static;
	margin: 14px 0 0 0;
	cursor: pointer;
	float: right;
}

.menu-btn span {
	 display: block;
	 width: 19px;
	 height: 3px;
	 margin: 4px 0;
	 background: #6f787b;
	 z-index: 99;
}

.mobile-menu {
	z-index: 99;
	position: fixed;
	width: 100%;
	background-color: #6f787b;
	opacity: 1;
	animation: menu-down .25s ease-out;
	top: 75px;
	display: none;
	padding: 5px 0;
}

.mobile-menu a {
	display: block;
	color: white;
	text-align: right;
	padding: 20px;
	font-family: "AvenirBold";
	font-size: 22px;
	text-decoration: none;

}

.expand {
	display: block;
}

/*---MOBILE---*/
@media screen and (max-width: 700px) {
	/*---HEADER---*/
	.header {
		padding: 16px 30px;
		width: calc(100%);
	}
	.logo {
	  height: 50px;
		vertical-align: bottom;
	}

	.header > ul {
		margin-top: 21px;
	}

	.header li {
		list-style-type: none;
		display: inline-block;
		margin-left: 40px;
		padding-bottom: 6px;
	}
	.header a {
		font-size: 20px;
		text-decoration: none;
		color: #6C6C6C;
		margin-bottom: 0;
	}

}
@media screen and (max-width: 480px) {
	.header {
		padding: 13px 20px;
	}
	.header > ul {
		display: none;
	}
	.menu-btn {
		display: inline-block;
	}
}
@media screen and (min-width: 480px) {
	.expand {
		display: none;
	}
}

@keyframes menu-down {
    from {
        transform:translateY(-272px);
    }
    to {
        transform: translateY(0px);
    }
}

.underline {
	box-shadow: 0 3px #A9A9A9;
	display: inline-block;
	z-index: -1;
	vertical-align: middle;
	transform: translateZ(0);
}

.hvr-underline-from-center {
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	overflow: hidden;
}
.hvr-underline-from-center:before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	right: 50%;
	bottom: 0;
	background: #A9A9A9;
	height: 3px;
	-webkit-transition-property: left, right;
	transition-property: left, right;
	-webkit-transition-duration: 0.25s;
	transition-duration: 0.25s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}
.hvr-underline-from-center:hover:before, .hvr-underline-from-center:focus:before, .hvr-underline-from-center:active:before {
	left: 0;
	right: 0;
}
