/*******************************Calendar Top Navigation*********************************/
div#events-module-cal{
	margin:0px auto;
	margin-top: 20px;
	padding: 10px;
    border: 1px solid #e0e0e0!important;
    box-shadow: none;
	border-radius:4px;
}

div#events-module-cal div.box{
    position:relative;
    top:0px;
    left:0px;
	width:100%;
	color:#3a3a3a;
}

div#events-module-cal div.header{
    line-height:24px;
    vertical-align:middle;
    text-align:center;
		padding: 15px 0px;
}

div#events-module-cal div.header a.prev,div#events-module-cal div.header a.next{
    position:absolute;
    top:0px;
    height: 17px;
    display:block;
    cursor:pointer;
    text-decoration:none;
    color:#3a3a3a;
}

div#events-module-cal div.header a.title{
    color:#3a3a3a;
    font-size:16px;
	text-decoration: none;
}

div#events-module-cal div.header a.prev{
	top: 17px;
	left: 50%;
    margin-left: -80px;
	font-size: 18px
}

div#events-module-cal div.header a.next{
		top: 17px;
		right:50%;
		margin-right: -80px;
		font-size: 18px;
}

/*******************************Calendar Content Cells*********************************/
div#events-module-cal div.box-content{
	border:1px solid #bbb;
}
div#events-module-cal ul.label{
    margin: 0px;
	padding: 10px 0px;
	display:flex;
	flex-direction:row;
	flex-wrap:nowrap;
	background-color: #f5f6fa!important;
	border-bottom:1px solid #e6e2e2!important;
}

div#events-module-cal ul.label li{
	width:14.28%;
    list-style-type:none;
    vertical-align:middle;
    text-align:center;
    color:#000;
    font-size: 14px;
	font-weight: 600;
}


div#events-module-cal ul.dates{
    margin: 0px;
	padding: 0px;
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
}

/** overall width = width+padding-right**/
div#events-module-cal ul.dates li{
	cursor: pointer;
	height:50px;
	width:14.28%;
    list-style-type:none;
    font-size:14px;
    background-color: #fff;
    color:#000;
	font-weight: 600;
	position:relative;
	border-color:#e6e2e2!important;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	border-style:solid;
	border-width:0px 1px 1px 0px;
}
div#events-module-cal ul.dates li.end{
	border-width:0px 0px 1px 0px;
}

div#events-module-cal ul.dates li.mask{
	background-color:#fafafa;
}

div#events-module-cal ul.dates li span.cell-content{
	position:absolute;
	top:0px;
	right:7px;
}

div#events-module-cal ul.dates li .cell-events{
	position:absolute;
	top:22px;
	left:5px;
	right:0px;
	vertical-align: top;
}

div#events-module-cal ul.dates li .cell-events:after{
	content:"";
	display:block;
	clear:both;
}

div#events-module-cal ul.dates li .cell-events .date_color{
	width:10px;
	height:10px;
	border-radius:2px;
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	background-color:#000;
	display:block;
	float:left;
	margin-right:3px;
	margin-bottom:3px;
}

:focus{
    outline:none;
}

div.clear{
    clear:both;
}

div#events-module-cal .dates .has-event{
	background-color: #ef7c00;
	color: #fff;
}

div#events-module-cal .dates .today,
div#events-module-cal .dates li:hover {
	background-color: #f0f0f0 !important;
	color: #000;
}

div#events-module-cal .dates .active,
div#events-module-cal .dates li.active:hover {
	background-color: #003d7c !important;
	color:#fff;
}