/*--
	Theme Name: T3 Bus Meet
	Author: Kixo Ltd
	Author URI: http://www.kixo.co.uk/
	Version: 0.1
--*/
:root {
	--main: rgba(17, 61, 100, 1);
}

* {
	padding: 0;
	margin: 0;
	background: none;
	border: 0;
	font-family: sans-serif;
	color: #000;
	text-decoration: none;
	list-style-type: none;
	line-height: 1.2em;
	box-sizing: border-box;
}

body {
	background: url('img/foot.webp');
	background-size: 40%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
	font-family: 'Archivo Black', sans-serif;
}

a,
h1,
h2,
h3,
h4,
h5,
h6,
hr {
	color: var(--main);
	border-color: var(--main);
}

a:hover,
a:active {
	text-decoration: underline;
}

h1 {
	font-size: xx-large;
}

h2 {
	font-size: x-large;
}

h3 {
	font-size: large;
}

h4 {
	font-size: medium;
}

h5 {
	font-size: small;
}

h6 {
	font-size: smaller;
}

div.header .container {
	height: 100%;
	text-align: center;
	padding-block: 1em;
	width: 90vw;
	margin-inline: auto;
	max-width: 70em;
}

div.header .container a {
	display: block;
	height: 100%;
}

div.header .container a img {
	max-width: 95vw;
	max-height: 13em;
}

div.header.front-page {
	background: url('img/new.t3busmeetbg.webp') no-repeat center;
	background-size: cover;
	background-position-y: 30%;
	height: 30vw;
	min-height: 14em;
	/* aspect-ratio: 10 / 4; */
}

div.header.front-page .container a img {
	display: none;
}

nav *+* {
	margin-block: 0.5em;
}

nav .homelinks ul li a {
	font-family: 'Archivo Black', sans-serif;
	font-size: larger;
}

nav .homelinks ul li.current-menu-item a {
	border-block-end: 3px solid var(--main);
}

section.mainpage {
	background-color: #fff;
}

section.mainpage .container {
	width: 90vw;
	max-width: 70em;
	margin-inline: auto;
	padding-block: 2em;
	display: grid;
	grid-template-columns: 24ch calc(100% - 26ch);
	gap: 1em;
	grid-template-areas: "nav article";
}

section.mainpage .container nav {
	grid-area: nav;
}

section.mainpage .container article {
	grid-area: article;
}

section.mainpage .container article *+* {
	margin-block: 0.5em;
}

section.mainpage .container article header {
	margin-block-start: 0;
}

section.mainpage .container article a {
	text-decoration: underline;
}

table.sponsors {
	width: 100%;
	table-layout: fixed;
}

table.sponsors img {
	width: 100%;
	padding: 1em;
}

footer * {
	color: #fff;
}

footer *+* {
	margin-block: 0.5em;
}

footer .container {
	width: 90vw;
	margin-inline: auto;
	max-width: 70em;
	padding-block: 2em;
}

footer .container p {
	font-size: small;
}

input,
select,
textarea {
	border: 1px solid var(--main);
	padding: 0.4em 1em;
}

input[type="submit"] {
	background: var(--main);
	color: white;
}

/* Layouts for smaller screens */
@media only screen and (max-width: 600px) {
	div.header .container a img {
		max-height: 10em;
	}

	div.header.front-page {
		background-position-x: 70%;
	}

	section.mainpage .container {
		display: block;
	}

	nav .homelinks ul {
		padding-block-end: 1em;
		margin-block-end: 1em;
		border-block-end: 0.2em solid var(--main);
	}

	nav .homelinks ul li {
		display: inline-block;
		margin-inline-end: 2em;
	}

}

/* Fixing what our css-reset broke */
.event-datetimes *,
.espresso-venue-dv * {
	font-size: 1em !important;
}

.ticket-selector-submit-btn,
.ticket-selector-submit-btn-wrap {
	background-color: var(--main);
	color: #fff;
	padding: 0.2em 0.5em;
}

.display-tckt-slctr-tkt-details,
.display-the-hidden {
	display: none;
}

.ee-ticket-selector-ticket-price-th.cntr {
	text-align: right;
	padding-right: 2.5em;
}

.ee-event-datetimes-ul {
	display: block !important;
}

.download-iCal-frm {
	margin-inline: 1em;
}

.ee-event-datetimes-ul .ee-event-datetimes-li {
	margin: 0 !important;
	width: unset !important;
}

.tkt-slctr-tbl tr td {
	padding-block: 0.6em;
}

section.mainpage .container article .sharedaddy {
	margin-block-start: 3em;
}

section.mainpage .container article .sharedaddy .sd-title,
section.mainpage .container article .sharedaddy .sd-content {
	margin: 0;
}

section.mainpage .container article .sd-title:before {
	border-color: var(--main);
}