/*@import url('http://fonts.googleapis.com/css?family=Source+Sans+Pro');*/

.flexy-menu{
	/*width:auto;*/
	margin:0;
	padding:0;
	position:relative;
	/*right: -110px;
	/*float:right;*/
	font-family:Microsoft JhengHei,STHeiti;/*"Source Sans Pro",Segoe UI,Arial*/
	list-style:none;
	/*background:#333;*/
}
.flexy-menu li{
	display:inline;
	font-size:13px;
	margin:0;
	padding:0;
	float:left;
	line-height:20px;
	position:relative;
	/*max-width: 155px;
	/*width: 100%;*/
	background: #f1f1f1;
}






.flexy-menu>li>a{
	padding:16px 40px;/*20 22*/
	width:100%;
	text-align: center;
	font-size: 18px;
	color:#454545;
	text-decoration:none;
	display:block;
	text-transform:uppercase;
	-webkit-transition:color .2s linear,background .2s linear;
	-moz-transition:color .2s linear,background .2s linear;
	-o-transition:color .2s linear,background .2s linear;
	transition:color .2s linear,background .2s linear;
}


.flexy-menu li:hover>a,.flexy-menu li.active a{
	background:#555;
	color:#fff;
}
.flexy-menu li.right{
	float:right;
}
.flexy-menu ul,.flexy-menu ul li ul{
	list-style:none;
	margin:0;
	padding:0;
	display:none;
	position:absolute;
	z-index:99999;
	width:100%;
	background:#333;
	box-shadow:0 1px 1px rgba(0,0,0,0.3);
}
.flexy-menu ul{
	top:52px;left:0;
}
.flexy-menu ul li ul{
	top:0;left:100%;
}
.flexy-menu ul li{
	clear:both;
	width:100%;
	border:0;
	font-size:12px;
	text-align: center;
	background: #fff;
}
.flexy-menu ul li:nth-child(odd){
	background: #e8e8e8;
}
.flexy-menu ul li a{/*子選項*/
	padding:10px 10px;
	width:100%;
	color:#1b0c02;
	font-size:13px;
	text-decoration:none;
	display:inline-block;
	float:left;
	clear:both;
	border-bottom:1px solid #dfdfdf;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-webkit-transition:color .2s linear,background .2s linear;
	-moz-transition:color .2s linear,background .2s linear;
	-o-transition:color .2s linear,background .2s linear;
	transition:color .2s linear,background .2s linear;
}

.flexy-menu ul li:last-child a{
border-bottom:0px solid #999;
}
.thin>li>a{
	padding:10px 22px;
}
.thin ul{
	top:40px;
}
.thick>li>a{
	padding:40px 22px;
}
.thick ul{
	top:100px;
}
.flexy-menu i{
	line-height:20px!important;
	margin-right:6px;
	font-size:18px;
	float:left;
}
.flexy-menu>li.showhide{
	display:none;
	width:100%;
	height:60px;
	cursor:pointer;
	color:#dedede;
	border-bottom: 1px solid #dfdfdf;
	background:#f1f1f1;
}
.flexy-menu>li.showhide span.title{
	margin:9px 0 0 0px;
	float:left;
}
.flexy-menu>li.showhide span.icon{
	margin:17px 20px;
	float:right;
}
.flexy-menu>li.showhide .icon em{
	margin-bottom:3px;
	display:block;
	width:20px;
	height:2px;
	background:#454554;
}
.orange li:hover>a,.orange li.active a{
	background:#683412;/*#ff670f*/
	color:#fff!important;
}
.orange li ul li:hover,.orange li ul li:hover a{
	
	background:#8a5a2a;
	
}
.flexy-menu.vertical{
	width:200px;
}
.flexy-menu.vertical li{
	width:100%;
}
.flexy-menu.vertical li a{
	display:inline-block!important;
	width:100%;
	padding:18px 20px 16px;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
.flexy-menu.vertical ul li{
	width:100%;
}
.flexy-menu.vertical ul,.flexy-menu.vertical ul li ul{
	width:150px;
}
.flexy-menu.vertical ul{
	top:0;left:100%;
}
.flexy-menu.vertical ul li ul{
	top:1px;
}
.flexy-menu.vertical.right{
	float:right!important;
}
.flexy-menu.vertical.right ul{
	left:-150px!important;
}

.content{
		/*position:fixed;
		z-index:9999;
		width:100%;*/
		max-width:1280px;
	}

@media only screen and (max-width:1600px){
	/*.content{max-width:1200px;}*/
}

@media only screen and (max-width:1200px){
	/*.content{ max-width:900px;}*/
	.flexy-menu li{
		max-width: unset;
		
	}

	.flexy-menu{
		right:0;
	}


}

@media only screen and (max-width:1000px){

	.content{
		position:relative;
		z-index:9999;
		width:100%;
		left:0;
	}

	.flexy-menu{
		width:100%;
		float:left;
		right:0;
		/*left: -22px;*/
	}


	.flexy-menu.vertical{
		width:100%;
	}
	.flexy-menu li{
		display:block;
		width:100%;
		max-width: unset;
	}
	.flexy-menu>li>a{
		padding-top:15px;
		padding-bottom:15px;
		padding-left:25px;
		/*background: #fff;*/
	}
	.flexy-menu a{
		width:100%;
		box-sizing:border-box;
		-moz-box-sizing:border-box;
		-webkit-box-sizing:border-box;
	}
	.flexy-menu ul,.flexy-menu ul li ul,.flexy-menu.vertical ul,.flexy-menu.vertical ul li ul{
		width:100%;
		left:0;
		border-left:0;
		position:static;
		box-sizing:border-box;
		-moz-box-sizing:border-box;
		-webkit-box-sizing:border-box;
	}
	.flexy-menu ul li{
		border-left:0;
		border-right:0;
	}
	.flexy-menu ul li a,.flexy-menu.vertical ul li a{
		padding-top:10px;
		padding-bottom:10px;
	}
	.flexy-menu ul>li>a{
		/*padding-left:40px!important;*/
	}
}