body {
    margin: 0;
    font-family: Consolas, monospace, "Ubuntu Mono", "Courier New";
    color: #444;
}

.flex-block {
    display: flex;
    width: 100%;
}
.flex-offset1, .flex-offset2 {
    height: 100%;
}
.flex-offset1 {
    flex: 0 0 68px;
}
.flex-offset2 {
    flex: 0 0 202px;
}
.flex-rest {
    flex: 0 0 auto;
    padding: 20px;
}

.content-menu-block {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    overflow: auto;
    z-index: 2;
}
.menu-decore {
    border-bottom: 1px solid #ccc;
    background: #fff;
}
.padding {
    padding: 20px;
}
.menu-header {
    font-weight: bold;
    line-height: 43px;
}

.high-line {
    line-height: 43px;
}

.content-content-block {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    z-index: 1;
}

.table {
    display: table;
    width: auto;
}
.table-row {
    display: table-row;
}
.table-row.selected {
    background: #cf8;
}
.table-cell {
    display: table-cell;
    cursor: default;
    padding: 5px 20px 5px 0;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}
.table-cell.header {
    padding-bottom: 10px;
    white-space: nowrap;
    border-bottom: 1px solid #ccc;
}
.table.sticky .table-cell.header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
}
.table.sticky .table-row .table-cell:first-child {
    padding-left: 20px;
}
.table.sticky .table-row .table-cell:first-child:not(.header) {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
}
.table.sticky .table-row.selected .table-cell:first-child:not(.header) {
    background: #cf8;
}

.header {
    font-weight: bold;
}

.ui-button {background-color: #fff;}
.ui-button:hover {background-color: #efe;}
.ui-button.alert:hover {background-color: #f44;}
.ui-button.focus-warn:hover {background-color: #fea;}
.ui-button.focus-error:hover {background-color: #fcc;}

.alert {background: #fdd;}
.confirmed {background: #efd;}


input, textarea, select {
    font-size: 1rem;
    font-family: Consolas, monospace;
}
input, textarea {
    padding: 12px 16px;
}
select {
    padding: 10px 16px;
}
input[type="checkbox"] {
    margin: 0;
}

textarea.inline {
    height: 43px;
}

.big-button {
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-transform: uppercase;
    padding: 20px 40px;
    margin: 0 20px;
    box-sizing: border-box;
    cursor: pointer;
}

.padding-top {
    padding-top: 20px;
}
.padding-bottom {
    padding-bottom: 20px;
}
.padding-left {
    padding-left: 20px;
}
.pr40 {
    padding-right: 40px;
}

.max-width-250 {
    max-width: 250px;
}

.max-width-400 {
    max-width: 400px;
}

.table-cell.top {
    vertical-align: top;
}
.table-cell.top.text {
    padding-top: 17px;
}

.text-block {
    display: inline-block;
    padding: 12px 10px;
}

.text-top {
    vertical-align: top;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}
.nowrap {
    white-space: nowrap;
}
.center {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
}
.middle {
    vertical-align: middle;
}

.inactive {color: #888;}
.info {color: #444;}
.success {color: #080;}
.warning {color: #b80;}
.error {color: #c00;}

.bg-ok {background-color: #dfd;}
.bg-warn {background-color: #ffa;}
.bg-error {background-color: #fdd;}
.bg-disabled {background-color: #ddd;}

.focus-ok {
    box-shadow: 0 0 5px #8f0;
}
.focus-warn {
    box-shadow: 0 0 5px #f80;
}
.focus-error {
    box-shadow: 0 0 5px #f00;
}

.strong {
    font-weight: bold;
}

.reload {
    background-color: #dfd;
    font-weight: normal;
    font-size: 20px;
    line-height: 15px;
    color: #444;
}

.sorted {
    color: #000;
}

.zoom {
    font-size: 1.2rem;
}

.link {
    color: #48a;
    cursor: pointer;
}
.link:hover {
    color: #4af;
    text-decoration: underline;
}

.small {
    font-size: 0.8rem;
    color: #666;
}
.small a {
    color: #444;
}

.new {color: #888;}
.started {color: #c82;}
.completed {color: #0a0;}
.incomplete {color: #48e;}
.failed {color: #a00;}
.blocked {color: #660;}
.storage {color: #648;}

button.completed {background-color: #dfd;}
button.new {background-color: #ddf;}
button.note {background-color: #ffc;}
button.blocked {background-color: #ffa;}
button.failed {background-color: #fdc;}
button.blocked, .failed {
    color: #444;
    text-transform: uppercase;
}


.bot {color: #888;}
.active {color: #080;}
.vacation {color: #44c;}
.suspended {color: #a00;}
.deleted {color: #600;}

.nested {
    margin-left: 6px;
    margin-top: 10px;
    padding-left: 15px;
    border-left: 1px solid #ccc;
}

.multivalue {
    display: inline-block;
    border: 1px solid #aba;
    background: #eee;
    border-radius: 5px;
    padding: 12px 16px;
    line-height: 17px;
    cursor: pointer;
}
.multivalue:before {
    color: #800;
    content: '\2715';
    line-height: 17px;
    padding-right: 10px;
}
.multivalue.margin-right {
    margin-left: 0;
    margin-right: 10px;
}

.margin-bottom {
    margin-bottom: 10px;
}

.separate-row {
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.border-right {
    border-right: 1px solid #eee;
    padding-right: 10px;
}

.circle-button {
    display: inline-block;
    border-radius: 100%;
    width: 28px;
    height: 28px;
    line-height: 28px;
    cursor: pointer;
    background: #ccc;
    color: #000;
    text-align: center;
}

.circle-button.close {
    float: right;
    background: #fc0;
}
.circle-button.close:before {
    content: '\2715';
}

.circle-button.add {
    background: #af0;
}
.circle-button.add:before {
    content: '\ff0b';
    line-height: 29px;
}

.menu-group {
    padding: 10px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.box {
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    vertical-align: top;
}
.inline-block {
    display: inline-block;
}

.uploader {
    display: inline-block;
    width: 400px;
    height: 100px;
    text-align: center;
    padding: 20px;
    border: 1px dashed #ccc;
    box-sizing: border-box;
}
.uploader>span {
    vertical-align: middle;
}
.uploader-available {
    box-shadow: 0 0 5px #8f0;
}
.uploader-busy {
    background: #ddd;
    box-shadow: none;
}
.uploader-selected {
    background: #efe;
}
.uploader-invalid {
    background: #fdd;
}

.no-border {
    border: 0;
}
.no-padding {
    padding: 0;
}

@media only screen and (min-width: 540px) {
    .content-menu-block {
        position: absolute;
    }
}

@media only screen and (max-width: 539px) {
    .content-menu-block {
        position: absolute;
    }
}

