* {
    padding:0; margin:0;
}
html {
    text-align: center;
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size: 14px;
}
body {
    margin:0 auto;
    max-width: 1000px;
}
#header {
    text-align:center;
    padding: 50px 0;
    /* min-height: 100px */
}

#header h1 {
  font-family: 'Abel', sans-serif;
  font-size: 50px;
  font-weight:normal;
  color: #666
}

#main li {
    list-style: none;
    width:25%;
    float:left;
    position: relative;

}
#main li a {
    text-align: left;
    display:block;
    border: none;
    padding: 7%;
    min-height: 200px;
    text-decoration: none;
}
#main li a img {

}
.titel {
    display: block;
    position: absolute;
    bottom: 10%;
    padding-right: 10%;
}

li.oegnb {
    background-color: #000;
}
li.oegnb .titel,
li.aspern .titel {
    color: #fff;
}
li.ka .titel {
    color: #000;
}
li.aspern {
    background-color: #BBBA00;
    background-image: url('bubbles.png');
    background-repeat: no-repeat;
}
li.staun  {
    background-image: url('bg_staun.png');
    background-repeat: repeat-y;

}
li.staun a {
    color: #000;
    text-decoration:none;
}
li.ka {
    background-image: url('bg_header.jpg');
    background-repeat: no-repeat;
    background-position: center -50px

}
.impressum {
    font-family: 'Abel', sans-serif;
    font-size: .9em;
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    left: 0;
    z-index: 1002;
}
.impressum a {
    text-decoration: none;
}

/**
 * footer fixed at bottom
 *
 **/
html, body {
    height: 100%;
}
.frame {
    min-height: 100%;
}
/* must be same height as the footer */
#main {
    overflow:auto;
    padding-bottom: 30px;
}
#footer {
    position: relative;
    margin-top: -30px; /* negative value of footer height */
    height: 30px;
    clear:both;
    z-index:1001;
}
/*Opera Fix*/
body:before {
    content:"";
    height:100%;
    float:left;
    width:0;
    margin-top:-32767px;/
}

/* tools */
#subFooter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    font-family: 'Abel', sans-serif;
    font-size: .9em;
}

#subFooter .cont {
    margin: 0 auto;
    width: 1000px;
}

/* AUTH-FORM */
#authFormBox {
    text-align: left;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1500;
    background-color: #ffffffee;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    padding-top: 100px;
    align-content: flex-start;
    justify-content: flex-end;
    display: flex;
    display: none;
}

#authFormBox.open {
    display: flex !important;
}

#authForm {
    width: 500px;
    margin: 0px auto;
    padding: 10px;
    background-color: #eee;
    border: 1px solid #666;
}

#authForm label {
    display: block;
    margin-top: 0.5em;
}
#authForm input[type=text],
#authForm input[type=password] {
    width: 100%;
    line-height: 1em;
    font-family: monospace;
    padding: .5em;
    font-size: 1em;
    box-sizing: border-box;
}
#authForm input[type=submit] {
    /* line-height: 2em; */
    padding: .5em;
    margin: 2em 0 1em;
    /* font-size: 1em; */
}

#authFormBoxClose {
    width: 498px;
    line-height: 26px;
    margin: 0px auto;
    border-bottom: 1px solid #2f6977;
    border-right: 1px solid #2f6977;
    border-left: 1px solid #2f6977;
    background-color: #2f6977;
    text-align: right;
    padding: 14px 12px;
}

#authFormBoxClose img {
    cursor: pointer
}

#authForm #noPwd {
    cursor: pointer;
    color: #2f6977;
    text-decoration: underline;
}
#authForm #noRegistration a:hover,
#authForm #noPwd:hover {
    text-decoration: none;
}
#authForm .hidden {
    visibility: hidden;
}

#authForm #enterEmail {
    display: none
    /* text-decoration: underline; */
    /* cursor: pointer; */
    /* color: #2f6977; */
}

#authForm #pwdRequest, #authForm #noRegistration {
    padding-top: .5em;
    /* width: 45%; */
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
}
#authForm #noRegistration a {
    color: #2f6977;
    text-decoration: underline;
}

/* END AUTH-FORM */