body {
    /*background: linear-gradient(180deg, rgba(70, 130, 180, 0.8) 0%, rgba(54, 100, 139, 0.8) 50%, rgba(20, 70, 110, 0.8) 100%);*/
    background: rgb(211, 211, 211);
    color: white;
    font-family: Helvetica, sans-serif;
    font-size: 16pt;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    text-align: left;
    width: 80%;
}

nav {
    margin-bottom: 2px;
    &.head {
        background: url("images/header-bg-wide.png") left top, linear-gradient(180deg, rgb(108, 166, 205) 0%, rgb(70, 130, 180) 100%);
        background-size: cover;
    }
    &.foot {
        /*background: url("includes/header-bg-test.png") left bottom, linear-gradient(180deg, rgb(70, 130, 180) 0%, rgb(54, 100, 139) 100%);
        background-size: cover;*/
        background: linear-gradient(180deg, rgb(70, 130, 180) 0%, rgb(54, 100, 139) 100%);
        font-size: 12pt;
        padding: 5px 10px;
    }
}

td  {
    font-size: 16pt;
    padding: 10px 0px 10px 10px;
    color: white;
} 

a {
    color: white;
    border-radius: 20px;
    text-decoration: underline dotted;
}

h2 {
    margin: 0;
    padding-bottom: 20px;
}

img#title {
    display: block;
    margin: auto;
    width: 30%;
}

#inhalt1 {
    background: rgb(108, 166, 205);
    margin-bottom: 2px;
    padding: 10px 20px;
    & tr:hover:not(:target) {background: rgba(70, 130, 180, 0.2);}
    & tr:target {background: rgba(70, 130, 180, 0.5);}
}

#inhalt2 {
    background: rgb(70, 130, 180);
    margin-bottom: 2px;
    padding: 10px 20px;
    & tr:hover:not(:target) {background: rgba(54, 100, 139, 0.2);}
    & tr:target {background: rgba(54, 100, 139, 0.5);}
}

#inhalt3 {
    background: rgb(54, 100, 139);
    margin-bottom: 2px;
    padding: 10px 20px;
    & tr:hover:not(:target) {background: rgba(20, 70, 110, 0.2);}
    & tr:target {background: rgba(20, 70, 110, 0.5);}
}

form.schnellsuche {
    display: flex;
    justify-content: center;
    margin-bottom: 2px;
    padding: 10px 0;
    & input[type=text], button {
        border: 1px solid white;
        border-radius: 0;
        font-size: 20px;
    }
    & input[type=text] {
        padding: 10px;
    }
    & button {
        background: rgb(70, 130, 180);
        border-left: none;
        color: white;
        cursor: pointer;
        padding: 10px 15px;
        &:hover {
            background: rgba(54, 100, 139, 0.2);
        }
    }
    & i.fa-info-circle {
        cursor: help;
        font-size: 25px;
        padding: 15px;
        position: relative;
        &:hover:after {
            background: rgb(70, 130, 180);
            border: 1px solid white;
            border-radius: 10px;
            content: attr(tooltip);
            font-family: Helvetica, sans-serif;
            font-size: 16px;
            line-height: 1.5;
            padding: 10px;
            position: absolute;
                left: 0;
                top: 105%;
            width: 20vw;
        }
    }
}

form.erwsuche {
    & input[type=text], select {
        border: 1px solid white;
        border-radius: 0;
        font-size: 16px;
        padding: 10px;
        width: 30%;
    }
    & button {
        background: rgb(70, 130, 180);
        border: 1px solid white;
        border-radius: 20px;
        color: white;
        cursor: pointer;
        font-size: 18px;
        font-weight: bold;
        margin: 10px;
        padding: 10px 20px;
        width: 20%;
        &:hover {
            background: rgba(54, 100, 139, 0.2);
        }
    }
}

table.visitenkarte {
    color: white;
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    padding: 20px;
    & tr {
        border-bottom: 1px dotted white;
        &:last-child {
            border-bottom: none;
        }
        & th {
            text-align: left;
            font-size: 20pt;
            padding: 10px 0px 10px 10px;
        }
        & th:first-child, td:first-child {
            font-weight: bold;
            vertical-align: top;
            width: 25%;
        }
    }
}

table.suchergebnisse {
    color: white;
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    padding: 20px;
    & a {
        display: block;
    }
    & tr {
        border-bottom: 1px dotted white;
        &:last-child {
            border-bottom: none;
        }
        & th {
            text-align: left;
            font-size: 20pt;
            padding: 10px 0px 10px 10px;
        }
    }
}

ul.topnav {
    display: flex;
    justify-content: center;
    list-style-type: none;
    margin: auto;
    overflow: scroll;
    padding: 5px 0;
    & li a {
        display: block;
        margin: 2px;
        padding: 10px 15px;
        text-decoration: none;
        &.current {background: rgba(54, 100, 139, 0.5);}
        &:hover {background: rgba(54, 100, 139, 0.5);}
    }
}

ul.buchstaben {
    background: rgb(108, 166, 205);
    display: flex;
    list-style-type: none;
    margin: auto;
    max-width: fit-content;
    overflow: scroll;
    & li a {
        border-radius: 25px;
        display: block;
        margin: 1px;
        padding: 10px;
        text-align: center;
        text-decoration: none;
        width: 25px;
        &.current {
            background: rgb(70, 130, 180);
            font-weight: bold;
        }
        &:hover {background: rgb(70, 130, 180);}
    }
}

.collapsible {
    background: inherit;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 20pt;
    outline: none;
    padding: 16px 0;
    text-align: left;
    width: 100%;
    &:after {
        content: '\002B';
        color: white;
        font-weight: bold;
        float: right;
        margin-left: 5px;
    }
    &.active:after {
        content: '\2212';
    }
}

.content {
    display: none;
    overflow: hidden;
    &.active {display: block;}
}

.flex-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grid {
    display: grid;
    gap: 2px;
    grid-template-columns: 3fr 1fr;
    grid-template-rows: fit-content(80vh);
    div {overflow: scroll;}
}

.panels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1em auto;
    a {
        aspect-ratio: 1 / 1;
        background-size: cover;
        display: block;
        margin: 10px;
        padding: 20px;
        text-decoration: none;
        width: 25%;
        p {
            background-color: rgba(255, 255, 255, 0.4);
            border-radius: 5px;
            height: 75%;
            padding: 5px;
            text-shadow: 1px 1px 3px gray;
        }
        &:hover p {background-color: rgb(70, 130, 180);}
    }
}

@media screen and (max-width: 1000px) {
    body {
        margin-top: 0px;
        width: 100%
    }

    img#title {width: 50%;}

    nav.head {
        background: url("images/header-bg-small.png") left top, linear-gradient(180deg, rgb(108, 166, 205) 0%, rgb(70, 130, 180) 100%);
        background-size: cover;
    }

    form.schnellsuche i.fa-info-circle:hover:after {width: 40vw;}

    .grid {
        grid-auto-flow: column;
        grid-template-columns: auto;
        grid-template-rows: auto auto;
    }

    .flex-col {flex-direction: row;}

    .panels {
        align-items: center;
        flex-direction: column;
        a {
            aspect-ratio: 2 / 1;
            width: 50%;
        }
    }
}

/*.wort-layout
{
    display: grid;
    grid-template-columns: 9em auto;
    gap: 10px;
}

.wort-layout #menu {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
}

.wort-layout #inhalt1 {
    border-radius: 25px;
    grid-column: 2;
    grid-row: 1;
}

.wort-layout #inhalt2 {
    border-radius: 25px;
    grid-column: 2;
    grid-row: 2;
}

.wort-layout #inhalt3 {
    border-radius: 25px;
    grid-column: 2;
    grid-row: 3;
}

#main {
    text-align:left;
}*/
