:root
{
	--dce-dark: #1d262d;
	--dce-icon--next: url('data:image/svg+xml,%3Csvg width=\'10\' height=\'15\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath fill-rule=\'evenodd\' clip-rule=\'evenodd\' d=\'M1.957 14.957.543 13.543 6.336 7.75.543 1.957 1.957.543 9.164 7.75l-7.207 7.207Z\' fill=\'%23000\'/%3E%3C/svg%3E');
	--dce-icon--prev: url('data:image/svg+xml,%3Csvg width=\'10\' height=\'15\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath fill-rule=\'evenodd\' clip-rule=\'evenodd\' d=\'m8.043.543 1.414 1.414L3.664 7.75l5.793 5.793-1.414 1.414L.836 7.75 8.043.543Z\' fill=\'%23000\'/%3E%3C/svg%3E');
	--dce-item-icon: url('data:image/svg+xml,%3Csvg width=\'17\' height=\'28\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'M2.877 27.169a2.181 2.181 0 0 1-1.558-.654 2.25 2.25 0 0 1 0-3.154l9.464-9.576L1.32 4.207a2.25 2.25 0 0 1 0-3.154 2.184 2.184 0 0 1 3.117 0l11.018 11.153c.861.871.861 2.283 0 3.154L4.436 26.513c-.43.44-.995.656-1.559.656Z\' fill=\'%23E7D18B\'/%3E%3C/svg%3E');
	--dce-light: #f2f2f2;
	--dce-lighter: #fafafa;
	--dce-lightest: #fff;
	--dce-primary: #b09b12;
	--dce-secondary: #fcd900;
}

.dce-events
{
	display: flex;
	flex-direction: column;

	padding-left: 0;

	list-style: none;

	gap: 20px;
	margin-block-start: 0;
	margin-block-end: 0;
}

.dce-events__item
{
	flex-direction: row;

	
}

.dce-events__item::marker
{
	content: '';
}

.dce-events__item a.dce-events__link
{
	display: flex;

	height: 100%;

	transition: 0.4s;
	text-decoration: none;
	background-color: var(--dce-light);
	border-radius: 15px;
}

.dce-events__item a.dce-events__link:hover
{
	transition: 0.4s;

	-webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,0.17);
	   -moz-box-shadow: 0 0 20px 0 rgba(0,0,0,0.17);
	        box-shadow: 0 0 20px 0 rgba(0,0,0,0.17);
}

.dce-events__content
{
	align-self: center;

	width: 100%;
	padding: 20px;
}

.dce-events__heading
{
	margin-bottom: 15px;
	font-size: 2.5rem;
}

.dce-events__image
{
	width: 220px;

	object-fit: cover;
}

.dce-events__date
{
	color: var(--dce-dark);
}

.calendar__table,
.calendar__header
{
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.calendar__table table tbody > tr:nth-child(odd) > th,
.calendar__table table tbody tr:hover > td,
.calendar__table table tbody tr:hover > th
{
	background-color: inherit;
}

.calendar__table tr
{
	display: flex;
	flex-direction: row;
}

.calendar__table td.day,
.calendar__table th
{
	display: flex;
	align-items: center;
	justify-content: center;

	width: 14.28%;
	height: 46px;
	padding: 0;
}

.calendar__table th
{
	font-size: 12px;
	font-weight: 600;
	line-height: 18px;

	border: 0;
	background-color: var(--dce-lightest);
}
.calendar__table table thead:first-child tr:first-child th
{
	border-top: 0;
}

.calendar__table td.day
{
	border: 1px solid var(--dce-light);
	background-color: var(--dce-lightest);
}

.calendar__table td.day.day_disabled
{
	background-color: var(--dce-lightest);
}

.calendar__table button
{
	font-size: 12px;
	font-weight: 500;
	line-height: 18px;

	position: relative;

	width: 100%;
	height: 100%;
	padding: 0;

	text-align: center;

	border: 0;
	background-color: var(--dce-lightest);
}

.calendar__table td.day_current button
{
	color: var(--dce-lightest);
	background-color: var(--dce-primary);
}

.calendar__table button.has-event
{
	font-weight: bold;

	color: var(--dce-primary);
	background-color: var(--dce-lightest);
}

.calendar__table button.has-event:focus,
.calendar__table button.has-event:hover
{
	color: var(--dce-dark);
}

.calendar__header
{
	display: flex;
	align-items: center;
	flex-direction: row;
	justify-content: space-between;

	margin-bottom: 5px;
}

h3.calendar__title
{
	font-family: 'Poppins', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 22px;

	margin: 0;
}

button.calendar__control
{
	width: 16px;
	height: 16px;
	padding: 0;

	border: 0;
	background-color: transparent;
	background-image: var(--dce-icon--prev);
	background-repeat: no-repeat;
	background-position: center center;
}

button.calendar__control:hover,
button.calendar__control:focus
{
	border: 0;
	outline: 0;
	background-color: inherit;
}

button.calendar__control-next
{
	background-image: var(--dce-icon--next);
}

button.calendar__control-disabled
{
	cursor: not-allowed;

	opacity: 0.2;
}

.calendar__tooltip
{
	display: none;

	text-transform: none;
}

.calendar__tooltip-title,
.calendar__tooltip-time
{
	display: block;
}
.calendar__tooltip-title
{
	font-size: 16px;
	line-height: 1.5;

	color: var(--dce-primary);
}

.calendar__tooltip-time
{
	font-size: 12px;
	line-height: 24px;

	color: var(--dce-dark);
}

.calendar__table button:hover .calendar__tooltip
{
	position: absolute;
	bottom: 40px;
	left: 50%;

	display: flex;
	flex-direction: column;

	min-width: 250px;
	padding: 16px;

	transform: translateX(-50%);

	background-color: var(--dce-lightest);
	box-shadow: 0 4px 22px rgba(0, 0, 0, 0.11);

	gap: 20px;
}

.calendar__tooltip::after
{
	position: absolute;
	bottom: -18px;
	left: 50%;

	width: 0;
	height: 0;

	content: '';
	transform: translateX(-50%);

	border-width: 22px 12px 0 12px;
	border-style: solid;
	border-color: var(--dce-lightest) transparent transparent transparent;
}

.dce-events__archive
{
	display: flex;
	flex-wrap: wrap;

	width: 100%;

	gap: 40px;
}

.dce-events__archive-left
{
	width: 400px;
}

.dce-events__archive-right
{
	width: calc(100% - 440px);
}


.dc-events__pagination
{
	display: flex;
	align-items: center;
	justify-content: center;
}

.dc-events__pagination a,
.dc-events__pagination span
{
	font-size: 28px;
	font-weight: 500;
	line-height: 60px;

	display: block;

	width: 60px;
	height: 60px;
	margin-right: 16px;
	margin-left: 16px;

	text-align: center;

	color: var(--dce-primary);
	border: 1px solid var(--dce-secondary);
}

.dc-events__pagination span.current,
.dc-events__pagination a:hover,
.dc-events__pagination a:focus,
.dc-events__pagination span:hover,
.dc-events__pagination span:focus
{
	color: var(--dce-lightest);
	background-color: var(--dce-primary);
}

@media (max-width: 1199px)
{
	.dce-events__image
	{
		max-width: 175px;
	}

	.dce-events__archive-left
	{
		width: 360px;
	}

	.dce-events__archive-right
	{
		width: calc(100% - 400px);
	}
}

@media (max-width: 992px)
{
	.dce-events__archive
	{
		flex-direction: column;
	}

	.dce-events__archive-left,
	.dce-events__archive-right
	{
		width: 100%;
	}
}

@media (max-width: 767px)
{
	.dce-events__image
	{
		max-width: 150px;
	}
}

@media (max-width: 499px)
{
	.dce-events__image
	{
		width: 100%;
		max-width: 100%;
	}

	.dce-events__item a.dce-events__link
	{
		flex-direction: column;
	}
}

@media screen and (min-width: 1025px)
{
	.dce-events__link
	{
		position: relative;

		flex-direction: row;
	}

	.dce-events__link::after
	{
		position: absolute;
		top: 50%;
		right: 37px;

		width: 17px;
		height: 28px;

		content: '';
		transform: translateY(-50%);

		background-image: var(--dce-item--icon);
		background-repeat: no-repeat;
		background-size: contain;
	}
}
