/*****************************
* PHPwork官方网址： ruanjiesoft.com
* PHPwork应用开发者QQ： 1980572700
* 不得使用本软件用于非法用途，不得违反国家法律。
*************************************/
body{background-color: #f6f7f9;}

a{color: inherit;text-decoration: none;}
a:hover{color: inherit;text-decoration: none; }

.rj-container{max-width:1080px !important;margin:0 auto;margin-bottom:70px;}

/* 卡片式 */
.rj-card{margin:15px;padding:5px;border-radius:10px;overflow: hidden;box-shadow: 0 0 4px rgba(221, 221, 221,0.5);background-color:#fff;}

/* 顶部导航条 返回主页 按钮 */
.rj-top_title{display: flex;align-items: center;justify-content: space-between;padding: 0 15px;height: 40px;background-color: rgb(62, 206, 181);color:#fff;}
.rj-top_title .rj-nav{display: flex;align-items: center;}
.rj-top_title .rj-nav img{width:20px}

/* 底部导航 */
.rj-tabbar{position: fixed;z-index: 500;display: flex;bottom: 0;width: 100%;max-width:1080px !important;
	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-copy{ clear: both; text-align:center;line-height: 150%;font-size: 13px;}


/********************/
/* 首页 */
/* slider */
.rj-slider{margin:0 0 10px;}

/* 首页公告 */
.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-container { width: 100%; height: 25px; overflow: hidden; }
.rj-index_notice .rj-list .swiper-container .swiper-slide{line-height: 26px;}
.rj-index_notice .rj-more{}




/* 首页推荐 内容分类 */
.rj-index_article { 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 a{display: flex; padding:8px 16px;width: 100%;}
.rj-index_article .rj-list .rj-hd { margin-right: 16px; width: calc((100vw - 40px)/3); height: calc((200vw - 80px)/9);  }
.rj-index_article .rj-list .rj-hd img{width: 100%;height: 100%; object-fit: cover;border-radius: 6px;}
.rj-index_article .rj-list .rj-bd { width: calc(100% - (100vw - 40px)/3 - 16px);}
.rj-index_article .rj-list .rj-bd .rj-title{ display: -webkit-box; height: 48px; margin-bottom: 5px;
											overflow: hidden;-webkit-box-orient: vertical; -webkit-line-clamp: 2;
											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 { margin: 10px}
.rj-article_category  h2{margin: 15px 10px;font-size: 16px;font-weight: 600;}
.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);     height: calc((200vw - 80px)/9);  }
.rj-article_category .rj-list .rj-hd img{width: 100%;height: 100%; object-fit: cover;border-radius: 6px;}
.rj-article_category .rj-list .rj-bd{     width: calc(100% - (100vw - 40px)/3 - 16px);}
.rj-article_category .rj-list .rj-bd .rj-title{ display: -webkit-box;  height: 48px;   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 { margin: 10px}
.rj-article_list  h2{margin: 15px 10px;font-size: 16px;font-weight: 600;}
.rj-article_list .rj-list a{display: flex; box-sizing: border-box;padding:8px 0;width: 100%;border-top: 1px solid #eee;}
.rj-article_list .rj-list .rj-hd{    margin-right: 16px;    width: calc((100vw - 40px)/3);     height: calc((200vw - 80px)/9);  }
.rj-article_list .rj-list .rj-hd img{width: 100%;height: 100%; object-fit: cover;border-radius: 6px;}
.rj-article_list .rj-list .rj-bd{     width: calc(100% - (100vw - 40px)/3 - 16px);}
.rj-article_list .rj-list .rj-bd .rj-title{ display: -webkit-box;  height: 48px;   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_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:500px;background-color:rgba(255,255,255,0.8);}
.rj-article_detail .rj-content img{ max-width: 100% !important;height: auto !important;}


/* ** 公告列表页 */
.rj-notice_list { margin: 10px;}
/* *** 公告详细页 */
.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;line-height:150%;font-size:24px;text-align:center;}
.rj-notice_detail p.rj-img{ text-align:center;margin-bottom:15px;}
.rj-notice_detail .rj-content{ padding: 10px;min-height:500px;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;line-height:150%;font-size:24px;text-align:center;}
.rj-page_detail p.rj-img{ text-align:center;margin-bottom:15px;}
.rj-page_detail .rj-content{ padding: 10px;min-height:500px;background-color:rgba(255,255,255,0.8);}




/* 科室预订页 时间时段 */
.index_department_book{ margin-top:0;box-shadow: none;border-top-left-radius: 0;border-top-right-radius: 0;}
.index_department_book_title{ font-size: 16px;font-weight: 600;}
.index_department_book_time_list{ display:flex;flex-wrap: wrap;justify-content: space-between;}
.active{ color: #48ba96;background-color: #e6faee;border: 1px solid #48ba96;}
.index_department_book_time{ text-align: center;width: 30%;font-size: 13px;border: 1px solid #aaa;border-radius: 5px;margin-top:10px;padding: 5px 0;}
.index_department_book_time_interval_list{ display:flex;flex-wrap: wrap;justify-content: space-between;}
.index_department_book_time_interval{ text-align: center;width: 48%;font-size: 13px;border: 1px solid #aaa;border-radius: 5px;margin-top:10px;padding: 5px 0;}
.index_department_book_number_choice{ display:flex;margin-top: 15px;justify-content: space-between;align-items: center;}
.index_department_book_number_edit{ border: 1px solid #ccc;width: 35px;height: 35px;text-align: center;color: #ccc;font-weight: 600;font-size: 30px;line-height: 25px;}
.index_department_book_number{ border: 1px solid #ccc;width: 35px;height: 35px;text-align: center;line-height: 30px;border-right: none;border-left: none;}
/* 底部合计 */
.index_department_total{ display: flex;background-color: #fff;justify-content: space-between;padding: 10px;font-size: 14px;position: fixed;bottom: 53px;width: 100%;}
.index_department_total_button{ border: none;background-color: #f7524c;color: #fff;height: 35px;width: 130px;border-radius: 20px;outline: unset;}
/* 科室预订页 健康卡选择弹窗 */
.tips_pop{position: fixed;top:0;left:0;width:100%;height: 100%;z-index: 9999;background-color: rgba(0,0,0,0.7);}
.tips{ background-color:#fff;width: 80%;margin-left: 10%;margin-top: 25%;padding: 12px;border: 2px solid #48ba96;border-radius: 5px;}
.tips_title{ font-size:17px;font-weight:600;text-align: center;margin-bottom: 10px;}
.tips_close{ margin-top:20px;display: flex;justify-content: center;}
.tips_close span{ display: block;background-color: #fff;color:#949494;width: 30px;height: 30px;border-radius:50%;text-align: center;font-size: 25px;font-weight: 600;line-height: 30px;}


/* ** 我的 */
.rj-my_list_item{display: flex;justify-content: space-between;align-items: center;font-size: 16px;padding: 10px;border-bottom: 1px solid #eee;}

.visit_explain img{ max-width: 100% !important;height: auto !important;}	



/* 报告 */
.rj-report{padding:0 10px;}
.rj-report .list{margin-bottom:15px;background-color: #fff;border-radius: 10px;font-size: 15px;box-shadow: 0 0 4px rgba(221, 221, 221,0.8);}
.rj-report .list .title{background-color: #32c4c3;color: #fff;padding: 8px 10px;border-radius: 10px 10px 0 0;}
.rj-report .list .content{padding: 10px;}
.rj-report .list .content .item{display: flex;justify-content: space-between;margin-bottom: 5px;}
.rj-report .list .btn_pdf{padding:5px 10px;font-size: 14px;border-radius: 4px;background-color:#32c4c3;color: #fff;}

/* ** 医生 */
.doctor-list{display:flex;padding: 10px 0;border-bottom: 1px solid #eee;}
.doctor-list:last-child{border:none}


/* 屏幕大于 800px */
@media screen and (min-width:800px) {
	.rj-container,.rj-tabbar{max-width:677px !important;}

	/* 首页 内容 */
	.rj-index_article .rj-list .rj-hd{  height: 146.44444px;  width: 219.66667px; }
	.rj-index_article .rj-list .rj-bd{  width: calc(100% - 235.66667px);}
	/* ** 文章分类页 */
	.rj-article_category .rj-list .rj-hd{  height: 146.44444px;  width: 219.66667px; }
	.rj-article_category .rj-list .rj-bd{  width: calc(100% - 235.66667px);}
	/* ** 文章列表页 */
	.rj-article_list .rj-list .rj-hd{  height: 146.44444px;  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);}
}