@import url('/css/community.css');
@import url('/css/font-awesome.css');
@import url('/css/style/privacypolicy.css');

/* layout.less */
aside b .fa {
	transform: rotate(0);
	-webkit-transform: rotate(0);
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
}

aside>ul>li .subUL {
	transform: translate(0, 30px);
	-webkit-transform: translate(0, 30px);
}

aside>ul>li[data-type="2"] h4 b .fa {
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
}

aside>ul>li[data-type="2"] .subUL {
	transform: translate(0, 0);
	-webkit-transform: translate(0, 0);
}

#faq_list li .title i {
	transform: rotate(0);
	-webkit-transform: rotate(0);
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
}

#faq_list li.current .title i {
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
}

#book_list li .img_box:before,
#book_list li .img_box:after {
	transform: scaleY(0);
	-webkit-transform: scaleY(0);
}

#book_list li .img_box:after {
	transform-origin: center bottom;
	-webkit-transform-origin: center bottom;
}

@media (min-width:1281px) {

	#book_list li:hover .img_box:before,
	#book_list li:hover .img_box:after {
		transform: scaleY(1);
		-webkit-transform: scaleY(1);
	}
}

[data-action="loader"] .loader_circle {
	width: 50px;
	height: 50px;
	border-radius: 50%;
}

[data-action="loader"]#lodbg .loader_circle {
	-webkit-animation: circle infinite 0.75s linear;
	animation: circle infinite 0.75s linear;
}

@keyframes circle {
	0% {
		transform: rotate(0);
		-webkit-transform: rotate(0);
	}

	100% {
		transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
	}
}

@-webkit-keyframes circle {
	0% {
		transform: rotate(0);
		-webkit-transform: rotate(0);
	}

	100% {
		transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
	}
}

/* header */
header .menu {
	background: var(--white);
}

header #menubtn[data-type="1"] a span {}

/* wrap */
#wrap {
	z-index: 6;
}

#wrap .page_area {
	margin: auto;
	width: 100%;
	z-index: 2;
}

#wrap .shadow {
	box-shadow: 0 0 20px rgba(var(--black-rgb), .2);
}

/* sub_banner */
#sub_banner {
	top: 0;
	left: 0;
}

#sub_banner a,
#page_title {
	padding-top: 70px;
	height: 400px;
}

#sub_banner a img {
	height: 100%;
}

#sub_banner a:after {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 2;
	content: "";
}

/* page_title */
#page_title>div {
	margin: auto;
}

#page_title .pag_tit {
	line-height: 1.3em;
	letter-spacing: .15em;
	font-size: 2em;
}

/* waylink */
.waylink ol {
	padding-top: 5px;
}

.waylink ol li,
.waylink ol li a {
	letter-spacing: 1.5px;
	font-weight: 300;
	font-size: 13px;
	vertical-align: bottom;
}

.waylink ol li:after {
	margin: 0 10px;
	display: inline-block;
	font-weight: 100;
	font-size: 12px;
	color: var(--white);
	content: "/";
}

.waylink ol li:last-child:after {
	margin: 0;
	content: "";
}

/* aside */
aside>ul {
	margin-top: 1vw;
}

aside ul li b {
	padding: 5px 10px;
}

aside ul li b .fa:before {
	content: "\f107";
}

aside>ul>li {
	position: relative;
	display: inline-block;
}

aside>ul>li h4 {
	padding: 0 15px;
}

aside>ul>li h4 a {
	padding: 10px 5px 10px 10px;
	font-weight: 300;
	font-size: 18px;
}

aside>ul>li.action h4 a,
aside>ul>li.action h4 i {
	color: var(--primary);
}

aside>ul>li .subUL {
	position: absolute;
	margin-top: 10px;
	width: 180px;
	background: var(--white);
	left: calc((100% - 180px) / 2);
}

aside>ul>li .subUL>li {
	border-bottom: 1px rgba(var(--gray-rgb), .1) solid;
}

aside>ul>li .subUL>li a {
	padding: 3px 15px;
	display: block;
	line-height: 140%;
	font-weight: 300;
}

aside>ul>li .subUL>li .subULHead a {
	padding: 10px 15px;
	color: var(--primary);
}

aside>ul>li .subUL>li b {
	display: none;
}

aside>ul>li .sub2UL {
	margin: 0 10px 10px;
}

aside>ul>li[data-type="1"] {
	overflow: hidden;
}

aside>ul>li[data-type="1"] .subUL {
	box-shadow: 0 0 15px rgba(var(--black-rgb), 0);
	opacity: 0;
	z-index: -1;
}

aside>ul>li[data-type="2"] {
	overflow: visible;
}

aside>ul>li[data-type="2"] .subUL {
	box-shadow: 0 0 15px rgba(var(--black-rgb), .15);
	opacity: 1;
	z-index: 1;
}

/* list_box */
.list_box li {
	margin: 0 15px 50px;
}

.list_box li img {
	background: rgba(var(--primary-rgb), .05);
}
#product_list.list_box li img{
    background-size: cover;
}

/* article_list */
#article_list li h3 {
	padding: 10px 20px;
	width: calc(90% - 40px);
	height: 59px;
	background: rgba(var(--white-rgb), .9);
	line-height: 37px;
	font-weight: 400;
	font-size: 20px;
	bottom: 20px;
	left: 5%;
	border-radius: 50px;
}

#article_list li img {
	height: 35vw;
}

#article_list li .info_box {
	padding: 30px;
	width: calc(100% - 100px);
	background: rgba(var(--white-rgb), .9);
	bottom: -100%;
	left: 20px;
	opacity: 0;
	border-radius: 10px;
}

#article_list li .info_box p {
	height: 41px;
	font-size: 24px;
}

#article_list li .info_box .cate {
	z-index: 2;
}

#article_list li .info_box article {
	margin: 27px 0 40px;
	height: 90px;
	line-height: 220%;
	font-weight: 300;
	font-size: 14px;
	-webkit-line-clamp: 3;
}

/* news_list */
#news_list li img {
	height: 320px;
}

#news_list li .info_box {
	padding: 15px 30px;
}

#news_list li .info_box p a {
	margin-right: 10px;
	max-width: calc(100% - 100px);
	font-weight: 400;
	z-index: 2;
}

#news_list li .info_box p .time {
	width: 90px;
	font-weight: 300;
}

#news_list li .info_box h3 {
	height: 34px;
	font-size: 20px;
}

/* faq_list */
#faq_list li {
	margin-bottom: 30px;
}

#faq_list li .title font {
	padding: 15px 65px 15px 25px;
	background: var(--white);
	font-size: 18px;
	box-shadow: 0 0 15px rgba(var(--black-rgb), .2);
}

#faq_list li .title i {
	font-size: 26px;
	top: calc((100% - 26px) / 2);
	right: 25px;
}

#faq_list li .info {
	padding: 25px;
	font-size: 14px;
	-webkit-transition: none;
	-moz-transition: none;
	-ms-transition: none;
	-o-transition: none;
	transition: none;
}

#faq_list li.current {
	box-shadow: 0 0 15px rgba(var(--black-rgb), .2);
}

#faq_list li.current .title font {
	background: var(--gray);
	box-shadow: none;
	color: var(--white);
}

#faq_list li.current .title i {
	color: var(--white);
}

/* book_list */
#book_list img {
	height: 450px;
}

#book_list .img_box {
	border: var(--white) solid;
	border-width: 0 1px 1px 0;
}

#book_list .img_box:before,
#book_list .img_box:after {
	position: absolute;
	width: 100%;
	height: 100%;
	background: var(--white);
	z-index: 9;
	opacity: .4;
	content: "";
}

#book_list .img_box:after {
	right: 0;
	bottom: 0;
}

#book_list .atag_item {
	z-index: 10;
}

#book_list .badge {
	margin: auto;
	padding: 10px 20px;
	max-width: calc(80% - 40px);
	height: 34px;
	line-height: 36px;
	font-size: 20px;
}

/* album_list */
#album_list {
	flex-wrap: wrap;
}

#album_list>div {
	margin: 0 1px 1px 0;
	height: 300px;
	flex-grow: 1;
}

#album_list>div img {
	width: auto;
	min-width: 100%;
	height: 300px;
}

/* content_wrap */
#content_wrap {
	padding: 50px 0 60px;
	z-index: 1;
}

#content_wrap * {
	font-family: 'Noto Serif TC';
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

#content_wrap .fa:before {
	font-family: 'FontAwesome';
}

.fullcent .is-card div {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.fullcent .center {
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.fullcent .is-card div h3 {
	margin-top: 10px;
}

.fullcent .is-card div img {
	width: min(225px, 100%);
}

#content_wrap h1 {
	margin-bottom: 5px;
	padding: 0 20px 5px;
	border-bottom: 1px rgba(var(--black-rgb), .1) solid;
	line-height: 130%;
}

#content_wrap .top_box {
	padding: 0 20px;
}

#content_wrap .quote_box {
	margin-right: 30px;
}

/* pagenav */
#pagenav {
	padding-top: 50px;
}

#pagenav a,
#pagenav strong {
	margin: 0 2px;
	width: 35px;
	height: 35px;
	background: rgba(var(--black-rgb), .1);
	border-radius: 5px;
	display: inline-block;
	text-align: center;
	line-height: 35px;
	font-weight: 400;
}

#pagenav strong {
	background: var(--primary);
	color: var(--white);
}

#pagenav a:first-child,
#pagenav a:last-child {
	line-height: 30px;
}

#pagenav p a {
	margin: 0;
	padding: 0 20px;
	width: auto;
	border-radius: 20px;
}

#pagenav p a i {
	margin: 0 5px 0 0;
}

#pagenav p a font {
	-webkit-transition: none;
	-moz-transition: none;
	-ms-transition: none;
	-o-transition: none;
	transition: none;
}

#pagenav p:last-child a i {
	margin: 0 0 0 5px;
}

/* describe */
#describe {
	margin: 2em 0 5vw;
}

.oversoll {}

#describe * {
	vertical-align: bottom;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	font-family: 'Noto Serif TC';
}

.doctor img {
	border: #86673a 6px solid;
	border-radius: 8px;
}

.doctor .col-md-6:hover img,
.doctor .col-md-4:hover img {
	border: #e4c679 6px solid;
}

.centerimg {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.centerimg.full img {
	width: 100%;
}

/* form_box */
.form_box {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px 30px;
}

.form_box p.large {
	grid-column: 1/3;
}

.form_box p.note {
	margin-bottom: 20px;
}

.form_box p #btnOK {
	width: 150px;
}

/* lodbg */
[data-action="loader"] {
	width: 100vw;
	height: 100vh;
	background: rgba(var(--black-rgb), .3);
	line-height: 100vh;
	top: 0;
	left: 0;
	opacity: 0;
	z-index: -1;
}

[data-action="loader"] .loader_circle {
	border: 2px rgba(var(--black-rgb), .6) solid;
	border-left-color: rgba(var(--white-rgb), .4);
}

#lodbg {
	opacity: 1;
	z-index: 99999;
}

@media screen and (min-width: 1281px) {

	#sub_banner a,
	#page_title {
		padding-top: 100px;
		height: 500px;
	}

	aside>ul>li:hover h4 a,
	aside>ul>li:hover h4 i {
		color: var(--primary);
	}

	#article_list li:hover h3 {
		opacity: 0;
	}

	#article_list li img {
		height: 500px;
	}

	#article_list li:hover .info_box {
		bottom: 20px;
		opacity: 1;
	}

	#book_list li:hover .badge {
		background: var(--primary);
		color: var(--white);
	}

	#pagenav a:hover {
		background: var(--primary);
		color: var(--white);
	}

	#pagenav a:hover font,
	#pagenav a:hover i,
	#pagenav a:hover i:before {
		color: var(--white);
	}
}

@media screen and (max-width: 1024px) {
	.form_box {
		grid-template-columns: 1fr;
	}

	.form_box p.large {
		grid-column: inherit;
	}
}

@media screen and (max-width: 768px) {
	#article_list li img {
		height: 50vw;
	}

	#news_list li .info_box {
		padding: 15px 0;
	}

	.centerimg::-webkit-scrollbar {
		width: 5px;
	}

	.centerimg::-webkit-scrollbar-track {
		background: #5d5d5d
	}

	.centerimg::-webkit-scrollbar-thumb {
		background: #b59b85;
	}

	.centerimg {
		display: flex;
		align-items: flex-start;
		overflow-x: scroll;
		padding-bottom: 50px;
	}

	.centerimg img {
		width: 800px;
		max-width: unset;
	}
}

@media screen and (max-width: 640px) {
	#article_list li img {
		height: 320px;
	}

	#book_list {
		margin: 0 5%;
	}

	#book_list .img_box {
		border: 0;
	}

	#book_list img {
		height: 65vw;
	}

	#album_list>div,
	#album_list>div img {
		height: 40vw;
	}
}

@media screen and (max-width: 550px) {
	#community {
		margin-top: 10px;
	}

	#pagenav p a i,
	#pagenav p:last-child a i {
		margin: 0;
	}
}

@media screen and (max-width: 480px) {
	#page_title .pag_tit{
    font-size: 1.5em;
}
	#sub_banner a,
	#page_title {
		padding: 0;
		height: 320px;
	}

	#album_list>div,
	#album_list>div img {
		height: 50vw;
	}

	#pagenav a,
	#pagenav strong {
		margin: 0;
		width: 24px;
		height: 24px;
		line-height: 24px;
		font-size: 14px;
	}

	#pagenav a:first-child,
	#pagenav a:last-child {
		line-height: 20px;
	}

	#pagenav p a i,
	#pagenav p:last-child a i {
		font-size: 20px;
	}

	#article_list li h3 {
		margin: 0 auto;
		width: 90%;
	}
}