.topmenu{
	width: 100%;
	background: #55916d;
	height: 100px;
	background-image: url('../images/top-bg-1.jpg'), url('../images/top-bg-2.jpg');
	background-repeat: no-repeat, no-repeat;
	background-position: left top, right top;
	-webkit-box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.3);
	position: fixed;
	z-index: 999;
}
.logo{
	float: left;
	padding-left: 15px;
	position: absolute;
	z-index: 100;
}
.logo img{
	width: auto;
	height: 60px;
	margin-top: 20px;
	transition: all 0.5s;
}
.logo img:hover{opacity: 0.7;}
.megatop {
	width: 100%;
	height: 40px;
	list-style: none;
	position: relative;
}
.megatop .g-translation {
	padding-top: 10px;
	float: right;
}
.megatop .g-translation .fb {
	margin-right: 10px;
	padding-top: 0px;
	float: left;
}
.megatop .g-translation .fb img {
	width: auto;
	height: 24px;
}

/* google翻譯 */
#goog-gt-tt {display:none !important;}
.goog-te-banner-frame {display:none !important;}
.goog-te-menu-value:hover {text-decoration:none !important;}
#google_translate_element {display:none!important;}
.g-translate-option {
	font-size: 13px;
	color: #333;
	height: 25px;
	border: 1px solid #999;
	border-radius: 3px;
	padding-left: 22px;
	background-image: url(../images/g-translate-icon.png);
	background-size: 16px 16px;
	background-position: 4px 3px;
	background-repeat: no-repeat;
	background-color: #FFFFFF;
}	
.megamenu {
	padding: 0 0 0 570px;
	width: 100%;
	list-style: none;
	display: inline-block;
	position: relative;
}
.megamenu ul {margin:0;padding:0;}

/* 選單 */
.megamenu li {display: inline;}
.megamenu>li>a {
	width: 100px;
	height: 60px;
	float: left;
	font-size: 16px;
	line-height: 60px;
	text-align: center;
	color: #fff;
	font-weight: normal;
	padding: 0;
	text-decoration: none;
	text-transform: uppercase;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	background-image: url(../images/menu-line.png);
	background-position: right 23px;
	background-repeat: no-repeat;
}
.megamenu>li>a:hover {
	background-color: rgba(0,0,0,0.3);
	background-image: none;
}
.megamenu>li.active>a {background-color: rgba(0,0,0,0.3);}

/* 子選單區塊 */
.megamenu>li>.megapanel {
	width: 100%;
	padding: 20px 30px 20px 0;
	position: absolute;
	display: none;
	top: 60px;
	left: 0px;
	z-index: 99;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	background-color: #e0f0e2;
	background-image: -webkit-linear-gradient(270deg,rgba(0,0,0,0.3) 0%,rgba(224,240,226,1.00) 6%);
	background-image: -moz-linear-gradient(270deg,rgba(0,0,0,0.3) 0%,rgba(224,240,226,1.00) 6%);
	background-image: -o-linear-gradient(270deg,rgba(0,0,0,0.3) 0%,rgba(224,240,226,1.00) 6%);
	background-image: linear-gradient(180deg,rgba(0,0,0,0.3) 0%,rgba(224,240,226,1.00) 6%);
}
.megamenu .megapanel ul{margin:0; padding:0}
.megapanel .box{
	width: 100%;
	margin-top: 0px;
}
.megapanel .box:first-child{margin-top:0px}
.megapanel .box:before,
.megapanel .box:after{
	display:table;
	content:"";
	line-height:0
}
.megapanel .box:after{clear:both}
.megapanel .box .col {
	display: block;
	width: 100%;
	float: left;
	padding: 0px;
}
.megapanel .box [class*="col"]:first-child{margin-left:0}
.hnav {
	width: 20%;
	font-size: 16px;
	color: #333;
	text-transform: uppercase;
	margin: 5px 0;
	float: left;
	border-right: 1px solid #55916d;
	text-align: center;
}
.hnav a:hover {
	color: #3b654c;
	border-bottom: 1px solid #3b654c;
	padding-bottom: 3px;
	text-decoration: none;
}
.hnav i {padding-right: 5px;}

@media screen and (max-width: 1440px) {
.topmenu {background-image: none;}
}

@media screen and (max-width: 1199px) {
.megamenu {padding: 0 0 0 370px;}
}

@media screen and (max-width: 991px) {
.topmenu {height: 90px;}
.logo{padding-left: 30px;}	
.logo img{height: 50px;}
.megatop .g-translation {
	padding-top: 15px;
	padding-right: 30px;
	float: right;
}	
.megamenu {padding: 0px;}	
.megamenu a{
	width: 100%;
	height: 0px;
}
.megamenu li{
	margin: 0;
	display: block;
	width: 100%;
	border-bottom: none;
}
.megamenu>li>a {
	width: 100%;
	height: 40px;
	font-size: 18px;
	line-height: 40px;
	text-align: center;
	background: #3b654c;
	border-bottom: 1px solid #55916d;
	background-image: none;
}	
.megamenu>li>.megapanel{
	position: static;
	margin-top: 0px;
	padding: 0 0 15px;
	top: 50px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
}
.megapanel .box{margin-top:0;}
.megapanel .box [class*="col"]{
	float: left;
	display: block;
	width: 100%;
	padding: 0px;
}
.megapanel .box:first-child [class*="col"]:first-child{margin-top:15px;}
.hnav {
	font-size: 18px;
	width: 50%;
	padding: 0px;
}

/* 手機版選單頭 */		
.megamenu>li.showhide {
	width: 100%;
	font-size: 16px;
	height: 50px;
	background: #55916d;
	cursor: pointer;
	float: right;
}
.megamenu>li.showhide span.title {
	font-family: "Federo",serif;
	line-height: 48px;
	float: right;
	padding-right: 70px;
}

/* 三條線樣式 */
.megamenu>li.showhide span.icon1:after,
.megamenu>li.showhide span.icon2:after,
.megamenu>li.showhide span.icon3:after {
	position: absolute;
	content: "";
	width: 30px;
	height: 2px;
	background-color: #fff;	
	z-index: 1;
}
.megamenu>li.showhide span.icon1:after{right: 30px; top: 14px;}
.megamenu>li.showhide span.icon2:after{right: 30px; top: 21px;}
.megamenu>li.showhide span.icon3:after{right: 30px; top: 28px;}	
.skyblue, 
.skyblue>li.showhide {
	margin: 0px;
	z-index: 1;
}
.skyblue li>a,
.skyblue>li.showhide span{
	color: #fff;
}
.skyblue>li:hover>a,
.skyblue .dropdown li:hover>a{
	color:#fff; 
	background:#55916d;
}
}

@media screen and (max-width: 480px) {
.topmenu{height: 80px;}	
.logo{padding-left: 15px;}		
.logo img{height: 40px; margin-top: 20px;}
.megatop .g-translation {
	padding-top: 10px;
	padding-right: 15px;
	float: right;
}
.megatop .g-translation .fb {margin-right: 5px;}
.megamenu>li>a {font-size: 16px;}
.hnav {font-size: 16px;}	
	
/* 手機版選單頭 */		
.megamenu>li.showhide {
	width: 100%;
	font-size: 14px;
	height: 40px;
	background: #55916d;
	cursor: pointer;
	float: right;
}
.megamenu>li.showhide span.title {
	line-height: 31px;
	float: right;
	padding-right: 55px;
}	
	
/* 三條線樣式 */
.megamenu>li.showhide span.icon1:after,
.megamenu>li.showhide span.icon2:after,
.megamenu>li.showhide span.icon3:after {
	position: absolute;
	content: "";
	width: 30px;
	height: 2px;
	background-color: #fff;	
	z-index: 1;
}	
.megamenu>li.showhide span.icon1:after{right: 15px; top: 7px;}
.megamenu>li.showhide span.icon2:after{right: 15px; top: 14px;}
.megamenu>li.showhide span.icon3:after{right: 15px; top: 21px;}		
}
