#menu a:active, a:visited, a:link{
	color: var(--c_white);
}
#menu li{
	list-style-type:none;
}
#menu a {
	display:block;
	text-decoration:none;
	font-size: 1rem;
}

#menu ul:hover li{
	text-shadow: var(--c_white) 0 0 4px;
	transition: text-shadow 0.1s ease; 
}

#menu ul:hover a{
	color:transparent;
	transition: color 0.2s ease-in-out;
}
#menu ul li:hover{
	text-shadow: none; 		
}

#menu ul a:hover{ 
	color: var(--c_tert);
}	
.lock {
	transform:translate(0,3px);
	height:18px;
	width:18px;
	margin-left:6px;

	filter: invert(1) sepia(0) saturate(100%) hue-rotate(0deg) brightness(1) contrast(1) blur(0px);
	
	-webkit-transition: 0.15s -webkit-filter ease-in-out;
	-moz-transition: 0.15s -moz-filter ease-in-out;
	-moz-transition: 0.15s filter ease-in-out;
	-ms-transition: 0.15s -ms-filter ease-in-out;
	-o-transition: 0.15s -o-filter ease-in-out;
	transition: 0.15s filter ease-in-out, 0.15s -webkit-filter ease-in-out;
}
#menu ul li:hover .lock {
	filter: var(--filter_tert);
}	
#menu ul:hover .lock {
	filter: invert(1) blur(2px);
}	
	
@media only screen and (max-width: calc(600px - 1px)) {
	#menu {
		z-index:70;
		position:relative;
		top:0px;
		box-shadow: 0 10px 35px var(--c_offblack);
		background-color: var(--c_offblack);
		padding-top:0;
	}
	#menu li{
		height:0px;
		overflow:hidden;
		transition: all .4s ease;
		width:100%;
		text-align:center;
	}
	#touch:checked ~ #menu li {height:3.125rem;line-height: 3.125rem;} 
	#touch:checked ~ #menu  {padding-top:20px;} 
}
@media only screen and (min-width: 600px) and (max-width:calc(1400px - 1px)) {
	#menu {
		width:0px;
		height:0px;
		overflow:hidden;
		transition: width .4s ease;
	}
	#touch:checked ~ #menu {
		width:300px;
	} 
	
	#menu {	
		min-height:100%;
		z-index:73;
		position:fixed;
		overflow-y:scroll;
		overflow-x:hidden;
		top:0px; left:0px;
		padding-top:30px;
		
		background-color: var(--c_offblack);
	}
	#menu li{ 		
		box-sizing: border-box;
		padding-left:30px;
		display: block;
		height:50px;
		line-height: 50px;
	}
	@media (pointer: coarse) and (hover: none) {
		#menu ul:hover li{
			text-shadow: none;
		}
		#menu ul:hover a{
			color:var(--c_white);
		}
		#menu ul li:hover{
			text-shadow: none; 		
		}
		#menu ul a:hover{ 
			color: var(--c_white);
		}	
		#menu ul li:hover .lock {
			filter: invert(1);
		}	
		#menu ul:hover .lock {
			filter: invert(1);
		}		
	}

}
@media only screen and (min-width: 1400px) {
	#menu {
		z-index:70;
		position:absolute;
		padding-top:0px;
		left: 250px;
		top:140px;
	}
	#menu li{
		display: inline-block;
	}
	#menu a{
		padding: 5px 20px 5px 20px;
	}
	#menu a:hover{
		border-bottom: 6px solid var(--c_tert);
	}
}