ul {
	margin: 0;
	padding: 0;
}

#sideNav {
	-webkit-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
	background-color: #262626;
	position: fixed;
	top: 0;
	bottom: 0;
	width: 50px;
}

#sideNav.left {
	left: 0;
}

#sideNav.right {
	right: 0;
}

.button>input[type="checkbox"] {
	display: none;
}

.button>input[type="checkbox"]+.fa {
	opacity: .5;
}

.button>input[type="checkbox"]:checked+.fa {
	opacity: 1;
}

#sideNav>.button, #sideNav>.button+ul>li>.button {
	display: block;
	cursor: pointer;
	height: 50px;
	line-height: 50px;
	color: #fff;
	text-decoration: none;
	text-align: center;
	position: relative;
	border-top: 1px solid #262626;
}

#sideNav>.button:first-child {
	border-bottom: 1px solid #262626;
}

#sideNav>.button:first-child
#sideNav>.button+ul>li>.button {
	border-top: none;
}

#sideNav>.button.active {
	width: 50px;
	border-top: none;
}

#sideNav.left>.button.active {
	left: 0px;
	padding-right: 10px;
}

#sideNav.right>.button.active {
	right: 10px;
	padding-left: 10px;
}

#sideNav>.button.active:before {
	content: "";
	position: absolute;
	top: 0;
	width: 0px;
	border-top: 50px solid #e6e6e6;
	height: 0px;
}

#sideNav.left>.button.active:before {
	content: "";
	position: absolute;
	top: 0;
	left: 50px;
	width: 0px;
	border-top: 50px solid #e6e6e6;
	border-left: 10px solid transparent;
	height: 0px;
}

#sideNav.right>.button.active:before {
	right: 50px;
	border-right: 10px solid transparent;
}

#sideNav>.button.active:after {
	content: "";
	position: absolute;
	top: 50px;
	right: 50px;
	width: 0px;
	border-bottom: 15px solid transparent;
	height: 0px;
}

#sideNav.left>.button.active:after {
	left: 50px;
	border-left: 10px solid transparent;
}

#sideNav.right>.button.active:after {
	right: 50px;
	border-right: 10px solid transparent;
}

#sideNav>.button+ul>li {
	display: block;
}

#sideNav.left>.button.active.red:after {
	border-left: 10px solid #452929;
}

#sideNav.right>.button.active.red:after {
	border-right: 10px solid #452929;
}

#sideNav>.button>i, #sideNav>.button+ul>li>.button>i {
	-webkit-transition: font-size .25s ease;
	-moz-transition: font-size .25s ease;
	-o-transition: font-size .25s ease;
	transition: font-size .25s ease;
	font-style: normal;
	display: block;
	font-size: 22px;
	line-height: 53px;
	height: 50px;
	text-shadow: 3px 3px 2px rgba(0, 0, 0, .25);
}

#sideNav>.button>span, #sideNav>.button+ul>li>.button>span {
	-webkit-transition: opacity .25s ease, left .15s ease, right .15s ease;
	-moz-transition: opacity .25s ease, left .15s ease, right .15s ease;
	-o-transition: opacity .25s ease, left .15s ease, right .15s ease;
	transition: opacity .25s ease, left .15s ease, right .15s ease;
	z-index: -1;
	opacity: 0;
	position: absolute;
	line-height: 50px;
	top: 0px;
	padding: 0 15px;
	font-size: 21px;
	font-weight: 100;
	text-transform: uppercase;
	white-space: nowrap;
	display: block;
}

#sideNav.left>.button>span, 
#sideNav.left>.button+ul>li>.button>span {
	left: -300px;
}

#sideNav.right>.button>span, 
#sideNav.right>.button+ul>li>.button>span {
	right: -300px;
}

#sideNav>.button+ul>li>.button>span {
	font-size: 18px;
}

#sideNav>.button.active>i, #sideNav>.button:hover>i,
#sideNav>.button+ul>li>.button.active>i,
#sideNav>.button+ul>li>.button:hover>i {
	font-size: 26px;
}

#sideNav>.button.active>span, #sideNav>.button:hover>span, 
#sideNav>.button+ul>li>.button.active>span,
#sideNav>.button+ul>li>.button:hover>span {
	opacity: 1;
}

#sideNav.left>.button.active>span, #sideNav.left>.button:hover>span,
#sideNav.left>.button+ul>li>.button.active>span, 
#sideNav.left>.button+ul>li>.button:hover>span
	{
	left: 50px;
}

#sideNav.right>.button.active>span, #sideNav.right>.button:hover>span,
#sideNav.right>.button+ul>li>.button.active>span,
#sideNav.right>.button+ul>li>.button:hover>span
	{
	right: 50px;
}

#sideNav>.button+ul {
	display: none;
}

#sideNav>.button.active+ul {
	display: block;
}

#sideNav>a:last-child {
	bottom: 0;
	position: absolute;
	right: 0;
	left: 0;
}