#header *,#header {
    border: 0;
    padding: 0;
    margin: 0;
}

#header {
    font-family: Arial, sans-serif;
    background-color: white;
    color: black;
}

#header img {
    max-width: 100% !important;
    height: auto;
    display: block;
}
#header .lowerheader h1 {
    font-weight:bold;
}
#header #navigation li a {
    color: black;
}

#header #navigation li.current a {
    color: white;
}

#header #navigation li a:hover {
    color: white;
    background-color: #333;
    border-bottom-color: #999;
}

#header h1 {
    color: white;
}

#header #navigation li a:hover,
#header #navigation li.current a {
    background-color: #D92131 !important;
}


#header img {
    height: 68px;
    width: 290px;
    background-color: white;
    object-fit: contain;
}


#header .emwrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header #navigation {
    height: 68px;
    display: flex;
    list-style: none;
}

#header #navigation li {
    position: relative;
    height: 100%;
    width: 110px;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#header #navigation li a {
    text-decoration: none;
    display: block;
    flex:1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#header #navigation li a:hover {
    font-weight: bold;
}

#header #navigation li.current a {
    font-weight: bold
}

#header .emwrapper {
    width: 950px;
    margin-left: auto;
    margin-right: auto;
}
#header .lowerheader {
    padding-left:16px;
}
#header .lowerheader {
    background-color: #D92131 !important;
    padding-top: 4px;
    padding-bottom: 4px;
}
#header .lowerheader h1 {
    color: white;
    font-size: x-large;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 950px) {
    #header .emwrapper {
        width: auto;
        flex-direction: column;
        align-items: stretch;
    }
    #header #navigation {
        width: 100%;
    }

    #header #navigation li {
        flex:1;
    }
    #header .emwrapper h1 {
        display: flex;
        text-align: center;
        justify-content: center;
        width: 100%;
        margin-top:8px;
    }

    #header img {
        height: 45px;
        width: 218px;
        margin-left: 0;
        object-fit: contain;
    }
}
@media only screen and (min-width: 1200px) {
    #header .emwrapper {
        width: 1140px;
    }
    #header .lowerheader h1 {
        max-width: 1140px;
    }
}
@media only screen and (min-width: 1400px) {
    #header .emwrapper {
        width: 1320px;
    }
    #header .lowerheader h1 {
        max-width: 1320px;
    }
}