#main-menu-button {
	float: left;
	display: inline-block;
	margin: 0.6rem 0.5rem 0.5rem 0.5rem;
}
#main-menu-toggle {
	display: none;
}
.toggle-button {
	position: relative;
	display: block;
	width: 24px;
	height: 24px;
	cursor: pointer;
	z-index: 2;
}
.toggle-button > span {
	display: block;
	position: relative;
}
.toggle-button > span:after, .toggle-button > span:before {
	content: "";
	position: absolute;
	left: 0;
}
.toggle-button > span, .toggle-button > span:after, .toggle-button span:before {
	width: 100%;
	height: 3px;
	background-color: #666;
	transition: all 600ms cubic-bezier(0.86, 0, 0.07, 1);
	backface-visibility: hidden;
	border-radius: 3px;
}
.toggle-button > span:after {
	top: 16px;
}
.toggle-button > span:before {
	top: 8px;
}
.menu-toggle:checked ~ .toggle-button > span {
	transform: rotate(45deg);
}
.menu-toggle:checked ~ .toggle-button > span:before {
	top: 0;
	transform: rotate(0);
}
.menu-toggle:checked ~ .toggle-button > span:after {
	top: 0;
	transform: rotate(90deg);
}
.menu-box {
	display: block;
	position: fixed;
	visibility: hidden;
	top: 0;
	left: -100%;
	height: 100%;
	margin: 0;
	min-width: 16rem;
	padding: 3rem 0;
	background-color: #eee;
	box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
	transition: all 600ms cubic-bezier(0.86, 0, 0.07, 1);
	z-index: 1;
}
.menu-box ul {
	list-style: none;
	padding: 0;
}
.menu-box > li {
	border-top: 1px solid #ccc;
}
.menu-box > li:last-child {
	border-bottom: 1px solid #ccc;
}
.menu-box li li {
	background-color: #fff;
	border-bottom: 1px solid #eee;
}
.menu-box li a, .menu-box li span {
	display: block;
	padding: 0.5rem 1.5rem;
	color: #333;
	font-size: 125%;
	text-decoration: none;
	cursor: pointer;
}
.menu-box a:hover {
	color: #fff;
	background-color: #c45;
}
.menu-toggle:checked ~ .menu-box {
	visibility: visible;
	left: 0;
}
.menu-box li span:after {
	content: "";
	width: 10px;
	height: 10px;
	margin-top: 9px;
	border-top: 3px solid #444;
	border-right: 3px solid #444;
	float: right;
	border-top-right-radius: 3px;
	transform: rotate(315deg);
}
.menu-box li.closed span:after {
	margin: 3px;
	transform: rotate(135deg);
}
.menu-box .closed .submenu {
	display: none;
}
.submenu .selected {
	border-left: 0.2em solid #c45;
}

