html, body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.2em;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #efefef;
}

header, #wrapper, footer {
    padding: 32px 64px;
}

header  {
    border-bottom: solid 1px #cccccc;
    padding: 8px 64px;
    flex: 0 0;
}

#wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    vertical-align: top;
    flex: 1 1 auto;
}

header, #wrapper {
    background-color: #ffffff;
}

#wrapper aside {
    flex-basis: 200px;
    vertical-align: top;
}

#content {
    flex: 1 1 auto;
}

header>div, #wrapper>div, footer>div {
    width: 100%;
}

header>div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
}

#logo img {
    width: 150px;
}

header .sub-text {
    font-weight: bold;
    padding: 0 8px;
}

h1 {
    font-size: 1.65em;
    line-height: 1.7em;
    padding-bottom: 16px;
}

h2 {
    font-size: 1.3em;
    line-height: 1.4em;
}

h3 {
    font-size: 1.1em;
    line-height: 1.2em;
}

h2, h3 {
    font-weight: bold;
}

p {
    padding: 8px 0;
}

ul {
    list-style: disc;
    padding-left: 32px;
}

#menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu ul li {
    font-size: 0.9em;
    padding: 4px 0;
    
}

#menu a {
    text-decoration: none;
}

footer {
    flex: 0 0;
    font-size: 0.8em;
}

.flex {
    display: flex;
}

#applications {
    display: flex;
}


@media only screen and (max-width: 800px) {
    .hide-on-mobile {
        display: none !important;
    }

    .no-flex-on-mobile {
        display: block !important;
    }

    header, #wrapper, footer {
        padding: 24px;
    }

    header  {
        padding: 8px 24px;
    }

    #menu {
        padding-bottom: 16px;
    }
}