@import url('/css/animate.css');
.wow {animation: fadeIn 1.5s both;-webkit-animation: fadeIn 1.5s both;animation-duration: 1s;-webkit-animation-duration: 1s;animation-name: fadeInUp;-webkit-animation-name: fadeInUp;}

/* sub_banner */
#sub_banner {width: 100%;height: 500px;}
#sub_banner:before , #sub_banner:after {position: absolute;width: 100%;height: 100%;background: rgb(255 255 255 / 0%);top: 0;left: 0;z-index: 1;content: "";opacity: 1;}
#sub_banner:after {background: -webkit-linear-gradient(bottom,rgb(255 255 255 / 0%) 60%,rgb(255 255 255) 100%);opacity: 1;}
#sub_banner a {height: 100%;background: no-repeat 50% 50% / cover;background-size: cover;}
header {background: -webkit-linear-gradient(rgb(0 0 0 / 0%),rgb(0 0 0 / 0%));}

/* wrap */
#wrap {z-index: 2;}
#wrap .workframe{width:min(90%, 1100px)}

/* top_title */
#top_title{margin-bottom: 40px;margin-top: 60px;}
#top_title .pag_tit {line-height: 120%;font-weight: 400;letter-spacing: 5px;color: #000;font-size: 40px;}
#top_title .pag_tit::first-letter { color: var(--primary); }
#top_title .pag_tit:before {content: "RUI DING";position: absolute;right: 0px;top: -170px;font-size: 140px;color: #f1f0f2;-webkit-text-stroke: 1px rgb(255 255 255);-webkit-text-fill-color: transparent;font-weight: bold;text-transform: uppercase;z-index: -2;line-height: 120%;}

/* waylink */
.waylink ol {padding: 20px 0;}
.waylink ol li , .waylink ol li a { letter-spacing: 1.5px; font-weight: 300; font-size: 13px; }
.waylink ol li:after { margin: 0 10px; display: inline-block; font-weight: 100; font-size: 12px; content: "/"; }
.waylink ol li:last-child:after { margin: 0; content: ""; }

/* aside */
aside {margin: 1vw auto 2vw;display: none;}
aside #sidebtn { padding: 10px 20px; width: calc(100% - 40px); z-index: 2; }
aside #sidebtn:before { position: absolute; width: 100%; height: 100%; background: rgba(var(--white-rgb), .1); top: 0; left: 0; transition: .4s cubic-bezier(.23,1,.32,1); content: ""; }
aside #sidebtn i { top: calc((100% - 16px) / 2); right: 20px; }
aside >ul >li b[data-action="sideOpen"] { position: absolute; padding: 5px 20px; display: block; top: calc((100% - 42px) / 2); right: 0; cursor: pointer; }
aside >ul >li b[data-action="sideOpen"] i:before { content: "\f067"; }
aside >ul >li[data-type="2"] b[data-action="sideOpen"] i:before { content: "\f068"; }
aside >ul >li{margin: 0 10px;}
aside >ul >li h4 a {padding: 10px 20px;font-weight: 500;font-size: 17px;letter-spacing: 1.2px;color: #656565;border: 1px solid #bdbdbd;border-radius: 60px;}
aside >ul >li.action h4 a {color: var(--primary);border: 1px solid var(--primary);}
aside >ul >li ul.subUL {position: absolute;width: 170px;background: rgb(29 29 29 / 76%);left: calc(50% - 85px);z-index: 5;opacity: 0;}
aside >ul >li ul.sub2UL { margin-left: 10px; }
aside >ul >li ul.subUL li >div { position: relative; }
aside >ul >li ul.subUL li a {padding: 10px 10px;display: block;color: #fff;text-align: center;}
aside >ul >li ul.subUL li [data-action="sideOpen"] { display: none; }
aside >ul >li ul.sub2UL li a { color: var(--complement); }

/* content_wrap */
#content_wrap{margin:5vw 0}
#content_wrap #Onlinetime{border-bottom: 1px solid #cecece;padding-bottom: 10px;margin-bottom: 30px;font-weight: 500;color: var(--secondary);}

/* list_box */
#article_list .list_box li {margin: 0;margin-top: 30px;}
.list_box li h3 {height: auto;font-weight: 400;font-size: 18px;margin: 0;}

/* describe */
#describe {margin: 5vw 0;}
#describe * { vertical-align: bottom; }

/* article_list */
#article_list li{margin:0;border-bottom: 1px solid #ddd;}
#article_list img { height: 350px; }
#article_list .info_box {padding: 25px 30px;display: flex;align-items: center;flex-wrap: wrap;justify-content: space-between;}
#article_list .info_box article {font-weight: 300;background: var(--primary);color: white;font-size: 15px;padding: 10px 30px;display: block;height: auto;border-radius: 50px;}
#article_list li:hover .info_box article{background:var(--secondary)}

/* news_list */
#news_list li {height: 100%;border-radius: 30px 30px 30px 0;-webkit-box-shadow: 0 0 24px rgb(0 0 0 / 3%);box-shadow: 0 0 24px rgb(0 0 0 / 5%);background-color: #f5f5f5;overflow: hidden;}
#news_list li img {height: 300px;}
#news_list li .info_box {padding: 30px;width: calc(100% - 70px);left: 20px;bottom: 0;}
#news_list li .info_box p * {font-weight: 300;font-size: 15px;color: #000000;}
#news_list li .info_box p a {margin-right: 10px;max-width: calc(100% - 82px);height: 23px;z-index: 2;margin: 0px 10px 0px 0px;display: inline-block;line-height: 140%;padding: 3px 15px;border-radius: 30px 30px 30px 0;font-size: 15px;color: #fff;background-color: var(--secondary);}

/* product_area */
#product_area{padding: 0vw 0 2vw;}
#product_area .title_box p,#product_area .title_box .page_title{text-align: center;padding-left: 0;}
#product_area .title_box .page_title::before{display: none;}
#product_area ul li{padding: 0px;margin-bottom: 0;}
#product_area ul li .info_box{top: 280px;right: 0;z-index: 10;background-color: #ffffff;width: 100%;height: auto;margin: 0  0 0 auto;}
#product_area .row .img_box{}
#product_area img {background: #eaeaea;height: 250px;}
#product_area .row .info_box >div {margin: auto;width: calc(100% - 0px);}
#product_area .row .info_box h3 {margin: 10px 0;z-index: 5;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;font-size: 18px;display: block;color: var(--info);padding: 0;text-align: center;}
#product_area .row .info_box .line {margin: 10px 0 20px;width: 50px;height: 4px;background: #333333;opacity: .7;}
#product_area .row .info_box article {height: 45px;font-weight: 300;font-size: 16px;-webkit-line-clamp: 3;color: #000;}
#product_area .row .info_box .price { margin-top: 15px; min-height: 30px; }
#product_area .row .info_box .price font { margin-left: 20px; font-weight: 300; }


/* book_list */
#book_list .row img { height: 400px; }
#book_list .row .info_box { padding: 100px 15px 40px; width: calc(100% - 30px); background: -webkit-linear-gradient(top,transparent 0,rgba(var(--black-rgb), .01) 2%, rgba(var(--black-rgb), .8) 90%); background: linear-gradient(to bottom,transparent 0,rgba(var(--black-rgb), .01) 2%, rgba(var(--black-rgb), .8) 90%); bottom: 0; left: 0; }

/* album_list */
#album_list {margin-bottom: 5vw; display: grid; grid-gap: 15px;grid-template-columns: repeat(3, 1fr);}
#album_list >div { margin-bottom: 15px; }
#album_list >div .d_block{display: inline-block;}
#album_list >div .d_block p{font-size: 16px;margin: 10px;color: #000;}

/* faq_list */
#faq_list li { margin-bottom: 30px; }
#faq_list li .title { padding: 10px 45px 10px 5px; }
#faq_list li .title label { padding: 0 0 0 10px; width: 70px; }
#faq_list li .title font { width: calc(100% - 80px); font-size: 18px; }
#faq_list li .info { padding: 15px 35px 15px 85px; font-size: 14px; -webkit-transition: none; -moz-transition: none; -ms-transition: none; -o-transition: none; transition: none; }

/* pagenav */
#pagenav { padding: 50px 0 20px; }
#pagenav a , #pagenav strong { margin: 0 10px; display: inline-block; font-weight: 400; vertical-align: middle; }
#pagenav a:first-child , #pagenav a:last-child { line-height: 9px; }
#pagenav strong { color: var(--primary); }
#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; }

/* community */
#community li { margin-right: 5px; }
#community li , #community li * { line-height: 100%; }
#community li .fb_iframe_widget { display: block !important; }

/* form_box */
.form_box { margin-top: 50px; }
.form_box .m_title{margin-bottom: 40px;}
.form_box .m_title .note{margin-right: 0;margin-bottom: 10px;}
.form_box p {margin-bottom: 20px;width: calc((100% / 1) - 0px);margin-right: 10px;}
.form_box p select{background: url(/images/39/arrow2.png) no-repeat scroll 100% center #fafafa;background-repeat: no-repeat;background-position: 98% 50%;padding: 15px 10px;}
.form_box input#Checknum { margin-right: 10px; width: 100px; }
.form_box #btnOK {padding: 5px 10px;width: 250px;color: #fff;}
input,textarea{padding:10px 10px;background-color:#f3f3f3;width:calc(100% - 20px)}

/* g-map */
#g-map {position: relative;margin: 0;width: 100%;}
#g-map a{z-index: 10;}
#g-map:before { position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 2; content: ""; }
#g-map iframe {position: relative;width: 100%;height: 340px;z-index: 1;}


@media screen and (min-width: 1281px){
	aside >ul { padding: 0 15px; }
	aside >ul >li { overflow: hidden; position: relative; display: inline-block; }
	aside >ul li b[data-action="sideOpen"] { display: none; }
	aside >ul >li:hover { overflow: visible; }
	aside >ul >li:hover h4 a {color: var(--white);border: 1px solid var(--primary);background-color: var(--primary);}
	aside >ul >li:hover ul.subUL { opacity: 1; }
	#news_list li:hover .info_box { bottom: 30px; }
	#product_area .row:hover .info_box .line {width: 100%;background: #e14c1e;}
	#book_list li:hover .info_box { padding-bottom: 60px; }
}
@media screen and (max-width: 1280px){
	aside {position: relative;width: 500px;margin: 2vw auto 5vw;}
	aside #sidebtn {display: inline-block;background: #e8e8e8;}
	aside #sidebtn font{color: #2b2b2b;}
	aside >ul { position: absolute; overflow: hidden; margin-top: 1px; width: 100%; height: 0; background: rgba(var(--black-rgb), .85); top: 0; left: 0; z-index: 1; }
	aside >ul.open {height: auto;border-width: 1px;top: 50px;background-color: #f6f6f6;}
	aside >ul >li { position: relative; }
	aside >ul >li h4 a { padding: 10px 15px; }
	aside >ul >li ul.subUL {overflow: hidden;width: 100%;height: 0;background: rgb(232 232 232 / 40%);top: 0;left: 0;}
	aside >ul >li.action h4 a{border: 0px;}
	aside >ul >li ul.subUL li a{color: #7b7b7b;text-align: left;padding: 10px 16px;}
	aside >ul.open >li[data-type="2"] >ul { position: relative; height: auto; top: auto; bottom: 0; opacity: 1; }
	#product_area .row .info_box {}
	#product_area .row .img_box {opacity: 1;}
	#news_list li img {height: 230px;}
}
@media screen and (max-width: 1024px){
	#article_list img { height: 35vw; }
	#sub_banner {height: 400px;}
	#sub_banner a{background-position: 20% 50%;}
	#top_title .pag_tit:before{display: none;}
	#top_title .pag_tit{font-size: 24px;}
	#top_title{margin-bottom: 10px;margin-top: 30px;}
	.waylink ol{padding: 10px 0 20px 0;}
	#g-map,.content_box{width: 100%;padding: 0;}
	#g-map iframe{height: 260px;}
}
@media screen and (max-width: 761px){
	#product_area .list_box { margin: auto; width: 400px; }
	#product_area .row .info_box >div {width: calc(100% - 0px);}
	#product_area .row .info_box article { height: 50px; -webkit-line-clamp: 2; }
	#book_list .row img { height: 350px; }
}
@media screen and (max-width: 640px){
	#sub_banner a{background-position: 15% 50%;}
	aside {width: 100%;margin: 3vw auto 8vw;}
	#album_list {-moz-column-count: 1;-webkit-column-count: 1;column-count: 1;}
	.form_box input#Checknum { width: calc(100% - 90px); }
	#product_area ul li{padding: 0px;margin: 0 10px 20px;}
	#product_area .row .info_box h3{right: -10px;}
	#news_list li{margin-left: 0;margin-right: 0;}
}
@media screen and (max-width: 500px){
	#product_area .list_box { width: 100%; }
	#top_title .pag_tit:before {right: -224px;}
	#sub_banner {height: 380px;}
}
