* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font: 14px/1.45 Tahoma, Arial, sans-serif;
    color: #111;
    background: #e8eef8;
}

a {
    color: #1b5b6f;
    text-decoration: none;
}

a:hover {
    color: #0d3d4d;
    text-decoration: underline;
}

#container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px 32px;
}

#header {
    padding: 20px 0 10px;
    text-align: center;
}

.site_name {
    margin: 0;
    font: bold 2em Palatino Linotype, Palatino, serif;
}

.site_name a {
    color: #173a63;
    text-decoration: none;
}

.site_slogan {
    margin: 6px 0 0;
    color: #5b6f86;
}

#navigation {
    margin: 0 auto 20px;
    max-width: 900px;
    background: #2f5f9b;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

#navigation ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 6px;
}

#navigation a {
    display: block;
    padding: 8px 14px;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
}

#navigation li.active a,
#navigation a:hover {
    background: #adcaf8;
    color: #111;
    text-decoration: none;
}

#main-content {
    max-width: 1800px;
    margin: 0 auto;
}

.block-center {
    background: #f4f7fc;
    border: 1px solid #c3d6f7;
    border-radius: 4px;
    padding: 12px;
}

.block-center-content {
    overflow-x: auto;
}

.over {
    margin: 0 0 14px;
    color: #333;
    line-height: 1.6;
}

.over_head {
    font-weight: bold;
}

.over_head_spr {
    margin: 0 0 14px;
    padding: 10px 12px;
    background: #e8f0ff;
    border: 1px solid #c3d6f7;
    line-height: 1.5;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

table.sortable {
    min-width: 720px;
}

table.wide {
    min-width: 1280px;
}

th.rad_zag,
td.rad,
td.rad_in {
    border: 1px solid #b8ccef;
    padding: 5px 8px;
    vertical-align: middle;
}

th.rad_zag {
    background: #adcaf8;
    color: #000;
    font: bold 1em Palatino Linotype, Palatino, serif;
    text-align: left;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
}

td.rad,
td.rad a {
    background: #cad9f6;
    color: #000;
}

td.rad_in,
td.rad_in a {
    background: #c3d6f7;
    color: #525252;
}

td.rad a:hover,
td.rad_in a:hover {
    text-decoration: underline;
}

.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.col-status,
.col-center {
    text-align: center;
}

.sep {
    width: 10px;
    background: #f4f7fc !important;
    border-color: #f4f7fc !important;
}

.view-compact .col-extra {
    display: none;
}

.view-compact .col-more {
    display: table-cell;
}

.col-more {
    text-align: center;
    width: 36px;
}

.tx-details {
    margin-top: 16px;
    max-width: 900px;
}

.tx-details-table {
    width: 100%;
    border-collapse: collapse;
}

.tx-details-table td {
    border: 1px solid #b8ccef;
    background: #e8f0ff;
    padding: 10px 12px;
    vertical-align: top;
    line-height: 1.5;
}

.tx-details-rds {
    color: #333;
}

.tx-details-text {
    white-space: pre-wrap;
    word-break: break-word;
}

.tx-details-meta {
    margin: 8px 0 0;
    color: #5b6f86;
    font-size: 12px;
}

code {
    background: #eef3fb;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
}

#footer {
    margin-top: 28px;
    text-align: center;
    color: #5b6f86;
    font-size: 12px;
}

.message {
    padding: 16px;
    background: #fff3cd;
    border: 1px solid #f0d58c;
    border-radius: 4px;
}

.pagination-nav {
    margin: 14px 0;
    text-align: center;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 6px 10px;
    border: 1px solid #c3d6f7;
    background: #e8f0ff;
    color: #111;
    text-decoration: none;
    border-radius: 3px;
}

.pagination li.active span {
    background: #adcaf8;
    font-weight: bold;
}

.pagination li.disabled span {
    color: #888;
    background: #f0f4fb;
}

.pagination li a:hover {
    background: #cad9f6;
    text-decoration: none;
}

@media (max-width: 768px) {
    .site_name {
        font-size: 1.5em;
    }

    #navigation ul {
        flex-direction: column;
        align-items: stretch;
    }

    th.rad_zag {
        position: static;
    }
}

@media (max-width: 480px) {
    .view-compact .col-extra {
        display: none;
    }
}
