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;
}

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: 100px;
}