@page {
    size: A4 portrait;
	margin: 0.75cm
}

.btn-check:active+.btn-outline-secondary, .btn-check:checked+.btn-outline-secondary, .btn-outline-secondary.active, .btn-outline-secondary.dropdown-toggle.show, .btn-outline-secondary:active { background-color:#bfb }
.btn-check:active+.btn-outline-warning, .btn-check:checked+.btn-outline-warning, .btn-outline-warning.active, .btn-outline-warning.dropdown-toggle.show, .btn-outline-warning:active { background-color: #fe4 }

.noprint { display:none }
LABEL.autoprint.btn:not(
	.btn-check:active+.btn-outline-secondary, .btn-check:checked+.btn-outline-secondary, .btn-outline-secondary.active, .btn-outline-secondary.dropdown-toggle.show, .btn-outline-secondary:active,
	.btn-check:active+.btn-outline-warning,   .btn-check:checked+.btn-outline-warning,   .btn-outline-warning.active,   .btn-outline-warning.dropdown-toggle.show,   .btn-outline-warning:active
	) { display: none }
INPUT.autoprint:not(:checked) { display: none }
.groupe-agence LABEL {
	position: absolute;
	top: -42px;
	height: 38px;
}
.print { display:revert }

.print-inline-flex { display: inline-flex }
.mt-1, .mt-2, .mt-3, .mt-4 { margin-top:4px!important }
.mb-1, .mb-2, .mb-3, .mb-4 { margin-bottom:4px!important }

LEGEND { border: none; box-shadow: none; background-color: transparent }

/* Masquer une colonne */
.row > .col-md-6.noprint { display: none!important }
/* élargir une colonne */
.row > .col-md-6.fullprint { width: 100%; flex: 0 0 100%; max-width: 100%; }

.row.breaks { display:block } /* pour casser le responsive et donc de permettre aux break de fonctionner sur les colonnes */

.break { page-break-before:always }
.break-after { page-break-after:always }


BODY, .container {
	max-width: none;
}
BODY {
	margin:0!important; padding:0!important;

	background-color:white;
	line-height: 1.2em;
	-webkit-print-page-setup: "duplex=long-edge";
	print-color-adjust: exact;
}
TR, IMG { page-break-inside: avoid }

/*.basPrint { position:fixed; bottom:0 }*/

.page { page-break-after:always; margin:0 }
.page ~ .page { border-top: none }
.pageBas { display:revert  }
.page, .A4 {  width:100% }

.bottom1	{ bottom:0 }
.bottom2	{ bottom:-100% }
.bottom3	{ bottom:-200% }
.bottom4	{ bottom:-300% }
.bottom5	{ bottom:-400% }
.bottom6	{ bottom:-500% }
.bottom7	{ bottom:-600% }
.bottom8	{ bottom:-700% }
.bottom9	{ bottom:-800% }
.bottom10	{ bottom:-900% }
.bottom11	{ bottom:-1000% }
.bottom12	{ bottom:-1100% }
.bottom13	{ bottom:-1200% }
.bottom14	{ bottom:-1300% }
.bottom15	{ bottom:-1400% }
.bottom16	{ bottom:-1500% }
.bottom17	{ bottom:-1600% }
.bottom18	{ bottom:-1700% }
.bottom19	{ bottom:-1800% }
.bottom20	{ bottom:-1900% }

.annexes TD { display:table-cell; margin:0 }
.annexe-txt1, .annexe-txt2 { display: block }
.annexe-txt1 {
	position: absolute; top: 230%; right:-5%;
	rotate: 90deg;
}
.annexe-txt1:nth-child(2) {
	position: absolute; top:250%; right:8%
}
.annexe-img1  {
	rotate: 90deg;
	width: 27cm!important;
	position: absolute; top: 230%; left:-30%;
}
.annexe-txt2 {
	position: absolute; top:365%; left:-6%;
	rotate: -90deg;
}
.annexe-txt2:nth-child(2) {
	position: absolute; top:325%; left:-1%
}
.annexe-img2 {
	rotate: -90deg;
	width: 27cm!important;
	position: absolute; top:325%; left: -10%;
}

/* pour l'impression bootstrap */

.col-md-6 {
	display: inline-block !important;
	float: none !important; /* On évite float pour plus de stabilité */
	width: 50% !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
	box-sizing: border-box !important; /* Assure que le padding est inclus dans la largeur */
	vertical-align: top !important; /* Alignement en haut pour éviter décalages */
}

.inventaire TABLE td:nth-child(3) { max-width: 250px }

/* éléments parasites */
#quick-start-container { display: none }
