
#navmenu-button {
	position: fixed;
	top: -62px;
	left: 5px;
	width: 42px;
	height: 42px;
	padding: 10px;
	cursor: pointer;
	box-sizing: content-box;
	opacity: 0;
	z-index: 999;
	transition: .25s 0s all ease-in-out;
}
#navmenu-button.reveal {
	top: 10px;
	opacity: 1;
}

#navmenu-button div {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 50%;
	background-color: rgba(20, 20, 20, .9);
	box-shadow: 0 0 10px 10px rgba(20, 20, 20, .9);
	transition: .3s 0s transform ease-in-out;
}
#navmenu-button div span {
	position: absolute;
	display: block;
	left: 5%;
	width: 90%;
	height: 1px;
	opacity: 1;
	border-radius: 3px;
	background-color: rgb(242, 242, 242);
	transition: .25s 0s all ease-in-out, .2s 0s width ease-in-out;
}
#navmenu-button div span:nth-child(1) {
	top: 0;
}
#navmenu-button div span:nth-child(2) {
	top: 8px;
	left: 0;
	width: 100%;
}
#navmenu-button div span:nth-child(3) {
	top: 16px;
}
#navmenu-button.reveal div span {
	margin: 9px auto;
}
#navmenu-button.extend {
	top: 5px;
}
#navmenu-button.extend div {
	transform: rotateZ(180deg);
	background-color: transparent;
	box-shadow: none;
	/*transition: .4s 0s transform cubic-bezier(.5, -1, .5, 1);*/
}
#navmenu-button.extend div span {
	top: 10px;
	left: 5%;
	width: 80%;
	border-radius: 4px;
	/*transition: .3s 0s all cubic-bezier(.5, -1, .5, 1);*/
}
#navmenu-button.extend div span:nth-child(1) {
	left: 50%;
	top: 10px;
	opacity: 0;
	transform: rotateY(90deg);
}
#navmenu-button.extend div span:nth-child(2) {
	transform: rotateZ(-45deg);
}
#navmenu-button.extend div span:nth-child(3) {
	transform: rotateZ(-135deg);
}

#navmenu {
	position: fixed;
	z-index: 995;
	text-align: center;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#navmenu #nav-container {
	position: relative;
	width: 100%;
	top: 0;
}

.nav-top {
	width: 100vw;
	height: auto;
	overflow: hidden;
}

.nav-top #nav-container {
	left: 50%;
	transform: translateX(-50%);
	transition: .2s 0s padding ease-in-out;
	padding: 20px 0 0 0;
}
.nav-top #nav-mb {
	min-width: 768px !important;
}

.nav-top #nav-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(100% - 23px);
	background-color: var(--nav_bg1);
	z-index: -2;
	overflow: hidden;
} .ie .nav-top #nav-bg { background-color: rgb(8, 8, 8); }
.nav-top #nav-bg-fill {
	position: absolute;
	top: -40px;
	width: 100%;
	height: 0;
	border-radius: 50%;
	background-color: var(--nav_bg2);
	z-index: -1;
	transition: .2s 0s ease-in-out;
	transition-property: height, border-radius;
} .ie .nav-top #nav-bg-fill { background-color: rgb(255, 255, 255); }


.nav-top .reference {
	position: relative;
	padding-top: 15px;
	padding-bottom: 15px;
	font-size: 20px;
	color: var(--font_l);
	cursor: pointer;
	transition: .2s 0s ease-in-out;
	transition-property: color, font-size, padding;
} .ie .nav-top .reference { color: rgb(200, 200, 200); }

.nav-top .reference div {
	position: absolute;
	bottom: 0;
	left: 20%;
	width: 0;
	height: 1px;
	border: none;
	background-color: var(--theme2);
	transition: .2s 0s width ease-out;
} .ie .nav-top .reference div { background-color: rgb(220, 20, 60); }
.nav-top .reference:hover div {
	width: 60%;
}


.nav-top.nav-scrolled #nav-container {
	padding-top: 16px;
	transition: .4s 0s padding ease-in-out;
}

.nav-top.nav-scrolled #nav-bg-fill {
	height: 120px;
	border-radius: 0;
	transition: .3s 0s height ease-out, .3s 0s border-radius ease-in-out;
}

.nav-top.nav-scrolled .reference {
	font-size: 18px;
	color: var(--font_d);
	padding-top: 0;
	padding-bottom: 0;
} .ie .nav-top.nav-scrolled .reference { color: rgb(0, 0, 0); }

#nav-hr {
	position: relative;
	width: 100%;
	padding-bottom: 7px;
}

#nav-hr #ln {
	position: relative;
	width: calc(100vw + 20px);
	left: -10px;
	overflow: hidden;
}

#nav-hr .hr-cnt {
	float: left;
	width: calc(50% - 16px);
	height: 1px;
	margin: 16px 0;
	border: none;
	background-color: rgb(100, 100, 100);
}

#nav-hr .hr-img {
	float: left;
}

.nav-top #nav-hr .hr-img-fill {
	display: block !important;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -64px);
	width: 64px;
	height: 64px;
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgb(100, 100, 100);
	background-color: var(--nav_bg1);
	z-index: -3;
	transition: .3s 0s transform ease-in-out;
} .ie .nav-top #nav-hr .hr-img-fill { background-color: rgb(8, 8, 8); }
.nav-top.nav-scrolled #nav-hr .hr-img-fill {
	background-color: var(--nav_bg2);
	transform: translate(-50%, -25px);
} .ie .nav-top.nav-scrolled #nav-hr .hr-img-fill { background-color: rgb(255, 255, 255); }

#nav-logo {
	font-size: 28px;
	letter-spacing: 1px;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	color: transparent;
	text-shadow: 0 0 30px rgb(32, 32, 32);
}
.nav-hidden.extend #nav-logo {
	transition: 1s .3s text-shadow;
	text-shadow: 0 0 0 rgb(32, 32, 32);
}
.nav-top #nav-logo {
	display: none;
}


#nav-ext-bg {
	display: none;
	position: fixed;
	width: 100vw;
	height: 100vh;
	z-index: 990;
	background-color: rgba(0, 0, 0, .45);
}

.nav-hidden {
	top: 0 !important;
	width: 50vw;
	max-width: 600px;
	height: 100vh;
	overflow-y: auto;
	overflow-x: hidden;
	box-shadow: -2px 0 8px 2px rgb(0,0,0);
}

.nav-hidden #nav-container {
	min-height: 582px;
	height: 100%;
	padding: 82px 5px 40px 0;
}

@media only screen and (max-height: 582px) {
	.nav-hidden {
		overflow-y: scroll;
	}
	.nav-hidden #nav-container {
		padding-right: 0;
	}
}

.nav-hidden #nav-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--nav_bg3);
	z-index: -2;
	overflow: hidden;
} .ie .nav-hidden #nav-bg { background-color: rgba(14, 14, 14, .9); }
.nav-hidden #nav-bg-fill {
	display: none !important;
}



.nav-hidden #nav-hr .hr-cnt:nth-child(1) {
	background-color: rgba(0,0,0,0);
    background-image: linear-gradient(90deg, rgba(0,0,0,0) 20%, rgba(100,100,100,1) 50%);
}
.nav-hidden #nav-hr .hr-cnt:nth-child(3) {
	background-color: rgba(0,0,0,0);
    background-image: linear-gradient(270deg, rgba(0,0,0,0) 20%, rgba(100,100,100,1) 50%);
}
.nav-hidden #nav-hr .hr-img-fill {
	display: none;
}


.nav-hidden .reference {
	position: relative;
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 20px;
	color: var(--font_l);
	cursor: pointer;
	transition: .2s 0s ease-in-out;
	transition-property: color, font-size, padding;
} .ie .nav-hidden .reference { color: rgb(200, 200, 200); }

.nav-hidden .reference div {
	position: absolute;
	top: 10%;
	left: 0;
	width: 1px;
	padding: 0;
	margin: 0;
	height: 0;
	border: none;
	background-color: var(--theme2);
	transition: .2s 0s height ease-out;
} .ie .nav-hidden .reference div { background-color: rgb(220, 20, 60); }
.nav-hidden .reference:hover div {
	height: 80%;
}