@import url('community.css');

body {
	overflow-x: hidden;
}

/* sub_banner */
#sub_banner a {
	position: relative;
	display: inline-block;
}

#sub_banner a img {
	width: 100vw;
	height: 470px;
	object-fit: cover;
}

#sub_banner a:after {
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgb(31 31 31 / 0%);
	display: block;
	top: 0;
	left: 0;
	content: "";
}

/* wrap */
#wrap {
	padding: 3vw 0;
}

/* pageTop */
.pageTop {
	position: relative;
	margin: 0vw auto 4vw auto;
	width: 90vw;
	z-index: 2;
}

.pageTop h1 {
	margin-bottom: 15px;
	line-height: 120%;
	text-align: center;
	font-size: 35px;
	letter-spacing: 2px;
	color: #1f1f1f;
}

.pageTop .waylink ol {
	text-align: center;
	font-size: 0;
}

.pageTop .waylink ol li,
.pageTop .waylink ol li a {
	display: inline-block;
	letter-spacing: 0.5px;
	color: #5a5a5a;
	vertical-align: initial;
}

.pageTop .waylink ol li:after {
	margin: 0 10px;
	font-weight: 100;
	font-size: 12px;
	vertical-align: text-top;
	content: "/";
}

.pageTop .waylink ol li:last-child:after {
	margin: 0;
	content: "";
}

/* subnav */
#subnav {
	margin: 3vw auto 0;
	text-align: center;
	display: none;
}

#subnav #sideBtn {
	position: relative;
	overflow: hidden;
	padding: 10px 20px;
	width: calc(100% - 40px);
	background: #fff;
	border: 1px #aaa solid;
	display: inline-block;
	text-align: center;
	color: #535353;
	z-index: 2;
}

#subnav #sideBtn:before {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #535353;
	top: 0;
	left: 0;
	transform: translateX(-140%) skewX(63deg);
	transition: .4s cubic-bezier(.23, 1, .32, 1);
	content: "";
}

#subnav #sideBtn font {
	position: relative;
	z-index: 1;
}

#subnav #sideBtn i {
	position: absolute;
	top: calc((100% - 8px) / 2);
	right: 20px;
	z-index: 2;
	-webkit-transition: all .3s ease-out;
	transition: all .3s ease-out;
	-webkit-transform: rotate(0);
	transform: rotate(0);
}

#subnav #sideBtn[data-type="2"]:before {
	-webkit-transform: translateX(0) skewX(0);
	transform: translateX(0) skewX(0);
}

#subnav #sideBtn[data-type="2"] font {
	color: #fff;
}

#subnav #sideBtn[data-type="2"] i {
	color: #fff;
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
}

#subnav ul {
	font-size: 0;
}

#subnav ul li b[data-action="sideOpen"] {
	position: absolute;
	padding: 10px 20px;
	display: block;
	color: #fff;
	right: 0;
	top: 0;
	cursor: pointer;
}

#subnav ul li b[data-action="sideOpen"] i:before {
	content: "\f067";
}

#subnav ul>li h4 {
	position: relative;
}

#subnav ul>li h4 a {
	font-weight: 400;
	color: #fff;
}

#subnav ul>li>ul.subUL li a {
	padding: 5px 15px;
	display: block;
	color: #1f1f1f;
}

#subnav ul>li>ul.subUL li .sub2ULHead a {
	padding: 2px 15px 2px 35px;
	color: #2f8bd1;
}

#subnav ul>li>ul.subUL b[data-action="sideOpen"] {
	display: none;
}

/* content list_article */
#content .list_article {
	width: 80%;
	margin: auto;
}

#content .list_article section {
	padding: 2vw 0 1vw;
	display: inline-block;
	width: 24%;
	margin: auto;
	border: 1px solid #f1f1f1;
}

#content .list_article section .workframe {
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

#content .list_article section .info {
	width: 80%;
	margin: auto;
	padding: 20px;
}

#content .list_article section .info h3 a,
#content .list_book ul li .info h3 {
	margin-bottom: 20px;
	height: 54px;
	font-weight: 400;
	letter-spacing: 2px;
	font-size: 22px;
	color: #1f1f1f;
}

#content .list_article section .info article {
	height: 60px;
	font-weight: 300;
	line-height: 180%;
	letter-spacing: 1px;
	font-size: 15px;
	color: #1f1f1f;
	max-height: initial;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 2;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	padding-top: 10px;
}

#content .list_article section .img {
	margin: 0 0 0 10%;
	width: 80%;
}

#content .list_article section .img img {
	width: 100%;
	height: 200px;
	background: #fafafa;
	object-fit: cover;
}

#content .list_article section a.more,
#content .list_book ul li .info a.more {
	padding: 20px 0 2px;
	display: inline-block;
	border-bottom: 1px #6b6b6b solid;
}

#content .list_article section a.more font,
#content .list_book ul li .info a.more font {
	margin-right: 40px;
	display: inline-block;
	font-family: 'Montserrat', 'Noto Sans TC', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 15px;
	color: #1f1f1f;
}

#content .list_article section:nth-child(odd) {
	background: rgb(246 246 246);
}

#content .list_article section:nth-child(odd) .img {
	margin: 0 0 0 10%;
	order: 1;
}

/* content list_news */
#content .list_news li {
	position: relative;
	padding: 35px 10px;
	border-bottom: 1px #e8e8e8 solid;
	font-size: 0;
}

#content .list_news li>a {
	position: absolute;
	width: 100%;
	height: 100%;
	display: block;
	top: 0;
	left: 0;
	z-index: 2;
}

#content .list_news li>p {
	position: relative;
	width: 180px;
	display: inline-block;
	text-align: center;
	z-index: 1;
}

#content .list_news li>p.cat {
	z-index: 3;
}

#content .list_news li>p.cat a,
#content .news_top_box p.cat a {
	padding: 2px 15px;
	background: #1f1f1f;
	display: inline-block;
	color: #fff;
}

#content .list_news li>p.txt {
	width: calc(100% - 360px);
	display: -webkit-inline-box;
	text-align: left;
}

/* content list_book */
#content .list_book ul {
	font-size: 0;
}

#content .list_book ul li {
	margin-bottom: 20px;
	width: calc(100% / 3);
	display: inline-block;
}

#content .list_book ul li>div {
	margin: 0 25px 20px;
	text-align: center;
}

#content .list_book ul li .img img {
	width: 100%;
	height: 300px;
	object-fit: cover;
}

#content .list_book ul li .info h3 {
	margin-bottom: 10px;
	height: 40px;
	text-align: center;
	font-size: 26px;
}

#content .list_book ul li .info a.more {
	padding: 2px 0;
}

/* list_faq */
.list_faq ul li {
	margin-bottom: 25px;
}

.list_faq ul li .title {
	position: relative;
	padding: 20px 65px 20px 25px;
	background: rgb(248 248 248 / 64%);
	border-bottom: 1px solid rgb(149 149 149 / 43%);
	display: block;
}

.list_faq ul li .title font {
	font-size: 18px;
	color: #1f1f1f;
}

.list_faq ul li .title span {
	position: absolute;
	width: 16px;
	height: 16px;
	display: block;
	top: calc((100% - 16px) / 2);
	right: 25px;
}

.list_faq ul li .title span:before,
.list_faq ul li .title span:after {
	width: 16px;
	height: 1px;
	background: #696969;
	display: block;
	content: "";
	-webkit-transform: translateY(9px);
	transform: translateY(9px);
}

.list_faq ul li .title span:after {
	-webkit-transform: translateY(8px) rotate(90deg);
	transform: translateY(8px) rotate(90deg);
}

.list_faq ul li .info {
	padding: 15px 25px;
	background: #fff;
	-webkit-transition: none;
	-moz-transition: none;
	-ms-transition: none;
	-o-transition: none;
	transition: none;
}

.list_faq ul li.current .title span:after {
	-webkit-transition-duration: .2s;
	transition-duration: .2s;
	-webkit-transform: translateY(8px) rotate(180deg);
	transform: translateY(180deg) rotate(0);
}

/* content */
#content #describe * {
	/* vertical-align: bottom; */
}

#content .news_top_box {
	margin-bottom: 5vw;
	padding: 10px 20px;
	border-bottom: 1px #7c7c7c solid;
	font-size: 0;
}

#content .news_top_box p {
	margin-right: 10px;
	width: 120px;
	display: inline-block;
}

#content .news_top_box p.quotebox {
	margin-right: 0;
	width: calc(100% - 260px);
	text-align: right;
	font-weight: 300;
	color: #1f1f1f;
}

#content .news_top_box p.quotebox a {
	color: #1f1f1f;
}

#content .album_list {
	margin-top: 4vw;
	-moz-column-count: 4;
	-moz-column-gap: 15px;
	-webkit-column-count: 4;
	-webkit-column-gap: 15px;
	column-count: 4;
	column-gap: 15px;
}

#content .album_list .album_box {
	margin: 0 0 15px;
}

#content .album_list .album_box a {
	display: block;
}

#content .album_list .album_box a img {
	width: 100%;
}

/* pagenav */
#pagenav {
	position: relative;
	overflow: hidden;
	padding: 50px 0 20px;
	text-align: center;
	font-size: 0;
}

#pagenav a,
#pagenav strong {
	margin: 0 10px;
	display: inline-block;
	font-weight: 400;
	font-size: 18px;
	color: #1a191f;
	vertical-align: middle;
}

#pagenav a[class^="page-"] {
	float: left;
	width: calc(50% - 20px);
	display: block;
}

#pagenav a[class^="page-"] font {
	width: calc(100% - 22px);
	display: inline-block;
	vertical-align: text-top;
}

#pagenav a[class^="page-"] i {
	margin: 0 10px 0 0;
	display: inline-block;
}

#pagenav a.page-next {
	float: right;
	text-align: right;
}

#pagenav a.page-next font {
	text-align: right;
}

#pagenav a.page-next i {
	margin: 0 0 0 10px;
}

.pagination {
	display: inline-block;
	padding-left: 0;
	margin: 20px 0;
	border-radius: 4px;
}

.pagination>li {
	display: inline;
}

.pagination>li>a,
.pagination>li>span {
	position: relative;
	float: left;
	padding: 6px 12px;
	line-height: 1.42857143;
	text-decoration: none;
	color: #337ab7;
	background-color: #fff;
	border: 1px solid #ddd;
	margin-left: -1px;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
	margin-left: 0;
	border-bottom-left-radius: 4px;
	border-top-left-radius: 4px;
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
	border-bottom-right-radius: 4px;
	border-top-right-radius: 4px;
}

.pagination>li>a:hover,
.pagination>li>span:hover,
.pagination>li>a:focus,
.pagination>li>span:focus {
	z-index: 2;
	color: #23527c;
	background-color: #eeeeee;
	border-color: #ddd;
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
	z-index: 3;
	color: #fff;
	background-color: #337ab7;
	border-color: #337ab7;
	cursor: default;
}

.pagination>.disabled>span,
.pagination>.disabled>span:hover,
.pagination>.disabled>span:focus,
.pagination>.disabled>a,
.pagination>.disabled>a:hover,
.pagination>.disabled>a:focus {
	color: #777777;
	background-color: #fff;
	border-color: #ddd;
	cursor: not-allowed;
}

.text-center {
	text-align: center;
}



/* page_form */
.page_form form {
	font-size: 0;
}

.page_form form p.col {
	padding: 35px 20px;
	border-bottom: 1px #e8e8e8 solid;
	font-size: 0;
}

.page_form form p.col label {
	padding: 10px 0;
	width: 250px;
	display: inline-block;
	color: #1f1f1f;
	vertical-align: text-top;
}

.page_form form p.col label span {
	width: calc(100% - 115px);
	display: inline-block;
}

.page_form form p.col label b {
	padding: 0 20px;
	background: #1f1f1f;
	display: inline-block;
	font-weight: 100;
	font-size: 13px;
	color: #fff;
}

.page_form form p.col font {
	margin-left: 30px;
	width: calc(100% - 280px);
	display: inline-block;
	vertical-align: text-top;
}

.page_form form p input,
.page_form form select,
.page_form form textarea {
	padding: 10px 15px;
	width: calc(100% - 32px);
	background: #f7f7f7;
	border: 0;
	display: block;
}

.page_form form p select {
	padding: 15px;
	width: 100%;
}

.page_form form p input#Checknum {
	margin-right: 10px;
	width: calc(100% - 110px);
	display: inline-block;
}

.page_form form p.send {
	padding: 35px 0;
	text-align: center;
}

.page_form form p.send a#btnOK {
	position: relative;
	padding: 15px 100px;
	border: 1px #1f1f1f solid;
	display: inline-block;
	color: #1f1f1f;
}

.page_form form p.send a#btnOK font {
	text-align: center;
	letter-spacing: 3px;
	color: #1f1f1f;
}

.page_form form p.send a#btnOK a svg.arrow {
	position: absolute;
	width: 20px;
	right: 20px;
	top: calc((100% - 11.41px) / 2);
}

@media screen and (min-width: 1281px) {
	#subnav {
		overflow: hidden;
		position: relative;
		padding: 1px 0 10px 1px;
		width: 1279px;
		display: none;
	}

	#subnav:hover {
		overflow: visible;
	}

	#subnav #sideBtn {
		display: none;
	}

	#subnav>ul>li {
		overflow: hidden;
		margin: -1px 0 0 -1px;
		width: calc((100% / 5) + 1px);
		display: inline-block;
	}

	#subnav ul>li h4 {
		border: 1px #1f1f1f solid;
		text-align: center;
		z-index: 3;
	}

	#subnav ul>li h4:before,
	#subnav ul>li h4:after {
		position: absolute;
		width: 1px;
		height: 10px;
		background: #fff;
		display: block;
		bottom: 0;
		left: calc((100% - 1px) / 2);
		opacity: 0;
		content: "";
	}

	#subnav ul>li h4:after {
		background: #1f1f1f;
		bottom: -10px;
	}

	#subnav ul>li h4 a {
		padding: 0 15px;
		width: calc(100% - 30px);
		height: 57px;
		display: -webkit-box;
		text-align: center;
		line-height: 57px;
		color: #1f1f1f;
	}

	#subnav ul>li h4 b[data-action="sideOpen"] {
		display: none;
	}

	#subnav ul>li>ul.subUL {
		position: absolute;
		margin-top: -1px;
		padding: 5px 0;
		width: calc((100% / 5) - 1px);
		background: #fff;
		border: 1px #1f1f1f solid;
		opacity: 0;
		-webkit-transform: translateY(30px);
		transform: translateY(30px);
	}

	#subnav ul>li.action h4,
	#subnav ul>li:hover h4,
	.page_form form p.send a#btnOK:hover {
		background: #1f1f1f;
	}

	#subnav ul>li.action h4 a,
	#subnav ul>li:hover h4 a,
	.page_form form p.send a#btnOK:hover font {
		color: #fff;
	}

	#subnav ul>li.action h4:before,
	#subnav ul>li.action h4:after,
	#subnav ul>li:hover h4:before,
	#subnav ul>li:hover h4:after {
		opacity: 1;
	}

	#subnav ul>li.action,
	#subnav ul>li:hover {
		overflow: visible;
	}

	#subnav ul>li:hover>ul.subUL {
		opacity: 1;
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}

	#content .list_article section a.more:hover font,
	#content .list_book ul li .info a.more:hover font {
		margin-right: 60px;
	}

	#content .list_news li:hover {
		background: #f6f6f6;
	}

	.page_form form p.send a#btnOK:hover svg {
		fill: #fff;
	}
}

@media screen and (max-width: 1280px) {
	#subnav {
		position: relative;
		width: 500px;
	}

	#subnav>ul {
		overflow: hidden;
		position: absolute;
		width: 100%;
		height: 0;
		background: #222;
		border: 1px #4d4d4d solid;
		top: 0;
		left: 0;
		z-index: 1;
	}

	#subnav ul li h4 {
		background: #222;
		z-index: 2;
	}

	#subnav ul li.action h4 {
		background: #100f0f;
	}

	#subnav ul li h4:before {
		border-color: #3a3a3a;
	}

	#subnav ul li h4 a {
		padding: 0 60px 0 20px;
		height: 47px;
		line-height: 47px;
	}

	#subnav ul li[data-type="2"] b[data-action="sideOpen"] i:before {
		content: "\f068";
	}

	#subnav>ul.open {
		height: auto;
		top: 52px;
	}

	#subnav>ul.open li {
		overflow: hidden;
		position: relative;
	}

	#subnav>ul.open li>ul.subUL {
		position: absolute;
		width: 100%;
		background: #3d3d3d;
		border: #454545 solid;
		border-width: 1px 0;
		bottom: 100px;
		-webkit-transition-duration: .2s;
		transition-duration: .2s;
		opacity: 0;
		z-index: 1;
	}

	#subnav>ul.open li[data-type="2"]>ul.subUL {
		position: relative;
		padding: 5px 0;
		bottom: 0;
		opacity: 1;
	}

	#subnav ul>li>ul.subUL li a {
		padding: 5px 20px;
		font-weight: 300;
		font-size: 15px;
		color: #d0d0d0;
	}

	#content .list_article section .img img {
		/* width: 36vw; */
		/* height: 36vw; */
	}

	#content .album_list {
		-moz-column-count: 3;
		-webkit-column-count: 3;
		column-count: 3;
	}
}

@media screen and (max-width: 1024px) {
	#content .list_book ul li>div {
		margin: 0 10px 20px;
	}

	#content .list_news li>p {
		width: 120px;
		text-align: left;
	}

	#content .list_news li>p.txt {
		width: calc(100% - 240px);
	}

	#sub_banner a img {
		height: 270px;
	}

	#content .list_article section {
		width: 49%;
		margin: 5px auto;
		border: 1px solid #f1f1f1;
	}
}

@media screen and (max-width: 768px) {
	#content .list_article section .workframe {
		display: block;
	}

	#content .list_article section .img,
	#content .list_article section:nth-child(odd) .img {
		margin: 0;
		width: 100%;
		text-align: center;
	}

	#content .list_article section .img img {
		/* width: 90vw; */
		/* height: 350px; */
	}

	#content .list_article section .info {
		margin: 0px 0 0;
		width: 89%;
	}

	#content .list_article section .info article {
		height: 85px;
		line-height: 180%;
		-webkit-line-clamp: 3;
	}

	#content .list_article section a.more {
		padding: 10px 0 2px;
	}

	#content .list_book ul li {
		width: 50%;
	}

	.page_form form p.col label,
	.page_form form p.col label span {
		width: auto;
	}

	.page_form form p.col label b {
		margin-left: 10px;
		padding: 0 15px;
	}

	.page_form form p.col font {
		margin-left: 0;
		width: 100%;
	}
}

@media screen and (max-width: 640px) {
	#subnav {
		width: calc(100% - 42px);
	}

	#content .list_news li {
		padding: 10px;
	}

	#content .list_news li>p {
		margin-right: 15px;
		width: auto;
	}

	#content .list_news li>p.txt,
	#content .news_top_box p.quotebox {
		margin-top: 10px;
		width: 100%;
		text-align: left;
	}

	#content .album_list {
		-moz-column-count: 2;
		-webkit-column-count: 2;
		column-count: 2;
	}

	.pageTop h1 {
		font-size: 26px;
	}

	.pageTop {
		margin: 3vw auto 9vw auto;
	}

	#content .list_article section {
		width: 100%;
		margin: 0px auto;
		border: 1px solid #f1f1f1;
	}
}

@media screen and (max-width: 550px) {
	#content .list_article section .img img {
		/* height: 55vw; */
	}

	#content .list_book ul {
		text-align: center;
	}

	#content .list_book ul li {
		width: 90%;
	}

	#content .album_list {
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
	}

	.page_form form p.col {
		padding: 35px 0;
	}

	#sub_banner a img {
		height: 160px;
	}
}

@media screen and (max-width: 400px) {
	#content .list_book ul li {
		width: 100%;
	}
}