/*
 *	MAINMENU.CSS
 */

html.mainmenu-on {
	overflow: hidden;
	touch-action: none;
	-ms-touch-action: none;
}

#mainmenu-switch-on,
#mainmenu-switch-off {
	z-index: 100;
	position: fixed;
	top: 1rem;
	right: 1rem;
	color: #ED1754;
	background-color: #fff;
	border-radius: 50%;
    font-size: 2rem;
	width: 2rem;
	padding: 1rem;
	text-align: center;
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
	cursor: pointer;
}

#mainmenu-switch-off {
	display: none;
}

#mainmenu-hider {
	z-index: 98;
	display: none;
	position: fixed;
	background-color: rgba(0, 0, 0, .5);
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

#mainmenu {
	background: #006cb8;
	position: fixed;
	top: 0;
	right: -2rem;
	bottom: 0;
	width: auto;
	padding: 1rem 4rem 0 2rem;
	z-index: 99;
	display: none;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

#mainmenu a {
	display: block;
	color: #fff!important;
	text-decoration: none;
	font-size: 2rem;
	line-height: 200%;
	font-weight: bold;
	white-space: nowrap;
}

@media screen and (max-width: 480px) {
	#mainmenu a {
		font-size: 1.5rem;
	}
}

