@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;500;700&family=Noto+Serif+TC:wght@300;500;700&display=swap');

html {
	font-size: 15px;
}

.main .container:after {
	content: '';
	display: block;
	clear: both;
}

.color-default {
	color: #4d4d4d;
}

.color-black,
a.color-black {
	color: #000 !important;
}

.color-red {
	color: #c1272d;
}

.color-coffice {
	color: #a67c52;
}

.color-ligther-gary {
	color: #999;
}

.color-brown {
	color: #603813;
}

.color-green {
	color: #8cc63f;
}

.color-green2 {
	color: #006837;
}

.font-default {
	font-family: 'Noto Sans TC', sans-serif;
}
.font-ming {
	font-family: 'Noto Serif TC', serif;
}

.font-lighter {
	font-weight: 300;
}
.font-normal {
	font-weight: 400;
}
.font-bold {
	font-weight: 500;
}
.font-bolder {
	font-weight: 700;
}

.font-2s {
	font-size: 0.8rem;
} /* 12px; */
.font-xs {
	font-size: 0.86666rem;
} /* 13px; */
.font-s {
	font-size: 0.93333rem;
} /* 14px; */
.font-m {
	font-size: 1rem;
} /* 15px; */
.font-l {
	font-size: 1.0666rem;
} /* 16px; */
.font-xl {
	font-size: 1.2rem;
} /* 18px; */
.font-2l {
	font-size: 1.3333rem;
} /* 20px; */
.font-3l {
	font-size: 1.4666rem;
} /* 22px; */

.mw-560px {
	max-width: 560px;
}

.mw-740px {
	max-width: 740px;
}

.border {
	border-color: #a67c52 !important;
}
.border-dark {
	border-color: #000 !important;
}

.btn {
	border-radius: 0;
	padding-left: 2em;
	padding-right: 2em;
}

.btn-radius {
	border-radius: 25px;
}
.btn-primary,
.btn-primary.disable {
	background-color: #a67c52;
}
.btn-primary,
.btn-outline-primary,
.btn-primary.disable,
.btn-outline-primary.disable {
	border-color: #a67c52;
}
.btn-outline-primary,
.btn-outline-primary.disable {
	color: #a67c52;
}
.btn-secondary {
	background-color: #e6a55d;
	border-color: #e6a55d;
}
.btn-primary:hover,
.btn-primary:not([disabled]):not(.disabled):active,
.btn-primary:not([disabled]):not(.disabled):active:focus,
.btn-primary:focus,
.btn-outline-primary:hover,
.btn-outline-primary:not([disabled]):not(.disabled):active,
.btn-outline-primary:focus,
.btn-primary.disable:hover,
.btn-primary.disable:focus,
.btn-outline-primary.disable:hover,
.btn-outline-primary.disable:focus {
	background: #946b41;
	border-color: #946b41;
	box-shadow: none;
}

.btn-outline-primary:hover,
.btn-outline-primary:not([disabled]):not(.disabled):active,
.btn-outline-primary:focus,
.btn-outline-primary.disable:hover,
.btn-outline-primary.disable:focus {
	background: #946b41;
	border-color: #946b41;
	color: #ffffff;
}

.btn-fb {
	background-color: #4267b2;
	border-color: #4267b2;
	color: #fff;
}

a {
	color: #000;
}
a:hover,
a:focus,
a:active {
	color: #a67c52;
	text-decoration: none;
}
aside a {
	color: #fff;
}
.color-white,
a.color-white {
	color: #fff !important;
}

.bg-white {
	background-color: #fff;
}

.badge-primary {
	background-color: #a67c52;
}
.badge-success {
	background-color: #afd16b;
}
.badge-warning {
	background-color: #f9bd6e;
	color: #fff;
}

.mark,
mark {
	background: #fff3e6;
}

body {
	background-color: #915e4a;
	color: #4d4d4d;
	font-size: 1rem;
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 400;
}

header.m-header,
header.d-header {
	background-color: rgba(166, 124, 82, 0.9);
	position: sticky;
	top: 0;
	right: 0;
	left: 0;
	z-index: 888;
}
header.m-header .row {
	padding: 8px 0;
	height: 48px;
}
header.m-header .row > div {
	padding: 0 15px;
	text-align: center;
	font-size: 1.5em;
	overflow: hidden;
}
header.m-header .row > div:first-child {
	border-right: 1px solid rgba(255, 255, 255, 0.5);
}
header.m-header .row > div:last-child {
	border-left: 1px solid rgba(255, 255, 255, 0.5);
}
header.m-header .logo > img {
	width: 94px;
	height: 32px;
}

footer ul.foot-menu {
	border-top: 1px solid rgba(145, 94, 74, 0.5);
}
footer ul.foot-menu > li {
	border-bottom: 1px solid rgba(145, 94, 74, 0.5);
}
footer ul.foot-menu > li > a {
	display: block;
	padding: 0.5em;
}
footer ul.info > li {
	margin: 0.25em 0.5em;
}

.admin-bar aside {
	top: 32px;
}
@media screen and (max-width: 782px) {
	.admin-bar aside {
		top: 47px;
	}
}
aside {
	background-color: #a67c52;
	position: fixed;
	overflow-y: scroll;
	top: 0;
	bottom: 0;
	left: -100%;
	width: 70%;
	min-width: 280px;
	max-width: 320px;
	transition: all 0.5s;
	z-index: -1;
}
aside.open {
	box-shadow: 5px 0 10px rgba(0, 0, 0, 0.2);
	left: 0;
	z-index: 999;
}

aside a.close-menu {
	position: absolute;
	right: 0;
	top: 8px;
	font-size: 1.5em;
	padding: 0 10px;
	border-left: 1px solid rgba(255, 255, 255, 0.5);
}

aside ul ul {
	display: none;
	border-top: 1px solid rgba(255, 255, 255, 0.35);
	background: #bf9265;
}
aside ul ul a {
	padding-left: 2em;
}
aside li:not(:last-of-type) {
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
aside li a {
	padding: 0.75em 15px;
	display: block;
}
aside li a span {
	display: flex;
	float: right;
	width: 40px;
	height: 40px;
	justify-content: center;
	align-items: center;
	margin: -0.75em;
}
aside li a:focus,
aside li a:hover {
	color: #fff;
}
aside li a.selected {
	background-color: #936841;
	color: #fff;
}
aside li.active > a {
	background: #936841;
}
aside ul ul li.active > a {
	background: #ab8157;
}
aside .hi {
	line-height: 32px;
	padding: 9px 15px;
}

hr {
	position: relative;
	border-top-color: #a67c52;
}
hr.style2 {
	border-style: dashed;
}
hr.style-arrow-top {
	margin-top: 30px;
}
hr.style-arrow-top:after {
	content: '';
	width: 30px;
	height: 30px;
	background-color: #fff;
	display: block;
	position: absolute;
	top: -16px;
	border: 1px solid #a67c52;
	transform: rotate(45deg);
	border-bottom: none;
	border-right: none;
}
hr.style-arrow-top.size2:after {
	left: 60px;
}
hr.style-arrow-top.size3:after {
	left: 85px;
}
hr.style-arrow-top.size4:after {
	left: 105px;
}
hr.style-arrow-top.size5:after {
	left: 125px;
}
hr.style-arrow-top.size6:after {
	left: 139px;
}

ul.user-nav a {
	color: #a67c52;
}
ul.user-nav a.selected {
	color: #ddb576;
}

table.table-rwd th,
table.table-rwd td {
	border-top: 1px solid #a67c52;
	text-align: center;
	font-weight: 400;
	padding: 0.75em 0.25em;
}

table.table-rwd th {
	color: #a67c52;
	border-top: none;
}

table.table-rwd th.type {
	width: 7em;
}
table.table-rwd th.date {
	width: 10em;
}

.pagination-sm .page-link {
	color: #a67c52;
	border-color: #a67c52;
	margin-left: 2px;
	margin-right: 2px;
	padding-top: 0.2rem;
	padding-bottom: 0.2rem;
}
.pagination-sm .page-item:first-child .page-link,
.pagination-sm .page-item:last-child .page-link {
	border-radius: 0;
}

.page-item.active .page-link {
	background-color: #a67c52;
	border-color: #a67c52;
}
.sgs-box img {
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.bloger > li {
	border-bottom: 1px solid #808080;
}
.bloger > li:last-child {
	border: none;
}

.qa-list {
}

.index1 {
	background: url(../images/bg1.png) left 80px no-repeat, url(../images/bg2.png) right top no-repeat;
	background-size: 20% auto, 40% auto;
}

.index1 img {
	max-width: 75%;
}

.index-sgs-box {
	background: url(../images/bg-wood.jpg) center repeat-y;
	background-size: 100% auto;
}

.slick-dotted.slick-slider {
	margin-bottom: 0 !important;
}
.slick-dots {
	bottom: 10px !important;
}
.slick-dots li button:before,
.slick-dots li.slick-active button:before {
	color: #a67c52 !important;
}
.slick-dots li button:before {
	font-size: 14px !important;
}

.up-box {
	margin-top: -3rem;
}

.qa-contents select {
	width: auto !important;
}

.breadcrumb {
	background: transparent;
	padding: 0;
}

@media only screen and (max-width: 767px) {
	table.table-rwd th,
	table.table-rwd td {
		padding: 0.5em 0.25em;
	}

	/* Force table to not be like tables anymore */
	table.table-rwd,
	table.table-rwd thead,
	table.table-rwd tbody,
	table.table-rwd tfoot,
	table.table-rwd th,
	table.table-rwd td,
	table.table-rwd tr {
		display: block;
	}

	/* Hide table headers (but not display: none;, for accessibility) */
	table.table-rwd thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	table.table-rwd tr {
		border-bottom: 1px solid #a67c52;
		padding: 1em 0;
	}

	table.table-rwd td {
		/* Behave  like a "row" */
		border: none;
		position: relative;
		padding-left: 30%;
		white-space: normal;
		text-align: left;
	}

	table.table-rwd td.actions {
		padding-left: 0;
	}

	table.table-rwd td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 0.75em;
		left: 6px;
		width: 28%;
		padding-right: 10px;
		white-space: nowrap;
		text-align: left;
		color: #a67c52;
	}

	table.table-rwd tfoot tr {
		width: 100%;
		padding: 0.5em 0;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	table.table-rwd tfoot td {
		-ms-flex-preferred-size: 0;
		flex-basis: 0;
		-webkit-box-flex: 1;
		-ms-flex-positive: 1;
		flex-grow: 1;
		max-width: 100%;
		padding-left: 0;
		width: 100%;
	}
	table.table-rwd tfoot td.text-right {
		text-align: left !important;
	}
	table.table-rwd tfoot td:before {
		display: none;
	}

	table.table-rwd tfoot td.hidden {
		display: none;
	}

	table.table-news td {
		padding-left: 3em;
	}
	table.table-news td:before {
		width: 5em;
	}

	/*
	Label the data
	*/
	table.table-rwd td:before {
		content: attr(data-title);
	}

	h1.title {
		line-height: 1.2;
	}

	ul.start li.media {
		display: block;
		margin-bottom: 45px !important;
	}
	ul.start li.media > img {
		width: 50%;
		display: block;
		margin: auto;
		margin-bottom: 30px;
	}

	.step-table,
	.step-table tr,
	.step-table th,
	.step-table td {
		display: block;
	}
}

@media (min-width: 768px) {
	.cat1-1 {
		background: url(../images/cat1.png) right center no-repeat;
		background-size: auto 100%;
	}

	.cat2-1 {
		background: url(../images/cat2-2.jpeg) right bottom no-repeat;
		background-size: auto 100%;
	}
	.cat2-2 {
		background: url(../images/cat2-1.jpeg) right bottom no-repeat;
		background-size: auto 100%;
	}

	.cat4-1 {
		background: url(../images/cat4-11.jpg) right bottom no-repeat;
		background-size: auto 100%;
	}

	.cat4-2 {
		background: url(../images/bg-wood_1.jpg) right bottom no-repeat;
		background-size: auto 100%;
	}

	.cat4-3 {
		background: url(../images/cat4-22.jpg) right bottom no-repeat;
		background-size: auto 100%;
	}

	.up-box {
		margin-top: -5rem;
	}
}
@media (min-width: 992px) {
	header.d-header .logo img {
		width: 175px;
		height: 60px;
	}
	header.d-header .menu {
		align-self: stretch;
	}
	header.d-header .menu ul > li {
		display: inline-block;
	}
	header.d-header .container {
		height: 90px;
	}
	header.d-header .menu a,
	header.d-header .icons a {
		color: #fff;
		font-size: 18px;
	}
	header.d-header .menu li:hover > ul,
	header.d-header .menu li:focus > ul {
		display: block;
	}
	header.d-header .icons a {
		display: inline-block;
		margin-right: 1.2em;
	}
	header.d-header .menu li > a {
		padding: 32px 10px;
	}
	header.d-header .menu > ul > li > a {
		display: block;
	}
	header.d-header .menu li.selected > a {
		background: rgba(255, 255, 255, 0.8);
		color: #a67c52;
		position: relative;
		z-index: 5;
	}
	header.d-header .menu ul ul {
		background: rgba(255, 255, 255, 0.8);
		display: none;
		left: 0;
		padding: 0.5em 0;
		position: absolute;
		top: 90px;
		width: 100%;
		z-index: 100;
	}
	header.d-header .menu ul ul > li {
		display: inline-block;
		margin: 0 1.25em;
	}
	header.d-header .menu ul ul > li a {
		color: #a67c52;
	}
	header.d-header .menu ul ul > li.active a,
	header.d-header .menu ul ul > li a.mPS2id-highlight {
		color: #ddb576;
	}
	footer ul {
		margin: 0;
		border: none !important;
		text-align: center;
	}
	footer ul > li {
		border: none !important;
		display: inline-block;
	}
	footer ul.foot-menu > li {
		padding: 0 1em;
		border-left: 1px solid #000;
		position: relative;
	}
	footer ul.foot-menu > li:before {
		position: absolute;
		height: 1em;
		border-left: 1px solid #333;
		left: 0;
		top: calc(0.5em + 4px);
		display: block;
		content: '';
	}
	footer ul.foot-menu > li:first-child:before {
		display: none;
	}

	.bloger div > a {
		line-height: 27px;
	}

	.border-news {
		border: 1px dashed #a67c52;
		border-top: none;
		border-bottom: none;
	}

	.slick-dots {
		bottom: 25px !important;
	}
	.slick-dots li button:before {
		font-size: 16px !important;
	}

	.index1 {
		background-size: auto auto;
	}
	.index1 img {
		max-width: 100%;
	}

	.cat1-2 {
		background: url(../images/cat-bg1.png) left 220px no-repeat, url(../images/cat-bg2.png) right 170px no-repeat;
	}

	.up-box {
		margin-top: -8rem;
	}
}

@media (min-width: 1200px) {
	.col-xl-c5 {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 20%;
		flex: 0 0 20%;
		max-width: 20%;
	}
}
