#clzd-calendar *{
	box-sizing: border-box;
}

#clzd-calendar p,
#clzd-calendar a,
#clzd-calendar div {
	border-color: unset;
	font-size: unset;
}

#clzd-calendar {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	font-weight: 400;
}

#clzd-calendar h3{
	margin-bottom: 12px;
}

#clzd-calendar a,
#clzd-calendar a:hover {
	/* color: unset; */
	text-decoration: none;
}

#clzd-calendar strong {
	color: inherit;
}

.clzd-header,
.clzd-footer {
	background: #444;
	border-radius: 5px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 8px;
	margin-top: 16px;
	padding: 4px;
	position: relative;
}

.clzd-header button,
.clzd-footer button{
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	border: none;
	cursor: pointer;
	display: block;
	padding-top: 4px;
}

.clzd-header button img,
.clzd-footer button img {
	filter: invert();
}

.clzd-filters {
	display: flex;
	align-items: center;
	gap: 16px;
	justify-content: center;
}

.clzd-filter-title {
	display: none;
	color: #fff;
}

.clzd-filters a{
	color: #eee;
	display: flex;
	align-items: center;
	gap: 12px;
}

.clzd-filter-btn {
	background: #303030;
	border: 1px solid;
	border-color: #fff;
	border-radius: 5px;
	color:#fff;
	cursor: pointer;
	display: block;
	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-results-notice::first-letter {
	font-weight: bold;
}

.clzd-overlay {
	position: fixed;
	z-index: 542300;
	background: #222;
	transform: translateX(100vw);
	transition: all 250ms linear;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
}

.clzd-overlay.open {
	transform: translateX(0);
}

.clzd-overlay-inner {
	border-radius: 5px;
	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-header h3{
	color: #fff;
}

.clzd-overlay-content {
	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-calendar a.clzd-apply-categ-filter,
#clzd-calendar a.clzd-apply-date-filter,
#clzd-calendar a.clzd-filter-categ-reset,
#clzd-calendar a.clzd-filter-date-reset {
	color: #ccc;
	font-size: 1.25em;
}

a[class^="clzd-apply-"]::first-letter, 
a[class^="clzd-filter-"]::first-letter {
	color: #fff;
}

#clzd-calendar a.clzd-overlay-close{
	color: #fff;
	cursor: pointer;
	font-size: 1.25em;
	position: relative;
	right: -.5em;
	top: -.75em;
}

.clzd-grid {
	background: #222;
	border-radius: 5px 5px 0 0;
	display: grid;
	grid-template-columns: 1fr;
	margin-bottom: 32px;
}

.clzd-month:not(:last-child) {
	border-right: thin solid #555 !important;
}

.clzd-month-title {
	border-bottom: 1px solid;
	border-color: #222 !important;
	color: #fff !important;
	display: flex;
	justify-content: space-between;
	padding: 2px 12px;
	text-transform: capitalize;
}

.clzd-grid-year{
	color: #aaa;
	font-weight: bold;
}

#clzd-calendar div.clzd-day {
	background: #ddd;
	border-bottom: 1px solid #aaa;
	min-height: 30px;
	padding: 0 4px;
	position: relative;
}

#clzd-calendar .clzd-day-name {
	color: #000;
	font-size: .7em;
	line-height: 1;
	position: absolute;
	left: 2px;
	top: 2px;
	z-index: 14;
}

#clzd-calendar .clzd-day-number {
	color: #000;
	font-size: .75rem;
	position: absolute;
	left: 4px;
	bottom: 0;
	z-index: 12;
}

#clzd-calendar .clzd-day-number.clzd-today {
	border-radius: 5px;
	background-color: #468;
	color: #fff;
	font-size: .8rem;
	font-weight: bold;
	padding: 0 4px;
	position: absolute;
	left: 2px;
	bottom: 3px;
}

.clzd-day:has(.clzd-today) > .clzd-day-name {
	display: none;
}

#clzd-calendar .clzd-day:has(.clzd-today) {
	background: #94B2B6;
}

#clzd-calendar div.clzd-day[data-weekend="1"][data-dayoff="1"]{
	background-color: #888;
	background-image: url(../img/zig-zag.png), url(../img/zig-zag.png);
	background-blend-mode: multiply;
	background-repeat: repeat;
	border-bottom: 1px solid #555;
}

#clzd-calendar div.clzd-day[data-weekend="0"][data-dayoff="1"]{
	background-color: #777;
	background-image: url(../img/zig-zag.png), url(../img/zig-zag.png);
	background-blend-mode: multiply;
	background-repeat: repeat;
	border-bottom: 1px solid #555;
}

#clzd-calendar div.clzd-day[data-weekend="1"]:hover,
#clzd-calendar div.clzd-day[data-dayoff="1"]:hover {
	background-position-x: 100%;
	transition: background-position 10s linear;
}

#clzd-calendar div.clzd-day[data-weekend="1"] {
	background-color: #888;
	border-bottom: 1px solid #555;
}

#clzd-calendar .clzd-day[data-dayoff="1"] .clzd-day-name,
#clzd-calendar .clzd-day[data-dayoff="1"] .clzd-day-number{
	color: #ededed;
	font-style: italic;
	font-weight: bold;
}

#clzd-calendar .clzd-day[data-weekend="1"] .clzd-day-name,
#clzd-calendar .clzd-day[data-weekend="1"] .clzd-day-number{
	color: #ededed;
	font-style: italic;
}

#clzd-calendar .clzd-event {
	background-image: linear-gradient(#0000 60%, #0006 100%);
	background-origin: border-box;
	border: 1px solid #555;
	border-radius: 7px;
	box-sizing: border-box;
	cursor: pointer;
	font-size: 12px;
	opacity: .9;
	padding: 3px 6px;
	position: absolute;
	transition: all 0.2s ease-in-out;
	z-index: 221;
}

#clzd-calendar .clzd-event-split-start {
	border-bottom: none;
	border-radius: 7px 7px 0 0;
}
#clzd-calendar .clzd-event-split-end {
	border-radius: 0 0 7px 7px;
	border-top: none;
}

#clzd-calendar .clzd-event:has(.clzd-max-reached),
.clzd-modal-content:has(.clzd-max-reached) {
	background-image: repeating-linear-gradient(-45deg, transparent, transparent 8px, #0002 8px, #0002 16px);
}

#clzd-calendar .clzd-event:hover {
	filter: brightness(120%) contrast(90%);
	z-index: 224;
}

.clzd-event-title {
	color: #222;
	display: block;
	font-size: .925em;
	letter-spacing: -0.5px;
	line-height: 1.1;
	padding-bottom: 5px;
	text-shadow: 0 0 1px #999;
}

.clzd-max-reached {
	background: #222;
	border-radius: 16px;
	box-sizing: border-box;
	color: #F77;
	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 {
	filter: invert();
	opacity: .8;
	position: absolute;
	bottom: 4px;
	right: 4px;
}

/* 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-calendar .clzd-modal-content {
	background-color: #595959;
	background-image: linear-gradient(#0000 70%, #0003);
	color: #fff;
	padding: 24px 16px 8px 16px;
	max-width: 400px;
	width: 90%;
	border-radius: 12px 12px 8px 8px;
	position: relative;
}

#clzd-modal .clzd-categ-indicator {
	border: 3px solid #595959;
	border-radius: 12px 12px 0 0;
	box-sizing: border-box;
	height: 18px;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

#clzd-modal .clzd-categ-indicator span{
	color: #333;
	display: block;
	font-size: .8em;
	line-height: 1.3;
	padding-left: 16px;
	text-transform: uppercase;
}

#clzd-calendar .clzd-modal-content h3 {
	background-color: #fff9;
	border-radius: 5px;
	color: #151515;
	font-size: 1.38em;
	padding: 4px;
	text-transform: uppercase;
	width: fit-content;
	max-width: 95%;
}

.clzd-modal-content .clzd-max-reached {
	font-size: .8rem;
	margin: -4px 4px 8px 0;
	padding: 3px 6px 3px 5px;
}

#clzd-calendar .clzd-modal-row {
	color: #ccc;
	display: flex;
	gap: 4px;
	font-size: 1.2em;
	line-height: 1.6;
	margin: 6px 0;
	padding: 2px 8px 2px 4px;
	width: fit-content;
}

.clzd-modal-row img:not(.clzd-specs-svg) {
	filter: invert(1);
	margin-right: 4px;
}

.clzd-modal-row img.clzd-specs-svg,
.clzd-content img.clzd-specs-svg {
	filter: invert(72%) sepia(89%) saturate(631%) hue-rotate(357deg) brightness(102%) contrast(107%);
}

.clzd-content img.clzd-specs-svg {
	align-self: baseline;
}

#clzd-calendar .clzd-next-event {
	background-color: #151515;
	border-radius: 5px;
	color: #ddd;
	padding: 2px 8px 2px 4px;
	width: fit-content;
}

.clzd-content {
	display: flex;
	padding-left: 4px;
}

#clzd-calendar .clzd-content p {
	font-size: 1em;
	display: inline-block;
	line-height: 1.5;
	margin: 0;
	min-width: calc(50% - 10px);
	padding-left: 4px;
	padding-right: 4px;
}

#clzd-calendar .clzd-content p + p {
	border-left: 1px dashed #FFD500;
	padding-left: 8px;
}

#clzd-calendar .clzd-modal-content .clzd-specs {
	color: #FFD500;
}

#clzd-calendar .clzd-modal-row:has(a) {
	font-size: .9em;
	line-height: 1.5;
	width: fit-content;
	background: #333;
	border-radius: 5px;
	color: #FFD500;
	transition: background 250ms linear;
}

#clzd-calendar .clzd-modal-row a {
	color: #FFD500;
}

#clzd-calendar .clzd-modal-row:has(a):hover {
	background: #777;
}

#clzd-calendar .clzd-modal-row:has(a) img{
	transform: scale(.9);
}

.clzd-modal-row.clzd-next-event img.clzd-specs-svg {
	margin-right: 4px;
}

.clzd-modal-row.clzd-next-event .clzd-specs {
	align-self: end;
}

.clzd-close {
	border: none;
	border-radius: 0 12px 12px;
	cursor: pointer;
	display: flex;
	height: 24px;
	place-content: center;
	position: absolute;
	right: 2px;
	top: 3px;
	width: 24px;
	z-index: 789;
}

.clzd-modal-close{
	filter: invert(40%);
}


/* Responsive - media-queries */

@media (min-width: 540px) {
	.clzd-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.clzd-overlay {
		background: none;
	}

	.clzd-overlay-inner {
		background: #595959;
		height: auto;
		margin: 200px auto 0;
		padding: 16px;
		width: 50%;
	}

}

/* 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) translateY(-2px);
	}

	.clzd-filter-categ{
		position: relative;
	}

	.clzd-overlay {
		background: none;
		height: auto;
		opacity: 0;
		pointer-events: none;
		position: absolute;
		top: 64px;
		left: calc(50% - 160px);
		transform: none;
		visibility: hidden;
		width: 320px;
	}
			
	.clzd-overlay.open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.clzd-overlay-inner {
		background: #595959;
		margin: 0;
		padding: 16px;
		border-radius: 6px;
		width: 100%;
	}
}

/* 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 {
		flex-grow: 1;
		align-items: center;
	}

	.clzd-filter-title {
		display: inline-block;
		margin-left: 16px;
		margin-right: -8px;
	}

	.clzd-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.clzd-event:hover {
		box-shadow: 0 0 8px 4px #0005;
		transform: scale(1.21) translateX(-4px);
		z-index: 321;
	}

	.clzd-event-info {
		font-size: 1.5em;
		bottom: 4px;
		right: 8px;
		transition: opacity 0.2s ease-out;
	}

	.clzd-event:hover .clzd-event-info{
		opacity: 0;
	}

	.clzd-event:hover::before {
		content: url("../img/clzd-plus.svg");
		display: block;
		filter: invert();
		line-height: 1;
		opacity: .8;
		position: absolute;
		right: 8px;
		bottom: 4px;
		width: 16px;
	}

	#clzd-calendar .clzd-modal-row {
		font-size: 1em;
	}

	#clzd-calendar .clzd-content p {
		font-size: .95em;
	}

}

/* Hi-Res laptops and desktops */
@media (min-width:1280px) {
	.clzd-grid {
		grid-template-columns: repeat(6, 1fr);
	}
	
	.clzd-results-notice {
		color: #fff;
		display: inline-block;
	}
}

/* Themes overrides */
/* Enfold */
#top .image-overlay,
.image-overlay .image-overlay-inside::before{
	display: none;
}