
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 {
}

header > .first {
    background-image: url("/kundenportal/javax.faces.resource/images/naldo/header.png.xhtml");
    background-repeat: no-repeat;
    height: 105px;
    display: flex;
    justify-content: right;
    align-items: center;
    padding-right: 30px;
    padding-bottom: 15px;
}

header > .second {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
}

#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;
}
