body {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    padding: 0;
    margin: 0;
    height: 100%;
    color: #333;
}

h1 { font-size: 3rem;}
h2 { font-size: 2.25rem;}
h3 { font-size: 1.75rem;}
h4 { font-size: 1.125rem; margin: 5px 0;text-align: center;}

a {
    text-decoration: none;
}
a:hover {
    cursor: pointer;
    color: #000;
}

button {
    color: #666;
    background-color: transparent;
    border: 1px solid #e5e5e5;
    padding: 0 30px;
    vertical-align: middle;
    font-size: .875rem;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}
button:hover {
    cursor: pointer;
    color: #000;
    border-color: #b2b2b2;
}

input {
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #e5e5e5;
}

select {
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #e5e5e5;
    width: 170px;
}

ul {
    list-style-type: none;
    padding: 0;
    margin-top: 8px;
}

th, td {
    padding: 5px;
}

label {
    font-size: 0.9rem;
    display: inherit;
}

textarea {
    max-width: 555px;
    width: 50vw;
    border: 1px solid #b2b2b2;
}

.bold {
    font-weight: 550;
}

.listPadded > li {
    padding-bottom: 8px;
}

.scroll {
    max-height: calc(100vh - 220px);
    overflow: auto;
}

.center {
    text-align: center;
}

#status {
    padding: 8px 0;
}

.show {
    display: block !important;
}
.hide {
    display: none !important;
}

.green {
    color: #32d296 !important;
}
.red {
    color: #f0506e !important;
}
.orange {
    color: #faa05a !important;
}

.card {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
    padding: 0 20px;
}

.list a {
    color: rgb(0, 0, 238);
}
.detail a {
    color: rgb(0, 0, 238);
}

.inline {
    display: inline-block;
    position: relative;
    max-width: 100%;
    vertical-align: middle;
}

.arrowIcon {
    color: #000;
    position: absolute;
    margin-left: 3px;
    margin-top: 10px;
    width: 16px;
    height: 1px;
    background-color: currentColor;
} 
.arrowIcon:before {
    content: '';
    position: absolute;
    left: 1px;
    top: -5px;
    width: 10px;
    height: 10px;
    border-top: solid 1px currentColor;
    border-right: solid 1px currentColor;
    -webkit-transform: rotate(-135deg);
            transform: rotate(-135deg);
}
.arrowContainer {
    width: 20px;
    height: 20px;
}

.userIcon {
    right: 10px;
    color: #666;
    position: absolute;
    margin-left: 3px;
    margin-top: 11px;
    width: 14px;
    height: 6px;
    border-left: solid 1px currentColor;
    border-right: solid 1px currentColor;
    border-top: solid 1px currentColor;
    border-bottom: solid 1px transparent;
    border-radius: 6px 6px 0 0;
}
.userIcon:before {
    content: '';
    position: absolute;
    left: 2px;
    top: -10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: solid 1px currentColor;
}

.keyIcon {
    right: 10px;
    color: #666;
    position: absolute;
    margin-left: 10px;
    margin-top: 14px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: solid 1px currentColor;
    -webkit-transform: rotate(135deg);
            transform: rotate(135deg);
}
.keyIcon:before {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 12px;
    height: 1px;
    background-color: currentColor;
}
.keyIcon:after {
    content: '';
    position: absolute;
    left: 14px;
    top: 0px;
    width: 1px;
    height: 3px;
    border-left: solid 1px currentColor;
    border-right: solid 1px currentColor;
}

.shutdownIcon {
    color: #666;
    position: absolute;
    margin-top: 3px;
    margin-left: 3px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: solid 1px currentColor;
  }
.shutdownIcon:before {
    content: '';
    position: absolute;
    left: 3px;
    top: -2px;
    width: 1px;
    height: 8px;
    border-left: solid 3px white;
    border-right: solid 3px white;
    background-color: currentColor;
}  

.closeIcon {
    color: #000;
    position: absolute;
    margin-top: 0;
    margin-left: 0;
    width: 21px;
    height: 21px;
}
.closeIcon:before {
    content: '';
    position: absolute;
    top: 10px;
    width: 21px;
    height: 1px;
    background-color: currentColor;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
}
.closeIcon:after {
    content: '';
    position: absolute;
    top: 10px;
    width: 21px;
    height: 1px;
    background-color: currentColor;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
}

.menuIcon {
    position: absolute;
    margin-left: 2px;
    margin-top: 10px;
    width: 20px;
    height: 2px;
    background-color: currentColor;
}
.menuIcon:before {
    content: '';
    position: absolute;
    top: -7px;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: currentColor;
}
.menuIcon:after {
    content: '';
    position: absolute;
    top: 7px;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: currentColor;
}
#burger {
    display: none;
    position: absolute;
    right: 20px;
    top: 12px;
    height: 20px;
    width: 20px;
    color: #666;
}
#burger:hover {
    color: #000;
}

#menu {
    display: none;
    position: absolute;
    background: rgba(255,255,255,.9);
}
    
#login {
    text-align: center;
    margin: 35vh 0;
}
#login > form > button {
    margin-top: 5px;
}
#login > form > legend {
    font-size: 1.2rem;
}
#login .userIcon {
    margin-top: 22px;
}

.navigation {
    display: grid;
    position: fixed;
    left:0;
    right:0;
    top:0;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: 
    'logo nav user';
}

#logo {
    padding-top: 5px;
    grid-area: logo;
}
#nav {
    grid-area: nav;
    text-align: center;
    padding-top: 10px;
}
#nav a {
    color: #999;
}
#user {
    padding-top: 18px;
    padding-right: 10px;
    text-align: right;
    grid-area: user;
}
#user .userIcon {
    right: 40px;
}

#nav ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}
#nav li {
    display: inline;
    text-transform: uppercase;
    font-size: 0.95rem;
    padding-right: 10px;
}

.container {
    display: grid;
    justify-content: center;
    grid-template-areas: 
    'content';
}
.content > div {
    padding-left: 8px;
    grid-area: content;
    margin-top: 70px;
    height: calc(100vh - 80px);
}
#main {
    display: block;
    text-align: center;
}

.detail {
    display: none;
}

#spinner {
    display: none;
}
.loading {
    display: block;
}

@media only screen and (max-width: 700px) {
    .navigation {
        grid-template-columns: auto;
        grid-template-areas: 
        'logo';
    }
    #burger {
        display: block;
    }
    #nav {
        display: none;
    }
    #user {
        display: none;
    }

    #burger.openMenu {
        color: #000;
    }
    #menu.openMenu {
        display: block;
        z-index: 1;
        width: 100vw;
        height: 100vh;
        top: 44px;
    }
    #nav.openMenu {
        display: block;
        position: absolute;
        z-index: 2;
        top: 70px;
        width: 100%;
    }
    #nav.openMenu li {
        display: block;
        color: #666;
        font-size: 1rem;
        padding: 10px;
    }
    #nav.openMenu li > a {
        color: #666;
    }
    #user.openMenu {
        display: block;
        position: absolute;
        z-index: 2;
        top: 195px;
        width: 100%;
        text-align: center;
    }
    #user .userIcon {
        right: auto;
        margin-left: -25px;
    }
    #user .shutdownIcon {
        margin-left: 15px;
    }
}