@charset 'utf-8';

/* ¡Renormasaniset */
*,
::before,
::after {
  background-repeat: no-repeat;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-hyphenate-limit-before: 4;
  -webkit-hyphenate-limit-after: 4;
  -ms-hyphenate-limit-chars: 8 4 4;
  hyphenate-limit-chars: 8 4 4;
  -webkit-hyphenate-limit-lines: 3;
  -ms-hyphenate-limit-lines: 4;
  hyphenate-limit-lines: 4;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-y: scroll;
}
body {
  background-color: transparent;
}
a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
button,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
input,
kbd,
label,
legend,
li,
main,
mark,
menu,
nav,
object,
ol,
option,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
select,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
textarea,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
input {
  overflow: visible;
}
button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
[type='checkbox'],
[type='radio'] {
  padding: 0;
}
[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
textarea {
  overflow: auto;
  resize: vertical;
}
::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.4;
}
:-webkit-search-decoration {
  -webkit-appearance: none;
}
[hidden] {
  display: none;
}
audio,
video {
  display: inline-block;
}
a {
  background-color: transparent;
  text-decoration: none;
}
a,
area,
button,
input,
label,
select,
summary,
textarea,
[tabindex] {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:after,
blockquote:before,
q:after,
q:before {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
b,
strong {
  font-weight: bold;
}
em,
i {
  font-style: italic;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
abbr[title] {
  text-decoration: underline;
  text-decoration: underline dotted;
  cursor: help;
}
img {
  border-style: none;
  -moz-user-select: text;
  -webkit-user-select: text;
  user-select: text;
  -moz-user-drag: none;
  -webkit-user-drag: none;
  user-drag: none;
}
svg {
  fill: currentColor;
}
svg:not(:root) {
  overflow: hidden;
}
/* Renormasaniset! */

:root {
  --pad: 2em; /* Global Padding */
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'Crimson';
  src: url('../fonts/crimson-italic-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Crimson';
  src: url('../fonts/crimson-roman-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Crimson';
  src: url('../fonts/crimson-semibold-webfont.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Crimson';
  src: url('../fonts/crimson-semibolditalic-webfont.woff2') format('woff2');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

::placeholder {
  color: rgba(180, 160, 110, 0.5);
}

a,
img,
header h1 a svg path {
  -webkit-transition: all 250ms ease-in;
  -moz-transition: all 250ms ease-in;
  transition: all 250ms ease-in;
}

header h1 a {
  -webkit-transition: none;
  -moz-transition: none;
  transition: none;
}

img,
article div.rechts aside ul {
  -moz-user-select: text;
  -webkit-user-select: text;
  user-select: text;
  -moz-user-drag: none;
  -webkit-user-drag: none;
  user-drag: none;
}

::selection {
  background: rgba(30, 130, 170, 0.1);
  color: rgb(30, 130, 170);
}

input:focus::selection {
  background: black;
  color: white;
}

textarea:focus::selection {
  background: black;
  color: white;
}

.klar {
  clear: both;
}

.markiert {
  background: rgba(180, 160, 110, 0.1);
}

p.fehler {
  color: white;
  background: rgb(30, 130, 170);
  padding: 8px 8px 4px 8px;
  margin: 0;
}

p.fehler + *:not(.fehler) {
  margin: 16px 0;
}

p.fehler + form {
  margin-top: 32px;
}

body.intern {
  background-color: rgba(180, 160, 110, 0.15);
}

body,
input,
textarea,
article div span,
span.typ {
  font-family: 'Crimson', Georgia, serif;
  font-size: 18px;
  line-height: 1.3em;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: none;
  -webkit-hyphenate-limit-before: 4;
  -webkit-hyphenate-limit-after: 4;
  -ms-hyphenate-limit-chars: 8 4 4;
  hyphenate-limit-chars: 8 4 4;
  -webkit-hyphenate-limit-lines: 4;
  -ms-hyphenate-limit-lines: 4;
  hyphenate-limit-lines: 4;
  -moz-font-feature-settings: 'liga=1, onum';
  -ms-font-feature-settings: 'liga', 'onum';
  -webkit-font-feature-settings: 'liga', 'onum';
  font-feature-settings: 'liga', 'onum';
}

header,
article,
footer,
section.logout p {
  width: 944px;
  margin: 0 auto;
  clear: both;
  position: relative;
}

header h1 a {
  display: inline-block;
  color: black;
  padding: 40px 0 0 16px;
  margin: 0;
}

header h1 a span {
  display: none;
}

header h1 a:hover {
  color: black;
}

header h1 a svg {
  width: 336px;
  height: 64px;
}

header h1 a svg#gwz25 {
  width: 256px;
  height: 128px;
}

header h1 a svg path.gwz {
  fill: rgba(0, 0, 0, 1);
}

header h1 a svg path.subs {
  fill: rgb(180, 160, 110);
}

header h1 a:hover svg path,
header h1 a:hover svg path.gwz,
header h1 a:hover svg path.subs {
  fill: rgb(30, 130, 170);
}

header nav.main {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgb(180, 160, 110);
  padding: 1em 0 0 0.75em;
  margin: 1em 0 0 0;
  border-top: 1px solid rgb(180, 160, 110);
}

header nav li {
  display: inline;
}

header nav.sub li {
}

header nav.sub li:not(:last-child):after {
  content: ' / ';
  font-weight: bold;
  font-style: normal;
}

header nav a,
header nav span {
  color: black;
  padding: 0.3em 0.4em 0.1em 0.5em;
  background: transparent;
}

header nav.sub a,
header nav.sub span {
  padding: 0.3em 0.4em 0.2em 0.4em;
}

header nav a {
  color: black;
}

header nav span {
  color: rgb(180, 160, 110);
}

header nav a:hover {
  color: rgb(180, 160, 110);
  background: rgba(180, 160, 110, 0.1);
}

header nav a:active,
article a:active {
  color: rgb(30, 130, 170);
}

header nav li.id1031 a {
  color: white;
  background: rgb(30, 130, 170);
}

header nav li.id1031 span {
  color: white;
  background: rgb(180, 160, 110);
}

header nav.sub {
  font-weight: bold;
  font-style: italic;
  color: rgb(180, 160, 110);
  padding: 0.25em 0 0.5em 0.9em;
  margin: 0 0 1.5em 0;
  border-bottom: 1px solid rgb(180, 160, 110);
}

header div {
  position: relative;
  width: 100%;
  margin: 0 0 24px 0;
  -webkit-transform: translateZ(0px);
}

header div img,
header div.start blockquote {
  opacity: 1;
  transition-property: all;
  transition-duration: 1500ms;
  transition-timing-function: ease-in-out;
}

header div img {
  display: block;
  width: 100%;
  height: auto;
}

header div.sondertext {
  box-sizing: border-box;
  width: 100%;
  padding: 1.5em 3em 1em 320px;
  color: white;
  background: rgb(30, 130, 170);
}

header div.sondertext h2 {
  font-size: 1.5em;
  line-height: 1.5em;
  font-weight: bold;
  font-style: italic;
  margin: 0 0 0.5em 0;
}

header div.vacancy h2 {
  font-size: 2em;
  line-height: 1.4em;
  font-weight: bold;
  text-align: right;
}

header div.sondertext p {
  margin: 0 0 0.5em 0;
}

header div.sondertext a,
header div.vacancy a {
  color: white;
  border-bottom: 1px solid white;
}

header div.sondertext a:hover,
header div.vacancy a:hover {
  color: rgba(255, 255, 255, 0.75);
  border-bottom-color: transparent;
}

header div img + img {
  position: absolute;
  top: 0;
}

header div:hover img + img {
  opacity: 0;
}

header div.start.vacancy {
  display: flex;
  flex-flow: row wrap;
  color: white;
  background: rgb(240, 80, 180);
}

header div.start blockquote {
  margin: 0 0 20px 24px;
  width: 100%;
  position: absolute;
  bottom: 0;
  color: white;
}

header div.start:hover blockquote {
  opacity: 0;
}

header div.start blockquote p.halbtrans {
  color: rgba(255, 255, 255, 0.75);
  padding-bottom: 16px;
}

header div.start blockquote p.klein,
header div.start blockquote p.halbtrans {
  font-size: 1.5em;
  line-height: 2em;
}

header div.start blockquote p.klein {
  font-weight: normal;
  font-style: normal;
}

header div.start blockquote cite {
  font-weight: normal;
  font-style: normal;
  display: block;
  margin: 24px 0 0 0;
}

header div.start blockquote a {
  color: white;
}

header div.start blockquote a:hover {
  text-shadow: 0px 0px 8px rgb(30, 130, 170);
}

header div.start blockquote a:hover:after {
  content: ' ›';
}

strong,
b,
article div.rechts h4 {
  font-weight: bold;
}

article div.rechts h4,
article div.rechts h5 {
  margin: 8px 0;
}

article div.rechts h4.top {
  margin: 0 0 16px 0;
}

i,
em,
article div.rechts aside h4,
article div.rechts h6,
article div.rechts figcaption,
header div.start blockquote,
article div.links ul.hinweise {
  font-style: italic;
}

b i,
i b,
article h2,
article h3,
article div.links ul a,
article div.rechts h5,
article div.links ul.hinweise li h4 {
  font-style: italic;
  font-weight: bold;
}

article div.links ul.hinweise li ul {
  margin: 8px 0;
}

article div {
  display: block;
  float: left;
  border-top: 1px solid rgb(180, 160, 110);
}

article div.voll {
  float: none;
  width: 100%;
  padding: 20px 0;
}

article div.links,
div.start div.links {
  box-sizing: border-box;
  width: 304px;
  margin: 0 16px 0 0;
  padding: 20px 16px 20px 24px;
}

article div.links ul {
  margin-top: 24px;
}

div.links h3 {
  margin-top: 8px;
}

h3 + p a.button {
  margin-top: 8px;
  color: white;
}

ul.docs li h3 span {
  font-style: normal;
  font-weight: normal;
}

article div.links nav ul {
  margin-top: 12px;
}

article div.links nav + ul,
article div.links ul + ul,
article div ul.docs li + li {
  border-top: 1px solid rgb(236, 231, 219);
  padding: 16px 0 0 0;
  margin: 16px 16px 0 0;
  clear: both;
}

article div.rechts hr {
  background: rgb(236, 231, 219);
  height: 1px;
  border: none;
  margin: 8px 160px 16px 0;
}

article div span,
span.typ {
  text-transform: uppercase;
  white-space: nowrap;
  color: black;
}

article form label span {
  font-style: italic;
  text-transform: none;
  white-space: normal;
}

article form label.checkbox span {
  font-style: normal;
}

article form label.error span {
  color: rgb(30, 130, 170);
}

article img {
  max-width: 100%;
}

article div ul.docs li a img,
article div a.imglink img {
  width: 56px;
  display: block;
  float: left;
  margin: 1px 8px 20px 0;
  border: 1px solid rgb(218, 208, 183);
}

article div ul.docs li a img:hover,
article div a.imglink img:hover {
  -webkit-box-shadow: 0px 0px 16px 0px rgb(180, 160, 110);
  box-shadow: 0px 0px 16px 0px rgb(180, 160, 110);
  border-color: rgba(0, 0, 0, 0);
}

article div.rechts,
div.start div.rechts {
  width: 624px;
  margin: 0 0 0 0;
  padding: 28px 0 20px 0;
}

article div.rechts figure.buch {
  display: inline-block;
  margin: -4px 16px 8px 0;
  float: left;
}

article div.rechts figure {
  margin: 0 0 24px 0;
}

article div.rechts figcaption {
  font-size: 0.9em;
  line-height: 1.4em;
}

article div.rechts figure img {
  display: block;
  margin: 8px 0;
}

article div.rechts figure.map {
  display: flex;
  flex-flow: row wrap;
}

article div.rechts figure.map img {
  max-width: 100%;
}

article div.rechts aside {
  float: right;
  width: 144px;
  margin: 0 0 12px 12px;
}

article div.rechts aside ul {
  width: 144px;
  margin-top: -4px;
}

article div.rechts aside ul li {
  margin: 8px 8px 0 0;
  float: left;
}

article div.rechts aside ul li a,
article div.rechts aside ul li a img {
  display: block;
  width: 40px;
  height: 40px;
  border: none;
}

article div.rechts aside ul li a:hover {
  -webkit-box-shadow: 0px 0px 16px 0px rgba(180, 160, 110, 1);
  box-shadow: 0px 0px 16px 0px rgba(180, 160, 110, 1);
  border: none;
}

article div.rechts p,
article div.rechts ul,
article div.rechts ol,
article div.rechts figcaption,
article div.rechts h4,
article div.rechts h5,
article div.rechts img {
  max-width: 464px;
}

article div.rechts p {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

article div.rechts a {
  display: inline-block;
}

article div.rechts a:hover * {
  color: rgb(180, 160, 110);
}

article div.rechts a p {
  color: black;
  margin: 0;
}

.bestellen article div.rechts p {
  max-width: 100%;
}

article div.rechts aside h4 {
  max-width: 144px;
}

article div.rechts form.login label {
  display: flex;
  flex-flow: row wrap;
}

article div.rechts form.login label span {
  font-style: normal;
  flex: 1 1 30%;
  padding-top: 3px;
}

article div.rechts form.login label input {
  flex: 1 1 70%;
}

article div.rechts form label {
  display: block;
  margin: 0 0 16px 0;
  padding: 0;
}

article div.rechts form label.checkbox {
  display: block;
  padding: 4px 0;
  margin: 0;
  background-color: rgba(180, 160, 110, 0.15);
}

article div.rechts form label > *,
article div.rechts form label.checkbox {
  display: inline-block;
  vertical-align: top;
}

article div.rechts form label.checkbox {
  padding: 8px 24px 3px 8px;
}

article div.rechts form label.checkbox.error {
  background-color: rgba(30, 130, 170, 0.2);
}

article div.rechts form label input,
article div.rechts form label textarea {
  box-sizing: border-box;
  width: 80%;
  margin: 0 0 0 0;
}

article div.rechts form label.checkbox input {
  width: auto;
  margin: 1px 8px 0 0;
}

article div.rechts form label > span {
  width: 20%;
}

article div.rechts form.bliste,
article div.rechts form.bliste label,
article div.rechts form.bliste label input,
article div.rechts form.bliste label textarea {
  box-sizing: border-box;
  width: 100%;
  float: none;
}

article div.rechts form.bliste label {
  padding: 0;
}

div.bild figure {
  background: rgb(30, 130, 170);
}

div.bild figure img {
  position: relative;
  opacity: 1;
  filter: grayscale(0);
}

div.bild figure img:hover {
  opacity: 0.333;
  filter: grayscale(1);
}

div.bild figcaption {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 0.9em;
  color: white;
  padding: 0 24px 12px 24px;
  text-shadow: 0 0 0.333em rgba(0, 0, 0, 0.25);
}

/* 2022 */
svg#nj2022 {
  background: rgb(30, 130, 170);
}

svg#nj2022 path {
  fill: white;
}

svg#nj2022 #z0 {
  transform: translateY(150%);
  animation: null 1.75s cubic-bezier(0.92, 1.81, 0.68, 0.79) 1s 1 forwards;
}

svg#nj2022 path#erfolg {
  transform: translateY(150%);
  animation: vielerfolg 1.25s cubic-bezier(0.52, 0.01, 0.65, 1.2) 1.75s 1
    forwards;
}

@keyframes vielerfolg {
  0% {
    transform: translateY(150%);
  }
  100% {
    transform: translateY(0%);
  }
}

@keyframes null {
  0% {
    transform: translateY(150%);
  }
  100% {
    transform: translateY(0%);
  }
}

fieldset.bereiche {
  margin: 0 0 16px 0;
}

fieldset.submit {
  margin: 32px 0;
}

form.bliste label input[type='date'] {
  display: inline-block;
  color: rgb(170, 150, 100);
}

form.bliste fieldset {
  padding: 8px 8px 2px 8px;
  background-color: rgba(180, 160, 110, 0.1);
  margin: 0 0 16px 0;
}

article div.rechts form label.radio {
  margin: 0 0 4px 0;
}

div.rechts form.bliste input[type='radio'] {
  display: inline-block;
  vertical-align: baseline;
  width: auto;
  margin: 0 8px 0 0;
}

form.bliste input[type='radio'] + span {
  text-transform: none;
  white-space: normal;
  display: inline;
}

article p,
article ul,
article ol {
  margin: 0 0 16px 0;
}

article div.rechts ul li {
  margin-left: 12px;
  margin-bottom: 8px;
  text-indent: -10px;
}

article div.rechts ul.docs li {
  margin-left: 0;
  text-indent: 0;
}

article div.rechts ul li:before {
  content: '› ';
  color: rgb(180, 160, 110);
}

article a:not(.logolink):before,
article div.links ul.hinweise li ul li:before {
  content: '';
  display: inline-block;
  vertical-align: top;
  width: 16px;
  height: 16px;
  margin: 3px 5px 0 2px;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeD0iMCIgeT0iMCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDE2IDE2Ij48Zz48cGF0aCBkPSJNOS45MzQsOS4xMzljMCwwLjM5MS0xLjAzNCwyLjAxMy0xLjQ4NCwyLjAxM2MtMC4zNTksMC0wLjU5OS0wLjM0Ni0wLjU5OS0wLjY3N0M3Ljg0OCw5LjcxLDguODk4LDguODY5LDkuNjMzLDguODY5IEM5LjgxMyw4Ljg2OSw5LjkzNCw4Ljk0NCw5LjkzNCw5LjEzOSBNOS45MzQsNi44NjFjMCwwLjE5NS0wLjEyLDAuMjctMC4zMDEsMC4yN2MtMC43MzMsMC0xLjc4My0wLjg0MS0xLjc4My0xLjYwNiBjMC0wLjMzMSwwLjI0LTAuNjc2LDAuNTk5LTAuNjc2QzguODk5LDQuODQ5LDkuOTM0LDYuNDcsOS45MzQsNi44NjEgTTQuMTg4LDcuOTU1YzAtMC41NTQtMC41MS0wLjkxNC0xLjAzNC0wLjkxNCBDMi40NjQsNy4wNDEsMiw3LjUwNiwyLDguMTk1YzAsMC41NjgsMC41ODQsMC45NDMsMS4xMDksMC45NDNDMy41MTQsOS4xMzksNC4xODgsOC43NjQsNC4xODgsNy45NTV6IE02Ljk5Myw4LjAxNSBjMC0wLjQ1LTAuMzYtMC45MTQtMC44MzktMC45MTRjLTAuNiwwLTEuMDc5LDAuMzc1LTEuMDc5LDEuMDA0YzAsMC40NjQsMC40MzQsMC44ODQsMC44OTksMC44ODQgQzYuNTI4LDguOTg5LDYuOTkzLDguNTg0LDYuOTkzLDguMDE1eiBNMTQuMzg5LDhjMC0wLjM0NC0wLjMzLTAuNDA0LTAuNjAxLTAuNDA0Yy00LjExLDAtMy41MS0zLjYzLTUuNDMtMy42MyBjLTAuNzQ5LDAtMS4zMzMsMC41OTktMS4zMzMsMS4zNDhjMCwyLjI1MiwzLjM3MywyLjE3NywzLjM3MywyLjY3MXMtMy4zNzMsMC40NDktMy4zNzMsMi43MDFjMCwwLjc0OSwwLjU4NCwxLjM0OSwxLjMzMywxLjM0OSBjMS45MiwwLDEuMzE5LTMuNjMsNS40My0zLjYzQzE0LjA1OSw4LjQwNCwxNC4zODksOC4zNDQsMTQuMzg5LDgiLz48L2c+PC9zdmc+');
}

article li a:not(.logolink):before {
  margin: 1px 5px 0 12px;
}

article .links li a:not(.logolink):before {
  margin-left: 0;
}

article div.rechts p.top,
footer p.top {
  width: 100%;
  max-width: 100%;
}

p.top {
  direction: rtl;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 0px;
}

p.top a:hover,
article div.rechts aside ul li a:hover {
  border: none;
}

article a:not(.logolink):not(.button),
article a:hover:before,
footer a,
article div.links ul li a.imglink:hover {
  color: rgb(180, 160, 110);
  border-bottom: 1px solid transparent;
}

article a:hover:not(.logolink),
footer a:hover {
  color: black;
  border-bottom: 1px solid rgb(180, 160, 110);
}

a.logolink:hover img {
  filter: hue-rotate(180deg);
}

article h2 {
  font-size: 26px;
  line-height: 28px;
  color: rgb(180, 160, 110);
  margin-top: 4px;
}

article h3 {
  color: rgb(180, 160, 110);
}

footer {
  border-top: 1px solid rgb(180, 160, 110);
  padding: 20px 0 48px 0;
}

footer p.impressum {
  font-size: 14px;
  line-height: 0px;
  margin-left: 24px;
}

p.top a:before,
article div.rechts aside ul li a:before,
article div.links a.imglink:before,
article div ul.docs li:before,
article div ul.docs li a:before,
article div.rechts aside ul li a:before,
article div.rechts aside ul li:before,
a.kein:before,
a.button.kein:before {
  content: none;
}

p.top a svg {
  display: inline-block;
  vertical-align: middle;
  margin: -2px 0 0 6px;
}

p.top a svg polyline {
  fill: none;
  stroke: rgb(180, 160, 110);
  stroke-width: 1.5;
}

section.logout {
  padding: 8px 0;
  text-align: right;
  background-color: rgba(180, 160, 110, 0.2);
}

a.button,
article div.rechts form input,
article div.rechts form textarea {
  display: inline-block;
  line-height: 1;
  border: none;
  border-radius: 2px;
  padding: 0.3em 0.4em 0.2em 0.4em;
}

article div.rechts form input,
article div.rechts form textarea {
  color: rgb(170, 150, 100);
  background-color: rgba(180, 160, 110, 0.2);
}

article div.rechts form.bliste label input,
article div.rechts form.bliste label textarea {
  color: black;
  background-color: white;
}

article div.rechts form input:focus,
article div.rechts form textarea:focus {
  color: white;
  background: rgb(30, 130, 170);
}

a.button,
article div.rechts form input.submit {
  color: white;
  background-color: rgb(180, 160, 110);
  -webkit-appearance: none;
  margin: 0;
  padding: 6px 8px 2px 8px;
}

form.loeschen {
  display: inline-block;
  margin: 0 0 0 8px;
}

article div.rechts form textarea {
  padding: 4px 6px;
  width: 298px;
}

ul.errors {
  color: white;
  background: rgb(128, 0, 0);
  padding: 12px 12px 1px 12px;
}

article div.rechts form input.error {
  color: rgb(128, 0, 0);
  background-color: rgba(128, 0, 0, 0.2);
}

p.success {
  color: rgb(0, 128, 0);
  background-color: rgba(0, 128, 0, 0.1);
  padding: 5px 8px 1px 8px;
}

a.button:hover,
article div.rechts form input.submit:hover {
  color: white;
  background: rgb(30, 130, 170);
  border: none;
}

article div.rechts form.loeschen input.submit:hover {
  color: white;
  background: rgb(180, 0, 0);
  border: none;
}

a.button:active,
article div.rechts form input.submit:active {
  background: black;
}

.baustelle {
  background: rgba(180, 0, 128, 0.2);
  color: rgb(180, 0, 128);
}

table.bliste {
  width: 100%;
  margin: 16px 0 0 0;
  text-align: left;
  vertical-align: top;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

table.bliste th {
  font-weight: bold;
}

table.bliste th,
table.bliste td {
  box-sizing: border-box;
  border-bottom: 1px solid rgb(180, 160, 110);
  padding: 8px;
}

table.bliste tr:last-of-type td {
  border-bottom: none;
}

table.bliste th:nth-child(1) {
  width: 36%;
}
table.bliste th:nth-child(2) {
  width: 22%;
}
table.bliste th:nth-child(3) {
  width: 22%;
}
table.bliste th:nth-child(4) {
  width: 20%;
}

td.rot {
  color: rgb(160, 0, 0);
  background-color: rgba(160, 0, 0, 0.1);
}

td.orange {
  color: rgb(200, 128, 0);
  background-color: rgba(200, 128, 0, 0.1);
}

li.rot {
  color: rgb(160, 0, 0);
}

li.orange {
  color: rgb(200, 128, 0);
}

.ui-datepicker {
  position: relative;
  padding: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
}

.ui-datepicker-prev,
.ui-datepicker-next {
  position: absolute;
  top: 8px;
}

.ui-datepicker-prev {
  left: 8px;
}

.ui-datepicker-next {
  right: 8px;
}

.ui-datepicker-title {
  text-align: center;
  font-weight: bold;
  margin: 0 0 8px 0;
}

.ui-datepicker a {
  display: inline-block;
  text-align: center;
  width: 28px;
  height: 28px;
  line-height: 28px;
  border-radius: 50%;
  margin: 4px;
  color: rgb(180, 160, 110);
}

.ui-datepicker a:hover {
  color: white;
  background-color: rgb(180, 160, 110);
}

td.ui-datepicker-current-day a {
  color: white;
  background-color: rgb(30, 130, 170);
}

/* ############# Screens bis 1008px ############# */
@media only screen and (max-width: 1008px) {
  header,
  article,
  footer,
  section.logout p,
  footer p.top {
    width: auto;
    margin: 0 32px;
  }

  header h1 a {
    padding: 24px 0 0 16px;
  }

  header nav.sub {
    height: auto;
  }

  header div.start blockquote {
    box-sizing: border-box;
    width: 100%;
    width: calc(100% - 32px);
    height: auto;
    font-size: 24px !important;
    line-height: 32px !important;
    margin: 16px;
    top: 0px;
    bottom: auto;
  }

  cite span {
    display: none;
  }

  article div.links,
  div.start div.links {
    width: calc(100% / 3 - 16px);
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
  }

  article div.rechts,
  div.start div.rechts {
    width: calc(100% / 3 * 2);
  }

  header div.sondertext {
    padding: 1.5em 3em 1em calc(100% / 3);
  }

  div.bild figure {
    background: transparent;
  }

  div.bild figcaption {
    color: black;
    position: static;
    padding: 1em 0 0 0;
    text-shadow: none;
  }
}

/* ############# Screens bis 800px ############# */
@media only screen and (max-width: 800px) {
  article div.rechts form label input,
  article div.rechts form label textarea {
    width: 65%;
  }

  article div.rechts form label > span {
    width: 35%;
  }
}

/* ############# Screens bis 640px ############# */
@media only screen and (max-width: 640px) {
  header,
  article,
  footer,
  section.logout p,
  footer p.top {
    margin: 0 16px;
  }

  header h1 a {
    padding: 16px 0 0 0;
  }

  header h1 a svg {
    margin: 0 0 0 -8px;
  }

  header nav.main {
    padding: 12px 0 0 0;
  }

  header nav.sub {
    padding: 0 0 8px 0;
  }

  header div.start img {
    /* display: none; */
  }

  header div.start blockquote {
    position: static;
    width: 100%;
    padding: 16px;
    margin: 0;
    background-image: url('../img/fortuna-blau.jpg');
    background-size: cover;
    background-position: center bottom;
  }

  header div.start:hover blockquote {
    opacity: 1;
  }

  article {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
  }

  article div.links,
  div.start div.links {
    padding: 20px 8px 20px 0;
  }

  article div ul.docs li a img,
  article div a.imglink img {
    float: none;
  }

  footer p.impressum {
    margin-left: 0;
  }

  footer p.top {
    margin: 0;
  }
}

/* ############# Screens bis 480px ############# */
@media only screen and (max-width: 480px) {
  header h1 a,
  header h1 a svg {
    width: 252px;
    height: 48px;
  }

  article div.links,
  article div.rechts,
  div.start div.links,
  div.start div.rechts {
    width: 100%;
  }

  header div.start.vacancy {
    box-sizing: border-box;
    padding: 1em;
  }

  div.start div.links,
  div.start div.rechts {
    padding: 0;
    margin: 0;
  }

  div.start div.rechts + div.links {
    margin: 1em 0 0 0;
  }

  header div.vacancy h2 {
    text-align: left;
  }

  article div.links {
    padding: 16px 0 0 0;
  }

  article div.rechts {
    padding: 0 0 16px 0;
    border-top: none;
  }

  article h2 {
    margin-top: 0;
  }

  article div.links nav + ul,
  article div.links ul + ul,
  article div ul.docs li + li {
    margin: 16px 0 0 0;
  }

  article div ul.docs li a img,
  article div a.imglink img {
    float: left;
  }

  .intern form {
    margin: 16px 0 0 0;
  }

  article div.rechts form label input,
  article div.rechts form label textarea {
    float: none;
    width: 100%;
    margin: 4px 0 0 0;
  }

  header div.sondertext {
    padding: 1.25em 1em 0.5em 1em;
  }
}
