main > .container {
    padding: 70px 15px 20px;
    max-width: 1300px;
}

main .container {
    max-width: 1300px;
}

.navbar > .container {
    max-width: 1300px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.yellow-cell {
    background-color: yellow;
    width: 20px !important;
}

.yellow-cell span {
    color: yellow;
}

.green-cell {
    background-color: lawngreen;
    color: lawngreen;
    width: 20px !important;
}

.stock {
    cursor: pointer;
}

.thead {
    text-align: center;
    background-color: #6bacde;
    font-weight: bold;
}

.btn-remains {
    border: 2px solid #005cbf;
    border-radius: 5px;
    min-width: 170px;
}

.remains-index table tr{
    height: 20px;
}

.pagination li {
    padding-left: 5px;
    padding-right: 5px;
}

.pagination .disabled {
    display: none;
}

input[name="stock"] {
    width: 40px;
}

.substatus-id-2 {
    background-color: #5a6268;
}

.substatus-id-3 {
    background-color: #34ce57;
}

.status-id-3,.status-id-4 {
    background-color: darkgrey;
}

.status-id-1, .substatus-id-11, .substatus-id-12, .substatus-id-13, .substatus-id-14, .substatus-id-15, .substatus-id-16, .substatus-id-17, .substatus-id-18, .substatus-id-19, .substatus-id-20,.substatus-id-21, .substatus-id-22, .substatus-id-23, .substatus-id-24, .substatus-id-25 {
    background-color: yellow;
}

.substatus-id-17 {
    background-color: red;
}

.remains-table {
    max-width: 100%;
    overflow-y: auto;
}

.remains-table__table {
    min-width: 1000px;
    width: 100%;
    table-layout: fixed;
}

.remains-table__table .market {
    width: auto;
}

.remains-table__table th {
    text-align: center;
    padding: 10px 5px;
}

.remains-table__table td, .remains-table__table th {
    border-color: #dadada ;
}

.remains-table__table td {
    padding: 5px;
}

.remains-table__table td.market {
    background-color:yellow;
}
.remains-table__table td.highlight {
    background-color: #34ce57;
}


.remains-table__table td, .remains-table__table th {
    font-size: 14px;  
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;  
}

.remains-table__table .name {
    width: 130px;
}


.table-report th {
    font-weight: 400;
    white-space: nowrap;
}

.table-report th, .table-report td {
    padding: 10px 5px;
}

.table-report tr {
    opacity: 0.7;
    transition: opacity 0.25s ease;
}

.table-report tr:hover {
    opacity: 1;
}

.table-report td.center {
    vertical-align: middle;
}

.table-report td .btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.Yandex {
    font-weight: 700;
    color: #FC3F1D;
}

.Wildberries {
    font-weight: 700;
    color: #920DF2;
}

.Ozon {
    font-weight: 700;
    color: #0152FB;
}


.table-report .pagination li {
    padding: 0;
}

.market-table {
    max-width: 100%;
    table-layout: fixed;
}
@media (max-width: 1310px) {
    .table {
        overflow-x: auto;
    }
    
    .market-table {
        min-width: 1300px;
    }
}

.market-table td {
    font-size: 14px;
    padding: 6px 3px;
}

.market-table td input {
    font-size: 14px;
    padding: 5px;
}


.market-table th {
    vertical-align: top;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.market-table .item-code span {
    padding: 5px;
    /*/white-space: nowrap;*/
}

.market-table__code {
    width: 100%;
}


.market-table__price {
    width: 90px;
}

.market-table__discounts {
    width: 40px;
}


.market-table__discount-price {
    width: 90px;
}

.market-table__accrual {
    width: 130px;
}

.market-table__residue {
    width: 45px;
}

.market-table__btns {
    width: 32px;
}

.market-table__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: auto;
    background-color: transparent;
    border: 0;
    width: 24px;
    height: 24px;
    opacity: 0.4;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.market-table__btn:hover {
    opacity: 1;
}
.market-table__btn:active {
    transform: translateY(1px);
}