/*
 * Base stylesheet — loaded on every page.
 *
 * Merged from the former page/css/all/elements/{default,header,footer}.css, which
 * css.php used to concatenate on every request. Dead rules dropped along with the
 * code that used them: .no_ie / .no_id_img (the IE8 countdown banner) and
 * .browser_update* (the browser-update nag, which also pulled an image from
 * nitrosoft.ch over plain http).
 */

/* ---------------------------------------------------------------- defaults */

html,
body {
	margin: 0 !important;
	height: 100%;
}

body {
	padding: 0;
	color: black;
	background-color: #e2f3ff;
}

* {
	font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
	font-weight: 300;
}

p,
h1 {
	margin: 0;
	padding: 0;
	color: black;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	text-decoration: none;
}

.content,
.container {
	padding-top: 1px;
	position: relative;
	margin: auto;
	width: 100%;
	max-width: 1170px;
	height: auto;
}

.container_padding {
	padding-top: 20px;
}

.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

#main {
	min-height: 90%;
	min-height: calc(100% - 121px);
}

/* ----------------------------------------------------------------- header */

.header {
	position: relative;
	display: block;
	padding-top: 10px;
	padding-bottom: 10px;
	width: 100%;
	height: auto;
	background-color: white;
	border-bottom: 1px solid #e1e1e1;
	z-index: 1000;
}

#flower {
	position: relative;
	display: block;
	margin-left: 10px;
}

.page_description {
	position: absolute;
	display: block;
	margin-left: auto;
	margin-right: auto;
	top: 25px;
	left: 0;
	right: 0;
	width: auto;
	height: auto;
	text-align: center;
}

.page_description > p {
	position: relative;
	display: inline-block;
	padding: 0 10px;
	line-height: 28px;
	color: rgba(0, 0, 181, 0.8);
	letter-spacing: 1px;
	font-weight: 400;
	font-size: 26px;

	/* Replaces Twig's |upper filter: the markup keeps the readable casing. */
	text-transform: uppercase;
}

.lang {
	position: absolute;
	display: block;
	width: auto;
	height: auto;
	top: 20px;
	right: 20px;
}

.lang_link {
	display: inline-block;
	opacity: 1;
	padding: 1px;
	height: auto;
}

.lang_link:hover {
	opacity: 0.7;
}

.svg_lang {
	display: block;
	margin: 0;
	padding: 0;
}

/* -------------------------------------------------------------- navigation */

.nav {
	position: absolute;
	display: block;
	width: 100%;
	margin-top: -30px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.nav_link {
	padding: 5px;
	margin: 0 5px;
	display: inline-block;
	position: relative;
	font-size: 16px;
	font-weight: 300;
	text-decoration: none;
	color: black;
	transition: font-weight 0.3s ease-in-out;
	border-radius: 2px;
}

.nav_link:hover,
.nav_link.active {
	font-weight: 400;
}

/* ----------------------------------------------------------------- footer */

footer {
	text-align: center;
}

footer > a {
	display: inline-block;
	margin: 30px auto 0 auto;
	color: rgba(48, 48, 48, 0.5);
	position: relative;
}

footer > a:hover {
	color: black;
}

.impressum.active {
	font-weight: 400;
	color: black;
}

.powered_by {
	position: relative;
	display: block;
	width: 90%;
	height: auto;
	text-align: center;
	padding: 20px 5%;
	font-size: 12px;
	color: rgba(48, 48, 48, 0.5);
}

.powered_by > a {
	color: rgba(48, 48, 48, 0.5);
}

.powered_by > a:hover {
	color: #ce3632 !important;
}

/* ------------------------------------------------------------ error pages */

body.error {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	text-align: center;
}

body.error main {
	padding: 20px;
	max-width: 34rem;
}

body.error h1 {
	font-size: 28px;
	font-weight: 400;
	color: rgba(16, 84, 202, 0.8);
	margin-bottom: 12px;
}

body.error p {
	color: rgba(48, 48, 48, 0.8);
	line-height: 1.6;
}

body.error .error_status {
	font-size: 72px;
	font-weight: 300;
	line-height: 1;
	color: rgba(16, 84, 202, 0.35);
}

body.error a {
	color: #2c98d6;
	text-decoration: underline;
}
