/* Copyright 2018 Tellbrite Corporation. All rights reserved. */

* {
    margin: 0;
    padding: 0;
    border: none;
    font: inherit;
    color: inherit;
    list-style: none;
    box-sizing: border-box;
    text-decoration: none;
    vertical-align: inherit;
    background: transparent none no-repeat scroll 0% 0%;
}

html { 
    background: transparent none no-repeat fixed 50% 50%;
    font: normal normal normal 12pt/1.5em sans-serif;
    background-size: cover;
    height: 100%;
    overflow: hidden;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 
        -apple-system, 
        BlinkMacSystemFont, 
        "Segoe UI", 
        Roboto, 
        Oxygen-Sans, 
        Ubuntu, 
        Cantarell, 
        "Helvetica Neue", 
        sans-serif;
    font-weight: normal;
}

nav, 
main, 
aside, 
footer, 
header, 
hgroup,
article, 
section { 
    display: block;
}

main {
    flex: 1 0 50%;
    height: 50%;
    display: flex;
    flex-flow: row nowrap;
}

hr {
    padding: 0.5rem;
}

h1 {
    font-size: 300%;
    font-weight: normal;
    line-height: 1.25em;
}
h2 {
    font-size: 200%;
    font-weight: normal;
    line-height: 1.25em;
}
h3 {
    font-size: 150%;
    font-weight: normal;
    line-height: 1.25em;
}
h4 {
    font-size: 125%;
    font-weight: normal;
    line-height: 1.25em;
}

p {
    margin: 0 0 1.0em;
}

b {
    font-size: smaller;
    font-weight: bold;
}

i {
    font-family: monospace;
}

form {
    display: flex;
    min-width: 320px;
    max-width: 100%;
    font-size: 1.0rem;
    flex-flow: column nowrap;
}

input,
select,
textarea {
    width: 100%;
}

button,
select,
textarea,
input[type='tel'],
input[type='url'],
input[type='text'],
input[type='file'],
input[type='time'],
input[type='date'],
input[type='email'],
input[type='number'],
input[type='search'],
input[type='password'] {
    height: 2em;
    text-align: left;
    line-height: 1.3em;
    padding: 0.15em 0.3em;
    vertical-align: middle;
    border-radius: 0px;
    border-bottom: 1px solid #c0c0c0;
    background: #fafafa none no-repeat scroll 0% 0%;
}

select {
    appearance: none;
}

input[type='file'] {
    line-height: 1.0em;
}
input[type='search'] {
    appearance: textfield;
}
input[type='number'],
input[type='password'] {
    line-height: 1.4em;
}
input[type="radio"],
input[type="checkbox"] {
    width: auto !important;
    margin-right: 0.5em !important;
}
input[disabled='disabled'] {
    background: #f7f7f7 none no-repeat scroll 50% 0%;
}

button {
    height: auto;
    color: #000000;
    cursor: pointer;
    line-height: 1.0em;
    padding: 0.5em 2em;
    background-color: #fafafa;
    border: 1px outset #ffffff;
}
button img {
    width: 16px;
    height: 16px;
    vertical-align: bottom;
}
footer button {
    color: #ffffff;
    border: none;
    border-radius: 3px;
    background-color: #107cfb;
}

fieldset {
    width: 100%;
    padding: 1em;
}

legend {
    width: 100%;
    padding: 0;
    font-size: larger;
    border-bottom: 1px solid #808080;
}

output {
    display: block;
}

label {
    font-weight: 200;
}

/* Screen classes. */

.navbar {
    display: flex;
    flex-flow: row wrap;
    border-bottom: 1px solid #d0d0d0;
}
.navbar h1 {
    width: 50%;
    flex: 1 1 50%;
    font-size: 1em;
    text-align: left;
    line-height: 1.5em;
    padding: 0.5em 1.0em;
}
.navbar nav {
    width: 50%;
    flex: 1 1 50%;
    text-align: right;
    padding: 0.5em 1.0em;
}
.navbar nav form {
    min-width: auto;
    max-width: none;
    display: inline-block;
}
.navbar nav form button {
    border: none;
    padding: 0;
    background: transparent;
}

.topbar {
    margin: 0 1em;
    padding: 1em 0;
}
.topbar h2 {
    color: #202020;
    font-weight: bold;
    margin-bottom: 0.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.topbar nav * {
    vertical-align: middle;
}
.topbar nav a {
    display: inline-block;
    text-align: center;
    width: 1.8em;
    vertical-align: top;
}
.topbar nav ul {
    display: flex;
    flex-flow: row wrap;
    text-align: left;
}
.topbar nav h3 {
    display: none;
    font-size: smaller;
}
.topbar nav img {
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.topbar nav label {
    font-size: smaller;
    padding: 0.15em 0.25em;
    vertical-align: baseline;
}
.topbar nav button {
    margin: 0;
    border: none;
    padding: 0.2em 0.4em;
    vertical-align: baseline;
    background-color: transparent;
}
.topbar nav input[type='file'] {
    width: auto;
    border: none;
    display: none;
}
.topbar nav input[type='text'] {
    width: 3em;
    border: none;
}
.topbar nav input[type='search'] {
    flex: 1;
    border: 1px solid #d0d0d0;
}
.topbar nav select {
    width: auto;
    border: none;
}
@media screen and (max-width: 640px) {
    main {
       display: block;
    }
}
