/*****************************
* PHPwork官方网址： ruanjiesoft.com
* PHPwork官方QQ： 1980572700
* 不得使用本软件用于非法用途，不得违反国家法律。
*************************************/
a,a:hover,a:active{color:inherit;text-decoration: none;}

.rj-container{max-width:1080px !important;margin:0 auto;margin-bottom:80px;}

/* 动画放大 */
div.rj-animate{overflow: hidden; }
div.rj-animate img{width: 100%;transition: 1s;}
div.rj-animate img:hover{transform:scale(1.1);transition: 2s;}

/* 卡片式框 */
.rj-card{margin:15px;padding:5px;border-radius:4px;overflow: hidden;box-shadow: 0 0 4px #ddd;background-color:#fff;}
.rj-card .rj-title{position: relative;margin-bottom: 5px;min-height: 25px;}
.rj-card .rj-bottom{padding:0 5px;line-height:30px;text-align: right;}
.rj-card .rj-bottom a{padding:2px 10px;border:1px solid #999; border-radius: 10px;color:#1e1e1e;font-size:12px; }

/* ** 顶部导航条 返回 title 主页 */
.rj-appbar{display: flex;justify-content: space-between;padding:12px 15px;background-color:#fc5b61;color:#fff;}
 
/* 底部导航 */
.rj-tabbar{ position: fixed;bottom: 0; display: flex;justify-content: space-around;align-items: center; 
			width: 100%;height: 60px;padding: 0;box-shadow: 0 0 5px 0px rgba(153, 153, 153,0.5);text-align: center;	
			background-color: rgba(255,255,255,0.8);backdrop-filter: blur(10px);font-size:12px;}
.rj-tabbar img{ width: 30px;height: 30px; object-fit: cover;}

/* 加载更多 */
#page_tip{text-align:center;margin-top: 10px;color: #a3a3a3;font-size: 15px;cursor: pointer;}



/********************/
/* 首页 */
/* 首页 轮播 */
.rj-index_slide{ overflow: hidden;}
.rj-index_slide .swiper-slide img { display: block; width: 100%; object-fit: cover; }
.rj-index_slide .swiper-pagination { width: 98% !important; text-align: right; }
/* 首页 公告 */
.rj-index_notice{ display:flex;align-items: center;justify-content: space-between;padding:2px 5px;}
.rj-index_notice .rj-icon{ color: #ff5722; margin-right: 10px;}
.rj-index_notice .rj-list { flex: 1;height: 25px;}
.rj-index_notice .rj-list .swiper { width: 100%; height: 25px; overflow: hidden; }
.rj-index_notice .rj-list .swiper .swiper-slide{line-height: 26px;}
.rj-index_notice .rj-more{}

/* 首页 导航 上部 */
.rj-index_nav_top {display: flex;}
.rj-index_nav_top .rj-item{ flex: 1;}
.rj-index_nav_top a.rj-tabbar__item{padding: 5px 0;text-align: center;}
.rj-index_nav_top .rj-tabbar__item:active{background-color: #f5f5f5;}
.rj-index_nav_top .rj-tabbar__item div{width: 70%; height: 70%; margin: 0 auto;}
.rj-index_nav_top .rj-tabbar__item div img{width: 100%;max-width: 50px;}
.rj-index_nav_top .rj-tabbar__item .rj_tabbar_label{text-align: center;   color: #000; font-size: 13px; line-height: 1.8;}

/* 首页 推荐试卷 */
.rj-index_paper {}
.rj-index_paper .title{ margin-left:10px;font-size: 16px;margin-top: 20px;}
.rj-index_paper .rj-index_paper_list {margin: 10px;border-top: 1px solid #eee;}
.rj-index_paper .rj-index_paper_list .index_paper_name{font-size: 16px;padding-top: 10px;}
.rj-index_paper .rj-index_paper_list .index_paper_tip{font-size: 14px;color: #666;margin-top: 5px;}
.rj-index_paper .rj-index_paper_list .paper_start_time{font-size: 14px;margin-top:5px;}
.rj-index_paper .rj-index_paper_list .index_paper_time{display:flex;font-size: 14px;}
.rj-index_paper .rj-index_paper_list .index_paper_user{display:flex;justify-content: space-between;margin-top: 5px;}
.rj-index_paper .rj-index_paper_list .index_paper_user_avatar{ width: 25px;height: 25px;border-radius: 50%;}
.rj-index_paper .rj-index_paper_list .index_paper_start{background-color:#fc5b61;color:#fff;border: none;height: 25px;padding-left: 10px;padding-right: 10px;}

/* 首页 推荐文章内容 */
.rj-index_article {padding:10px 15px;box-sizing: border-box;}
.rj-index_article .rj-title{ display:flex;justify-content: space-between;align-items: center;margin-bottom:10px;}
.rj-index_article .rj-title h2{font-size: 16px;font-weight: 600;padding: 8px 0;}
.rj-index_article .rj-list { }
.rj-index_article .rj-list a{display: flex; box-sizing: border-box;padding:8px 0;width: 100%; }
.rj-index_article .rj-list .rj-hd{ margin-right: 16px; width: calc((100vw - 20px)/3);border-radius: 6px; overflow: hidden; }
.rj-index_article .rj-list .rj-hd img{ width: 100%;aspect-ratio: 4 / 3; object-fit: cover;}
.rj-index_article .rj-list .rj-bd{ display: flex; flex-direction: column; justify-content: space-between;
									width: calc(100% - (100vw - 20px)/3 - 16px);}
.rj-index_article .rj-list .rj-bd .rj-title{ display: -webkit-box; margin-bottom: 1px;
												-webkit-box-orient: vertical;    -webkit-line-clamp: 2;overflow: hidden;
												white-space: normal; line-height: 1.4;font-size: 16px; }
.rj-index_article .rj-list .rj-bd .rj-tip{color: #bbb;}
.rj-index_article .rj-list .rj-bd .rj-date{text-align: right;color: #bbb;}


/* ** 文章分类页 */
.rj-article_category {padding: 0 15px;}
.rj-article_category  h2{margin: 15px 0;font-size: 18px;font-weight: normal;}
.rj-article_category .rj-list a{display: flex; box-sizing: border-box;padding:8px 0;width: 100%;border-top: 1px solid #eee; }
.rj-article_category .rj-list .rj-hd{ margin-right: 16px; width: calc((100vw - 40px)/3);border-radius: 6px; overflow: hidden;}
.rj-article_category .rj-list .rj-hd img{width: 100%;aspect-ratio: 4 / 3; object-fit: cover;}
.rj-article_category .rj-list .rj-bd{ display: flex; flex-direction: column; justify-content: space-between;
										width: calc(100% - (100vw - 40px)/3 - 16px);}
.rj-article_category .rj-list .rj-bd .rj-title{ display: -webkit-box; margin-bottom: 5px;
													-webkit-box-orient: vertical; -webkit-line-clamp: 2;overflow: hidden;
													white-space: normal; line-height: 1.4;font-size: 16px;
												}
.rj-article_category .rj-list .rj-bd .rj-tip{color: #bbb;}
/* ** 文章列表页 */
.rj-article_list {padding: 0 15px;}
.rj-article_list  h2{margin: 15px 0;font-size: 18px;font-weight: normal;}
.rj-article_list .rj-list a{display: flex; box-sizing: border-box;padding:8px 0;width: 100%;}
.rj-article_list .rj-list .rj-hd{ margin-right: 16px; width: calc((100vw - 20px)/3);border-radius: 6px; overflow: hidden;}
.rj-article_list .rj-list .rj-hd img{ width: 100%;aspect-ratio: 4 / 3; object-fit: cover;}
.rj-article_list .rj-list .rj-bd{ display: flex; flex-direction: column; justify-content: space-between;
									width: calc(100% - (100vw - 20px)/3 - 16px);}
.rj-article_list .rj-list .rj-bd .rj-title{ display: -webkit-box; margin-bottom: 1px;
												-webkit-box-orient: vertical;    -webkit-line-clamp: 2;overflow: hidden;
												white-space: normal; line-height: 1.4;font-size: 16px; }
.rj-article_list .rj-list .rj-bd .rj-tip{color: #bbb;}
.rj-article_list .rj-list .rj-bd .rj-date{text-align: right;color: #bbb;}

/* *** 文章详细页 */
.rj-article_detail {margin: 15px 10px;}
.rj-article_detail .rj_title{padding: 20px 15px 10px;text-align: left;   font-size: 20px;  font-weight: 400;line-height:150%;margin-top:30px;}
.rj-article_detail .rj_author{padding:0 15px 10px;color: rgba(0,0,0,0.3);}
.rj-article_detail a{color:#888;}
.rj-article_detail .rj-content{padding:10px; min-height:200px;background-color:rgba(255,255,255,0.8);}
.rj-article_detail .rj-content img{ max-width: 100% !important;height: auto !important;}



/* 考试 exam-练习practice */
.paper_category{display:flex;overflow:auto;height: 48px;line-height: 45px;background-color: #fc5b61;color: #fff;}
.paper_category_name{width:20%;flex-shrink: 0;text-align: center;cursor: pointer;}
.category_active{border-bottom: 3px solid #ffd100;}
.paper_start_time{font-size: 14px;margin-top:5px;}
.paper_list{margin: 10px;border-bottom: 1px solid #eee;}
.paper_button{text-align:right;padding-bottom: 10px;}
.index_paper_start{background-color:#fc5b61;color:#fff;border: none;height: 25px;padding-left: 10px;padding-right: 10px;}

/* 试卷首页 */
.paper_info{border-bottom: 1px solid #eee;display:flex;}
.paper_input{border: none;font-size: 16px;outline: none;}


/* 答题 */
.problem_title{font-size: 15px;font-weight: 600;margin-bottom: 20px;}
.problem_type{color:#fc5b61;width: 35px;font-size: 14px;margin-top:5px;}
.problem_answer{font-size: 15px;margin-bottom: 5px;display:flex;padding: 5px;}
.choice_problem_answer{background-color: #ddd;}


/* 个人中心 */
.rj-btn_login{width: 100%;border: none;height: 35px;font-size: 16px;border-radius: 30px;background-color:#fc5b61;color:#fff;outline: none;cursor: pointer;}


/* ** 公告列表页 */
/* *** 公告详细页 */
.rj-notice_detail { margin: 10px;}
.rj-notice_detail img{ max-width: 100% !important;height: auto !important;}
.rj-notice_detail h2.rj-title{margin:50px 0 30px;font-size:24px;text-align:center;}
.rj-notice_detail p.rj-img{ text-align:center;margin-bottom:15px;}
.rj-notice_detail .rj-content{ min-height:500px;padding: 10px;background-color:rgba(255,255,255,0.8);}

/* ***  单页 */
.rj-page_detail { margin: 10px;}
.rj-page_detail img{ max-width: 100% !important;height: auto !important;}
.rj-page_detail h2.rj-title{margin:50px 0 30px;font-size:24px;text-align:center;}
.rj-page_detail p.rj-img{ text-align:center;margin-bottom:15px;}
.rj-page_detail .rj-content{ min-height:500px;padding: 10px;background-color:rgba(255,255,255,0.8);}


/* 屏幕大于 800px */
@media screen and (min-width:800px) {
	.rj-container,.rj-tabbar{max-width:677px !important;}

	/* 首页 内容 */
	.rj-index_article .rj-list .rj-hd{ width: 219.66667px; }
	.rj-index_article .rj-list .rj-bd{ width: calc(100% - 235.66667px);}
	/* ** 文章分类页 */
	.rj-article_category .rj-list .rj-hd{ width: 219.66667px; }
	.rj-article_category .rj-list .rj-bd{ width: calc(100% - 235.66667px);}
	/* ** 文章列表页 */
	.rj-article_list .rj-list .rj-hd{ width: 219.66667px; }
	.rj-article_list .rj-list .rj-bd{ width: calc(100% - 235.66667px);}

}

/* 根据系统的深色模式响应深色变量 */
@media (prefers-color-scheme: dark) {
	html{filter: invert(1) hue-rotate(180deg);}
	body{background: #fff;}
	img,video{filter: invert(1) hue-rotate(180deg);}

	input::placeholder{color:rgba(0,0,0,.3);}

}
