﻿/*
    HIUS Document Printing Stylesheet
    =================================

    NOTE: This is included "as-is" without suction processing.
*/

html {
    margin: 0;
    padding: 0;
    overflow: auto;
}

body {
    font-family: Barlow, 'Segoe UI', Arial;
    margin: 0;
    padding: 0;
    overflow: auto;
}

/*
    HIUS Document Printing Styles
    =============================
*/

.HiusDeliverySlipDocument {
}

.HiusDeliverySlipAttributes {
    margin-top: 0.5em;
    font-size: smaller;
}

.HiusDeliverySlipTable {
    margin-top: 0.5em;
    font-size: smaller;
}

.HiusShopHeader {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.HiusShopHeaderTelefon {
    font-size: small;
    margin-left: 15px
}

.HiusShopHeaderPA {
    font-size: small;
    margin-left: 15px
}

.PrintOnly {
    display: none;
}

.HiusDocumentForPrint .DocumentContainerA5 {
    height: 128mm;
    width: 178mm;
    --border : 1px solid gray;
    padding: 5mm;
}

.HiusDocument {
    --border: 1px solid red;
}

.HiusDocumentForPrint {
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 0;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0px;
}

    .HiusDocumentForPrint .PrintOnly {
        display: block;
    }

    .HiusDocumentForPrint .HiusPurchaseOrderDocument {
        transform-origin: 0 0;
        transform: rotate(90deg) translate(0mm, -180mm);
    }

.HiusTableForPrint {
    border-spacing: 0;
    border-collapse: collapse;
}

.HiusPurchaseOrderDocument .HiusTableRS {
    width: 125mm;
}

.ReadyToManufacture .HiusTableRS {
    width: 190mm;
}

.HiusTableLS {
    width: 110mm;
}

.HiusPurchaseOrderTable {
    font-size: small;
}

.HiusDocumentForPrint .HiusCouvertAddress {
    position: absolute;
    left: 12cm;
    top: 5cm;
}

.HiusOrderGroupHeader {
    border-bottom: 1px solid transparent;
    height: 0.5em;
}

.HiusOrderItemValue {
    white-space: pre-line;
}

.HiusOrderItemLabel_Beschriftung {
    color: transparent;
}


.HiusOrderItemValue_Bemerkung {
    font-weight: bold;
    text-decoration: underline;
}

.HiusOrderItemValue_Beschriftung {
    display: inline-block;
    border: 1px solid black;
    text-align: center;
    margin-top: 5px;
    padding: 3px;
    width: 8cm;
}

.ReadyToManufacture .HiusOrderItemValue_Beschriftung {
    font-size: large;
}

    .HiusOrderDocumentHeader {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }

.HiusOrderDocumentTitle {
    font-weight: bold;
}

.DocumentAttributeNV {
    font-size: small;
}

.HiusOrderDocumentSubTitle {
    font-size: small;
}

.HiusDeliverySplitHeader {
    text-decoration: underline;
}

.HiusDocumentControl {
}

.HiusDocumentHeader {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.ActionCommandContainer {
    --border: 1px solid gray;
    --border-radius: 3px;
    display: inline-block;
    --padding: 1px;
}

PO-SonnerieTyp {
    font-weight: bold;
}

.PO-ProductID {
    font-weight: bold;
}

.HiusTimeControl, .HiusLookupCode {
    font-family: Consolas;
    font-size: smaller;
}

.HiusDocumentProviderAddress {
    width: 50mm;
}

.DispatchSummary {
    min-width: 18cm;
}

    .DispatchSummary .DocumentTrivia {
        display: none;
    }

    .DispatchSummary .HiusCouvertAddress, .DispatchSummary .HiusDeliveryBillingAddress, .DispatchSummary .HiusDeliveryBillingAddress {
    }

    .DispatchSummary .DispatchValidationItem {
        border: 1px solid blue;
        background: rgba(0,0,255,0.1);
        padding: 5px;
    }

.HiusDocumentProviderAttributes {
    font-size: small;
}

.HiusDeliverySlipAttributeContainer {
    max-width: 11cm;
    overflow-x: hidden;
}

.HiusDeliverySplitRechnungsadresse {
    margin-top: 0.8em;
    margin-bottom: 0.8em;
    font-size: small;
}

.HiusRsBarCodeContainer {
    display: inline-flex;
    --float: right;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.BarCodeImage {
    margin-left: 5px;
    width: 4cm;
}

.HiusPanelControlEditing {
}

.HiusUserCollectionTable {
    width: 100%;
}

    .HiusUserCollectionTable tr td {
        border-top: 1px solid gray;
    }

.HiusPreorderNotVisible {
    display: none;
}

.SonnerieTypHeader {
    text-decoration: underline;
    font-weight: bold;
}

@media screen {
    .DocumentFrame {
        margin: 0.66cm;
        width: 18cm;
    }

    .DocumentRecipientPostalAddress {
        margin-top: 1cm;
        margin-bottom: 1cm;
    }
}

@media print {
    .DocumentRecipientPostalAddress {
        margin-top: 3cm;
        margin-bottom: 3cm;
        margin-left: 10cm;
    }

    .PageFooter {
        text-align: center;
        position: fixed;
        bottom: 0;
    }
}

@media screen {
    .PageFooter {
        text-align: center;
        font-size: small;
        color: gray;
        margin-top: 1cm;
    }
}

.DocumentTable {
    border-spacing: 0;
    width: 100%;
}

    .DocumentTable tr td {
    }

.DocumentSummaryTable {
}

.DocumentHighlightSection {
    padding-left: 0.7cm;
    font-size: larger;
}

.DocumentTitleSection {
    margin-top: 0.6cm;
    margin-bottom: 0.6cm;
}

.DocumentSectionHeader {
    font-size: larger;
}

.DocumentLabelFormat {
    font-family: consolas;
    white-space: pre-line;
    border: 1px solid lightgray;
    background: lightgray;
    border-radius: 4px;
    padding: 2px;
    margin-bottom: 3px;
    display: inline-block;
    min-width: 8cm;
}

.DocumentCurrency {
    font-family: Consolas;
    width: 50px;
    text-align: right;
}

.DocumentAmount {
    text-align: right;
    font-family: Consolas;
    width: 100px;
}

.OrderTotalItem {
    font-weight: bold;
}

    .OrderTotalItem td {
        padding-top: 5px;
    }

.NotePreformatted {
    white-space: pre-line;
}

@media screen {
    .DocumentPopupForScreen {
        position: absolute;
        left: 12cm;
        top: 0.3cm;
        right: 1cm;
    }

    .PopupFrame {
        width: 6cm;
        border: 1px solid goldenrod;
        border-radius: 4px;
        padding: 3px;
        background: rgba(255, 216, 0, 0.2);
        font-size: small;
        text-align: center;
    }
}

@media print {
    .DocumentPopupForScreen {
        display: none;
    }
}

@page {
    margin-top: 1cm;
    margin-bottom: 1cm;
    margin-left: 1cm;
    margin-right: 2cm;
    size: A4;
}
