body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    max-width: 90%;
    margin-left: 20px;
    font-size: 95%;
}

a:link {
    color: rgb(53, 51, 144);
    text-decoration: none;
}

a:visited {
    color: rgb(53, 51, 144);
    text-decoration: none;
}

/* header */

div.header {
    width: 100%;
    height: 5em;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgb(0, 169, 225);
}

#logos img {
    height: 4em;
}

#user_info {
    padding-right: 1em;
    padding-top: 0.4em;
    position: absolute;
    right: 0;
}

#nav {
    font-size: 1.4em;
}

.nav-item {
    float: left;
    padding-left: 1em;
}

.nav-item:hover a {
    color: #000;
}

/* content */
#content {
    clear: both;
}

table.app_list,
table.service-list{
    border-collapse: collapse;
    width: 95%;
}

table.app_list tr,
table.service-list tr {
    border-top: 1px #bad5e1 solid;
    text-align: left;
}

table.app_list td, table.app_list th,
table.service-list td, table.service-list th {
    padding-right: 1em;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
}

table.app_list tbody tr:nth-child(2n+1) {
    background-color: #F3FEEA;
}

table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after {
    content: "\00A0\2195";
}
table.sortable th::after, th.sorttable_sorted::after, th.sorttable_sorted_reverse::after {
  content: " ";
  display: inline-block;
}

label.filter {
    font-size: 1.4em;
    font-weight: bold;
}

input {
    margin-top: 5px;
}

input.filter {
    margin-top: 1.4em;
    margin-bottom: 1.5em;
}

input.error input:invalid {
    box-shadow: 0 0 4px red;
}

#loginbox {
    width: 25em;
    margin: 0 auto;
    text-align: center;
}

#loginbox img {
    width: 100%;
}

textarea.logoutput {
    width: 100%;
    height: 40em;
    font-size: 0.7em;
    font-family: "Lucida Console", Monaco, monospace;
    white-space: pre;
    overflow-x: auto;
    overflow-y: auto;
}

.readable_description {
    display: none;
}

div.zapp {
    cursor: pointer;
    width: 13em;
}

div.zapp p {
    text-align: center;
}

div.zapp img {
    width: 50%;
    margin: 0 auto;
    display: block;
}

div.zapp-list {
    display: flex;
    align-items: center;
}

div.zapp-category {
    clear: both;
}

div.zapp-description {
    margin-bottom: 1em;
    overflow: auto;
    width: 60%;
}

div.zapp-description img {
    float: left;
    height: 8em;
    margin: 10px 10px 0 5px;
}

h3.zapp-startup {
    clear: both;
}

form#zapp_start_form input, form#zapp_start_form label {
    display: block;
}

form#zapp_start_form label {
    font-variant: small-caps;
}

form#zapp_start_form input {
    font-family: "Lucida Console", Monaco, monospace;
}

form#zapp_start_form label.label-inline,
form#zapp_start_form label.label-inline input {
    font-variant: normal;
    display: inline;
}

.resource-form label {
    float: left;
    padding-bottom: 1.5em;
    padding-right: 2em;

}

form#zapp_start_form h5,
form#zapp_start_form hr {
    clear: both;
    border: 0;
    padding-bottom: 0;
    margin-bottom: 10px;
}

/* footer */

div.status_line {
    float: left;
}

#footer {
    font-size: smaller;
    clear: both;
    margin-top: 2em;
}

/* stats page */
.node_name {
    margin-top: 1em;
    font-size: larger;
}

div.scheduler_queue {
    display: flex;
    overflow: auto;
}

div.queue_item {
    margin-right: 5px;
    flex: none;
}

div.service {
    border: 1px dashed red;
    margin-top: 3px;
    padding: 5px;
}

div.essential {
    border-style: solid;
}

div.running {
    border-color: green;
}

td.running {
    border: 1px solid green;
}

div.node_detail {
    width: 48%;
    float: left;
    border: dashed darkgray 1px;
    margin: 0.2em;
    padding-left: 0.5em;
}

div.pie-plots {
    width: 20em;
}

div.plot-container {
    float: left;
}

div.plot-container p {
    text-align: center;
}

h3.section {
    clear: both;
}

table.service-distrib th {
    border-bottom: 1px double black;
}

table.service-distrib {
    border-spacing: 10px;
    border-collapse: separate;
}
