.calendar {
	position:relative;
/* font-family: "Chinese Quote", "Microsoft YaHei"; */
	
font-size: 14px;
}

#calendar .shadowbg{position:absolute;top:0;left:0;width:100%;height:100%;z-index:22;background:rgba(0,0,0,0.2);display:flex;justify-content: center; align-items: center;}
#calendar .shadowbg img{width:32px;height:32px}
.calendar-body{width: 100%;height: 100%;/* overflow: hidden; */}
.calendar-header {
	padding: 11px 16px 11px 0;
	text-align: right;
	display: none;
}

.calendar-select {
	line-height: 1.5;
	color: rgba(0, 0, 0, 0.65);
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline-block;
	position: relative;
	outline: 0;
}
.calendar-tbody{border: 1px solid #E6E6E6;}
.calendar-table,
.calendar-tbody {
	width: 100%;
	height: 100%;
}

.calendar-column-header,
.calendar-cell {
	width: 14.28%;
}

.calendar-column-header {
	font-weight: 400;
	text-align: center;
	/* padding-right: 12px; */
	font-size: 22px;
	color: #223F99;
	line-height: 100px;
}

.calendar-table {
	table-layout: fixed;
	/* border: 1px solid #E6E6E6; */
	box-sizing: border-box;
}
.calendar-box{
    position: absolute; 
    bottom: 0px;
    border-radius: 5px;
    z-index: 9999;
    min-width:150px;
    display: none;
    font-family: 微软雅黑;
    font-size: 14px;
    background-color: rgb(255, 255, 255);
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    list-style: none;
    margin: 0px;
    padding: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.15);
    border-image: initial;
    border-radius: 0px;
    overflow: hidden;
}
.calendar-box a{color: #999999; display: block;}
.calendar-cell {
	color: #050504;
	border: 1px solid #DDDDDD;
	cursor: pointer;
	position: relative;
	z-index: 1;height:6.5vw
}
.calendar-cell.touch .calendar-content{opacity:1 !important;}
.calendar-cell:hover{z-index:11}
.calendar-cell:hover .calendar-content{display:block}
.calendar-content ul{overflow:auto;max-height:300px;height:auto}
ul.events::-webkit-scrollbar{width: 6px;height: 4px;background-color: #CCCCCC;-webkit-border-radius: 10px;display:block}
ul.events::-webkit-scrollbar-thumb:horizontal { width: 4px;  background-color: #CCCCCC;  -webkit-border-radius: 10px;}
ul.events::-webkit-scrollbar-track-piece { background-color: #fff;  -webkit-border-radius: 10px; /*滚动条的圆角宽度*/}
ul.events::-webkit-scrollbar-thumb:vertical {height: 50px;background-color: #999;-webkit-border-radius: 10px;  outline: 1px solid #fff; outline-offset: -1px;border: 1px solid #fff;}
.calendar-content .date_bg{position:absolute;z-index:0;font-size:140px;color:#fff;opacity:0.08;top:50%;width:100%;left:0;text-align:center;transform:translateY(-50%)}
.calendar-content .close{background:#fff;width:30px;height:30px;color:#333;font-size:24px;font-weight:bold;position:absolute;top:30px;right:30px;z-index:11;cursor:pointer;border-radius:50%;font-family:"宋体";background:#fff url(images/close.png) center no-repeat;background-size: 32px 32px;}



.calendar-weekend.calendar-cell {
	/* border: 1px solid #FFFFFF; */
	/* color: #FF9B00; */
}
.calendar-weekend .calendar-date{border-top: 0px ;}
.calendar-date .value{display: none;}
.calendar-cell.calendar-last-month-cell,
.calendar-cell.calendar-next-month-cell {
	color: rgba(0, 0, 0, 0.25);
	opacity: 0;
	border: 0;pointer-events: none;
}
.calendar-date {
	position:absolute;top:0;left:0;width:100%;
	height: 100%; 
	z-index: 1;
	box-sizing: border-box; 
	display: flex;
	align-items: center;
	justify-content: center;flex-direction: column;
}
.calendar-weekend{background: rgba(159,171,209,0.11);}
.calendar-cell.calendar-thisMonth .calendar-date,
.calendar-cell.calendar-today .calendar-date {
	border-top-color: #1890ff;
	background-color: #e6f7ff;
}
.calendar-date:hover .calendar-value{color: #223F99;}
.calendar-date:hover:before {
	background: #e6f7ff;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: -1;
	top:0;
	left: 0;
	content: "";
	border: 3px solid #F07102;
	display: none;
}
.calendar-holiday-bg{background: #EED3D7; position: absolute; z-index: -2; content: ''; width: 100%; height: 100%; left: 0px ; top:0px}
.calendar-value {
	text-align: center;
	font-size: 28px;margin-top:20px
	/* font-weight: bold; */
}
.col_num{display:flex;margin-top:20px}
.col_num>div{width:11px;height:11px;border-radius:50%;margin:0 2px;display:none; }
.col_num>div.show{display:block}
.col_num>div.blue{background:#223F99}
.col_num>div.red{background:#CB0007}
.col_num>div.yellow{background:#997422}
.col_num>div.green{background:#228199}
.calendar-content {
	overflow: hidden; 
	 max-height:360px;opacity:0;
	position: absolute;
	width: 500px;height:auto;
	display: none;
	left: 50%;
	top: 100%;
	transform: translateX(-50%);
	z-index: 222;
	background: #223F99;
	box-sizing: border-box;
	padding: 20px 40px 30px;box-shadow:0px 3px 6px rgba(0,0,0,0.16)
}
.calendar-content li{position:relative;margin-bottom:30px;color:#fff;padding-left:30px} 
.calendar-content li:last-child{margin-bottom:0;}
.calendar-content li .news_meta{font-size:26px;line-height:35px;margin-bottom:15px;position:relative;}
.calendar-content li:before{content:"";width:10px;height:10px;background:#fff;border-radius:50%;position:absolute;top:10px;left:0;}
.calendar-content li .news_title{font-size:20px;line-height:20px; white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}
.calendar-content li .news_title a{color:#fff}

.calendar-select {
	font-size: 13px;
	vertical-align: middle;
}
.btn.calendar-select-active {
	border-color: #40a9ff;
	z-index: 2;
	background: #40a9ff;
	color: #FFFFFF;
}
.calendar-select:first-child {
	margin-right: 10px;
}
.calendar-year-select,
.calendar-month-select {
	border-radius: 4px;
	border: 1px solid #d9d9d9;
}
.calendar-year-select:hover,
.calendar-month-select:hover {
	border-color: #40a9ff;
}
.calendar-holiday{ 
	position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 25px;
    height: 25px;
    color: #fff;
    background: #f43;
    text-align: center;
    text-indent: 1px;
    line-height:24px;
    *line-height: 29px;
    overflow: hidden;
    z-index: 11;
}
.calendar-work{
	position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 25px;
    height: 25px;
    color: #fff;
    background:#999999;
    text-align: center;
    text-indent: 1px;
    line-height:24px;
    *line-height: 29px;
    overflow: hidden;
    z-index: 11;
	
}
.calendar-work-bg{
	background:#DDDDDD;
    position: absolute;
    z-index: -2;
    content: '';
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
	
}
.calendar-year-text,
.calendar-month-text {
	margin: 0 10px;
	line-height: 28px;
}

.calendar-icon {
	margin: 0 10px 0 0;
}

.calendar-icon * {
	color: rgba(0, 0, 0, 0.25);
}

.btn {
	float: left;
	padding: 5px 10px;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
}

.btn-group {
	float: left;
	display: inline;
	padding: 0 8px;
}

.btn-group>.btn {
	position: relative;
	float: left;
}

.btn-group>.btn:hover {
	z-index: 2;
	border-color: #40a9ff;
}

.btn-group .btn+.btn {
	margin-left: -1px;
}

.btn-group>.btn:first-child {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.btn-group>.btn:last-child:not(:first-child) {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
/*dropdown-menu*/

ul.dropdown-month,
.dropdown-month li,
ul.dropdown-year,
.dropdown-year li {
	list-style: none;
	text-align: center;
	padding: 0;
	margin: 0;
}

.dropdown-month.open,
.dropdown-year.open {
	display: inline-block;
	margin-top: 1px;
	width: 100%;
}

.dropdown-month,
.dropdown-year {
	height: 250px;
	z-index: 111;
	overflow-y: auto;
	overflow-x: hidden;
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	background: #fff;
	width: 50px;
	border: 1px solid #eee;
	box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.175);
	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175)
}

.dropdown-month .month-item,
.dropdown-year .year-item {
	font-size: 12px;
	position: relative;
	display: block;
	padding: 5px 2px;
	line-height: 20px;
	font-weight: normal;
	color: rgba(0, 0, 0, 0.65);
	white-space: nowrap;
	cursor: pointer;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-transition: background 0.3s ease;
	transition: background 0.3s ease;
}

.month-item:hover,
.year-item:hover {
	background: #e6f7ff;
}

.year-item.active {
	background-color: #fafafa;
	font-weight: 600;
	color: rgba(0, 0, 0, 0.65);
}
/*自定义事件样式*/

ul.events li {
 
}

ul.events li span {
	margin-left: 5px;
}

ul.events li:before {
	content: ""
}
/*scrollbar*/

*::-webkit-scrollbar {
	width: 8px;
	background-color: #fff;
}

*::-webkit-scrollbar-thumb {
	background-color: #ddd;
	border-radius: 8px;
	-webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, .3);
}

.niceScroll {
	height: 100%;
}


@media screen and (max-width: 1500px) {
.calendar-cell{height:7.2vw}
.col_num>div{width:8px;height:8px}
.calendar-value{font-size:24px}
.calendar-value,.col_num{margin-top:5px}
}

@media screen and (max-width: 999px) {
.calendar-cell{height:70px}
.calendar-content li .news_meta{font-size:18px;line-height:26px;margin-bottom:5px}
.calendar-content li .news_title{font-size:16px}
.calendar-column-header{line-height:65px;font-size:18px}
}

@media screen and (max-width: 768px) {
.calendar-cell{height:12vw}
.col_num>div{width:6px;height:6px;margin:0 1px}
}

@media screen and (max-width: 480px) {
.calendar-value{font-size:20px}
.calendar-date,.calendar-cell{position:static}
.calendar-content{max-height:300px;width:100%;top:50%;padding:20px;transform:translateY(-50%);left:0;}
.calendar-content .date_bg{font-size:90px}
.calendar-content li{padding-left:20px;margin-bottom:20px}
.calendar-content li .news_meta{font-size:16px}
.calendar-content li .news_title{font-size:15px}
.calendar-content ul{max-height:240px}
.calendar-cell{height:14vw}
.calendar-column-header{font-size:14px;line-height:40px}
}
