body {
    background-color: #666;
    color: #eee;
    background-image: url(images/background.png);
    font-family: sans-serif;
    font-size: 18px;
    line-height: 1.65rem;
}

header h1 {
    color: #999;
}


/* content layout */
#content, #load-errors, #violations {
    margin: 0 auto;
    width: 900px;
}


a,
a:visited,
a:active,
a:hover {
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid;
}
a:hover {
    color: #59d4f5;
}


/* Message styling */

.route, .sector {
    border: 2px solid #666;
    padding: 0 0.2em;
    border-radius: 0.2em;
}

.sector {
    white-space: nowrap;
}

.route .route-connector {
    color: #aaa;
}

.route .sector--missing {
    color: #ff5959;
}

.route .sector--step {
    white-space: nowrap;
}

.message code {
    font-weight: bold;
}

.message code.name {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0 0.2em;
    border-radius: 0.2em;
}

.message code.field {
    border: 2px solid #666;
    border-radius: 0.2em;
    padding: 0 0.2em;
}

.message code.value {
    color: #ffabab;
}

.message code.value--undefined {
    color: #ababab;
}

/* Errors and violations */
.error {
    background-color: #555;
    padding: 1em 1em;
    margin: 1em 0;
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
    border-top: 0.2em solid #ff5959;
}

.error .error-header a,
.error .error-header a:visited,
.error .error-header a:active,
.error .error-header a:hover {
    color: inherit;
    font-style: italic;
    border-bottom: none;
}

.error .error-header a:hover {
    color: #59d4f5;
    border-bottom: 2px solid;
}

/* Progress layout */
#progress {
    position: absolute;
    background-color: #555;
    border-bottom-right-radius: 1em;
    border-bottom-left-radius: 1em;
    left: 50%;
    top: 6em;
    width: 24em;
    margin-left:-13em;
}

#progress div.bar {
    height:0.2rem;
    width: 100%;
    background-color: #444;
}

#progress div.bar .bar-filling {
    height: 100%;
}

#progress div.bar .bar-filling.success {
    background-color: #59d4f5;
    box-shadow: 0 0 5px #59d4f5;
    float: left;
}

#progress div.bar .bar-filling.failure {
    /*
    background-color: red;
    box-shadow: 0 0 5px red;
    */
    background-color: #ff5959;
    box-shadow: 0 0 5px #ff5959;
    float: right;
}

#progress .item-list {
    padding: 1em;
}

#progress .item {
    margin-top: 0.25em;
}
#progress .item.item--working {
    color: orange;
}
#progress .item.item--success {
    color: #59d4f5;
}
#progress .item.item--failure {
    color: #ff5959;
}

/* Input styling */
input.label-styled {
    display:none;
}
input.label-styled:checked + label {
    background-color: #888;
    transition: background-color ease 0.25s;
}

label {
    display: inline-block;
    background-color: #555;
    cursor: pointer;
    transition: background-color ease 0.25s;
}
label.tradable {
    padding: 6px;
    margin: 4px;
    line-height: 15px;
    border-radius: 3px;
}
label.faction{
    width: 32px;
    height: 32px;
    margin: 4px;
    padding: 6px;
    border-radius: 64px;
}
label.option {
    padding: 6px;
    margin: 4px;
    border-radius: 3px;
    font-size: 70%;
    font-weight: bold;
}

