html {
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.5em;
    background-color: #F8F8FF;
    background-attachment: fixed;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    /* font-size: 12px; */
    font-size: 1.1em;
}

b {
    font-size: 100%;
}

#menu {
    display: flex;
    flex-direction: column;
    flex-grow: 3;
}

#header {
    display: flex;
    flex-direction: row-reverse;
    border-radius: 5px;
}

#maincontent {
    margin: 0 50px;
    padding-top: 30px;
    padding-bottom: 30px;
}

#bildwechsler {
    text-align: center;
    background-color: #CCC;
    border-radius: 5px;
}

#leftcontent {
    padding: 10px 0;
    text-align: justify;
}

#leftcontent h2 {
    border-bottom: 1px solid #000;
}

#rightcontent {
    padding: 10px 0 0;
}

.right {
    text-align: right;
}

h1 {
    color: #000;
    padding: 10px;
}

h1 a {
    border-radius: 5px;
}

h2 {
    display: none;
    font-size: 14px;
}

h4 {
    display: none;
}

.uberschrift {
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.uberschrift2 {
    font-weight: bold;
}

hr {
    border-bottom: 1px solid #ccc;
}
/*
a:link,
a:visited {
    color: #000;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #000;
}
*/
#footer {
    background-color: #CCC;
    color: #888;
    clear: both;
    padding: 5px 10px;
    text-align: center;
    border-radius: 5px;
}
/*
a.site_link:link,
a.site_link:visited {
    color: #333;
    text-decoration: underline;
}

a.site_link:hover,
a.site_link:focus {
    color: #333;
}*/

.divnavbar {
    font-size: 16px;
    color: #000;
    text-align: center;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

.navbar {
    overflow: hidden;
    background-color: #ccc;
    border-radius: 5px;
    display: flex;
    margin: 0 10px;
    font-size: 16px;
}

.navbar a {
    font-size: 16px;
    color: #000;
    text-align: center;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
}

.submenu {
    display: flex;
    margin: 0;
    padding: 0;
}

.submenu_link {
    font-style: italic;
    background-color: #F8F8FF;
    border-radius: 5px;
}

.subnav {
    float: left;
    overflow: hidden;
    border-radius: 5px;
}

.subnav .subnavbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: #000;
    padding: 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    border-radius: 5px;
}

.navbar a:hover,
.subnav:hover .subnavbtn {
    background-color: #abc;
}

.subnav-content {
    display: none;
    position: absolute;
    background-color: #abc;
    z-index: 1;
    border-radius: 5px;
}

.subnav-content a {
    float: left;
    color: #000;
    text-decoration: none;
}

.subnav-content a:hover {
    background-color: #ccc;
    color: black;
    border-radius: 5px;
}

.subnav:hover .subnav-content {
    display: block;
}

.login-menu {
    list-style: none;
}

.kategorie {
    float: left;
    padding: 30px;
    text-align: 30px;
    width: 35%;
}

.paginierung {
    text-align: center;
}

.site {
    color: #000;
}

/* .start {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
} */

/* .flex-item {
    flex-basis: 50%;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 30px 0;
    border-radius: 5px;
} */

.ver {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    flex-direction: column;
}

.ver_item {
    flex-basis: 50%;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 30px 0;
    border-radius: 5px;
}

.alter {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    margin-bottom: 50px;
}

.alter_item {
    flex-basis: 33%;
    flex-grow: 1;
    flex-shrink: 1;
    border-bottom: #ccc 1px solid;
}

.alter_item_head {
    background-color: #ccc;
}

.alter_item2 {
    background-color: #abc;
}

.gewicht,
.gewicht2 {
    width: 100%;
    height: 90vh;
    margin-bottom: 20px;
}

.hover:hover {
    background-color: #abc;
    cursor: grab;
}

.ansprechpartner {
    margin: 20px 0;
}

.wrong {
    margin: 20px 0;
    padding: 20px;
    background-color: #FA5858;
}

.success {
    background-color: #93c47d;
    margin: 20px 0;
    padding: 20px;
}

.table_middle {
    text-align: center;
}

.medaille {
    display: flex;
    flex-wrap: wrap;
}

.medaille_item {
    flex: 1 0 18%;
    margin: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.medaille:nth-child(odd) {
    background-color: #ccc;
}

.gross_bild {
    width: 100%;
}

.meldung label {
    font-weight: bold;
}

.ferien {
    color: #0000ff;
}

.result {
    margin-bottom: 1em;
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.source {
    font-size: 0.9em;
    color: #666;
}

/* .sucheingabe {
    display: flex;
    align-items: center;
    gap: 0.25em;
    width: 100%;
    margin-bottom: 10px;
}

.search,
.search_button {
    width: 300px;
    max-width: 90%;
    text-align: center;
    box-sizing: border-box;
}

.search {
    flex: 5;
}

.search_button {
    flex: 1;
} */

@media all and (min-width: 1024px) {
    #leftcontent {
        width: 65%;
        float: left;
    }

    #rightcontent {
        width: 30%;
        float: right;
    }

    h1 {
        font-size: 22px;
        margin: 5px;
        text-align: left;
    }

    h1 a {
        padding: 15px 20px;
        margin-left: -15px;
    }
}

@media all and (min-width: 895px) and (max-width: 1023px) {
    #logo {
        display: none;
    }

    #leftcontent {
        width: 65%;
        float: left;
    }

    #rightcontent {
        width: 30%;
        float: right;
    }

    h1 {
        font-size: 20px;
        margin: 0;
    }

    h1 a {
        padding: 10px;
        margin-left: -15px;
    }

    .navbar {
        flex-direction: column;
    }

    .divnavbar {
        padding: 5px;
    }

    .submenu {
        justify-content: center;
        padding: 0;
        background-color: #F8F8FF;
        border-radius: 5px;
    }

    .submenu a {
        margin: 0 5px;
    }
}

@media all and (min-width: 670px) and (max-width: 894px) {
    #logo {
        display: none;
    }

    #leftcontent {
        width: 100%;
    }

    #rightcontent {
        width: 100%;
    }

    h1 {
        font-size: 22px;
        margin: 5px;
    }

    h1 a {
        padding: 15px 20px;
    }

    .navbar {
        justify-content: center;
        margin: 0 10px;
        flex-direction: column;
    }

    .navbar a {
        padding: 5px 10px;
        float: left;
    }

    .divnavbar {
        padding: 5px 10px;
    }

    .submenu {
        justify-content: center;
        background-color: #F8F8FF;
        margin: 0;
        border-radius: 5px;
    }
}

@media all and (max-width: 669px) {
    #logo {
        display: none;
    }

    #leftcontent {
        width: 100%;
    }

    #rightcontent {
        width: 100%;
    }

    h1 {
        font-size: 20px;
    }

    h1 a {
        padding: 15px 20px;
    }

    .navbar {
        margin: 0;
        flex-direction: column;
    }

    .navbar a {
        padding: 5px 0px;
        float: left;
    }

    .divnavbar {
        padding: 5px 0px;
    }

    .submenu {
        padding: 0 50px;
        margin: 0 0px 5px 0px;
        justify-content: center;
        flex-direction: column;
    }

    .submenu a {
        background-color: #F8F8FF;
        margin: 5px 0px;
    }

    .subnav-content {
        position: static;
    }

    .medaille_item {
        flex: 1 0 10%;
    }

    .sucheingabe {
        flex-direction: column;
    }

    a:hover,
    a:focus {
        background-color: transparent;
    }
}
