
#mobile_nav { display:none; }

@media screen and (max-width:1000px) {
	#mobile_nav {
		position:fixed;
		top:0;
		display:block;
		width:100%;
		height:55px;
		z-index:100;
		/*
		-webkit-box-shadow: 0 1px 5px 2px rgba(0,0,0,0.3);
        -moz-box-shadow: 0 1px 5px 2px rgba(0,0,0,0.3);
        box-shadow: 0 1px 5px 2px rgba(0,0,0,0.3);
		*/
	}
}


/* logo
-----------------------------------*/
.sp_logo img {  }



/* link
-----------------------------------*/
#mobile_nav .link { text-align:center; padding:15px 0; }
#mobile_nav .link a { display:inline-block; width:auto!important; vertical-align:middle; margin:5px 2px; }
#mobile_nav .link img { width:40px; }
#mobile_nav .btn {
	background:#ea7b00;
	line-height:40px;
	border-radius:10px;
	color:#FFF;
	padding:0 15px;
}




/* button
-----------------------------------*/
.navbar-burger {
	position:relative;
	cursor:pointer;
	display:block;
}

.menu-button div {
	margin:5px 0;
	height:5px;
	width:30px;
	border-radius:3px;
	background-color:#c35da1;
	transition-duration:0.5s;
}
.menu-button div:nth-child(1).active {
	transition-duration: 0.5s;
	transform: translateY(10px) rotate(45deg);
}
.menu-button div:nth-child(2).active {
	transition-duration: 0.3s;
	width: 0;
	opacity: 0;
}
.menu-button div:nth-child(3).active {
  transition-duration: 0.5s;
  transform: translateY(-10px) rotate(-45deg);
}



/* main
-----------------------------------*/
#menu-state {
	display:none;
}
.sp_menu {
	position:relative;
	width:100%;
	max-height:none;
	transition: all .2s cubic-bezier(.4, .01, .165, .99);  
}
.sp_menu, .nav__header {
    height:55px;
	top:0;
	right:0;
	left:0;
	/*bottom:0;*/
	z-index:2;
}
.nav__header {
	position:absolute;
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	-webkit-box-pack:justify;
	-ms-flex-pack:justify;
	justify-content:space-between;
	-webkit-box-align:center;
	-ms-flex-align:center;
	align-items:center;
	background:#232d3c;
	padding:0 1em;
}
.nav__list {
	position:absolute;
	visibility:hidden;
	top:55px;
	width:100%;
	max-height:calc(100vh - 55px);
	/*right:0;
	left:0;
    bottom:0;*/
	overflow-y:auto;
	border-top:#ccc 1px dashed;
    -webkit-transform: translate3d(0, -100px, 0);
    transform: translate3d(0, -100px, 0);
    z-index:1;
    background:#eee;
	-webkit-box-shadow: 0 1px 5px 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 1px 5px 2px rgba(0,0,0,0.3);
    box-shadow: 0 1px 5px 2px rgba(0,0,0,0.3);
}
#menu-state:checked ~ .sp_menu, .nav__list {
	transition: all .05s cubic-bezier(.4, .01, .165, .99);
}
#menu-state:checked ~ .sp_menu {
	height: 100%;
}
#menu-state:checked ~ .sp_menu .nav__list {
	visibility: visible;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	transition: all .3s cubic-bezier(.4, .01, .165, .99);
}




/* menu
-----------------------------------*/
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a {
	margin:0;
	padding:0;
	border:0;
	list-style:none;
	line-height:1;
	display:block;
	position:relative;
}
#cssmenu {
	width:100%;
	font-size:20px;
  /*color:#ffffff;*/
}
#cssmenu ul ul {
	display: none;
}
#cssmenu > ul > li.active > ul {
	display:block;
}
.align-right {
	float:right;
}
#cssmenu > ul > li > a {
	padding:20px;
	cursor:pointer;
	z-index:2;
	color:#222;
	text-align:center;
	background:#eee;
	border-top:#ccc 1px dashed;
	-webkit-transition: color .2s ease;
	-o-transition: color .2s ease;
	transition: color .2s ease;
}
#cssmenu > ul > li > a:hover {
	color:#c35da1;
}
#cssmenu ul > li.has-sub > a:after {
	position: absolute;
	right:26px;
	top:22px;
	z-index:5;
	display:block;
	height:12px;
	width:2px;
	background:#c35da1;
	content: "";
	-webkit-transition: all 0.1s ease-out;
	-moz-transition: all 0.1s ease-out;
	-ms-transition: all 0.1s ease-out;
	-o-transition: all 0.1s ease-out;
	transition: all 0.1s ease-out;
}
#cssmenu ul > li.has-sub > a:before {
	position: absolute;
	right: 21px;
	top: 27px;
	display: block;
	width: 12px;
	height: 2px;
	background:#c35da1;
	content: "";
	-webkit-transition: all 0.1s ease-out;
	-moz-transition: all 0.1s ease-out;
	-ms-transition: all 0.1s ease-out;
	-o-transition: all 0.1s ease-out;
	transition: all 0.1s ease-out;
}
#cssmenu ul > li.has-sub.open > a:after,
#cssmenu ul > li.has-sub.open > a:before {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}
#cssmenu ul ul li a {
	padding:18px;
	cursor: pointer;
	z-index: 2;
	color:#dddddd;
	text-align: center;
	background:#616873;
	-webkit-transition: color .2s ease;
	-o-transition: color .2s ease;
	transition: color .2s ease;
}
#cssmenu ul ul ul li a {
	/*padding-left:32px;*/
	background:#49505a;	
}
#cssmenu ul ul li a:hover {
	color:#fff;
}

#cssmenu ul ul > li.has-sub > a:after {
  top: 16px;
  right: 26px;
  background: #dddddd;
}
#cssmenu ul ul > li.has-sub > a:before {
  top: 21px;
  background: #dddddd;
}



