@charset "utf-8";
/* CSS Document */
/*---globle---*/
body {margin:0; padding:0; font-family:Arial, Helvetica, sans-serif,'微軟正黑體';}
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;}
.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; position:fixed; z-index:300; top:0;}
.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; padding:1em; line-height:1.3em;}
.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:16px;}
.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:14px; color:#666; border-bottom:1px dotted #ccc; padding:0.4em 0 0.4em 1em;}
.subnav a:hover{color:#c81b1d; 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:16px;}
.contactinfo .subtit{color:#666; font-weight:bold;}
.contactinfo span{color:#ccc; padding:0 0.2em; font-size:13px;}
/*btn*/
.btn{padding:0.5em 3em; background:#666; color:#fff; border-radius:0.3em; display:inline-block;}
.btn:hover{background:#333;}

@media screen and (min-width:1280px){.hide-d{display:none !important;}}
@media screen and (max-width:1280px){/*desktop*/

/*Grid s size for desktop or landscape*/
.col-d1 {width: 8.33%;}
.col-d2 {width: 16.66%;}
.col-d3 {width: 25%;}
.col-d4 {width: 33.33%;}
.col-d5 {width: 41.66%;}
.col-d6 {width: 50%;}
.col-d7 {width: 58.33%;}
.col-d8 {width: 66.66%;}
.col-d9 {width: 75%;}
.col-d10 {width: 83.33%;}
.col-d11 {width: 91.66%;}
.col-d12 {width: 100%;}
}
@media screen and (min-width:961px) and (max-width:1279px){/*desktop-small*/ .hide-ds{display:none !important;}}
@media screen and (max-width:960px){/*desktop-small*/

/*Grid s size for pad*/
.col-p1 {width: 8.33%;}
.col-p2 {width: 16.66%;}
.col-p3 {width: 25%;}
.col-p4 {width: 33.33%;}
.col-p5 {width: 41.66%;}
.col-p6 {width: 50%;}
.col-p7 {width: 58.33%;}
.col-p8 {width: 66.66%;}
.col-p9 {width: 75%;}
.col-p10 {width: 83.33%;}
.col-p11 {width: 91.66%;}
.col-p12 {width: 100%;}
}
@media screen and (min-width:768px) and (max-width:960px){/*desktop-small*/ .hide-p{display:none !important;}}
@media screen and (max-width:767px){/*phone*/
.hide-m{display:none !important;}
/*Grid s size for mobile*/
.col-m1 {width: 8.33%;}
.col-m2 {width: 16.66%;}
.col-m3 {width: 25%;}
.col-m4 {width: 33.33%;}
.col-m5 {width: 41.66%;}
.col-m6 {width: 50%;}
.col-m7 {width: 58.33%;}
.col-m8 {width: 66.66%;}
.col-m9 {width: 75%;}
.col-m10 {width: 83.33%;}
.col-m11 {width: 91.66%;}
.col-m12 {width: 100%;}

.logo{width:60%;}
/*nav*/
.nav{width:100%; background:#333; display:none; position:static;}
.nav .col-12{text-align:center;}
.nav ul{margin:0; padding:0; list-style:none;}
.nav ul li{display:block; margin:0; padding:0; font-size:18px; width:100%;}
.nav ul li a{text-align:center; line-height:200%;  padding:0.2em 0; font-weight:normal; font-size:18px; display:block; border-radius:0;}
.nav ul li a:hover{background:#333; color:#fff;}
/*subnav*/
#submenu{border:1px solid #ccc; float:left; width:100%; border-radius:5px; box-shadow:0 5px 15px rgba(0,0,0,0.2); background:#fff;}
.subtoggle{padding:1em; display:block; border-bottom:1px dotted #efefef; cursor: pointer;}
.subnav{display:none;}
.subnav ul li{padding:0;}
.subnav ul li a{border-bottom:1px dotted #ccc; line-height:160%; padding:0.5em 1em; background:none; border-radius:0; color:#666; font-size:15px;}
}
