/*****************************
* PHPwork官方网址： ruanjiesoft.com
* PHPwork应用官方QQ群： 317075601
* PHPwork应用开发者QQ： 1980572700
* 不得使用本软件用于非法用途，不得违反国家法律。
*************************************/

body{ background:#f6f6f6; }
a,a:hover{ color: #000;text-decoration: none;}
textarea{box-sizing: border-box;padding:5px;background: #f2f2f2;}

.container{max-width:1080px !important;margin:0 auto;margin-bottom:60px;background: no-repeat top center;background-size: 100%;}

.rj-space{clear:both;width: 100%; height: 10px; }

/* 顶部导航条 返回主页 按钮 */
.rj-top-title{line-height: 48px;text-align:center;color:#666;position: relative;}
.rj-top-title .rj-nav-left{position: absolute;left:0;}
.rj-top-title .rj-nav-right{position: absolute;right:0;}
.rj-top-title .rj-nav-left img,.rj-top-title .rj-nav-right img{width:30px}


/*
我的头像
*/
.rj_my_head{display: flex;margin:0 auto;padding:10px;border-radius:4px;box-shadow: 0 0 5px 6px rgba(100, 100, 100, 0.1);
	background:rgba(255, 255, 255, 0.9);}
.rj_my_head .rj_avatar{width:100px;text-align: center;}
.rj_my_head .rj_avatar img{width:70px;height:70px;border-radius: 50%; box-shadow: 0 0 10px 6px rgba(255, 255, 255, 0.5) ;}
.rj_my_head .rj_nickname{margin:0 20px;text-shadow: 0 0 5px rgba(255, 255, 255, 0.8) ;}
.rj_my_head .rj_nickname span{font-size: 14px;}

.rj-my_list_item{display: flex;justify-content: space-between;align-items: center;font-size: 16px;padding: 10px;border-bottom: 1px solid #eee;}

/* 卡片 */
.rj_card{margin:10px;border-radius:10px;overflow: hidden;box-shadow: 0 0 4px rgba(221, 221, 221,0.5);background-color:#fff;}
/* 卡片 */
.rj-card{display: flex;text-align: center;margin-bottom: 20px;}
.rj-card .rj-credit-name{flex: 1;}
/* .rj-card .rj-credit-name .rj-credit-title{} */
.rj-card .rj-credit-name .rj-credit-detail{padding:5px;font-size: 30px;color: #f00;}

/* 签到按钮 */
.rj-btn{
	display: block;width: 100%;    box-sizing: border-box;
	font-size: 18px;    text-align: center;    color: #000; line-height: 2.2;
	border-radius: 30px;    border-width: 0;
	outline: 0; overflow: hidden;background: #FFD700;cursor: pointer;}

/* 签到介绍 */
.rj-index_content{margin-bottom: 60px;padding:15px 5px; }
.rj-index_content img{ width: 100% !important;height: auto !important;}

/* 签到成功弹窗 */
.rj-popup{display:none;position: absolute;left:0;top:0;bottom:0;right:0;text-align: center;background:rgba(0, 0, 0, 0.8);}
.rj-popup .rj-pic{margin: 80px 50px 0;}
.rj-popup .rj-credit{color: #ff0;font-size: 60px;}
.rj-popup .rj-tip{color: #ff0;}


/* 底部导航 */
.rj-tabbar{position: fixed;z-index: 500;display: flex; bottom: 0;width: 100%;max-width:1080px !important;margin-left: -15px;
	background-color: #fff;box-shadow:0 -4px 5px rgba(192, 191, 196, 0.2); }
.rj-tabbar a{ flex: 1;padding: 5px 0 0; }
.rj-tabbar .rj-tabbar_img{height: 27px;width: 27px; margin: 0 auto;}
.rj-tabbar .rj-tabbar_img img{width: 100%;}
.rj-tabbar .rj_tabbar_label{margin:0;text-align: center;   color: #000; font-size: 12px; line-height: 1.8;}


/* 单页 */
.rj-page_detail .rj-title{padding:10px;line-height:150%;margin-top:30px;font-size:18px;text-align:center;}
.rj-page_detail .rj-content{padding:10px; min-height:200px;background-color:rgba(255,255,255,0.8);}
.rj-page_detail .rj-content img{ max-width: 100% !important;height: auto !important;}

/* index.tpl.php 开始 */
.rj_calendar_container{min-height:345px;margin:10px auto;margin-bottom: 15px;padding:10px;border-radius:4px;box-shadow: 0 0 5px 6px rgba(100, 100, 100, 0.1);
	background:rgba(255, 255, 255, 0.9);}

.rj_calendar{width:100%;display:flex;flex-wrap:wrap}
.rj_calendar div{margin:5px;width:11%;height:35px; text-align:center;line-height:38px;box-sizing:border-box;border-radius: 50%;}
/* 当日 */
.rj_day_today{border:2px solid #ff8d00;line-height: 32px !important;}
/* 签到 */
.rj_day_sign{background-color:#fd0;}
/* index.tpl.php 结束 */

/* 首页领取榜 */
.notice-swiper .swiper-container { width: 100%; height: 100px; }
.notice-swiper .swiper-slide { height: 20px; line-height: 20px; }
.notice-swiper .swiper-slide a { color: #333;text-overflow:ellipsis;overflow:hidden;white-space:nowrap; }
.notice-swiper .swiper-pagination { position: absolute; }
.notice-swiper .swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet { margin: 3px 0; display: block; }
.notice-swiper .swiper-button-next, .notice-swiper .swiper-button-prev { position: absolute; left: auto; right: 0; top: -22px; margin: 0; width: 16px; height: 16px; background-size: 16px 10px; -webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); -ms-transform: rotate(90deg); -o-transform: rotate(90deg); transform: rotate(90deg); }
.notice-swiper .swiper-button-prev { margin-right: 20px; }


/* 屏幕大于 800px */
@media screen and (min-width:800px) {
	.container,.rj-tabbar{max-width:677px !important;}
}

/* 根据系统的深色模式响应深色变量 */
@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);}

}
