@font-face {
	font-family:inter-latin-700-normal;
	src: url("/scot/css/fonts/inter-latin-700-normal.woff2") format("woff");
}

@font-face {
	font-family:karla-latin-700-normal;
	src: url("/scot/css/fonts/karla-latin-700-normal.woff2") format("woff");
}

/* Root styling */
:root {
	--se-blue: #004C97;
	--se-blue-dark: #003D7A;
	--se-navy: #00305F;
	--se-deep: #00264C;
	--se-steel: #4682B4;
	--se-heather: #8E4585;
	--se-slate: #34373B;
	--se-mist: #D3D3D3;
	--se-soft: #D6E2EE;
	--se-ink: #222222;
	--se-head: 'Inter', Arial, sans-serif;
	--se-body: 'Karla', Arial, sans-serif;
	--se-rule: #d4d4d4;
}


html {
	background-color: #302f34;
	background-repeat: repeat-none;
}

body {
	font-family: 'inter-latin-700-normal', sans-serif;
	line-height: 170%;
	color: #34373B;
	font-size: 18px;
	background-color: #FFFFFF;
	/* padding-top: 60px;  match navbar height */
}

#container {
	background-color: #FFFFFF;
	min-height: calc(100vh - 520px);
	max-width: 1400px;
	margin:auto;
	background-repeat: no-repeat;
	background-size: 800px;
	background-position: bottom -50px right -100px;

}

.tagline {
	font-size: 30px;
}


/* motif */
.motif {
	background: linear-gradient(90deg,#FFFFFF,#FFFFFF 4px,#05FFF7 0,#05FFF7 13px,transparent 0,transparent);
	padding-left: 30px;
}


.cta-button {
	display: inline-block;
	background: #C7F36B; /* lime colour */
	color: #0a0a0a;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
	padding: 20px 40px;
	border-radius: 8px;
	text-decoration: none;
	letter-spacing: 1px;
	line-height: 1.4;

	/* subtle depth */
	box-shadow: 0 4px 0 rgba(0,0,0,0.25);

	transition: all 0.2s ease;

	margin-left: 80px;
}

.cta-button:hover {
	color: #0a0a0a;
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.cta-button:active {
	transform: translateY(1px);
	box-shadow: 0 2px 0 rgba(0,0,0,0.25);
}



/* ---------- Page body ---------- */
#container { background: #FFFFFF; }
#content .se-main {
	max-width: 1280px;
	margin: 0 auto;
	padding: 72px 32px 24px;
	display: flex;
	flex-direction: column;
	/*gap: 88px;*/
}
.se-section { display: flex; flex-direction: column; gap: 32px; }

/* Section heading: slashes · title · rule · optional right-hand item */
.se-head { display: flex; align-items: center; gap: 18px; }
.se-head .se-slashes { width: 30px; height: 26px; flex-shrink: 0; display: block; }
.se-head h2 {
	margin: 0;
	font-family: var(--se-head);
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
	font-size: 34px;
	line-height: 1.1;
	color: var(--se-blue);
}
.se-head .se-rule { flex: 1 1 auto; height: 2px; background: var(--se-mist); }
.se-head .se-featuring { height: 34px; width: auto; flex-shrink: 0; display: block; }

/* Competition cards */
.se-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
	gap: 24px;
}
.se-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.se-card img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 12px;
	transition: transform 0.2s ease;
}
.se-card:hover img { transform: translateY(-3px); }
.se-card span {
	font-family: var(--se-head);
	font-weight: 700;
	font-size: 20px;
	color: var(--se-ink);
}
.se-card:hover span { color: var(--se-blue); }

/* About */
.se-about {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 48px;
	align-items: center;
}
.se-about-text { display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.6; max-width: 620px; }
.se-about-text p { margin: 0; }
.se-button {
	align-self: flex-start;
	margin-top: 6px;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 8px;
	background: var(--se-blue);
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	font-family: var(--se-head);
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
}
.se-button:hover { background: var(--se-blue-dark); color: #FFFFFF; }
.se-about figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.se-about figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; display: block; }
.se-about figcaption { font-size: 14px; }

/* Partners carousel */
.se-partners {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 40px;
	align-items: center;
}
.se-partners p { margin: 0; font-size: 18px; line-height: 1.6; max-width: 420px; }
.se-carousel { overflow: hidden; border-radius: 12px; }
.se-track { display: flex; gap: 12px; width: max-content; animation: se-scroll 30s linear infinite; }
.se-carousel:hover .se-track { animation-play-state: paused; }
@keyframes se-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .se-track { animation: none; } }
.se-tile {
	flex: 0 0 auto;
	width: 150px;
	height: 64px;
	box-sizing: border-box;
	border-radius: 12px;
	background: var(--se-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
}
.se-tile img { max-width: 100%; max-height: 40px; width: auto; height: auto; display: block; }


/* Placeholder box for logos still to come: replace each with an <img> */
.se-ph {
	box-sizing: border-box;
	border: 2px dashed var(--se-soft);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-family: var(--se-head);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--se-soft);
	width: 100%;
	height: 100%;
	min-height: 38px;
	padding: 4px 10px;
}
#footer .se-ph { width: auto; min-width: 160px; height: 56px; font-size: 13px; }


/* Registration selection */
:root {
	--se-blue: #004a98;
	--se-blue-dark: #003a78;
	--se-rule: #d4d4d4;
	--se-tint: #f5f8fc;
}

/* ===============================
   CARDS CAROUSEL
   =============================== */

.cards-carousel {
	position: relative;
	width: 100%;
}

/* Scrollable track */
.cards-carousel__track {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;

	overflow-x: auto;
	overflow-y: hidden;

	scroll-behavior: smooth;

	padding: 6px 56px; /* space so cards don’t go under arrows */
	box-sizing: border-box;
}

/* Hide scrollbar (optional but recommended) */
.cards-carousel__track::-webkit-scrollbar {
	height: 0;
}
.cards-carousel__track {
	scrollbar-width: none;
}

/* ===============================
   NAVIGATION BUTTONS
   =============================== */

.cards-carousel__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);

	width: 44px;
	height: 44px;

	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.65);

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 0;
	margin: 0;

	color: #ffffff;          /* ensures FA icon is visible */
	cursor: pointer;

	z-index: 9999;           /* sits above cards */
	pointer-events: auto;

	transition:
			background 180ms ease,
			opacity 180ms ease,
			transform 180ms ease;
}

/* Left / right placement */
.cards-carousel__btn--prev {
	left: 8px;
}
.cards-carousel__btn--next {
	right: 8px;
}

/* Hover effect */
.cards-carousel__btn:hover {
	background: rgba(0, 0, 0, 0.85);
	transform: translateY(-50%) scale(1.05);
}

/* Disabled state */
.cards-carousel__btn.is-disabled {
	opacity: 0.25;
	pointer-events: none;
}

/* ===============================
   ICON STYLING
   =============================== */

.cards-carousel__btn i {
	font-size: 18px;
	line-height: 1;
	display: block;
}

/* ===============================
   OPTIONAL POLISH
   =============================== */

/* Fade edges slightly to hint scrolling */
.cards-carousel::before,
.cards-carousel::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 24px;
	pointer-events: none;
	z-index: 2;
}

.cards-carousel::before {
	left: 0;
	background: linear-gradient(to right, rgba(0,0,0,0.6), transparent);
}

.cards-carousel::after {
	right: 0;
	background: linear-gradient(to left, rgba(0,0,0,0.6), transparent);
}

/* Hide arrows on touch-only devices (optional) */
@media (hover: none) and (pointer: coarse) {
	.cards-carousel__btn {
		display: none;
	}
}


/* =========================
	FOOTER
============================ */

#footer .se-ph { width: auto; min-width: 160px; height: 56px; font-size: 13px; }

/* ---------- Footer ---------- */
#footer {
	margin-top: 72px;
	background: var(--se-deep);
	border-top: 3px solid var(--se-steel);
	color: var(--se-soft);
}
#footer #footer_container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 56px 32px 32px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.se-fgrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
	gap: 32px 40px;
}
.se-fbrand { display: flex; flex-direction: column; gap: 16px; }
.se-fbrand img { height: 40px; width: auto; display: block; align-self: flex-start; }
.se-fbrand p { margin: 0; font-size: 15px; line-height: 1.6; }
.se-fbrand .se-ph { width: 200px; max-width: 100%; height: auto; min-height: 56px; line-height: 1.4; }
.se-fcol h3 { margin: 0 0 10px; font-family: var(--se-head); font-weight: 700; font-size: 16px; color: #FFFFFF; }
.se-fcol ul { margin: 0; padding: 0; list-style: none; }
.se-fcol a { color: var(--se-soft); text-decoration: none; font-size: 15px; line-height: 2; }
.se-fcol a:hover { color: #FFFFFF; text-decoration: underline; }
.se-fcol i { width: 20px; }
.se-supported {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px 32px;
}

.se-supported img {
	display: block;
	height: 56px;       /* try 48 to 64 */
	width: auto;
	max-width: 100%;
	object-fit: contain;
}
.se-disclaimer { margin: 0; font-size: 12px; line-height: 1.5; }
#footer .copyright {
	background: transparent;
	border-top: 0;
}
#footer .copyright_container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px 32px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
	line-height: 1.6;
}
#footer .copyright_container b { color: #FFFFFF; }
#footer .copyright_container a { color: #FFFFFF; }


/* ==========================================================================
   Scottish Esports: tournament sub-nav bar
   (Overview / Teams / Matches / Group / Elimination)
   Targets the platform's existing .secondarynavtop markup. No HTML changes.
   Needs Inter (700) loaded.
   ========================================================================== */

.secondarynavtop {
	border-bottom: 2px solid #D3D3D3;
	margin-bottom: 36px;                 /* space between the sub-nav and the page title */
}
.secondarynavtop ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.secondarynavtop div.selected { display: contents; }   /* the platform wraps the active tab in a div */
.secondarynavtop li { margin: 0; }
.secondarynavtop li a {
	display: block;
	padding: 12px 18px;
	margin-bottom: -2px;                 /* active underline sits on the grey line */
	border-bottom: 4px solid transparent;
	font-family: 'Inter', Arial, sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #34373B;
	text-decoration: none;
}
.secondarynavtop li a:hover {
	color: #004C97;
	border-bottom-color: #D6E2EE;
}
.secondarynavtop li.selected a,
.secondarynavtop .selected li a {
	color: #004C97;
	border-bottom-color: #8E4585;
}


/* =========================
   STORY HEADERS
   ========================= */

.section {
	margin-bottom: 80px;
}

.section-header {/*
	display: flex;
	align-items: center;*/
	gap: 16px;
	margin-top: 0px;
	margin-bottom: 40px;
}

.section-header .title {
	color: #fff;
	font-size: 30px;
	font-weight: 600;
	white-space: nowrap;
}

.section-header .line {
	flex: 1;
	height: 3px;
	background-color: #ffffff;
	border-radius: 999px;
	opacity: 0.8;
}

/* the line */
/*.section-header::after {
	content: "";
	flex: 1;
	height: 2px;
	background: #05FFF7;
	margin-left: 15px;
}*/

/* =========================
   STORY SECTION RESPONSIVE
   ========================= */

.story-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	/*max-width: 1200px;*/
	margin: 0 auto;
	/*padding: 40px 20px;*/
}

.story-text {
	color: #fff;
}

.story-text p {
	margin-bottom: 16px;
	line-height: 1.6;
	opacity: 0.9;
}

/* Responsive video wrapper */
.video-wrapper {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 aspect ratio */
	background: #000;
	border-radius: 6px;
	overflow: hidden;
}

/* YouTube iframe */
.video-wrapper iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 768px) {
	.story-section {
		grid-template-columns: 1fr;
	}
}

/* =========================
   NEWS SECTION (SCOPED)
   ========================= */

.news-section {
	/*max-width: 1200px;*/
	margin: 0 auto;
	/*padding: 40px 20px;*/
}

/* Outer layout: featured left, 2x2 grid right */
.news-section .news-layout {
	display: grid;
	grid-template-columns: 1.35fr 1fr; /* tweak this ratio to taste */
	gap: 14px;
	align-items: stretch; /* important: makes featured match right-side height */
}

/* Right side 2x2 squares */
.news-section .news-side {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	align-content: stretch;
}

/* Card base */
.news-section .news-card {
	position: relative;
	display: block;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: #fff;

	background-image: var(--bg);
	background-size: cover;
	background-position: center;

	/*border: 1px solid rgba(255,255,255,0.14);*/

	/* ✅ ADDED: game-card style hover animation */
	/*transition: transform 220ms ease, box-shadow 220ms ease;*/
	will-change: transform;
}

/* Small cards are square */
.news-section .news-card--small {
	aspect-ratio: 1 / 1;
	width: 100%;
}

/* Featured card fills available height (becomes rectangle like your example) */
.news-section .news-card--featured {
	height: 100%;
	min-height: 280px; /* helps if content is short / on narrow screens */
}

/* Overlay gradient for readability */
.news-section .news-card__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;

	background: linear-gradient(
			to top,
			rgba(0,0,0,0.75) 0%,
			rgba(0,0,0,0.35) 45%,
			rgba(0,0,0,0.05) 100%
	);

	transition: background 220ms ease;
}

.news-section .news-card__content {
	padding: 14px;
	width: 100%;
}

.news-section .news-card__title {
	color: #fff;
	margin: 0 0 6px 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.news-section .news-card--featured .news-card__title {
	font-size: 18px;
}

.news-section .news-card__summary {
	margin: 0;
	font-size: 13px;
	line-height: 1.35;
	opacity: 0.92;

	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-section .news-card--featured .news-card__summary {
	-webkit-line-clamp: 4;
}

/* ✅ ADDED: game-card style hover effect */
.news-section .news-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.55);
}

/* ✅ ADDED: darken overlay on hover (same vibe as game cards) */
.news-section .news-card:hover .news-card__overlay {
	background: linear-gradient(
			to top,
			rgba(0,0,0,0.90) 0%,
			rgba(0,0,0,0.45) 45%,
			rgba(0,0,0,0.10) 100%
	);
}

/* Keep your existing soft highlight */
.news-section .news-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255,255,255,0.06);
	opacity: 0;
	transition: opacity 180ms ease;
}

.news-section .news-card:hover::after,
.news-section .news-card:focus-visible::after {
	opacity: 1;
}

.news-section .news-card:focus-visible {
	outline: 2px solid rgba(255,255,255,0.5);
	outline-offset: 2px;
}

/* Responsive */
@media (max-width: 992px) {
	.news-section .news-layout {
		grid-template-columns: 1fr;
	}

	.news-section .news-card--featured {
		height: auto;
	}
}

@media (max-width: 576px) {
	.news-section .news-side {
		grid-template-columns: 1fr;
	}
}



/* FULL NEWS */

.fullnews .news-date {
	padding-top: 20px;
	font-size: 9pt;
	color: darkgrey;
}

.fullnews .news-header {
	padding-bottom: 20px;
}

.fullnews .news-image-container {
	color: #ffffff;
	height: 400px;
	width: 600px;
	padding: 0;
	/*overflow: hidden;
	float: left;*/
	position: relative;
	min-height: 1px;
	box-sizing: border-box;
	margin: 0 auto;
}

.fullnews .news-image {
	/*background-image: url('/ubisoft/img/newspostdark.jpg');*/
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	height: 400px;
	width: 100%;
}

.fullnews .news-image img {
	max-height: 400px;
	max-width: 100%;
}



/* =========================
   GAME CARDS – FINAL STYLE
   ========================= */

.game-cards .game-cards__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

/* Whole card link */
.game-cards .game-cards__card {
	text-decoration: none;
	color: #fff;
	display: block;
}

/* Image container */
.game-cards .game-cards__image {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;

	background-image: var(--bg);
	background-size: cover;
	background-position: center;

	/*border: 1px solid rgba(255,255,255,0.14);*/

	transition:
			transform 220ms ease,
			box-shadow 220ms ease;
}

/* Always-visible overlay */
.game-cards .game-cards__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;

	background: linear-gradient(
			to top,
			rgba(0,0,0,0.75) 0%,
			rgba(0,0,0,0.35) 45%,
			rgba(0,0,0,0.05) 100%
	);

	transition: background 220ms ease;
}

/* Bottom-left overlay text */
.game-cards .game-cards__overlay-text {
	padding: 12px 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* Name under the image (centred) */
.game-cards .game-cards__name {
	margin-top: 8px;
	text-align: left;
	font-size: 20px;
	letter-spacing: 0.08em;
	/*text-transform: uppercase;*/
	opacity: 0.9;
	color: #C7F36B;
}

/* Hover effects */
.game-cards .game-cards__card:hover .game-cards__image {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.55);
}

.game-cards .game-cards__card:hover .game-cards__overlay {
	background: linear-gradient(
			to top,
			rgba(0,0,0,0.9) 0%,
			rgba(0,0,0,0.45) 45%,
			rgba(0,0,0,0.1) 100%
	);
}

/* Keyboard accessibility */
.game-cards .game-cards__card:focus-visible .game-cards__image {
	outline: 2px solid rgba(255,255,255,0.6);
	outline-offset: 3px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 992px) {
	.game-cards .game-cards__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 576px) {
	.game-cards .game-cards__grid {
		grid-template-columns: 1fr;
	}
}

/* =========================
   HERO BOXED (SCOPED)
   ========================= */


.hero-box {
	padding: 24px 20px;            /* space around the box */
}

.hero-box .hero-box__inner {
	max-width: 1200px;             /* matches your other sections */
	margin: 0 auto;
}

/* The framed video card */
.hero-box .hero-box__video {
	position: relative;
	width: 100%;
	max-width: 1200px;              /* ✅ makes it a centered “hero card” */
	margin: 0 auto;                /* center it */
	aspect-ratio: 16 / 9;

	border-radius: 8px;
	overflow: hidden;
	background: #000;
	border: 1px solid rgba(255,255,255,0.14);
}

/* Optional subtle overlay tint (remove if you don’t want it) */
.hero-box .hero-box__video::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.18);
	pointer-events: none;
}

/* iframe */
.hero-box .hero-box__video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 576px) {
	.hero-box .hero-box__video {
		border-radius: 6px;
		max-width: 100%;
	}
}

/* =========================
   SOCIALS (SCOPED)
   ========================= */

.socials {
	/*max-width: 1200px;*/
	margin: 0 auto;
	padding: 40px 20px;
}

/* Grid – 6 across on desktop */
.socials .socials__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 16px;
	justify-items: center;
}

/* Card */
.socials .socials__card {
	width: 72px;
	aspect-ratio: 1 / 1;
	border-radius: 10px;

	display: flex;
	align-items: center;
	justify-content: center;

	font-size: 26px;
	color: #fff;
	text-decoration: none;

	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.18);

	transition:
			transform 180ms ease,
			box-shadow 180ms ease,
			background-color 180ms ease;
}

/* Hover / focus */
.socials .socials__card:hover,
.socials .socials__card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0,0,0,0.45);
	outline: none;
}

/* Brand hover colours */
.socials .socials__card--facebook:hover { background:#1877f2; }
.socials .socials__card--x:hover        { background:#0f1419; }
.socials .socials__card--instagram:hover {
	background: radial-gradient(circle at 30% 107%,
	#fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.socials .socials__card--youtube:hover  { background:#ff0000; }
.socials .socials__card--twitch:hover   { background:#9146ff; }
.socials .socials__card--tiktok:hover   { background:#000; }

/* Accessibility focus ring */
.socials .socials__card:focus-visible {
	box-shadow: 0 0 0 2px rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 992px) {
	.socials .socials__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 576px) {
	.socials .socials__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* =========================
   RECENT STORIES
   ========================= */

.recent-stories {
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 20px;
}

.recent-stories__title {
	color: #fff;
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 16px 0;
}

.recent-stories__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

/* Card */
.recent-stories__card {
	display: block;
	text-decoration: none;
	color: #111;
	border-radius: 8px;
	overflow: hidden;

	background: #fff;
	box-shadow: 0 8px 24px rgba(0,0,0,0.35);

	transition: transform 200ms ease, box-shadow 200ms ease;
}

.recent-stories__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.55);
}

/* Top image */
.recent-stories__card::before {
	content: "";
	display: block;
	aspect-ratio: 16 / 9;
	background-image: var(--bg);
	background-size: cover;
	background-position: center;
}

/* Text area */
.recent-stories__overlay {
	padding: 12px 12px 14px 12px;
	background: #fff;
}

.recent-stories__card-title {
	font-weight: 800;
	font-size: 18px;
	margin: 0 0 6px 0;
	line-height: 1.2;
}

.recent-stories__card-summary {
	font-size: 13px;
	line-height: 1.35;
	color: #333;

	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Responsive */
@media (max-width: 992px) {
	.recent-stories__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 576px) {
	.recent-stories__grid {
		grid-template-columns: 1fr;
	}
}


















#title {
	height: 48px;
	background-image: url('/images/logo-bg.gif');
	padding: 0 1px;
}

#navigation {
	clear: both;
	background-color: #042F44;
	width: 1400px;
	margin:auto;
	/*border-top: 1px solid #f07c02;*/
}

#quote {
	height: 32px;
	background-image: url('/images/quote-bg.gif');
}

#quote p {
	margin: 0;
	padding: 7px 8px;
	font-style: italic;
	font-size: 1.1em;
	text-align: right;
}

#content {
	/*background-color: #FFFFFF;*/
	padding: 10px 20px;
	min-height: 643px;
	font-size: 18px;
	max-width: 1400px;
	margin: 0 auto;
}

a {
	text-decoration: none;
	color: #004C97;
}

a:hover {
	color: #004C97;
	text-decoration: underline;
}

/* Modal boxes */

.modal-header, .modal-body, .modal-footer {
	/*background-color: rgba(25,19,19,.5);*/
}

.helpmodal:hover {
	cursor: pointer;
	cursor: hand;
}

.accordion-header h2 {
	font-size: 0;
	line-height: 0;
	margin: 0;
}

/* Calendar */
.calendar-full-width {
	width:100%;
/*	width: 90vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -45vw;
	margin-right: -45vw;*/
}

.notifications {
	/*position: absolute;*/
	top: -10px;
	right: -10px;
	padding: 5px 10px;
	border-radius: 50%;
	background: white;
	color: black;
}

/* Signup form */

.signupdetails #gender {
	width: 500px;
}

.signupdetails #pronoun {
	width: 500px;
}

.signupdetails #country_id {
	width: 500px;
}

.signupdetails #nationality_id {
	width: 500px;
}


/* Teams */

#team-wrapper {
	width: 100%;
	display: flex;
}

#player-wrapper {
	width: 100%;
	display: flex;
}

.team-banner {
	/*height: 300px;
	width: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
	position: relative;
	z-index: 0; }

.team-banner .team-banner-background {
	width: 100%;
	z-index: -1;
	position: relative; }

.team-banner .team-banner-background img {
	width: 100%;
	opacity: 0.5;
	display: block; }

.team-banner .team-banner-background .banner-image {
	height: 200px;
	object-fit: cover; }

.team-banner .team-banner-content {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 2;
	box-sizing: border-box;
	padding: 1em 0;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); }

.team-logo {
	margin: 0 auto;
	display: block;
	object-fit: scale-down;
	max-height: 100%;
	height: 100%; }

.team-info {
	padding: 1em;
	width: 49%;
	float: left;
	position: relative;
	min-height: 1px;
	box-sizing: border-box;
	font-size: 1.4rem;
	background-color: #ededed;
	min-height: 300px;
	margin-bottom: 25px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	margin-right: 25px;
}

.team-matches {
	padding: 1em;
	width: 49%;
	float: left;
	position: relative;
	min-height: 1px;
	box-sizing: border-box;
	font-size: 1.4rem;
	background-color: #ededed;
	min-height: 300px;
	margin-bottom: 25px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.team-matches img {
	object-fit: scale-down;
	max-height: 50px;
}

.team-players {
	padding: 1em;
	width: 100%;
	float: left;
	position: relative;
	min-height: 1px;
	box-sizing: border-box;
	font-size: 1rem;
	margin-bottom: 25px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

.team-players a {
	color: var(--epic-orange);
}

.team-players a:hover {
	color: var(--epic-orange);
	text-decoration: underline;
}

.team-players .player-profile-image img {
	max-width: 130px;
	max-height: 130px;
	border-radius: 50%;
}

.team-info-social {
	position: absolute;
	bottom: 0;
}

.team-social {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

.team-website{
	padding-bottom: 10px;
}

.team-social img {
	/*background-color: #292d31;*/
	margin-right: 5px;
	fill: currentColor;
	height: 22px;
	width: 22px;
}

.team-social-link {
	display: flex;
	padding-right: 10px;
}

.team-info a {
	color: #3abda9;
}

.team-info a:hover {
	color: #3abda9;
	text-decoration: underline;
}

.player-social-link {
	display: flex;
	justify-content: center;
}

.player-social img {
	background-color: #292d31;
	margin-right: 5px;
}

.player-info {
	text-align: center;
}

.player-profile-top .player-profile-image .player-profile-image-logo {
	margin: 0 auto;
	object-fit: scale-down;
	max-height: 150px;
	max-width: 150px;
	border-radius: 50%;
}


/* Team Profiles */

.team-profile-top {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;

}

.team-profile-image-logo {
	margin: 0 auto;
	object-fit: scale-down;
	max-height: 150px;
	max-width: 150px;
	/*float:left;*/
	margin-right: 20px;
}

.team-profile-image-logo-edit {
	margin: 0 auto;
	object-fit: scale-down;
	max-height: 150px;
	max-width: 150px;
}

.team-profile-social {
	display: flex;
	padding-right: 10px;
}

.team-social {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

.team-social img {
	margin-right: 5px;
	fill: currentColor;
	height: 22px;
	width: 22px;
}

.team-social-link {
	display: flex;
	padding-right: 10px;
	align-items: center
}

.team-social-link .bi {
	color: black;
	padding-right: 3px;
	font-size: 1.2rem
}

.team-flag {
	display: flex;
	align-items: center;
}
.team-flag .team-flag-country {
	padding-left: 5px;
}

.team-details {
	margin-left: 10px;
	flex-wrap: wrap;
	display: flex;
	flex-direction: column;
	line-height: 170%;
}

/* User Profiles */

.player-profile-image {
	min-height: 150px;
	min-width: 150px;
	text-align: center;
}

.player-profile-top {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;

}

/*.player-profile-image-logo {
	margin: 0 auto;
	object-fit: scale-down;
	max-height: 150px;
	max-width: 150px;
	!*float:left;*!
	margin-right: 20px;
}*/

.player-profile-image-logo-edit {
	margin: 0 auto;
	object-fit: scale-down;
	max-height: 150px;
	max-width: 150px;
}

.player-profile-social {
	display: flex;
	padding-right: 10px;
}

.player-social {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

.player-social img {
	margin-right: 5px;
	fill: currentColor;
	height: 22px;
	width: 22px;
}

.player-social-link {
	display: flex;
	padding-right: 10px;
	align-items: center
}

.player-social-link .bi {
	color: black;
	padding-right: 3px;
	font-size: 1.2rem
}

.user-flag {
	display: flex;
	align-items: center;
}
.user-flag .user-flag-country {
	padding-left: 5px;
}

.user-details {
	margin-left: 10px;
	flex-wrap: wrap;
	display: flex;
	flex-direction: column;
}



/* Navbar */

/* ---------- Header: one bar with logo + HP on the left, menu on the right ---------- */
#masthead { display: none; } /* old separate logo row, not used */
.navbar-container {
	background: var(--se-deep);
	border-bottom: 3px solid var(--se-steel);
}
.navbar-container .navbar { padding: 14px 0; }
.navbar-container .container {
	max-width: 1280px;
	padding: 0 32px;
	flex-wrap: wrap;
	gap: 16px 40px;
}
.se-brandlock { display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; }
.se-brandlock .se-logo { height: 42px; width: auto; display: block; }
.se-brandlock .se-divider { display: block; width: 1px; height: 34px; background: var(--se-soft); opacity: 0.6; }
.se-brandlock .se-hp { height: 34px; width: auto; display: block; }
.se-brandlock .se-ph { width: 104px; height: 40px; white-space: nowrap; }
.navbar-container .navbar-nav { gap: 4px 36px; align-items: center; }
.navbar-container .nav-link {
	font-family: var(--se-head);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #FFFFFF;
	min-height: 44px;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 !important;
}
.navbar-container .nav-link:hover,
.navbar-container .nav-link:focus,
.navbar-container .nav-link.show { color: var(--se-soft); }
.navbar-container .dropdown-menu {
	border: 0;
	border-top: 3px solid var(--se-steel);
	border-radius: 0 0 8px 8px;
	padding: 8px 0;
	margin-top: 14px !important;
	background: #FFFFFF;
	box-shadow: 0 8px 24px rgba(0, 38, 76, 0.18);
}
.navbar-container .dropdown-item { font-family: var(--se-body); font-size: 16px; color: var(--se-ink); padding: 8px 18px; }
.navbar-container .dropdown-item:hover { background: var(--se-soft); color: var(--se-blue); }
.navbar-container .navbar-toggler { border-color: rgba(255,255,255,0.5); padding: 6px 10px; }
.navbar-container .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(70,130,180,0.6); }
.navbar-container .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 991.98px) {
	.navbar-container .container { gap: 12px; }
	.navbar-container .navbar-nav { align-items: flex-start; gap: 0; padding: 8px 0 4px; }
	.navbar-container .dropdown-menu { margin-top: 0 !important; box-shadow: none; }
}

/* ---------- Banner ---------- */
.se-banner { border-bottom: 1px solid var(--se-mist); }
.se-banner img { display: block; width: 100%; height: auto; }



/* ==========================================================
   Navbar partner logos (after the BFBS logo)

   1200px and up:  inline in the desktop bar, compact (the
                   logged-in menu leaves roughly 260px spare)
   576px - 1199px: inline in the collapsed (hamburger) bar
   Under 576px:    stacked underneath the BFBS logo
   ========================================================== */

.navbar-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.navbar-partners {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin: 0 1rem;
	padding: 0.25rem 0 0.25rem 1rem;
	border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.navbar-partners__link {
	display: block;
	line-height: 0;
}

.navbar-partners__link:focus-visible {
	outline: 2px solid #D7FB74;
	outline-offset: 4px;
}

.navbar-partners__logo {
	display: block;
	width: auto;
}

/* Valarian's wordmark fills about half its canvas height and
   Wifinity's fills almost all of it, so the heights differ to
   make them look the same size. */
.navbar-partners__logo--valarian { height: 30px; }
.navbar-partners__logo--wifinity { height: 20px; }

@media (min-width: 1200px) {
	.navbar-partners {
		gap: 1rem;
		margin: 0 0.75rem;
		padding-left: 0.75rem;
	}

	.navbar-partners__logo--valarian { height: 24px; }
	.navbar-partners__logo--wifinity { height: 16px; }
}

/* Small phones: no room beside the menu button, so stack the
   partners under the BFBS logo (still inside the 104px bar). */
@media (max-width: 575.98px) {
	.navbar-logo {
		flex-direction: column;
		justify-content: center;
	}

	.navbar-logo .nav-link {
		padding-top: 0;
		padding-bottom: 0.375rem;
	}

	.navbar-partners {
		gap: 0.75rem;
		margin: 0;
		padding: 0;
		border-left: 0;
	}

	.navbar-partners__logo--valarian { height: 24px; }
	.navbar-partners__logo--wifinity { height: 16px; }
}


/* NEW secondary navigation */

.secondarynavtop {
	text-align: center;
}

.secondarynavtop li a {
	color: black;
}

.secondarynavtop li a:hover {
	color: #004C97;
	text-decoration: none;
	transition: color 0.75s;

}

.secondarynavtop li {
	display: inline-block;
/*	color: black;
	text-align: center;
	padding: 10px 14px;
	text-decoration: none;
	font-size: 0.8rem;
	border-radius: 30px;
	border-style: solid;
	border-color: #e0e0e0;
	border-width: thin;
	!*background-color: rgba(25,19,19);*!
	background-color: #eeeeee;*/
	/*background-color: rgba(51,51,51,0.5);*/
	margin-bottom: 10px;
/*	margin-left: 10px;
	margin-right: 10px;*/
}

.secondarynavtop li.selected a {
	color: #004C97;
	/* background-color: rgba(25,19,19);*/
	/*background-color: #333333;*/
	/* background-color: rgba(51,51,51,0.5);*/
}

.secondarynavtop .selected {
	display: inline-block;
}

.secondarynavtop .selected li a {
	color: var(--epic-orange);
}

.secondarynavtop a:active {
	/*    background-color: dodgerblue;
        color: white;*/
}

.secondarynavtop ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.secondarynavtop ul li {
	display: inline-block;
}

/*.secondarynavtop ul li + li::before {
	content: " - ";
	margin: 0 8px 0 4px;
}*/

/* Generic Content Styles */

#content .center {
	text-align: center;
}

#content h1 {
	font-family: 'euclidcirculara-semibold', sans-serif;
	font-size: 36px;

	line-height: 1.5em;
	margin-top: 0;
}

#content h2 {
	font-family: 'euclidcirculara-bold', sans-serif;
	font-size: 24px;

}



#content h1, #content h2, #content h3, #content h4, #content h5, #content h6, p,
#content blockquote, #content form, #content label, #content ul, #content ol,
#content dl, #content fieldset, #content address {
	margin: 0.5em 0;
	font-family: 'euclidcirculara-regular', sans-serif;
}

#content h1 a:hover, #content h2 a:hover, #content h3 a:hover, #content h4 a:hover, #content h5 a:hover, #content h6 a:hover {
	text-decoration: none;
}

#content h2 {
	font-size: 1.7em;
	line-height: 1.4em;
}

#content h3 {
	font-size: 1.5em;
	line-height: 1.6em;
}

#content h4 {
	/*font-size: 1.4em;*/
	line-height: 1.5em;
	margin-top: 10px;
}

#content h5 {
	font-size: 13pt;
	line-height: 1.6em;
}

#content .orange {
	color: #00b8ee;
}

#content p {
	line-height: 1.5em;
	margin: 10px 0;
}

#content strong, #content .strong {
	font-weight: bold;
}

#content em {
	font-style: italic;
}

#content .grey {
	color: #c0c0c0;
}

#content span.highlight {
	background-color: #00b8ee;
	border-bottom: 1px dotted #ffffff;
	border-top: 1px dotted #ffffff;
	color: #ffffff;
	font-weight: bold;
	padding: 2px 3px;
}

#content blockquote {
	background-color: #fefbf3;
	border: 1px solid #cccccc;
	padding: 10px;
}

#content blockquote.quote {
	background-color: #ffffff;
	background-image: url('/images/quote.gif');
	background-repeat: no-repeat;
	border: none;
	color: #999999;
	padding: 6px 10px 10px 65px;
}

#content div.hr {
	background-image: url('/images/dotted-line.png');
	height: 1px;
	margin: 10px 0;
}

#content pre {
	background: #eeeeee;
	border-left: 5px solid #cccccc;
	color: #777777;
	margin: 0.5em 0;
	padding: 10px;
}

#content .morelink {
	text-align: right;
}

#content .epicText {
	font-weight: bold;
	color: #00b8ee;
}

#content .clear {
	clear: both;
}

#content .clear_left {
	clear: left;
}

/* Lists */

#content ul li {

}

#content ul.li-arrow li {
	background-image: url('/images/li-1.png');
}

#content ul.li-arrow2 li {
	background-image: url('/images/li-2.png');
}

#content ul.li-arrow3 li {
	background-image: url('/images/li.png');
}

#content ul.li-plus li {
	background-image: url('/images/li-plus.gif');
	background-position: 7px 7px;
}

#content ul.li-exclamation li {
	background-image: url('/images/exclamation.png');
	padding: 4px 0 0 25px;
	margin-left: 0;
}

#content ol {
	padding: 0;
}

#content ol li {
	padding: 2px 0 2px 5px;
	list-style-type: decimal;
	list-style-position: inside;
	margin-left: 1em;
	color: #00b8ee;
}

#content ol li span {
	color: #666666;
}

#content ul.horizontal li {
	float: left;
	background-image: none;
	padding: 2px;
	margin: 0 10px 0 0;
}

#content dl {
	display: block;
	clear: both;
}

#content dt {
	width: 200px;
	font-weight: bold;
	float: left;
	padding: 4px 0;
	clear: left;
	margin-left: 1em;
}

#content dd {
	width: auto;
	padding: 4px 0;
}

#content dl.star dt {
	padding-left: 23px;
	background-image: url('/images/li-star.gif');
	background-repeat: no-repeat;
	background-color: transparent;
	background-position: 5px 5px;
}
/* Flash Notices */

#content div.error {
	background-color: #ffcfab;
	border-left: 5px solid #b40300;
	color:#b40300;
	padding: 5px 7px;
}

#content div.notice {
	background-color: #daf7d4;
	border-left: 5px solid #c1ee71;
	color: #7e8e50;
	padding: 5px 7px;
}


/* Paragraphs */

#content p.error {
	background-color: #ffcfab;
	border-left: 5px solid #b40300;
	color:#b40300;
	padding: 5px 7px;
}

#content p.notice, #content div.notice {
	background-color: #daf7d4;
	border-left: 5px solid #c1ee71;
	color: #7e8e50;
	padding: 5px 7px;
}

#content p.tip {
	background-color: #ffffcc;
	border-left: 5px solid #ffe78b;
	color: #ff9900;
	padding: 5px 7px;
}

#content p.help {
	background-color: #dee8ff;
	border-left: 5px solid #b8d9ff;
	color: #6699ff;
	padding: 5px 7px;
}

#content p.lightgreen {
	background-color: #daf7d4;
	border: 1px solid #c1ee71;
	color: #7e8e50;
	padding: 5px 7px;
}

#content p.lightorange {
	background-color: #ffffcc;
	border: 1px solid #ffe78b;
	color: #ff9900;
	padding: 5px 7px;
}

#content p.lightblue {
	background-color: #dee8ff;
	border: 1px solid #b8d9ff;
	color: #6699ff;
	padding: 5px 7px;
}

#content p.lightgrey {
	background-color: #eeeeee;
	border: 1px solid #cccccc;
	color: #999999;
	padding: 5px 7px;
}

#content p.whitedotted {
	border: 1px dashed #00b8ee;
	color: #00b8ee;
	padding: 5px 7px;
}

#content p.lushorange {
	padding: 6px 7px;
	color: #ffffff;
	background-image: url('/images/nav-bg.gif');
	background-repeat: repeat-x;
	background-color: #00b8ee;
}

#content p.lushgrey {
	padding: 5px 7px;
	color: #ffffff;
	border: 1px solid #999999;
	background-image: url('/images/lushgrey.png');
	background-repeat: repeat-x;
	background-color: #9b9b9b;
}

/* Styled Divs */

#content h3.styled {
	color: #ffffff;
	font-weight: bold;
	background-color: #00b8ee;
	background-image: url('/images/nav-bg.gif');
	margin-bottom: 0;
	font-size: 12px;
	line-height: 17px;
	padding: 4px 5px;
}

#content div.odd, #content div.even {
	margin-top: 0;
	padding: 5px;
}

/* Tables */

#content table.styled {
	width: 100%;
}

#content table.styled th {
	color: #ffffff;
	font-weight: bold;
	background-color: #004C97;
	padding: 4px 0;
	height: 20px;
}

#content table.styled th a {
	color: #004C97;
	text-decoration: none;
}

#content table.styled td {
	border-bottom: 1px solid #004C97;
	padding: 4px 0;
	height: 20px;
	color:black;
}

#content table.styled td a {
	color: #004C97;
}

#content table.styled th {
	text-indent: 5px;
}

#content table.styled td {
	padding-left: 5px;
}

#content tr.odd, #content div.odd {
	background-color: #f1f1f1;
}

#content tr.even, #content div.event {
	background-color: #f6f6f6;
}

#content table.styled tr:hover {
	background-color: #e9e9e9;
}

#content th a.arrow {
	background-image: url('/images/haschild.gif');
	background-repeat: no-repeat;
	background-position: right 7px;
	padding-right: 15px;
}

#content th.center a.arrow {
	padding-left: 15px;
}

#content table.items td {
	vertical-align: top;
}

#content table.items .price {
	font-weight: bold;
	font-size: 13pt;
}

/* Events Bar */

div.events_bar {
    background: none repeat scroll 0 0 #eee;
    color: #333;
	font-family: 'euclidcirculara-regular', sans-serif;
    font-size: 0.75rem;
    line-height: 1.5rem;
    padding: 0;
    position: absolute;
    text-transform: uppercase;
    top: 0;
    width: 100%;
    z-index: 10;
}

div.events_container {
	width: 990px;
	text-align: right;
	margin: 0 auto;
}

div.events_container a {
	display: inline-block;
	margin: 0.5rem 0 0.5rem 0.5rem;
}

strong {
	font-weight: bold;
}

div.events_container a.active {
	color: #34b3a2;
	font-weight: bold;
}

.pull-right {
	float: right;
}

/* Forms */

form {
	position: relative;
}

#content input[type='text'], #content input[type='password'], #content select, #content input[type='email'] {
	padding: 0.45rem 0.35rem;
	border: 1px solid #ccc;
	background-color: f9f9f9;
}

#content input[type='text'], #content input[type='password'], #content input[type='email'] {
	width: 300px;
}

#content input[type='submit'] {
    background-color: #004C97;

    border-width: 2px;
	border-style: solid;
	/*-webkit-border-image: -webkit-gradient(linear,left top,left bottom,from(#ff336a),color-stop(#ff56bc),to(#ff9033));
	-webkit-border-image: linear-gradient(180deg,#ff336a,#ff56bc,#ff9033);
	border-image: -webkit-gradient(linear,left top,left bottom,from(#ff336a),color-stop(#ff56bc),to(#ff9033));
	border-image: linear-gradient(180deg,#ff336a,#ff56bc,#ff9033);*/
	border-image-slice: 100%;
	border-image-slice: 1;
	border-radius: 0;

    color: #fff;
    display: inline-block;
	font-family: 'euclidcirculara-regular', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    /*padding: 8px 16px;*/
    line-height: 34px;
	min-height: 48px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    transition: background 0.2s ease 0s;
    white-space: nowrap;
    overflow: visible;
	padding: 6px 12px;
  /*  width: 7rem;*/

}

#content button:hover, #content input[type='submit']:hover {
	background-color: #ffffff !important;
	color: #000000 !important;
}

#content input[type='submit'].disabled {
	background-color: #c0c0c0 !important;
	cursor: default !important;
}

#content input[type='submit'].disabled:hover {
	background-color: #c0c0c0 !important;
	cursor: default !important;
}

.progress li {
	float: left;
	display: block;
	width: 33%;
	padding: 2px 0 !important;
	margin: 0 !important;
	background-image: none !important;
	font-family: 'euclidcirculara-regular', sans-serif;
	text-transform: uppercase;
	text-align: center;
	font-weight: bold;
	border-bottom: 10px solid #c0c0c0;
	font-size: 1rem;
}

.progress li.completed {
	border-bottom: 10px solid #111111;
}

.progress li.active {
	border-bottom: 10px solid #3dbb95;
	color: #3dbb95;
}
.progress {
	height: 30px;
}

/*#content button:hover, #content input[type='submit']:hover {
    background-color: #111111;
    color: #fff;
    cursor: pointer;
}*/

#content label {
	font-weight: bold;
}

#content label.plain {
	font-weight: normal;
}

#content .items label.plain {
	margin-top: 0;
}

#content .checkbox label {
	font-weight: normal;
}

#content div.terms {
	height: 200px;
	overflow-y: scroll;
	border: 1px solid #cccccc;
	padding: 5px;
}

#content textarea {
	background-color: #f3f3f1;
	background-image: url('/images/input-bg.jpg');
	background-position: top left;
	background-repeat: repeat-x;
	border: 1px solid #c0c0c0;
	padding: 3px;
}

#content textarea.large {
	width: 100%;
	height: 200px;
}

#content input[type='text'].smalltextbox, #content input[type='password'].smalltextbox {
	width: 100px;
}

#content td.emptytable {
	height: 40px;
	vertical-align: middle;
	text-align: center;
	background-color: #f1f1f1;
}

/* Front Page */

.fpmodule {
	width: 505px;
	height: 240px;
	margin-right: 10px;
	margin-bottom: 10px;
	float: left;
	background-color: #e9e9e9;
	background-image: url('/images/nextevent_bg.png');
	position: relative;
	background-position: top right;
	background-repeat: no-repeat;
}
.fpleft, .fpright {
	background-repeat: no-repeat;
	height: 240px;
	top: 0;
	position: absolute;
	width: 5px !important;
	z-index: 10000;
}

.fpright {
	background-image: url('/images/rightside240.png');
	right: 0;
}

.fpleft {
	background-image: url('/images/leftside240.png');
	left: 0;
}

.nextevent p {
	padding: 5px 10px;
	font-size: 14pt;
	font-weight: bold;
	margin: 5px !important;
}

.media2 {
	width: 120px;
	height: 240px;
	position: relative;
	margin-bottom: 10px;
	float: left;
	margin-right: 10px;
}

/* News Slideshow */

#news_slideshow {
	width: 300px;
	height: 240px;
	position: relative;
	float: left;
}

#news_slideshow ul {
	position: absolute;
	top: 0;
	right: 0;
	margin: 5px;
	z-index: 10;
}

#news_slideshow ul li.slideshow {
	float: left;
	width: 30px;
	height: 20px;
	overflow: hidden;
	margin: 2px 2px 0 0;
	background-image: none;
	padding: 0;
}

#news_slideshow ul li.slideshow a {
	display: block;
	width: 30px;
	height: 20px;
	background-image: url('/images/slideshow-buttons.png');
}

#news_slideshow ul li.slideshow a:hover, #news_slideshow ul li.current a {
	background-position: 0 20px;
}

#news_slideshow > div {
	width: 300px;
	height: 240px;
	position: absolute;
	overflow: hidden;
}

#news_slideshow h1 {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 2px 5px;
	background-image: url('/images/opaque.png');
}

.news_slideshow_body {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #ffffff;
	font-size: 1.5em;
	font-weight: bold;
	width: 300px;
	background-image: url('/images/opaque.png');
}

.news_slideshow_body p {
	padding: 3px 6px;
	margin: 0 !important;
}

/* News */

.news-content img[width='300'] {
	margin-left: 20px;
	margin-bottom: 20px;
}

.article-header {
	background-image: url('/images/dotted-line.png');
	background-repeat: repeat-x;
	background-position: bottom left;
	clear: both;
	padding-top: 5px;
	margin-bottom: 5px;
	padding-bottom: 5px;
	margin-top: 5px;
}

.article-header p {
	margin: 5px 0 0 0 !important;
	font-size: 10px;
}

.article-header h2, .article-header h1 {
	margin: 0 !important;
	line-height: 1.35em !important;
}

.news-footer {
	background-image: url('/images/dotted-line.png');
	background-repeat: repeat-x;
	background-position: top left;
	height: 20px;
	padding-top: 1px;
	margin-bottom: 30px;
	clear: both;
	padding-bottom: 20px;
}

.news-footer ul {
	float: left;
	margin: 0 !important;
}

.news-footer p {
	float: right;
	text-align: right;
	margin: 0 !important;
}

.news-footer ul.social li a {
	display: block !important;
	height: 16px !important;
	width: 16px !important;
	background-position: -16px 0 !important;
}

.news-footer ul.social a:hover {
	background-position: 0 0 !important;
}

.news-footer ul.social li, .news-footer ul.tags li {
	background-image: none !important;
	padding: 0 !important;
	margin: 2px !important;
	float: left !important;
}

.tags {
	clear: both;
}

.tags li {
	width: auto;
	padding: 1px;
}

.tags li a {
	width: auto;
	display: block;
	margin-left: 10px;
}

.post-title {
	font-size: 1.5em;
}

/* Seating Plan */

.seating_plan_v1 {
	border: 1px solid #c0c0c0;
	position: relative;
	background-image: url('/images/seating.png');
	background-position: top left;
	background-repeat: no-repeat;
}

.seating_plan_v2 {
	border: 1px solid #c0c0c0;
	position: relative;
	overflow: visible;
}

.seating_plan_1 {
	background-image: url('/images/seating.png');
}

.seating_plan_2 {
	background-image: url('/images/seating2.png');
}

.seating_plan_3 {
	background-image: url('/images/seating3.png');
}

.seat {
	border: 1px solid #c0c0c0;
	text-align: center;
	position: absolute;
	padding: 1px 2px;
	width: 30px;
	height: 18px;
	cursor: pointer;
	background-color: #ffffff;
}

.seating_plan_v2 .seat {
	width: 8px;
	height: 10px;
}

.seat:hover {
	border: 1px solid #00b8ee;
}

.seat_label {
	position: absolute;
	padding: 0 8px 9px 0;
	height: 18px;
	z-index: 500;
	background-image: url('/images/shadow.png');
	background-position: bottom right;
	background-repeat: repeat-y;
	white-space: nowrap;
}

.seat_label div {
	padding: 1px 3px;
	border: 1px solid #cccccc;
	background-color: #ffffff;
	background-image: url('/images/input-bg.jpg');
	background-position: bottom left;
	background-repeat: repeat-x;
}

.seat_taken {
	background-color: #ffcfab;
}

.seat_available {
	background-color: #daf7d4;
}

.seat_disabled {
	background-color: #eeeeee;
}

.seat_info {
	z-index: 3000000;
	position: fixed;
	
	background-color: #ffffff;
	background-image: url('/images/input-bg.jpg');
	background-position: bottom left;
	background-repeat: repeat-x;
	border: 1px solid #c0c0c0;
	
	padding: 0 5px 5px 5px;
	
	top: 50%;
	left: 50%;
	margin-left: -135px;
	margin-top: -58px;
	width: 270px;
	height: 116px;
}

.seat_info_close {
	width: 16px;
	height: 16px;
	top: 1px;
	right: 1px;
	position: absolute;
	background-image: url('/images/close.png');
	background-position: 0 -16px;
	background-repeat: no-repeat;
	cursor: pointer;
}


.seat_info_close:hover {
	background-position: 0 0;
}

#blackout {
	background-image: url('/images/opaque.png');
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2000000;
}

.devnotice {
	width: 100%;
	background-color: #00b8ee;
	text-align: center;
	color: #ffffff;
	font-weight: bold;
	padding: 2px 0;
	font-size: 12px;
	border-bottom: 1px solid #000000;
}

#content .right {
	text-align: right;
}

td.right, th.right {
	padding-right: 4px !important;
}

tr.total {
	background-color: #c0c0c0;
	font-weight: bold;
	color: black;
}

div.quarter_column {
	width: 25%;
	float: left;
}

a:hover.grey {
	color: #00b8ee !important;
}

/* Front Page */

.sidebar {
	width: 300px;
	margin-left: 10px;
	float: left;
	padding-left: 5px;
	background-image: url('/images/dotted-line.png');
	background-position: top left;
	background-repeat: repeat-y;
}

.news {
	width: 635px;
	float: left;
}

#feed p {
	margin-top: 0;
	background-position: 3px 0;
	background-repeat: no-repeat;
	padding-left: 20px;
}

#feed p.twitter {
	background-image: url('/images/twitter.png');
}

#feed p.achievement {
	background-image: url('/images/achievement.png');
}

#feed h4 {
	font-weight: bold;
	font-size: 9px;
	background-image: url('/images/dotted-line.png');
	background-position: bottom left;
	background-repeat: repeat-x;
	text-align: right;
}

/* Lightboxes */
.lightbox {
	z-index: 3000000;
	position: fixed;
	background-color: #ffffff;
	background-image: url('/images/input-bg.jpg');
	background-position: bottom left;
	background-repeat: repeat-x;
	border: 1px solid #c0c0c0;	
	padding: 0 5px 5px 5px;
}

.lightbox h4 {
	margin-top: 0 !important;
}

#lightbox_image  {
	cursor: pointer;
	cursor: hand;
}

.lightbox_close {
	width: 16px;
	height: 16px;
	top: 1px;
	right: 1px;
	position: absolute;
	background-image: url('/images/close.png');
	background-position: 0 -16px;
	background-repeat: no-repeat;
	cursor: pointer;
	cursor: hand;
}

.lightbox_close:hover {
	background-position: 0 0;
	cursor: pointer;
	cursor: hand;
}

/* Tabs */
#tablist {
	width: 100%;
	border-bottom: 1px solid #c0c0c0;
	height: 43px;
	margin: 20px 0 20px 0 !important;
	padding: 0 !important;

}

#tablist li.tab, #tablist li.tab-last {
	float: left;
	min-width: 100px;
	height: 43px;
	padding: 0;
	background-color: #f1f1f1;
	margin: 0 !important;
	background-image: none;
	list-style-type: none;
}

#tablist a {
	display: block;
	height: 43px;
	padding: 0px 15px;
	color: #000000;
	background-color: #f1f1f1;
	display: flex;
	align-items: center;
	justify-content: center;
}

#tablist a:hover, #tablist li.selected a {
	background-color: var(--epic-orange);
	text-decoration: none;
	color: #004C97;
}

div.tab {
	clear: both;
}

/* Columns */

.two_columns {
	width: 40%;
	float: left;
}

span.required {
	color: #ff0000;
	font-size: 10px;
	font-weight: normal;
}

h4.error {
	color: #ff0000;
}

/* Elimination Tree */

table.tree {
	border-collapse: separate;
}

table.tree td {
	padding: 3px;
}

table.tree th {
	text-align: center;
}

table.tree tr {
	height: 14px;
}

table.tree td.team {
	height: 28px;
	border: 1px solid #c0c0c0;
	background-color: #eeeeee;
	text-align: center;
	color:black;
	font-size: 12px;
}

table.tree td.team a {
	color:#004C97;
}

table.tree td.match {
	vertical-align: bottom;
	width: 200px;
	font-size: 9px;
}

table.tree td.score {
	width: 35px;
	height: 28px;
	text-align: center;
	border: 1px solid #c0c0c0;
	background-color: #eeeeee;
}

table.tree td.winner {
	font-weight: bold;
}

table.tree td.bracket {
	border-top: 1px solid #000000;
	border-right: 2px solid #000000;
	border-bottom: 1px solid #000000;
}

table.tree td.line {
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
}

table.tree td.firstbracket, table.tree td.firstline {
	border-bottom: 1px solid #000000;
}

table.tree td.lastbracket, table.tree td.lastline {
	border-top: 1px solid #000000;
}

table.tree td.blankbracket {
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
}

table.tree td.team.default {
	font-size: 9px;
}

table.tree th {
	padding-bottom: 10px;
}

div.elimtree {
	overflow-x: auto;
	padding: 0 0 20px 0;
}

div.tab {
	clear: both;
}

/* Tournament Pages and Navigation */

.tournamentpage {
	max-width: 1400px;
	/*float: left;*/
	clear: left;
}

.tournamentpage li {
	margin-right: 0.5em;
	margin-left: 1em;
	list-style-position: outside;
}

.secondarynav {
	width: 160px;
	float: right;
	clear: right;
	font-weight: bold;
}

.secondarynav li {
	margin: 1px !important;
	padding: 0 !important;
	background-image: none !important;
    list-style-type: none !important;
}

.secondarynav a {
	display: block;
	border-left: 5px solid #c0c0c0;
	background-color: #eeeeee;
	padding: 5px;
	color: #666666;
}

.secondarynav a:hover, .secondarynav li.selected a {
	text-decoration: none;
	color: #333333;

	/*
    border-left-width: 5px;
	border-left-style: solid;
	-webkit-border-image: -webkit-gradient(linear,left top,left bottom,from(#ff336a),color-stop(#ff56bc),to(#ff9033));
	-webkit-border-image: linear-gradient(180deg,#ff336a,#ff56bc,#ff9033);
	border-image: -webkit-gradient(linear,left top,left bottom,from(#ff336a),color-stop(#ff56bc),to(#ff9033));
	border-image: linear-gradient(180deg,#ff336a,#ff56bc,#ff9033);
	border-image-slice: 100%;
	border-image-slice: 1;
	border-radius: 0; */
	color: var(--epic-orange);
	border-color: var(--epic-orange);
}

span.error {
	color: #b40300;
}

span.ok {
	color: #009900;
}

.winner {
	font-weight: bold;
}

.unconfirmed {
	font-style: italic;
}

.score.winner {
	color: #009900;
}

.score.loser {
	color: #b40300;
}

.match .score {
	font-weight: bold;
}

.matchpage div.hometeam, .matchpage div.awayteam {
	float: left;
	width: 357px;
}

.matchpage div.score {
	font-size: 48pt;
	font-weight: bold;
	text-align: center;
	margin: 40px 0;
}

.matchpage div.hometeam h3, .matchpage div.awayteam h3 {
	text-align: center;
}

.matchpage div.central {
	width: 425px;
	margin: 0 10px;
	float: left;
}

.matchpage div.map {
	-moz-border-radius: 5px;
	background-color: #efefef;
	background-repeat: no-repeat;
	position: relative;
	background-size: contain;
	color:black;
}


.matchpage .mapinfo li {
	-moz-border-radius: 5px;
	background-color: #efefef;
	background-repeat: no-repeat;
	position: relative;
}

.matchpage div.map div.name {
	position: absolute;
	top: 210px;
	font-size: 13pt;
	font-weight: bold;
	color: #ffffff;
	background-image: url('/images/opaque.png');
	width: 425px;
	height: 30px;
	/*padding: 1px 0;*/
	text-align: center;
}

.matchpage div.map ul.mapinfo {
	padding-top: 240px !important;
}

.matchpage div.map ul {
	list-style-type: none;
	padding-bottom: 5px;
}

.matchpage div.map li {
	padding: 0 !important;
	margin: 0 !important;
	text-align: center;
	background-image: none !important;
}

.matchpage div.map li.space {
	/*margin: 10px 0 0 0 !important;*/
}

.matchpage div.map dl {
	padding: 5px 0;
}

.matchpage div.map dt {
	/* width: 80px !important; */
	margin-left: 5px !important;
}

.matchpage div.map h5 {
	color:black;
}

.twitch-logo {
	width: 20px;
}

.map p {
	padding: 5px;
}

.map input[type='text'] {
	width: 50px !important;
}

.map textarea {
	width: 222px;
	height: 60px;
}

table.options td {
	padding: 10px 5px !important;
}

table.options td input {
	margin-top: 3px;
}

.matchpage div.map div.hr {
	border-top: 1px solid #dddddd;
	background-image: none !important;
	margin: 0 10px !important;
	width: 220px;
}

.matchpage div.map h5.submatch {
	padding: 5px;
	margin: 0 !important;
}

.matchpage div.map .submatch {
	text-align: center;
}

.matchpage div.map .submatch .winner {
	color: #009900;
}

.matchpage div.map .submatch .loser {
	color: #b40300;
}

/* Pagination */

#content div.pagination {
	width: 100%;
	height: 20px;
}

#content div.pagination ul {
	float: left;
}

#content div.pagination p {
	float: right;
	margin: 0 !important;
}

#content div.pagination ul.pagination {
	padding: 2px 0 !important;
	margin: 0 !important;
}

#content div.pagination ul.pagination li {
	float: left;
	list-style-type: none !important;
	padding: 0 !important;
	background: none !important;
}

div.ticket h4 {
	padding: 6px 7px;
	color: #ffffff;
	background-image: url('/images/nav-bg.gif');
	background-repeat: repeat-x;
	background-color: #00b8ee;
	font-size: 12px !important;
	margin-bottom: 0 !important;
	clear: both;
}

div.ticket p {
	background-color: #f1f1f1;
	margin-top: 0 !important;
	padding: 10px 5px;
}

/* Surveys */

.survey input[type='text'], .survey textarea {
	width: 700px !important;
}

.survey textarea {
	height: 80px;
}

.survey input[type='submit'] {
	margin-top: 30px;
}

.survey label.radio {
	font-weight: normal !important;
	padding-right: 20px;
}

.survey label.checkbox {
	font-weight: normal !important;
	display: block;
}

span.required {
	color: #ff0000;
	font-size: 10px;
	font-weight: normal;
}

h4.error {
	color: #ff0000;
}

div.twocol-one {
	width: 460px;
	float: left;
	margin-right: 20px;
}

div.twocol-one.last {
	margin-right: 0;
}

textarea#conflict_reason {
	width: 400px;
	height: 80px;
}

.media-lb {
	width: 728px;
	height: 90px;
	margin: 0 auto;
}

dl.widelist dt {
	/*width: 150px !important;*/
}

#mh_container {
	/*width: 1250px;*/
	margin: 0 auto 0 40px;
	font-family: 'euclidcirculara-regular', sans-serif;
	text-transform: uppercase;
}

#masthead {
	padding: 25px 0;
	text-align: left;
	/*background-color: #11121d;*/
	background-color: #0D0D0D;
	background-position: center;
	background-image: url('/bfbs/img/bfbsheaderdark.png');
	background-repeat: no-repeat;
	background-size: contain;
	/*min-width: 990px;*/
	height: 350px;
	/*max-width: 1400px;*/
	margin:auto;
	border-bottom: 1px solid #ffffff;
}

@media (max-width: 990px) {
	#masthead {
		background-color: #0D0D0D;
		background-position: center;
		background-image: url('/bfbs/img/bfbsheadermobiledark.png');
		background-repeat: no-repeat;
		background-size: contain;
		/*height: 200px;*/
	}

	#masthead img {
		display: block;
		margin: auto;
		height: 160px;
		padding-left: 0; !important;
	}
}

#masthead img {
	max-height: 250px;
	padding-left: 66px;
}


#masthead .mastheadoverlay {
	background-size: 100% auto;
	opacity: 1;
	/*min-width: 990px;*/
	height: 207px;
}

.mh_col4 {
	width: 210px;
}

.mh_col4 img {
    margin-top: 5px;
}

.mh_title {
	float: left;
	border-left: none !important;
	/*width: 445px;*/
	padding-top: 7px !important;
	height: 140px;
	font-size: 1.5rem !important;
	text-align: left;
	overflow: hidden;
	display: flex;
}

.mh_title img {
	margin-bottom: 15px;
	height: 120px;
}

.mh_omen img {
	height: 50px;
	margin-top: 35px;
}

.mh_egx {
	text-align: right;
}

.mh_egx img {
	width: 86px;
	height: 100px;
	margin-top: 30px;
}

.mh_sponsors img {
	margin: 15px 20px !important;
	height: 50px;
}

#mh_clock {
	position: absolute;
	bottom: 0px;
	font-size: 10px;
	text-transform: uppercase;
	line-height: 14px;
}

.mh_col4 {
    padding: 20px 16px !important;
}

.datetime {
	text-align: left !important;
	padding-left: 40px !important;
	width: 170px;
	border-left: 0 !important;
}

#mh_container > div {
	border-left: 1px solid rgba(255, 255, 255, 0.75);
	float: left;
	height: 8rem;
	font-size: 1.1rem;
	line-height: 1rem;
	color: #fff;
	font-weight: bold;
}

#mh_clock div {
	border-top: 2px solid rgba(255, 255, 255, 0.5);
	border-bottom: 2px solid rgba(255, 255, 255, 0.5);
	float: left;
	width: 38px;
	margin-right: 4px;
	padding: 10px 0;
}

#mh_clock span.number {
	font-size: 19px;
}






h1, h2, h3, h4, h5, h6, h7 {
	font-family: 'euclidcirculara-regular', sans-serif;
	color: #34373B;

}

h1 {
	display: flex;
	align-items: center;
	gap: 15px;
	color: var(--se-blue);
	font-style: italic;
	font-weight: 700;
	text-transform: uppercase;
}

h1::before {
	content: "";
	flex: none;
	width: 21px;
	height: 1.05em;
	background: linear-gradient(
			90deg,
			var(--se-blue) 0, var(--se-blue) 8px,
			transparent 8px, transparent 13px,
			var(--se-blue) 13px, var(--se-blue) 21px
	);
	transform: skewX(-20deg);
	margin-right: 2px;
}

/* the trailing rule */
h1::after {
	content: "";
	flex: 1;
	height: 2px;
	background: var(--se-rule);
}

#content input[type='text']:focus, #content input[type='email']:focus, #content input[type='password']:focus, #content select:focus {
	border-color: linear-gradient(135deg,#ff336a,#ff56bc,#ff9033);;
	border-width: 2px;
}

.clearfix {
	clear: both;
}

.events > div {
	width: 188px;
	margin-right: 10px;
	float: left;
	background-color: #e0e0e0;
	height: 200px;
	font-size: 13pt;
	font-weight: bold;
}

.events > div span.title {
	color: #000000;
}

.events > div:last-child {
	margin-right: 0;
}

.events > div p {
	padding: 0.5em;
	margin: 0 !important;
}

.events > div > img {
	width: 188px;
	height: 105px;
}

.events > div > a {
	padding: 0.5em;
	margin: 0 !important;
	display: block;
	background-color: #000000;
	color: #ffffff;
	text-align: center;
	text-transform: uppercase;
}

.events > div > a:hover {
	background-color: var(--epic-orange);
	transition: background 0.3s ease 0s;
}


/* Event Boxes */

.event-boxes {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	grid-gap: 40px;
	width: 100%; }
.event-boxes.set-width {
	grid-template-areas: "a";
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	align-self: flex-start; }
@media screen and (min-width: 460px) {
	.event-boxes.set-width {
		grid-template-areas: "a a";
		grid-template-columns: 1fr 1fr; } }
@media screen and (min-width: 720px) {
	.event-boxes.set-width {
		grid-template-areas: "a a a";
		grid-template-columns: 1fr 1fr 1fr; } }
@media screen and (min-width: 1000px) {
	.event-boxes.set-width {
		grid-template-areas: "a a a a";
		grid-template-columns: 1fr 1fr 1fr 1fr; } }
@media screen and (min-width: 1320px) {
	.event-boxes.set-width {
		grid-template-areas: "a a a a a";
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr; } }
.event-boxes .event-box {
	max-width: 100%;
	min-width: 100%;
	border: 1px solid #FFFFFF;
	background: #2d2d2d;
	text-decoration: none;
	display: flex;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	flex-direction: column;
	padding: 10px; }
.event-boxes .event-box:hover {
	border-width: 1px;
	border-style: solid;
	border-color: var(--epic-orange);
}
.event-boxes .event-box:hover > a {
	transition: border-color 0.3s ease 0s;
}


.event-boxes .event-box .event-box-banner-wrapper {
	box-sizing: border-box;
	position: relative;
	overflow: hidden; }
.event-boxes .event-box .event-box-banner-wrapper .event-box-banner-action {
	position: absolute;
	top: 0.2em;
	left: 0.2em;
	height: 2em;
	z-index: 1; }
.event-boxes .event-box .event-box-banner-wrapper .event-box-banner-action.right {
	right: 0.2em;
	left: auto; }
.event-boxes .event-box .event-box-banner-wrapper .event-box-banner-info {
	position: absolute;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	padding: 0.5em;
	z-index: 2;
	overflow: visible; }
.event-boxes .event-box .event-box-banner-wrapper .event-box-banner-info:after {
	content: '';
	bottom: -100%;
	right: -100%;
	position: absolute;
	height: 200%;
	width: 200%;
	z-index: -1; }
.event-boxes .event-box .event-box-banner-wrapper .event-box-banner-info h1, .event-boxes .event-box .event-box-banner-wrapper .event-box-banner-info div.presented-by {
	margin: 0 1em;
	color: #E6EAFF;
	font-weight: 400;
	font-size: 0.8em;
	margin-right: 0.2em;
	text-transform: uppercase; }
.event-boxes .event-box .event-box-banner-wrapper .event-box-banner-info .event-box-banner-info-images {
	display: flex;
	align-items: center;
	justify-content: flex-end; }
.event-boxes .event-box .event-box-banner-wrapper .event-box-banner-info .event-box-banner-info-images img {
	align-self: center;
	width: 20%; }
.event-boxes .event-box .event-box-banner-wrapper .event-box-banner-image {
	width: 100%;
	display: block;
	margin-bottom: 10px; }
.event-boxes .event-box .event-box-banner-wrapper:before {
	content: '';
	top: -100%;
	right: -100%;
	position: absolute;
	height: 200%;
	width: 200%;
	z-index: 1; }
.event-boxes .event-box .event-box-body {
	padding: 0.2em 0em 0.5em 0em; }
.event-boxes .event-box .event-box-body .event-box-title {
	margin: 0;
	font-weight: 400;
	font-size: 18px;
	color: #FFFFFF;
	opacity: 0.8;
	/*white-space: nowrap;*/
	text-overflow: ellipsis;
	overflow: hidden;
	text-align: center;
	line-height: 1.1em; }
.event-boxes .event-box .event-box-footer {
	background-color: #292F3D;
	display: flex;
	padding: 0.2em 0.5em;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;
	flex-grow: 1; }
.event-boxes .event-box .event-box-footer .event-box-footer-item {
	display: flex;
	flex-direction: row;
	margin-right: 1em;
	font-size: 0.8em;
	color: #E6EAFF; }
.event-boxes .event-box .event-box-footer .event-box-footer-item.justify {
	justify-content: space-between;
	flex-grow: 1;
	margin-right: 0; }
.event-boxes .event-box .event-box-footer .event-box-footer-item .event-box-footer-item-title {
	text-transform: uppercase;
	margin-right: 0.5em; }
.event-boxes .event-box .event-box-footer .event-box-footer-item .event-box-footer-item-value {
	opacity: 0.6; }
.event-boxes .event-box .event-box-footer.justify {
	justify-content: space-between; }
.event-boxes .event-box .event-box-footer.justify > .event-box-footer-item:last-of-type {
	margin-right: initial; }
@media only screen and (max-width: 720px) and (orientation: portrait) and (max-height: 860px), only screen and (max-width: 860px) and (orientation: landscape) and (max-height: 720px) {
	.event-boxes .event-box {
		min-width: initial; } }


/* ==========================================================
   Partners (front page, after Socials)
   Logos are white-on-transparent PNGs, so they sit directly on
   the dark section background with no tile behind them.
   ========================================================== */

.partners {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
	padding: 1.5rem 0 3rem;
}

.partners__text {
	flex: 0 1 30rem;
}

.partners__text p {
	margin: 0;
}

.partners__logos {
	flex: 1 1 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 2.5rem 5rem;
}

.partners__link {
	display: block;
	line-height: 0;
}

.partners__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 8px;
}

.partners__logo {
	display: block;
	width: auto;
	max-width: 100%;
}

/* Heights are tuned per logo for optical balance: Valarian's
   wordmark only fills about half its canvas height, while
   Wifinity's lettering fills almost all of it. */
.partners__logo--valarian { height: 52px; }
.partners__logo--wifinity { height: 34px; }

@media (max-width: 768px) {
	.partners {
		flex-direction: column;
		align-items: flex-start;
		gap: 2rem;
	}

	.partners__text,
	.partners__logos {
		flex: none;
	}

	.partners__logos {
		justify-content: flex-start;
		gap: 2rem 3rem;
	}

	.partners__logo--valarian { height: 44px; }
	.partners__logo--wifinity { height: 29px; }
}
