/* Overall wrapper */
.monthly {
	background: #F3F3F5;
	color:#545454;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	position: relative;
}

/* Contains title & nav */
.monthly-header {
	position: relative;
	text-align:center;
	padding:12px 30px;
	background: #fff;
	box-sizing: border-box;
}
.monthly-header-title {
	position: relative;
	display: block;
	text-align: left;
	font-size: 16px;
	line-height: 26px;
	font-weight: 500;
	color: #222;
	text-align: center;
	text-transform: uppercase;
}
/* wrapper for left button to make the clickable area bigger */
.monthly-prev {
	position: absolute;
	left: 20px;
	top: 13px;
}
/* Left Arrow */
.monthly-prev:after{
	position: absolute;
	content: "\e936";
	font-family: 'icomoon';
	font-size: 12px;
	color: #222;
	font-weight: 700;
	left: 0px;
	top: 0px;
	transition: all 500ms ease;
}
/* wrapper for right button to make the clickable area bigger */
.monthly-next {
	position: absolute;
	right: 42px;
	top: 14px;;
}
/* Right Arrow */
.monthly-next:after{
	position: absolute;
	content: "\e935";
	font-family: 'icomoon';
	font-size: 12px;
	color: #222;
	font-weight: 700;
	left: 0px;
	top: 0px;
	transition: all 500ms ease;
}

.monthly-prev:hover:after,
.monthly-next:hover:after{
	color: var(--theme-color);
}

/* Day of the week headings */
.monthly-day-title-wrap {
	display:table;
	table-layout:fixed;
	width:100%;
	background: #0E1D40;
	padding: 6px 0px;
}
.monthly-day-title-wrap div {
	width: 14.28%!important;
	display:table-cell;
	box-sizing:border-box;
	position: relative;
	font-weight: bold;
	text-align:center;
	font-size:14px;
	font-weight: 600;
	color: #fff;
}

.monthly-day-title-wrap div:last-child{
	border-right: none;
}

/* Calendar days wrapper */
.monthly-day-wrap {
	display:table;
	table-layout:fixed;
	width:100%;
	overflow: hidden;
}
.monthly-week {
	display:table-row;
	width:100%;
}
/* Calendar Days */
.monthly-day, .monthly-day-blank {
	width: 14.28%!important;
	display:table-cell;
	vertical-align: top;
	box-sizing:border-box;
	position: relative;
	font-weight: bold;
	color:inherit;
	background: #fff;
	box-shadow: 0 0 0 1px #EBEBEB;
	-webkit-transition: .25s;
	transition:.25s;
	padding:0;
	text-decoration: none;
}

/* Trick to make the days' width equal their height */
.monthly-day:before {
	content: "";
	display: block;
	padding-top: 100%;
	float: left;
}

/* Hover effect for non event calendar days */
.monthly-day-wrap > a:hover {
	background: #A1C2E3;
}

/* Days that are part of previous or next month */
.monthly-day-blank {
	
}

/* Event calendar day number styles */
.monthly-day-event > .monthly-day-number {
	position: absolute;
	line-height: 1em;
	top:2px;
	left:2px;
	font-size:11px;
}

/* Non-Event calendar day number styles */
.monthly-day-pick {
}
.monthly-day-pick > .monthly-day-number {
	font-size: 15px;
	line-height: 26px;
	font-weight: 500;
}

.monthly-day-pick > .monthly-indicator-wrap {
	margin:0;
}

/* Days in the past in "picker" mode */
.monthly-past-day:after{
	content: '';
	width: 150%;
	height: 2px;
	-webkit-transform-origin: left top;
		-ms-transform-origin: left top;
	        transform-origin: left top;
	-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	background: rgba(0, 0, 0, 0.1);
	position: absolute;
	left: 0;
	top: 0;
}
.monthly-past-day:hover {
	background: #fff!important;
}
/* Current day style */
.monthly-today .monthly-day-number {
	
}
.monthly-day-pick.monthly-today .monthly-day-number {
	
}

/* Button to reset to current month */
.monthly-reset {
	display: inline-block;
	width: 9px;
	height: 9px;
	border: 2px solid #222;
	border-radius: 9px;
	position: relative;
	opacity: .5;
	margin-left: 5px;
	vertical-align: middle;
	display: none;
}
.monthly-reset:hover {
	opacity: 1;
}
/* Makes the little arrow on the reset button */
.monthly-reset:before {
	content: '';
	border: 3px solid transparent;
	border-left: 3px solid #fff;
	border-bottom: 3px solid #fff;
	position: absolute;
	left: 2px;
	top: 6px;
}
.monthly-reset:after {
	content: '';
	border: 3px solid transparent;
	border-left: 3px solid #222;
	border-bottom: 3px solid #222;
	position: absolute;
	left: 5px;
	top: 5px;
}
/* Button to return to month view */
.monthly-cal {
	display: inline-block;
	height:11px;
	width:13px;
	background:#222;
	position: relative;
	top:1px;
	margin-right:5px;
	opacity: .5;
}
.monthly-cal:hover {
	cursor: pointer;
	opacity: 1;
}
.monthly-cal:before {
	content:'';
	position: absolute;
	width:2px;
	height: 3px;
	border:1px solid #fff;
	background:#222;
	top:-2px;
	left:2px;
}
.monthly-cal:after {
	content:'';
	position: absolute;
	width:2px;
	height: 3px;
	border:1px solid #fff;
	background:#222;
	top:-2px;
	right:2px;
}
.monthly-cal div {
	background: #fff;
	height:6px;
	width:11px;
	position: absolute;
	top:4px;
	left:1px;
}


/* Wrapper around events */
.monthly-indicator-wrap {
	position: relative;
	text-align: center;
	line-height: 0;
	max-width: 20px;
	margin:0 auto;
	padding-top:40%;
	display: none;
}

/* Event indicator dots */
.monthly-day .monthly-event-indicator {
	display: inline-block;
	margin: 1px;
	width: 8px;
	height: 8px;
	border-radius: 6px;
	vertical-align: middle;
	border-radius: 6px;
	background:#7BA7CE;
	font-size:0;
	color:transparent;
}

.monthly-day .monthly-event-indicator:hover {
	cursor: pointer;
}
/* Listing of events under calendar */
.monthly-event-list {
	background: rgba(233, 235, 236, 0.9);
	overflow: auto;
	position: absolute;
	top: 42px;
	width: 100%;
	height: calc(100% - 42px);
	display: none;
	-webkit-transition: .25s;
	transition:.25s;
	-webkit-transform:scale(0);
		-ms-transform:scale(0);
	        transform:scale(0);
}

/* Days in Events List */
.monthly-list-item {
	position: relative;
	padding:10px 10px 5px 50px;
	display: none;
	border-top: 1px solid #D6D6D6;
	text-align: left;
}

.monthly-list-item:after{
    content:'No Events';
    padding:4px 10px;
    display:block;
    margin-bottom:5px;
 }

.monthly-event-list .monthly-today .monthly-event-list-date {
	color: #EA6565;
}

/* Events in Events List */
.monthly-event-list .listed-event {
	display: block;
	color:#fff;
	padding:4px 10px;
	border-radius:2px;
	margin-bottom: 5px;
}

.monthly-list-item a:link, .monthly-list-item a:visited {
	text-decoration: none;
}

.item-has-event {
	display: block;
}

.item-has-event:after{
    display:none!important;
}

.monthly-event-list-date {
	width:50px;
	position: absolute;
	left:0;
	top:13px;
	text-align: center;
	font-size: 12px;
    font-weight: bold;
    line-height: 1.2em;
}

.monthly-list-time-start,
.monthly-list-time-end {
	font-size:.8em;
	display: inline-block;
}
.monthly-list-time-end:not(:empty):before {
	content:'-';
	padding:0 2px;
}

/* Events List custom webkit scrollbar */

.monthly-event-list::-webkit-scrollbar {width: 9px;}

/* Track */
.monthly-event-list::-webkit-scrollbar-track {background: none;}

/* Handle */
.monthly-event-list::-webkit-scrollbar-thumb {
	background:#ccc;
	border:1px solid #E9EBEC;
	border-radius: 10px;
}
.monthly-event-list::-webkit-scrollbar-thumb:hover {background:#555;}

/* Increase font & spacing over larger size */
@media (min-width: 400px) {
	.monthly-day-number {
		font-size: 15px;
		font-weight: 500;
		color: #061a3a;
		padding-top: 10px;
		text-align: center;
}
	}
}
/* Styles for large mode where text is revealed within events */
@media (min-width: 600px) {
	.monthly-day-event {
		padding-top: 20px;
	}
	.monthly-day-event:before {
		padding-top: 77%;
	}
	.monthly-day-event > .monthly-indicator-wrap {
		width:auto;
		max-width: none;
	}
	.monthly-indicator-wrap {
		padding:0;
	}
	.monthly-day .monthly-event-indicator {
		display: block;
		margin: 0 0 1px 0;
		width: auto;
		height:20px;
		font-size: 10px;
		padding: 4px;
		border-radius:0;
		overflow: hidden;
		text-overflow: ellipsis;
		color:#fff;
		text-shadow:0 0 2px rgba(0,0,0,.2);
		text-decoration: none;
		line-height: 1em;
		white-space: nowrap;
		box-sizing: border-box;
	}
}
