﻿
*, ::after, ::before {
	box-sizing: inherit;
	-webkit-tap-highlight-color: transparent;
	/*outline:medium;*/
	padding: 0;
	margin: 0;
	outline: 0;
	list-style:none;
	font-weight:normal;
	text-decoration:none;
}
html {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;/*-文字无法被选中-*/
	-webkit-font-smoothing: antialiased;/*-字体抗锯齿渲染-*/
	-ms-touch-action: manipulation;
	touch-action: manipulation;/*-允许手势水平/垂直平移或持续的缩放-*/
	-webkit-text-size-adjust: none;
	-ms-text-size-adjust: none;
	text-size-adjust: none;/*-文本大小不会根据设备尺寸进行调整-*/
	box-sizing: border-box;
	background-color: #f5f5f5;
	line-height: 1.2;
	color: #000;
	font-family: 'youai','Helvetica Neue',Tahoma,Arial,PingFangSC-Regular,
	'Hiragino Sans GB','Microsoft Yahei',sans-serif;
}

html{font-size:16px}
.bd_w{
	background-color: #fff;
}
/*-日历样式-*/
.flex_i{
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items:center;
	align-items:center;
}
.flex_auto{
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
}
.calendar_header{
	padding: 0.25rem 0.5rem 0;
}
.switch_month{
	border: 0;
	background-color: transparent;
	width: 16px;
	height: 16px;
	background: rgba(255,255,255,0.7);
	border-radius: 2px;
	border: 1px solid rgba(255,255,255,0.5);
	backdrop-filter: blur(20px);
	cursor: pointer;
}
.switch_month:hover {
	opacity: 0.5;
}
.switch_month:active{
	background-color: #eee;
}
.calendar_info{
	text-align: center;
	padding: 0 4px;
	height: 16px;
	background: rgba(255,255,255,0.7);
	border-radius: 2px;
	border: 1px solid rgba(255,255,255,0.5);
	backdrop-filter: blur(20px);
	margin: 0 2px;
	font-size: 12px;
	color: #000000;
	line-height: 13px;
}
.calendar_tr{
	font-size: 0.75rem;
}
.calendar_tr:after{
	content:"";
	display: block;
	clear: both;
	padding: 0 1%;
}
.calendar_tr > li{
	float: left;
	width: 14%;
	text-align: center;
	position: relative;
	color: #ffffff;
	font-size: 12px;
}

.calendar_week > li{
	padding: 16px 0 8px;
}
.notnowmonth{
	color: #aaa;
}
.calendar_day_bar{
	padding: 0.5rem 0;
}
.calendar_day_i{
	display: inline-block;
	width: 2rem;
	height: 2rem;
	line-height: 2rem;
	color: #1D2129;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.05s ease-in;
}
.calendar_day_i:hover {
	opacity: 0.5;
}
.calendar_day_act .calendar_day_i , .calendar_day_i:hover {
	background-color: var(--main-color);
	color: #fff;
	border-radius: 50%;
}

.todayon .calendar_day_i {
	color: var(--main-color);
}

.todayon .calendar_day_i:hover {
    background: transparent;
}

.calendar_today{
	position: relative;
}
.today_i{
	display: block;
	position: absolute;
	bottom: -webkit-calc(100% - 0.875rem);
	bottom: calc(100% - 0.5rem);
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	width: 2rem;
	line-height: 1rem;
	background-color: #333;
	color: #fff;
	font-size: 0.5rem;
}
.today_i:before{
	content:"";
	display: block;
	border:solid 0.15rem transparent;
	border-bottom: 0;
	border-top-color: #333;
	border-left-width: 0.25rem;
	border-right-width: 0.25rem;
	width: 0;
	height: 0;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin: auto;
}
.br_b_ccc{
	border-bottom: solid 1px #ccc;
}
.ric_calendar .calendar_header{
	padding: 0 1.5rem;
}
.ric_calendar .calendar_day_bar > li{
	padding: 0;
}
.ric_calendar .today_i{
	display: none;
}
.ric_calendar .notnowmonth{
	color: #eee;
}
.ric_calendar .calendar_day_bar{
	padding-bottom: 1rem;
}
.calendarday_bz1:after,.calendarday_bz2:after{
	content:"";
	display: block;
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 50%;
	background-color: #1DA8FC;
	position: absolute;
	bottom: 0;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}
.calendarday_bz2:after{
	background-color: #ec612a;
}
.jcalendar_week .calendar_week > li,.jcalendar_week .calendar_tr > li{
	padding: 0;
}
.jcalendar_week .calendar_header{
	border-bottom: solid 1px #ddd;
	padding-bottom: 0.25rem;
}
.jcalendar_week .calendar_day_bar{
	padding: 0.75rem 0 0.25rem;
}
.jcalendar_week .calendar_week{
	padding-bottom: 1rem;
	font-size: 0.625rem;
}
.jc_week_act .calendar_day_i{
	background-image: url(../img/day_bd.png);
	background-size: 80% 80%;
	background-repeat: no-repeat;
	background-position: center;
}
/*--日历样式结束--*/
/*-弹框-*/
.pop_bd{
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	display: none;
}
.pop_con{
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	max-width: 500px;
	width: 75%;
	background-color: #fff;
	border-radius: 1rem;
	padding: 1.5rem;
}
.pop_close{
	position:absolute;
	right:0.5rem;
	top:0.5rem;
	display: block;
	width: 1.5rem;
	text-align: center;
	height: 1.5rem;
	line-height: 1.5rem;
	font-size: 1.5rem;
	color: #666666;
	font-family: -webkit-body;
	font-family: body;
	border-radius: 0.25rem;
}
.pop_close:active{
	background-color: #eee;
}
.control{
	text-align: center;
	padding: 1rem 0;
}
.control > button{
	width: 2rem;
	height: 2rem;
	font-size: 1.25rem;
	border: solid 1px #aaa;
	background-color: transparent;
}
.control_val{
	height: 2rem;
	border: 0;
	background-color: #f5f5f5;
	text-align: center;
}
.setjc_st,.setjc_btn{
	height: 2.25rem;
	padding: 0 1rem;
	margin: 0.5rem 0;
	border-radius: 0.25rem;
}
.setjc_btn{
	background-color: #1DA8FC;
	color: #fff;
	border: 0;
}
.nowweek_btn{
	margin-right:0.5rem;
	flex: 0.5;
}
.today{
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 40px;
	border-bottom: 1px solid #B7CDE3;
}
.today h3{
	color: #1D2129;
	font-size: 16px;
	font-weight: bold;
}
.today  .switch_month img{
	width: 26px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50% , -50%);
}
.start .calendar_day_i::after , .end .calendar_day_i::after , .middle .calendar_day_i::after{
	position: absolute;
	content: '';
	width: 4px;
	height: 4px;
	background: red;
	border-radius: 50%;
	bottom: 2px;
	left: 0;
	right: 0;
	margin: auto;
}
.start .calendar_day_i::after{
	background: var(--main-color);
}
.middle .calendar_day_i::after{
	background: linear-gradient(to right ,  var(--main-color) , red);
}