@import url('/css/community.css');

/* layout.less */
#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 { background: var(--secondary); }

/* wrap */
#wrap { z-index: 6; }
#wrap .page_area {margin: auto;width: 100%;z-index: 22;}
#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%; background: rgba(var(--black-rgb), .4); 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 */
/* 分類選單 */
#product_category{position:relative;z-index:20;margin-bottom:55px;}
#product_category #categoryMenuBtn{display:none;}
#product_category .category_nav_wrap{position:relative;overflow:visible;}
#category_nav{position:relative;display:flex;width:100%;margin:0;padding:0;white-space:normal;flex-wrap:nowrap;justify-content:center;align-items:stretch;gap:10px;border-bottom:1px solid #dce6ee;}
#category_nav>li{position:static;display:block;width:auto!important;margin:0!important;padding:0!important;flex:0 0 auto;}
#category_nav>li>.h4,#category_nav>li>h4{position:relative!important;display:block;width:auto;margin:0;padding:0;font-size:inherit;font-weight:inherit;}
#category_nav>li>.h4>a,#category_nav>li>h4>a{position:relative;display:flex!important;min-height:56px;padding:0 30px;color:#61778a;font-size:15px;font-weight:600;line-height:1.5;letter-spacing:.03em;background:#fff;border:1px solid transparent;border-bottom:0;border-radius:4px 4px 0 0;align-items:center;justify-content:center;transition:color .3s ease,background .3s ease,border-color .3s ease;}
#category_nav>li>.h4>a:before,#category_nav>li>h4>a:before{content:"";position:absolute;right:50%;bottom:0;left:50%;height:3px;background:#2789cd;transition:right .3s ease,left .3s ease;}
#category_nav>li:hover>.h4>a,#category_nav>li:hover>h4>a{color:#123f6b;background:#f6f9fb;}
#category_nav>li:hover>.h4>a:before,#category_nav>li:hover>h4>a:before{right:20px;left:20px;}
#category_nav>li.action>.h4>a,#category_nav>li.action>h4>a{color:#123f6b;background:#f4f8fb;}
#category_nav>li.action>.h4>a:before,#category_nav>li.action>h4>a:before{right:24px;left:24px;background:#2789cd;}
#category_nav>li>.h4>b,#category_nav>li>h4>b{display:none;}

/* 第二層分類 */
#category_nav .subUL{position:absolute;z-index:30;top:100%;right:0;left:0;display:flex;width:100%;margin:0;padding:22px 28px;visibility:hidden;opacity:0;background:#fff;border:1px solid #dce6ee;border-top:2px solid #2789cd;box-shadow:0 16px 38px rgba(18,63,107,.09);white-space:normal;flex-wrap:wrap;justify-content:center;align-items:center;gap:9px 10px;transform:translateY(8px);pointer-events:none;transition:opacity .25s ease,visibility .25s ease,transform .25s ease;}
#category_nav>li:hover>.subUL{visibility:visible;opacity:1;transform:translateY(0);pointer-events:auto;}
#category_nav .subUL>li{display:block;width:auto;margin:0;padding:0;}
#category_nav .subULHead{margin:0;padding:0;}
#category_nav .subULHead p{margin:0;padding:0;}
#category_nav .subULHead a{position:relative;display:block;padding:10px 16px;color:#718597;font-size:13px;font-weight:500;line-height:1.5;letter-spacing:.01em;background:#f7f9fb;border:1px solid #dce6ee;border-radius:3px;white-space:nowrap;transition:color .3s ease,background .3s ease,border-color .3s ease,transform .3s ease;}
#category_nav .subULHead a:before{content:"";display:inline-block;width:5px;height:5px;margin-right:8px;background:#b6c6d2;border-radius:50%;vertical-align:2px;transition:background .3s ease;}
#category_nav .subULHead a:hover{color:#123f6b;background:#fff;border-color:#a9d0e8;transform:translateY(-2px);}
#category_nav .subULHead a:hover:before{background:#2789cd;}
#category_nav .subUL li.action .subULHead a{color:#2789cd;background:#f1f7fb;border-color:#a9d1eb;}
#category_nav .subUL li.action .subULHead a:before{background:#2789cd;}

/* 手機分類按鈕 */
#product_category .category_btn_mark{position:relative;display:grid;width:25px;height:25px;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);gap:2px;flex:none;}
#product_category .category_btn_mark i{display:block;background:#2789cd;}
#product_category .category_btn_mark i:nth-child(1){background:#2789cd;}
#product_category .category_btn_mark i:nth-child(2){background:#87959f;clip-path:polygon(0 0,100% 0,50% 100%);}
#product_category .category_btn_mark i:nth-child(3){background:#87959f;border-radius:0 0 0 100%;}
#product_category .category_btn_mark i:nth-child(4){background:#2789cd;}
#product_category .category_btn_icon{display:flex;width:30px;height:30px;margin-left:auto;color:#2789cd;font-size:13px;border:1px solid #c9dce9;border-radius:50%;align-items:center;justify-content:center;transition:color .3s ease,background .3s ease,border-color .3s ease;}
#product_category #categoryMenuBtn.open .category_btn_icon{color:#fff;background:#2789cd;border-color:#2789cd;}
#product_category #categoryMenuBtn.open .category_btn_icon i{
    color: white;
}
@media screen and (max-width:1199px){
#category_nav{gap:6px;}
#category_nav>li>.h4>a,#category_nav>li>h4>a{padding-right:22px;padding-left:22px;font-size:14px;}
#category_nav .subUL{padding-right:20px;padding-left:20px;}
#category_nav .subULHead a{padding-right:13px;padding-left:13px;}
}

@media screen and (max-width:991px){
#product_category{z-index:20;margin-bottom:40px;}
#product_category #categoryMenuBtn{display:flex;width:100%;padding:15px 17px;color:#123f6b;font-family:inherit;background:#fff;border:1px solid #dce6ee;border-left:3px solid #2789cd;border-radius:4px;cursor:pointer;align-items:center;gap:12px;box-shadow:0 8px 22px rgba(18,63,107,.06);}
#product_category .category_btn_text{font-size:15px;font-weight:700;letter-spacing:.04em;}
#product_category .category_nav_wrap{display:none;margin-top:10px;overflow:hidden;background:#fff;border:1px solid #dce6ee;border-radius:4px;box-shadow:0 12px 30px rgba(18,63,107,.07);}
#product_category .category_nav_wrap.open{display:block;}
#category_nav{display:block;width:100%;border-bottom:0;}
#category_nav>li{position:relative;display:block;width:100%!important;border-bottom:1px solid #e5ebf0;}
#category_nav>li:last-child{border-bottom:0;}
#category_nav>li>.h4,#category_nav>li>h4{display:flex;width:100%;min-height:56px;align-items:center;}
#category_nav>li>.h4>a,#category_nav>li>h4>a{display:flex!important;width:100%;min-height:56px;padding:0 58px 0 18px;color:#546b7e;font-size:14px;background:#fff;border:0;border-radius:0;align-items:center;justify-content:flex-start;}
#category_nav>li>.h4>a:before,#category_nav>li>h4>a:before{top:50%;right:auto;bottom:auto;left:0;width:3px;height:0;background:#2789cd;transform:translateY(-50%);}
#category_nav>li:hover>.h4>a,#category_nav>li:hover>h4>a{color:#123f6b;background:#f8fafc;}
#category_nav>li:hover>.h4>a:before,#category_nav>li:hover>h4>a:before{right:auto;left:0;height:22px;}
#category_nav>li.action>.h4>a,#category_nav>li.action>h4>a{color:#123f6b;background:#f5f9fc;}
#category_nav>li.action>.h4>a:before,#category_nav>li.action>h4>a:before{right:auto;left:0;width:3px;height:25px;}
#category_nav>li>.h4>b,#category_nav>li>h4>b{position:absolute;z-index:4;top:50%;right:14px;display:flex!important;width:30px;height:30px;padding:0;color:#2789cd;font-size:12px;background:#fff;border:1px solid #d5e4ee;border-radius:50%;cursor:pointer;transform:translateY(-50%);align-items:center;justify-content:center;transition:color .3s ease,background .3s ease,border-color .3s ease;}
#category_nav>li>.h4>b.open,#category_nav>li>h4>b.open{color:#fff;background:#2789cd;border-color:#2789cd;}
#category_nav>li>.h4>b.open i, #category_nav>li>h4>b.open i{color:white;}
	#category_nav .subUL,#category_nav>li:hover>.subUL{position:static;display:none;width:100%;margin:0;padding:7px 14px 14px;visibility:visible;opacity:1;background:#f7fafc;border:0;border-top:1px solid #e4ebf0;box-shadow:none;transform:none;pointer-events:auto;}
#category_nav .subUL.open{display:block!important;}
#category_nav .subUL>li{display:block;width:100%;margin:0;border-bottom:1px solid #e4ebef;}
#category_nav .subUL>li:last-child{border-bottom:0;}
#category_nav .subULHead a{display:block;width:100%;padding:12px 10px 12px 21px;color:#6b7f90;font-size:13px;background:transparent;border:0;border-radius:0;white-space:normal;}
#category_nav .subULHead a:before{position:absolute;top:50%;left:7px;width:4px;height:4px;margin:0;background:#aabac6;transform:translateY(-50%);}
#category_nav .subULHead a:hover{color:#2789cd;background:transparent;border:0;transform:none;}
#category_nav .subULHead a:hover:before{background:#2789cd;}
#category_nav .subUL li.action .subULHead a{color:#2789cd;background:transparent;border:0;}
}

@media screen and (max-width:575px){
#product_category{margin-bottom:32px;}
#product_category #categoryMenuBtn{padding: 13px 25px;border-radius: 0;}
#product_category .category_btn_mark{width:22px;height:22px;}
#product_category .category_btn_text{font-size:14px;}
#product_category .category_btn_icon{width:28px;height:28px;font-size:11px;}
#category_nav>li>.h4,#category_nav>li>h4{min-height:52px;}
#category_nav>li>.h4>a,#category_nav>li>h4>a{min-height:52px;padding-left:16px;font-size:14px;}
#category_nav>li>.h4>b,#category_nav>li>h4>b{right:12px;width:28px;height:28px;}
#category_nav .subUL,#category_nav>li:hover>.subUL{padding:5px 12px 12px;}
#category_nav .subULHead a{padding-top:11px;padding-bottom:11px;font-size:13px;}
}

/* list_box */
.list_box li { margin: 0 15px 50px; }
.list_box li img { background: rgba(var(--primary-rgb), .05); }

/* article_list */
#article_list li h3 { padding: 10px 20px; width: calc(90% - 40px); height: 34px; background: rgba(var(--white-rgb), .9); line-height: 37px; font-weight: 400; font-size: 20px; bottom: 20px; left: 5%; }
#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; }
#article_list li .info_box p { height: 34px; font-size: 20px; }
#article_list li .info_box .cate { z-index: 2; }
#article_list li .info_box article { margin: 15px 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: 5vw 0; z-index: 1; }
#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; }
#content_wrap.notopup{padding-top:0;}
/* 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; }
#describe * { vertical-align: bottom; }

/* 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 {height: 400px;}
	
	#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; }
}
@media screen and (max-width: 640px){
	#sub_banner a, #page_title{height: 300px;}
	#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: 450px){
	#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; }
}