* {
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-weight: 200;
	font-size: 1em;
	line-height: 1.5em;
	border-radius: .1rem;
}

body {
	background: #fff;
	color: #000;
	margin: 0;
}

noscript {
	position: fixed;
	z-index: 5;
	width: 100%;
	top: 0;
	padding-top: 1em;
	text-align: center;
	vertical-align: middle;
	background-color: rgb(255, 251, 0);
	border-bottom: 1px solid #888;
	height: 3em;
}

#logo {
	position: fixed;
	background: url(design/logo_gross.png) no-repeat right bottom;
	width: 100%;
	height: 120vh;
	opacity: .25;
	z-index: -2;
}

header {
	width: 100%;
	padding-top: 1em;
	text-align: center;
	background-color: #fff;
	border-bottom: 1px solid #888;
	height: 4em;
	font-size: min(2em, 3.8vw);
	color: #135d7b;
}

header>img {
	height: 2em;
	border: 0;
	vertical-align: middle;
	margin: 0 .5em;
}

#narrow, .mobile {
	display: none
}

main {
	margin: auto;
	max-width: 1600px;
	padding: 2em;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: auto auto;
	column-gap: 2em;
}

main>article {
	padding-bottom: initial;
	border-bottom: none;
}

#welcome {
	grid-column: 1;
	grid-row: 1 / span 2;
}

#news {
	grid-column: 2;
	grid-row: 1 / span 2;
}

#association {
	grid-column: 3;
	grid-row: 1 / span 2;
	/*grid-row: 1;*/
}

#contact {
	grid-column: 3;
	grid-row: 2;
}

#newscontainer>div {
	max-height: 3em;
	overflow: hidden;
	transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
	cursor: zoom-in;
	border-bottom: 1px solid black;
	margin-bottom: 1em;
}

#newscontainer>div.expand {
	max-height: 300em;
	transition: max-height .3s ease-in-out;
	overflow: auto;
	cursor: zoom-out;
}

#legal {
	grid-column: 1 / span 3;
	grid-row: 1 / span 2;
}

#legal>div {
	column-count: 3;
	column-gap: 2em;
	padding-top: 3em;
}

#legal>h1,
#legal>h2 {
	margin-top: 2em;
}

#signup,
#signupinfo {
	max-height: 0;
	transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
	overflow: hidden;
	margin: 1em 0;
}

#signup.expand,
#signupinfo.expand {
	max-height: 300em;
	transition: max-height .3s ease-in-out;
	overflow: auto;
}

#menu {
	transition: left .3s ease-in-out;
}

#newToken {
	max-height: 3.3em;
	transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
	overflow: hidden;
	margin: 1em 0;
}

#newToken.expand {
	max-height: 300em;
	transition: max-height .3s ease-in-out;
	overflow: auto;
}


#growlNotif {
	border: lightgrey;
	background-color: dimgrey;
	color: white;
	box-shadow: .1em .1em .3em 0em grey;
	position: fixed;
	z-index: 2;
	font-size: 1.2em;
	padding: 1em;
	bottom: 1em;
	transition: right .3s ease-in-out;
	width: 20em;
	right: -21em;
}

#growlNotif.show {
	right: 1em;
}

#byebyeie {
	z-index: 99;
	position: fixed;
	margin: 10em calc(50% - 25vw);
	padding: 2em;
	width: 50vw;
	background-color: #fff;
	text-align: center;
	vertical-align: middle;
	font-size: min(2em, 3.8vw);
	box-shadow: 0 .4em .7em .2em rgba(0, 0, 0, .5);
	display: none;
}

.byebyeie {
	font-size: 1.5em;
	margin: auto 1em;
}

.byebyeie>img {
	height: .8em
}

footer {
	margin: auto;
	background-color: rgba(255, 255, 255, .8);
	border-top: 1px solid #888;
	padding: 1em max(2em, calc(100vw - 1600px + 4em) / 2);
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	column-gap: 2em;
}

footer>article,
.smaller {
	font-size: .8em;
}

@media only screen and (max-width: 800px) {

	/* For mobile phones: */
	main,
	footer {
		display: inherit;
	}

	main>article {
		padding-bottom: 2em;
		border-bottom: 2px solid #135d7b;
	}

	#legal>div {
		column-count: 1
	}

	#menu {
		position: fixed;
		width: 20em;
		top: 6.125em;
		left: -20em;
		height: calc(100vh - 6.125em);
		background-color: #fff;
		border: 1px solid #135d7b;
		padding: 2em 1em;
		overflow-y: auto;
	}

	#menu.expand {
		left: 0;
	}

	#menu::before {
		width: 4em;
		height: 1em;
		font-size: 1.5em;
		text-align: right;
		background-color: #135d7b;
		color: #fff;
		padding: .35em .25em .25em;
		position: fixed;
		top: 1em;
		left: -1em;
		content: "Menü";
		border-radius: .1rem;
		cursor: pointer;
	}


	article,
	footer>article {
		display: block;
		margin-bottom: 2em;
	}

	#wide {
		display: none;
	}

	#narrow, .mobile {
		display: inline-block;
	}

	input[type=button],
	input[type=submit],
	.button,
	.listitem,
	#menu {
		font-size: 1.3em;
	}

	.listitem>input[type=button] {
		font-size: 1em;
	}

	input[type=checkbox],
	input[type=radio] {
		width: 1.3em;
		height: 1.3em;
	}

	.listitem>label>input[type=checkbox] {
		width: 1em;
		height: 1em;
	}

	header {
		font-size: 2em;
	}
}

@media print {
	#logo {
		display: none
	}
}

marquee {
	display: inline-block;
	width: 2em;
}

h1,
h2,
h3,
h4 {
	margin-top: 0;
	color: #135d7b;
}

h1 {
	font-size: 1.5em;
}

h2 {
	font-size: 1.3em;
}

h3 {
	font-size: 1.1em;
}

h4 {
	font-size: 1em;
}

input[type=button],
input[type=submit],
.button {
	background-color: #135d7b;
	color: #fff;
	padding: .5em 1em;
	border: none;
	text-decoration: none;
	margin: .25em;
}

input[type=button]:disabled,
input[type=submit]:disabled {
	background-color: #61757e;
}

input[type=button]:active,
input[type=submit]:active,
.button:active {
	transform: translateY(2px);
}

input[type=text],
input[type=email],
input[type=tel],
input[type=password],
input[type=date],
textarea {
	width: 100%;
	margin-bottom: 1em;
	font-family: 'Courier New', Courier, monospace;
	font-size: 1em;
	background-color: rgba(255, 255, 255, .8);
	border: 1px solid #888;
}

textarea {
	min-height: 10em;
}

.membermenu {
	width: 17em;
	margin: .5em .25em;
	padding: .5em;
	display: flex;
	cursor: pointer;
	border: 1px solid #135d7b;
	color: #135d7b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.membermenu>svg,
form>svg {
	width: 1em;
	height: 1em;
	fill: #135d7b;
	margin: .25em .5em 0 0;
	display: inline-block;
}

#sidebar>.listitem,
#center>.listitem {
	cursor: pointer;
	padding: .25em;
	margin: .25em 0;
	display: block;
	background-color: #ffffff11;
	text-overflow: ellipsis;
}

#sidebar>.listitem:nth-child(odd),
#center>.listitem:nth-child(odd) {
	background-color: #135d7b11
}

#sidebar>.highlight {
	color: red;
}

#sidebar>div>img {
	width: 100%;
}

.avatar {
	float: left;
	margin: 0 .5em .25em 0;
	max-width: 3em;
	max-height: 3em;
}

.error {
	width: 3em;
	height: 3em;
	fill: lightcoral;
	float: left;
	margin: .75em;
}