body {
    background: #eee;
}
body.dark {
    background: black;
}

table.table-accounts tr td span.action {
    text-decoration: underline;
    color: blue;
    cursor: pointer;
}

body.dark a,
body.dark table.table-accounts tr td span.action {
    color: #66f;
}

.block.auth {
    padding: 0.6em 1em;
    margin: 0.6em 1em;
    border: 1px solid gray;
    background: #eef;
    display: inline-block;
}

.block h1, .block h2, .block h3, .block h4, .block h5, .block h6, .block h7 {
    text-align: center;
}

.block .error {
    border: 1px solid red;
    background: #fcc;
    text-align: center;
}

.page {
    display: inline-block;
    border: 1px solid black;
    margin: 0.6em 1em;
    padding: 0.6em 1em;
    background: white;
    position: relative;
}
body.dark .page {
    background: #112;
    color: white;
    border-color: #aaa;
}

.page#p_system {
    float: right;
}

.page > h3 {
    text-transform: uppercase;
}

.page > table {
    border-collapse: collapse;
}

.page > table th,
.page > table td {
    border: 1px solid #666;
    padding: 0.3em 0.8em;
    text-align: center;
}

.page > table th {
    background: #ddf;
}
body.dark .page > table th {
    background: #225;
}

.page > table td.id {
    background: #eef;
    font-weight: bold;
}
body.dark .page > table td.id {
    background: #121;
}

.page > .pdf {
    position: absolute;
    top: 1em;
    right: 1em;
    display: inline-block;
}

.page > .pdf > img {
    width: 2em;
    height: 2em;
}

.edit,
.pdf {
    cursor: pointer;
    opacity: 1;
}

.edit:hover,
.edit.active,
.pdf:hover,
.pdf.active {
    opacity: 0.6;
}

td > .edit {
    width: 1em;
    height: 1em;
    margin-left: 0.3em;
    margin-top: -0.3em;
    position: relative;
    top: 1px;
    left: 3px;
}

td > .action {
    display: inline-block;
    margin-top: -0.5em;
    position: relative;
    top: 0.3em;
}

td > .action > img {
    width: 1.5em;
    height: 1.5em;
}
body.dark td > .action:last-child > img {
    background: #464;
}

td > input.value {
    font-weight: bold;
}

.table-workers .field-account {
    font-weight: bold;
}

td.field-deposit > span.value,
td.field-deposit > input {
    display: inline-block;
    text-align: left;
    width: 4em;
}

.settings {
    display: inline-block;
    padding: 0.7em 0;
    border: 1px solid black;
    margin: 0 1em;
    background: white;
}
body.dark .settings {
    background: #232;
    color: #ddd;
}

.settings > * {
    margin: 0 2em;
}

table.table-accounts tr td {
    /*height: 66px;*/
}
