@charset "utf-8";
/* CSS Document */
/*---globle---*/
body {margin:0; padding:0; font-family:Arial, Helvetica, sans-serif,'微軟正黑體'; font-size: 18px;}
a{text-decoration:none; transition:.3s;}
#header, #footer, #defaultimg, .content, .innerhtml, .frm, .flexfrm{width:100%; height:auto; float:left;}
.flexfrm{display:flex;}
.page{max-width:1200px; height:auto; margin:0 auto; }
.rwdimg{width:100%; height:auto;}/*讓圖自適應*/
.rwdimgmax{max-width:100%; height:auto;}
.innerhtml img{max-width:100%; height:auto;}
.path{font-size:13px; font-weight:normal; color:#999;text-align: right;}
.path a{color:#999;}
.side, .main{height:auto; float:left;}
figure,figcaption{margin:0; padding: 0;}
*{box-sizing:border-box;}
[class*="col-"] {float: left;}
/*youtube*/
.video-container {position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden;}
.video-container iframe, .video-container object, .video-container embed {position: absolute; top: 0;left: 0; width: 100%; height: 100%;}
/*Grid for all situation and >1280px*/
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
.col-20 {width: 20%;}
/*header nav*/
#header{text-align:center; }
.logo{ height:auto; float:left; line-height:0;}
.logo img{max-width:100%; height:auto;}
/*nav*/
.nav{text-align:right;}
.nav ul{list-style:none; margin:0; padding:0;}
.nav ul li{display:inline-block; position:relative; margin:0; padding:0; font-size:0px; line-height:0;}
.nav ul li a{display:block;}
.nav ul li ul{position:absolute; width:100%;}
.nav ul li ul li{display:block; text-align:center; width:inherit; cursor:pointer;}
/*subnav*/
#submenu{float:left; width:100%; overflow:hidden;}

.subnav ul{margin:0; padding:0; list-style:none;  font-size:20px;}
.subnav ul li{padding:0;}
.subnav ul li a{color:#333; padding:0.5em 1em; border-bottom:1px dotted #ccc;}
.subnav ul li a.hit{background:#efefef;}
.subnav ul li ul li a::before{content:"-"; margin-right:0.5em; color:#ccc;}

.subnav ul li ul li a{font-size:16px; color:#333; border-bottom:1px dotted #ccc; padding:0.4em 0 0.4em 1em;}
.subnav a:hover{background-color:#14508c; color: #FFF; padding-left:1em;}
.subnav a{width:100%; color:#fff; display:block; padding-left:0.5em;}
/*mobile menu btn*/
.menu{width:40px; height:40px; padding:3px; position:relative; border-radius:0.5em; text-align:center;  float:right;  transform:translateY(50%);  margin-right:3px; cursor:pointer;}
.menu > div{width:60%; height:1px; position:absolute; top:20%; left:20%; background:#333;}
.menu > div::before{ content:""; width:100%; height:1px; position:absolute; top:-7px; left:0; background:#333;}
.menu > div::after{ content:""; width:100%; height:1px; position:absolute; top:7px; left:0; background:#333;}
/*defaultimg*/
#defaultimg{line-height:0; background:#fff;}
/*contact*/
.contact{padding:1.5em; background:#f5f5f5; border-radius: 0.3em;}
.contact p{margin-bottom:0.3em;}
.contact input{height:30px; width:100%; border:none; border-radius: 0.3em; font-size:16px;}
.contact textarea{width:100%; border:none; border-radius: 0.3em; font-size:16px;}
select{height:auto; width:100%; }
/*contactinfo*/
.contactinfo{padding:1em 1em 1em 2em;}
.contactinfo p{ border-bottom:1px dashed #999; font-size:18px;}
.contactinfo .subtit{color:#333; font-weight:bold;}
.contactinfo span{color:#ccc; padding:0 0.2em; font-size:18px;}
/*btn*/
.btn a{padding:0.5em 3em; background:#666; color:#fff; border-radius:0.3em; display:inline-block; cursor:pointer;}
.btn a:hover{background:#333;}


