#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 {
	text-decoration: none;
}

#clzd-calendar strong {
	color: inherit;
}

.clzd-header {
	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 {
	-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 {
	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: 2em;
	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: 4px;
}

.clzd-day:has(.clzd-today) > .clzd-day-name {
	display: none;
}

#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 50%, #0005);
	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: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(105%) contrast(90%);
}

.clzd-event-title {
	color: #222;
	display: block;
	font-size: .925em;
	/* font-weight: bold; */
	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 {
	color: #fff;
	font-size: 1.5em;
	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-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);
	color: #fff;
	padding: 24px 16px 16px;
	max-width: 400px;
	width: 90%;
	border-radius: 12px 12px 8px 8px;
	position: relative;
}

.clzd-modal-content h3 {
		color: #fff;
}

.clzd-modal-content .clzd-max-reached {
	font-size: .8rem;
	margin: -4px 4px 8px 0;
	padding: 3px 6px 3px 5px;
}

.clzd-modal-row {
	margin: 8px 0;
	line-height: 1.6;
}

.clzd-content {
	display: flex;
}

#clzd-calendar .clzd-content p {
	font-size: .95em;
	display: inline-block;
	line-height: 1.5;
	margin: 0;
	min-width: calc(50% - 10px);
	padding-left: 4px;
}

.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: 20px;
	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);
	}

	.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);
		}

		.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.2) 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;
	}

}

/* 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;
	}

}


/* Wide screens (Full HD & +) */
/* @media (min-width: 1536px) {
} */

/* Themes overrides */
/* Enfold */
#top .image-overlay,
.image-overlay .image-overlay-inside::before{
	display: none;
}