﻿body {
    -webkit-print-color-adjust: exact;
}
table {
    width: 100%;
    border-color: transparent;
}

    table.pageHeaderFooter > thead > tr > td, .header {
        height: 6cm;
    }

    table.pdfRecall {
        margin-bottom: 2.0em;
    }

        table.pdfRecall td {
            padding: 0.2em !important;
            text-align: center !important;
        }

.SafeContract {
    content: url(/Assets/safecontractor-seal.png);
    width: 70%;
    opacity: 0.4;
    margin: 40% 15%;
    z-index: -1;
    position: fixed;
}

.InspectionColumns {
    display: block;
    column-count: 2;
    column-gap: 0.5cm;
    column-width: 9.5cm;
    widows: 0;
    orphans: 0;
    margin: 0 auto;
}

.InspectionSection {
}

.text-dark {
    /* -webkit-filter: drop-shadow(0 0 1px black); */
}

.InspectionTitle {
    font-size: 12pt;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    margin: 1em 0;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    text-align: right;
    z-index: 4;
}

    .header p {
        margin: 0 1cm 0.3em 0;
    }

table.pageHeaderFooter > tfoot > tr > td, .footer {
    height: 1cm;
}

    table.pageHeaderFooter.invoice > tfoot > tr > td, .footer.invoice {
        height: 6cm !important;
        background: none;
    }

.print-content {
    margin: 1em 1cm 0 1cm;
    padding: 0;
    page-break-inside: auto;
}

.footer {
    height: 1cm;
    position: fixed;
    padding: 0 1cm 0 1cm;
    bottom: 0;
    width: 100%;
    background: url("/chevron.png") no-repeat 0 0;
    background-size: cover;
    z-index: 4;
}

.ImagePages {
    page-break-before: always;
}

.ImagePage {
    padding: 0;
    margin: 0;
    border: 0;
    width: 100%;
    height: 100%;
    background: white;
    overflow: hidden;
    z-index: 5;
    position: relative;
    page-break-before: always;
    page-break-inside: avoid;
}

    .ImagePage div {
        position: relative;
        padding: 1cm;
        width: 100%;
        height: 100%;
    }

.CoverPage {
    font-family: 'Century Gothic';
    padding: 0;
    margin: 0;
    border: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    position: relative;
}

    .CoverPage .Image {
        content: url('/Assets/CoverPage2.jpg');
        position: relative;
        z-index: 5;
        width: 100%;
        height: 100%;
    }

    .CoverPage p {
        position: absolute;
        top: 1em;
        width: 100%;
        font-weight: bold;
        z-index: 6;
    }

.BackingPage {
    page-break-before: always;
    page-break-after:avoid;
    font-family: 'Century Gothic';
    padding: 0;
    margin: 0;
    width: 100%;
    height: 90% !important;
    position: relative;
}

    .BackingPage .Image {
        content: url('/Assets/CoverPage1.jpg');
        position: relative;
        z-index: 5;
        width: 100%;
        height: 100%;
    }

    .BackingPage p {
        position: absolute;
        top: 24cm;
        font-weight: bold;
        z-index: 6;
    }

@page {
    size: A4;
    margin: 0;
    width: 210mm;
    height: 297mm;
    -webkit-print-color-adjust: exact;
}

table tr.bg-fleetservred {
    background: rgb(226, 14, 20);
    color: white;
}

.print-content table tr td, .footer td {
    padding: 3pt 0 3pt 0;
    vertical-align: top;
}

table tr th {
    color: rgb(226, 14, 20);
    font-weight: bold;
    vertical-align: top;
    padding: 3pt 0 3pt 0;
}

.footer table {
}

table tr.bg-fleetservred th {
    color: white;
    -webkit-print-color-adjust: exact;
    vertical-align: central;
    text-align: center;
}


table.pageHeaderFooter,
table.pageHeaderFooter > thead > tr, table.pageHeaderFooter > thead > tr > td,
table.pageHeaderFooter > tbody > tr, table.pageHeaderFooter > tbody > tr > td,
table.pageHeaderFooter > tfoot > tr, table.pageHeaderFooter > tfoot > tr > td {
    border-width: 0px;
}

.tyre-report-inspection {
    border: 2px solid black;
    border-radius: 2em;
    margin: 0 0.25em;
    box-shadow: inset 0 0 5px 2px rgba(0, 0, 0, 0.8);
    background: linear-gradient( to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), radial-gradient( transparent, rgba(0,0,0,0.5)), linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0.5));
    padding: 2.5em 0.25em 1.5em 0.25em;
    color: white;
    font-weight: bold;
    text-align: center;
}

p.pre {
    white-space: pre-line;
}


.brake-drum {
    text-align: center;
    padding: 1.25em 0 1.75em 0;
    background: url(/Assets/brake-drum.svg) no-repeat center center;
    background-size: contain;
}
