#clzd-calendar {
	font-family: Arial, Helvetica, sans-serif;
}

#clzd-calendar a,
#clzd-calendar a:hover {
	text-decoration: none;
}

.clzd-header {
	background: #444;
	border-radius: 5px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 8px;
	padding: 4px;
	position: relative;
}

.clzd-header button {
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	border: none;
	cursor: pointer;
	display: block;
	padding-top: 4px;
}

.clzd-header button img {
	filter: invert();
}

.clzd-filters {
	display: flex;
	align-items: center;
	gap: 16px;
	justify-content: center;
}

.clzd-filter-title {
	font-size: .9rem;
}

.clzd-filters a{
	display: flex;
	align-items: center;
	gap: 12px;
}

.clzd-filter-btn {
	background: #fff1;
	border: 1px solid #fff;
	border-radius: 5px;
	display: block;
	/* padding: 4px 8px 2px; */
	padding: 6px 8px;
}

.clzd-filter-btn:hover {
	background: #fff3;
}

.clzd-filters a.clzd-hidden {
	display: none;
}

.clzd-filters a img{
	filter: invert();
}

.clzd-filter-label{
	display: none;
}

.clzd-results-notice:empty {
	display: none;
}

.clzd-overlay {
	position: fixed;
	inset: 0;
	z-index: 542300;
	background: rgba(0, 0, 0, 0.9);
	display: none;
}

.clzd-overlay-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 40px;
	margin-top: 200px;
}

.clzd-overlay-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.clzd-overlay-content {
	/* flex: 1; */
	overflow-y: auto;
}

.clzd-filter-item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	cursor: pointer;
}

#clzd-calendar .clzd-filter-item span {
	color: #fff;
}

.clzd-overlay-footer {
	display: flex;
	justify-content: space-around;
	margin-top: 16px;
}

.clzd-apply-categ-filter,
.clzd-apply-date-filter,
.clzd-filter-categ-reset,
.clzd-filter-date-reset {
	font-size: 1rem;
}

a[class^="clzd-apply-"]::first-letter, 
a[class^="clzd-filter-"]::first-letter 
{
	color: #fff;
}

.clzd-overlay-close{
	cursor: pointer;
}

.clzd-grid {
	background: #222;
	border-radius: 5px 5px 0 0;
	display: grid;
	grid-template-columns: 1fr;
}

.clzd-month:not(:last-child) {
	border-right: thin solid #555 !important;
}

.clzd-month-title {
	border-bottom: 1px solid #222;
	display: flex;
	justify-content: space-between;
	padding: 2px 12px;
	text-transform: capitalize;
}

.clzd-grid-year{
	color: #aaa;
	font-weight: bold;
}

.clzd-day {
	background: #ddd;
	border-bottom: 1px solid #aaa !important;
	min-height: 30px;
	padding: 4px;
	position: relative;
}

.clzd-day-number {
	color: #000;
	font-size: .75rem;
	position: absolute;
	left: 2px;
	top: 2px;
	z-index: 10;
}

.clzd-day[data-weekend="1"] {
	background: #777;
	border-bottom: 1px solid #555 !important;
}

.clzd-day[data-weekend="1"] .clzd-day-number{
	color: #ccc;
	font-style: italic;
}

.clzd-event {
	background-image: linear-gradient(#0000 50%, #0005);
	border-radius: 7px;
	box-sizing: border-box;
	cursor: pointer;
	font-size: 12px;
	padding: 3px 6px;
	position: absolute;
	transition: all 0.2s ease-in-out;
	z-index: 221;
}

.clzd-event:has(.clzd-max-reached) {
	background-image: repeating-linear-gradient(-45deg, transparent, transparent 8px, #0002 8px, #0002 16px);
}

.clzd-event:hover{
	filter: brightness(105%) contrast(90%);
}

.clzd-event-title {
	color: #222;
	display: block;
	font-size: 10px;
	font-weight: bold;
	letter-spacing: -0.5px;
	line-height: 1.1;
	padding-bottom: 5px;
}

.clzd-max-reached {
	background: #222;
	border-radius: 16px;
	box-sizing: border-box;
	display: flex;
	font-size: 10px;
	line-height: 1;
	margin: -2px 0 0;
	padding: 1px 4px 2px 3px;
	text-transform: uppercase;
	width: fit-content;
}

.clzd-event-info {
	color: #fff;
	font-size: 1rem;
	opacity: 0.7;
	position: absolute;
	bottom: 0;
	right: 0;
}

/* Event modal */
.clzd-modal {
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(4px);
	display: none;
	align-items: center;
	justify-content: center;
	inset: 0;
	position: fixed;
	z-index: 542310;
}

.clzd-modal.open {
	display: flex;
}

#clzd-modal .clzd-cat-indicator {
	border: 3px solid #595959;
	border-radius: 12px 12px 0 0;
	box-sizing: border-box;
	height: 16px;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

.clzd-modal-content {
	background-color: #595959;
	background-image: linear-gradient(#0000 70%, #0003);
	padding: 24px 16px 16px;
	max-width: 500px;
	/* width: 90%; */
	border-radius: 12px 12px 8px 8px;
	position: relative;
}

.clzd-modal-content .clzd-max-reached {
	font-size: .8rem;
	margin: -4px 4px 8px 0;
	padding: 3px 6px 3px 5px;
}

.clzd-modal-row {
	margin: 6px 0;
}

.clzd-content {
	display: flex;
}

.clzd-content p {
	display: inline-block;
	padding-left: 4px;
	margin-top: 0;
	min-width: calc(50% - 10px);
}

.clzd-content p + p {
	/* margin-left: 8px; */
	border-left: 1px dashed #FD0;
	padding-left: 8px;
}

.clzd-modal-content .clzd-specs,
.clzd-modal-content a {
	color: #FD0;
	text-decoration: none;
}

.clzd-modal-content a:hover{
	color: #fff !important;
	text-decoration: none;
}

.clzd-close {
	border: none;
	border-radius: 0 12px 12px;
	color: #595959;
	cursor: pointer;
	display: flex;
	font-size: 1.25rem;
	font-weight: bold;
	height: 24px;
	line-height: .9;
	padding-left: 4px;
	position: absolute;
	text-align: center;
	right: 2px;
	top: 3px;
	width: 24px;
	z-index: 789;
}

/* Responsive - media-queries */

@media (min-width: 540px) {
	.clzd-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Portrait tablets, iPad, e-readers (Nook/Kindle) - Landscape 800x480 phones (Android) */
@media (min-width:600px) {
	.clzd-grid {
			grid-template-columns: repeat(3, 1fr);
		}

	.clzd-event .clzd-max-reached {
			margin-left: -2px;
			transform: scale(.85);
		}
}


/* Portrait tablets Android/iPad */
@media (min-width: 768px) {
	.clzd-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.clzd-event	.clzd-max-reached {
		padding: 2px 4px 1px 3px;
	}

	.clzd-filter-label {
		display: unset;
	}
}


/* Landscape tablets, Lo-Res laptops and desktops */
@media (min-width:800px) {
	.clzd-grid {
		grid-template-columns: repeat(4, 1fr);
	}
	
	.clzd-event .clzd-max-reached {
		margin-left: -6px;
	}
}


@media (min-width: 900px) {
	.clzd-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}


/* Landscape wide screen tablets, laptops and desktops */
@media (min-width:1024px) {
	/* .clzd-filters-box {
		flex-grow: 1;
		align-items: center;
	} */

	.clzd-filters {
		flex-grow: 1;
		align-items: center;
	}


	.clzd-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.clzd-event:hover {
		transform: scale(1.25) translateX(-4px);
		z-index: 321;
	}

	.clzd-overlay {
		background: none;
	}

	.clzd-overlay-inner {
		background: #595959;
		height: auto;
		margin: 200px auto 0;
		padding: 16px;
		width: 20%;
	}

	.clzd-overlay-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 16px;
	}

	.clzd-overlay-content {
		/* flex: 1; */
		overflow-y: auto;
	}

	.clzd-filter-item {
		align-items: center;
		gap: 10px;
		margin-bottom: 10px;
		cursor: pointer;
	}

	.clzd-overlay-footer {
		display: flex;
		justify-content: space-around;
		margin-top: 16px;
	}
}


/* Hi-Res laptops and desktops */
@media (min-width:1280px) {
	.clzd-grid {
		grid-template-columns: repeat(6, 1fr);
		/* max-width: 1280px; */
		/* margin: 0 auto; */
	}
}


/* Wide screens (Full HD & +) */
/* @media (min-width: 1536px) {
} */

/* Themes overrides */
/* Enfold */
#top .image-overlay,
.image-overlay .image-overlay-inside::before{
	display: none;
}