/* CSS reset */
html,body,p,ol,ul,li,div,span,p,table,th,td,strong,a,noscript,nav,footer,main,h1,h2,h3,h4,h5,h6,hr,input[type=button],input[type=submit],input[type=reset]{
	padding: 0;
	margin: 0;
	list-style: none;
	font-weight: normal;
	font-size: 1em;
	font-family: '微軟正黑體', "Microsoft JhengHe UI", Helvetica, serif;
	letter-spacing: 0.01em;
}

.animate{
	-webkit-transition: 0.5s ease;
	-ms-transition: 0.5s ease;
	transition: 0.5s ease;
	
}

.animateL{
	-webkit-transition: 1s ease;
	-ms-transition: 1s ease;
	transition: 1s ease;
}

a{
	text-decoration: none;
}

.clear{
	clear: both;
}

.afterClear:after{
	content: ' ';
	display: block;
	clear: both;
}

header{
	background: #FFF;
	position: relative;
	width: 100%;
	height: 100px;
	
}

header #logo{
	display: block;
	width: 40%;
	text-align: right;
	float: left;
	padding: 0 0 0 0;

}

header #logo img{
	height: 95px;
   
	margin-right: 15%;
}

nav{
	position: relative;
	width: 100%;
	height: 59px;
	box-sizing: border-box;
	background: #053E78;
	padding: 6px 7px 5px 7px;
	
}

nav > ul{
	display: block;
	width: 100%;
	height: 100%;
	background: #0048AA;
	text-align: center;
}

nav > ul > li{
	display: inline-block;
	height: 100%;
}

nav > ul:before,nav > ul:after{
	content: ' ';
	width: 40px;
	height: auto;
	border: solid;
}

nav > ul:before{
	float: left;
	border-width: 50px 0 0 20px;
	border-color: transparent transparent transparent #053E78;
}

nav > ul:after{
	float: right;
	border-width: 50px 20px 0 0;
	border-color: transparent #053E78 transparent transparent;
}

nav > ul > li{
	position: relative;
	box-sizing: border-box;
	padding: 10px 15px;
	border-right: 1px solid #053E78;
}

nav > ul > li a{
	display: block;
	color: #FFF;
	font-size: 1.5em;
	font-weight: bold;
}

nav > ul > li a i{
	margin: 0 0 0 0.5em;
}

nav > ul > li:hover{
	box-shadow: 0px 0px 10px #000;
}

nav > ul > li:hover .subNav{
	max-height: 500px;
}

nav .subNav{
	position: absolute;
	top: calc(100% + 5px);
	left: 0;
	z-index: 5;
	background: #FFF;
	box-shadow: 1px 1px 5px #333;
	max-height: 0;
	overflow: hidden;
}

nav .subNav li{
	border-style: none solid solid none;
	border-width: 1px;
	border-color: #CCC;
	text-align: left;
}

nav .subNav li:hover{
	border-color: #00A05D;
	border-width: 1px 1px 3px 1px;
}

nav .subNav li:hover a{
	color: #000;
}

nav .subNav a{
	display: block;
	padding: 0.5em 2em;
	color: #666;
	white-space: nowrap;
	font-size: 1.2em;
}

#banner{
	position: relative;
	width: 100%;
	height: auto;
}

#banner img{
	width: 100%;
}

#banner .info{
	position: absolute;
	top: 25%;
	left: 0;
	width: 35%;
	height: auto;
	background: rgba(160, 170, 179, 0.71);
	text-align: right;
	z-index: 2;
	padding: 25px 50px;
	box-sizing: border-box;
}

#banner .info p{
	color: #FFF;
	font-size: 2em;
	font-weight: bold;
}

.btn:before{
	position: absolute;
	top: 0;
	left: 0;
	content: ' ';
	display: block;
	background: #00A05D;
	width: 5px;
	height: 100%;
}

.btn:after{
	font: normal normal normal 14px/1 FontAwesome;
	content: "\f061";
	margin: 0 0 0 0.5em;
}

.btn{
	position: relative;
	display: inline-block;
	background: #FFF;
	padding: 0.5em 1em;
	border-radius: 0 1em 1em 0;
	color: #383838;
	box-shadow: 1px 2px 5px #6f6e6e;
	margin: 0.5em;
	font-weight: bold;
	font-size: 0.8em;
}

.btn:hover,.btn:hover *{
	color: green;
}

footer{
	position: relative;
	width: 100%;
	background-color: #F0F9E8;
	background-image: linear-gradient(to bottom, #E8E7EC 0%, #F0F9E8 100%);

}

footer:before{
	content: ' ';
	display: block;
	background: #00A05D;
	width: 100%;
	height: 0.8em;
}

#footer_logo{
	display: block;
	margin: 3em auto 3em auto;
	width: 243px;
}

#footer_nav{
	width: 100%;
	text-align: center;
	margin: 1em 0;
}

#footer_nav li{
	display: inline-block;
	margin: 0.5em;
}

#footer_nav li a{
	font-size: 1.4em;
	font-weight: bold;
	color: #333;
	margin: 0 1em;
}

.footer_info{
	width: 100%;
	margin: 0em 0;
	text-align: center;
}

.footer_info li{
	display: inline-block;
	margin: 0 1em;
}

.footer_info li a{
	color: #333;
	font-weight: bold;
}

.footer_info li a i{
	margin: 0 0.5em 0 0;
}

.footer_info li a:hover{
	text-decoration: underline;
}

footer > p{
	width: 100%;
	text-align: center;
	padding: 4em 0 2em 0;
	font-size: 1em;
        margin: -4em auto;
}

#search_lang{
	position: absolute;
	top: 0;
	right: 0;
}

#search_lang ul,#search_lang #search{
	float: left;
	margin: 0 0 0 0.5em;
}

#search_lang ul li{
	text-align: center;
	padding: 0.5em;
	display: inline-block;
	border: 2px solid #00A05D;
	border-top: none;
	border-radius: 0 0 10px 10px;
	background: #FFF;
}

#search_lang ul li a{
	color: #000;
	font-weight: bold;
}

#search_lang #search{
	background: #00A05D;
	display: block;
	border-radius: 0 0 10px 10px;
}

#search_lang #search i{
	margin: 0 0.5em;
	color: #FFF;
}

#search_lang #search form{
	margin: 0;
}

#search_lang #search input{
	border-radius: 50px;
	border: none;
	margin: 0.5em 0.8em 0.4em 0.5em;
	width: 15em;
	height: 1.7em;
}

#quick_link{
	position: absolute;

	top: 60px;
	right: 0;
	width: 190px;
	height: 40px;
	background-image: linear-gradient(65deg, #37c463 0%, #148e5a 50%, #0e7644 100%);
}

#quick_link a{
	display: block;
}

#quick_link a:after{
	content: ' ';
	width: 0;
	height: 40px;
	display: inline-block;
	vertical-align: middle;
}

#quick_link span,#quick_link i{
	color: #FFF;
	display: inline-block;
	vertical-align: middle;
}

#quick_link span{
	font-size: 1.3em;
	margin: 0 0.5em;
}

#quick_link i{
	font-size: 2em;
	margin: 0 0 0 1em;
}

#quick_link:hover {
    box-shadow: 2px 4px 10px #383838;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    animation: turnleft 0.6s infinite alternate-reverse ease-in-out;
    -webkit-animation: turnleft 0.6s infinite alternate-reverse ease-in-out;
    -moz-animation: turnleft 0.6s infinite alternate-reverse ease-in-out;
}

@keyframes turnleft {
    0% {
        transform: translate(-11px, 0px);
        -webkit-transform: translate(-11px, 0px);
        -moz-transform: translate(-11px, 0px);
        -ms-transform: translate(-11px, 0px);
    }
    100% {
        transform: translate(0px, 0px);
        -webkit-transform: translate(0px, 0px);
        -moz-transform: translate(0px, 0px);
        -ms-transform: translate(0px, 0px);
    }
}

@-webkit-keyframes turnleft {
    0% {
        transform: translate(-11px, 0px);
        -webkit-transform: translate(-11px, 0px);
        -moz-transform: translate(-11px, 0px);
        -ms-transform: translate(-11px, 0px);
    }
    100% {
        transform: translate(0px, 0px);
        -webkit-transform: translate(0px, 0px);
        -moz-transform: translate(0px, 0px);
        -ms-transform: translate(0px, 0px);
    }
}

#quick_link_block{
	position: fixed;
	width: 320px;
	height: 100%;
	background: #C9D6CC;
	top: 0;
	right: -350px;
	z-index: 10;
	box-shadow: -2px 0 8px #333;
	box-sizing: border-box;
	overflow-y: auto;
	padding: 2em 1em;
}

#quick_link_block.active{
	right: 0;
}

#quick_link_block.active + #quick_link_bg{
	right: 0;
}

#quick_link_close{
	position: absolute;
	top: 5px;
	right: 10px;
	display: block;
	padding: 0.2em;
	display: block;
	font-weight: bold;
	font-size: 2.5em;
	font-family: sans-serif;
	cursor: pointer;
}

#quick_link_bg{
	position: fixed;
	top: 0;
	right: -100%;
	width: 100%;
	height: 100%;
	z-index: 5;
	background: rgba(200,200,200,0.6);
}

#quick_link_block ul li:first-child{
	font-size: 1.7em;
	font-weight: bold;
	margin: 0;
	padding: 0;
}

#quick_link_block ul li:first-child:hover{
	background: none;
}

#quick_link_block ul li{
	padding: 0.5em;
}

#quick_link_block ul li:hover{
	background: green;
}

#quick_link_block ul li a{
	display: block;
	color: #000;
}

#quick_link_block ul li:hover a{
	color: #FFF;
}

#quick_link_block ul li:first-child:after{
	content: ' ';
	display: block;
	width: 10em;
	height: 5px;
	background-image: linear-gradient(to left, #00A04D 0%, #34d472 100%);
	margin: 0.2em 0 0.5em -1em;
}

#search_lang ul li.langActive{
	border-color: #FF4500;
}

#search_lang ul li.langActive a{
	color: #FF4500;
}

h2 img{
	max-width: 100%;
	height: auto;
}

/* ------------------------------ */

@media screen and (max-width:1350px) {
	nav > ul > li{
		padding: 15px 15px;
	}

	nav > ul > li a{
		font-size: 1em;
	}
}

@media screen and (max-width:1100px) {
	#quick_link{
		top: 135px;
		width: 140px;
	}

	#quick_link a{
		font-size: 12px;
	}

	#search_lang{
		right: auto;
		left: 0;
		top: 140px;
	}

	#search_lang #search input{
		width: 10em;
	}

	#search_lang ul li{
		border-top: 2px solid #00A05D;
		border-bottom: none;
	}

	#search_lang ul li,#search_lang #search{
		border-radius: 10px 10px 0 0;
	}

	header{
		height: 130px;
	}

	header #logo{
		display: block;
		width: 100%;
		text-align: center;		
		padding: 3% 0 0 0;
	}

	.navmenu {
		width: 35px;
		height: 35px;
		position: absolute;
		text-align: center;
		left: 20px;
		cursor: pointer;
	}

	.navmenu span {
		display: block;
		width: 30px;
		height: 4px;
		background-color: #FFF;
		margin-top: 15px;
		border-radius: 10px;
	}

	.navmenu span:before {
		content: '';
		display: block;
		width: 30px;
		height: 4px;
		background-color: #FFF;
		margin-top: -10px;
		position: absolute;
		border-radius: 10px;
	}

	.navmenu span:after {
		content: '';
		display: block;
		width: 30px;
		height: 4px;
		background-color: #FFF;
		position: absolute;
		margin-top: 10px;
		border-radius: 10px;
	}

	header{
		margin: 45px 0 0 0;
	}

	nav .subNav{
		display: none;
	}

	nav{
		position: fixed;
		top: 0;
		left: 0;
		height: 45px;
		box-sizing: border-box;
		z-index: 5;
	}

	nav > ul{
		position: fixed;
		top: 45px;
		left: 0;
		max-width: 0;
		overflow: hidden;
	}

	nav.active > ul{
		max-width: 100%;
		display: block;
	}

	nav > ul:before,nav > ul:after{
		display: none;
	}

	nav > ul > li{
		display: block;
		height: auto;
		margin: 1em;
		border: none;
	}

	nav > ul > li > a > i{
		display: none !important;
	}

	#banner .info p{
		font-size: 0.8em;
	}
}

@media screen and (max-width:701px) {
	h2{
		margin: 0 0em !important;
	}

	#footer_nav{
		width: 80%;
		margin: 2em auto;
		text-align: center;
	}

	#footer_nav li a{
		font-size: 1em;
	}

	.footer_info{
		text-align: center;
		margin: 0 auto;
	}

	.footer_info li{
		display: block;
		margin: 1em 0;
	}
}

@media screen and (max-width:620px) {
	header #logo img{
		height: 70px;
	}

	#footer_nav{
		width: 100%;
	}

	#footer_nav:after{
		content: ' ';
		display: block;
		clear: both;
	}

	#footer_nav li{
		width: 50%;

		text-align: center;
		margin: 0.5em 0;
		float: left;
	}

	#footer_nav li a{
		margin: 0;
		font-size: 1em;
	}

	.footer_info li{
		margin: 2em 0;
	}

	#banner .info{
		top: 0;
		left: 0;
		padding: 0.5em 1em;
		width: 100%;
		height: 100%;
		background: rgba(160, 170, 179, 0.5);
	}

	#banner .info p,#banner .info span{
		font-size: 0.5em !important;
	}

	#banner .info p{
		text-align: left;
		padding: 0.1em 1em;
	}

	.btn{
		position: absolute;
		bottom: 5px;
		right: 5px;
	}
}

@media screen and (max-width:400px) {
	header{
		height: 200px;
	}

	#search_lang{
		top: 210px;
	}
}