@font-face{
  font-family: fontMain;
  src: url("fonts/Roboto-Regular.8a36205bd9b8.ttf");
}
@font-face{
  font-family: fontHeading;
  src: url("fonts/RobotoCondensed-Regular.f1123f4b3d92.ttf");
}
@font-face{
  font-family: fontBlack;
  src: url("fonts/Roboto-Black.d6a6f8878adb.ttf");
}
@font-face{
  font-family: fontBlackHeading;
  src: url("fonts/RobotoCondensed-Black.354110586668.ttf");
}


/* – firefox und chrome rendern die überschriften nicht gleich
h1,h2,h3,h4,h5,h6 {
	font-weight: 700;
}
*/

html {
  /*font-family: Arial, Helvetica, sans-serif;*/
  font-family: fontMain;
  color: #404040;
}

body {
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr 70px;
  grid-template-columns: 15% 14% 14% 14% 14% 14% 14%;
  margin:0px auto;
  max-width:1260px;
}
body p {
	margin: 2rem 0;
}
body img {
  max-width: 100%;
  height: auto;
}

header {
  grid-row-start: 1;
  grid-row-end: 1;
  grid-column-start: 1;
  grid-column-end: 8;
  margin: 10px;
  border-bottom:3px solid #0088c9;
	position: relative;
}
@media screen and (max-width: 600px) {
	header {
		padding-top: 1.5em;
	}
}

header div.lang {
	position: absolute;
	top: 5px;
	right: 5px;
}
header div.lang a {
  color: unset;
  text-decoration: none;
  padding: 2px 5px;
	background: url("/static/res/lang.237d7a188edb.svg") no-repeat left center;
	background-size: 1.3em;
	padding-left: 1.7em;
	font-size: 95%;
}
header div.lang a:visited {
  color: unset;
  text-decoration: none;
}

div.main {
  grid-row-start: 2;
  grid-row-end: 3;
  grid-column-start: 2;
  grid-column-end: 7;
  line-height: 180%;
	padding-bottom: 30px;
}

div.left {
  grid-row-start: 2;
  grid-row-end: 3;
  grid-column-start: 1;
  grid-column-end: 2;
	background-image: url("/static/res/corner.032ca933de0f.png");
	background-size: 160px;
	background-position: bottom left;
	background-repeat: no-repeat;
}

header img {
  float:left;
  width: 140px;
}
header h1 {
  color: #00486d;
  margin-left:165px;
  border-bottom:none;
  font-family: fontHeading;
}
/* mobile layout */
@media screen and (max-width: 600px) {
	header img {
		float:left;
		width: 80px;
	}
	header h1 {
		margin-left:90px;
		font-size: 150%;
		margin-top: 12px;
		margin-bottom: 5px;
		min-height: 40px;
	}
	div.main {
		grid-row-start: 2;
		grid-row-end: 3;
		grid-column-start: 1;
		grid-column-end: 8;
		padding:0 10px;
	}
	div.left {
		display: none;
	}
	div.right {
		display: none;
	}
}
h1 {
  color: #0088c9;
  border-bottom: solid 2px #0088c9;
}
h2 {
  color: #0088c9;
}
h3,h4,h5,h6,h7 {
  color: #666666;
}
nav {
  margin-left: 150px;
}
/* menuswitch */
input#menuswitch {
	display: none;
}
input#menuswitch +label {
  background:url("/static/res/menu.0049e447d4b3.png") no-repeat left center;
	padding-left: 40px;
	display: none;
}
input#menuswitch:checked +label {
  background:url("/static/res/menuclose.6cfc11d02089.png") no-repeat left center;
}
input#menuswitch:checked ~ ul {
	max-height: 500px;
	animation: menuexpand 0.5s;
}
@keyframes menuexpand {
	0% {max-height: 0px;}
	100% {max-height: 500px;}
}

nav ul {
  padding-left: 0px;
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	font-family: "fontHeading";
}
nav li{
  list-style-type: none;
  margin-left: 15px;
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 6px;
  height: 25px;
  background-color: #0088c9;
  border-top: solid 1px #0088c9;
  border-left: solid 1px #0088c9;
  border-right: solid 1px #0088c9;
  border-radius: 4px 4px 0px 0px;
	color: #ffffff;
	font-size:larger;
}
nav li.active {
	font-family: "fontBlackHeading";
	text-shadow: 1px 1px 1px #2f4f4f;
}
nav a {
  color: unset;
  text-decoration: none;
  padding: 0px 5px;
	display: block;
}
nav li:hover {
  background-color: #67a9c9;
}
nav a:visited {
  color: unset;
  text-decoration: none;
}
/* mobile nav layout */
@media screen and (max-width: 900px) {
	nav ul {
		display: block;
		overflow: hidden;
		max-height: 0;
		margin-bottom: 4px;
	}
	nav ul li {
		margin-top: 5px;
		border-radius: 4px 4px 4px 4px;
	}
	input#menuswitch +label {
		display: block;
		font-size: 20px;
		color: gray;
		height: 25px;
		margin-bottom: 5px;
	}
	input#menuswitch +label:hover {
		font-family: fontBlack;
	}
}
@media screen and (max-width: 600px) {
	nav {
		margin-left: unset;
		bottom: unset;
	}
}

.pagination {
  margin: 15px auto;
  width: 70%;
  text-align: center;
  font-size: 90%;
}
.pagination a:visited {
  color:blue;
}

footer {
  grid-row-start: 3;
  grid-row-end: 4;
  grid-column-start: 1;
  grid-column-end: 8;
  border-top:3px solid #0088c9;
  position: relative;
}
div.footer-company {
  color: #2f3537;
  text-align: right;
  padding-top: 5px;
  font-size: 120%;
  padding-right: 3px;
}
div.footer-index {
	margin: auto;
	margin-top: 20px;
	width: 50%;
	display: grid;
  grid-template-columns: auto auto auto auto;
	font-size: 80%;
	text-align: center;
}
div.footer-index a {
	color: #505050;
}
div.footer-index a:visited {
	color: #505050;
}
footer div.copyright {
	color: #505050;
  font-size: 70%;
  position: absolute;
  right: 3px;
}
@media screen and (max-width: 900px) {
	div.footer-index {
		width: 100%;
		grid-template-columns: auto auto;
		padding-bottom: 1.5em;
	}
}

.info {
  min-height:40px;
  padding-left:50px;
  border-left:2px solid #0088c9;
  background-image:url("/static/res/info.c17aa36ef70d.png");
  background-repeat: no-repeat;
  background-position: 5px 0px;
  background-size: 40px;
}

.attention {
  min-height:40px;
  padding-left:50px;
  border-left:2px solid #0088c9;
  background-image:url("/static/res/attention.c161049ca622.png");
  background-repeat: no-repeat;
  background-position: 5px 0px;
  background-size: 40px;
}

p.info_success{
  background-image:url("/static/res/success.0c5644902ddf.png");
}

p.info_fail{
  background-image:url("/static/res/fail.681a054e063b.png");
}

.unit {
  font-style: italic;
}

.bad {
  color: #d93d12;
  font-weight: bold;
}

a {
  color: blue;
}
a:visited {
  color: blue;
}
/* Externer Link mit FontAwesome */
body a[href^="http://"]:not([href*="graslrwa.at"]),
body a[href^="https://"]:not([href*="graslrwa.at"]) {
  background:url("/static/res/ext-link.1fca29b3e37e.svg") no-repeat right center;
	background-size: 1em;
	color: #0A25CD;
	padding-right:1.2em;
}

th, td {
  border-bottom: 1px solid #ddd;
  padding: 0px 10px;
}

/* submenu style */
.submenu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* button styles */
@keyframes buttonhover {
  from {background-color: #e5e5e5;}
  to {background-color: #cccccc;}
}
.button {
  background-color: #e5e5e5;
  margin: 5px 5px;
  padding: 5px 3px;
  text-align: center;
  border-radius: 3px;
  color: gray;
  align-self: stretch;

}
.button-active {
  font-family: fontBlack;
  background-color: #999999;
  color: white;
	text-shadow: 1px 1px 1px #2f4f4f;
}
.button:hover {
  background-color: #cccccc;
  animation-name: buttonhover;
  animation-duration: 500ms;
}
.button a {
  color: unset;
  text-decoration: none;
  display: block;
}
.button a:visited {
  color: unset;
  text-decoration: none;
}

/* search */
.search {
	max-height: 0px;
	overflow: hidden;
}
input#search-enable {
	display: none;
}
input#search-enable +label {
  background:url("/static/res/search.09c88f97bef8.png") no-repeat left center;
	background-size: 20px;
	padding-left: 40px;
	height: 22px;
  display: block;
	font-family: fontMain;
	font-size: 18px;
	color: gray;
}
input#search-enable +label:hover {
	font-family: fontBlack;
}
input#search-enable:checked +label {
  background:url("/static/res/menuclose.6cfc11d02089.png") no-repeat left center;
}
input#search-enable:checked ~ div.search {
	max-height: 500px;
	animation: menuexpand 0.5s;
}
@keyframes menuexpand {
	0% {max-height: 0px;}
	100% {max-height: 500px;}
}
