@charset "utf-8";

/* common */
@import url("common.css");

/* bread-crumb */
#bread-crumb {
	margin-bottom: 20px;
	font-size: 14px;
	color: #666;
}

#bread-crumb a {
	display: inline-block;
	margin: 0 5px;
	color: #e46815;
}

#bread-crumb a.home {
	margin-left: 0;
}

#bread-crumb span {
	display: inline-block;
	margin-left: 5px;
}

/* main-title */
#main-title {
	margin-bottom: 40px;
	border-bottom: 1px solid #e46815;
	overflow: hidden;
	font-size: 35px;
	color: #e46815;
	line-height: 40px;
}

#main-title span {
	float: left;
	display: inline-block;
	padding-bottom: 10px;
	border-bottom: 2px solid #e46815;
}

/* fill-form */
.fill-form.member {
	max-width: 768px;
	margin: 0 auto 50px auto;
}

.fill-form .form-title {
	margin-bottom: 20px;
	font-size: 25px;
	color: #000;
	line-height: 30px;
}

.fill-form .note {
	margin-bottom: 40px;
	font-size: 15px;
	color: #666;
	line-height: 23px;
	letter-spacing: .5px;
}

.fill-form .note.center {
	text-align: center;
}

.fill-form li {
	margin-bottom: 20px;
}

.fill-form li:last-child {
	margin: 0;
}

.fill-form li span {
	display: block;
	margin-bottom: 10px;
	font-size: 15px;
	color: #333;
}

.fill-form li span b {
	padding-right: 5px;
	color: #DA0404;
}

.fill-form li input[type="text"],
.fill-form li input[type="email"],
.fill-form li input[type="tel"],
.fill-form li input[type="number"],
.fill-form li input[type="password"],
.fill-form li select,
.fill-form li textarea {
	display: block;
	width: 100%;
	height: 50px;
	padding: 10px;
	border: 1px solid #EEE;
	font-size: 15px;
	color: #333;
	box-sizing: border-box;
}

.fill-form li input::-webkit-input-placeholder {
	color: #CCC;
}

.fill-form li textarea {
	height: 300px;
}

.fill-form li label {
	display: inline-block;
	margin: 0 10px 10px 0;
	font-size: 15px;
	line-height: 15px;
}

.fill-form li label input[type="radio"] {
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-right: 5px;
	vertical-align: top;
}

.fill-form li .address {
	overflow: hidden;
}

.fill-form li .address select {
	width: 49%;
	margin-bottom: 15px;
}

.fill-form li .address select.country {
	float: left;
}

.fill-form li .address select.district {
	float: right;
}

.fill-form li.old-pass {
	margin-bottom: 50px;
}

.fill-form li.old-pass span {
	color: #FF0000
}

.fill-form .button {
	margin-top: 50px;
	text-align: center;
}

.fill-form .button button,
.fill-form .button a {
	display: inline-block;
	min-width: 100px;
	margin: 5px;
	padding: 10px 20px;
	background: #e46815;
	border: none;
	border-radius: 3px;
	font-size: 15px;
	color: #FFF;
	line-height: 15px;
	box-sizing: border-box;
	transition: all .3s;
}

.fill-form .button .fb {
	background: #3b5998;
}

.fill-form .button button:hover,
.fill-form .button a:hover {
	background: #333;
}

/* page */
#page {
	margin-top: 50px;
	text-align: center;
}

#page a {
	display: inline-block;
	width: 40px;
	height: 40px;
	margin: 0 1px;
	background: #fcfcfc;
	border-radius: 3px;
	font-size: 14px;
	color: #000;
	line-height: 40px;
	transition: all .3s;
}

#page a.prev,
#page a.next {
	width: 80px;
	background: #333;
	color: #FFF;
}

#page a:hover,
#page a.active {
	background: #e46815;
	color: #FFF;
}

/* login */
#login {
	overflow: hidden;
}

#login .left,
#login .right {
	width: 48%;
	min-height: 500px;
	padding: 50px;
	border: 1px solid #DDD;
	box-sizing: border-box;
}

#login .left {
	float: left;
}

#login .right {
	float: right;
}

/* forget */
#forget {
	max-width: 480px;
	margin: 0 auto;
}

/* news-list */
#news-list dl {
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px dashed #CCC;
}

#news-list dt {
	margin-bottom: 30px;
}

#news-list dt a {
	font-size: 25px;
	color: #333;
	font-weight: bold;
	letter-spacing: .5px;
	transition: all .3s;
}

#news-list dt a:hover {
	color: #e46815;
}

#news-list dd .date {
	margin-bottom: 10px;
	font-size: 13px;
	color: #999;
}

#news-list dd p {
	font-size: 15px;
	color: #666;
	line-height: 23px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* about */
#about {
	font-size: 15px;
	color: #666;
	line-height: 25px;
}

#about h2 {
	margin-bottom: 10px;
	font-size: 25px;
	font-weight: normal;
}

#about .map {
	position: relative;
	margin: 50px auto;
	padding-bottom: 52.65%;
}

#about .map iframe {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

/* editor */
#editor {
	font-size: 15px;
	color: #666;
	line-height: 25px;
}

#editor a {
	color: #e46815;
	transition: all .3s;
}

#editor a:hover {
	text-decoration: underline;
}

#editor img {
	display: inline-block;
	max-width: 100%;
	height: auto;
}

#editor .date {
	margin-bottom: 30px;
	font-size: 13px;
	color: #999;
}

#editor h2 {
	margin-bottom: 10px;
	font-size: 25px;
	font-weight: normal;
}

#editor .outdent {
	position: relative;
	padding-left: 15px;
}

#editor .outdent::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 9px;
	display: block;
	width: 6px;
	height: 6px;
	background: #e46815;
	border-radius: 50%;
}

#editor span {
	color: #e46815;
}

/* sitemap */
#sitemap dl {
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px dashed #CCC;
}
#sitemap dt {
	margin-bottom: 20px;
}

#sitemap dt a {
	font-size: 25px;
	color: #e46815;
}

#sitemap dt a:hover {
	text-decoration: underline;
}

#sitemap dd ul {
	overflow: hidden;
}

#sitemap dd li {
	position: relative;
	float: left;
	width: 25%;
	margin-bottom: 10px;
}

#sitemap dd li a {
	font-size: 15px;
	color: #333;
	transition: all .3s;
}

#sitemap dd li a::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin: 0 8px;
	background: #666;
	border-radius: 50%;
	vertical-align: middle;
}

#sitemap dd li img {
	position: absolute;
	left: 0;
	top: 100%;
	display: none;
	max-width: 100%;
	height: auto;
	margin-top: 10px;
	z-index: 1
}

#sitemap dd li a:hover {
	color: #e46815;
}

#sitemap dd li a:hover::before {
	background: #e46815;
}

#sitemap dd li:hover img {
	display: block;

}

/* question */
#question dl {
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px dashed #CCC;
}

#question dt {
	margin-bottom: 20px;
	font-size: 25px;
	font-weight: normal;
}

#question dd {
	background: #e99054;
	border-bottom: 1px dashed #f1f1f1;
}

#question dd .title {
	position: relative;
	padding: 20px 40px 20px 20px;
	font-size: 20px;
	color: #FFF;
	cursor: pointer;
}

#question dd .title::after {
	content: "";
	position: absolute;
	right: 20px;
	top: 50%;
	display: block;
	width: 0;
	height: 0;
	margin-top: -5px;
	border-style: solid;
	border-width: 10px 5px 0 5px;
	border-color: #FFF transparent transparent transparent;
}

#question dd .title.active::after {
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
}

#question dd .content {
	display: none;
	margin-top: 10px;
	padding: 20px;
	background: #f1f1f1;
	font-size: 15px;
	color: #666;
	line-height: 23px;
}

/* order-list */
#order-list {
	width: 100%;
	border-right: 1px solid #f1f1f1;
	border-top: 1px solid #f1f1f1;
	font-size: 15px;
	color: #333;
	line-height: 20px;
	box-sizing: border-box;
}

#order-list thead td {
	background: #e46815;
	border-right: 1px solid #FFF;
	color: #FFF;
}

#order-list tbody tr:nth-child(even) {
	background: #fcfcfc;
}

#order-list tbody td {
	border-left: 1px solid #f1f1f1;
	border-bottom: 1px solid #f1f1f1;
}

#order-list td {
	padding: 15px;
	box-sizing: border-box;
}

#order-list td a {
	color: #e46815;
}

#order-list td a img {
	display: block;
	width: 100%;
	max-width: 100px;
	height: auto;
	transition: all .3s;
}

#order-list td a:hover {
	text-decoration: underline;
}

#order-list td a:hover img {
	opacity: .6;
}

#order-list td .control a {
	display: inline-block;
	margin: 5px 5px 0 0;
	padding: 10px;
	background: #e46815;
	border-radius: 5px;
	font-size: 15px;
	color: #FFF;
	transition: all .3s;
}

#order-list td .control a:hover {
	background: #999;
}

/* RWD */
@media screen and (max-width: 768px) {
	/* login */
	#login .left,
	#login .right {
		float: none;
		width: 100%;
		min-height: auto;
	}

	#login .left {
		margin-bottom: 50px;
	}

	/* sitemap */
	#sitemap dd li {
		width: 50%;
	}
}

@media screen and (max-width: 480px) {

	/* main-title */
	#main-title {
		margin-bottom: 10px;
	}
	
	/* fill-form */
	.fill-form li .address select {
		float: none;
		width: 100%;
	}

	/* login */
	#login .left,
	#login .right {
		padding: 30px;
	}

	/* sitemap */
	#sitemap dd li {
		float: none;
		width: 100%;
	}

	/* order-list */
	#order-list {
		border: 1px solid #f1f1f1;
	}

	#order-list thead {
		display: none;
	}

	#order-list tr {
		border-bottom: 1px solid #f1f1f1;
	}

	#order-list tbody td {
		display: block;
		width: 100%;
		padding: 10px;
		border: none;
	}

	#order-list tbody td::before {
		color: #000;
		font-weight: bold;
	}

	#order-list tbody td:nth-child(1)::before {
		content: "訂單編號：";
	}

	#order-list tbody td:nth-child(2)::before {
		content: "下單時間：";
	}

	#order-list tbody td:nth-child(3)::before {
		content: "訂單狀態：";
	}

	#order-list tbody td:nth-child(4)::before {
		content: "總金額：";
	}
}