
body {
    /* height: 100vh; /* necessary to keep footer at bottom */
}

.wrapper {
    width: 1280px;
    margin: 0 auto;
}

@media only screen and (max-width: 1280px) {
    .wrapper {
        width: 100%;
    }
}

.flex-break {
    flex-basis: 100%;
    height: 0;
}

header {
}

.first {
    background-image: url("/kundenportal/javax.faces.resource/images/naldo/motiv-header-mobil.jpg.xhtml");
    background-repeat: no-repeat;
    background-size: cover;
    height: 90px;
    padding: 1rem;
    color: white;
}
.first .logo {
    width: 230px;
    height: auto;
    display: block;
}

header > .second {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
}
div.linie.container {
    height: 12px;
    padding: 0;
    background-color: #cbd501;
}
#user-info {
    margin: 12px 10px;
}

#user-info a {
    margin: 10px 20px;
}

#title-text {
    margin: 12px 10px;
}

#logo-text {
    margin: 1em 0;
    align-self: flex-end;
    padding: 0 1em;
}

nav {
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

nav a {
    display: block;
    padding: 10px 20px;
}

main {
    margin: 0;
    line-height: 1.3em;
    padding: 1em 2em;
}

@media only screen and (max-width: 700px) {
    nav {
        flex-direction: column;
        justify-content: space-around;
    }

    nav a {
        flex: unset;
        padding: .5em 0;
        border-bottom: 1px solid white;
    }

    main {
        padding: 0.5em;
    }
}


footer {
    background-image: url("/kundenportal/javax.faces.resource/images/naldo/footer.png.xhtml");
    background-color: #014171;
    background-repeat: no-repeat;
    max-width: 1280px;
    margin: 0 auto;
}

@media only screen and (max-width: 600px) {
    header {
        flex-direction: row-reverse;
    }

    footer {
        padding-top: 2em;
    }
}


#profile-hint {
    margin: 0;
    padding: 2px 0;
    font-weight: 700;
    font-size: 1.2em;
    text-align: center;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 1.3em;
}

.buttonbar .ui-button {
    margin: 0 0.2em;
}
@media (min-width: 1024px) {
    .first {
        background-image: url("/kundenportal/javax.faces.resource/images/naldo/motiv-header-desktop.jpg.xhtml");
        height: 90px;
        padding: 2rem 2rem;
    }

}

/* ===========================================
   Language Selector Styles
   =========================================== */

/* Hide dropdown by default */
.dropdown-content {
    display: none;
}

/* Dropdown Button */
.language-selector .btn {
    cursor: pointer;
}

/* Dropdown Menu */
.dropdown-content {
    list-style: none;
    width: 116px;
    border: 1px solid #000;
}

/* Both dropdowns - align left for naldo */
#dropdown-content-desktop,
#dropdown-content-mobile {
    transform-origin: bottom left;
    left: 0;
    top: 24px;
    border-bottom-left-radius: 0.725rem;
    border-top-right-radius: 0.725rem;
    z-index: 1000;
}

/* Dropdown Items */
.dropdown-content li {
    cursor: pointer;
    padding: 0.5rem;
}

.dropdown-content li:not(:last-child) {
    border-bottom: 1px solid gray;
}

/* Text styling */
#selected-language {
    font-weight: 600;
}
