@CHARSET "ISO-8859-1";

html {
	height: -webkit-fill-available;
}

body {
	background-color: #313131;
	color: white;
	font-size: 15pt;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	touch-action: none;
	height: 100vh;
	height: -webkit-fill-available;
	overflow: hidden;
}

body.action_mensa_user_login {
	background-image: url("/skin/mensa/images/bg_login.jpg");
}

body.action_mensa_user_logout {
	background-image: url("/skin/mensa/images/bg_logout.jpg");
}

#header {
	width: 100%;
	height: 11em;
	min-height: 5em;
	overflow: visible;
	text-align: center;
	background-color: transparent;
	justify-content: center;
}

#header #logo2 {
	width: calc(6vw + 5vh);
	height: auto;
	max-width: 18vw;
	max-height: 18vh;
	min-width: 8ex;
	min-height: 5ex;
	margin: 0;
	padding: 0;
	position: relative;
	top: 8ex;
}

#footer {
	background-color: transparent;
}

h1 {
	font-size: 100%;
	text-align: center;
	margin-bottom: 3ex;
}

#content {
	margin: 4ex 2em;
	flex-grow: 0;
	flex-shrink: 1;
}

#page-wrapper {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	position: relative;
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
	align-items: center;
	background-color: transparent;
}

#user-form.std-form {
	background-color: transparent;
	display: flex;
	flex-flow: column nowrap;
	width: calc(16em + 2ex);
	margin: 0 auto;
	gap: 1.75ex 0;
}

#user-form.std-form input[type="text"],
#user-form.std-form input[type="password"] {
	width: 15em;
}

#logout-wrapper {
	text-align: center;
}

#logout-wrapper button {
	font-size: 90%;
	margin-top: 2ex;
}

@media only screen and (max-width: 1248px)
{
	body {
		background-size: 170% auto;	
	}

	body.action_mensa_user_login {
		background-position: 46% center;
	}

	body.action_mensa_user_logout {
		background-position: 55% center;
	}

	#header #logo2 {
		max-width: initial;
		max-height: initial;
	}
}

@media only screen and (max-width: 480px)
{
	body {
		font-size: 4.25vw;
	}
}