.mainWrapper, .startDocWrapper, .endDocWrapper, .postEndDocWrapper, .imgCreditESO, .baseTable {
    width: unset !important;
    max-width: unset !important;
}

.baseTable {
    border: 0px !important;
}

@media print {
    @page {
        size: A4 landscape
    }

    .baseThead {
        display: none;
    }

    .preHeaderWrapper {
        display: none;
    }

    table {
        border: 0px !important;
        border-spacing: 0px !important;
    }

    html, body {
        border: 0px !important;
        margin: 0px !important;
        background-color: transparent !important;
    }

    .baseTable, .mainWrapper {
        border: 0px !important;
        margin: 0px !important;
    }

    .certificateWrapper {
        border: 0px !important;
        margin: 0px !important;
        height: 203mm !important;
    }
}

@font-face {
    font-family: 'kunstler';
    src: url('/assets/fonts/kunstler.ttf') format('truetype');
}

@font-face {
    font-family: 'georgia_italic';
    src: url('/assets/fonts/georgia_italic.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto-Bold';
    src: url('/assets/fonts/Roboto-Bold.ttf') format('truetype');
}

.logoWrapper {
    position: relative;
    width: 160mm;
    height: 30mm;
    margin-left: auto;
    margin-right: auto;
    top: 15mm;
    border: 0px solid red;
}

.logoImg {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 160mm;
    height: 25mm;
}

.studentWrapper {
    font-family: kunstler;
    margin-top: 66mm;
    font-size: 65pt;
    text-transform: capitalize;
}

.descriptionWrapper {
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    margin-top: 12mm;
    font-family: georgia_italic;
    font-size: 10pt;
    text-align: center;
    max-height: 90px;
    overflow: hidden;
    text-wrap: wrap;
    text-overflow: ellipsis;
}

.courseInfoWrapper {
    font-family: Georgia;
    font-size: 16pt;
    margin-top: 5mm;
    margin-left: auto;
    margin-right: auto;
    width: 75% !important;
    line-height: 28px;
}

.doubleSignatureDiv_Left {
    border: 0px solid red;
    position: absolute;
    /*bottom: 22mm;*/
    top: 178mm;
    width: 60mm;
    left: 61mm;
    text-align: center;
    font-family: Roboto-Bold;
    font-size: 12px;
    text-transform: uppercase;
}

.doubleSignatureDiv_Right {
    position: absolute;
    bottom: 40px;
    right: 20px;
    width: 210mm;
}

.leftSign {
    width: 50%;
    float: left;
}

.rightSign {
    position: absolute;
    width: 50%;
}

.dateWrapper {
    position: absolute;
    /*bottom: 12.5mm;*/
    top: 192.6mm;
    width: 60mm;
    left: 63mm;
    font-family: Roboto-Bold;
    font-size: 12px;
    text-transform: uppercase;
}

body {
    color: black;
    background-color: #f1f1f2;
}

.certificateWrapper {
    border: 0px solid blue;
    width: 297mm;
    height: 210mm;
    position: relative;
    margin: 10mm;
    page-break-after: always;
}

    .certificateWrapper:last-child {
    }

.certificateWrapperBack {
    z-index: 100;
}

.companyWrapper {
    width: 160mm;
    margin-top: 5mm;
    margin-left: auto;
    margin-right: auto;
}

    .companyWrapper div {
        text-transform: uppercase;
        font-size: 1.3em;
    }

    .companyWrapper p {
        font-size: 0.9em;
    }

.logoImg {
    /*width: 20mm;*/
    /*position: absolute;*/
    /*float: right;*/
    /*margin-top: 10mm;
        max-width: 45mm;*/
}

.middleWrapper {
    margin-top: 30mm;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    width: 210mm;
}

    .middleWrapper .h1 {
        text-transform: uppercase;
        font-size: 3em;
    }

    .middleWrapper .h2 {
        text-transform: uppercase;
        font-size: 2em;
    }

    .middleWrapper p {
        font-size: 1.5em;
    }

.completionText {
    font-size: 25px;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    line-height: 35px;
}

.trainingDescription {
    font-size: 15px !important;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
}

.doubleSignatureDiv {
    position: absolute;
    /*bottom: 85px;*/
    bottom: 40px;
    right: 20px;
    width: 210mm;
}

.docnumber {
    margin-top: 4px;
}

.topBackWrapper {
    position: absolute;
    margin-left: 30mm;
    width: 80%;
    margin-top: 14mm;
    font-family: georgia_italic;
    font-size: 10pt;
    text-align: center;
    height: 180mm;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.leftBackWrapper {
    width: 55%;
    font-family: georgia_italic;
    font-size: 10pt;
    text-align: center;
    float: left;
    height: max-content;
}

.rightBackWrapper {
    flex: 0 0 42%;
    font-family: georgia_italic;
    text-align: center;
    overflow: hidden;
}

.instructorsInfoContainer {
    display: flex;
    position: absolute;
    width: calc(100% - 4mm);
    bottom: 0;
    left: 4mm;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    transform: translateY(110%);
}

.topBackWrapperContent {
    margin-left: 15px;
    text-align: justify;
    overflow: hidden;
    min-height: 350px;
}

.topBackWrapperContentColumns {
    
    column-gap: 16px;
}

.teacherWrapperContent {
    margin-top: 10px;
    margin-left: 15px;
    text-align: justify;
    column-gap: 16px;
}

.teacherItem {
    margin-bottom: 10px;
    page-break-inside: avoid;
}

.obsWrapperContent {
    margin-top: 10px;
    margin-left: 15px;
    text-align: justify;
}

.teachersFullContainer {
    width: calc(100% - 4mm);
    left: 4mm;
    bottom: 0px;
    text-align: center;
    min-height: 195px;
    display: flex;
    flex-direction: row;
}

.configOptions {
    height: 31px;
}

select.configOptions {
    padding-left: 5px;
}

@media print {
    .certificateWrapper {
        margin-top: 0px;
    }
    /*.certificateWrapper {
            border: 0px;
        }*/
}
