* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  font-size: 16px;
}

html, body {
  height: 100%;
}

body {
  background-color: #435165;
}
body.loggedin {
	background-color: #f3f4f7;
}

.seite {
  position: relative;
  min-height: 100%;
}

.login {
  width: 400px;
  background-color: #ffffff;
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  margin: 100px auto;
}
.login img {
  width: 100%;
  padding: 10px 15px;
}
.login h1 {
  text-align: center;
  color: #5b6574;
  font-size: 24px;
  padding: 10px 0 20px 0;
  border-bottom: 1px solid #dee0e4;
}
.login form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}
.login form label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #3274d6;
  color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
  width: 310px;
  height: 50px;
  border: 1px solid #dee0e4;
  margin-bottom: 20px;
  padding: 0 15px;
}
.login form input[type="submit"] {
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  background-color: #3274d6;
  border: 0;
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
	background-color: #2868c7;
  transition: background-color 0.2s;
}


.header {
	background-color: #2f3947;
	height: 60px;
	width: 100%;
}
.header img {
  height: 50px;
  margin-right: 20px;
}
.header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
	height: 100%;
}
.header nav div {
  display: inline-flex;
  align-items: center;
}
.header a {
  text-decoration: none;
	font-weight: bold;
	color: #93c01e;
}
.header a:hover {
  color: #eaebed;
}
.header a:not(:last-child) {
  margin-right: 20px;
}
.header i {
	padding: 2px 8px 0 0;
}

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

h1 {
  padding: 25px 0;
	font-size: 22px;
	border-bottom: 1px solid #e0e0e3;
	color: #4a536e;
}
h2 {
	font-size: 18px;
  margin-bottom: 20px;
}
h3 {
	font-size: 16px;
  padding-bottom: 10px;
}

.overlay nav ul {
  list-style: none;
  padding: 0;
  display: flex;
}
.overlay nav li {
  background-color: #ccc;
  padding: 10px 20px;
  margin-right: 10px;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  transition: background-color 0.3s;
}
.overlay nav .active {
  background-color: #fff;
  color: #000;
  border: 1px solid #ccc;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.overlay nav li:hover {
  background-color: #bbb;
}

section {
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
	margin: 25px 0;
	padding: 25px;
	background-color: #fff;
}
.overlay section {
  margin-top: 0;
}

.input {
  position: relative;
}
.input input[type="text"],
.input input[type="email"],
.input input[type="number"],
.input input[type="password"],
.input input[type="date"],
.input input[type="datetime-local"],
.input input[type="file"],
.input input[type="checkbox"],
.input textarea, 
.input select {
  width: 100%;
  height: 40px;
  border-radius: 6px;
  padding: 0 15px;
  border: 2px solid #0005FF;
  outline: none;
  background: transparent;
}
.input textarea {
  height: 150px;
  padding-top: 10px;
  resize: vertical;
}
.input input[type="file"] {
  padding-top: 10px;
}
.input label {
  position: absolute;
  top: 0;
  left: 15px;
  font-size: 13px;
	font-weight: bold;
  padding: 0 2px;
  transform: translateY(-50%);
  background: #FFFFFF;
}
.input input:focus, .input textarea:focus, .input select:focus {
  border: 2px solid #93c01e;
}
.input input:valid ~ label {
  color: #000000;
}
.input input:invalid ~ label {
  color: red;
}

button, input[type="submit"] {
  padding: 10px;
	font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  text-align: left;
  padding: 10px;
  vertical-align: top;
}
tbody tr:hover {
  background: #93c01e
}
tr:not(:last-child) td {
	border-bottom: 1px solid #e0e0e3;
}

ul, ol {
  list-style-position: inside;
}

.overlay {
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border: 1px solid #666;
  width: max-content;
  max-width: 1500px;
  border-radius:6px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: auto;
}
@media screen and (max-width: 1500px) {
  .overlay {
    max-width: 100vw;
  }
}
.overlayBG {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity 200ms;
  visibility: hidden;
  opacity: 0;
  z-index: 1000;
}
.overlayBG .overlayCancel {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: default;
}

.tooltip {
  cursor: help;
  position: relative;
  font-style: normal;
}
.tooltip span[role=tooltip] {
  display: none;
}
.tooltip:hover span[role=tooltip] {
  display: block;
  position: absolute;
  top: 1em;
  left: 0;
  width: max-content;
  padding: 0.5em;
  z-index: 100;
  color: #000;
  background-color: #f3f4f7;
  border: solid 1px #000;
  border-radius: 0.2em;
}

footer {
  /* Falls Footer benötigt wird muss hier und bei main padding-bottom noch die Höhe angegeben werden */
  position: absolute;
  bottom: 0;
  width: 100%;
}
.footercontent {
  max-width: 1200px;
  margin: 0 auto;
}