.rdp-agenda-filter {
	--rdp-agenda-accent: var(--e-global-color-120f394, #978455);
	--rdp-agenda-ink: var(--e-global-color-text, #193343);
	--rdp-agenda-paper: var(--e-global-color-78bef9a6, #f7f5f0);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 233px));
	gap: 62px;
	position: relative;
	z-index: 20;
	width: 100%;
	max-width: 528px;
	font-family: "Inter", sans-serif;
	color: var(--rdp-agenda-ink);
}

.rdp-agenda-filter *,
.rdp-agenda-filter *::before,
.rdp-agenda-filter *::after {
	box-sizing: border-box;
}

.rdp-agenda-filter__field {
	position: relative;
	min-width: 0;
}

.rdp-agenda-filter__control {
	appearance: none;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--rdp-agenda-accent);
	border-radius: 0;
	color: var(--rdp-agenda-ink);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	min-height: 39px;
	padding: 0 0 9px;
	font: inherit;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	text-align: left;
	text-transform: uppercase;
}

.rdp-agenda-filter__control:focus-visible,
.rdp-agenda-filter__panel button:focus-visible {
	outline: 2px solid var(--rdp-agenda-accent);
	outline-offset: 3px;
}

.rdp-agenda-filter__control img {
	flex: 0 0 auto;
	object-fit: contain;
	transition: transform 180ms ease;
}

.rdp-agenda-filter__field--type.is-open .rdp-agenda-filter__control img {
	transform: rotate(180deg);
}

.rdp-agenda-filter__panel {
	background: #fff;
	border: 1px solid var(--rdp-agenda-accent);
	box-shadow: none;
	left: 0;
	position: absolute;
	top: calc(100% + 5px);
	z-index: 50;
}

.rdp-agenda-filter__types {
	width: 100%;
	padding: 4px 10px 8px;
}

.rdp-agenda-filter__types ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rdp-agenda-filter__types button {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--rdp-agenda-ink);
	cursor: pointer;
	display: block;
	font: inherit;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.42;
	padding: 0;
	text-align: left;
	width: 100%;
}

.rdp-agenda-filter__types button:hover,
.rdp-agenda-filter__types button[aria-selected="true"] {
	color: var(--rdp-agenda-accent);
}

.rdp-agenda-filter__calendar {
	border: 0;
	left: -32px;
	width: 310px;
	padding: 7px 8px 8px;
}

.rdp-agenda-filter__calendar-header {
	display: grid;
	grid-template-columns: 28px 1fr 28px;
	align-items: center;
	min-height: 31px;
}

.rdp-agenda-filter__month-title {
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	text-align: center;
}

.rdp-agenda-filter__month-title .rdp-agenda-filter__month-name::after {
	border-bottom: 1px solid currentColor;
	border-right: 1px solid currentColor;
	content: "";
	display: inline-block;
	height: 6px;
	margin: 0 12px 4px;
	transform: rotate(45deg);
	width: 6px;
}

.rdp-agenda-filter__month-nav {
	appearance: none;
	background: transparent;
	border: 0;
	cursor: pointer;
	height: 28px;
	padding: 0;
	position: relative;
	width: 28px;
}

.rdp-agenda-filter__month-nav::before {
	border-bottom: 1px solid var(--rdp-agenda-ink);
	border-left: 1px solid var(--rdp-agenda-ink);
	content: "";
	height: 8px;
	left: 10px;
	position: absolute;
	top: 9px;
	transform: rotate(45deg);
	width: 8px;
}

.rdp-agenda-filter__month-nav--next::before {
	left: 7px;
	transform: rotate(225deg);
}

.rdp-agenda-filter__weekdays,
.rdp-agenda-filter__days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
}

.rdp-agenda-filter__weekdays span {
	color: #777;
	font-size: 13px;
	font-weight: 600;
	line-height: 25px;
	text-align: center;
}

.rdp-agenda-filter__day {
	appearance: none;
	background: transparent;
	border: 0;
	color: #252525;
	cursor: pointer;
	display: grid;
	font: inherit;
	font-size: 14px;
	height: 40px;
	place-items: center;
	padding: 0;
	position: relative;
}

.rdp-agenda-filter__day span {
	display: grid;
	height: 38px;
	place-items: center;
	width: 38px;
}

.rdp-agenda-filter__day.is-outside {
	color: #777;
}

.rdp-agenda-filter__day.is-today span,
.rdp-agenda-filter__day.is-selected span {
	border: 1px solid var(--rdp-agenda-accent);
	border-radius: 50%;
	color: var(--rdp-agenda-accent);
}

.rdp-agenda-filter__day.has-event::after {
	background: var(--rdp-agenda-accent);
	border-radius: 50%;
	bottom: 0;
	content: "";
	height: 6px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	width: 6px;
}

.rdp-agenda-filter__day:hover span {
	color: var(--rdp-agenda-accent);
}

.rdp-agenda-filter__empty {
	color: var(--rdp-agenda-ink);
	font-family: "Inter", sans-serif;
	font-size: 16px;
	grid-column: 1 / -1;
	margin: 12px 0 0;
	text-align: center;
}

#bucle-programacion .e-loop-item[hidden] {
	display: none !important;
}

@media (max-width: 767px) {
	.rdp-agenda-filter-host,
	.rdp-agenda-filter-host .elementor-shortcode {
		align-self: stretch !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.rdp-agenda-filter {
		grid-template-columns: 1fr;
		gap: 24px;
		max-width: none;
		width: 100%;
	}

	.rdp-agenda-filter__field,
	.rdp-agenda-filter__control,
	.rdp-agenda-filter__panel {
		max-width: 100%;
		width: 100%;
	}

	.rdp-agenda-filter__panel {
		margin-top: 5px;
		position: static;
	}

	.rdp-agenda-filter__label,
	.rdp-agenda-filter__types button {
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.rdp-agenda-filter__calendar {
		left: 0;
		transform: none;
	}
}
