﻿html, 
body, 
.st-container, 
.content-wrap {
	width: 100%;
	height: 100%;
}

.st-container {
	background: #373a47;
	overflow: hidden;
}

.menu-wrap a {
	color: #b8b7ad!important;
	text-shadow: none;
}

.menu-wrap a:hover,
.menu-wrap a:focus {
	color: #c94e50!important;
}

.content-wrap {
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	overflow-x: hidden;
	overflow: hidden;
}

.content {
	position: relative;
}

/* Overlay */
.content::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3);
	content: '';
	opacity: 0;
	-webkit-transform: translate3d(100%,0,0);
	transform: translate3d(100%,0,0);
	-webkit-transition: opacity 0.3s, -webkit-transform 0s 0.3s;
	transition: opacity 0.3s, transform 0s 0.3s;
}

/* Menu Button */
.menu-button {
	/*position: fixed;*/
	position: absolute;
	z-index: 1000;
	margin: 0;
	padding: 0;
	width: 2.5em!important;
	height: 2.25em;
	border: none;
	text-indent: 2.5em;
	font-size: 1em;
	color: transparent;
	background: transparent;
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	left: 0;
	top: 0.6em;
}
@media (min-width: 768px) {
	.menu-button {
		/*position: fixed;*/
		position: absolute;
		z-index: 1000;
		margin: 0.15em;
		padding: 0;
		width: 2.5em!important;
		height: 2.25em;
		border: none;
		text-indent: 2.5em;
		font-size: 1.3em;
		color: transparent;
		background: transparent;
		-webkit-transition: -webkit-transform 0.3s;
		transition: transform 0.3s;
		left: 0;
		top: 0.05em;
	}
}

.menu-button::before {
	position: absolute;
	top: 0.5em;
	right: 0.5em;
	bottom: 0.5em;
	left: 0.5em;
	background: linear-gradient(#fff 20%, transparent 20%, transparent 40%, #fff 40%, #fff 60%, transparent 60%, transparent 80%, #fff 80%);
	content: '';
}

.menu-button:hover {
	opacity: 0.8;
}
/* Menu */
.menu-wrap {
	position: absolute;
	font-weight: 700;
	opacity: 0;
	-webkit-transition: opacity 1s;
	transition: opacity 1s;
}

.menu-top {
	line-height: 58px;
}

.menu-top .profile {
	display: inline-block;
	padding: 8px 10px;
	line-height: 42px;
}

.menu-top .profile,
.menu-side {
	width: 160px;
}

.profile a {
	font-size: 14px;
	text-decoration: none;
}
@media (min-width: 768px) {
	.profile a {
		font-size: 1.4rem;
		text-decoration: none;
	}
}
@media screen and (min-width: 768px) {
    .menu-button {
        display: none;
    }
	.menu-top .profile,
	.menu-side {
		width: 300px;
	}
	.profile a {
		font-size: 1.6rem;
		text-decoration: none;
	}
}

.menu-top .profile img {
	float: left;
	margin-right: 1em;
	width: 46px;
	border-radius: 50%;
}

.icon-list {
	display: inline-block;
	font-size: 1.25em;
}

.icon-list a {
	margin: 0;
	padding: 0;
}
.icon-list a.w {
    font-size: 14px;
    vertical-align: 2px;
}

@media screen and (max-width: 32em) {
	.icon-list {
		padding-left: 1em;
	}
}

.menu-side a {
	display: block;
	padding: 1.2em;
	border-bottom: 1px solid rgba(0,0,0,0.1);
	text-decoration: none;
	font-size: 1rem;
}
.menu-side a.sj {
    padding-left: 2.5em;
}
.menu-side a.suba {
	padding: 0.4em 0 0.4em 3.5em;
}


.menu-side a:first-child {
	border-top: 1px solid rgba(0,0,0,0.1);
}

/* Shown menu */
.show-menu .menu-wrap {
	opacity: 1;
}

.show-menu .content-wrap {
	-webkit-transform: translate3d(160px,60px,0);
	transform: translate3d(160px,60px,0);
}
/*.show-menu .menu-button {
	-webkit-transform: translate3d(-160px,-60px,0);
	transform: translate3d(-160px,-60px,0);
}*/

@media (min-width: 768px) {
	.show-menu .content-wrap {
		-webkit-transform: translate3d(300px,60px,0);
		transform: translate3d(300px,60px,0);
	}
	/*.show-menu .menu-button {
		-webkit-transform: translate3d(-300px,-60px,0);
		transform: translate3d(-300px,-60px,0);
	}*/
}

.show-menu .content::before {
	opacity: 1;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}