* {
  box-sizing: border-box;
}

body {
	margin: 10px auto;
	max-width: 100em;
	background-color: rgba(229,229,229,1.00);
}

html, body {
	font-family: ronnia, sans-serif; 
	color: #262626;
	font-size: 18px;
}

p, input, select, textarea, option, a, div, span, ul, li, ol, table, button {
	font-family: ronnia, sans-serif; 
	font-weight: 300;
	font-size: 16px;
}

/* Formulare */
input, select, textarea, option {
	border-radius: 5px;
	border: none;
	background-color: #FFFFFF;
	font-weight: 500;
	color: #284413;
	padding: 8px 2px 6px 8px;
  margin-bottom: 10px;
	display: block;
	width: 100%;
}

label.formular {
	font-family: ronnia-condensed, sans-serif; 
	font-size: 13px;
	font-weight: 100;
	padding-left: 5px;
	padding-bottom: 3px;
}

button, input[type=submit] {
	color: #284413;
  background-color: white;
  margin-left: 5px;
  width: 150px;
  border-radius: 5px;
  border: none;
  font-weight: 500;
	font-size: 16px;
}

button:hover, input[type=submit]:hover {
  color: white;
  background-color: #E95810;
}

a {
	text-decoration: none;
}

ul {
	margin: 0;
	padding-left: 25px;
}

ul > li {
	text-indent: 0px;
	padding-right: 20px;
}

main {
	border-radius: 0.6em;
	border: 1px solid;
	padding: 10px;
	margin: 10px;
	display: block;
	/* für IE */
	background: #D4DADD;
	border-color: #df6c20;
}

header, footer {
	border-radius: 0.6em;
	border: 1px solid;
	padding: 10px;
	margin: 10px;
	background: #F1F3F4;
	border-color: #d5d5d5;
}

main > header, section {
	border-radius: 0.6em;
	border: 1px solid;
	padding: 10px;
	margin: 10px;
	background: #EBEBEB;
	border-color: #ACACAC;
}

.logo{
	float: right;
	width: 200px;
	margin: 15px 15px 0px 0px;
}

/* Überschriften */
h1, h2, h3, h4 {
	font-family: ronnia-condensed, sans-serif; 
	font-weight: 100;
	text-transform: uppercase;
}

h1 {
	margin-left: 20px;
	font-size: 30px;
	letter-spacing: 5px;
}

h2 {
	font-size: 24px;
	letter-spacing: 5px;
	margin: 0;
	padding: 0;
}

h3 {
	font-size: 22px;
	font-weight: 500;
	letter-spacing: 3px;
	margin: 0px 0px 10px 0px;
	padding: 0;
	color: #E95810;
}

h4 {
	font-size: 17px;
	font-weight: 500;
	letter-spacing: 2px;
	margin: 0px 0px 3px 0px;
	padding: 0;
}

/* Tabellen */
li.tabelle {
  background-color: #E0E0E0;
  list-style-type: none; 
  padding: 5px; 
  margin: 0 0 2px 0;
	border-radius: 6px;
}

li.tabelle:hover {
  background-color: #C6C6C6;
  list-style-type: none; 
  padding: 5px; 
  margin: 0 0 2px 0;
	border-radius: 6px;
}

li.tabellenkopf {
  list-style-type: none; 
  padding: 5px 5px 0px 5px; 
  margin: 0 0 2px 0;
	background-color: #F6F6F6;
	border-radius: 6px;
}

div.table {
  display: table;
  width: calc(100% - 10px);
  padding: 5px;
  margin: 0 0 2px 0;
}

div.spaltekopf { 
  display: table-cell;
  margin: 2px;
  font-size: 12px;
}

div.spalte { 
  display: table-cell;
  margin: 2px;
	padding: 5px 0 0 0;
}

table {
  border-collapse: separate;
  border-spacing: 0 2px;
  width: 100%
}

th {
  background-color: #F6F6F6;
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  padding: 10px 0 5px 15px;
  cursor: default;
}

td {
  background-color: #E0E0E0;
  padding: 15px 0 15px 15px;
  vertical-align: top;
}

tr:hover td {
  background-color: #C6C6C6;
  cursor: pointer;
}

th:first-child, td:first-child {
  border-radius: 6px 0 0 6px;
}

th:last-child, td:last-child {
  border-radius: 0 6px 6px 0;
  padding-right: 15px;
}

/* Navigation */
nav {
  margin: 20px 15px 10px 15px;
}

nav ul {
  list-style: none;
  padding: 0;
}

nav ul li {
  display: inline-block;
  position: relative;
  padding: 0;
}

nav ul li a {
  display: block;
  padding: 8px 16px 6px 16px;
  background-color: #E95810;
  color: #ffffff;
  text-align: center;
  font-size: 17px;
  border-radius: 5px;
}

.dropdown li {
  display: block;
}

.dropdown {
  padding: 8px 16px 6px 0px;
  position: absolute;
  z-index: 10;
  display: none;
}

.dropdown a {
  text-align: left;
  margin-bottom: 2px;
}

.dropdown a:hover {
  background-color: #555;
}

nav ul li a:hover {
  background-color: #555;
}

nav ul li:hover ul.dropdown {
  display: block;
}

/* Overlay (Modal)*/
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity 200ms;
  visibility: hidden;
  opacity: 0;
}

.overlay .cancel {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: default;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.modal {
  margin: 100px auto;
  padding: 20px;
  background: #ebebeb;
  border: 1px solid #666;
  width: auto;
  max-width: 300px;
  border-radius:6px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  position: relative;
}

.modal h3 {
  margin-top: 0;
}

.modal button {
  margin: 0;
  height: 32px;
}

.modal .content {
  max-height: 400px;
  overflow: auto;
}

.modal p:first-child {
  margin-top: 0;
}

.modal p:last-child {
  margin: 0;
}

/* ToolTip */
.tooltip {
  cursor: help;
  position: relative;
}

.tooltip span[role=tooltip] {
  display: none;
}

.tooltip:hover span[role=tooltip] {
  display: block;
  position: absolute;
  top: 1em;
  left: 0;
  width: auto;
  padding: 0.5em;
  z-index: 100;
  color: #000;
  background-color: #E95810;
  border: solid 1px #000;
  border-radius: 0.2em;
}

/* Loading Spinner */
@keyframes spinner {
  0% {
    transform: translate3d(-50%, -50%, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(-50%, -50%, 0) rotate(360deg);
  }
}

.spin::before {
  animation: 1.5s linear infinite spinner;
  animation-play-state: inherit;
  border: solid 5px #cfd0d1;
  border-bottom-color: #E95810;
  border-radius: 50%;
  content: "";
  height: 40px;
  width: 40px;
  position: absolute;
  margin-top: 50px;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
}