/* PRINT */
@media print{
    *{
        outline: none;
    }

    @page spk{
        size: A4;
        margin: 2cm 0.5cm 1cm 0.5cm; 
    }
    
        

    @page {
        size: A4;
        margin: 0.5cm;
    }
    @import url("fonts/fontawesome/css/all.css");


    body{
        color: #000 !important;
        width: 100% !important;
        font-family: 'Bradley Hand ITC', Handlee !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
        /* font-size: 18px; */
        /* padding: 2.5mm !important	; */
    }
    a, p{ 
        color: #000 !important;
        font-family: inherit;
        font-size: inherit;
    }
    h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{
        font-family: inherit !important;
    }
    img{
        max-width: 100% !important;
        max-height: 100vh;
    }
    .header{
        display: none !important;
    }
    .printheader{
        display: block !important;
        width: 100%; 
        max-height: 3cm;
        background-color: #000; 
        margin-bottom: 0.5cm;
    }
    footer, .iv-fullscreen, .copyright-wrapper, .innerbanner , .header, #sidebar, .donotprint{
        display: none !important;
    }
    .printonly{
        display: block !important;
    }

    .content-area, .site-main{
        width: 100% !important;
    }
    .content-area{
        padding-top: 0 !important;
        padding-bottom: 5px;
    }
    
    .print_nobreak{
        break-inside: avoid-page;
    }

    .pagebreak_after{
        page-break-after: always;
    }
    .pagebreak_before{
        page-break-before: always;
    }
    
    .wp-block-column{
        break-inside: avoid-page;
        page-break-before: always !important;
    }
    a.disguised{
        color: #000 !important;
    }
    a.disguised:hover{
        color: #000 !important;
    }
    h1.page-title, h1.entry-title{
        font-size: 32pt;
    }

    /*Custom CSS*/
        /* Speisekarte */
	
	.spk_main{
/* 		font-weight: bold; */
	}
    .post-type-archive-speisekarte{
        page: spk;
    }
	.spk_details_container{
		font-weight: normal;
	}

    .spk_container, .spk_container .entry-title, .spk_container .entry-title a, .spk_container h3, .qrdesc{
        font-size: 14pt !important;
/*         font-weight: bold; */
    }
    .spk_details_container{
        font-size: 11pt !important;
    }
    .spk_details_container{ /*details beim drucken immer an*/
        display: block;
    }
    .spk_printtitle{
        font-size: 72pt !important;
        text-align: center;
        margin: auto;
        /* display: inline-block; */
        /* line-height: 50vh !important; */
    }
    div.spk_printtitle{
        margin-top: 20vh;
        page-break-after: always;
    }
    .spk_printtitle a{
        height: 0 !important;
        line-height: 0 !important;
        font-size: 0 !important;
        display: block;
    }
    h1.spk_printtitle{
        margin-bottom: 10px !important;
        padding-bottom: 0 !important;
    }

    .spk_printtitle::after{
        background-color: rgba(0, 0, 0, 0) !important;
    }
    .print_spk_margin{
        padding-left: 2.5cm !important;
        padding-right: 4cm !important;
    }
    .speise-post-repeat {
        padding-bottom: 4px !important;
    }
    .spk_kat_title h1, .spk_kat_title h2, .spk_kat_title h3, .spk_kat_title h4{
        padding-bottom: 0px;
        font-weight: bold !important;
    }
    .spk_kat_title h4.empty{
        font-size: 10pt;
        line-height: 1;
        
    }

    .spk_kat_title.spk_kat_title_0{
        font-size: 2em;
    }

    h3.preis_spk{
        font-size: 14pt;
		font-weight: normal;
    }

    div.spk_kat_desc{
        padding: 0 0 7px;
        font-size: 11pt;
    }

    .spk_kat_outer{
        padding-bottom: 6px;
    }

    .allergene{
        font-size: 9pt;
    }

    .print_footer{
        position: relative;
        width: 100%;
        text-align: center;
        margin-top: 1cm;
    }

    .print_footer .footer{
        position: absolute;
        width: 100%;
        text-align: center;
        bottom: 0;
        left: 0;
        margin-top: 2.5cm;
    }
    
        /* Wochenmenue */
    .wochenmenue-allergene{
        padding-bottom: 5px !important;
    }
    .wochenmenue-allergene{
        font-size: small !important;
    }
    .wochenmenue-preis{
        font-size: larger !important;
        padding-bottom: 0;
    }
    .wochenmenue-day{
        padding-top: 7px;
        padding-bottom: 3px !important;
        font-weight: normal;
        font-size: 18pt;
    }
    .wochenmenue-title{
        padding-top: 10px;
        padding-bottom: 5px;
        font-weight: normal;
    }
    .wochenmenue-text{
        font-size: 14pt;
    }
        /* genesis-blocks */
    .gb-block-post-grid, .gb-post-grid-item, .featuredpost{
        break-inside: avoid-page !important;
    }
        /*table-footer*/
    .table-footer div{
        padding: 0;
        display: table-cell;
    }
    div.table-footer{
        display: table;
        padding: 0;
        margin-top: 0;
        margin-bottom: 0;
        margin: auto;
        max-height: 100%;
        
    }
    .printfooter {
        display: block;
        position: absolute;
        bottom: 0px;
        width: 100%;
        text-align: center;
        max-height: 3cm;
        padding: 0;
        margin: 0;
        clear: both;
    }
    .footercell{
        font-family: inherit;
        vertical-align: middle; 
        height: 100%;
        font-size: 12pt;
        font-weight: 400;
        margin: 0px;
        padding: auto;
    }
}