/*
Theme Name: Literaturhaus Freiburg
Author: Ingmar Standke
Author URI: http://www.ingmarstandke.com
Version: 1.0
*/

@font-face {
    font-family: 'lhf';
    src: url('fonts/lhf-medium-webfont.woff2') format('woff2'), url('fonts/lhf-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'lhf';
    src: url('fonts/lhf-black-webfont.woff2') format('woff2'), url('fonts/lhf-black-webfont.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'lhfbook';
    src: url('fonts/lhf-book-webfont.woff2') format('woff2'), url('fonts/lhf-book-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'monobold';
    src: url('fonts/lhfmonob-bold-webfont.woff2') format('woff2'), url('fonts/lhfmonob-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    overflow-y: scroll;
    height: 100%;
    margin: 0px;
    font-family: 'lhf';
    font-size: 22px;
    line-height: 24px;
    font-weight: normal;
    word-wrap: break-word;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 1em;
    margin: 0px;
}

p {
    margin: 0px;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

p a,
label a {
    color: #000;
    background-image: linear-gradient(to bottom, #FF675F 0%, 100%, #FF675F);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 2px 3px;
}

p a:hover {
    background-image: linear-gradient(to bottom, #000 0%, 100%, #000);
}

p+p {
    margin-top: 24px;
}

p b,
p strong {
    font-weight: 900;
}

.center {
    position: relative;
    margin: 0 auto;
}

.table {
    display: table;
    position: relative;
    width: 100%;
    table-layout: fixed;
}

.table>.col {
    position: relative;
    display: table-cell;
    width: auto;
    vertical-align: top;
}

input:focus {
    outline-color: transparent;
    outline-style: none;
}


/* */

#app {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100%;
    overflow: hidden;
}

#preloader {
    position: fixed;
    z-index: 1000;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: #fff;
}

#header>.center,
#content>.center,
#footer>.center {
    padding-left: 40px;
    padding-right: 40px;
    max-width: 1950px;
}

#header {
    position: fixed;
    width: 100%;
    height: 150px;
    left: 0px;
    top: 0px;
    z-index: 100;
}

#header.scroll {
    position: absolute;
}

#logo {
    position: absolute;
    z-index: -1;
    left: 50%;
    top: -16px;
    width: 20px;
    height: 20px;
    margin-left: -10px;
}

#logo span {
    position: absolute;
    top: 0px;
    width: 950px;
    height: 1007px;
    background-size: contain;
    background-repeat: no-repeat;
}

#logo span.left {
    right: 100%;
    background-image: url('m/logo_left.png');
    background-position: right 0px;
}

#logo span.right {
    left: 100%;
    background-image: url('m/logo_right.png');
    background-position: left 0px;
}

#logo span.right span.inner {
    display: none;
    right: 100%;
    background-image: url('m/logo_right2_inner.png');
    background-position: right 0px;
}

#logo.logo2 .right {
    background-image: url('m/logo_right2.png');
}

#logo.logo2 .right .inner {
    display: block;
}

#logo.logo3 .left {
    background-image: url('m/logo_left3.png');
}

#logo.logo3 .right {
    background-image: url('m/logo_right3.png');
}

#logo.logo4 .left {
    background-image: url('m/logo_left4.png');
}

#logo.logo4 .right {
    background-image: url('m/logo_right4.png');
}

#logo.logo5 .left {
    background-image: url('m/logo_left5.png');
}

#logo.logo5 .right {
    background-image: url('m/logo_right5.png');
}

#logo.logo6 .left {
    background-image: url('m/logo_left6.png');
}

#logo.logo6 .right {
    background-image: url('m/logo_right6.png');
}

#navigation {
    margin-top: 36px;
    font-family: 'monobold';
}

#navigation li {
    position: relative;
}

#navigation li>div {
    position: relative;
}

#navigation li:after {
    content: '';
    display: block;
    clear: both;
}

#navigation a {
    position: relative;
    display: block;
    font-size: 15px;
    line-height: 18px;
    text-transform: uppercase;
    color: #FF675F;
}

#navigation a:hover,
#navigation li.selected>div>a {
    color: #000;
}

#navigation .main {
    float: left;
}

#navigation .main li>div {
    float: left;
}

#navigation li ul {
    position: absolute;
    z-index: 10;
    display: none;
    left: 100%;
    top: 0px;
    width: 400px;
    opacity: 0;
}

#navigation li ul a {
    background: rgba(255, 255, 255, 0.95);
}

#navigation .meta {
    float: right;
    text-align: right;
}

#navigation .meta form {
    display: none;
}

#navigation .meta form input {
    float: right;
    height: 18px;
    font-family: 'monobold';
    font-size: 15px;
    line-height: 18px;
    border: none;
    text-align: right;
    text-transform: uppercase;
}

#navigation .meta form>div:after {
    content: '';
    display: block;
    clear: both;
}

#navigation .meta form>div>div.table {
    width: auto;
}

#navigation .meta form .col2 {
    display: none;
    width: 28px;
    font-size: 15px;
    line-height: 18px;
}

#navigation .meta form .col2 span {
    display: block;
    height: 18px;
    color: #fff;
    cursor: pointer;
}

#header .social a {
    float: right;
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
}

#header .social a svg {
    position: absolute;
    left: 4px;
    top: 2px;
    fill: #FF675F;
}

#header .social a:hover svg {
    fill: #000000;
}

#navigation .close {
    position: absolute;
    display: none;
    right: 20px;
    top: 36px;
    font-size: 15px;
    line-height: 18px;
    cursor: pointer;
    color: #fff;
}

#header .menu {
    float: right;
    display: none;
    font-family: 'monobold';
    font-size: 15px;
    line-height: 18px;
    text-transform: uppercase;
    color: #FF675F;
    cursor: pointer;
}

#header>.center>.social {
    display: none;
}

#content {
    float: left;
    width: 100%;
    margin-top: 350px;
    margin-bottom: 150px;
}

.calendar {
    position: relative;
}

.calendar .book {
    overflow: hidden;
    height: 1400px;
    margin-top: -200px;
}

.calendar .book ul {
    position: relative;
    margin-top: 200px;
}

.calendar .book li {
    position: absolute;
}

.calendar .book li:not(.current) {
    cursor: pointer;
}

.calendar .book li.current {
    z-index: 2;
}

.calendar .book li>div {
    position: relative;
}

.calendar .book li>div>div {
    width: 488px;
    overflow: hidden;
    margin: 0px 10px;
    background: #fff;
}

.calendar .book li>div>div>div {
    float: right;
    width: 488px;
}

.calendar .book li .header {
    position: relative;
    margin-bottom: 6px;
    font-weight: 900;
    font-size: 18px;
    color: #FF675F;
}

.calendar .book li .header .date {
    display: inline-block;
    padding-top: 2px;
    font-family: 'lhfbook';
    font-size: 31px;
}

.calendar .book li .header .date span {
    opacity: 0.2;
}

.calendar .book li .header .right {
    position: absolute;
    right: 0px;
    bottom: 0px;
    text-align: right;
}

.calendar .book li .image {
    position: relative;
    margin-bottom: 18px;
    padding-bottom: 71.31147540983607%;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-color: #CCCCCC;
}

.calendar .book li .image span.prev,
.calendar .book li .image span.next {
    position: absolute;
    display: none;
    top: 50%;
    height: 60px;
    margin-top: -30px;
    padding: 0px 10px;
    font-size: 60px;
    line-height: 60px;
    color: #FF675F;
    cursor: pointer;
}

.calendar .book li .image span.prev {
    left: 0px;
}

.calendar .book li .image span.next {
    right: 0px;
}

.calendar .book li .image .counter {
    position: absolute;
    display: block;
    left: 0;
    top: 10px;
    background: #000;
    color: #fff;
    padding: 1px 5px 1px 20px;
}

.calendar .book li .image .counter::before {
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgb(255, 103, 95);
    border-radius: 50%;
    left: 6px;
    top: 8px;
    content: "";
}

.calendar .book li .image .counter span {
    font-size: 0.8em;
}

.calendar .book li .text {
    position: relative;
}

.calendar .book li .text a.livestream {
    position: relative;
    font-size: 0.8em;
    text-transform: uppercase;
    padding-left: 15px;
    background-image: none;
    color: rgb(255, 103, 95);
}

.calendar .book li .text a.livestream::before {
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgb(255, 103, 95);
    border-radius: 50%;
    left: 0px;
    top: 6px;
    content: "";
}

.calendar .book li .text .overlay {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=0);
}

.calendar .book li h2,
.calendar .book li h2+p,
.calendar .book li p+p {
    padding-right: 20px;
}

.calendar .book li h2 {
    text-transform: uppercase;
    font-weight: 900;
}

.calendar .book p.small {
    max-width: 72%;
    font-size: 14px;
    line-height: 16px;
}

.calendar .book .function {
    margin-top: 24px;
    font-family: 'monobold';
}

.calendar .book .function a {
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
    color: #FF675F;
}

.calendar .list>ul>li {
    overflow: hidden;
}

.calendar .list>ul>li.hidden {
    display: none;
}

.calendar .list ul.month>li+li {
    cursor: pointer;
}

.calendar .list ul.month>li h2 {
    margin-top: 60px;
    margin-bottom: 10px;
    font-family: 'monobold';
    text-transform: uppercase;
    color: #FF675F;
}

.calendar .list ul.month>li h3 {
    font-weight: 900;
    text-transform: uppercase;
}

.calendar .list ul.month>li:hover h3 {
    color: #FF675F;
}

.calendar .list ul.month>li h2 span {
    opacity: 0.3;
}

.calendar .list ul.month>li:nth-child(even) {
    background: #F7F7F7;
}

.calendar .list>ul>li .col {
    padding: 10px;
}

.calendar .list>ul>li .col1 {
    width: 18.24561403508772%;
    text-align: right;
    font-weight: 900;
    font-size: 18px;
    color: #FF675F;
}

.calendar .list>ul>li .col1 .date {
    display: inline-block;
    padding-top: 2px;
    font-family: 'lhfbook';
    font-size: 31px;
}

.calendar .list>ul>li .col2-1 {
    padding: 0px 10px 0px 0px;
    width: 66.70175438596491%;
}

.calendar .list>ul>li .col2-2 {
    padding: 0px 10px 0px 0px;
    font-size: 18px;
    line-height: 24px;
    color: #FF675F;
}

.calendar .list .prev {
    cursor: pointer;
    display: inline-block;
    margin-top: 62px;
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    font-size: 38px;
    line-height: 40px;
    width: 38px;
    height: 36px;
}

.calendar .list li.show+li.show .prev {
    display: none;
}


/* Person */

.animateIn {
    opacity: 0;
}

.page>.center {
    max-width: 992px;
}

.page>.center .table+.table {
    margin-top: 90px;
}

.table.default h2 {
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 900;
}

.table.default>.col1 {
    padding-right: 10px;
}

.table.default>.col2 {
    padding-left: 10px;
}

.table.person>.col1 img {
    width: 100%;
}

.table.person>.col2 {
    padding-bottom: 72px;
}

.table.person>.col2 .bottom {
    position: absolute;
    left: 10px;
    bottom: 0px;
}

.table.gallery .thumbs {
    margin-bottom: 35px;
}

.table.gallery .thumbs li {
    display: block;
    padding-right: 16px;
    float: left;
}

.table.gallery .thumbs li span {
    display: block;
    width: 55px;
    height: 43px;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

.table.gallery .thumbs li:not(.selected) span {
    background-color: #FF675F;
    background-blend-mode: lighten;
}

.table.gallery .thumbs:after {
    content: '';
    display: block;
    clear: both;
}

.table.gallery div.media ul li+li {
    display: none;
}

.table.gallery div.media ul li .media {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
}

.table.gallery div.media ul li .media img {
    position: relative;
    width: 100%;
    float: left;
}

.table.gallery div.media ul li .media:after {
    content: '';
    display: block;
    clear: both;
}

.table.gallery div.media ul li .media .play {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    cursor: pointer;
}

.table.gallery div.media ul li .media .play svg {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
    fill: #FF675F;
    opacity: 0.9;
}

.table.gallery div.media ul li .media .play:hover svg {
    fill: #000;
}

.table.gallery div.media ul li span.video {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 56.25%;
}

.table.gallery div.media ul li span.video iframe {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

.table.gallery div.media ul li p {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: right;
    font-size: 13px;
    line-height: 18px;
}

.table.map .iframe {
    position: relative;
    padding-bottom: 67.62295081967213%;
}

.table.map .iframe iframe {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

.table.map .map {
    float: left;
    width: 100%;
}

.table.map .map+p {
    float: left;
    margin-top: 10px;
    margin-bottom: 20px;
}

.table.map .col1:after {
    content: '';
    display: block;
    clear: both;
}


/* */

.table.christmas-calendar div.media ul li {
    display: none;
}

.table.christmas-calendar div.media ul li.selected {
    display: block;
}

.table.christmas-calendar div.media ul li .media {
    padding-bottom: 78.18181818181818%;
    background-size: cover;
}

.table.christmas-calendar div.media ul li .media span {
    position: absolute;
    display: flex;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 200px;
    line-height: 0.8;
    justify-content: center;
    align-items: center;
}

.table.christmas-calendar div.media ul li.past .media {
    background-color: #FF675F;
    background-blend-mode: lighten;
}

.table.christmas-calendar div.media ul li.past .media .play svg {
    fill: #000;
}

.table.christmas-calendar .thumbs li {
    margin-bottom: 16px;
}

.table.christmas-calendar .thumbs li span {
    font-size: 35px;
    color: #fff;
    display: flex;
    padding-left: 4px;
    align-items: center;
}

.table.christmas-calendar .thumbs li.past span {
    background-color: #FF675F;
    background-blend-mode: lighten;
}

.table.christmas-calendar .thumbs li:not(.past) span {
    background-color: inherit;
    background-blend-mode: initial;
}

.table.christmas-calendar .thumbs li.deactive span {
    cursor: inherit;
}


/* */

.table.form form label {
    display: block;
    margin-bottom: 5px;
}

.table.form form .error label {
    color: #FF675F;
}

.table.form form input[type="text"],
.table.form form input[type="email"] {
    display: block;
    width: 100%;
    padding-left: 5px;
    font-family: 'lhf';
    font-size: 22px;
    line-height: 28px;
    border: 1px solid #000;
}

.table.form form>div>div+div {
    margin-top: 24px;
}

.table.form form input[type="submit"] {
    background: none;
    border: none;
    font-family: 'lhf';
    padding: 0 0 3px 0;
    font-size: 22px;
    line-height: 24px;
    font-weight: normal;
    background-image: linear-gradient(to bottom, #FF675F 0%, 100%, #FF675F);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 2px 3px;
    cursor: pointer;
}

.table.form form .donation_type .flex {
    display: flex;
    align-items: center;
}

.table.form form .donation_type label {
    display: inline-block;
    width: auto;
    margin-right: 20px;
}

.table.form form .donation_type+.donation_type {
    margin-top: 10px;
}

.table.form form .payment_info {
    margin-top: 10px;
    background: lightgray;
    padding: 10px;
    font-size: 14px;
    line-height: 18px;
    display: none;
}


/* Suche */

.id-suche ul>li {
    position: relative;
    padding: 10px;
}

.id-suche ul>li:nth-child(odd) {
    background: #F7F7F7;
}

.id-suche ul>li .center {
    max-width: 992px;
}

.id-suche .highlight {
    color: #FF675F;
}

.id-suche .col.image {
    width: 145px;
}

.id-suche .col.image img {
    width: 125px;
}

.id-suche ul>li a {
    position: absolute;
    z-index: 1;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}


/* Footer */

#footer {
    position: absolute;
    width: 100%;
    left: 0px;
    bottom: 0px;
    padding-bottom: 50px;
}

#footer a {
    float: right;
    font-family: 'monobold';
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
    color: #FF675F;
}

#overlay {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.7);
}

#overlay .text {
    position: absolute;
    background: #fff;
    padding: 40px;
    width: 100%;
    left: 50%;
    max-width: 800px;
    transform: translate(-50%, -50%);
    top: 50%;
}

#overlay .close {
    display: inline-block;
    margin-top: 20px;
    cursor: pointer;
    text-transform: uppercase;
    color: #FF675F;
    font-size: 21px;
    line-height: 24px;
    font-family: 'monobold';
}


/* */

#overlay-live {
    position: fixed;
    display: flex;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

#overlay-live>span {
    display: block;
    position: absolute;
    z-index: 101;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#overlay-live>div {
    position: relative;
    z-index: 102;
    width: 100%;
    max-width: 1024px;
    max-height: 1024px;
    background: #000;
}

#overlay-live>div>div {
    position: relative;
    padding-bottom: 56.25%;
}

@media screen and (min-aspect-ratio: 16/9) and ( max-height: 574px) {
    #overlay-live>div {
        height: 100%;
        width: calc(100vh * 1.77);
    }
}

#overlay-live>div iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    height: 100% !important;
}

#overlay-live .close {
    position: absolute;
    display: block;
    right: 3px;
    top: 3px;
    width: 26px;
    height: 26px;
    cursor: pointer;
}

#overlay-live .close::before,
#overlay-live .close::after {
    position: absolute;
    height: 4px;
    width: 26px;
    display: block;
    background: #fff;
    left: 0;
    top: 11px;
    content: '';
    transform: rotate(-45deg);
}

#overlay-live .close::after {
    transform: rotate(45deg);
}

#overlay-live span.donate {
    position: absolute;
    display: block;
    left: 0;
    bottom: 50px;
    width: 190px;
    background: rgb(255, 103, 95);
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    padding: 3px 3px 3px 10px;
    cursor: pointer;
}

#overlay-live div.donate {
    position: absolute;
    display: none;
    left: 200px;
    bottom: 50px;
    width: 350px;
    background: rgb(255, 103, 95);
    padding: 10px 10px 10px 10px;
    font-size: 18px;
}

@media screen and ( max-width: 768px) {
    #overlay-live span.donate {
        top: 100%;
        bottom: inherit;
    }
    #overlay-live div.donate {
        bottom: 10px;
        left: 0px;
        width: 320px;
    }
}

#overlay-live div.donate h6 {
    display: flex;
    text-transform: initial;
    margin-bottom: 20px;
    justify-content: space-between;
    align-items: flex-start;
}

#overlay-live div.donate h6 svg {
    margin-right: 4px;
    margin-top: 3px;
}

#overlay-live div.donate button {
    display: flex;
    width: 100%;
    padding: 0;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    align-items: center;
    cursor: pointer;
}

#overlay-live div.donate button .icon {
    position: relative;
    display: block;
    margin-right: 10px;
    border: 1px solid #000;
    width: 16px;
    height: 16px;
}

#overlay-live div.donate button.selected .icon:before {
    display: block;
    position: absolute;
    left: 2px;
    top: 2px;
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 5px;
    content: '';
}

#overlay-live div.donate button .value {
    margin: 0 0 0 auto;
}

#overlay-live div.donate span.submit {
    display: flex;
    margin-top: 20px;
    width: 100%;
    justify-content: space-between;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

donate @media screen and ( min-width: 1490px) {
    #logo {
        top: -24px;
    }
    #navigation a,
    #navigation .meta form input {
        font-size: 21px;
        line-height: 24px;
    }
    #navigation .meta form input {
        height: 24px;
    }
    #header .social a {
        width: 24px;
        height: 24px;
    }
    #header .social a svg {
        left: 7px;
        top: 4px;
        width: 15px;
        height: 15px;
    }
}

@media screen and ( min-width: 1024px) {
    #navigation .main li ul a span::before {
        content: "\2009/\2009";
    }
}

@media screen and ( max-width: 1023px) {
    #logo {
        z-index: 1;
        margin-left: 0px;
        left: 30px;
        top: 20px;
        width: auto;
        height: auto;
    }
    #logo span.left,
    #logo span.right {
        float: left;
        position: relative;
        left: inherit;
        right: inherit;
    }
    #logo span.left {
        margin-right: 20px;
    }
    #logo.logo1,
    #logo.logo2 {
        margin-left: -78px;
    }
    #logo.logo3 {
        margin-left: -32px;
    }
    #logo.logo4 {
        margin-left: -84px;
    }
    #logo.logo5 {
        margin-left: -78px;
    }
    #logo.logo6 {
        margin-left: -78px;
    }
    #navigation {
        float: right;
    }
    #navigation .main,
    #navigation .meta {
        float: none;
        width: auto;
    }
    #navigation .main li div {
        float: right;
    }
    #navigation .main li ul {
        left: inherit;
        right: 100%;
    }
    #navigation .main li ul a span::after {
        content: "\2009/\2009";
    }
    .calendar div.book {
        margin-left: -40px;
    }
    #overlay .text {
        max-width: 90%;
    }
}

@media screen and ( max-width: 768px) {
    #header>.center,
    #content>.center,
    #footer>.center {
        padding-left: 30px;
        padding-right: 30px;
    }
    .calendar div.book {
        margin-left: -30px;
        margin-right: -30px;
    }
}

@media screen and ( max-width: 767px) {
    #logo {
        top: -16px;
    }
    #header .center {
        margin-top: 36px;
        min-height: 90px;
    }
    #header .menu {
        display: block;
    }
    #navigation {
        position: absolute;
        z-index: 100;
        left: 0px;
        top: -36px;
        margin-top: 0px;
        padding: 30px 30px 35px 30px;
        width: 100%;
        background: #FF675F;
        display: none;
    }
    #navigation .close {
        right: 30px;
    }
    .show-navigation #navigation {
        display: block;
    }
    .show-navigation #navigation .close {
        display: block;
    }
    #navigation .main {
        margin-top: 36px;
    }
    #navigation {
        text-align: right;
    }
    #navigation .main li {
        opacity: 1 !important;
    }
    #navigation .main li>div>a {
        float: right;
    }
    #navigation .main>li>div>a {
        color: #000;
    }
    #navigation .meta>li>a {
        color: #fff;
    }
    #navigation .main li ul {
        float: right;
        display: block !important;
        width: 100%;
        position: relative;
        right: 0px !important;
        margin-top: 0px !important;
        opacity: 1 !important;
    }
    #navigation .main li ul a {
        background: none;
        color: #fff;
    }
    #navigation a:hover,
    #navigation li.selected>div>a {
        color: #000;
    }
    #navigation .main li ul a span:after {
        display: none;
    }
    #navigation .main>li+li,
    #navigation .meta {
        margin-top: 18px;
    }
    #navigation .meta form input {
        background: #FF675F;
    }
    #navigation .meta form>div>div.table {
        width: 100%;
    }
    #navigation .meta .social {
        display: none;
    }
    #navigation .meta form .col2 {
        display: table-cell;
    }
    #header>.center>.social {
        display: block;
        position: absolute;
        right: 30px;
        top: 20px;
    }
    .calendar .list>ul>li .col2-1,
    .calendar .list>ul>li .col2-2 {
        display: block;
        width: 100%;
        padding: 0px;
    }
    .table.default>.col1,
    .table.default>.col2 {
        display: block;
        padding-left: 0px;
        padding-right: 0px;
    }
    .table.person>.col2 {
        padding-bottom: 0px;
    }
    .table.person>.col2 .bottom {
        position: relative;
        margin-top: 24px;
        left: 0px;
    }
    #overlay .text {
        padding: 30px;
        font-size: 16px;
        line-height: 18px;
    }
}

@media screen and ( max-width: 480px) {
    #header>.center,
    #content>.center,
    #footer>.center {
        padding-left: 15px;
        padding-right: 15px;
    }
    #navigation {
        padding: 30px 15px 35px 15px;
    }
    #navigation .close,
    #header>.center>.social {
        right: 15px;
    }
    #logo {
        left: 12px;
    }
    #logo.logo1 span.left,
    #logo.logo2 span.left,
    #logo.logo3 span.left,
    #logo.logo5 span.left,
    #logo.logo6 span.left {
        display: none;
    }
    #logo.logo4 span.right {
        display: none;
    }
    #logo.logo1 {
        margin-left: -10px;
    }
    #logo.logo2 {
        margin-left: -10px;
    }
    #logo.logo3 {
        margin-left: -10px;
    }
    #logo.logo4 {
        margin-left: -64px;
    }
    #logo.logo5 {
        margin-left: -10px;
    }
    #logo.logo6 {
        margin-left: -10px;
    }
    .calendar div.book {
        margin-left: 0px;
        margin-right: 0px;
    }
    .calendar .list>ul>li .col1 {
        width: 70px;
        padding-right: 0px;
    }
    .calendar .list .prev {
        font-size: 28.5px;
    }
    .calendar .book li.current .image span {
        display: block;
    }
}

@media screen and ( max-width: 400px) {
    body {
        font-size: 16.5px;
        line-height: 18px;
    }
    p a {
        background-size: 2px 2px;
    }
    p a:hover {
        background-size: 2px 2px;
    }
    .calendar .book li .header {
        font-size: 13.5px;
    }
    .calendar .book li .header .date {
        font-size: 23.25px;
    }
    .calendar .list>ul>li .col1 {
        width: 50px;
        padding-right: 0px;
        font-size: 13.5px;
    }
    .calendar .list>ul>li .col1 .date {
        font-size: 23.25px;
    }
    .calendar .list>ul>li .col2-2 {
        font-size: 13.5px;
        line-height: 18px;
    }
    .id-suche .col.image {
        display: none;
    }
}

@media print {
    body {
        -webkit-print-color-adjust: exact;
        color-adjust: exact
    }
    p a {
        background-size: 2px 2px;
    }
    #header {
        position: absolute !important;
        top: 0px !important;
    }
    #logo span {
        width: 168.5px !important;
        height: 288px !important;
    }
    #content {
        margin-top: 350px !important;
    }
    .calendar .book {
        height: auto !important;
    }
    .calendar .book li:not(.current) div {
        display: none;
    }
    .calendar .book li.current {
        position: relative !important;
        left: 0px !important;
    }
    .calendar .book li>div>div,
    .calendar .book li>div>div>div {
        width: 100% !important;
    }
    .calendar .book li .text p {
        color: #000 !important;
    }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    p a {
        text-decoration: underline;
        color: #FF675F;
    }
    p a span {
        color: #000;
    }
    p a:hover {
        color: #000;
    }
}