﻿/****************************************************/
/*    Druck CSS-Datei für das Projekt               */
/*                 TMS-Workflow                     */
/****************************************************/

#header, #menu, #footer, .menu, .logo, .head, .footleft, .footcenter, .footright, input.submit, input.submitused, input.submitpage  /* PVB: Ich denke, da fehlt ein Punkt! --> geändert in Vorschlag am 16.12.2019*/ 
{
/*	position:absolute;
	top: 0px;
	left: 0px;
	width: 0px;
	height: 0px;
	visibility: hidden;  PVB: stattdessen dispaly none (blendet leere Seiten komplett aus der druckansicht aus) */
	display: none !important;
}

#content
{
	position:relative;
	top: 0px;
	left: 0px;
	z-index: 1;
	color : black;
	overflow: visible !important;
	display: block;
	background-color : white;
	/*font-size : 80%;*/
	width: 95%;
	height: 100%;
	text-align: left; /* PVB: warum stand das auf center ?!? */
	font-family : verdana, arial, "adobe helvetica", helvetica, sans-serif; /*PVB: "adobe helvetica" wäre hier richtig, denke ich --> geändert in Vorschlag am 16.12.2019*/
	font-size : 11pt;
	break-before: auto;
	break-inside: auto;
	break-after: auto;

}

body {
	display: block !important;
    float: inline-start !important;
	overflow: visible;
	background-color: white;
}

* html #contentmain
{
	width: 95%;
	break-before: inherit;
	break-inside: inherit;
	break-after: inherit;
}

*+html td, th
{
	font-size:130%;
}

.div /*PVB: 11.04.2023 PUNKT div !!!*/
{
	break-before: inherit;
	break-inside: inherit;
	break-after: inherit;
	display: block !important;
    float: inline-start !important;
}

td, th
{
	font-size : 65%;
	break-before: inherit;
	break-inside: inherit;
	break-after: inherit;
	/*border-collapse: collapse;*/
}

.tabelleninhaltborderleft, .tabelleninhaltborderleftnowrap
{
	font-size : 75%;
	text-align: left;
}

.belege
{
	width: 95%;
	/*height: 500px;     WARUM stand das auf 500px ?!?*/
	break-before: inherit;
	break-inside: inherit;
	break-after: inherit;
}

.topmenu, .logout-hint{
/*	top: 0px;
	left: 0px;
	width: 0px;
	height: 0px;
    position: relative !important;
	visibility: hidden;  PVB: stattdessen dispaly none (blendet leere Seiten komplett aus der druckansicht aus) */
	display: none !important;
}

.pg-content {
    padding: 0px 0;
	top: 0 !important;
	margin-bottom: 0;
	margin-top: 0;
	margin-left: 0;
	margin-right: 0;
	box-shadow: none !important; /*PVB: 12.04.2023 nicht drucken...*/
	display:contents;
}

input, select, textarea, text {
	background-color: white;
}


/*PVB: 11.04.2023 Umbruch in Browsern anpassen bei Druck*/
@media print {
	.col-12, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        float: left;
	}

	.row, .row-input, .h2 {
		break-before: inherit;
		break-inside: avoid;
		break-after: inherit;} 
	
	.col-12 {
		flex: 0 0 100%;
		max-width: 100%; } 
	
	.col-md-1 {
		flex: 0 0 8.33333%;
		max-width: 8.33333%; } 
	
	.col-md-2 {
		flex: 0 0 16.66667%;
		max-width: 16.66667%; } 
	
	.col-md-3 {
		flex: 0 0 25%;
		max-width: 25%; } 
	
	.col-md-4 {
		flex: 0 0 33.33333%;
		max-width: 33.33333%; } 
	
	.col-md-5 {
		flex: 0 0 41.66667%;
		max-width: 41.66667%; } 
	
	.col-md-6 {
		flex: 0 0 50%;
		max-width: 50%; } 
	
	.col-md-7 {
		flex: 0 0 58.33333%;
		max-width: 58.33333%; } 
	
	.col-md-8 {
		flex: 0 0 66.66667%;
		max-width: 66.66667%; } 
	
	.col-md-9 {
		flex: 0 0 75%;
		max-width: 75%; } 
	
	.col-md-10 {
		flex: 0 0 83.33333%;
		max-width: 83.33333%; } 
	
	.col-md-11 {
		flex: 0 0 91.66667%;
		max-width: 91.66667%; } 
	
	.col-md-12 {
		flex: 0 0 100%;
		max-width: 100%; } 
	
	#Aktion, .normalmain, .normal, .no-print, .logout-hint{ /*PVB: 12.04.2023 "Buttons unten" nicht drucken, no-prin erstellt, logout-hinweise nicht drucken*/
		display: none !important; }
	
	html, body { /*PVB: leere Seite nach Druck verhindern*/
		height: 99%; }

	#contentmain { /*PVB: leere Seite vor Druck verhindern*/
		margin-top: 0px !important; }
}

