@charset "UTF-8";

/*
@TODO: Umstellung auf CSS-Variablen
#00728a - Tuerkis
#636363 - Fast Schwarz
#8d8d8d - Dunkelgrau
#b1b1b1 - Grau
#d1d1d1 - Hellgrau
#e0e0e0 - Superhellgrau
*/


/*** BEGIN: Variables, basic setup of page, hide elements that should only be shown when printing ***/
:root {
  --turquoise: #00728a;
  --almostblack: #636363;
  --darkgray: #8d8d8d;
  --gray: #b1b1b1;
  --lightgray: #d1d1d1;
  --superlightgray: #e0e0e0;
}

* {
  padding: 0;
  margin: 0;
  hyphens: auto;
  -webkit-hyphens: auto;
}

@media screen {
  .onlyprint {
    display: none;
  }
}

html {
  line-height: 1.5em;
}

body {
  margin: auto;
  background: #F0F0F0;
  font-family: Dosis;
  color: #333333;
  padding: 1vh;
  min-width: 310px;
  max-width: 1920px;
  -webkit-print-color-adjust: exact;
}

@media (max-width: 50em) {
  body {
    padding: 0.1vh;
  }
}

#outerwrapper {
  background: #FFFFFF;
  min-height: 98vh;
}

@media (max-width: 50em) {
  #outerwrapper {
    top: 0;
    right:0;
    left: 0;
  }
}

#innerwrapper {
  /*padding: 8em 1em 1em 10em;*/
  padding: 8em 1em 1em 1em;
}

@media (max-width: 50em) {
  #innerwrapper {
    padding: 1vh 1vw;
  }
}
/*** END: Variables, basic setup of page, hide elements that should only be shown when printing ***/

/*** BEGIN: Header ***/
.header {
  position: relative;
  float: right;
  margin: 0.5em 0.5em 0.5em 0;
}

.header li {
  float: left;
  padding: 0.5em 0.5em 0.5em 0.5em;
}

.header li:hover {
  background-color: #f0f0f0;
}

.header img {
  max-width: 2em;
}

@media (max-width: 30em) {
  .header img {
    max-width: 1em;
  }
}

.logo {
  width: 8em;
  float: left;
  margin-top: 0.5em;
  margin-left: 0.8em
}

@media (max-width: 50em) {
  .logo {
    width: 4em;
  }
}
/*** END: Header ***/

/*** BEGIN: IE warning and disabled login ***/
#iewarning {
  display: none;
}

#submitie {
  display: none;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #iewarning {
    background-color: red;
    color: white;
    padding: 2em;
    display: block;
  }
  
  #submitnormal {
    display: none;
  }
  
  #submitie {
    display: block;
  }
}
/*** END: IE warning and disabled login ***/

/*** BEGIN: Last changes bar ***/
#lastchangesbarwrapper {
  position: absolute;
  top: 1vh;
  left: 50%;
}

#lastchangesbar {
  display: table;
  border-collapse: collapse;
  background-color: yellow;
  position: relative;
  left: -50%;
}

.lastchange {
  display: table-row;
  border-top: dotted;
}

.lastchange:first-of-type {
  border-top: none;
}

.lastchangetext {
  display: table-cell;
  padding: 0.5em 2.5em 0.5em 0.5em;
}

.lastchangeclose {
  position: relative;
  z-index: 10;
  display: table-cell;
  padding: 0.5em;
  cursor: pointer;
  cursor: hand;
}
/*** END: Last changes bar ***/

/*** BEGIN: Navigation ***/
#outernav {
  float: left;
  padding: 0;
}

#loginlink {
  float: right;
}

#outernav a {
  text-decoration: underline;
}

#outernav a:hover {
  color: #00728a;
}

.navigation {
  float: left;
  clear: left;
}

.navigation ul {
  list-style: none;
  margin: 0 auto;
  background-color: #f0f0f0;
  min-width: 450px;
}

.navigation .subtext {
  font-size : 75%;
  color : #878787;
  margin-top: 0px;
}

.navigation ul ul {
  position: absolute;
  display: none;
  width: auto;
  padding: 10px;
}

.navigation ul ul ul {
  position: absolute;
  display: none;
  width: auto;
  margin: -33px 0 0 100%;
}

.navigation ul li:hover ul {
  display: block;
}

.navigation ul ul li:hover ul{
  display: block;
}

.navigation li {
  float: left;
  margin-right: 40px;
}

.navigation li a {
  font-family : Dosis;
  font-size : 16px;
  text-transform : uppercase;
  color : #636363;
}

.navigation ul li ul li a {
  border: none !important;
}

.navigation ul li ul li {
  float: none;
  display: block;
  clear: both;
}
/*** END: Navigation ***/

/*** BEGIN: Textstyles ***/
h1 {
  font-family: Dosis;
  font-size: 2em;
  color: #00728a;
  text-transform: uppercase;
  margin: 0 0 0.25em;
  clear: both;
}

h2 {
  font-family: Dosis;
  font-size: 1em;
  color: #00728a;
  /*text-transform: uppercase;*/
  margin: 2em 0 0.25em;
  clear: both;
}

h3 {
  font-family: Dosis;
  font-size: 1em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 1.5em 0 0.25em;
  clear: both;
}

h4 {
  margin: 12px 0 -13px 0px;
  clear: both;
}

h5 {
  
}

h6 {
  
}

p {
  margin: 0.5em 0 1em 0;
}

a {
  color: #00728a;
}

.link-button {
  display: inline-block;
  background-color: #f1f1f1;
  padding: 1em 1.5em;
  margin-bottom: 1em;
  text-decoration: none;
}

.link-button:active {
  box-shadow: 0 0.1em 0 #006599;
  transform: translateY(0.4em);
}
/*** END: Textstyles ***/

/*** BEGIN: Lists ***/
ul {
  list-style-type: none;
}

ul>li {
  margin-bottom: 0.5em;
}

ol {
  padding-left: 40px;
  list-style-type: none;
}
/*** END: Lists ***/

/*** BEGIN: Forms and input fields ***/
form,
.form {
  background-color: var(--superlightgray);
  padding: 3vh 3vw;
  width: -moz-fit-content;
  margin-bottom: 1.5vh;
}

form h1,
form h2,
form h3,
form h4,
form h5,
form h6,
form p,
form label {
  margin: 0.5em; /*Setting margin for elements in forms, so that they look similar to input fields*/
}

@media (max-width: 50em) {
  form {
    padding: 1vh 1vw;
    margin-bottom: 0.5vh;
  }
}

fieldset {
  width: 100%;
  text-align: left;
  border: none;
}

legend {
  margin-top: 1em;
}

label {
  display: inline-block;
  min-width: 150px;
  /*margin: 1em 2em 1em 0;*/
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
button {
  height: 2em;
  padding: 0.5em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="checkbox"],
button,
select,
textarea {
  min-width: 20em;
  font-family: Dosis;
  font-size: 1em;
  margin: 0.5em;
  border: none;
  color: var(--almostblack);
  background-color: #ffffff;
}

.htmltableformaddition > .select2,
.htmltableformaddition > input[type="text"],
.htmltableformaddition > input[type="email"],
.htmltableformaddition > input[type="tel"],
.htmltableformaddition > input[type="password"],
.htmltableformaddition > input[type="number"],
.htmltableformaddition > input[type="date"],
.htmltableformaddition > input[type="time"],
.htmltableformaddition > input[type="checkbox"],
td > input[type="checkbox"],
.htmltableformaddition > button,
.htmltableformaddition > select,
.htmltableformaddition > textarea  {
  margin: 0.5em;
}

input[type="date"],
input[type="time"] {
  min-width: 0;
}

@media (max-width: 50em) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="number"],
  input[type="date"],
  input[type="time"],
  input[type="checkbox"],
  button,
  select,
  textarea {
    margin: 1px 1px 0 1px;
    min-width: 0;
  }
}

input[type="checkbox"] {
  width: 3em;
  float: none;
  height: auto;
  width: auto;
  min-width: 0;
}

input[type="number"] {
  min-width: 10em;
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type="submit"],
button:not(.close):not(.preaddnewsentry):not(.addnewsentry):not(.preaddtimetableentry):not(.addtimetableentry):not(.removetimetableentry):not(.removenewsentry):not(.preedittimetableentry):not(.edittimetableentry):not(.preeditnewsentry):not(.editnewsentry) {
  background-color: #00728a;
  color: #FFFFFF;
  text-decoration: none;
  height: auto;
  min-width: 8.5em;
  cursor: pointer;
  cursor: hand;
}

button:disabled {
  cursor: not-allowed !important;
  pointer-events: all !important;
}

button.close { /* Remove after full transition to Bootstrap */
  min-width: 0;
  height: auto;
}

/* label:hover, */ /* Gab Probleme mit JQuery-Datatables (Dropdown und Suchfeld) */
input[type="submit"]:hover ,
button:hover:not(.close) /* Remove after full transition to Bootstrap */ {
  background-color: #DFDFDF;
}

.reallydelete:hover {
  background-color: red;
}

input[type="submit"]:active,
button:active {
  position:relative;
  top:1px;
}

.textareawrapper * {
  vertical-align: top;
}

textarea {
  padding: 0.5em;
}
/*** END: Forms and input fields ***/

/*** BEGIN: Tables ***/
table, th, td {
  font-family: Dosis;
  border-collapse: collapse;
  text-align: left;
  padding: 0.5em;
  margin-bottom: 1em;
  clear: both;
}

th {
  color: #00728a;
  hyphens: manual;
  -webkit-hyphens: manual;
}

th:first-child {
  padding-left: 0;
}

/*
td:first-child {
  padding-left: 0;
}
Does not look that great...
*/

table tr td.default {
  font-weight: bold;
}

.uneven td {
  background-color: transparent;
}

.unevenwithcolor td {
  background-color: #D6CFCE;
}

.even td {
  background-color: #F1F1F1;
}

.htmltableform {
  background-color: transparent;
  padding: 0;
}

.htmltableform tr.subheading td {
  padding: 1.5em 0 0 1em;
  color: #00728a;
}

.htmltableform tr.subheading:first-of-type td {
  padding: 0 0 0 1em;
}

button.htmltableformaddbutton {
  min-width: 2.5em !important;
}

button.htmltableformcsvexport {
  float: right;
  min-width: 2.5em !important;
}

input[type="text"].htmltableformfilter {
  float: right;
  border: dotted;
  height: 1em;
  background-image: url("../images/filter256black.png");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 1em;
  background-origin: content-box;
  box-sizing: unset;
  width: 50%;
}

.htmltableformaddition {
  display: inline-block;
  padding: 0;
  width: auto;
}

.htmltableformaddition table,
.htmltableformaddition tr,
.htmltableformaddition td {
  border: none;
  min-width: 100%;
}

.files {
  clear: both;
  margin-left: 1.5em;
}

.existingfile {
  position: relative;
}

.htmltableicon {
  max-width: 3em;
}
/*** END: Tables ***/

/*** BEGIN: Miscellaneous ***/
.clear {
  clear:both;
}

img {
  border: none;
}

.icon50percent {
  width: 50%;
}

.icon25percent {
  width: 25%;
}

.icon20percent {
  width: 20%;
}

.icon10percent {
  width: 10%;
}

.icon5percent {
  width: 5%;
}

.select2icon {
  width: 1em;
  /*margin-bottom: 3px;*/
}

.helptext {
  display: inline-block;
  margin-left: 0.5em;
  width: 1em;
  background-image: url("../images/help512blue.png");
  background-size: 1em;
  background-position: center;
  background-repeat: no-repeat;
}

.helptextbackground {
  background-image: url("../images/help512blue.png");
  background-size: 1em;
  background-position: right 0.5em center;
  background-repeat: no-repeat;
}

.fiftypercentcolumn {
  float: left;
  max-width: calc(50% - 2em);
  height: 100%;
  padding-right: 2em;
}

@media (max-width: 50em) {
  .fiftypercentcolumn {
    float: none;
    text-align: center;
    max-width: 100%;
    height: auto;
    padding-right: 0;
  }
}

.fiftypercentcolumn ~ .fiftypercentcolumn {
  padding-right: 0;
  padding-left: 2em;
}

@media (max-width: 50em) {
  .fiftypercentcolumn ~ .fiftypercentcolumn {
    padding-left: 0;
  }
}

/*** END: Miscellaneous ***/

/*** BEGIN: Read more functionality ***/
.readmorecontent {
  display: none;
}

.readmorelink {
  cursor: pointer;
  cursor: hand;      
}
/*** END: Read more functionality ***/

/*** BEGIN: Statusbox and Errorbox and markup of errors in text ***/
@keyframes hideAway {
  to {
    opacity: 0;
  }
}

@keyframes removeFromScreen {
  to {
    left: -9999px;
  }
}

.messageboxwrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

.statusbox {
  text-align: center;
  color: #F0F0F0;
  border: #00728A solid 0.1em;
  background: #00728a;
  padding: 0.5em 0;
  width: 100%;
  animation: hideAway 5s ease-in 3s forwards, removeFromScreen 0.01s ease-in 8s forwards;
}

.errorbox {
  text-align: center;
  color: #F0F0F0;
  border: #636363 solid 0.1em;
  background: #FF0000;
  padding: 0.5em 0;
  width: 100%;
  animation: hideAway 5s ease-in 3s forwards, removeFromScreen 0.01s ease-in 8s forwards;
}

.errorbox.persistent {
  animation: none;
}

.hintbox {
  text-align: center;
  color: #F0F0F0;
  border: #636363 solid 0.1em;
  background: #00728a;
  padding: 0.5em 0;
  width: 100%;
  animation: hideAway 5s ease-in 3s forwards, removeFromScreen 0.01s ease-in 8s forwards;
}

.hintbox.persistent {
  animation: none;
}

.successbox {
  text-align: center;
  color: #F0F0F0;
  border: #636363 solid 0.1em;
  background: #00AA00;
  padding: 0.5em 0;
  width: 100%;
  animation: hideAway 5s ease-in 3s forwards, removeFromScreen 0.01s ease-in 8s forwards;
}

.successbox.persistent {
  animation: none;
}

div.error,
span.error {
  color: red;
  margin: 0.5em;
}
/*** END: Statusbox and Errorbox and markup of errors in text ***/

/*** BEGIN: Footer ***/
#footer {
  font-size: 0.75em;
  text-align: center;
  position: fixed;
  bottom: 1vh;
  left: 50%;
}

.lastchangebottom {
  display: none;
  background-color: white;
  position: relative;
  left: -50%;
}
/*** END: Footer ***/