body > header {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    width: 100%;
    background-color: #0058A0;
    box-shadow: 0 4px 0 #004c8b;
    font-size: 0.75rem;
    position: relative;
    z-index: 5;
    flex-shrink: 0;
}
body > header > * {
    flex-grow: 0;
}
body > header > a {
    display: block;
    height: 40px;
    margin-left: 30px;
}
body > header > a > img {
    display: block;
    width: auto;
    height: 100%;
}
body > header > nav {
    flex-grow: 1;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    color: rgb(168, 222, 255);
    transition: right 0.1s;
    z-index: 5;
    position: relative;
}
body > header > nav > a {
    height: 40px;
    border-right: solid 2px #3379B3;
    flex-grow: 1;
}
body > header > nav > a:nth-last-of-type(2) {
    border-right: none;
}
body > header > nav > a:last-of-type {
    flex-grow: 0;
    margin-right: 30px;
    margin-left: 10px;
    border-right: none;
}
body > header > nav > a > span {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-top: solid 2px transparent;
    border-bottom: solid 2px transparent;
    height: 100%;
}
body > header > nav > a.on > span,
body > header > nav > a:hover > span {
    border-bottom: solid 2px rgb(168, 222, 255);
}
body > header > nav > div {
    display: none;
    height: 60px;
    justify-content: flex-end;
    align-items: center;
    background-color: #0058A0;
}
body > header > nav > div > img {
    height: 30px;
    width: auto;
    cursor: pointer;
    margin-right: 15px;
}
body > header > img {
    height: 30px;
    width: 30px;
    margin-right: 15px;
    display: none;
    cursor: pointer;
    z-index: 2;
    position: relative;
}
body > header > main.popup > form > img {
    height: 20px;
    width: 20px;
    margin-left: auto;
    cursor: pointer;
}
body > header > main.popup > form > footer {
    display: none;
}
body > header > main.popup > form > footer.on {
    display: block;
}
body > header > main.popup > form > aside > label {
    margin-right: 15px;
}
body > header > main.popup > form > aside > label > input {
    margin-left: 5px;
    margin-right: 5px;
}
@media screen and (max-width: 1080px) {
    body > header > nav {
        position: fixed;
        top: 0;
        right: -300px;
        bottom: 0;
        width: 300px;
        font-size: 1.25rem;
        background-color: #004c8b;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    body > header > nav.on {
        right: 0;
    }
    body > header > nav > a:not(:last-of-type) {
        border-right: none;
        flex-grow: 0;
        height: auto;
        width: calc(100% - 30px);
        justify-content: flex-start;
        border-bottom: solid 2px #3379B3;
        padding-left: 1em;
        padding-top: 1em;
        padding-bottom: 1em;
        margin-left: 15px;
        margin-right: 15px;
    }
    body > header > nav > a:hover > span {
        border-bottom: solid 2px transparent;
        border-top: solid 2px transparent;
        color: #fed230;
    }
    body > header > nav > button {
        margin-left: 1em;
        margin-top: 1.2em;
        margin-bottom: 1em;
    }
    body > header > nav > a:last-of-type {
        margin-right: 0;
        margin-left: 1em;
    }
    body > header > nav > div {
        display: flex;
        width: 100%;
    }
    body > header > img {
        display: block;
    }
}