/* Overall wrapper */
.monthly {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	width: 100%;
	position: relative;
}

.monthly .monthly-day-event.has-event .monthly-indicator-wrap .monthly-event-indicator{

}

/* Top bar containing title, navigation, and buttons */
.monthly-header {
	position: relative;
	text-align: center;
	padding: 10px 0;
	background: #02B5EF;
	color: #FFFFFF;
	/* width:50%; */
	width: 420px;
}
/* Center area of top bar containing title and buttons */
.monthly-header-title {
	font-size: 1.2em;
	text-transform: uppercase;
}
/* Buttons for reverting to "today", and closing event list */
.monthly-header-title a:link, .monthly-header-title a:visited {
	display: inline-block;
	color: #FFFFFF;
	text-decoration: none;
	box-sizing: border-box;
	font-weight: bold;
	transition: background .1s;
}
/* Add some roundy-ness */
.monthly-header-title a:hover {
	color: #fff;
}
.monthly-header-title a:active {
	transition: none;
}
/* current month/yr block */
.monthly-header-title-date, .monthly-header-title-date:hover {
	cursor: default;
}
/* Button to reset to current month */
.monthly-reset {
	display: inline-block;
	opacity: .5;
	margin: 0 0 4px 10px;
	vertical-align: middle;
	color: #2c2c2c!important;
	font-size: 16px;
	font-family: 'FontAwesome'!important;
}
.monthly-reset:hover {
	opacity: 1;
}
/* Button to return to month view */
.monthly-cal {
	border-right: 0!important;
	display: none!important;
}
/* wrapper for left button to make the clickable area bigger */
.monthly-prev {
	position: absolute;
	top: 0;
	left: 0;
	width: 50px;
	height: 100%;
}
.monthly-prev:hover {
	opacity: 1;
}
/* Left Arrow */
.monthly-prev:after {
	font-family: 'FontAwesome';
	content: "\f053";
	position: absolute;
	color: #FFFFFF;
	/* border-right: 8px solid #000;
	border-left: 8px solid transparent;
	border-bottom: 8px solid transparent; */
	/* border-top: 8px solid transparent; */
	position: absolute;
	right: calc(50% - 4px);
	top: calc(50% - 11px);
}
/* wrapper for right button to make the clickable area bigger */
.monthly-next {
	position: absolute;
	top: 0;
	right: 0;
	width: 50px;
	height: 100%;
}
.monthly-next:hover {
	opacity: 1;
}
/* Right Arrow */
.monthly-next:after {
	font-family: 'FontAwesome';
	content: "\f054";
	position: absolute;
	color: #FFFFFF;
	/* border-left: 8px solid #000;
	border-right: 8px solid transparent;
	border-bottom: 8px solid transparent; */
	/* content: " "; */
	/* border-top: 8px solid transparent; */
	position: absolute;
	left: calc(50% - 4px);
	top: calc(50% - 11px);
}
/* Day of the week headings */
.monthly-day-title-wrap {
	display: table;
	table-layout: fixed;
	/*width:50%;*/
	width: 420px;
	background: #fff;
	border-left:1px solid #E9E9E9;
	border-right: 1px solid #E9E9E9;
}
.monthly-day-title-wrap div {
	width: 14.28%!important;
	display: table-cell;
	box-sizing: border-box;
	position: relative;
	font-weight: bold;
	text-align: center;
	padding: 4px 0;
	text-transform: uppercase;
	color: #02B5EF;
	background: #fff;
	border: 0;
	border-right: 0;
	font-weight: 400;
}
.monthly-day-title-wrap div:last-child {
	/* border-right: 1px #0A56A2 solid; */
}
/* Calendar days wrapper */
.monthly-day-wrap {
	display: table;
	table-layout: fixed;
	width: 420px;
	overflow: hidden;
	border-left:1px solid #E9E9E9;
	border-right: 1px solid #E9E9E9;
	border-bottom: 1px solid #E9E9E9;
}
.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: #02B5EF;
	background: #fff;
	-webkit-transition: .25s;
	transition: .25s;
	padding: 0;
	text-decoration: none;
	font-size: 17px;
}
.monthly-day.monthly-day-event.has-event > .monthly-day-number{
	color: #FFF;
}
/* 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 {
	background: #fff;
}
/* Event calendar day number styles */
.monthly-day-event > .monthly-day-number {
	line-height: 1em;
	text-align: center;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	line-height: 50px;
	color: #02B5EF;
	font-weight: 400;
}
/* Event calendar day number styles */
.monthly-day-event > .monthly-day-number {
	line-height: 1em;
	text-align: center;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	line-height: 50px;
	color: #02B5EF;
	font-weight: 400;
}
/* Non-Event calendar day number styles */
.monthly-day-pick {
}
.monthly-day-pick > .monthly-day-number {
	line-height: 1em;
	padding-top: 35%;
}
.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;
}
/* Current day style */
.monthly-today .monthly-day-number {
	color: #FFFFFF;
}
.monthly-day.monthly-day-event.monthly-today > .monthly-indicator-wrap{
	background-color: #02B5EF;
	border-radius: 100%;
}
.monthly-day-pick.monthly-today .monthly-day-number {
	padding: 0;
	margin: 22% 22% 0 22%;
}
/* Wrapper around events */
.monthly-indicator-wrap {
	position: absolute;
	text-align: center;
	line-height: 0;
	max-width: 20px;
	margin: 0 auto;
	padding-top: 40%;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
}
/* Event indicator dots */
.monthly-day .monthly-event-indicator {
	display: inline-block;
	margin: 1px;
	border-radius: 6px;
	vertical-align: middle;
	border-radius: 100%;
	background: #D7182A;
	font-size: 0;
	color: transparent;
}
.monthly > .monthly-day .monthly-event-indicator:hover {
	cursor: pointer;
}

.monthly > .monthly-day-event.has-event > .monthly-day-number {
	color: white;
	}

.monthly > .monthly-day-event.has-event > .monthly-indicator-wrap > .monthly-event-indicator {
	border-radius: 50%;
	margin: 0 auto;
	height: 48px;
	width: 48px;
	background-color: #02B5EF;
	}

.monthly > .monthly-day-event.monthly-today > .monthly-indicator-wrap {
	bottom: -10%;
	height: 6px;
	width: 6px;
	margin: auto;
	padding: 0;
	background-color: #02B5EF;
	border-radius: 100%;
}
/* .monthly > .monthly-day-event.monthly-today.has-event > .monthly-indicator-wrap {
	bottom: initial;
	background-color: initial;
}
.monthly > .monthly-day-event.monthly-today.has-event > .monthly-indicator-wrap > .monthly-event-indicator  {
	position: relative;
	border-radius: 50%;
	margin: 0 auto;
	height: 48px;
	width: 48px;
	background-color: blue;
}
.monthly > .monthly-day-event.monthly-today.has-event > .monthly-day-number   {
	color: green;
}
.monthly > .monthly-day-event.monthly-today.has-event > .monthly-indicator-wrap  {
	width: auto;
	max-width: none;
} */


/* Listing of events under calendar */
.monthly-event-list {
	overflow: auto;
	width: calc(100% - 420px);
	height: 100%;
	padding-left: 20px;
	position: absolute;
	top: 0;
	right: 0;
}
/* Days in Events List */
.monthly-list-item {
	display: none!important;
	/* background: #f5f5f5; */
	padding: 10px;
	margin-bottom: 10px;
	min-height: 90px;
	position: relative;
	/* border-left: 4px solid #2dcfb8; */
	border-bottom: 1px solid #E9E9E9;
	display: table;
	width: 100%;
	display: none;
}
.monthly-list-item:before {
	position: absolute;
	bottom: -4px;
	content: " ";
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	-ms-transition: all .3s linear;
	-o-transition: all .3s linear;
	transition: all .3s linear;
}
.monthly-list-item:after {
	height: 4px;
	left: 0;
	right: 100%;
}
.monthly-list-item:after {
	content: 'No Events';
	padding: 4px 10px;
	display: block;
	margin-bottom: 5px;
}
.monthly-list-item.item-has-event {
	display: flex!important;
	flex-direction: column;
}
/* Events in Events List */
.monthly-event-list .listed-event {
	display: table-cell;
	vertical-align: middle;
	position: relative;
	color: #2c2c2c;
	cursor: default;
	width: 100%;
}
.monthly-event-list .listed-event:after {
	content: "";
}
.monthly-event-list .listed-event .listed-event__title {
	font-weight: bold;
	font-size: 22px;
}
.monthly-list-item a:link, .monthly-list-item a:visited {
	text-decoration: none;
	color: #02B5EF;
	font-size: 16px;
	display: flex;
	flex-direction: row;
	align-items: center;
}
.item-has-event {
	display: table;
}
.item-has-event:after {
	display: none!important;
}
.monthly-event-list-date {
	color: #02B5EF;
	font-size: 22px;
	font-weight: 600;
	display: table-cell;
	vertical-align: middle;
	width: 150px;
	/* padding: 20px; */
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	-ms-transition: all .3s linear;
	-o-transition: all .3s linear;
	transition: all .3s linear;
}


.listed-event > .listed-event__link > .listed-event__icon > i  {
font-size: 24px;
display: flex;
margin-left: 1rem;
}
.monthly-list-time-start, .monthly-list-time-end, .monthly-list-detail {
}
.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-day-event > .monthly-indicator-wrap {
	width: auto;
	max-width: 45px;
	max-height: 45px;
}
.monthly-indicator-wrap {
	padding: 0;
}

/* Increase font & spacing over larger size */
@media (min-width: 400px) {
.monthly-day-number {
	top: 5px;
	left: 5px;
}
}

/* Styles for large mode where text is revealed within events */
@media (min-width: 300px) {
.monthly-day-event {
	/* padding-top: 20px; */
	height: 50px;
}
.monthly-day-event:before {
	padding-top: 50%;
}

.monthly-day .monthly-event-indicator {
	margin: 0 0 1px 0;
	font-size: 10px;
	width: 100%;
	padding: 4px;
	border-radius: 100;
	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;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}
}

@media only screen and (max-width : 768px) {
.monthly-header,  .monthly-day-title-wrap,  .monthly-day-wrap {
	width: 100%;
}
.monthly-event-list {
	width: 100%;
	position: relative;
	height: auto;
	margin-top: 20px;
	padding: 0;
}
.monthly-day-number {
	font-size: 14px;
}
div.monthly-day {
	min-height: 40px;
}
}
