
.dc-cal {
	--dc-cal-accent: #23b8cc;
	--dc-cal-border: #d9dde1;
	--dc-cal-head: #2f9fb3;
	--dc-cal-today: #f4a51c;
	width: 100%;
	background: #fff;
	padding: 4px 0 24px;
	position: relative;
    padding: 10px;
    box-sizing: border-box;
}

.dc-cal-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding: 10px 4px 14px;
}
.dc-cal-heading {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: var(--dc-cal-head);
}
.dc-cal-today {
	background: none;
	border: none;
	color: #9aa2a9;
	font-size: 18px;
	cursor: pointer;
	padding: 0 6px;
}
.dc-cal-today:hover { color: var(--dc-cal-accent); }

.dc-cal-board {
	display: flex;
	align-items: stretch;
	gap: 6px;
	overflow: auto;
}
.dc-cal-panel {
	flex: 1;
	min-width: 850px;
	border: 1px solid var(--dc-cal-border);
	border-top: 3px solid var(--dc-cal-accent);
}

.dc-cal-arrow {
	flex: 0 0 auto;
	width: 30px;
	align-self: center;
	background: var(--dc-cal-accent);
	color: #fff;
	border: none;
	font-size: 16px;
	line-height: 1;
	padding: 8px 0;
	cursor: pointer;
	position: absolute;
}

.dc-cal-arrow.dc-cal-prev {
	left: 0;
} 

.dc-cal-arrow.dc-cal-next {
	right: 0;
} 

.dc-cal-arrow:hover { background: var(--dc-cal-head); }

.dc-cal-weekdays {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	background: #fff;
	border-bottom: 1px solid var(--dc-cal-border);
}
.dc-cal-weekdays span {
	text-align: center;
	padding: 10px 4px;
	font-size: 13px;
	font-weight: 700;
	color: #333;
	border-right: 1px solid var(--dc-cal-border);
}
.dc-cal-weekdays span:last-child { border-right: none; }

.dc-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	transition: opacity .15s;
}
.dc-cal-grid.is-loading { opacity: .4; }

.dc-cal-cell {
	min-height: 118px;
	min-width: 0;
	border-right: 1px solid var(--dc-cal-border);
	border-bottom: 1px solid var(--dc-cal-border);
	padding: 4px 6px 6px;
	position: relative;
}
.dc-cal-events { min-width: 0; }
/* remove the outer right/bottom seams (panel border supplies them) */
.dc-cal-cell:nth-child(7n) { border-right: none; }
.dc-cal-cell:nth-last-child(-n+7) { border-bottom: none; }

.dc-cal-daynum {
	text-align: right;
	font-size: 13px;
	color: #5b6470;
	margin-bottom: 2px;
}
.dc-cal-cell.is-out .dc-cal-daynum { color: #c2c8ce; }
.dc-cal-cell.is-today { box-shadow: inset 0 0 0 2px var(--dc-cal-today); }

.dc-cal-events { display: flex; flex-direction: column; gap: 3px; }
.dc-cal-event {
	display: block;
	font-size: 11.5px;
	line-height: 1.35;
	color: #333;
	text-decoration: none;
}
a.dc-cal-event:hover { text-decoration: underline; color: var(--dc-cal-accent); }
.dc-cal-event .tm { color: var(--dc-cal-accent); font-weight: 700; margin-right: 2px; }
.dc-cal-event .ep { white-space: nowrap; }

@media (max-width: 767px) {
	.dc-cal { padding: 4px 0 24px; }
	.dc-cal-cell { min-height: 84px; }
	.dc-cal-heading { font-size: 18px; }
	.dc-cal-weekdays span { font-size: 11px; padding: 8px 2px; }
	.dc-cal-event { font-size: 10.5px; }
}
