@media print {
    form.xm-loading .loading{
        display:none !important;
    }

    .CXFooter{
        display:none !important;
    }

    html{
        height: 100% !important;
    }    
    body, html{
        margin:0 !important;
        padding:0 !important;
    }
    FORM.xm-form * {
        color: #000000;
        font-size: 16px;
        font-family: Arial,Helvetica,sans-serif;
    }
    [cn="XPage"]{
        /* page-break-before: avoid !important; */
        page-break-before: auto !important;

    }
    .XPage H1, .XPage .h1 {
        color: #000000;
        font-family: Arial,Helvetica,sans-serif;
        font-size: 26px;
        font-weight: bold;
        line-height: 100%;
    }

.XPage .thin-title-h1 h1, .XPage .thin-title-h1 .h1 {
        color: #000000;
        font-family: Arial,Helvetica,sans-serif;
        font-size: 26px;
        font-weight: normal;
        line-height: 100%;
    }
    
    .XPage H2, .XPage .h2 {
        color: #000000;
        font-family: Arial,Helvetica,sans-serif;
        font-size: 22px;
        font-weight: bold;
    }
    
.XPage .thick-title-h2 h2, .XPage .thick-title-h2 .h2 {
        color: #000000 !important;
        font-family: Arial,Helvetica,sans-serif;
        font-size: 22px;
        font-weight: bold;
    }
    
    .XPage H3, .XPage .h3 {
        color: #000000;
        font-family: Arial,Helvetica,sans-serif;
        font-size: 20px;
        font-weight: bold;
    }
    .XPage H4, .XPage .h4 {
        color: #000000;
        font-family: Arial,Helvetica,sans-serif;
        font-size: 18px;
        font-weight: bold;
    }
    .XPage LEGEND {
        color: #000000;
        font-family: Arial,Helvetica,sans-serif;
        font-size: 22px;
    }
    .XPage LEGEND {
        padding-left:10px;
        background-color:#ffffff;
    }
    .body, .XPage {
        background-color: #FFFFFF;
    }
    .XPage {
        /* border-top: 3px solid #888888; */
        border-top: 3px solid #000;
        padding-bottom: 15px !important;
    }

    .xm-content .xm-item-div:first-child .XPage {
        border-top: medium none;
    }
    .xm-auto-buttons, .xm-form-footer, .xm-logo{
        display:none !important;
    }
    .xm-item-div[cn="XPage"]{
        background-image:none;
        padding:0;
    }
    .xm-item-div[cn=XPage]::before{
        display:none;
    }
    .xm-item-div[cn=XPage]:first-child::before{
        display:block;        
    }
    .xm-item-div[cn=XPage][disabledpage=true]{
        display: none !important;
    }
    .xm-item-div[cn=XCheckbox] {
        /* display: inline-table !important; */
        display: inline-table;
    }
    .xm-item-div label {
        font-size: 14px;
        font-weight: bold important!;
    }
    .XPage LABEL, .XPage .label{
        font-weight: bold !important;
    }
    /*.XItem {
        page-break-inside: avoid;
    }*/
    .phantomFooter {
        font-size: 9px !important;
    }
    .XSpan.print, DIV {
        background-color: transparent !important;
    }
    .XSpan.print{
        /* border: 1px solid #333333 !important; */
        min-height:25px;
        padding-top: 2px;
        padding-left:2px;
        background-color: #efefef !important;
    }
    .XSelect [type=checkbox], .label-right .XCheckbox {
        margin: 2px 15px 0 0;
    }
    .XSelect [type=radio] {
        margin: 0 20px 0 0;
    }
    .XCheckbox .label-left {
        margin: 2px 0 0 5px;
    }
    .xm-item-div.xm-auto-buttons{
        display:none;
    }
    .XPage[ptype=EXIT], [noprint], [noprint] + .XSpan.print{
        display:none !important;
    }
    .required-star {
        color: #000 !important;
    }
    .XItem .XLine {
        height: 1px !important;
        min-height: 1px !important;
        border-width: 0;
        color: grey;
        background-color: grey;
    }
    
    .XItem .XLine, .xitem hr.xline {
        min-height:1px !important;
        color: #888888 !important;
        height: 1px !important;
    }
    
    .CXPage .header, .CXPage .footer {
        background-color: transparent;
        padding: 0;
    }
    
    
    .send-infobox, .note-infobox, .no-print{
        display:none !important;
    }
       
    
    /* keeps together the individual divs */
    /* .xm-item-div {
        page-break-inside: avoid
    }
    */
    
    /* remove arrow from filename of upload-field */    
    .img-uploaded-preview .XSpan.print {
        font-size: 0px;
    }
}
/*Neu 15.12.2021: Anpassung an neuen Printservice*/
.xm-item-div input[type=checkbox]+.label-icon-checkbox:before {
    font-family: FontAwesomeCB;
    display: inline-block;
    vertical-align: middle;
    content: "\f096";
    font-size: 18px;
    font-weight: normal;
    width: 30px;
    margin-top: -2px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    color: #525252;
}
.xm-item-div input[type=checkbox]:checked+.label-icon-checkbox:before {
    content: "\f046";   
}