@page {
    margin-top: 30mm;
}

body {
    font-size: 10px;
    font-family: "DejaVu Sans", serif;
    padding-left: 30px;
    padding-right: 30px;
    position: relative;
}

.header {
    position: fixed;
    top: -25mm;
    right: 0px;
    height: 80px;
    text-align: right;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
}
.footer .page-number:after {
    content: counter(page);
}

table {
    font-family: "DejaVu Sans", serif;
    font-size: 10px;
    border-collapse: collapse;
}

table.set-border tr th,
table.set-border tr td {
    border-bottom: 1px solid #676768;
    padding: 7px 10px;
}
.margin-top-10 {
    margin-top: 10px;
}
.margin-top-30 {
    margin-top: 30px;
}

.pdf-header {
    position: relative;
    top: -60px;
    left: 0;
    right: 0;
    height: 50px;
}
.pdf-footer {
    position: absolute;
    bottom: -35px;
    left: 0;
    right: 0;
}

.coll-6 {
    position: absolute;
    left: 0;
    width: 210pt;
    color: #084869;
    font-family: "Merriweather Sans", sans-serif;
}
.colr-6 {
    margin-left: 250pt;
    color: #084869;
    font-family: "Merriweather Sans", sans-serif;
}

.row {
    display: inline-block;
    position: relative;
}
.fs-22b {
    font-size: 22px;
    font-weight: bold;
}
.fs-14 {
    font-size: 14px;
    color: #084869;
    font-family: "Merriweather Sans", sans-serif;
}
.fs-12 {
    font-size: 12px;
}
.fs-11 {
    font-size: 11px;
    color: #084869;
    font-family: "Merriweather Sans", sans-serif;
}

.fs-9 {
    font-size: 9px;
    font-family: "Merriweather Sans", sans-serif;
}

.responsible-person-table td {
    text-align: center;
}

.pdf-totals tbody {
    border-bottom: 3px solid #51abc2;
}

.pdf-totals tbody tr td:nth-child(2) {
    text-align: right;
    padding-right: 7%;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.table {
    width: 100%;
}

.table th {
    color: black;
    border-bottom: 2px solid black;
    border-top: 1px solid black;
    font-family: "DejaVu Sans", serif;
}

.table tr {
    min-height: 35px !important;
}
.table td {
    color: black;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.pdf-table th {
    color: #084869;
    border-bottom: 2px solid #51abc2;
    border-top: 1px solid #51abc2;
    font-family: "DejaVu Sans", serif;
}

.pdf-table td {
    color: #084869;
    border-bottom: 1px solid rgba(81, 171, 194, 0.5);
}

.bc-teal {
    color: #084869;
    padding-left: 4%;
    width: 100%;
    background-color: white;
}

#content {
    position: relative;
    width: 280px;
    height: 100px;
    padding: 15px;
    font-size: 15px;
}
#content:before,
#content:after,
#content > :first-child:before,
#content > :first-child:after {
    position: absolute;
    width: 30px;
    height: 30px;
    border-width: 3px;
    border-color: #51abc2;
    border-style: solid;
    content: " ";
}
#content:before {
    top: 0;
    left: 0;
    border-width: 3px 0 0 3px;
}
#content:after {
    top: 0;
    left: 280px;
    border-width: 3px 3px 0 0;
}
#content > :first-child:before {
    top: 105px;
    left: 280px;
    border-width: 0 3px 3px 0;
}
#content > :first-child:after {
    top: 105px;
    left: 0;
    border-width: 0 0 3px 3px;
}

.wrap {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

.inline {
    display: inline-block;
}
.topcorner {
    position: absolute;
    top: 0;
    right: 0;
}
.table-bordered {
    width: 100%;
    border-collapse: collapse;
}

.table-bordered td {
    border: 1px solid black;
    min-height: 50px;
    height: 50px;
    vertical-align: bottom;
    text-align: center;
    width: calc(100% / 3); /* Assuming 3 columns in the table */
    padding-bottom: 8px;
}
.pagenum {
    right: 0;
    float: right;
}
.pagenum:before {
    content: "Stranica " counter(page);
}

.note {
    clear: both;
    position: relative;
    margin-top:-30px
}

.note textarea{
    height: 80px;
}

 table.workorder-info {
     width: 167mm;
     table-layout: fixed;
 }

table.workorder-info td {
    vertical-align: top;
    word-wrap: break-word;
    white-space: normal;
}

.fault-text {
    white-space: normal;
    word-wrap: break-word;
}
