
:root {
    font-size: 0.8rem;
    @media print {
        font-size: 0.6rem;
    }
}

@media print {
    table a.column-link {
        display: none;
    }

    a {
        color: #000;
    }

    td, th {
        padding: 1px !important;
    }
    tr.red-line {
        border-top-color: #f00!important;
    }

    .no-print, .no-print * {
        display: none !important;
    }

    body > div.px-3 {
        margin: 0px !important;
        padding: 0px !important;
    }

    body {
        font-size: 6pt !important;
        line-height: 7pt !important;
    }

    h1 {
        font-size: 11pt !important;
    }

    h2 {
        font-size: 9pt !important;
    }

    h3 {
        font-size: 8pt !important;
    }

}

@media screen {
    .only-print, .only-print * {
        display: none !important;
    }
}

.format-price {
    text-align: right;
}

table input {
    width: 100%;
    position: relative;
    line-height: 2rem;
}
nav.table-filter-nav * {
    vertical-align: center !important;
}
#main-nav {
    margin-bottom: -7px;
    border-bottom: none;
}
#right_nav {
    margin-top: -3px;
}
input.price {
    width: 150px;
    /*
    text-align: right;
    padding-right: 0.5rem;
     */
}
input.field-amount, input.field-unit, input.field-surcharge {
    width: 130px;
}

.search-container {
    position: relative;
}

.search-container .icon-search {
    position: absolute;
    left: 4px;
    line-height: 2rem;
}

.search-container input {
    padding-left: 2rem;
}

.search-container .table-loading {
    position: absolute;
    right: 4px;
}

table a {
    text-decoration: none;
}

.table-filters a {
    text-decoration: none;
    line-height: 2rem;
}

table th {
    position: relative;
}

table th:not(.disableOrder) {
    cursor: pointer;
}

table a.order-link {
    float: right;
    right: 3px;
    position: absolute;
}

table a.order-link.-default {
    display: none;
}

table th:hover a.order-link.-default {
    display: inline;
}

.table-links {
    text-align: right;
    width: 65px;
}


#right_nav ul {
    position: absolute;
    top: 0.3rem;
    right: 1rem;
    font-size: 1.3rem;
    line-height: 2rem;
}

[name].error {
    color: #f00;
    border-color: #f00;
    background-color: #fcc;
}

tr.red-line {
    border-top: 2px solid #aaa;
}

table input[name=unit] {
    width: 80px;
}

table input.price {
    width: 100px;
}

table input[name=amount] {
    width: 50px;
}

table input[name=surcharge] {
    width: 50px;
}

table input[name=discount] {
    width: 50px;
}

.site-table-checkbox {
    min-width: 30px;
}

.site-table-delivery-date {
}

.site-table-delivery-number {
    min-width: 125px;
}
.site-table-vendor {
    width: 15%;
}
.site-table-article {
    width: 35%;
}
.site-table-amount {
    width: 4%;
}
.site-table-unit {
    width: 4%;
}
.site-table-price, .site-table-surcharge, .site-table-sum {
    min-width: 100px;
}

.site-table-comment {
    width: 25%;
}
.site-table-bill-number {
    min-width: 100px;
}

@media print {
    .site-table-price, .site-table-surcharge, .site-table-sum {
        min-width: 15mm !important;
    }
    .site-table-delivery-number {
        min-width: 19mm !important;
    }
    .site-table-bill-number {
        min-width: 16mm !important;
    }
    #ui-datepicker-div {
        display: none !important;
    }
    .multi-buttons {
        display: none !important;
    }
}


html.login-page {
    height: 100%;
}

html.login-page body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    height: 100%;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}
