#clnModal {
	display: none;
	position: fixed;
	z-index: 1060;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: 500px;
	border-radius: 12px;
	margin: 0;
	padding: 0;
}
#clnModal .modal-dialog {
	position: relative;
	width: auto;
	margin: 0;
	pointer-events: none;
}
#clnModal .modal-content {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	pointer-events: auto;
	border-radius: 12px;
	box-shadow: 0 3px 6px #00000011;
	padding: 0;
	outline: 0;
}
#clnModal a {
	color: none;
}
.modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1040;
	width: 100vw;
	height: 100vh;
	background-color: #000;
}
.modal-backdrop.fade {
	opacity: 0;
}
.modal-backdrop.show {
	opacity: .5; 
}
.fade {
	transition: opacity .15s linear;
}
.calendar-block{
	overflow-x: auto;
}
#calendar{
	min-width: 640px;
}
#calendar .fc-header-toolbar{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}
#calendar .fc-header-toolbar .fc-toolbar-chunk:nth-of-type(2){
	text-align: center;
}
#calendar .fc-header-toolbar .fc-toolbar-chunk:nth-of-type(3){
	text-align: right;
}
#calendar .fc-header-toolbar .fc-today-button{
	background-color: #fff;
	color: #333;
	border: 1px solid var(--fc-button-border-color);
}
#calendar .fc-header-toolbar .fc-today-button:disabled{
	background-color: var(--fc-today-bg-color);
	color: #666;
}
#calendar .fc-header-toolbar .fc-button-group .fc-icon{
	height: auto;
}
.fc-daygrid-day-top {
	display: flex;
	align-items: left;
	justify-content: left;
	text-align: left;
	min-height: 100%;
}
.fc-scrollgrid{
	border: none !important;
}
.fc-theme-standard td a,
.fc-theme-standard th a{
	color: #464646;
	text-decoration: none;
}
.fc-theme-standard td,
.fc-theme-standard th {
	border-top: 1px solid var(--fc-border-color);
	border-bottom: 1px solid var(--fc-border-color);
	border-left: none !important;
	border-right: none !important;
}
.fc-daygrid-event-harness {
	padding: 2px 0px;
}
.fc-event {
	border-radius: 5px !important;
	padding: 0 .5rem;
	cursor: pointer;
}
.fc-event.anniversary .fc-event-title{
	text-indent: 1.2em;
	background: left center no-repeat url("../images/memorial_icon.svg");
	background-size: 1em;
}
.fc-event.birthday .fc-event-title{
	text-indent: 1.2em;
	background: left center no-repeat url("../images/birthday_icon.svg");
	background-size: 1em;
}
.modal-dialog{
	border-radius: 12px !important;
}
.modal-content{
	position: relative;
	padding: 30px 30px 40px 30px !important;
}
.modal-body{
	font-size: 18px;
	padding: 0 0 30px 0 !important;
}
.modal-footer{
	font-size: 18px;
	text-align: center;
	border-top: 1px solid #ffffff;
	padding: 15px 0 30px 0 !important;
}
.modal-footer .date{
	width: 100%;
	padding-bottom: 15px !important;
}
.modal-footer .button{
	width: 100%;
}
.modal-footer .btn{
	display: block;
	width: 160px;
	height: 60px;
	margin: 10px auto 0;
	padding: 0;
	border-radius: 8px;
	border: none;
	font-size: 18px;
	line-height: 60px;
	font-weight: 400;
	text-align: center;
	color: #FFFFFF;
	background: #332A2F;
	cursor: pointer;
}
.modal-footer .btn:hover{
	color: #FFFFFF;
	background: #332A2F;
	opacity: .9;
}
.modal-content button.closeButton{
	position: absolute;
	left: 50%;
	bottom: 20px;
	width: 160px;
	height: 40px;
	margin: 0 auto;
	border-radius: 8px;
	border: none;
	transform: translateX(-50%);
	font-size: 18px;
	line-height: 40px;
	font-weight: 400;
	text-align: center;
	color: #332A2F;
	background: #CCCCCC;
	cursor: pointer;
}
ol, ul {
	padding-left: 0 !important;
}
.fc .fc-daygrid-event {
	margin-left: 2px;
	margin-right: 2px;
}
.fc-popover{
	width: 220px;
}
.fc-popover-body {
	overflow-y: auto;
	height: 140px;
}
.fc-direction-ltr .fc-daygrid-more-link{
	float: right !important;
	color: #3b5471;
	text-decoration: underline;
}

@media screen and (max-width: 767px) {
	#clnModal {
		max-width: 90vw;
	}
	#calendar{
		min-width: calc((100vw * 0.9) / 3 * 7 );
	}
	.modal-dialog {
		margin: 1.75rem auto;
	}
	.fc-header-toolbar{
		position: relative;
		height: 5.5em;
	}
	.fc-toolbar-chunk{
		position: absolute;
		top: 0;
		right: 0;
		width: 90vw;
		text-align: center !important;
	}
	.fc-toolbar-title{
		font-size: 1.5em !important;
		margin: 0 0 20px 0 !important;
	}
	.fc .fc-button-group {
		margin-top: 3em;
	}
	.fc table {
		font-size: 14px;
	}
}