@import url('https://fonts.googleapis.com/css?family=Lato');
@media (min-width: 768px) {
  .ten-columns > .col-sm-2 {
    width: 20%;
  }
}
.row {
	margin-right: 0px;
	margin-left: 0px;
}

.center {
	text-align: center;
	margin: auto;
}

.Site {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}
.winner {
	background-color:#fbb129 !important;
}
.row.display-flex {
	display: flex;
	flex-wrap: wrap;
}

html {
	min-height: 100%;
}

* {
	font-family: 'Lato', sans-serif;
	/*font-size: 102%;*/
}

.row.display-flex>[class*='col-'] {
	display: flex;
	flex-direction: column;
}

.cleanul {
	padding: 5px;
	list-style-type: none;
	margin: 0;
}

.cleanul>li {
	border-bottom: 1px solid rgba(0, 0, 0, .125);
	padding: 2px;
}

html {
	padding-bottom: 0;
	margin-bottom: 0;
	position: relative;
	min-height: 100%;
}

body {
	background: url("/assets/background/crossword.png") fixed;
	padding-bottom: 225px;
	height: 100%;
	position: relative;
	/*margin-bottom: 60px; /* Margin bottom by footer height */
}

.btn-esa {
	color: #fff;
	background-color: #5aa93e;
	border-color: #509637;
}

.btn-esa:hover {
	color: #fff;
	background-color: #509637;
	border-color: #468330;
}

#pagewrapper {
	height: 100%;
	min-height: 100%;
}

.nav-fill {
	width: 100%;
}

.nav-link {
	color: white;
	vertical-align: middle;
	padding-top: 12px;
	transition: 0.5s;
}

.nav-link-light {
	color: black;
	transition: 0.5s;
}

.nav-link:hover {
	color: #5aa93e;
}

.nav-link2 {
	color: white;
	vertical-align: middle;
	/*padding-top: 12px; */
	display: block;
	padding: .8rem 1rem;
	transition: 0.5s;
}

.nav-link-light2 {
	color: black;
	transition: 0.5s;
}

.nav-link2:hover {
	color: #343a40;
	text-decoration-line: none;
}

nav {
	/* background: url("/atlantis/assets/images/eye.jpg") center; */
	background-size: cover;
	background-repeat: no-repeat;
	width: 100%;
}

.nav-item,
.nav-link {
	height: 50px;
}

.navbar-brand {
	font-family: arial;
	font-size: 25px;
}

.row {
	width: 100%;
	margin-bottom: 20px;
}

.containerpad {
	margin-top: 20px;
	margin-bottom: 20px;
}

.imagepad {
	margin-top: 5px;
	margin-bottom: 5px;
}

.image_off,
.imageswap:hover .image_on {
	display: none
}

.image_on,
.imageswap:hover .image_off {
	display: block
}

footer {
	min-height: 25px;
	width: 100%;
	background-color: black;
	padding-bottom: 15px;
	position: absolute;
	bottom: 0;
	height: 120px;
	line-height: 25px;
	/* Vertically center the text there */
}

.centerdiv {
	margin: auto;
}

.centertext {
	text-align: center;
}

.navlogoshow {
	position: relative;
	top: 0;
}

.navlogohide {
	position: relative;
	top: -142px;
	margin-bottom: -142px;
}

.navbar {
	margin-bottom: 0px;
}

.social-wrapper {
	/*width:50px;*/
	display: flex;
	flex-direction: row;
	/*position: -webkit-sticky;  /* required for Safari */
	position: absolute;
	top: 0;
	/* required as well.*/
	right: 0;
}

.social-wrapper>* {
	padding: 5px;
}

/* Home page carousel*/

.hero {
	position: relative;
	width: 100%;
	height: 650px;
	transition: height 1s;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	transition: background 0.5s ease;
	display: flex;
	justify-content: center;
}

.hero-selectors {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 60px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: stretch;
	margin-bottom: 10px;
}

.hero-selector {
	margin-left: 20px;
	margin-right: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 10px;
	cursor: pointer;
	border: none;
	color: white;
	text-align: center;
	text-decoration: none;
	font-size: 16px;
	opacity: 1;
	background-color: #5aa93e;
	width: 200px;
}

.hero-selector:hover {
	margin-left: 20px;
	margin-right: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 10px;
	cursor: pointer;
	border: none;
	color: white;
	text-align: center;
	text-decoration: none;
	font-size: 16px;
	opacity: 1;
	background-color: #509637;
	width: 200px;
}

#header-img {
	width: 250px;
}

#navlogo {
	height: 108px;
}

@media only screen and (min-width:383px) {
	#navlogo {
		height: 108px;
	}
	#header-img {
		width: 250px;
	}
}

@media only screen and (min-width:600px) {
	#header-img {
		width: 250px;
	}
	#navlogo {
		height: 108px;
	}
}

@media only screen and (min-width:700px) {
	#header-img {
		width: 300px;
	}
	#navlogo {
		height: 126px;
	}
}

@media only screen and (min-width:800px) {
	#header-img {
		width: 350px;
	}
	#navlogo {
		height: 144px;
	}
}

@media only screen and (min-width:900px) {
	#header-img {
		width: 400px;
	}
	#navlogo {
		height: 162px;
	}
}

@media only screen and (max-width: 767px) {
	.hero {
		display: none;
		height: 400px;
	}
	.hero>* {
		display: none;
	}
}

/*
@media screen and (min-width:425px) {
	.hero {
		display: visible;
		height: 400px;
	}
	.hero>* {
		display: visible;
	}
	.hero-selector {
		margin-right: 2px;
		margin-left: 2px;
		padding: 5px;
		width: 80px;
		height: 80px;
	}
}

@media screen and (min-width:768px) {
	.hero {
		display: visible;
		height: 500px;
	}
	.hero>* {
		display: visible;
	}
	.hero-selector {
		margin-right: 5px;
		margin-left: 5px;
		padding: 10px;
		width: 100px;
		height: 100px;
	}
}

@media screen and (min-width:1024px) {
	.hero {
		display: visible;
		height: 600px;
	}
	.hero>* {
		display: visible;
	}
	.hero-selector {
		margin-right: 10px;
		margin-left: 10px;
		padding: 10px;
		width: 120px;
		height: 120px;
	}
}

@media screen and (min-width:1740px) {
	.hero {
		display: visible;
		height: 700px;
	}
	.hero>* {
		display: visible;
	}
}
*/

.hero-text {
	display: flex;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	color: white;
}

.list-group-item {
	position: relative;
	display: block;
	padding: .5rem 1.25rem;
	margin-bottom: -1px;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, .125);
}

.flex-row {
	display: flex;
	flex-wrap: wrap;
}

.crumb {
	margin-top: 20px;
	margin-bottom: 20px;
	color: black;
}

div.crumb {
	padding-left: 30px;
}

.crumb:hover {
	color: #5aa93e;
	text-decoration-line: none;
}

.crumb-active:hover {
	text-decoration-line: none;
	color: #5aa93e;
}

.esacard {
	padding-top: 20px;
	padding-bottom: 20px;
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background-color: #fff;
	background-clip: border-box;
	border-top: 1px solid rgba(0, 0, 0, .125);
	border-bottom: 1px solid rgba(0, 0, 0, .125);
	/* border-radius: .25rem; */
}

.headings {
	padding-left: 15px;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
}

h1.headings {
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.esa-table {
	font-family: sans-serif;
	-webkit-font-smoothing: antialiased;
	font-size: 115%;
	overflow: auto;
	/*display: block;*/
	width:100%;
}


.esa-table th {
	background-color: rgb(90, 169, 62);
	font-weight: normal;
	color: white;
	padding: 20px 30px;
	text-align: center;
	border: 1px solid rgb(70, 149, 42);
}

.esa-table td {
	background-color: rgb(238, 238, 238);
	padding: 20px 30px;
	color: rgb(111, 111, 111);
	border: 1px solid rgb(200,200,200);
}


/* ============================================================
   Section landing-page redesign — alternating colour bands.
   Used by the MAIN page of each section (About, School
   Programmes, Online Booking, ESA Football Academy, Birthday
   Parties, Contact). Sub-pages are untouched.
   Everything is namespaced under .esa-redesign.
   ============================================================ */
.esa-redesign {
	--esa-dark: #242424;
	--esa-green: #2c6b27;        /* darkened brand green: white text ~6.5:1 (WCAG AA) */
	--esa-green-bright: #5aa93e; /* brand green: accents only, never behind text */
	--esa-green-light: #8bd06f;
}

.esa-band { padding: 3.5rem 0; }
.esa-band > .container { max-width: 1000px; }
.esa-band--dark  { background: var(--esa-dark);  color: #fff; }
.esa-band--green { background: var(--esa-green); color: #fff; }
.esa-band--light { background: #fff;             color: #222; }

.esa-crumb { font-size: .9rem; margin-bottom: 1.5rem; }
.esa-crumb a { color: #fff; text-decoration: underline; }
.esa-crumb a:hover { text-decoration: none; }

.esa-title {
	margin: 0 0 .75rem;
	font-weight: 700;
	line-height: 1.15;
	font-size: clamp(1.9rem, 4vw, 2.6rem);
}
.esa-subhead {
	position: relative;
	margin: 0 0 1.25rem;
	padding-bottom: .5rem;
	font-weight: 700;
	line-height: 1.25;
	font-size: clamp(1.3rem, 3vw, 1.7rem);
}
.esa-subhead::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 3rem;
	height: 4px;
	border-radius: 2px;
	background: var(--esa-green-bright);
}
.esa-band--dark .esa-subhead::after,
.esa-band--green .esa-subhead::after { background: var(--esa-green-light); }
.esa-band .esa-subhead:not(:first-child) { margin-top: 2rem; }

.esa-band p {
	font-size: 1.05rem;
	line-height: 1.7;
	max-width: 68ch;
	margin: 0 0 1rem;
}
.esa-band p:last-child { margin-bottom: 0; }

.esa-band--dark a:not(.esa-btn),
.esa-band--green a:not(.esa-btn) { color: #fff; text-decoration: underline; }
.esa-band--light a:not(.esa-btn) { color: var(--esa-green); }
.esa-redesign a:focus-visible { outline: 3px solid var(--esa-green-light); outline-offset: 2px; }
.esa-band--light a:focus-visible { outline-color: var(--esa-green); }

.esa-list { list-style: none; margin: 0; padding: 0; }
.esa-list li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: .75rem;
	line-height: 1.6;
	font-size: 1.05rem;
}
.esa-list li:last-child { margin-bottom: 0; }
.esa-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: .6rem;
	height: .6rem;
	border-radius: 50%;
	background: currentColor;
}
.esa-band--light .esa-list li::before { background: var(--esa-green); }

.esa-cols {
	columns: 2;
	column-gap: 2.5rem;
	margin: 0;
	padding-left: 1.2rem;
}
.esa-cols li { margin-bottom: .45rem; line-height: 1.5; break-inside: avoid; }

.esa-photo {
	display: block;
	width: 100%;
	max-width: 340px;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: 50% 25%;
	margin: 0 auto;
	border-radius: 50%;
	border: 6px solid var(--esa-green-bright);
	box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}
@media (max-width: 991px) { .esa-photo { margin-top: 1.75rem; } }

.esa-figure {
	display: block;
	width: 100%;
	max-width: 260px;
	margin: 1rem auto 0;
}

.esa-btn {
	display: inline-block;
	font-weight: 700;
	padding: .55rem 1.4rem;
	border-radius: .25rem;
	text-decoration: none;
}
.esa-band--dark .esa-btn,
.esa-band--green .esa-btn { background: #fff; color: #1f4a1c; }
.esa-band--dark .esa-btn:hover,
.esa-band--dark .esa-btn:focus,
.esa-band--green .esa-btn:hover,
.esa-band--green .esa-btn:focus { background: #e9f3e4; color: #153512; }
.esa-band--light .esa-btn { background: var(--esa-green); color: #fff; }
.esa-band--light .esa-btn:hover,
.esa-band--light .esa-btn:focus { background: #21521d; color: #fff; }

.esa-band .card { color: #222; }
.esa-band--green .social { color: #fff; }

@media (max-width: 767px) {
	.esa-band { padding: 2.25rem 0; }
	.esa-cols { columns: 1; }
}

/* Online Booking — venue picker. Crests are optional: any that 404 are
   removed by an onerror handler, leaving just the name button. Logos are
   normalised to a fixed HEIGHT only (width auto) so irregular shapes are
   neither cropped nor squished. */
.esa-venues {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.esa-venue.card {
	flex-direction: column;
	padding: 1rem;
	text-align: center;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: .375rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
	transition: box-shadow .15s ease, border-color .15s ease;
}
.esa-venue.card:hover,
.esa-venue.card:focus-within {
	border-color: var(--esa-green-bright);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
.esa-venue__media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 92px;
	margin-bottom: .9rem;
}
.esa-venue__media img {
	height: 80px;
	width: auto;
	max-width: 100%;
}
.esa-venue .esa-btn {
	margin-top: auto;
	width: 100%;
}