/*  =============================================================================
	=============================================================================
	=============================================================================
	客製化 HEADER CSS 設計
	=============================================================================
	=============================================================================
	=============================================================================
	========================================================================== */

#header{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 60px;
	background-color: #000000;
	z-index: 8;
	box-sizing: border-box;
	transition: 400ms all ease;
}

#header #logo{
	margin: 0 auto;
	margin-top: 12px;
	width: 70px;
	height: 33px;
	transition: 400ms all ease;
}

#header #menu_btn{
	width: 28px;
	height: 28px;
	position: absolute;
	cursor: pointer;
	left: 30px;
	top: 16px;
	z-index: 8;
}

#header #menu_btn .line{
	width: 20px;
	height: 2.5px;
	background-color: white;
	border-radius: 3px;
	position: absolute;
	left: 4px;
	-webkit-transition: all 600ms cubic-bezier(0.23, 1, 0.32, 1);
	transition:         all 600ms cubic-bezier(0.23, 1, 0.32, 1);
}

#header #menu_btn .line:nth-child(1){
	top: 5px;
}

#header #menu_btn .line:nth-child(2){
	top: 12px;
}

#header #menu_btn .line:nth-child(3){
	top: 19px;
}

#header #menu_btn.active .line:nth-child(1){
	top: 12px;
	transform: rotate(45deg);
}

#header #menu_btn.active .line:nth-child(2){
	width: 0px;
}

#header #menu_btn.active .line:nth-child(3){
	top: 12px;
	transform: rotate(-45deg);
}

#navigation{
	position: fixed;
	z-index: 7;
	height: 100%;
	width: 300px;
	background-color: #000;
	left: 0px;
	top: 0px;
	overflow: hidden;
	transition-duration: 0.6s;
	-webkit-transform: translate3d(-400px,0px,0px);
    -moz-transform: translate3d(-400px,0px,0px);
    -ms-transform: translate3d(-400px,0px,0px);
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-timing-function: cubic-bezier(0.6,0,0.2,1);
    -moz-transition-property: -moz-transform;
    -moz-transition-timing-function: cubic-bezier(0.6,0,0.2,1);
    -ms-transition-property: -ms-transform;
    -ms-transition-timing-function: cubic-bezier(0.6,0,0.2,1);
}

#navigation.active{
	-webkit-transform: translate3d(0px,0px,0px);
    -moz-transform: translate3d(0px,0px,0px);
    -ms-transform: translate3d(0px,0px,0px);
}

#navigation #menu,
#navigation .navigation_inner{
	width: 100%;
	float: left;
	height: 100%;
	display: table;
}

#navigation #menu ul{
	display: table-cell;
	vertical-align: middle
}

#navigation #menu ul li{
   display: block;
   width: 100%;
   margin-top: 20px;
   margin-bottom: 20px;
   padding-left: 40px;
   padding-right: 40px;
   box-sizing: border-box;
}

#navigation #menu ul li a{
	color: white;
	text-decoration: none;
	font-size: 16px;
	transition: 400ms all ease;
	position: relative;
	padding-top: 4px;
	padding-bottom: 4px;
	width: 100%;
	display: block;
}

#navigation #menu ul li a:before{
	width: 0%;
	height: 1px;
	background-color: #b3b3b3;
	transition: 400ms all ease;
	position: absolute;
	bottom: 0px;
	left: 0px;
	content: '';
}

#navigation #menu ul li a:hover{
	color: #b3b3b3;
}

#navigation #menu ul li a:hover:before{
	width: 100%;
}

#header_cover{
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 6;
	background-color: #000;
	opacity: 0.5;
	display: none;
}

@media (max-width: 600px) {
	#navigation #menu ul li{
		margin-top: 10px;
		margin-bottom: 10px;
	}
}