@import url("fonts.css");
@import url("content.css");

html {
    scrollbar-gutter: stable;
}

body {
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    line-height: 125%;
    font-family: "Radley", serif;
    box-shadow: 0px 0px 20px gray;
}

/* Menü u. Navigation */

a.inv-link:link,
a.inv-link:visited {
    color: unset;
    text-decoration: unset;
}

a.gml-nav-arrow-left,
a.gml-nav-arrow-right {
    font-size: 150%;
}

a.gml-nav-arrow-left {
    float: left;
}

a.gml-nav-arrow-right {
    float: right;
}

span.gml-expand-button {
    position: absolute;
    top: 14px;
    right: 35px;
    float: right;
    z-index: 110;
    cursor: pointer;
}

#buttons {
    position: fixed;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0;
    font-size: 150%;
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: 0 0 20px gray;
    margin: 0;
}

#buttons-overlay {
    position: fixed;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    height: 140%;
    width: 100%;
    background-color: white;
    margin: 0;
}

#button-satz-br,
#button-print {
    cursor: pointer;
    margin: 5px;
    z-index: 200;
    position: relative;
    font-size: 24px;
}

#gesetz_amtabk {
    width: 300px;
    position: fixed;
    rotate: -90deg;
    top: 160px;
    left: -116px;
    text-align: right;
    font-size: x-large;
}

#gml-logo {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
}

#gml-logo-alpha {
    font-size: 115%;
    position: relative;
    top: -40px;
}

#gml-legal {
    position: fixed;
    bottom: 0;
    left: 0;
    padding-bottom: 10px;
    padding-left: 10px;
    background-color: white;
}

.gml-frame {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

#nav-norm {
    position: fixed;
    left: 0;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    /* font-size: 80%; */
    width: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    visibility: hidden;
}

#nav-ge {
    position: fixed;
    left: 0;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    /* font-size: 80%; */
    width: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}

.nav-link {
    padding-top: 0;
    padding-bottom: 0;
    border-top-width: 0;
    border-bottom-width: 0;
}

a.nav-link:link,
a.nav-link:visited {
    color: unset;
    text-decoration: unset;
}

@media (max-width: 1200px) {
    body {
        width: unset;
        max-width: 800px;
    }

    #gesetz_amtabk {
        float: right;
        width: unset;
        position: unset;
        rotate: unset;
        top: unset;
        left: unset;
        text-align: unset;
        font-size: x-large;
        font-style: italic;
        padding-top: 10px;
        z-index: 200;
    }

    #gml-logo {
        position: sticky;
        top: 0px;
        padding-top: 10px;
        padding-bottom: 5px;
        background-color: white;
        z-index: 200;
    }

    #gml-logo img {
        width: 110px;
    }

    #gml-legal {
        left: unset;
        padding-left: 0;
        padding-bottom: 0;
    }

    #nav-norm,
    #nav-ge {
        display: none;
    }
}


@media (max-width: 900px) {
    #buttons {
        display: none;
    }
}