body {
	padding-top: 3.5em;
}

#header {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-justify-content: space-between;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
	background-color: rgba(255,255,255,0);
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 9999;
    border-bottom: 1px solid rgba(40, 50, 62, 0.07);
    height: 90px;
}

#header.landing {
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

#header a {
	color: inherit;
	text-decoration: none;
}

#header ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

#header ul li {
	display: inline-block;
	padding-left: 0;
}

#header h1 a {
	font-size: 1rem;
}

#header .links {
	-moz-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	height: inherit;
	line-height: inherit;
	margin-left: 1.5em;
	overflow: hidden;
	padding-left: 1.5em;
}

#header .links ul li {
	border-left: solid 1px rgba(160, 160, 160, 0.3);
	line-height: 1;
	margin-left: 1em;
	padding-left: 1em;
}

#header .links ul li:first-child {
	border-left: 0;
	margin-left: 0;
	padding-left: 0;
}

#header .links ul li a {
	border-bottom: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 0.7em;
	font-weight: 400;
	letter-spacing: 0.25em;
	text-transform: uppercase;
}

#header .main {
	height: inherit;
	line-height: inherit;
	text-align: right;
}

#header .main ul {
	height: inherit;
	line-height: inherit;
}

#header .main ul li {
	border-left: solid 1px rgba(160, 160, 160, 0.3);
	height: inherit;
	line-height: inherit;
	white-space: nowrap;
}

#header .main ul li > * {
	display: block;
	float: left;
}

#header .main ul li > a {
	text-decoration: none;
	border-bottom: 0;
	
	overflow: hidden;
	position: relative;
	text-indent: 4em;
	width: 4em;
}

#header .main ul li > a:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-transform: none !important;
}

#header .main ul li > a:before {
	display: block;
	height: inherit;
	left: 0;
	line-height: inherit;
	position: absolute;
	text-align: center;
	text-indent: 0;
	top: 0;
	width: inherit;
}

#header form {
	margin: 0;
}

#header form input {
	display: inline-block;
	height: 2.5em;
	position: relative;
	top: -2px;
	vertical-align: middle;
}

#header #search {
	-moz-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
	max-width: 0;
	opacity: 0;
	overflow: hidden;
	padding: 0;
	white-space: nowrap;
}

#header #search input {
	width: 12em;
}

#header #search.visible {
	max-width: 12.5em;
	opacity: 1;
	padding: 0 0.5em 0 0;
}

@media screen and (max-width: 980px) {

	#header .links {
		display: none;
	}
}

@media screen and (max-width: 736px) {
	#header {
		height: auto;
		line-height: 2.75em;
	}

	#header h1 {
		padding: 0 0 0 1em;
	}

	#header .main .search {
		display: none;
	}
}

/* MENU --------------------------------------------------------------------------------------- */

#menu {
	-moz-transform: translateY(100%);
	-webkit-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	-moz-transition: -moz-transform 1.5s ease, visibility 1.5s;
	-webkit-transition: -webkit-transform 1.5s ease, visibility 1.5s;
	-ms-transition: -ms-transform 1.5s ease, visibility 1.5s;
	transition: transform 1.5s ease, visibility 1.5s;
	-webkit-overflow-scrolling: touch;
	background: rgba(29, 36, 45, 0.98);
	box-shadow: none;
	height: 100%;
	max-width: 100%;
	overflow-y: auto;
	position: fixed;
	right: 0;
	top: 0;
    bottom: 130px;
	visibility: hidden;
	width: 100%;
	z-index: 9999;
}

#menu::-webkit-scrollbar {
    width: 1rem;
}
 
#menu::-webkit-scrollbar-track {
    -webkit-box-shadow: 0;
    background-color: #232323;
}
 
#menu::-webkit-scrollbar-thumb {
    background-color: rgba(160, 160, 160, 0.3);
    outline: 1px solid rgba(160, 160, 160, 0.3);
}

#menu > * {
	padding: 3em 10%;
}

#menu > * > :last-child {
	margin-bottom: 0;
}

#menu > :first-child {
	border-top: 0;
/*    background: #1d242d;*/
}

@keyframes is-menu-visible {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-moz-keyframes is-menu-visible { /* Firefox */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-webkit-keyframes is-menu-visible { /* Safari and Chrome */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-o-keyframes is-menu-visible { /* Opera */
    from {
        opacity:0;
    }
    to {
        opacity: 1;
    }
}

#menu .links {
	list-style: none;
	padding: 0;
}

#menu .links > li {
	border: 0;
	margin: 0 0 25px 0;
	padding: 0;
    min-height: 118px;
    
    position: relative;
}

@media (max-width: 992px) {
    #menu .links > li {
        margin: 0 0 6px 0;
        min-height: 50px;
    }
}

#menu .links > li a {
	display: block;   
    width: 100%;
    min-height: inherit;
    border: 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
}

#menu .links > li a h3 {
	-moz-transition: color 0.2s ease;
	-webkit-transition: color 0.2s ease;
	-ms-transition: color 0.2s ease;
	transition: color 0.2s ease;
	font-size: 1rem;
	font-weight: 500;
	color: #FFF;
    
    text-align: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    right: 20px;
}

#menu .links > li a p {
	font-family: 'Roboto', sans-serif;
	font-size: 0.6em;
	font-weight: 400;
	letter-spacing: 0.25em;
	margin-bottom: 0;
	text-decoration: none;
	text-transform: uppercase;
}

#menu .links > li a:hover {
	background: #5ec39f;
    transition: 1s cubic-bezier(0.18, 1, 0.21, 1);
}

#menu .links > li a:hover h3 {
    font-size: 1.05rem;
    transition: 1s cubic-bezier(0.18, 1, 0.21, 1);
}

#menu .links > li:first-child {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}

body.is-menu-visible {
/*    overflow-y: hidden;*/
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
}

body.is-menu-visible #menu {
	-moz-transform: translateX(0);
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
	visibility: visible;
}

.mod-download {
    padding: 0 10% 180px !important;
}

@media screen and (max-width: 736px) {
	#menu > * {
		padding: 1.5em;
	}
}

#close-button {
    color: #FFF;
    border: 0;
    font-size: 2rem;
    text-align: center;
    display: block;
}

#close-button:hover {
    color: #5ec39f !important;
}