

/* Root styling */
:root {
	--epic-orange: #074f71;
	--navbar-text-colour: white;
	--navbar-background-colour: #124749;
	--navbar-hover-text-colour: white;
	--navbar-hover-colour: #159DC3;
	--header-font-options: Karla;
	--body-font-options: Karla;
	--body-font-colour: #FFFFFF;
	--header-colour: #FFFFFF;
	--footer-background-colour: #124749;
	--footer-text-colour: white;
	--footer-text-hover-colour: white;
	--tables-header-background-colour: #124749;
	--tables-header-text-colour: white;
	--tables-row-text-colour: black;
	--tables-row-empty-text-colour: black;
	--masthead-background-colour: #068886;
	--body-background-colour: #444d4f;
	--contents-background-colour: #444d4f;
	--content-link-hover-colour: #068886;
	--content-link-colour: #068886;
}

/* Bootstrap overrides */

.card-body {
	background-color: var(--contents-background-colour) !important;
	color: var(--body-font-colour);
}

.card-header {
	background-color: var(--contents-background-colour) !important;
	color: var(--body-font-colour);
}


/* Other CSS */

a.btn {
	background-color: #068886;
	border-radius: 5px;
	color: #ffffff;
	padding: 6px 12px;
	border-color: #068886;
}

a.btn:hover {
	text-decoration: none;
	background-color: #159DC3;
}

.hero a.btn {
	font-size: 36px;
	padding: 12px 24px;
}

.footer-container {
	background-color: var(--footer-background-colour);
	color: var(--footer-text-colour);
}

.footer-container a {
	color: var(--footer-text-colour);
}

.footer-container a:hover {
	color: var(--footer-text-hover-colour);
}

html {
	background-color: #302f34;
	background-repeat: repeat-none;
}

body {
	font-family: var(--body-font-options), sans-serif;
	line-height: 170%;
	color: var(--body-font-colour);
	font-size: 0.8rem;
	/*background-color: var(--body-background-colour);*/
	background-image: radial-gradient( #444d4f, #000000);
}

#container {
	/*background-color: var(--contents-background-colour);*/
	min-height: calc(100vh - 353px);
	max-width: 1400px;
	margin:auto;
/*	background-repeat: no-repeat;
	background-size: 800px;
	background-position: bottom -50px right -100px;*/

}


#title {
	height: 48px;
	background-image: url('/images/logo-bg.gif');
	padding: 0 1px;
}

#navigation {
	clear: both;
	background-color: #124749;
	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: 1.4em;
	max-width: 1400px;
	margin: 0 auto;
}

a {
	text-decoration: none;
	color: var(--content-link-colour);
}

a:hover {
	color: var(--content-link-hover-colour);
	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: #124749;
}

.team-info a:hover {
	color: #124749;
	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: white;
	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 */

.navbar-container {
	max-width: 100%;
	margin:	0 auto;
}

.navbar {
	background-color: var(--navbar-background-colour);
	height: 48px;
	padding: 0;
}

.navbar .container {
	max-width: 1400px;
	min-height: 48px;
}

@media (min-width: 992px) {
	#navbarNav {
		height: 48px;
	}
}

.navbar-collapse,
#navbarNav {
	background-color: var(--navbar-background-colour);
}

.navbar-nav {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
}

.navbar-nav .nav-item {
	height: 100%;
}

.navbar-nav .nav-link {
	color: var(--navbar-text-colour); !important;
	font-weight: bold;
	font-size: 1.1rem;
	padding: 10px 20px;
	height: 100%;
	display: flex;
	/*justify-content: center;*/
	align-items: center;
	position: relative;
	text-transform: uppercase;
}

.navbar-nav .dropdown-toggle::after {
	content: "?";
	font-size: 0.6rem;
	color: var(--navbar-text-colour);
	position: absolute;
	bottom: 0;
	left: 45%;
	transform: translateX(-50%);
	line-height: 1;
	border-top: 0;
}

/* Desktop only: yellow hover */
@media (min-width: 992px) {
	.navbar-nav .nav-link:hover,
	.navbar-nav .nav-link:focus,
	.dropdown-menu .dropdown-item:hover,
	.dropdown-menu .dropdown-item:focus {
		background-color: var(--navbar-hover-colour); !important;
		color: var(--navbar-hover-text-colour); !important;
		text-decoration: none
	}
}

/* Wider dropdown menu */
.dropdown-menu {
	background-color: var(--navbar-background-colour);
	border: none;
	min-width: 220px;
}

.dropdown-menu .dropdown-item {
	color: var(--navbar-text-colour);;
	text-decoration: none;
	text-transform: uppercase;
	/*text-align: center;*/
}

@media (min-width: 992px) {
	.dropdown:hover .dropdown-menu {
		display: block;
		margin-top: 0;
	}
}

/* Mobile view */
@media (max-width: 991.98px) {

	#container {
		background-image: none;
	}

	body {
		font-size: 1.4rem;
	}

	.navbar {
		height: 104px;
	}
	.navbar-brand {
		height: auto;
		padding: 1rem 0;
	}

	.navbar .container {
		width: 100%;
		max-width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	.navbar-nav {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		height: auto;
		padding: 1.5rem 0;
		width: 100%;
	}

	.navbar-nav .nav-item {
		height: auto;
		width: 100%;
		margin-bottom: 1rem;
	}

	.navbar-nav .nav-link {
		/*justify-content: center;*/
		text-align: center;
		width: 100%;
		text-decoration: none;
		font-size: 2rem;           /* Big readable text */
		padding: 2rem 24px;        /* Plenty of tap space */
	}

	.navbar-nav .nav-link:hover {
		background-color: var(--navbar-hover-colour) !important;
	}

	.navbar-nav .dropdown-toggle::after {
		position: static;

		transform: none;
		display: inline;
		vertical-align: middle;
		font-size: 1.4rem;
		margin-left: 0.75rem;
	}

	.navbar-collapse,
	.dropdown-menu {
		position: relative;
		z-index: 1050; /* Bootstrap modal is 1055, so this is safe */
	}

	.dropdown-menu {
		background-color: var(--navbar-background-colour); !important;
		border: none;
		padding: 0;
		/*text-align: center;*/
		position: static !important;
		float: none;
		box-shadow: none;
		width: 100%;
	}

	.dropdown-menu .dropdown-item {
		color: var(--navbar-text-colour);;
		font-size: 1.8rem;
		padding: 1.5rem 2rem;
		width: 100%;
	}

	.dropdown-menu .dropdown-item:hover {
		background-color: var(--navbar-hover-colour); !important;
	}
}

.navbar-toggler {
	border: none;
	font-size: 4rem;
}


/* NEW secondary navigation */

.secondarynavtop li a {
	color: #717171;
}

.secondarynavtop li a:hover {
	color: var(--epic-orange);
	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;
}

.secondarynavtop li.selected a {
	color: var(--epic-orange);
	/* 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;*/
}

/* Generic Content Styles */

#content .center {
	text-align: center;
}

#content h1 {
	font-size: 1.8em;
	line-height: 1.5em;
	margin-top: 0;
}

#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;
}

#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
	font-weight: bold;
	font-family: var(--header-font-options), 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 {
	margin-right: 0.5em;
	list-style-position: inside;
}

#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: var(--tables-header-text-colour);
	font-weight: bold;
	background-color: var(--tables-header-background-colour);
}

#content table.styled th a {
	color: var(--tables-header-text-colour);
	text-decoration: none;
}

#content table.styled td, #content table.styled th {
	border-bottom: 1px solid #FFFFFF;
	padding: 4px 0;
	height: 20px;
}

#content table.styled th {
	text-indent: 5px;
}

#content table.styled td {
	padding-left: 5px;
}

#content tr.odd, #content div.odd {
	background-color: #f1f1f1;
	color: var(--tables-row-text-colour);
}

#content tr.even, #content div.event {
	background-color: #f6f6f6;
	color: var(--tables-row-text-colour);
}

#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: var(--body-font-options), 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: #074f71;

    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: var(--body-font-options), 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: var(--body-font-options), 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;
	width: 300px;
}

#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;
	color: var(--tables-row-empty-text-colour);
}

/* 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;
}

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: #666666;
	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: #ffffff;
}

div.tab {
	clear: both;
}

/* Columns */

.two_columns {
	width: 40%;
	float: left;
}

span.required {
	color: #ff0000;
	font-size: 20px;
	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;
}

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;
}

.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;
	color: black;
}

.matchpage div.central h5 {
	color: black;
}

.matchpage div.map {
	-moz-border-radius: 5px;
	background-color: #efefef;
	background-repeat: no-repeat;
	position: relative;
	background-size: contain;
}


.matchpage .mapinfo li {
	-moz-border-radius: 5px;
	background-color: #efefef;
	background-repeat: no-repeat;
	position: relative;
}

.matchpage div.map div.name {
	position: absolute;
	top: 215px;
	font-size: 13pt;
	font-weight: bold;
	color: #ffffff;
	background-image: url('/images/opaque.png');
	width: 425px;
	height: 23px;
	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;
}

.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: var(--body-font-options), sans-serif;
	text-transform: uppercase;
}

#masthead {
	background-color: var(--masthead-background-colour);
	padding: 10px 0;
	text-align: center;
	/*background-color: #11121d;*/
	/*min-width: 990px;*/
	height: 230px;
	max-width: 100%;
	margin:auto;
	position: relative;
}

/*#masthead::before {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.5); !* 0.5 = 50% black overlay *!
	z-index: 1;
}*/

#masthead .mastheadoverlay {
	/*	background-size: 100% auto;
        opacity: 1;
        !*min-width: 990px;*!
        height: 207px;*/

	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-image: url("/ief/img/overlay4.png");

}

#masthead .headerimage {

	background-image: url('/ief/img/ief_header_background.png');
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: contain;
	height: 230px;
	max-width: 100%;
	margin:auto;
	position: relative;
}

#masthead img {
	max-height: 200px;
	/*padding-left: 40px;*/
}


@media (max-width: 990px) {
	#masthead {
		background-image: none;
		height: 200px;
	}

	#masthead img {
		display: block;
		margin: auto;
		height: 160px;
		padding-left: 0; !important;
	}

	#masthead .headerimage {
		background-image: None;

	}
}





.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;
}

.footer-container {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 1rem;
}

/*#footer a {
	color: #FFFFFF;
}

#footer_container {
	width: 1400px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	padding: 10px;
	background-color: #2c2e35;
}

.col.footer_intel img{
	max-width: 250px;
	float: right;
}

.footer_social_row {
	display: flex;
	align-items: center;
	color: #fff;
	text-decoration: none;
	margin-bottom: 10px;
	font-size: 14px;
}

.footer_social_icon {
	margin-left: auto;
	display: block;
	background: #fff;
	color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer_container.vr {
	max-height: 24px;
}

.socialicons {
	padding-right: 10px;
}

.socialicon {
	padding: 0 5px;
}

.sociallinks {
	padding: 0 10px;
	font-size: 0.7rem;
}

.sociallink {
	padding: 0 5px;
}

.poweredby {
	padding: 0 10px;
}

.poweredby img {
	max-width: 150px;
}


.copyright {
	background-color: #2c2e35;
	color: #FFFFFF;
	font-family: 'euclidcirculara-regular', sans-serif;
	font-size: 12px;
	line-height: 24px;
	padding-left: 10px;
	box-sizing: border-box;
	display: block;
	text-align: center;
}

.copyright_container {
	max-width: 1280px;
	padding: 0 20px;
	margin: 0 auto;
	box-sizing: border-box;
	!*display: flex;*!
	align-items: center;
}

.copyright_parent {
	margin-left: auto;
	display: flex;
	align-items: center;
}

.copyright_parent img {
	margin-left: 10px;
	width: 52px;
}*/


h1, h2, h3, h4, h5, h6, h7 {
	font-family: var(--header-font-options), sans-serif;
	text-transform: uppercase;
	color: var(--header-colour);
}

h1 {
/*	background: linear-gradient(90deg,#074f71,#074f71 4px,#FFCE01 0,#FFCE01 13px,transparent 0,transparent);
	padding-left: 30px;*/
}

#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; } }