@charset "utf-8";
/* CSS Document */

body, wrapper, master, logo, menu, language, footer, div, ul, li, h1, h2, p, img {
    border: 0 none;
    font-size: 14px;
    outline: 0 none;
    padding: 0;
    vertical-align: baseline;
    margin: 0;
    font-family: "微軟正黑體",Arial,Helvetica,sans-serif;
    color: #000000;
    letter-spacing: 0.5px;
}

img{ max-width:100%; height:auto; border:0;}
.editor a {word-wrap: break-word;word-break: break-all;}
.table_scroll { overflow-x:auto; display:block;}

a {
text-decoration:none;
color:#000000;
-webkit-transition: all 0.3s ease-out 0s;
-moz-transition: all 0.3s ease-out 0s;
transition: all 0.3s ease-out 0s;
 }

a:hover { color:#11006a; text-decoration:none; }

.animate {
    -webkit-transition: 0.3s ease;
    -ms-transition: 0.3s ease;
    transition: 0.3s ease;
}



.clearfix:after,  .clearfix:before {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}
footer, header, section{
    line-height: 150%;
}

/*header*/
header {
    border-top: 8px solid #0083d1;
}
.top_bg {
    max-width: 1020px;
    margin: 0 auto;
    position: relative;
		min-height: 140px;
}
.top-link-box {
    position: absolute;
    bottom: 25px;
    right: 0;
}
.top_box {
    display: inline-block;
		margin-top: 2%;
}
.search-txt {
    overflow: visible;
    border: 1px solid #0083d1;
    padding: 0 5px;
    line-height: 150%;
    min-height: 24px;
    border-right: 28px solid #0083d1;
    width: 110px;
    border-radius: 5px 0 0 5px;
		font-size: 12px;
		background: none;
}
.search img {
    position: absolute;
    right: 8px;
    top: 6px;
}
#langNav {
    max-height: 26px;
    overflow: hidden;
    position: relative;
    position: absolute;
    right: 0px;
    top: 65px;
    z-index: 9;
}

#langNav.active {
    max-height: 300px;
}
#langNav.active > li:first-child{
	border-radius: 5px 0 0 0;
}
#langNav img {
    position: absolute;
    top: 8px;
    right: 6px;
}
#langNav img:hover {
    opacity: 0.7;
}
#langNav li:first-child {
    padding: 2px 0 0 7px;
    background: url(../images/language.png) no-repeat center right;
    border-top: 1px solid #0083d1;
    border-bottom: 1px solid #0083d1;
    text-align: left;
    color: #0083d1;
    border-radius: 5px 0px 0px 5px;
    border-right: 28px solid #0083d1;
    font-size: 12px;
    background: none;
}
#langNav li {
    vertical-align: top;
    line-height: 150%;
    box-sizing: border-box;
    border-left: 1px solid #0083d1;
    border-right: 1px solid #0083d1;
    background: #FFF;
    cursor: pointer;
    min-height: 26px;
    width: 140px;
    z-index: 99999;
    font-size: 12px;
    padding: 5px 0;
    border-bottom: 1px solid #0083d1;
}
#language li a {
    color: #777;
    display: block;
    margin: 0 5px 0 0;
    line-height: 24px;
    font-size: 12px;
    border: none;
    font-weight: normal;
}
.search {
    position: absolute;
    right: 0;
    top: 65px;
}
.clearEnd > ul > li > a.current {
	padding-top: 41px;
}
.clearEnd > ul > li:first-child{
	border-right: none;
}
.clearEnd > ul > li:nth-child(2){
	border-left: 1px solid #c5e3f5;
}

.clearEnd > ul > li {
    display: inline-block;
    font-size: 15px;
    text-align: center;
    border-right: 1px solid #c5e3f5;
    margin-right: -4px;
    font-weight: bold;
    line-height: 100%;
}
.clearEnd > ul > li:last-child{
	border-right:0;
	position: relative;
}
.clearEnd > ul > li > a {
    display: inline-block;
    padding-bottom: 4px;
    box-sizing: border-box;
    line-height: 1;
    padding: 0px 15px 10px 15px;
    width: 122px;
}
.clearEnd > ul > li > a:hover {
	color:#fff;
	background-color: #0083d1;
  border-bottom: 5px solid #4abbff;
	padding-top: 41px;
}
.clearEnd a li {
    font-size: 20px;
    font-weight: bold;
    color: #184386;
}
.mainShow {
    height: 18px;
}
nav {
    display: inline-block;
    float: right;
}
.top_list li {
    display: inline-block;
    font-size: 13px;
		padding-left: 10px;
}
.search img:hover {
    opacity: 0.7;
}
.top_list {
    display: inline-block;
    vertical-align: top;
	padding-right: 15px;
}
.collapse-button {
    display: none;
}



@media print, screen and (max-width:1020px){
body {
    background-position-y: 0;
    background-size: contain;
}
#langNav li:first-child {
    background: #fff;
}
.search-txt {
		background: #fff;
}
.clearEnd {
	padding-top:0;
  position: absolute;
  top: 0;
}
.clearEnd li:hover {
    box-shadow:none;
}
.collapse-button{
	display: block;
}

nav {
    max-height: 0;
    overflow: hidden;
    width: 100%;
    height: auto;
    position: relative;
    margin: 0;
    background: none;
}
nav.active {
    width: 100% !important;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    overflow-y: auto;
    z-index: 3;
    opacity: 1;
    animation-duration: 1s;
    background-color: rgba(43, 43, 82, 0.9);
    padding-top: 51px;
}
nav > ul > li.mainShow {
    border-top: 0;
    border-radius: 0px;
    padding: 0;
    margin: 0;
}
nav.clearEnd > ul > a > li {
    border-bottom: 1px solid #aaa;
	padding:12px;
}
nav.clearEnd > ul > li:hover{
	background:#;
}
.top-link-box{ position:inherit; margin: 15px;text-align: center;}
.clearEnd > ul > li:last-child {
    position: inherit;
}
#langNav {
    position: relative;
    display: inline-block;
    vertical-align: top;
    top: 0;
    right: 18px;
}
.search {
    position: relative;
    display: inline-block;
    vertical-align: top;
    top: 0;
    right: 0;
}


#header_bg	{
	background-image: none;
	height:75px;
}
header{
    height: auto;
}


#top{
	position: relative;
}


header,#top,#top:after{
	width: 100%;
}

#top img{
	height: 100%;
}

#top > a + span{
	display: none;
}

.collapse-button{
	display: block;
}

#top,#top:after{
	box-sizing: border-box;
	height: 68px;
	padding: 10px;
	text-align:left;
}
#nav_bg	{
	padding-left:0;
	background: #164A75;
}
nav.active{
	max-height: 3000px;
}


nav > ul > li, #topNav > li {
	width: 100% !important;
	float: none !important;
	border-right: none !important;
	border-left: none !important;
	height: auto !important;
}

nav > ul > li > a,#topNav > li > a{
    padding: 12px !important;
    box-sizing: border-box !important;
    vertical-align: baseline !important;
    border-radius: 0px;
		color: #fff;
    text-align: center;
}

nav > ul > li > a:before,#topNav > li > a:before{
	content: ' ';
	display: inline-block;
	width: 0;
	height: 80%;
	vertical-align: baseline;
}
#topNav > li	{
	width: auto !important;
	border:0;
}
#topNav li.phone	{
	display:inline-block;
}
li a.active + .subNav{
	max-height: 5000px;
}

.clearEnd > ul > li{
	padding:0px;
}
.clearEnd > ul > li:hover{box-shadow:none;}

.clearEnd li:nth-child(7){
	padding-left:0;
}


nav {
	padding-top:0;
}

/*按鈕會動*/
.active .line01 {
	-webkit-transform: translateY(14px) rotate(45deg);
	-ms-transform: translateY(14px) rotate(45deg);
	transform: translateY(14px) rotate(45deg);
}
.active .line02 {
 opacity: 0;
}
.active .line03 {
	-webkit-transform: translateY(-4px) rotate(-45deg);
	-ms-transform: translateY(-4px) rotate(-45deg);
	transform: translateY(-4px) rotate(-45deg);
}
/*按鈕會動*/

.clearEnd > ul > li > a:hover{
	color:#ddd;
    background: #505686;
}

}
@media print, screen and (max-width:640px){
	body {
	    background-position: center -35% !important;
	    background-size: inherit;
	}
}
