/*********
** Main layout
*********/
#content {
    max-width: 100%;
}

caption {
    text-align: left;
    padding-top: 2px;
}

#output {
    padding: 10px;
    overflow: auto;
}

#output h2 {
    margin: -10px 0 10px -10px;
}

#output table {
    font-family: monospace;
}

table caption {
    font-weight: bold;
}

/*********
** Result banner
*********/
.banner {
    border: 2px solid gray;
    border-radius: 5px;
    margin-top: 1em;
    padding: 1em;
}

.banner.success {
    border-color: green;
    background: #CFC;
}

.banner.error {
    border-color: red;
    background: #FCC;
}

.save-metadata {
    margin-top: 1em;
    font-size: 0.8em;
    opacity: 0.3;
}

/*********
** Log metadata & filters
*********/
.table, #filters {
    border-bottom: 1px dashed #888888;
    margin-bottom: 5px;
}

#metadata th {
    text-align: right;
    padding-right: 0.7em;
}

.table {
    border: 1px solid #000000;
    background: #ffffff;
    border-radius: 5px;
    border-spacing: 1px;
    overflow: hidden;
    cursor: default;
    box-shadow: 1px 1px 1px 1px #dddddd;
}

.mod-entry {
    height: 1.8em;
}

.table > caption {
    min-height: 1.3em;
}

#fix-list {
    margin-bottom: 2em;
}

#updates {
    min-width: 10em;
}

#mods {
    min-width: 400px;
}

#mods .color-red {
    color: red;
}

#mods .color-green {
    color: green;
}

#mods tr {
    cursor: pointer;
}

#mods.filters-disabled tr {
    cursor: default;
}

.table tr {
    background: #eee
}

#mods span.notice {
    font-weight: normal;
    font-size: 11px;
    position: relative;
    top: -1px;
    display: none;
}

#mods span.notice.btn {
    cursor: pointer;
    border: 1px solid #000;
    border-radius: 5px;
    position: relative;
    top: -1px;
    padding: 0 2px;
    background: #eee;
}

#mods span.notice.txt {
    display: inline-block;
}

.table .hidden {
    opacity: 0.5;
}

.table .content-packs {
    margin-left: 1em;
    font-size: 0.9em;
    font-style: italic;
}

#metadata td:first-child {
    padding-right: 5px;
}

.table tr:nth-child(even) {
    background: #fff
}

#filters {
    margin: 1em 0 0 0;
    padding: 0;
    font-weight: bold;
}

#filters span {
    padding: 3px 1em;
    display: inline-block;
    border: 1px solid #000000;
    border-radius: 3px;
    font-family: monospace;
    cursor: pointer;
    font-weight: bold;
    color: #000;
    border-color: #880000;
    background-color: #fcc;
}

#filters span:hover {
    background-color: #fee;
}

#filters span.active {
    background: #cfc;
    border-color: #008800;
}

#filters span.active:hover {
    background: #efe;
}

/*********
** Log
*********/
#log .mod-repeat {
    font-size: 0.85em;
}

#log .trace {
    color: #999;
}

#log .debug {
    color: #595959;
}

#log .info {
    color: #000;
}

#log .alert {
    color: #b0b;
}

#log .warn {
    color: #f80;
}

#log .error {
    color: #f00;
}

#log .critical {
    background-color: #c00;
    color: #fff;
    font-weight: bold;
}

#log .section-start {
    cursor: pointer;
}

#log .section-toggle-message {
    color: blue;
}

#log .log-message-text {
    white-space: pre-wrap;
}

#log {
    border-spacing: 0;
}

#log tr {
    background: #fff;
}

#log td {
    padding: 0 1px;
    background: inherit;
    border-bottom: 1px dotted #ccc;
    border-top: 2px solid #fff;
    vertical-align: top;
}

#log td:not(:last-child) {
    max-width: 175px;
    padding: 0 4px;
    overflow: hidden;
    white-space: nowrap;
}

#log td[data-title]:hover {
    overflow: inherit;
    position: relative;
}

#log td:nth-child(3):hover:after {
    content: attr(data-title);
    display: block;
    position: absolute;
    border-radius: 4px;
    box-shadow: 1px 1px 2px #ccc;
    background: inherit;
    border: 1px solid #ccc;
    background: #efefef;
    padding: 1px 1px 0 1px;
    font-size: 10pt;
    top: -2px;
    left: 2px;
    color: #000;
}

#log td:last-child {
    width: 100%;
}

#error {
    color: #f00;
}


/*********
** Upload form
*********/
#os-list {
    list-style: none;
}

div[data-os] {
    display: none;
}