*
{
  box-sizing: border-box;
  font-family: 'Exo 2', sans-serif;
  line-height: 1.3em;
}

a
{
  color: #5841D8;
  text-decoration: none;
}

#tooltip
{
  display: none;
  z-index: 50;
  width: 329px;
  height: 240px;
  line-height: 1;
  background: #ffffff;
  position: absolute;
  margin-top: 20px;
  border: #999999 1px solid;
  padding: 5px;
  border-radius: 3px;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
  opacity: 0.95;
}

#tooltip img
{
  width: 307px;
  height: 217px;
  vertical-align: top;
}

#refresh img
{
  width: 14px;
}

a:hover
{
  color: #3e2e99;
}

body
{
  margin: 0;
  overflow-y: scroll;
  overflow-x: hidden;
}

p
{
  margin: 0 0 4vw 0;
}

h2
{
  margin: 0 0 4vw 0;
}

.italic,
.italic *
{
  font-style: italic;
}

.btn-success
{
  border-radius: 3px;
  display: inline-block;
  color: #ffffff;
  background-color: #5841D8;
  padding: 2px 6px;
  border: #3e2e99 1px solid;
}

.btn-success:hover
{
  background-color: #3e2e99;
  color: #ffffff;
}

#main
{
  background-position: center center;
  display: block;
  background-color: #ffffff;
  background-size: cover;
  background-attachment: fixed;
  padding-bottom: 16vw;
  min-height: calc(100vh - 26.83vw - 16vw);
}

header > i
{
  position: absolute;
  right: 4vw;
}

header
{
  overflow: hidden;
  display: block;
  width: 100vw;
  height: 22vw;
  background-color: #5841D8;
  background-size: cover;
  background-position: center center;
  padding: 0;
  margin: 0;
}

header > div
{
  padding: 3vw;
  width: 100vw;
}

#headerlogo
{
  cursor: pointer;
  width: 92vw;
  float: left;
  height: 14vw;
}

#nav_main
{
  z-index: 100;
  background: #5841D8;
  position: fixed;
  bottom: 0px;
  width: 100vw;
  border-top: #ffffff 0.2vh solid;
}

#nav_main ul
{
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100vw;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  flex-wrap: wrap;
}

#nav_main ul li
{
  flex-basis: 16.5%;
  flex-direction: column;
  align-items: center;
  display: inline-block;
  text-align: center;
}

#nav_main ul li a
{
  color: #ffffff;
  height: 16vw;
  padding: 3vw;
  display: block;
  font-size: 8vw;
}

#nav_main ul li a:hover
{
  background: #3e2e99;
}

#nav_main ul li > img
{
  height: 8vw;
}

header ul li a img
{
  height: 16px;
}

header ul
{
  display: none;
  margin: 0;
  padding: 0;
  width: 250px;
  float: right;
  list-style: none;
}

header ul li a
{
  text-decoration: none;
  display: block;
  color: #5841D8;
  padding: 4px 0;
}

header ul li a:hover
{
  color: #3e2e99
}

header ul li a i
{
  display: inline-block;
  width: 24px;
  height: 16px;
}

#footer
{
  display: none;
  position: fixed;
  bottom: 0;
  height: 36px;
  background: #5841D8;
  width: 100%;
}

#footer ul
{
  width: 1024px;
  margin: 0 auto;
  padding: 0;
}

#footer ul li
{
  display: inline-block;
}

#footer ul li a
{
  display: inline-block;
  padding: 8px 14px;
  color: #ffffff;
  text-decoration: none;
}

#footer ul li a:hover
{
  background: #3e2e99;
}

#footer ul li a i
{
  display: inline-block;
  width: 24px;
  height: 16px;
}

table.full
{
  width: 100vw;
}

table.blank
{

}

div#content
{
  padding: 0;
}

div#content > *
{
  padding: 2vw;
}

div#content *
{
  font-size: 11px;
}

@media only screen and (max-width: 1023px)
{
  .nomobile
  {
    display: none !important;
  }
}

@media only screen and (min-width: 1024px)
{


  div#content *
  {
    font-size: 15px;
  }

  table.full
  {
    width: auto;
  }

  p
  {
    margin: 0 0 15px 0;
  }

  h2
  {
    margin: 0 0 15px 0;
  }

  div#content > *
  {
    padding: 10px;
    max-width: 1024px;
    margin: 0 auto;
  }

  #footer
  {
    display: block;
  }

  #nav_main
  {
    border-top: 0;
    bottom: auto;
    position: static;
    left: auto;
    background: #5841D8;
    display: block;
    width: auto;
  }

  #nav_main > ul
  {
    width: 1024px;
    margin: 0 auto;
    flex-wrap: nowrap;
  }

  #nav_main > ul li
  {
    flex-basis: auto;
    flex-direction: row;
    display: inline-block;
  }


  #nav_main > ul li a
  {
    display: inline-block;
    padding: 8px 14px;
    font-size: 16px;
    text-align: left;
    height: auto;
  }

  #nav_main > ul li a:hover
  {
    background: #3e2e99;
  }

  #nav_main.sticky
  {
    z-index: 100;
    position: fixed;
    top: 0;
    width: 100%
  }

  body.sticky
  {
    padding-top: 36px;
  }


  header ul
  {
    display: block;
  }

  header
  {
    width: auto;
    height: 93px;
  }

  #main
  {
    width: auto;
    padding-bottom: 32px;
    min-height: calc(100vh - 163px);
  }

  header > div
  {
    width: 1024px;
    padding: 6px 14px;
    margin: 0 auto;
  }

  #headerlogo
  {
    margin-top: 4px;
    height: 73px;
    width: 479px;
    display: block;
    cursor: pointer;
  }
}

.switch
{
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
}


.switch input
{
  opacity: 0;
  width: 0;
  height: 0;
}

.slider
{
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 20px;
}

.slider:before
{
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider
{
  background-color: #5841d8;
}

input:focus + .slider
{
  box-shadow: 0 0 1px #5841d8;
}

input:checked + .slider:before
{
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}



/* ############################ globalMessages ############################### */

div#content div#globalMessages
{
  display: block;
  overflow: hidden;
  margin: 0 0 0 0;
  width: 100vw;
  max-width: none;
  padding: 0;
}

div#globalMessages ul
{
  display: block;
  width: 100vw;
  margin: 0;
  min-height: 40px;
  padding: 7px 16px 5px 16px;
  color: #000000;
  font-size: 14px;
}


div#globalMessages ul#Hinweis
{
  background: #dbecff;
  border-bottom: #2850c1 1px solid;
}

div#globalMessages ul#Erfolg
{
  background: #d4ffcd;
  border-bottom: #258815 1px solid;
}

div#globalMessages ul#Warnung
{
  background: #fefccb;
  border-bottom: #878314 1px solid;
}

div#globalMessages ul#Fehler
{
  background: #ffd2d3;
  border-bottom: #871414 1px solid;
}

div#globalMessages ul li
{
  padding: 0;
  margin: 0;
  list-style: none;
  margin-bottom: 5px;
  padding-left: 3px;

  display: block;
  max-width: 1024px;
  margin: 5px auto;

}

div#globalMessages ul li.boxtitle
{
  font-size: 24px;
  font-family: Georgia, Verdana, Tahoma, Arial;
  padding: 0;
}


div#globalMessages ul#Hinweis li.boxtitle
{
  color: #2850c1;
}


div#globalMessages ul#Erfolg li.boxtitle
{
  color: #258815;
}


div#globalMessages ul#Warnung li.boxtitle
{
  color: #878314;
}


div#globalMessages ul#Fehler li.boxtitle
{
  color: #871414;
}

div.pagenav
{
  text-align: center;
}

ul.pagenav
{
  display: inline-block;
  margin: 0;
  padding: 0;
  border: #cccccc 1px solid;
  border-radius: 6px;
}

ul.pagenav li
{
  padding: 0;
  display: inline-block;
  border-right: #cccccc 1px solid;
}

ul.pagenav li:last-child
{
  border-right: none;
}

ul.pagenav li a,
ul.pagenav li span
{
  text-decoration: none;
  display: block;
  color: #000000;
  border: 0;
  background: none;
  padding: 5px 10px;
  font-size: 16px;
  border-radius: 0;
}

ul.pagenav li.inactive a,
ul.pagenav li.inactive span
{
  color: #999999;
}

ul.pagenav li.this span
{
  background: #5841D8;
  color: #ffffff;
}

ul.pagenav li a:hover
{
  background: #5841D8;
  color: #ffffff;
}