body {
    font-family: 'Open Sans';
    padding-top: 70px;
}

.fa-btn {
    margin-right: 6px;
}

td, th {
    white-space: nowrap;
}

@media screen and (min-width: 1024px) {
    .nagy-modal {
        width: 1024px !important;
    }

    .modal-body {
        border-bottom: 1px solid #ddd;
    }
}

.stocktakingdiff {
    min-width: 100px;
    text-align: left;
    color: red;
    font-weight: bold;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.disable_div {
    pointer-events: none;
    opacity: 0.5;
}

.table > thead > tr > td.gls,
.table > tbody > tr > td.gls,
.table > tfoot > tr > td.gls,
.table > thead > tr > th.gls,
.table > tbody > tr > th.gls,
.table > tfoot > tr > th.gls,
.table > thead > tr.gls > td,
.table > tbody > tr.gls > td,
.table > tfoot > tr.gls > td,
.table > thead > tr.gls > th,
.table > tbody > tr.gls > th,
.table > tfoot > tr.gls > th {
    background-color: #D4C8F7 !important;
}

#shippings_table .panel-body{
    max-height: 40em;
    overflow: scroll;
    position: relative;
    padding:0;
}

#shippings_table table {
    position: relative;
    border-collapse: collapse;
    border-top: 0;
}

#shippings_table thead th, #shippings_table thead tr {
    height: 50px;
}

#shippings_table thead th {
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    top: 0;
    background: #FFF;
}

#shippings_table thead th:first-child {
    left: 0;
    z-index: 1;
}

#shippings_table tbody th {
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    left: 0;
    background: #FFF;
    border-right: 1px solid #CCC;
}

#orderModalLabel, #orderModalDocs {
    margin-bottom: 10px;
}

.orderReceiptContainer {
    display: flex;
    flex-direction: row;
    /*justify-content: space-around;*/
    align-items: center;
}

.orderReceiptbutton {
    cursor: pointer;
    margin-left: 5px;
}