#content-wrap {
	overflow: hidden;
	width: 100%;
	height: 100%;
}

#content-wrap {	
	-webkit-overflow-scrolling: touch;
}

/* Menu Button */
.menu-button {
	position: fixed;
	z-index: 1000;
	margin: 1em;
	padding: 0;
	width: 2.5em;
	height: 2.25em;
	border: none;
	text-indent: 2.5em;
	font-size: 1.5em;
	color: transparent;
	background: transparent;
}

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

.menu-button:hover {
	opacity: 0.6;
}

/* Close Button */
.close-button {
	background: #fff;
	border-bottom: 1px solid #e9e7e7;
	padding: 15px 20px 14px;
	text-align: left;
	width: 100%;
	color: #777;
	align-items: center;
	-webkit-align-items: center;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	cursor: pointer;
	margin-bottom: 15px;
}

.close-button:hover{
	color: #2879FE;
}

.close-button span {
    margin-top: -2px;
    margin-right: 5px;
}
/* Menu */
.menu-wrap {
	position: fixed;
	top:0;
	z-index: 1001;
	width: 270px;
	height: 100%;
	background: #fff;
	transition: left 0.6s;
	-webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	transition-timing-function: cubic-bezier(0.7,0,0.3,1);
    left: -100%;
    z-index: 3001;
}
.menu-wrap .nav{
	padding: 0;
}
#off-canvas-menu {
	background:#fff;
	z-index: 1002;
}
/* Shown menu */
.show-menu .menu-wrap {
	transition: left 0.3s;
	-webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
	left: 0;
	top:0;
	overflow: auto;
}

.show-menu .content::before{
	opacity: 1;
	-webkit-transition: opacity 0.8s;
	transition: opacity 0.8s;
	-webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.show-menu::before {
	content: "";
	width: 100vw;
	height: 100vh;
	display: block;
	background: rgba(0, 0, 0, 0.55);
	z-index: 4;
	position: fixed;
}

@media (max-width: 991px){
	#jms-megamenu-container {
		display:none;
	} 

	#open-button {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		border: 0;
		background: none;
	}

	#open-button:hover{
		cursor: pointer;
		color: #2879FE;
	}
}
