



.crud-label, header + h1 {
    -display: inline-block;
    margin: -20px 0 30px;
    border-left: 20px solid var(--color-primary);
    border-radius: 5px;;
    background: #eee;
    padding: 10px 20px;
}
.crud-label {

}

.crud-label .button, .crud-label .button-primary, header + h1 .button, header + h1 .button-primary {
    margin-top: -2px;
}


.records-options {
    margin-bottom: 40px;
    margin-top: -80px;
    text-align: right;
    margin-right: 10px;
}


.filters-input {
    display: inline-block;
    padding: 10px;
    padding-left: 0;
    padding-right: 20px;
    white-space: nowrap;
}
.filters-input input, .filters-input select {
    width: 200px;

}

.index-search-wrap {
    position: relative;
}
.index-search-header {
    display: inline-block; 
    background: var(--color-primary); 
    color: #fff; 
    border-radius: 5px 5px 0 0; 
    padding: 5px 37px;
    font-weight: bold;
}
.index-search-header + .page-message {
    margin-top: 0;
    border-radius: 0 5px 5px 5px; 
}

.index-search .button-primary {
    margin-top: 10px;
}

.index-search {
    width: 100%;
    overflow: hidden;
}

.records {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    line-height: 140%;
    line-height: 1.4;
}
.records td {
    padding: 6px 3px;
    text-align: left;
    -white-space: nowrap;
    max-width: 30%;
    text-overflow: ellipsis "."; /* … */
    overflow: hidden;    
}

.records td:first-child {
    width: 60px;
    text-align: center;
}
.records td:nth-child(2) {
    width: 80px;
    text-align: center;    
}
.records thead td:nth-child(2) {
    padding-right: 15px;
}
.records td:last-child {
    text-align: center;
}

.offer-hdr .records td {
    padding: 10px 15px;
}
.offer-hdr .records td:first-child, .offer-hdr .records td:nth-child(2), .offer-hdr .records td:last-child {
    width: auto;
    text-align: left;
}


.records thead td, .records tfoot td {
    border-bottom: 2px solid #f29400;
    background: #444;
    color: #fff;
    font-weight: bold;
}


.records tbody td {
    background: #efefef;
}
.records tbody tr:nth-child(odd) td {
    background: #fafafa;;
}
.records tbody td:nth-child(3) {
    font-weight: bold;
}

.records tbody tr:hover td {
    background: #ddd;
}
.records a {
    text-decoration: none;
}
.records a:hover {
    text-decoration: underline;
}


.index-wrap {
    border-radius: 5px;
    overflow: hidden;
}
.index-wrap .table thead {
    position: sticky;
    /* nie_dziala */
}



.table-td-right td {
    text-align: right;
}