﻿@charset "utf-8";
body {margin:0; padding:0; font-size:15px; line-height:160%; 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;}
.page{height:auto; position:relative; margin:auto auto; padding:auto auto; display:table;}
.flexfrm{display:flex;}
.rwdimg{width:100%; height:auto;}/*讓圖自適應用*/
*{box-sizing:border-box;}
[class*="col-"] {
    float: left;
    
}
input:focus{outline:none}

/*header*/
#header{position:fixed; z-index:1000; top:0; left:0;}
.logo{ height:auto; float:left; line-height:0;}
.logo img{max-width:100%; height:auto;}

/*nav*/
.nav{float:right; height:auto;}
.nav a{text-align:right; display:inline-block;}
/*subnav*/
#submenu{float:left; width:100%; border-radius:5px; background:#f5f5f5; box-shadow:0 5px 15px rgba(0,0,0,0.2); overflow:hidden;}
.subnav ul{margin:0; padding:0; list-style:none;  font-size:16px;}
.subnav ul li a{border-bottom:1px solid #fff; line-height:160%; padding:0.7em;}
.subnav ul li ul li a{border:none; font-size:14px; color:#333; border-bottom:1px dotted #ccc; padding:0.4em 0 0.4em 1.5em; background:#DAE7E6;}
.subnav a:hover{color:#fff; background:#333;}
.subnav a{width:100%; color:#333; display:block; padding-left:1em;}
/*footer*/
/*defaultimg*/
#defaultimg{line-height:0;}
#defaultimg .page{padding:0;}

/*content*/
.side{height:auto; float:left;}
.main{height:auto; float:left; line-height:180%; text-align:left;}
.sidetit{font-weight:normal; color:#163f92; background:#efefef; padding:0.5em 0.3em;}
.sidetit span{font-size:13px; color:#666;}
.innerhtml img{max-width:100%;}
.path{font-size:14px; font-weight:normal; color:#999; padding:1em 0;}
.path a{color:#999;}

/*contact*/
.contact{background:#efefef; box-shadow:0 0 10px rgba(0,0,0,0.1); margin-bottom:2em;}
.contact div{padding:0.3em 1em;}
.contact p{margin-bottom:0;}
.contact input{height:30px; width:100%; border:none;}
.contact textarea{width:100%; border:none;}
select{height:auto; width:100%; height:30px;}
/*contactinfo*/

.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;}
.btn:hover{background:#333;}

/*Grid for all situation and >1200px*/
.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%;}


@media screen and (max-width:767px) {/*mobile*/
.BannerDivPc{display:none;}
.hide-m{display:none !important;}
.page{width:100%; padding:0 2%;}
/*header*/
#header .page, #defaultimg .page{padding:0;}
.logo{width:60%;}
/*nav*/
.nav{width:100%; border-bottom:1px solid #ccc; display:none;}
.nav a{width:100%; text-align:center; border-top:1px dotted #ccc; line-height:200%; padding:0.2em 0; font-weight:normal; font-size:16px;}
.nav a:hover{background:#333; color:#fff;}
/*subnav*/
#submenu{border:1px solid #ccc; float:left; width:100%; border-radius:5px; margin-top:3em;}
.subtoggle{padding:15px;}
.subnav{display:none;}
/*content*/
.side{width:100%; padding:0 1em; }
.main{width:100%; padding:1em;}
/*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%;}

}

@media screen and (min-width:768px) and (max-width:1199px){/*pad*/
.BannerDivMobile{display:none;}
.hide-p{display:none !important;}
.page{width:100%; padding:0 2%;}
/*header*/
#header .page{display:table;}
.logo{width:28%; padding-left:1%; }
/*nav*/
.nav{width:72%; text-align:right;}
/*subnav*/
.subtoggle{display:none;}
/*content*/
.side{width:28%; padding:0em 1em 1em 1em; }
.main{width:72%; padding:0em 1em 1em 1em; min-height:500px;}
/*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:900px) and (max-width:1149px){/*desktop*/
.nav a{font-size:15px; padding:2em 1em 0 1em;}
/*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:1150px){/*desktop*/
.BannerDivMobile{display:none;}
.hide-d{display:none !important;}
.page{width:1150px;}
/*header*/
#header .page{display:table;}
.logo{width:28%;}
/*nav*/
.nav{width:72%; text-align:right;}
/*subnav*/
.subtoggle{display:none;}
/*content*/
.side{width:28%; padding:1em 1em 1em 1em; }
.main{width:72%; padding:0em 1em 1em 1em; min-height:600px;}
}