@media not print {
    .print-only {
        display: none;
    }
}

@media print {
    * {
        font-size: 12pt;
    }

    h5 {
        font-size: 14pt;
    }

    #print-logo {
        width: 100pt;
    }

    @page {
        size: A4;
        margin: 15mm 15mm 25mm 10mm;
    }

    html, body {
        width: 1024px;
    }

    body {
        margin: 0 auto;
    }
    
    .break-before {
        break-before: page;
    }
    
    * {
        color: black !important;
    }

    /* Improve colour contrast of links */
    a:link, a:visited {
        color: black
    }

    /* URL */
    a:link, a:visited {
        background: transparent;
        color: black;
        text-decoration: none;
    }

    a[href]:after {
        content: "" !important;
    }

    a {
        color: black;
        text-decoration: none !important;
    }

    #header {
        height: 75px;
        font-size: 24pt;
        color: black
    }

    /*input, select {*/
    /*    appearance: none;*/
    /*    -moz-appearance: none;*/
    /*    -webkit-appearance: none;*/
    /*    border: none !important;*/
    /*    !*display: inline !important;*!*/
    /*    !*width: auto !important;*!*/
    /*}*/
    button, input[type=button] {
        display: none !important;
    }

    .card-header {
        padding: 0 0 !important;
        border-bottom-style: none !important;
    }

    .card-body {
        background: transparent !important;
    }

    .card {
        background: transparent !important;
    }

    .form-control {
        border: 0;
        padding: 0;
        overflow: visible;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        height: unset;
        /*height: calc(1.5em + 2px) !important;*/
    }

    .form-control:disabled {
        background: transparent !important;
    }
    
    .form-group {
        margin-bottom: unset;
    }

    .form-check {
        display: none;
    }

    .card-header, .collapsible {
        background: transparent !important;
    }

    .collapsible::after {
        content: '' !important;
    }

    .input-group {
        width: 40%;
    }

    .input-group > input {
        width: 5% !important;
        text-align: right;
    }

    .input-group-text {
        color: black !important;
        background-color: transparent !important;
        border: none !important;
        display: inline;
    }

    thead tr, thead th {
        border: none !important;
    }

    tbody tr, tbody td {
        border: none !important;
    }

    .alert {
        display: none;
    }

    .nx--sortable {
        display: flex;
        flex-direction: column;
    }

    .nx--area {
        order: 1;
    }

    .nx--main {
        order: 2;
    }

    .nx--warnings {
        order: 3;
    }

    .nx--documentText {
        order: 4;
    }

    .nx--project {
        order: 0;
    }

    #placement-box-text, #remarks-text, #description-text {
        border: none !important;
        min-width: 100%;
    }

    .warning-floorGrossValue, .warning-floorNetValue, .warning-cableDistanceCCValue, .warning-matAreaTotalValue, .warning-outputPerCableValue {
        color: black !important;
    }

    hr {
        display: none !important;
    }

    .project-title {
        font-weight: bold;
    }

    textarea {
        resize: none;
    }
    
    textarea:invalid {
        display: none;
    }

    .col-md-4 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .cables > .col-12, .col-6 .col-sm-4 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .cableParameters > .col-6, 
    .cableParameters > .col-sm-4,
    .calculatedValues > .col-md-6,
    .calculatedValues .col-lg-6,
    .calculatedValues .col-md-3,
    .areaDefinition .col-4 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .calculatedValues > .col-md-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    .calculatedValuesStairs > .col-md-6,
    .calculatedValuesGutters > .col-md-6
    {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .calculatedValues > .text-right {
        text-align: left !important;
    }

    /*.col-md-6 {*/
    /*    -ms-flex: 0 0 50%;*/
    /*    flex: 0 0 50%;*/
    /*    max-width: 50%;*/
    /*}*/
    input, select {
        display: inline !important;
    }

    .form-group > input, .form-group > select {
        width: unset !important;
    }
    
    input[numeric] {
        width: 4em !important;
    }

    label {
        display: inline !important;
    }

    .input-group, .input-group-append {
        display: inline !important;
    }
    
    .project-data {
        width: auto !important;
    }
    .project-data-full {
        width: 70% !important;
    }
}