body {
    font-family: Arial, sans-serif;
    font-size: 12pt;
    line-height: 1.2;
    background-color: #EEEEEE;
}

nav    { height: 5rem; }
footer { height: 2rem; }

div#content {
    position: fixed;
    top: 5rem;
    bottom: 2rem;
    left: 0;
    right: 0;
}

div#flash-message {
    display: none;
    position: fixed;
    width: auto;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    padding: 1em;
    text-align: center;
    background-color: #EEEEEE;
    color: #00377B;
    border: 1px solid #00377B;
    border-radius: 0 0 3px 3px;
    border-top-style: none;
    box-sizing: border-box;
}

div#app-cookie-consent {
    position: fixed;
    top: 5rem;     /* height of nav */
    bottom: 2rem;  /* height of footer */
    left: 0;
    right: 0;
    z-index: 99;
    background-color: rgb(0, 0, 0, .5);
}

div#app-instructions-container {
    position: fixed;
    top: 5rem;     /* height of nav */
    bottom: 2rem;  /* height of footer */
    left: 0;
    right: 0;
    z-index: 99;
    background-color: rgb(0, 0, 0, .5);
    overflow-y: auto;
}

div#app-faq-container {
    position: fixed;
    top: 5rem;     /* height of nav */
    bottom: 2rem;  /* height of footer */
    left: 0;
    right: 0;
    z-index: 99;
    background-color: rgb(0, 0, 0, .5);
    overflow-y: auto;
}

div#app-faq-container p.question {
    margin-top: 2rem;
    font-weight: bold;
}

div#app-instructions-container .button-row,
div#app-faq-container .button-row {
    justify-content: end;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #00377B;
    color: white;
    z-index: 99;
    box-sizing: border-box;
    font-size: 1.44em;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    border-top: 1pt solid #E7E7E7;
    box-sizing: border-box;
    background-color: #F8F8F8;
    color: #333333;
    font-size: .8em;
    padding: 0 1em;
    text-align: center;
}

footer span,
footer a {
    margin: 0 .5em;
}

div#navbar-left {
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    left: .5em;
    transform: translateY(-50%);
}

div#navbar-right {
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    right: .5em;
    transform: translateY(-50%);
}

div#app-instructions, div#app-faq {
    display: flex;
    align-items: center;
    cursor: pointer;
}

span#app-instructions-label,
span#app-faq-label-long,
span#app-faq-label-short {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: #A6A6A6;
}

span#app-faq-label-short {
    display: none;
}

span#app-instructions-label {
    margin-right: 2rem;
}

span#app-name {
    margin-right: 2rem;
}

span#app-icon img {
    height: 3.5rem;
}

a, a:hover, a:visited, a:active {
    text-decoration: none;
}

button, input, select, textarea {
    font: inherit;
}

b {
    font-weight: bold;
}

.hidden {
    display: none;
}

@media (max-width: 700px) {

    nav {
        height: 3.5rem;
    }

    footer {
        height: 2.5rem;
        flex-wrap: wrap;
    }

    div#app-cookie-consent {
        top: 3.5rem;     /* height of nav */
        bottom: 2.5rem;  /* height of footer */
    }

    div#app-instructions-container {
        top: 3.5rem;     /* height of nav */
        bottom: 2.5rem;  /* height of footer */
    }

    div#app-faq-container {
        top: 3.5rem;     /* height of nav */
        bottom: 2.5rem;  /* height of footer */
    }

    div#content {
        top: 3.5rem;     /* height of nav */
        bottom: 2.5rem;  /* height of footer */
    }

    span#app-faq-label-long {
        display: none;
    }

    span#app-faq-label-short {
        display: inline;
    }

    span#app-icon {
        display: none;
    }

    span#app-name {
        margin-right: 0;
    }
}
