@import url("reset.css");
@import url("icomoon.css");

body, td, th {
	font-size: 13px;
	-webkit-text-size-adjust:100%;
	font-family:"微軟正黑體", "LiHei Pro", "新細明體", sans-serif;
}
body.d {
	background:url(../images/bg-1.jpg) top center no-repeat;
}
a {
	text-decoration: none;
	color: #362e2b;
	cursor:pointer;
	-webkit-transition:all 0.4s ease;
	-moz-transition:all 0.4s ease;
	-o-transition:all 0.4s ease;
	transition:all 0.4s ease;
}
a:hover {
	color:#09C;
}
.red {
	color: #F00;
}
.green {
	color:#090;
}
.line-through {
	text-decoration:line-through;
}
.column {
	border: 1px solid #CCC;
}
.blod {
	font-weight: bold;
}


/* 分 頁 頁 碼 */
.page {
	padding: 0;
	margin: 0px 3px;
	line-height: 18px;
	overflow: hidden;
	display: inline-block;
	min-width:15px;
	max-width: 50px;
	background: #fff;
	text-align: center;
}
.page a {
	display: block;
	padding: 0 2px;
}
.page_num a:hover {
	color: #796b5c;
	text-decoration:underline;
	font-weight:bold;
}
.page-select {
	color: #796b5c;
	text-decoration:underline;
	font-weight:bold;
}

/* 表 單 欄 位 美 化 */
input.error, textarea.error, select.error {
	border: 1px solid #F00;
	background: #FFFCFB;
}
label.error {
	color:#F00;
	margin-left:2px;
}
input[type=text], select, input[type=password], input[type=file], textarea {
	padding: 5px;
	font-size: 14px;
	margin-right: 2px;
	border-radius: 3px;
	height:33px;
	line-height:23px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
textarea {
	line-height:20px;
}
input[type="radio"],input[type="checkbox"].group {
	opacity:0;
}
input[type="radio"] + label,input[type="checkbox"].group + label {
	display: inline-block;
	background: #EBEBEB;
	cursor: pointer;
	padding: 1px 10px;
	line-height: 25px;
	color: #999;
	border-radius:4px;	
	vertical-align:middle;
	margin-left:-17px;
}
input[type="radio"]:checked + label,input[type="checkbox"].group:checked + label {
	padding-left: 18px;
	background: url(../images/yes.png) 2px center no-repeat #09c;
	color: #fff;
}
.button {
	font-size: 16px;
	line-height:30px;
	border: none;
	padding: 0px 7px;
	color: #FFF;
	background: #09c;
	cursor:pointer;
	-webkit-transition:all 0.4s ease;
	-moz-transition:all 0.4s ease;
	-o-transition:all 0.4s ease;
	transition:all 0.4s ease;	
}
.button:hover {
	color: #fff;
	background: #06c;
}

/* 表 單 排 版 */
dl.css-table {
	float:left;
	width:100%;
}
dd.css-tr {
	float:left;
	width:100%;
	font-size:16px;
	margin-bottom:5px;
}
dd.css-tr span.left {
	float:left;
	display:block;
	width:15%;
	line-height:35px;
	text-align:right;
}
dd.css-tr span.right {
	float:right;
	display:block;
	width:80%;
	line-height:35px;	
}
.width-1 {
	width:40%;
}
.width-2 {
	width:50%;
}
.width-3 {
	width:90%;
	height:150px;
}
.width-4 {
	width:20%;
}


/* 訊 息 盒 */
#loadingIMG {
	position:fixed;
	left:0;
	top:0;
	bottom:0;
	right:0;
	display:none;
	background:url(../images/loading.gif) center center no-repeat #FFF;
	z-index:100000;
	filter:Alpha(Opacity=20, FinishOpacity=20, Style=2); /* IE */
	-moz-opacity:0.8; /* Moz + FF */
	opacity:0.8; /* CSS3 */
	cursor:pointer;
}
#message-wrap {
	width:100%;
	position:fixed;
	top:0px;
	left:0px;
	min-height:100px;
	display:none;
	z-index:100000100;
	cursor:pointer;	
}
#message-box {
	position:relative;
	width:500px;
	margin:0 auto;	
	min-height:100px;
	padding:20px 10px 20px 110px;
	background:#FFF;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;	
	box-shadow: 0px 0px 5px #999;
}
#message-box span.message-icon {
	position:absolute;
	top:20px;
	left:20px;
	color:#09c;
	background:none;
	font-size:60px;
}
#message-box H1.text {
	margin-bottom:15px;
	font-size:18px;
	font-weight:normal;
}
.msg_btn {
	font-size: 15px;
	padding: 7px 10px;
	color: #FFF;
	background: #09c;
	cursor:pointer;
	border: none;	
	outline: none;
	-webkit-transition:all 0.4s ease;
	-moz-transition:all 0.4s ease;
	-o-transition:all 0.4s ease;
	transition:all 0.4s ease;		
}
.msg_btn:hover {
	color: #fff;
	background: #06c;
}

/**/
.wrap {
	width:1000px;
	margin:0 auto;
}
#page nav {
	display: none;
}
span.top {
	position:fixed;
	right:30px;
	bottom:100px;
	display:none	
}
span.top a {
	padding:10px;
	font-size:20px;
	font-family:"Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
	display:block;
	background:#09C;
	color:#FFF;
	border-radius:10px;
	text-align:center;
	line-height:22px;
}
.no-data {
	width:100%;
	text-align:center;
}


/* 頁 首 */
header {
	width:100%;
}
header > div.wrap {
	position:relative;
	min-height:90px;
	margin-bottom:20px;
}
#header-logo {
	float:left;
	width:38%;
	margin-top:45px;
}
#header-logo img {
	max-width:100%;
	height:auto;
}
#header-links {
	position:absolute;
	right:0;
	top:10px;
	line-height:25px;
	font-size:14px;
	color:#FFF;
}
#header-links a {
	color:#FFF;
}

#header-menu {
	float:right;
	width:60%;
	padding:7px 30px;
	margin-top:45px;
	background:url(../images/menu-bg.png) left top no-repeat;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
}

#header-banner {
	width:100%;
}

/* 中 間 */
#main-area {
	padding-top:20px;
}

/* 頁 腳 */
footer {
	padding:20px 0;
}
footer > div.wrap > div {
	border:1px solid #d2d2d2;
	padding:10px;
	text-align:center;
	line-height:18px;
}

/* 地 圖 */
#map-box {
	position:fixed;
	width:100%;
	top:0px;
	left:0px;
	display:none;
	z-index:999999;
}
span.map-top {
	display:inline-block;
	background:#CCC;
	cursor:pointer;
	opacity:0.9;
	padding:5px 10px;
	font-size:20px;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
}

@media screen and (max-width:999px) {
	.wrap {
		width:100%;
		padding:0 20px;
		box-sizing:border-box;
		-moz-box-sizing:border-box;
		-webkit-box-sizing:border-box;
	}
	span.top {
		position:fixed;
		bottom:50px;
		right:5px;
		z-index:999;
	}
	span.top span.text {
		display:none;
	}
	/*表 單 排 版 */
	dl.css-table,dd.css-tr {
		width: 100%;
	}
	dd.css-tr span.left,dd.css-tr span.right {
		display:block;
		width:100%;
		text-align:left;
	}	
	
	/* 頁 首 */
	#header-links {
		right:20px;
	}
	#header-menu {
		background:none;
		padding:0;
	}
	/* 中 間 */
	#main-area {
		padding:20px 0;
	}
		
	/* 頁 尾 */
	#footer-logo {
		padding:0 20px;
		width:100%;
		margin:0;
		text-align:center;
		box-sizing:border-box;
		-webkit-box-sizing:border-box;;
		-moz-box-sizing:border-box;;
	}
	
}
@media screen and (min-width: 640px) and (max-width:999px) {
	
}
@media screen and (max-width:639px) {
	body.d {
		background-position:50% -15px; 
	}	
	.width-1,.width-2,.width-3,.width-4 {
		width:100%;
		box-sizing:border-box;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
	}
	
	#header-logo {
		width:100%;
		padding:0 20px;
		margin:20px 0;
		text-align:center;
		box-sizing:border-box;
		-moz-box-sizing:border-box;
		-webkit-box-sizing:border-box;		
	}
	#header-links {
		float:left;
		position:static;
		width:100%;
		text-align:center;
	}	
	#header-menu {
		width:100%;
		margin-top:20px;
	}
	#footer-box, #footer-box:first-child  {
		width:100%;
		padding:0px;
		margin-bottom:30px;
	}
}
@media screen and (max-width: 479px) {

}
