@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;
}

#user-info-wrapper {
    display: flex;
    justify-content: right;
}

.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;
}

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

nav {
    width: 100%;
    background-color: #c40000;
    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: #c40000;
    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: #c40000;
    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;
}

/* ===========================================
   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;
}

/* Desktop dropdown - align left */
#dropdown-content-desktop {
    transform-origin: bottom left;
    left: 0;
    top: 24px;
    border-bottom-right-radius: 0.725rem;
    border-top-left-radius: 0.725rem;
    z-index: 1000;
}

/* Mobile dropdown - align right */
#dropdown-content-mobile {
    transform-origin: bottom right;
    right: 0;
    top: 24px;
    border-bottom-right-radius: 0.725rem;
    border-top-left-radius: 0.725rem;
}

/* 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;
}

/* VRN specific colors */
.language-selector .btn i,
.language-selector .btn p {
    color: #9e0505;
}

#language-selector-mobile .btn i,
#language-selector-mobile .btn p {
    color: #c40000;
}



