.menu-collapser{
position:relative;
width:100%;
height:38px;
padding:0;
color:#FFFFFF;
font-size:100%;
line-height:38px;
box-sizing:border-box;
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
}
.collapse-button{
	position: absolute;
	right: 8px;
	top: 0%;
	width: 38px;
	padding: 3px 10px;
	color: #FFFFFF;
	font-size: 100%;
	text-align: center;
	background-color: #669900;
	border-radius: 2px;
	transform: translate(0, -50%);
	-o-transform: translate(0, -50%);
	-ms-transform: translate(0, -50%);
	-moz-transform: translate(0, -50%);
	-webkit-transform: translate(0, -50%);
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box
}
.collapse-button:hover,.collapse-button:focus{
	color: #FFF;
	background-color: #666600;
}
.collapse-button .icon-bar{display:block;height:3px;width:30px;margin:2px 0;background-color:#F5F5F5;border-radius:1px}

ul.topmenu{clear: none;float: left;width:100%; margin:0;padding:0;list-style-type:none;z-index: 999;}
ul.topmenu:before,ul.topmenu:after{content:'';display:table;}
ul.topmenu:after{clear:both}
ul.topmenu.collapsed li{display:block;width:100%;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}
ul.topmenu.collapsed li>ul{position:static;display:none;}
ul.topmenu.collapsed li a{display:block;border-bottom:1px solid rgba(0,0,0,0.5);box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}
ul.topmenu.collapsed li .sub-toggle{height:40px}


@media only screen and (max-width: 479px) {
ul.topmenu>li:nth-child(1){
	width: calc(100%);
	text-align:left;
	left: 0px;
	top:5px;	
}
ul.topmenu>li:nth-child(1) img.Wimg{	
	width:90px;
	padding-left:calc(2%);
	padding-right:0px;
}
ul.topmenu>li:nth-child(1) img.Aimg{
	width:230px;
}
ul.topmenu>li:nth-child(1) img.Bimg{
	width:280px;
}
ul.topmenu>li:nth-child(1) img.Cimg{
	width:275px;
}
ul.topmenu>li:nth-child(2){
	position: absolute;
	float:left;
	display:block;		
	display: inline-block;	
	color: #333;
	right: 80px;
	top:5px;
	margin: 0px 0 0 0;
}
ul.topmenu>li:nth-child(3),ul.topmenu>li:nth-child(4),ul.topmenu>li:nth-child(5),ul.topmenu>li:nth-child(6),ul.topmenu>li:nth-child(7),ul.topmenu>li:nth-child(8),ul.topmenu>li:nth-child(9),ul.topmenu>li:nth-child(10),ul.topmenu>li:nth-child(11){
	width: calc((85% - 100px) /7 - 2px);
	line-height: 40px;
	height: 40px;	
	margin: 15px 1px 0 1px;
	display:none;
}
.Atitle{
	display: inline-block;
	float: left;
	width: calc(100% - 150px);
	font-size: 105%;
	color: #060;
	line-height:20px;
    margin: 67px 0 0 10px;
	}
.A2stitle{				
	display:none;	
    float: left;
	width: calc(100% - 110px);
	font-size: 85%;
	color: #F60;
	line-height:18px;
	margin-left:0px;   
	}	
.S_title{
	display:none;    
	float:left;
	width: calc(100%);
	font-size:110%;
	line-height:35px;
	color:#099;
	letter-spacing:0px;
	text-align:center;    
	}
}
@media only screen and (min-width: 480px) {
ul.topmenu>li:nth-child(1){
	width: calc(100% - 120px);
	text-align:left;
	left: 0px;
	top:5px;
}
ul.topmenu>li:nth-child(1) img.Wimg{
	width:90px;
	padding-left:5px;	
	padding-right:10px;
}
ul.topmenu>li:nth-child(1) img.Aimg{
	width:230px;
}
ul.topmenu>li:nth-child(1) img.Bimg{
	width:230px;
}
ul.topmenu>li:nth-child(1) img.Cimg{
	width:225px;
}
ul.topmenu>li:nth-child(2){
	position: absolute;
	float:left;
	display:block;		
	display: inline-block;	
	color: #333;
	right: 80px;
	top:5px;
	margin: 0px 0 0 0;
}
ul.topmenu>li:nth-child(3),ul.topmenu>li:nth-child(4),ul.topmenu>li:nth-child(5),ul.topmenu>li:nth-child(6),ul.topmenu>li:nth-child(7),ul.topmenu>li:nth-child(8),ul.topmenu>li:nth-child(9),ul.topmenu>li:nth-child(10),ul.topmenu>li:nth-child(11){
	width: calc((85% - 100px) /7 - 2px);
	line-height: 40px;
	height: 40px;	
	margin: 15px 1px 0 1px;
	display:none;
}
.Atitle{
	display: inline-block;
	float: left;
	width: calc(100% - 110px);
	font-size: 130%;
	color: #060;
	line-height:40px;
    margin: 0px 0 0 0;    
	}	
.A2stitle{
	display: inline-block;
	float: left;
	width: calc(100% - 110px);
	font-size: 90%;
	color: #F60;
	line-height:20px;
	margin-left:0px;			
	}	
.S_title{	
	display: inline-block;
	float:left;
	width: calc(100% - 110px);
	font-size:110%;
	line-height:20px;
	color:#099;
	letter-spacing:2px;
	margin-left:3px;	
}
}
@media only screen and (min-width: 768px) {
ul.topmenu>li:nth-child(1){
	width: calc(100% - 90px);
	text-align:left;
	left: 0px;
	top:5px;	
}
ul.topmenu>li:nth-child(1) img.Wimg{
	width:90px;
	padding-left:5px;	
	padding-right:10px;
}
ul.topmenu>li:nth-child(1) img.Aimg{
	width:275px;
}
ul.topmenu>li:nth-child(1) img.Bimg{
	width:275px;
}
ul.topmenu>li:nth-child(1) img.Cimg{
	width:270px;
}
ul.topmenu>li:nth-child(3),ul.topmenu>li:nth-child(4),ul.topmenu>li:nth-child(5),ul.topmenu>li:nth-child(6),ul.topmenu>li:nth-child(7),ul.topmenu>li:nth-child(8),ul.topmenu>li:nth-child(9),ul.topmenu>li:nth-child(10),ul.topmenu>li:nth-child(11){
	width: calc((85% - 100px) /7 - 2px);
	line-height: 40px;
	height: 40px;	
	margin: 15px 1px 0 1px;
	display:none;
}
.Atitle{
	display: inline-block;
	float: left;
	width: calc(100% - 110px);
	font-size: 130%;
	color: #060;
	line-height:30px;
    margin: 0px 0 0 0;    
	}    
.S_title{	
	display: inline-block;
	float:left;
	width: auto;
	/*width: calc(100% - 110px);*/
	font-size:110%;
	line-height:30px;
	color:#099;
	letter-spacing:2px;
	margin-left:3px;	
}
}
@media only screen and (min-width: 1024px) {
ul.topmenu>li:nth-child(1){
	width: calc(1024px);
	text-align:left;
	left: 0px;
	top:5px;	
}
ul.topmenu>li:nth-child(1) img.Wimg{
	width:90px;
	padding-left:5px;	
	padding-right:10px;
}
ul.topmenu>li:nth-child(1) img.Aimg{
	width:275px;
}
ul.topmenu>li:nth-child(1) img.Bimg{
	width:275px;
}
ul.topmenu>li:nth-child(1) img.Cimg{
	width:270px;
}
ul.topmenu>li:nth-child(3){
	width: calc((1024px - 150px) / 7 - 2px);
	line-height: 35px;
	height: 35px;	
	margin: 60px 1px 0 100px;
	display:none;
}
ul.topmenu>li:nth-child(4),ul.topmenu>li:nth-child(5),ul.topmenu>li:nth-child(6),ul.topmenu>li:nth-child(7),ul.topmenu>li:nth-child(8),ul.topmenu>li:nth-child(9),ul.topmenu>li:nth-child(10),ul.topmenu>li:nth-child(11){
	width: calc((1024px - 150px) / 7 - 2px);;
	line-height: 35px;
	height: 35px;	
	margin: 60px 1px 0 0;
	display:none;
}
ul.topmenu li ul{
	position: absolute;
	top: 100%;
	z-index: 999;
	display: none;
	width: 120%;
	margin-left:-10%;
	margin-top:0px;
	padding: 0;		
	}
ul.topmenu li ul li ul{
	position: absolute;
	left: 100%;
	margin-left:2px;
	margin-top:0px;	
	top: 0;
	z-index: 999;
	display: none;
	width: 100%;	
}	
.S_title{	
	display: inline-block;
	float:left;
	width: auto;
	/*width: calc(100% - 110px);*/
	font-size:110%;
	line-height:25px;
	color:#099;
	letter-spacing:2px;
	margin-left:3px;	
}

}
@media only screen and (min-width: 1280px) {
ul.topmenu>li:nth-child(1){
	width: calc(1280px - 90px);
	text-align:left;
	left: 0px;
	top:5px;
}
ul.topmenu>li:nth-child(1) img.Wimg{
	width:95px;
	padding-left:5px;	
	padding-right:10px;
}
ul.topmenu>li:nth-child(1) img.Aimg{
	width:250px;
}
ul.topmenu>li:nth-child(1) img.Bimg{
	width:240px;
}
ul.topmenu>li:nth-child(1) img.Cimg{
	width:235px;
}
ul.topmenu>li:nth-child(3){
	width: calc((1280px - 320px) / 7 - 2px);
	line-height: 35px;
	height: 35px;	
	margin: 60px 1px 0 120px;
	display: inline-block;	
}
ul.topmenu>li:nth-child(4),ul.topmenu>li:nth-child(5),ul.topmenu>li:nth-child(6),ul.topmenu>li:nth-child(7),ul.topmenu>li:nth-child(8),ul.topmenu>li:nth-child(9),ul.topmenu>li:nth-child(10),ul.topmenu>li:nth-child(11){
	width: calc((1280px - 220px) / 7 - 2px);
	line-height: 35px;
	height: 35px;	
	margin: 60px 1px 0 0;
	display: inline-block;	
}
ul.topmenu li ul{
	position: absolute;
	top: 100%;
	z-index: 999;
	display: none;
	width: 120%;
	margin-left:-10%;
	margin-top:5px;
	padding: 0;		
	}
ul.topmenu li ul li ul{
	position: absolute;
	left: 100%;
	margin-left:2px;
	margin-top:0px;	
	top: 0;
	z-index: 999;
	display: none;
	width: 100%;

}
.Atitle{
	display: inline-block;
	float: left;
	width: auto;
	font-size: 150%;
	color: #060;
	line-height:35px;
	margin:2px 0 0 0;	    
	}
.A2stitle{
	display: inline-block;
	float: left;
	width: auto;
	font-size: 95%;
	color: #F60;
	line-height:45px;
	margin-left:5px;
	}	
.S_title{	
	display: inline-block;
	float:left;
	width: auto;
	/*width: calc(100% - 110px);*/
	font-size:110%;
	line-height:42px;
	color:#099;
	letter-spacing:2px;
	margin-left:5px;	
	}
}
@media only screen and (min-width: 1680px) {
ul.topmenu>li:nth-child(1){
	width: calc(350px);
	text-align:left;
	left: 0px;
	top:5px;	
}
ul.topmenu>li:nth-child(1) img.Wimg{
	width:90px;
	padding-left:5px;	
	padding-right:10px;
}
ul.topmenu>li:nth-child(1) img.Aimg{
	width:240px;
}
ul.topmenu>li:nth-child(1) img.Bimg{
	width:240px;
}
ul.topmenu>li:nth-child(1) img.Cimg{
	width:240px;
}
ul.topmenu>li:nth-child(3){
	width: calc((((1680px - 1280px) / 2 + 1280px - 300px)) / 7 - 2px);
	line-height: 35px;
	height: 35px;	
	margin: 60px 1px 0 350px;
	display: inline-block;		
}
ul.topmenu>li:nth-child(4),ul.topmenu>li:nth-child(5),ul.topmenu>li:nth-child(6),ul.topmenu>li:nth-child(7),ul.topmenu>li:nth-child(8),ul.topmenu>li:nth-child(9),ul.topmenu>li:nth-child(10),ul.topmenu>li:nth-child(11){
	width: calc((((1680px - 1280px) / 2 + 1280px - 300px)) / 7 - 2px);
	line-height: 35px;
	height: 35px;	
	margin: 60px 1px 0 0;
	display: inline-block;	
}
ul.topmenu li ul{
	position: absolute;
	top: 100%;
	z-index: 999;
	display: none;
	width: 120%;
	margin-left:-10%;
	margin-top:5px;
	padding: 0;		
	}
ul.topmenu li ul li ul{
	position: absolute;
	left: 100%;
	margin-left:2px;
	margin-top:0px;	
	top: 0;
	z-index: 999;
	display: none;
	width: 100%;
}	
.Atitle{
	display: inline-block;
	float: left;
	width: calc(100% - 110px);
	font-size: 150%;
	color: #060;
	line-height:30px;	
	}
.A2stitle{
	display: inline-block;
	float: left;
	width: calc(100% - 110px);
	font-size: 95%;
	color: #F60;
	line-height:20px;
	margin-left:0px;	
	}	
.S_title{	
	display: inline-block;
	float:left;
	width: calc(100% - 110px);
	font-size:110%;
	line-height:30px;
	color:#099;
	letter-spacing:2px;
	margin-left:0px;	
	}
}
@media only screen and (min-width: 1920px) {
ul.topmenu>li:nth-child(1){
	width: calc(380px);
	text-align:left;
	left: 0px;
	top:5px;
	/*background-color:#CCC;*/
}
ul.topmenu>li:nth-child(1) img.Wimg{
	width:90px;
	padding-left:5px;	
	padding-right:10px;	
}
ul.topmenu>li:nth-child(1) img.Aimg{
	width:240px;
}
ul.topmenu>li:nth-child(1) img.Bimg{
	width:240px;
}
ul.topmenu>li:nth-child(1) img.Cimg{
    /*background-color: aquamarine;*/
	width:240px;
}
ul.topmenu>li:nth-child(3){
	width: calc((((1920px - 1280px) / 2 + 1280px - 200px)) / 7 - 2px);
	line-height: 35px;
	height: 35px;		
	margin: 60px 1px 0 350px;
	display: inline-block;	
}
ul.topmenu>li:nth-child(4),ul.topmenu>li:nth-child(5),ul.topmenu>li:nth-child(6),ul.topmenu>li:nth-child(7),ul.topmenu>li:nth-child(8),ul.topmenu>li:nth-child(9),ul.topmenu>li:nth-child(10),ul.topmenu>li:nth-child(11){
	width: calc((((1920px - 1280px) / 2 + 1280px - 200px)) / 7 - 2px);
	line-height: 35px;
	height: 35px;		
	margin: 60px 1px 0 0;
	display: inline-block;	
}
ul.topmenu li ul{
	position: absolute;
	top: 100%;
	z-index: 999;
	display: none;
	width: 100%;
	margin-left:0%;
	margin-top:5px;
	padding: 0;		
	}
ul.topmenu li ul li ul{
	position: absolute;
	left: 100%;
	margin-left:2px;
	margin-top:0px;	
	top: 0;
	z-index: 999;
	display: none;
	width: 100%;	
}	

}
ul.topmenu>li:nth-child(2) a img{
    height:30px;
	margin: 0 2px 0 2px;
    transition: all 0.1s ease; /* 平滑過渡效果 */    
}
ul.topmenu>li:nth-child(2) a img:hover{
  /*filter: brightness(0.7) contrast(1.5); 亮度和對比度調整 */
   /*transform: rotate(360deg);*/ /* 旋轉360度（一圈） */  
   /*transform: rotate(360deg) scale(1.1); *//*旋轉一圈放大1.1倍*/
   transform: scale(1.2);    
}
.header{
	clear: both;
	float: left;
	width: 100%;
	display: block;
	padding: 0;
	margin: 0;
	background-color: #FFFFFF;
	z-index: 999;
	box-shadow:-1px 2px 9px #006633;
	*height : 1%;
}

.header.fixed{position: fixed;top: 0;left: 0;}
.hearderin {
	clear: both;
	display: block;	
	margin: 0px auto;
	width: 100%;
	max-width: 1920px;
	height: 100px;	
	*height : 1%;	
	transition: all 0.5s ease;
    z-index: 10;     
}
.header:after,.hearderin:after{
  content : '';
  clear : both;
  display : block;
  height : 0;
  overflow : hidden;
}
/* 第一層*/
ul.topmenu>li:nth-child(1){
	position: absolute;
	float:left;
	display: inline-block;
}
ul.topmenu>li:nth-child(1) img.Wimg{
	display: inline-block;
	float:left;	
	transition: all 0.5s ease;
}
ul.topmenu>li:nth-child(3),ul.topmenu>li:nth-child(4),ul.topmenu>li:nth-child(5),ul.topmenu>li:nth-child(6),ul.topmenu>li:nth-child(7),ul.topmenu>li:nth-child(8),ul.topmenu>li:nth-child(9),ul.topmenu>li:nth-child(10),ul.topmenu>li:nth-child(11){
	position: relative;
	float:left;
	/*background-color:#FFF;*/
    color: #002A00;
	text-align: center;
	font-size: 110%;
	border: 0;
	transition: all 0.5s ease;
}

ul.topmenu>li a{
	text-decoration: none;	
}

ul.topmenu>li:nth-child(3) :hover,ul.topmenu>li:nth-child(4) :hover,ul.topmenu>li:nth-child(5) :hover,ul.topmenu>li:nth-child(6) :hover,ul.topmenu>li:nth-child(7) :hover,ul.topmenu>li:nth-child(8) :hover,ul.topmenu>li:nth-child(9) :hover,ul.topmenu>li:nth-child(10) :hover,ul.topmenu>li:nth-child(11) :hover{
    color: #318C31;
    transition: all 0.5s ease;
}
ul.topmenu li:hover{
	text-decoration: none;
	transition: all 0.5s ease;
}
/*第二層*/
ul.topmenu>li>ul>li:nth-child(-n+15){
    position: relative;
    background-color: #31767F;
    color: #fff;
    border: #ccc 0px solid;
    border-radius: 10px;
    float: left;
    text-align: center;
    width: calc(95% - 10px);
    margin: 0px 0px 1px 0;
    font-size: 95%;
    padding: 0;
    line-height: 40px;
    z-index: 999;
	transition: all 0.2s ease; 
}
ul.topmenu>li>ul>li:nth-child(-n+15):hover{
    width: 105%;
    margin-left: calc(-5% - 5px);
    background-color: #3D9E84;
    color: #fff;
    text-decoration: none;
    text-align: center;
	transition: all 0.2s ease;
}
ul.topmenu>li>ul>li:nth-child(-n+15) a{
    display: block; /* 讓a變成區塊元素 */
    width: 100%;    /* 撐滿li的寬度 */
    height: 100%;   /* （通常不一定要寫）如果需要撐高也可以加上 */
    color: #fff;
}

ul.topmenu>li>ul>li:nth-child(-n+15) a:hover{
	text-decoration: none;	
	text-align: center;
	color: #FFF;
}
/*
ul.topmenu>li>ul>li a:hover{
	text-decoration: none;
	transition: all 0.5s ease;
	color:#fbdf4b;
	text-align: center;	
}*/
ul.topmenu>li>ul>li>ul>li:nth-child(-n+15){/*第三層*/
	background-color: rgb(153,153,153);
	border-bottom: #ccc 2px solid;
	float: left;
	text-align: left;
	width: 110%;
	margin: 0px 0px 1px 0;
	padding:10px 5px 10px 5%;
	line-height:20px;
	font-size: 100%;
	z-index: 999;
}	

ul.topmenu li .sub-toggle{position:absolute;right:0;top:0;z-index:999;width:100%;height:100%;text-align:center;cursor:pointer;}
ul.topmenu li .sub-toggle:before{content:'';display:inline-block;height:100%;margin-right:-0.25em;vertical-align:middle}
ul.topmenu li .sub-toggle>i{
	display: inline-block;
	color: #CCC;
	font-size: 110%;
	vertical-align: middle;
}
ul.topmenu>li{border-right:1px solid #999;}
ul.topmenu>li:last-child{
	border-right:0px solid #999
}

ul.topmenu ul,ul.topmenu li,ul.topmenu ul li ul,ul.topmenu li ul li {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ul.topmenu ol,ul.topmenu ul {
	list-style: none;
}
ul.topmenu blockquote,ul.topmenu q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
