body, html {
    font-family: sans-serif;
    font-size: 14px;
    background-color: #eeeeee;
    color: #333333;
    margin: 0;
    padding: 0;
    min-height: 75%;
}

body {
    padding-top: 2em;
    padding-bottom: 2em;
}

footer {
    text-align: center;
    color: #dfdfdf;
    padding-top: 1em;
}

noscript {
    color: #ffffff;
    text-shadow: 1px 1px 1px rgba(64, 0, 0, 1);
}

noscript p {
    text-align: center;
    font-style: italic;
    background-color: #ddff00;
    margin: 0;
    padding: 1em;
    border-bottom: 1px solid #3f3f3f;
    box-shadow: 0 -6.5em 3em -5em rgba(0, 0, 0, 0.4) inset;
}

noscript .messageType {
    font-weight: bold;
}

.genTime {
    font-weight: normal;
    font-size: small;
    display: none;
}

nav {
    top: 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav, footer {
    background-color: #000000;
    border-bottom: 1px solid black;
    min-height: 2em;
    text-shadow: 1px 1px black;
    font-weight: bold;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    line-height: 2em;
}

nav li {
    margin: 0;
    padding: 0;
    display: inline-block;
}

nav > ul > li:last-child {
    float: right;
}

nav a {
    display: inline-block;
    margin: 0;
    padding: 0 1em;
    color: #d0d0d0;
    text-decoration: none;
}

nav a:hover, nav .selected > a, nav .selected > a:hover {
    text-decoration: underline;
    color: white;
    background-color: #454545;
}

.timeCounter {
    font-size: 0.75em;
    float: right;
    font-style: italic;
}

.breadcrumb {
    font-size: 0.75em;
}

#page {
    padding: 0 3em 2em 3em;
    background-color: white;
    border-top: 1px solid transparent;
}

#customPage {
    padding-top: 1px;
}

/*noinspection ALL*/
h1 {
    margin: 0;
    padding: 1em;
    background: #D1D1D1 url(/static/images/mediator_logo_black.svg) no-repeat right 5px;
}

h1, h2, h3, h4, h5, h6 {
    text-shadow: 1px 1px 0 rgba(128, 128, 128, 0.5);
    border-bottom: 1px solid #000000;
}

.nodeTree, .objectContent, .actionList, .healthIndicator {
    float: left;
    min-width: 300px;
    max-width: 300px;
    margin: 1em 2em;
}

.notificationsList ul {
    list-style-type: none;
}

.propertiesList, .notificationsList, .statusList {
    float: left;
    min-width: 600px;
    max-width: 600px;
    margin: 1em 2em;
}

.configOptions {
    float: left;
    min-width: 600px;
    max-width: 600px;
    margin: 1em 2em;
}

.errorMessage {
    margin: 1em 2em;
    font-style: italic;
    color: #a00000;
    border-top: 1px solid #a00000;
    border-bottom: 1px solid #a00000;
    text-align: center;
}

.cautionMessage {
    font-style: italic;
    border-left: 1px solid #ffa000;
    padding-left: 0.5em;
}

table {
    width: 100%;
    border: 1px solid #909090;
    border-collapse: collapse;
    box-shadow: 1px 1px 1px rgba(128, 128, 128, 0.5);
}

table td {
    padding: 0.5em 1em;
    border: 1px dotted #B0B0B0;
    border-top: none;
    border-bottom: none;
    line-height: 1.5em;
    /*text-align: right;*/
}

table th {
    background-color: #A5A0A5;
    text-shadow: 1px 1px 0 rgba(128, 128, 128, 0.5);
    text-align: center;
    padding: 0.5em 1em;
    border: 1px dotted #909090;
    border-top: none;
    border-bottom: 1px solid #909090;
    border-top: 1px solid #909090;
}

table .nestContainer {
    padding: 0.5em;
}

table td table th {
    font-weight: normal;
    padding: 0.25em 1em;
    text-align: left;
}

table .odd, table tr:nth-child(odd) {
    background-color: #ffffff;
}

table .even, table tr:nth-child(even) {
    background-color: #f0f0f0;
}

table .statusColumn {
    text-align: center;
}

table .numberColumn {
    text-align: right;
}

td select {
    width: 90%;
}

td input {
    width: 90%;
}

table .error {
    font-style: italic;
    color: #a00000;
}

.formpair {
    padding: 0.5em 1em;
}

.save {
    margin-left: 15em;
    padding-left: 11em;
}

.save input[type="submit"], .save input[type="button"], .save input[type="reset"], .save input[type="submit"] {
}

.formpair label {
    display: inline-block;
    text-align: right;
    width: 15em;
    margin-right: 1em;
    vertical-align: middle;
}

.formpair .radioLabel {
    width: auto;
    margin-right: 0.25em;
}

textarea:focus, input:focus {
    background-color: #ffffe5;
    box-shadow: 0 0 3px rgba(97, 97, 255, 0.5);
}

input:invalid, select:invalid, input[type="submit"]:invalid {
    background-color: #ffe5e5;
    color: #ff0000;
    font-weight: bold;
    box-shadow: 0 0 3px rgba(255, 97, 97, 0.5);
}

input[disabled], select[disabled="disabled"], input[type="submit"][disabled="disabled"], textarea[disabled="disabled"] {
    background-color: #e0e0e0;
    color: #606060;
}

.formpair input, .formpair select, .formpair input[type="submit"], .formpair textarea {
    margin: 0;
    padding: 3px;
    width: 13em;
}

input, select, input[type="submit"], textarea, .psuedobutton {
    border: 1px solid #c0c0c0;
    border-radius: 3px;
    vertical-align: middle;
    /*text-align: right;*/
    background-color: white;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25);
}

.formpair .radioSet {
    padding-left: 4px;
    padding-right: 4px;
    display: inline-block;
    text-align: right;
    vertical-align: top;
}

.formpair .radioSet div {
    display: inline-block;
    margin-right: 1em;
}

.formpair .ipOctet {
    width: 2em;
}

input[type="submit"], input[type="button"], input[type="reset"], input[type="submit"], .psuedobutton {
    box-shadow: inset 0 -1em 10px -0.25em rgba(0, 0, 0, 0.10), 0 1px 1px rgba(128, 128, 128, 0.5);
    background-color: #f5f5f5;
    width: auto;
    padding: 3px 1em;
}

.psuedobutton {
    display: inline-block;
    margin: 1px 3px 1px 3px
}

.formpair input[type="submit"]:active,
.formpair input[type="button"]:active,
.formpair input[type="reset"]:active,
.formpair input[type="submit"]:active,
.psuedobutton:active {
    box-shadow: inset 0 1em 10px -0.25em rgba(0, 0, 0, 0.10), 0 1px 1px rgba(128, 128, 128, 0.25);
}

.formpair input:hover, .formpair select:hover, .formpair input[type="submit"]:hover, .psuedobutton:hover {
    border: 1px solid #a0a0a0;
}

.formpair select {

}

.formpair input[type="checkbox"], .formpair input[type="radio"] {
    width: auto;
    /*margin-right: 1.5em;*/
}

.formpair {

}

fieldset {
    border: 1px solid #bbbbbb;
    border-radius: 0.5em;
    margin: 1em 0;
}

legend {
    padding: 0 1em;
}

.formTip {
    width: 150px;
    margin-left: 25px;
    margin-top: 3px;
    position: absolute;
    font-size: 0.75em;
    text-align: center;
    background-color: #e1e1e1;
    padding: 1em 2em;
    border-radius: 0.5em 0.5em 0.5em 0.5em;
    box-shadow: 0 1px 3px 0 rgba(48, 48, 48, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.90);
    display: none;
    color: #3F3F3F !important;
}

label:hover .formTip {
    display: block;
}

.formExampleValue {
    font-style: italic;
}

.hiddenForm {
    display: none;
}

a {
    color: #6161FF;
    text-decoration: none;
    cursor: pointer;
}

dt {
    margin-top: 0.5em;
    margin-left: 2em;
    font-weight: bold;
    width: 9em;
    text-align: right;
    font-style: oblique;
}

dt:after {
    content: ":";
}

dd {
    margin-top: -1.25em;
    margin-left: 12em;
}

.statusIcon_small {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.statusIcon_major {
    width: 256px;
    height: 256px;
    vertical-align: middle;
}

a:hover {
    text-decoration: underline;
}

td input {
    padding: 3px 1em;
}

.editable input {
    padding: 3px 1em;
    display: block;
    border: 1px solid transparent;
    box-shadow: none;
    background: none no-repeat right;
}

/*noinspection ALL*/
.editable input {
    background-image: url("/static/images/edit_icon.svg");
}

.editable .active, td input:focus {
    box-shadow: inset 0 1em 10px -0.25em rgba(0, 0, 0, 0.10), 0 1px 1px rgba(128, 128, 128, 0.25);
    padding: 3px 1em;
    border: 1px solid #c0c0c0;
    border-radius: 3px;
    background: #ffffe5 none;
}

/*noinspection ALL*/
.editable .saving {
    background-image: url("/static/images/loading.gif");
}

.big .toggle {
    font-size: 2em;
}

.toggle {
    display: inline-block;
}

.toggle:last-child label {
    border-radius: 0 0.5em 0.5em 0;
}

.toggle:first-child label {
    border-radius: 0.5em 0 0 0.5em;
}

.toggle input {
    display: none;
}

.toggle label {
    background-color: #F5F5F5;
    box-shadow: 0 -1em 10px -0.25em rgba(0, 0, 0, 0.1) inset, 0 1px 2px rgba(128, 128, 128, 0.5);
    padding: 0.5em 1em;
    width: auto;
    display: inline-block;
    font-weight: bold;
    vertical-align: bottom;
    border: 1px solid #C0C0C0;
    color: #3F3F3F;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 1);
    transition: all 0.3s ease 0s;
}

.toggle label:hover {
    background-color: #e8e8e8;
    border: 1px solid #A0A0A0;
    box-shadow: 0 -1em 10px -0.25em rgba(0, 0, 0, 0.1) inset, 0 1px 2px rgba(128, 128, 128, 0.5);
}

.toggle input:checked + label {
    background-color: #d5d5d5;
    border: 1px solid #A0A0A0;
    box-shadow: 0 1em 10px -0.25em rgba(0, 0, 0, 0.1) inset, 0 1px 2px rgba(128, 128, 128, 0.5) inset;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    color: white;
}

.clearfix {
    clear: both;
}

.Schedule {
    border: 1px solid #bbb;
    padding: 1em;
}
.Schedule-add {
    display: block;
    color: black;
    height: 2em;
    text-align: center;
    font-size: 2em;
    line-height: 2em;
}
.Schedule-list{
    list-style: none;
    margin: 0;
    padding: 0;
}
.Schedule-item-link {
    color: white;
    text-decoration: none;
}
.Schedule-item-link:hover {
    text-decoration: underline;
}
.Schedule-item {
    display: block;
    width: 100%;
    height: 2em;
    background-color: #eee;
    position: relative;
}
.Schedule-item-block {
    display: block;
    min-height: 2em;
    background-color: #357494;
    position: absolute;
    color: #fff;
    text-align: center;
    line-height: 2em;
}
.Schedule-item-enabled {
    background-color: #357494;
}
.Schedule-item-unsaved {
    background-color: #948e22;
}
.Schedule-item-disabled {
    background-color: #333;
}
.Schedule-item-legend {
    color: #fff;
    display: inline-block;
    padding: 1ex;
    min-width: 15%;
    margin-top: 1ex;
}
.Schedule-item-headline {
    height: 1.5em;
    line-height: 1.5em;
    padding-top: 1ex;
}
.Schedule-timeline {
    width: 100%;
    height: 3em;
}
.Schedule-timeline-item {
    width: calc(7.81% - 1ex);
    border-left: 1px solid #888;
    display: inline-block;
    padding-left: 1ex;
    height: 2em;
    padding-top: 1.5ex;
}
