/* 容器 */
.calendar{
	width:100%;
	background:#fff;
	/* box-shadow:0px 1px 1px rgba(0,0,0,0.1); */
}

/* 表头 */
.c_title{
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
/* 表体 */
.body{
	/*margin-top: 30px;
	margin-bottom: 50px;*/
	border-left: #4c4c4c 0.0625rem solid;
	border-bottom: #4c4c4c 0.0625rem solid;
	padding: 0 0 .1px .1px;
	user-select: none;
}

/* 日期列表 包括 顶部星期以及日期 */
.body-list ul{
	width:100%;
	/* font-family:arial;
	font-weight:bold;
	font-size:14px; */
	overflow:hidden;
}


.body-list ul li{
	width:14.285%;
	height:70px;
	/* line-height:36px; */
	list-style-type:block;
	display:block;
	box-sizing:border-box;
	float:left;
	text-align:center;
	border-top: #4c4c4c 0.0625rem solid;
	border-right: #4c4c4c 0.0625rem solid;
}

/* 周一到周日列表 */
.ul_week.body-list ul li{
	color: #FFFFFF;
	height:40px;
	line-height:40px;
	background-color: #8abeb2;
}


/* 上下按钮 */
.c_prev{
	position: relative;
	left: 5%;
	display: block;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 50px!important;
}
.c_prev img{
	width: 100%;
	height: 100%;
}
.c_next{
	position: relative;
	right: 5%;
	display: block;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 50px!important;
}
.c_next img{
	width: 100%;
	height: 100%;
}
.calendar_box{
	display:flex;
	flex-wrap:wrap;
	margin-top: 30px;
	margin-bottom: 40px;
	position: relative;
}
.calendar_left{
	width:50%;
	background-color: #f6f6f6;
	position: relative;
}
.calendar_right{
	position: relative;
	width:50%;
	background-color: #f6f6f6;
	display:block;
}
.edu_back{
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 1;
}
.edu_back img{
	width:100%;
	float: right;
}
.day_details_title{
	display: flex;
	justify-content: space-between;
	padding: 30px 0px;
	margin: 0px 30px;
	font-size: 20px;
	border-bottom: 2px solid #E6E6E6;
	position: relative;
}
.activity_count{
	color: #3487FF;
	color: var(--main-color);
	font-weight: bold;
}

.day_activity_list {
	margin: 30px;
	min-height: 168px;
	position: relative;
	z-index: 100;
}

.day_activity_item {
	padding: 10px 0px;
	display: flex;
}
.day_activity_item_left {
	width: 50%;
	margin-right: 20px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.day_activity_item_right {
	width: 50%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.day_activity_item_right_res{
	display:none;
}
.day_activity_item a{
	color:unset;
}
.day_activity_item a:hover{
	color: #3487FF;
	color:var(--main-color);
}

.day_activity_item{
	color:unset;
}
.day_activity_item:hover{
	color: #3487FF;
	color:var(--main-color);
}

/* 每个活动 */
.greenbox{
	background:#E7F2EE; /*浅绿色背景*/

}

.activity_disabled{
	background:#f6f6f6;
	color: #afa8a8;
}


li.date_day{
	cursor:default;
	text-align: center;
	/*border-bottom: #4c4c4c 0.0625rem solid;*/
	height: 70px;
	line-height: 70px;
}
li .activity{
	text-align: center;
	height: 0px;
	display:none;
	/*overflow-y: auto;*/
}
.activity a:link,.activity a:visited,.activity a:hover,.activity a:active{
	color: #4c4c4c;
}
.activity a{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	/*display: block;*/
}


/* one item */
li .activity a:first-child:nth-last-child(1) {
	height: 97px;
	line-height: 100px; 
}
/* two items */
li .activity a:first-child:nth-last-child(2),
li .activity a:first-child:nth-last-child(2) ~ a {
	height: 50px;
	line-height: 50px;
}
/* three items */
li .activity a:first-child:nth-last-child(3),
li .activity a:first-child:nth-last-child(3) ~ a {
	height: 33.3px;
	line-height: 33.3px;
}
/* four items */
li .activity a:first-child:nth-last-child(4),
li .activity a:first-child:nth-last-child(4) ~ a {
	height: 25px;
	line-height: 25px;
}

@media (max-width:768px) {
	.c_title{
		height: 80px;
	}
	.c_prev{
		font-size: 40px!important;
	}
	.c_next{
		font-size: 40px!important;
	}
	.edu_back {
		width: 50%;
	}

	/*.body-list ul li{
	height:150px;
}
	li .activity{
	height: 120px;
}

	li .activity a:first-child:nth-last-child(1) {
	height: 120px;
	display: -moz-inline-box;
	display: table-cell;
	line-height: normal;
	vertical-align: middle;
}*/
	/* two items */
	/*
	li .activity a:first-child:nth-last-child(2),
	li .activity a:first-child:nth-last-child(2) ~ a {
	height: 60px;

	vertical-align: middle;
}*/
	/* three items */

	/*
	li .activity a:first-child:nth-last-child(3),
	li .activity a:first-child:nth-last-child(3) ~ a {
	height: 40px;

	vertical-align: middle;
}*/
	/* four items */
	/*
	li .activity a:first-child:nth-last-child(4),
	li .activity a:first-child:nth-last-child(4) ~ a {
	height: 30px;

	vertical-align: middle;
}*/
}

@media (max-width:680px) {
	/*li .activity a{
	transform:scale(.8);
}
	.other_activity_link{
	transform:scale(.8);
}
	.other_btn{
	transform:scale(.8);
}*/
}
@media (max-width:480px) {
	/*.calendar{
	display:none;
}*/
	.day_details_title{
		font-size: 14px;
	}
	.day_activity_item {
		flex-wrap: wrap;
	}
	.day_activity_item{
		color:unset;
	}
	.day_activity_item:hover{
		color: unset;
	}
	.day_activity_item_left {
		width: 100%;
		padding-bottom: 3px;
	}
	.day_activity_item_right {
		width: 100%;
		display: none;
	}
	.day_activity_item_right_res {
		display: flex;
	}
	.day_activity_item_right_res_left {
		min-width: fit-content;
	}
	.day_activity_item_right_res_right {
		display: flex;
		flex-wrap: wrap;
	}
	.day_activity_item_right_res_right div{
		margin-right: 7px;
	}
	.body-list ul li{
		height: 55px;
	}
	li.date_day{
		height: 55px;
		line-height: 55px;
	}
	.c_prev{
		font-size: 30px!important;
	}
	.c_next{
		font-size: 30px!important;
	}
}

.other_btn{
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #3487FF;
	color:var(--main-color);
}

.other_nav{
	display: inline-flex;
	margin-left: 5px;
	cursor: pointer;
	width: 0;
	height: 0;
	border-right: 10px solid transparent;
	border-left: 10px solid transparent;
	border-top: 10px solid #4c4c4c;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-o-border-radius: 4px;
	-ms-border-radius: 4px;
}
.other_activity_link {
	width:auto;
	position: relative;
	transition: all .3s;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
	background:#4c4c4c;
	opacity: 0;
	display: none;
}
.other_activity_link a{
	color:#fff;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}
.date_day.greenbox{
	cursor: pointer;
}
.a_week,.a_count{
	display:none;
}