/* CSS Document */
@charset "utf-8";

/* ################################################################
 DOCUMENT
################################################################ */
html, body {
	/*background-color: #f7fafa;*/
	background-color: #f5f5f5;
	margin: 0;
	padding: 0;
	
	font-size:18px;
	font-family:"微軟正黑體","Microsoft JhengHei","helvetica";
	
*position:relative;
/*	overflow-x: hidden;*/
}
/*for ios*/


/* ################################################################
 PAGESIZE
################################################################ */
.pagesize {
	width: 100%;
	/*min-width: 1000px;  #delete */
	overflow: hidden;
	margin: 0 auto;
}
@media screen and (max-width: 768px) {
	.pagesize {
		min-width:100%;
	}
}

/* ################################################################
 HEADER
################################################################ */
.header {
	position: relative;
	padding: 0 10px;
	height: 70px;
	background-color: #fff;
    /*
    -webkit-box-shadow: 0px 10px 17px -3px rgba(149,165,166,0.45);
       -moz-box-shadow: 0px 10px 17px -3px rgba(149,165,166,0.45);
			box-shadow: 0px 10px 17px -3px rgba(149,165,166,0.45);
    */
}
.header .logo {
	width: 350px;
	height: 70px;
	background: url(../img/logo.svg) center left no-repeat;
	
	cursor: hand;
	cursor: pointer;
}
.header .logo.unlog {
	width: 200px;
}

.header .topnav {
	position: absolute;
	bottom: 10px;
	right: 10px;
}

.header .topnav li {
	float: left;
	line-height: 70px;
	padding:0;
	/* width:100px;*/
	text-align:center;
	padding:0 10px;	
}

.header .site-link {
	position: absolute;
	top: 30px;
	right: 10px;
}



@media screen and (max-width:768px) {
	.header {
		height: auto;
		padding: 10px;
	}
	.header .logo {
		width: 170px;
		height: 40px;
		/*margin: 0 auto; #delete */
		background: url(../img/logo.svg) center left no-repeat;
		background-size: auto 100%;
	}
	.header .logo.unlog {
		width: 170px;
		background: url(../img/logo.svg) center left no-repeat;
		background-size: auto 60px;
	}
}


/* ################################################################
 LOGBOX
################################################################ */

.logbox ul li {
	list-style: none;
}

.logbox ul li a {
	text-decoration: none;
	
	outline: none; /* for Firefox */
	hlbr:expression(this.onFocus=this.blur()); /* for IE */
}


/* ################################################################
PAGE-NAV - MDBS
################################################################ */
.m-pagenav {
	display:none;
}
.pagenav {
	width:100%;
	background-color:#1bb2b0;
	height:52px;
	display:block;
	margin-bottom:15px;
}
.pagenav ul {
	width:1000px;
	margin:0 auto;
	padding:0;
}
.pagenav ul li {
	list-style: none; /* yanyi */
	
	width:185px;
	float:left;
	
	line-height:45px !important;
	text-align:center;
	cursor:pointer;
}
.pagenav ul li:hover, 
.pagenav ul li.on {
	background-color:#319a99;
	line-height:45px !important;
}
.pagenav ul li a {
	width:185px;
	line-height:50px;
	
	text-decoration: none;	
	font-size:21px;
	color:#fff;
}
.pagenav ul li a:hover {
	text-decoration: none;
	color:#fff;
}

@media screen and (max-width:768px) {
	.pagenav {
		display:none;
	}
	.m-pagenav {
		width:100%;
		background-color:#1bb2b0;
		height:55px;
		display:block;
	}
	.m-pagenav .s-box {
		margin:0 auto;
		padding:0 30px;
		height:80px;
	}
	
	.m-pagenav select { /* #add */
		float: left;		
		margin-top: 6px;
		padding:5px;
		
		width:100%;
		height:42px; 
		line-height: 28px;
		
		border: 1px solid #6acbca;
		border-radius: 4px;		
		background: none;		
		background-color: #1bb2b0;		
		font:normal 21px/30px "微軟正黑體";
		color: #fff;		
		outline:none;
	}
	
}

/* ################################################################
 LOGBOX
################################################################ */
.logbox {
	position: absolute;
	top: 20px;
	right: 10px;
	z-index: 999;
}
ul.log li {
	float: right;
	position: relative;
}
li.login {
	width: 40px;
	height: 40px;
	background: url(../img/btn-member.png) 0 0 no-repeat;
	cursor: pointer;
}
li.login:hover {
	background-position: right 0;
}
ul.log li a {
	display: block;
}
ul.log ul {
	display: none;
	float: right;
	position: absolute;
	top: 40px;
	right: 0;
	margin: 0;
}
/* #delete
ul.log li:hover > ul {
	display: block;
}

ul.log ul a {
	width: 270px;
	color: #4f6477;
	padding: 15px;
	font-size: 18px;
	background: #ededed;
}
ul.log ul a:hover {
	background: #e1e1e1;
}
*/

/* #add */
ul.log li.on a{
	background: #666;
}
/* #add */
ul.log ul a {
	width: 280px;
	color: #fff;
	padding: 15px;
	font-size: 18px;	
	background: #333;
	
	border-bottom: 1px solid #666;	
}
/* #add */
ul.log ul a:hover {
	background: #00BFFF;
}

/* ################################################################
 TABLE
################################################################ */ 
.tb-act {
	width:100%;
	background-color: #fff;
	/* border-top:1px solid #729292; #delete */
	margin: 0 auto;
	max-width:1000px;
	
	/* #add */
	border-top:1px solid #eee;
	border-bottom: 2px solid #ddd;
	border-left:1px solid #eee;
	border-right: 2px solid #ddd;
	
	
}
.tb-act table {
	width: 100%;
}
/* #add */
.tb-act tr {
	height: 104px;
}
.tb-act th {
	/* #delete
	background-color: #7e9f9f;
	border-bottom:1px solid #729292;
	color: #fff;
	font-size: 16px;
	*/
	width:20%;
	
	/* #add */
	font-size:18px;
	color:#555;
	font-weight:300;	
	border-bottom:1px solid #ddd;
	/* /#add */
	
}
.tb-act td {
	color: #666;
	font-size: 18px;
	line-height: 24px;
	padding: 20px;
	border-bottom:1px solid #ddd;
	text-align:left;
	
	/* #add */
	font-weight:300;
}
@media screen and (max-width:767px){
	.tb-act td {	
		padding: 5px 20px;
	}
}

/* #add */
.tb-act td.sparse {
	line-height: 40px;
}
.tb-act td.icon-space {
	width: 70px;
}
.tb-act td.icon-space-sm {
	width: 25px;
}
.tb-act p {
	word-break:break-all;
}
/* /#add */





/* ################################################################
 COMMENT
################################################################ */
/* #add */
.comment {
	padding:0;
	line-height:30px;
	text-align:left;
	
	font-size:18px;
	background: none;
}


/* ################################################################
 FOOTER
################################################################ */
.footer {
	padding: 20px;	
	margin: 0 auto;	
	width:100%;
/* 
	background-color: #708191;
	font-size: 16px;
	color: #fff;
*/
	overflow: hidden;
	box-sizing:border-box;
	
	/* #added below*/
	text-align:center;
	background-color: #fff;	
	font-size: 14px;
	color:#555;
	border-top:1px solid #ddd;	
}
.footer p {
	display: inline;
}
/*
.footer a {
	color: #fff;
}
.footer a:hover {
	color: #ddd;
}
*/
/* #added below */
.footer a,
.footer a:hover{		
	margin:0 15px; 
		
	color:#555;		
	text-decoration:none;
}
.footer select {
	width: 165px;
	height: 30px;
	border: 1px solid #fff;
	background: none;
	color: #fff;
	background-color: #708191;
	font:normal 16px/24px "微軟正黑體";
	outline:none;
	-webkit-appearance: none;
	border-radius: 0;
}
.footer select option {
	color:#fff;
	background-color: #708191;
	border:none;
}
.footer .fR {
	float:right;
	display:none; /* #add */
}
.footer .fL {
	float:left;
}


@media screen and (max-width:768px) {
	.footer {
		text-align: center;
		height: auto;
	}
	.footer p {
		display: block;
	}
	.footer .fR, .footer .fL {
		width: 100%;
		margin: 0 auto 20px auto;
	}
}

@media screen and (max-width:480px) {
	.footer {
		text-align: center;
		height: auto;
	}
	.footer p {
		display: block;
	}
	.footer .fR, .footer .fL {
		width: 100%;
		margin: 0 auto 20px auto;
	}
	.footer select {
		width:100%;
	}
}

/* go top btn */
#gotop {
	display:none;
	
	position: fixed;
	right: 20px;
	bottom: 70px;
	width:70px;
	height: 70px;
	
	background: url(../img/gotop2.png) center center no-repeat;
	
	cursor: hand;
	cursor: pointer;	
}

@media screen and (max-width:767px){
	#gotop {	
		bottom: 5px;
	}
}
@media screen and (max-width:480px){
	#gotop {	
		bottom: 5px;
	}
}



/* ################################################################
 INDEX 
################################################################ */
.indexbox {
	position: relative;
	color: #333333;
}
.indexbox h3 {
	font-weight: normal;
	margin-bottom: 30px;
 *line-height:50px;
}
.indexbox p {
	font-size: 21px;
	margin-bottom: 35px;
}
.indexbox .box { /*	min-height:600px;*/
	width: 100%;
	margin: 0 auto;
	position: relative;
	background-color: #fff;
}
.indexbox .box .C-box {
	text-align: center;
	position: absolute;
	left:0;
	top: 70px;
	width: 100%;
}
.indexbox .box .R-box {
	text-align: right;
	position: absolute;
	top: 200px;
	right: 20%;
}
.indexbox .box .L-box {
	text-align: left;
	position: absolute;
	left: 20%;
	top: 200px;
}
/*大圖輪播*/
.slide-container {
	width: auto;
	margin: 0 auto;
}
.slide-container .list {
	position: relative;
}
.slide-container .list a {
}
.slide-container .list a img { /*	height: 100%;*/
	border: 0;
	width: 100%;
	height: auto;
}
.slide-container .slidesjs-pagination {
	padding: 0;
	list-style: none;
	position: absolute;
	z-index: 999;
	bottom: 10px;
	width: 100%;
	text-align: center;
}
.slide-container .slidesjs-pagination li {
	display: inline;
	margin: 0 5px;
}
.slide-container .slidesjs-pagination li a {
	width: 12px;
	height: 12px;
	background: url(../img/rect_ctrl.png) no-repeat 0 0;
	display: inline-block;
	text-indent: -9999px;
}
.slide-container .slidesjs-pagination li .active, .slide-container .slidesjs-pagination li a:hover {
	background-position: -12px 0;
}
.slidesjs-navigation {
	height: 100%;
	width: 48px;
	position: absolute;
	z-index: 99;
	background-image: url(../img/arw-circle.png);
	background-repeat: no-repeat;
	text-indent: -9999px;
}
.slidesjs-previous {
	background-position: 0 center;
	top: 0;
	left: 10px;
}
.slidesjs-next {
	background-position: right center;
	top: 0;
	right: 10px;
}
.dtnbox { /*	margin:20px auto 0 auto;*/
	margin: 0 auto;
}
.dtnbox input[type="button"] {
	width: 300px;
	margin-bottom: 10px;
}
.dtn-vert { /*	margin:20px auto 0 auto;*/
	margin: 0 auto;
	width:390px;
}
.dtn-vert input[type="button"], .dtn-vert input[type="text"] {
	width: 100%;
	margin: 10px auto;
}
.dtn-vert select {
	width: 100%;
	margin: 10px auto;
	height: 50px;
	font-size: 21px;
	line-height: 50px;
 *padding:0;
 *height: 30px;
 *line-height: 30px;
}
.dtn-vert input[type="text"] {
	width: 100%;
	margin: 10px auto;
	height: 50px;
	padding:0 10px;
	font-size: 21px;
	line-height: 50px;
	box-sizing:border-box;
 *padding:10px 0;
 *height: 30px;
}
/*廣告區塊*/
.indexbox .box .list-box {
	text-align: left;
	width:1000px;
	margin:0 auto;
}
/* #add */
.indexbox .box .list-box ul {	 
	margin: 0;
	padding: 0;
}
.indexbox .box .list-box li {
	width:50%;
	float:left;
	
	list-style: none; /* #add */
	
}
.indexbox .box .list-box .titbox1, 
.indexbox .box .list-box .titbox2 {
	width:200px;
	height:200px;
	float:left;
	color:#fff;
	font:bold 36px/200px "微軟正黑體";
	text-align:center;
}
.indexbox .box .list-box .titbox1 {
	background-color:#c95757;
}
.indexbox .box .list-box .titbox2 {
	background-color:#2bbaea;
}
.indexbox .box .list-box .infobox {
	margin-left:20px;
	float:left;
	width:260px;
}
.indexbox .box .b1 {
	background: url(../img/in-item-1.jpg) center bottom no-repeat;
	background-size: auto 100%;
	position: relative;
	height: 600px;
}
.indexbox .box .b2 {
	background: #fafafa url(../img/in-item-2.jpg) right bottom no-repeat;
	background-size: auto 100%;
	position: relative;
	height: 600px;
}
.indexbox .box .b3 {
	background: url(../img/in-item-3.jpg) center bottom no-repeat;
	position: relative;
	background-size: auto 100%;
	height: 600px;
}
.indexbox .box .b4 {
	background: url(../img/in-item-4.jpg) center bottom no-repeat;
	position: relative;
	height: 600px;
	background-size: auto 100%;
	background-position: center bottom;
	background-repeat: no-repeat;
}
.indexbox .box .b5 {
	position: relative;
	min-height: 200px;
	background-color:#fafafa;
	padding:45px 0;
}

@media screen and (max-width: 768px){
	/*首頁*/
	.indexbox .box {
	}
	.indexbox h3 {
		font-size: 24px;
		margin-bottom: 10px;
	}
	.indexbox p {
		font-size: 18px;
		margin-bottom: 10px;
	}
	.indexbox .box .C-box, .indexbox .box .R-box, .indexbox .box .L-box {
		margin: 0 auto;
		top: 20px;
		text-align: center;
		box-sizing: border-box;
		padding: 0 20px;
		left: 0;
		right: 0;
	}
	.indexbox .box .b1 {
		height: 330px;
		background-size: auto 75%;
	}
	.indexbox .box .b2 {
		height: 330px;
		background-size: auto 75%;
	}
	.indexbox .box .b3 {
		height: 330px;
		background-image: url(../img/in-item-3-1.jpg);
	}
	.indexbox .box .b4 {
		height: 330px;
		background-size: auto 75%;
	}
	/*大圖輪播*/
	.slide-container .slidesjs-pagination {
		bottom: 0px;
	}
	.slidesjs-navigation {
		width: 24px;
		background-size: 48px auto;
	}
	
	
	/*廣告區塊*/
	.indexbox .box .list-box {
		margin: 0 auto;
		top: 20px;
		box-sizing: border-box;
		padding: 0 20px;
		left: 0;
		right: 0;
		width:100%;
	}
	.indexbox .box .list-box li {
		width:100%;
		float:none;
		display:block;
	}
	.indexbox .box .list-box .titbox1, .indexbox .box .list-box .titbox2 {
		width:100%;
		height:50px;
		float:none;
		color:#fff;
		font:bold 24px/50px "微軟正黑體";
		text-align:center;
	}
	.indexbox .box .list-box .titbox1 {
		background-color:#c95757;
	}
	.indexbox .box .list-box .titbox2 {
		background-color:#2bbaea;
	}
	.indexbox .box .list-box .infobox {
		margin-left:0;
		margin-top:10px;
		float:none;
		margin-bottom:20px;
		width:100%;
	}
	
	
}

@media screen and (max-width: 480px){
	/*首頁*/
	.indexbox .box {
	}
	.indexbox h3 {
		font-size: 24px;
		margin-bottom: 10px;
	}
	.indexbox p {
		font-size: 18px;
		margin-bottom: 10px;
	}
	.indexbox .box .C-box, .indexbox .box .R-box, .indexbox .box .L-box {
		margin: 0 auto;
		top: 20px;
		text-align: center;
		box-sizing: border-box;
		padding: 0 20px;
		left: 0;
		right: 0;
	}
	/*廣告區塊
	.indexbox .box .list-box {
		margin: 0 auto;
		top: 20px;
		box-sizing: border-box;
		padding: 0 20px;
		left: 0;
		right: 0;
		width:100%;
	}
	.indexbox .box .list-box li {
		width:100%;
		float:none;
		display:block;
	}
	.indexbox .box .list-box .titbox1, .indexbox .box .list-box .titbox2 {
		width:100%;
		height:50px;
		float:none;
		color:#fff;
		font:bold 24px/50px "微軟正黑體";
		text-align:center;
	}
	.indexbox .box .list-box .titbox1 {
		background-color:#c95757;
	}
	.indexbox .box .list-box .titbox2 {
		background-color:#2bbaea;
	}
	.indexbox .box .list-box .infobox {
		margin-left:0;
		margin-top:10px;
		float:none;
		margin-bottom:20px;
		width:100%;
	}*/
	.indexbox .box .b1 {
		height: 330px;
		background-size: auto 75%;
	}
	.indexbox .box .b2 {
		height: 330px;
		background-size: auto 75%;
	}
	.indexbox .box .b3 {
		height: 330px;
		background-image: url(../img/in-item-3-1.jpg);
	}
	.indexbox .box .b4 {
		height: 330px;
		background-size: auto 75%;
	}
	/*大圖輪播*/
	.slide-container .slidesjs-pagination {
		bottom: 0px;
	}
	.slidesjs-navigation {
		width: 24px;
		background-size: 48px auto;
	}

}


