html,
body {
    max-width: 100%;
    overflow-x: hidden;

    min-height: 100vh;
    position: relative;
    margin: 0;
}
#background {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background: url(polina.jpg) no-repeat;
    background-size: cover;
}
.pqinnertext {
    padding-left: 20px;
    margin-right: 20px;
    margin-bottom: 10px;
}

.pqmain {
    margin-bottom: 50px;
}

a:link {
    color: white;
}
ul {
    list-style-type: none;
    -webkit-padding-start: 0px;
}
label {
    background-color: white;
    border-radius: 5px;
    padding: 8px;
    padding-left: 35px;
    color: #005571;
    width: 100%;
}
li {
    margin-top: 10px;
    padding: 5px;
    border-radius: 5px;
}
input[type=checkbox] {
    display: none;
}
input[type=checkbox] ~ ul {
    max-height: 0;
    max-width: 100;
    opacity: 0;
    overflow: hidden;
    /* white-space: nowrap; */
    -webkit-transition: all 1.0s ease;
    -moz-transition: all 1.0s ease;
    -o-transition: all 1.0s ease;
    transition: all 1.0s ease;
}
input[type=checkbox]:checked ~ ul {
    max-height: 100%;
    max-width: 100%;
    opacity: 1;
    color: white;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
}
input[type=checkbox] + label:before {
    transform-origin: 25% 50%;
    border: 8px solid transparent;
    border-width: 8px 12px;
    border-left-color: #005571;
    margin-left: -25px;
    width: 0;
    height: 0;
    display: inline-block;
    text-align: center;
    content: '';
    color: white;
    -webkit-transition: all 1.0s ease;
    -moz-transition: all 1.0s ease;
    -o-transition: all 1.0s ease;
    transition: all 1.0s ease;
    position: absolute;
    margin-top: 4px;
}
input[type=checkbox]:checked + label:before {
    transform: rotate(90deg);
    /*margin-top: 6px;
  margin-left: -25px;*/
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    /* Set the fixed height of the footer here */
    line-height: 60px;
    /* Vertically center the text there */
    background-color: #000000;
    opacity: 0.8;
    
    position: fixed;
    z-index: 10; /** this value affects the overlapping **/
    
}
.pqfooterlink {
    color: white;
    padding-left: 16px;
    margin-right: 16px;
}
.pqfooterdiv {
    text-align: center;
}
.pqimpressum {
    margin-top: 10px;
    margin-bottom: 100px;
    padding: 5px;
    border-radius: 5px;
    font-size: 0.9em;
}
.pqimpressumbox {
    background-color: white;
    border-radius: 5px;
    padding: 8px;
    padding-left: 25px;
    padding-right: 25px;
    width: 100%;
}

.pqimpressumtitle {
    color: #005571;
}
.pqimpressumlink {
    color: #005571 !important;
}

a[href^=tel] {
    color: #005571;
    text-decoration: none;
}