@charset "UTF-8";

/* CSS Document */
@media only screen and (max-width: 840px) {
    * {overflow-x: hidden;}

    body:not(.im_ds) {
        background: url("../images/gallery/land_frueh.jpg") no-repeat fixed center;
        background-size: cover;
        margin: 0;
    }

    body.im_ds {
        padding: 10vh 20vw;
    }

    .backback div {
        width: 100vw!important;
        height: 100vh;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    .desktop {
        visibility: hidden;
        display: none;
    }

    .mobile {
        visibility: visible;
    }

    #topswf {
        visibility: hidden;
        display: none;
    }

    .spaceholder {
        border-bottom: 1px solid;
        padding-bottom: 1.8em;
    }

    .pageholder {
        background: rgba(255,255,255,0.9);
        padding: 2em;
    }

    #pagewrapper {
        padding-top: calc(220px - 10vw);
        padding-bottom: 100px;
        height: calc(100vh - calc(220px - 10vw) - 100px);
        z-index: 1;
        position: absolute;
        top: 0px;
    }
    #border {
        overflow: scroll;
        width: 100vw;
    }

    .menu {
        padding: 4px;
        height: auto;
    }

    .menu ul {
        padding: 0;
    }

    .menu li {
        padding: 6px;
        margin: 12px;
        width: 93%;
        height: auto;
        line-height: 120%;
        border: 1px solid black;
        list-style-type: none;
        background-color: rgba(255,255,255,0.4);
        -webkit-backdrop-filter: blur(5px) brightness(1.2);
        backdrop-filter: blur(5px) brightness(1.2);
    }

    .menu li:hover {
        background-color: rgba(255,255,255,1);
    }

    .menu a {
        padding: 6px;
        color: #222;
        text-decoration: none;
    }

    .menu strong {
        color: darkgreen;
    }

    .totop {
        width: 60px;
        height: 56px;
        color: black;
        background-color: rgba(255,255,255,1);
        padding-top: 4px;
        margin: 2em 0 10em 0;
        text-align: center;
    }

    .totop a {
        text-decoration: none;
        font-size: 30px;
    }

    .totop small {
        display: block;
        color: black;
        font-size: 10px;
    }

    .totop:hover {
        color: white;
        background-color: rgba(0,0,0,1);
    }

    .totop:hover a {
        color: white;
    }

    .totop:hover small {
        color: white;
    }

    .preistabelle {
        width: 90%;
        border-width: 2px;
        border-color: #680007;
        border-style: solid;
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    .pt-rahmen {
        width: 100%;
    }
    
    .pt-kopf {
        background-color: #eeeeee;
        padding: 4px 0;
    }

    .pt-rahmen:nth-of-type(2) .pt-kopf {
        border-top: 1px solid #680007;
    }

    .pt-inhalt {
        padding: 8px;
    }

    .guestbook_content,
    .guestbook_content_b {
        color: #000;
    }

    #content button {
        color: #000;
    }

    #content {
        padding: 1em;
    }

    .legende {
        position: fixed;
        bottom: 0px;
        width: 100%;
        text-align: center;
    }

    .iframeholder {
        margin-left: -28px;
        background-color: white;
    }

    .apartmentbuttons  {
        text-align: center;
        transform: scale(0.8);
        padding: 20px 0;
        width: 100%;
        overflow: hidden;
    }
}

@media only screen and (max-width: 586px) {
    .belegungsframe {
        margin-left: -10px;
    }
}

@media only screen and (max-width: 556px) {
    .belegungsframe {
        transform: scale(0.8);
        margin-left: -50px;
    }
}

@media only screen and (max-width: 470px) {
    .belegungsframe {
        transform: scale(0.6);
        margin-left: -100px;
    }
}