body
{
	background-color: #760326;
	background-image: url("tausta.png");
	background-repeat: repeat-x;
	background-attachment: fixed;
	background-size: 360px;
	background-position-x: center;
	font-family: 'Economica', sans-serif;
	font-size: 20px;
	margin: 0;
}

h2
{
	font-family: 'Orbitron', sans-serif;
	text-transform: uppercase;
	font-size: 24px;
	margin: 48px 0 15px;
}

h3
{
	font-family: 'Orbitron', sans-serif;
	text-transform: uppercase;
	font-size: 20px;
	margin: 28px 0 15px;
}

p
{
	margin: 15px 0 8px;
}

p.splash
{
	font-family: 'Orbitron', sans-serif;
	font-size: 48px;
	text-align: center;
	margin: 48px 0;
}

a
{
	color: #b31253;
	font-weight: bold;
}

ol,
ul
{
	margin: 15px 0 8px;
}

p + ol,
p + ul
{
	margin-top: 8px;
}

#main
{
	max-width: 900px;
	margin: 0 auto;
}

#logo
{
	max-width: 900px;
	margin: 45px auto 0;
}

#logo img
{
	width: 100%;
}

#wrapper::before
{
	content: "";
	background-image: url("tekstiyla.png");
	position: absolute;
	width: 900px;
	height: 54px;
	background-size: 100%;
	background-repeat: no-repeat;
	background-position-y: bottom;
	margin: -74px -120px 0;
	display: block;
}

#wrapper
{
	display: flex;
	flex-direction: column;
	margin-top: 72px;
	background-image: url("tekstitausta.png");
	background-repeat: repeat-y;
	background-size: 100%;
	padding: 20px 120px 50px;
}

#text
{
	width: 660px;
	position: relative;
}

#sponsors
{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-content: start;
}

#sponsors h2
{
	flex-basis: 100%;
}

#sponsors img
{
	display: block;
}

.languages
{
	position: absolute;
	right: 0;
}

ul.nav
{
	display: flex;
	flex-direction: row;
	justify-content: center;
	padding: 0;
}

ul.nav li
{
	list-style-type: none;
}

ul.nav li + li::before
{
	content: "|";
	margin: 0 16px;
}

.photos
{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}

.photos img
{
	margin-top: 10px;
}

.sponsors
{
	display: flex;
	flex-direction: row;
	column-gap: 10px;
}

.results li:nth-child(-n+3):not(:first-child)
{
	font-size: 22px;
	margin-bottom: 6px;
}

.results li:first-child
{
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 12px;
}

.results .links
{
	font-size: 16px;
}

table
{
	border-collapse: collapse;
	font-size: 20px;
}

table th
{
	text-align: left;
}

table td,
table th
{
	padding: 0 10px;
}

table.schedule td
{
	padding-top: 5px;
	padding-bottom: 5px;
	vertical-align: top;
}

table.schedule tr.day td
{
	font-weight: bold;
}

table.pricelist th
{
	padding-bottom: 2px;
	border-bottom: 1px solid black;
}

table.pricelist td
{
	padding-top: 2px;
	padding-bottom: 2px;
}

table td:first-child,
table th:first-child
{
	padding-left: 0;
}

#hardware
{
	display: flex;
	flex-direction: row;
	margin: 0 40px;
}

#hardware > *
{
	flex-grow: 1;
}

#hardware ul
{
	margin: 0;
	list-style-type: none;
	padding: 0;
}

#organizers dt
{
	font-size: 14px;
}

#organizers dd
{
	margin: 0 0 1em;
}

#organizers .contact
{
	font-size: 14px;
}

.zoom-bg
{
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: #000;
	opacity: 0.8;
}

img.zoom
{
	position: fixed;
}

input,
select
{
	font-family: 'Economica', sans-serif;
	font-size: 20px;
}

input[type=checkbox]
{
	width: 18px;
	height: 18px;
	margin: 2px;
}

form
{
	margin: 15px 0 8px;
}

form .error
{
	color: #e00;
	margin: 8px 0;
}

form .success
{
	font-size: 24px;
	color: #080;
	margin: 8px 0;
}

form div
{
	margin: 8px 0;
}

form div label
{
	display: inline-block;
	width: 220px;
}

form div input:first-child
{
	margin-left: 220px;
}

@media screen and (min-width: 1150px)
{
	#main
	{
		max-width: 1116px;
	}

	#wrapper::before
	{
		width: 1116px;
		background-image: url("tekstiyla_levee.png");
	}

	#wrapper
	{
		flex-direction: row;
		background-image: url("tekstitausta_levee.png");
	}

	#sponsors
	{
		width: 216px;
		position: relative;
		left: 20px;
	}

	#sponsors h2
	{
		text-align: center;
	}
}
