* {
    text-align: inherit;
}

html, body, tr, td {
    margin:0;
    padding:0;
}

img {
    border: 0;
}

body {
    text-align: left;
    font-family: Arial, Helvetica, Sans-Serif;
    width: 100%;
}

input, textarea {
    background-color: #FFFFFF;
}

input[type="button"], input[type="reset"], input[type="submit"] {
    background-color:  #DDDDDD;
}

button, select {
    background-color:  #DDDDDD;
}

.select2-container--dli .select2-selection--single {
    background-color: #DDDDDD;
    border: 1px solid #AAAAAA;
}

.select2-container.select2-container--dli .select2-selection--single .select2-selection__rendered {
    color: #444444;
    padding-left: 0px;
    line-height: 28px;
}

.select2-container--dli .select2-selection--single .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
}

.select2-container--dli .select2-selection--single .select2-selection__placeholder {
    color: #999999;
}

.select2-container--dli .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
}

.select2-container--dli .select2-selection--single .select2-selection__arrow b {
    border-color: #888888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
}

.select2-container--dli[dir="rtl"] .select2-selection--single .select2-selection__clear {
    float: left;
}

.select2-container--dli[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    left: 1px;
    right: auto;
}

.select2-container--dli.select2-container--disabled .select2-selection--single {
    background-color: #EEEEEE;
    cursor: default;
}

.select2-container--dli.select2-container--disabled .select2-selection--single .select2-selection__clear {
    display: none;
}

.select2-container--dli.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #888888 transparent;
    border-width: 0 4px 5px 4px;
}

.select2-container--dli .select2-selection--multiple {
    background-color: #DDDDDD;
    border: 1px solid #AAAAAA;
    cursor: text;
}

.select2-container--dli .select2-selection--multiple .select2-selection__rendered {
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0 5px;
    width: 100%;
}

.select2-container--dli .select2-selection--multiple .select2-selection__rendered li {
    list-style: none;
}

.select2-container--dli .select2-selection--multiple .select2-selection__placeholder {
    color: #999999;
    margin-top: 5px;
    float: left;
}

.select2-container--dli .select2-selection--multiple .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    margin-top: 5px;
    margin-right: 10px;
}

.select2-container--dli .select2-selection--multiple .select2-selection__choice {
    background-color: #E4E4E4;
    border: 1px solid #AAAAAA;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px;
}

.select2-container--dli .select2-selection--multiple .select2-selection__choice__remove {
    color: #999999;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-right: 2px;
}

.select2-container--dli .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #333333;
}

.select2-container--dli[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--dli[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--dli[dir="rtl"] .select2-selection--multiple .select2-search--inline {
    float: right;
}

.select2-container--dli[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
    margin-left: 5px;
    margin-right: auto;
}

.select2-container--dli[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
    margin-left: 2px;
    margin-right: auto;
}

.select2-container--dli.select2-container--focus .select2-selection--multiple {
    border: solid #000000 1px;
    outline: 0;
}

.select2-container--dli.select2-container--disabled .select2-selection--multiple {
    background-color: #EEEEEE;
    cursor: default;
}

.select2-container--dli.select2-container--disabled .select2-selection__choice__remove {
    display: none;
}

.select2-container--dli.select2-container--open.select2-container--above .select2-selection--single, .select2-container--dli.select2-container--open.select2-container--above .select2-selection--multiple {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.select2-container--dli.select2-container--open.select2-container--below .select2-selection--single, .select2-container--dli.select2-container--open.select2-container--below .select2-selection--multiple {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select2-container--dli .select2-search--dropdown .select2-search__field {
    border: 1px solid #AAAAAA;
}

.select2-container--dli .select2-search--inline .select2-search__field {
    background: transparent;
    border: none;
    outline: 0;
    box-shadow: none;
    -webkit-appearance: textfield;
}

.select2-container--dli .select2-results > .select2-results__options {
    max-height: 200px;
    overflow-y: auto;
}

.select2-container--dli .select2-results__option[role=group] {
    padding: 0;
}

.select2-container--dli .select2-results__option[aria-disabled=true] {
    color: #999999;
}

.select2-container--dli .select2-results__option[aria-selected=true] {
    background-color: #DDDDDD;
}

.select2-container--dli .select2-results__option .select2-results__option {
    padding-left: 1em;
}

.select2-container--dli .select2-results__option .select2-results__option .select2-results__group {
    padding-left: 0;
}

.select2-container--dli .select2-results__option .select2-results__option .select2-results__option {
    margin-left: -1em;
    padding-left: 2em;
}

.select2-container--dli .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
    margin-left: -2em;
    padding-left: 3em;
}

.select2-container--dli .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
    margin-left: -3em;
    padding-left: 4em;
}

.select2-container--dli .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
    margin-left: -4em;
    padding-left: 5em;
}

.select2-container--dli .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
    margin-left: -5em;
    padding-left: 6em;
}

.select2-container--dli .select2-results__option--highlighted[aria-selected] {
    background-color: #3399CC;
    color: #FFFFFF;
}

.select2-container--dli .select2-results__group {
    cursor: default;
    display: block;
    padding: 6px;
}

.left {
    text-align: left;
}

.centered {
    text-align: center;
}

.right {
    text-align: right;
}

.allowWrap {
    white-space: normal;
}

table {
    border: 0px;
    border-collapse: collapse;
}

a, a:active, a:visited {
    color: #0000FF;
}

span.warning {
    color: #FF0000;
}

input.invalid {
    color: #CC0000;
}

input.dubious {
    color: #CC6600;
}

.autoping-item-status-details {
    display: block;
    font-size: 0.7em;
}

.page {
    width: 100%;
    border: 5px solid #FFFFFF;
}

.page .navbar {
    vertical-align: top;
    height: 100%;
    width: 17%;
}

.pageMinimal {
    width: 100%;
    background-color:  #FFFFFF;
}

.pageMinimal td, .pageMinimal th {
    border: 1px solid  #BBBBBB;
}

.pageMinimal .navbar {
    background-color:  #BBBBBB;
}

.brand.title {
    font-weight: bold;
    font-size: 0.8em;
    white-space: normal;
}

.menu {
    width: 100%;
    height: 100%;
    border-collapse:separate;
}

.menu td, .menu th  {
    padding: 3px;
}

.menu .item {
    text-align: left;
    vertical-align: top;
    background-color: #F4F4F4;
}

.menu .footer {
    vertical-align: bottom;
    height: 100%;
    background-color: #F4F4F4;
}

.content {
    vertical-align: top;
    width: 83%;
}

.form {
    width: 100%;
    border: 1px solid #FFFFFF;
}

.form.compact, .form.compact .item .key, .form.compact .item .value  {
    width: auto;
}

.form td, .form th {
    padding: 3px;
    border: 1px solid #FFFFFF;
}

.hideshow {
    float: right;
}

.heading {
    width: 100%;
    border: 0px;
    border-collapse:separate;
}

.heading td, .heading th {
    padding: 3px;
}

.heading .header, .form .header {
    background-color: #DDDDFF;
}

.form .subheader {
    background-color: #DDDDDD;
}

.form .item {
    background-color: #F4F4F4;
}

.trial {
    background-color: #FFFFCC;
}

.recently-failed {
    background-color: #FFDD99;
}

.resumption-trial {
    background-color: #CCFFCC;
}

.shutdown.form .item td {
    border-top: 0.2em ridge #CCCCCC;
}

.notification.form td {
    border-top: 0.2em ridge #CCCCCC;
}

.notification.inner td {
    border: none;
}

.notification .parameter {
    text-decoration: underline;
}

.item .control {
    background-color: #E0EED0;
}

.item .key {
    width: 30%;
}

.item .subkey {
    width: 30%;
}

.calibration .header {
    text-align: left;
}

.calibration .value {
    text-align: right;
}

.outlet.on {
    color: #008000;
    font-weight: bold;
}

.outlet.off {
    color: #FF0000;
    font-weight: bold;
}

.locked {
    color: #CCCCCC;
}

.syslog {
    font-family: monospace;
    white-space: pre-wrap;
    background-color: #EEEEEE;
}

.nowrap {
    white-space: nowrap;
}

.error.border {
    background-color: #FF0000;
}

.error.message {
    text-align: center;
    background-color: #FFFFFF;
}

.warning.border {
    background-color: #FF6666;
}

.warning.message {
    background-color: #FFCCCC;
}

.welcome.border {
    background-color: #008000;
}

.welcome.message {
    text-align: center;
    background-color: #FFFFFF;
}

.bus {
    background-color: #DDCCDD;
}

.bus .name {
    text-align: center;
}

.backup .private {
    background-color: #FFFFCC;
}

.backup .modified {
    background-color: #C0FFC0;
}

.backup .unmodified {
    background-color: #E6E6E6;
}

.backup .new {
    background-color: #C0FFC0;
}

.backup .removed {
    background-color: #FFD0D0;
}

.backup .none {
    background-color: #C0C0C0;
}

.resolve pre.option {
    overflow: auto;
    max-height: 100em;
    max-width: 50em;
}

.resolve .option ins {
    background-color: #60FF60;
}

.resolve .option del {
    display: inline-block;
    background-color: #FF6060;
    min-width: 0.5em;
    min-height: 1em;
}

.resolve .option del:before {
    content:"\A0";
}

.resolve .option del::before {
    content:"\A0";
}

.resolve textarea.option {
    width: 100%;
}

.resolve .option.private, .resolve .option.duplicate {
    font-style: italic;
}

.resolve .option.none {
    background-color: ##FFD0D0;
    font-style: italic;
}

.restore .identical {
    background-color: #C0C0C0;
}

.restore .auto.merged {
    background-color: #FFD0D0;
}

.restore .auto.unchanged {
    background-color: #FFFFCC;
}

.restore .auto.replaced {
    background-color: #FFFFCC;
}

.restore .manual {
    background-color: #C0FFC0;
}

.thread .identifier {
    width: 10%;
}

.thread .label {
    width: 80%;
}

.menuInner {
    width: 100%;
}

.menuInner td, .menuInner th {
    padding: 2px;
    font-weight: bold;
    white-space: nowrap;
}

ul.plots li, ul.meters li  {
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: top;
    border: 1px solid #000000;
    margin: 1px;
    *display: inline;
}

.axisConfig, .dataSourceConfig, .sectorConfig, .intervalsConfig {
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: top;
    *display: inline;
}

.meter .title, .plot .title {
    padding: 1px;
    background-color: #DDCCDD;
}

.meter .buttons, .plot .buttons, .dataSourceConfig .buttons, .sectorConfig  .buttons {
    float: right;
    margin-left: 0.5em;
}

.meter .body, .plot .body {
    text-align: center;
}

.icon {
    display: inline-block;
}

.imageReplaced {
    border: 0px;
    width: 16px;
    height: 16px;
    cursor:pointer;
    text-indent: 16px;
    white-space: nowrap;
    overflow: hidden;
    background-repeat: no-repeat;
}

.imageReplaced.add {
    background-image: url('../images/add.dfcad29b.gif');
}

.imageReplaced.ok {
    background-image: url('../images/ok.e589e64f.gif');
}

.imageReplaced.del {
    background-image: url('../images/del.10ac9131.gif');
}

.imageReplaced.up {
    background-image: url('../images/up.cdcc7f85.gif');
}

.imageReplaced.down {
    background-image: url('../images/down.99ab5c50.gif');
}

.imageReplaced.show {
    background-image: url('../images/show.68c6ee56.gif');
}

.imageReplaced.hide {
    background-image: url('../images/hide.561b9162.gif');
}

.imageReplaced.config {
    background-image: url('../images/config.ca7f155b.gif');
}

.imageReplaced.send {
    background-image: url('../images/send.47e5d598.gif');
}

.imageReplaced.prot-on {
    background-image: url('../images/prot_on.63e3a705.gif');
}

.imageReplaced.prot-off {
    background-image: url('../images/prot_off.cf87eb31.gif');
}

.imageReplaced.prot-partial {
    background-image: url('../images/prot_partial.6e194517.gif');
}

.imageReplaced.denied {
    background-image: url('../images/denied.f1ee6989.gif');
}

.code {
    font-family: 'Lucida Console', monospace
}

.operations > span {
    display: inline-block;
    vertical-align: middle;
}

.operations > span > * {
    display: block;
    margin: 1px;
}

#protection_status {
    float: right;
}

#protection_status .icon {
    float: right;
}

#protection_status .details {
    margin-top: 16px;
    display: none;
}

#protection_status .details pre.prot-on {
    border: 1px solid #00CC00;
}

#protection_status .details pre.prot-off {
    border: 1px solid #FF0000;
}

#protection_status .details pre.prot-partial {
    border: 1px solid #FFFF00;
}

#session_timer {
    font-size: 0.8em;
}

.heading .uptime #session_timer {
    float: right;
}

#session_timer.expired {
    width: 100%;
    text-align: center;
    font-size: 1.2em;
    background-color: #FFCCCC;
}

.heading .uptime #session_timer.expired {
    float: none;
}

p, h1, h2, h3, h4, h5, h6 {
    margin:0.5em;
}

.maintenance.success {
    color: #008000;
}

.maintenance.failure {
    color: #FF0000;
}

.maintenance.unknown {
    color: #666666;
}

.maintenance-issue.ok {
    color: #008000;
}

.maintenance-issue.bug {
    color: #A04000;
}

.maintenance-issue.missing-feature {
    color: #006060;
}

.maintenance-issue.unknown {
    color: #C00000;
}

.severity.emergency {
    color: #FF0000;
}

.severity.alert {
    color: #CC3300;
}

.severity.critical {
    color: #993300;
}

.severity.error {
    color: #996600;
}

.severity.warning {
    color: #999900;
}

.severity.notice {
    color: #339933;
}

.severity.info {
    color: #3399cc;
}

.severity.debug {
    color: #999999;
}

#jsonrpc-ui .request, #jsonrpc-ui .reply-headers, #jsonrpc-ui .result {
    font-family: monospace;
    white-space: pre-wrap;
}

.channels td {
    border: 1px solid #000000;
}

.channel {
    white-space: pre-wrap;
}

.channel .hex {
    font-size: 0.75em;
    vertical-align: middle;
    color: #7F0000;
    border:1px solid #7F0000;
    margin: -1px;
    text-transform: uppercase;
}

.channel .hex:after {
    content: "​";
}

.gpio.form td table {
    display: inline-block
}

.gpio.form td table.port-config {
    display: block
}

.gpio.group {
    float: left;
}

.diagonal-split-main {
    background:linear-gradient(to top right,transparent 49%,#FFFFFF 49%,#FFFFFF 51%,transparent 51%);
}

.ieee1164-state {
    display: inline-block;
    box-sizing: content-box;
    width: 16px;
    height: 16px;
    border: 1px solid #DDDDDD;
    padding: 0px;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
}

.ieee1164-state.ieee1164-state-reachable {
    cursor: pointer;
    border-left: 1px solid #DDDDDD;
    border-top: 1px solid #DDDDDD;
    border-right: 1px solid #999999;
    border-bottom: 1px solid #999999;
}

.ieee1164-state.ieee1164-state-current {
    border-left: 1px solid #999999;
    border-top: 1px solid #999999;
    border-right: 1px solid #EEEEEE;
    border-bottom: 1px solid #EEEEEE;
}

.ieee1164-state-0.ieee1164-state-current {
    background-color: #0000CC;
    color: #FFFFFF;
}

.ieee1164-state-1.ieee1164-state-current {
    background-color: #FF0000;
    color: #FFFFFF;
}

.ieee1164-state-L.ieee1164-state-current {
    background-color: #66FFFF;
    color: #000000;
}

.ieee1164-state-H.ieee1164-state-current {
    background-color: #FFFF33;
    color: #000000;
}

.ieee1164-state-Z.ieee1164-state-current {
    background-color: #00FF00;
    color: #000000;
}

.ieee1164-state-0.ieee1164-state-reachable {
    background-color: #EEEEEE;
    color: #0000CC;
}

.ieee1164-state-1.ieee1164-state-reachable {
    background-color: #EEEEEE;
    color: #FF0000;
}

.ieee1164-state-L.ieee1164-state-reachable {
    background-color: #EEEEEE;
    color: #33CCCC;
}

.ieee1164-state-H.ieee1164-state-reachable {
    background-color: #EEEEEE;
    color: #BBBB00;
}

.ieee1164-state-Z.ieee1164-state-reachable {
    background-color: #EEEEEE;
    color: #00EE00;
}

.ieee1164-state-unreachable {
    background-color: #EEEEEE;
    color: #CCCCCC;
}

.ieee1164-state-custom {
    cursor: pointer;
}
.ieee1164-state-custom.ieee1164-state-current {
    background-image: url('../images/gpio_custom_current.721ac3f1.gif')
}
.ieee1164-state-custom.ieee1164-state-reachable {
    background-image: url('../images/gpio_custom_reachable.f4c4aef1.gif')
}
.ieee1164-state-custom.ieee1164-state-unreachable {
    background-image: url('../images/gpio_custom_unreachable.c6c57fea.gif')
}

.progress-container {
    position: relative;
    margin: -1px;
    padding: 1px;
    width: 100%;
    border-left: 1px solid #DDDDDD;
    border-top: 1px solid #DDDDDD;
    border-right: 1px solid #999999;
    border-bottom: 1px solid #999999;
}

.progress {
    position: absolute;
    margin: -1px;
    border: 0px;
    padding: 0px;
    height: 100%;
    z-index: 1;
}

.progress-label {
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 2;
}

.progress.capacity {
    background-color: #FFCCCC;
}

.progress-container.completion {
    background-color: #FFCCCC;
}

.progress.completion-current {
    background-color: #FFFF00;
}

.progress.completion-done {
    background-color: #C0FFC0;
}
