@font-face {
    font-family: 'KhmerOS';
    src: url('../../fonts/KhmerOS.ttf');
}
@font-face {
    font-family: Hanuman;
    src: url('../../fonts/Hanuman.ttf');
}
@font-face {
    font-family: 'KhmerOS_muollight';
    src: url('../../fonts/KhmerOS_muollight.ttf');
}
@font-face {
    font-family: 'Tacteng';
    src: url('../../fonts/Tacteng.ttf');
}

@font-face {
    font-family: 'SourceSerifPro-Regular';
    src: url('../../fonts/SourceSerifPro-Regular.ttf');
}
@font-face {
    font-family: 'SourceSerifPro-Bold';
    src: url('../../fonts/SourceSerifPro-Bold.ttf');
}
@font-face {
    font-family: 'Dactylog';
    src: url('../../fonts/DACTYLOG.TTF');
}
.KhmerOS {
    font-family: 'SourceSerifPro-Regular', 'KhmerOS', 'serif';
}
.KhmerMoulLight {
    font-family: 'SourceSerifPro-Regular', 'KhmerOS_muollight', 'serif';
}
.tacteng {
    font-family: Tacteng !important;
}
.sourceserifpro-bold {
    font-family: 'SourceSerifPro-Bold', 'serif';
}
/*body {
    background: rgb(204, 204, 204);
}*/
page[size="A5"] {
    background: white;
    width: 21cm;
    display: block;
    margin: 10px auto;
    box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
    padding: 1cm;
    font-family: 'SourceSerifPro-Regular', 'Noto Sans Khmer', 'serif';
    font-size: 12pt;
    line-height: 23px;
    page-break-after: always;
}

/*
page[size="A4"], th, td {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

page[size="A4"] table {
    border-spacing: 2px !important;
    border-collapse: separate !important;
}*/

table th, table td {
    text-align: left;
    padding-left: 5px !important;
    padding-right: 5px !important;
}
table td {
    font-weight: normal;
}

table.patient-info, table.department-sample-info  {
    border: 1px solid #7a7a7a;
    line-height: 18px;
    padding: 3px;
}
table.patient-info td, table.patient-info th {
    vertical-align: top;
}

.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-top {
    vertical-align: top;
}
.text-bottom {
    vertical-align: bottom;
}
.text-middle {
    vertical-align: middle;
}
.text-bold {
    font-weight: bold;
}
.text-no-wrap {
    white-space: nowrap;
}
table.test-result {
    line-height: 16px;
}
#footer {
    line-height: 17px;
}
#footer .laboratory-address td {
    border-top: 1px solid black;
    padding-top: 10px;
}
#footer .result-footer-signature td {
    vertical-align: top;
    padding-bottom: 60px;
}

@page {
    margin: 1cm 1cm 0;
}

@media print {
    @page {
        margin: 1cm;
    }

    body,
    page[size="A5"] {
        margin: 0;
        padding: 0;
        box-shadow: none;
        background-color: transparent;
    }

    tbody.sample-result {
        page-break-inside: avoid;
    }

    #footer {
        display: block;
        position: fixed;
        bottom: 0;
    }
}

#print_invoice_modal .table-inv th, .table-inv td {
    border: 1px solid black;
    border-collapse: collapse;
}

.bg-light{
    background: #e8e8e8 !important;
}

.border-0{
    border:none !important;
}
