@charset "ISO-8859-1";

body {
    background: #ECECEE url("/kundenportal/javax.faces.resource/images/GEVAS-Netz.jpg.xhtml") repeat-y center;
}

#header-logo img {
    max-width: 100%;
    height: auto;
}

.wrapper {
    width: 980px;
    margin: 0 auto;
    -webkit-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.3);
    background-color: white;
}

.flex-break {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    height: 0;
}

@media only screen and (max-width: 980px) {
    .wrapper {
        width: 100%;
    }
}

header {
    background-color: #fff;
    color: #000000;
    padding: 1em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-line-pack: justify;
    align-content: space-between;
    flex-flow: row wrap-reverse;

}

#header-top::after {
    content: "";
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
}

nav {
    width: 100%;
    background-color: #f01414;
    color: white;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

nav a {
    display: block;
    color: inherit;
    font-size: 1.1em;
    text-align: center;
    padding: .6em 0;
    text-decoration: none;
    -webkit-box-flex: 0;
    -ms-flex: 0 2 8em;
    flex: 0 2 8em;
    border-bottom: 0;
}

nav a:hover {
    color: #f01414;
    background-color: white;
}

#nav-home {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    padding: .55em .75em;
}

main {
    line-height: 1.5em;
    padding: 2em;
    display: block;
}


@media only screen and (max-width: 500px) {
    header {
        flex-direction: row-reverse;
    }


    nav {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }

    nav a {
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;
        padding: .5em 0;
        border-bottom: 1px solid white;
    }

    main {
        padding: 0.5em;
    }
}


footer {
    background-color: #f01414;
    color: white;
}


footer a:hover {
    text-decoration: underline;
}

#user-info {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0;
}

#user-info a {
    margin-left: 1em;
}

#title-text {
    margin-top: 0.5em;
    font-size: 1.25em;
    font-weight: bold;
    -ms-flex-item-align: end;
    align-self: flex-end;
}

#logo-text {
    margin-top: 0.5em;
    -ms-flex-item-align: end;
    align-self: flex-end;
}

#profile-hint {
    margin: 0;
    font-weight: 700;
    font-size: 1em;
    color: red;
    background-color: lightgray;
    text-align: center;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}



