/**
 * OF Elementor Widgets - Participants list
 *
 * The widget's Style controls only set the custom properties below (and a few properties on the
 * parts), so everything here is the default look. Colors keep at least 4.5:1 (text) and 3:1
 * (focus outline) against white.
 */

.ofew-participants {
	--ofew-pl-link: #005f78;
	--ofew-pl-active-bg: #005f78;
	--ofew-pl-active-text: #fff;
	--ofew-pl-disabled: #767676;
	--ofew-pl-focus: #005f78;
	--ofew-pl-input-text: #3c3c3c;
	--ofew-pl-cols: 3;
	--ofew-pl-logo-width: 90px;
	--ofew-pl-logo-height: 90px;
	/* Initials as buttons on wide screens, as a dropdown on tablet/mobile (the widget's "Initials as" control overrides this). */
	--ofew-letters-display: flex;
	--ofew-select-display: none;
}

@media (max-width: 1023px) {
	.ofew-participants {
		--ofew-letters-display: none;
		--ofew-select-display: block;
		--ofew-pl-cols: 2;
	}
}

@media (max-width: 767px) {
	.ofew-participants {
		--ofew-pl-cols: 1;
	}
}

.ofew-participants [hidden] {
	display: none !important;
}

.ofew-participants .ofew-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Filter bar */

.ofew-participants__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 64px;
}

.ofew-participants__filter {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.ofew-participants__label {
	flex: none;
	color: var(--site-grafite, #3c3c3c);
	font-family: var(--font-sans-10-regular, inherit);
}

.ofew-participants__label::after {
	content: ":";
}

@supports (content: "a" / "") {
	.ofew-participants__label::after {
		content: ":" / "";
	}
}

.ofew-participants__letters {
	display: var(--ofew-letters-display, flex);
	flex-wrap: wrap;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ofew-participants__letters li {
	margin: 0;
	padding: 0;
}

.ofew-participants__letter {
	min-width: 24px;
	min-height: 24px;
	padding: 2px 6px;
	border: 1px solid transparent;
	border-radius: 4px;
	background: transparent;
	color: var(--ofew-pl-link);
	font: inherit;
	font-family: var(--font-sans-10-medium, inherit);
	line-height: 1.2;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.ofew-participants__letter:hover {
	background: rgba(0, 95, 120, 0.1);
}

.ofew-participants__letter[aria-pressed="true"] {
	background: var(--ofew-pl-active-bg);
	color: var(--ofew-pl-active-text);
	text-decoration: none;
}

.ofew-participants__letter:disabled {
	color: var(--ofew-pl-disabled);
	text-decoration: none;
	cursor: not-allowed;
	background: transparent;
}

.ofew-participants__letter:focus-visible,
.ofew-participants__input:focus-visible,
.ofew-participants__select:focus-visible,
.ofew-participants__more-button:focus-visible,
.ofew-participant__link:focus-visible,
.ofew-participant:focus-visible {
	outline: 3px solid var(--ofew-pl-focus);
	outline-offset: 2px;
}

/* The search field's own outline would be clipped by its wrapper: the wrapper shows it. */
.ofew-participants__input:focus-visible {
	outline: none;
}

.ofew-participants__field:focus-within {
	outline: 3px solid var(--ofew-pl-focus);
	outline-offset: 2px;
}

.ofew-participants__label--select,
.ofew-participants__select {
	display: var(--ofew-select-display, none);
}

.ofew-participants__label--buttons {
	display: var(--ofew-letters-display, flex);
}

.ofew-participants__select {
	min-width: 0;
	min-height: 44px;
	padding: 6px 32px 6px 12px;
	border: 1px solid #767676;
	border-radius: 4px;
	background-color: #fff;
	color: var(--ofew-pl-input-text);
	font: inherit;
}

.ofew-participants__label--select {
	flex: none;
}

/* Search */

.ofew-participants__search {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	padding-left: 24px;
	border-left: 1px solid var(--site-grafite, #3c3c3c);
}

.ofew-participants__field {
	position: relative;
	display: flex;
	align-items: center;
	width: 236px;
	max-width: 100%;
	min-height: 40px;
	border-radius: 4px;
	background-color: #d4d4d4;
}

.ofew-participants__input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	min-height: 40px;
	padding: 6px 40px 6px 12px;
	border: 0;
	border-radius: inherit;
	background: transparent;
	color: var(--ofew-pl-input-text);
	font: inherit;
	appearance: none;
}

.ofew-participants__input::placeholder {
	color: #4d4d4d;
	opacity: 1;
}

.ofew-participants__icon {
	position: absolute;
	right: 10px;
	color: var(--ofew-pl-input-text);
	pointer-events: none;
}

/* The browser's own "clear" cross is kept (it is keyboard/mouse accessible); the magnifier sits to its right. */
.ofew-participants__input::-webkit-search-cancel-button {
	margin-right: 4px;
}

@media (max-width: 1023px) {
	.ofew-participants__toolbar {
		margin-bottom: 40px;
	}
}

@media (max-width: 767px) {
	.ofew-participants__toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.ofew-participants__filter,
	.ofew-participants__search {
		width: 100%;
	}

	.ofew-participants__search {
		margin-left: 0;
		padding-left: 0;
		border-left: 0;
	}

	.ofew-participants__select {
		flex: 1 1 auto;
	}

	.ofew-participants__field {
		flex: 1 1 auto;
		width: auto;
	}
}

/* List */

.ofew-participants__list {
	display: grid;
	grid-template-columns: repeat(var(--ofew-pl-cols, 3), minmax(0, 1fr));
	column-gap: 40px;
	row-gap: 44px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ofew-participant {
	margin: 0;
	padding: 0;
	min-width: 0;
}

.ofew-participant__inner {
	display: flex;
	align-items: center;
	gap: 30px;
	color: inherit;
	text-decoration: none;
}

.ofew-participant__logo {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--ofew-pl-logo-width, 90px);
	height: var(--ofew-pl-logo-height, 90px);
}

.ofew-participant__logo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.ofew-participant__name {
	min-width: 0;
	color: var(--ofew-pl-link);
	font-family: var(--font-sans-10-medium, inherit);
	font-weight: 500;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.ofew-participant__link:hover .ofew-participant__name,
.ofew-participant__link:focus-visible .ofew-participant__name {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ofew-participants__empty {
	margin: 24px 0;
	text-align: center;
}

.ofew-participants__notice {
	padding: 16px;
	border: 1px dashed #767676;
	text-align: center;
}

/* Load more */

.ofew-participants__more {
	display: flex;
	justify-content: center;
	margin-top: 48px;
}

.ofew-participants__more-button {
	padding: 8px 18px;
	border: 2px solid var(--ofew-pl-link);
	border-radius: 4px;
	background: #fff;
	color: var(--ofew-pl-link);
	font: inherit;
	font-family: var(--font-sans-10-medium, inherit);
	line-height: 1.3;
	cursor: pointer;
}

.ofew-participants__more-button:hover,
.ofew-participants__more-button:focus-visible {
	background: var(--ofew-pl-link);
	color: #fff;
}

@media (forced-colors: active) {
	.ofew-participants__letter[aria-pressed="true"] {
		border-color: Highlight;
		text-decoration: underline;
		font-weight: 700;
	}

	.ofew-participants__field {
		border: 1px solid CanvasText;
	}
}
