﻿.a4page {
    width: 297mm;
    min-height: 210mm;
    box-sizing: border-box;
    padding: 15mm 10mm;
    background: white;
    margin: 0 auto;
    overflow: hidden;
    break-inside: avoid;
    /*page-break-inside: avoid;*/
}

.page-break {
    break-before: page;
    page-break-before: always;
    display: block;
    height: 0;
    content: "";
}

.a4page-logo {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    background-color: #fff807 !important;
    margin-bottom: 20px;
}

.a4page-logo-black {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    background-color: black !important;
    margin-bottom: 20px;
}

.a4page-logo .page-logo img {
    height: 60px;
}

.a4page-logo .depa-grp-log img {
    height: 70px;
}

.a4page-logo-black .page-logo img {
    height: 60px;
}

.a4page-logo-black .depa-grp-log img {
    height: 70px;
}

.a4page .header {
    text-align: center;
    margin-bottom: 20px;
    page-break-inside: avoid;
}

.a4page .form-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 5px;
}

.a4page table {
    width: 100%;
    border-collapse: collapse;
    font-size: 18px;
}

.a4page th, .a4page td {
    border: 1px solid #000;
    padding: 4px 6px;
}

.a4page th {
    background: #f5f5f5;
    font-weight: bold;
    text-align: center;
}

.a4page tr {
    font-size: 14px;
    line-height: 25px;
}

.a4page td:nth-child(1),
.a4page td:nth-child(4),
.a4page td:nth-child(5) {
    text-align: center;
}

.training-img-container {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: space-between;
}

.training-img-item {
    flex: 1;
    border: 2px solid black;
    margin-bottom: 10px;
    height: 250px;
}

.training-img-caption {
    text-align: center;
    font-weight: 600;
    padding: 5px;
    background-color: black;
    color: white;
}

@media print {
    @page {
        size: landscape;
        margin: 10mm;
    }

    body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .page-break {
        break-before: page;
        /*page-break-before: always;*/
    }

    table, tr, td, th {
        page-break-inside: avoid !important;
    }
}
