@page {
    margin: 0;
    /*marker: none;*/
}

@media screen {
    #print-canvas {
        width: 100%;
        margin: 0mm;
        padding: 5mm 0mm;
        background-color: #f0f0f0;
    }

    #page-template,
    div.print-page {
        width: 208mm;
        height: 267mm;
        position: relative;
        margin: 5mm auto;
        padding: 0mm;
        border: 1px solid #e0e0e0;
        background-color: white;
        page-break-after: always;
        page-break-inside: avoid;
        /*border: 1px solid green;*/
    }
}

@media print {
    #print-canvas {
        width: 100%;
        margin: 0mm;
        padding: 0mm;
        background-color: transparent;
    }


    #page-template,
    div.print-page {
        width: 208mm;
        height: 267mm;
        position: relative;
        margin: 1mm auto;
        padding: 0;
        border: none;
        background-color: transparent;
        page-break-after: always;
        page-break-inside: avoid;
        /*border: 1px solid cyan;*/
    }
}

table.custom-form {
    border: solid #000 !important;
    border-width: 1px 0 0 1px !important;
    border-collapse: collapse !important;
    margin-bottom: 20px;
}

table.custom-form th, table.custom-form tr {
    border: solid #000 !important;
    border-width: 1px !important;
    border-collapse: collapse !important;
}

div.print-page h2 {
    margin-top: 0;
    margin-bottom: 2mm;
    padding: 0;
}

div.print-page-header {
    width: 196mm;
    height: 15mm;
    margin: 1mm 6mm 0mm 6mm;
    padding: 0mm;
    line-height: 15mm;
    vertical-align: middle;
    /*border: 1px solid red;*/
}

div.print-page-logo {
    width: 60mm;
    height: 12mm;
    float: left;
    padding-top: 3mm;
}

/*div.print-page-logo:after {
    content: url("/images/logo_mrm_175x35.gif");
}*/

div.print-page-logo::before {
    content: "";
    background-image: url("/images/Cl_Underwriting_Center_Horizontal_Red.png");
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    width: 90mm;
    height: 13mm;
    position: relative;
    top: -4mm;
    left: -10mm;
}

div.print-page-header span {
    float: right;
    padding-right: 10mm;
}

div.print-page-content {
    width: 196mm;
    height: 240mm;
    margin: 0mm 6mm;
    padding: 0mm;
    /*border: 1px solid yellow;*/
}

div.print-page-footer {
    position: absolute;
    bottom: 4mm;
    left: 4mm;
    right: 4mm;
    border: 1px solid blue;
    line-height: 15mm;
}

div.columnbreak {
    width: 0;
    height: 0;
}

table.VAL_RCT table td:first-child table {
    width: 100%;
}

table.RCTEXPMS_CALC_DOC, table.RCTEXPMS_CALC_DOC table {
    width: 100%;
    /*border-collapse: collapse !important;*/
}

table.photo-container {
    width: 160mm;
    /*height: 200mm;*/
    margin: 0mm auto !important;
}

table.photo-container b {
    display: block;
    margin: 7px 0px 3px 0px;
}

table.photo-container img {
    display: block;
    max-height: 105mm;
    height: auto;
}

table.photo-container-amica img {
    display: block;
    max-height: 210mm;
    height: auto;
}

.table-vi-full-report {
    /* page: test; */
    border: 1px solid black;
    /*page-break-inside: avoid;*/
}

.table-vi-full-report th {
    background-color: #D4D4D4;
    border-style: none;
    padding: 5px 2px;
    font-weight: bold;
    color: black;
    vertical-align: top;
    margin-top: 100px;
}

.table-vi-full-report td {
    border-style: none;
    vertical-align: top;
}

table#vi-summary-report tr td hr {
    margin: 5px 0px;
}

.table-vi-full-report .rowOdd {
    background-color: #FFFFFF;
}

.table-vi-full-report .rowEven {
    background-color: #F0F0F0;
}

.table-vi-full-report .groupby {
    background-color: #D4D4D4;
}

.table-vi-full-report .table-calc-attributes {
    border: 2px solid gray;
}

table#vi-summary-report td {
    vertical-align: top;
}

table#vi-summary-report-basic td {
    width: 25%;
}

div#uw-score {
    width: 90mm;
    height: 30mm;
    margin-bottom: 2mm;
    padding: 5mm 0mm;
    background-color: #d8e4bc;
    text-align: center;
    vertical-align: middle;
    line-height: 10mm;
    border: 1px solid black;
    border-top: none;
}

span#uw-score-text {
    font-weight: bold;
    font-size: 16px;
}

span#uw-score-score {
    font-weight: bold;
    font-size: 30px;
}

div#prop-image img {
    width: 90mm;
    height: 60mm;
    border: 1px solid black;
}

.vs-help-link {
    display: block;
    width: 12px;
    height: 12px;
    background-image: url("/images/icon_help.png");
    background-repeat: no-repeat;
}

div.print-page-content span.comp-cost-link {
    display: none;
}