#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 2;
  cursor: pointer;
}

#overlay-container {
  position: fixed;
  top: 55%;
  left:50%;
  transform: translate(-50%,-50%);
}

#overlay-menu {
    position: fixed;
    left: 50%;
    top: 19%;
    transform: translate(-50%, -50%);
    z-index: 1;
	min-width: 40%
}

#preview{
	transform: scale(0.55);
	background : #fff;
	padding:20px;
	
}

#Progress {
  position: relative;
  width: 100%;
  height: 30px;
  background-color: #ddd;
  border-radius: 10px;
}

#pBar {
  position: absolute;
  width: 1%;
  height: 100%;
  background-color: #02528b;
  border-radius: 10px;
}

#label {
  text-align: center;
  line-height: 30px;
  color: #fff !important;
}


.bloc-debiteur{
	margin-top:160px;
	margin-left: 40px;
}

table.invoice-details{
	margin: 0 0 0.8em;
}

.invoice-amount-lbl, .invoice-amount-amt {
	display : inline-flex;
	vertical-align:top;
}

.invoice-amount-lbl{
	width: 75%;
}

.invoice-amount-amt {
	width: 25%;
}

.select-total{
	width:unset !important;
}

.branding {
	margin: 0px; 
	font-style: italic; 
	font-size:0.85em;
	text-align:center;
}

.paymntarea-frame {
	position: relative;
    left: 50%;
    transform: translate(-50%);
}

.paymntarea {
	background: #eaecf1;
	min-width: 688px;

}



td.invoice-sub-total {
	font-weight:bold !important; 
	text-align:right;
}
		
td.invoice-sub-total-lbl {
	font-weight:bold; 
}

p.myqr-add{
	margin: 0px;
	padding: 0px;
}

.custom-error {
	font-size: small;
}

.custom-error:before {
	content: "* ";
	color : red;
	font-size: initial;
	font-weight:700;
}

.field-error {
    border: 2px solid red !important;
}

.in-100, .in-txt, .in-txt-det, .in-amt, .in-amt-tot {
	width: 100%;
}

.in-75 {
	width: 75%;
}

.in-25 {
	width:25%;
}

.in-txt, .in-txt-det {
	height: unset !important;
	resize: none !important;
}

.in-txt-det{
	overflow: hidden !important;
}

.in-amt, .in-amt-tot {
	text-align: right !important;
}
.in-amt-tot{
	font-weight: bold;
}



@media only screen and (max-width: 1200px){
	.paymntarea-frame {
		display: inline-block;
	}
	.paymntarea{
		transform: scale(0.95);
	}
	#preview {
		transform: scale(0.45) !important;
	}
	
	#overlay-menu {
		top: 19%;
	}
}

@media only screen and (max-width: 767px){
	.paymntarea{
		transform: scale(0.85);
	}

}

@media only screen and (max-width: 640px){
	.paymntarea{
		transform: scale(0.75);
	}
	
}

@media only screen and (max-width: 580px){
	.paymntarea{
		transform: scale(0.65);
	}
	.bloc-debiteur{
		margin-top:20px;
		margin-left: 0px;
	}
	
	.invoice-amount-lbl{
		width: 100%;
	}

	.invoice-amount-amt {
		width: 100%;
		margin-top:20px;
	}

}
 @media only screen and (max-width: 500px){
	.paymntarea{
		transform: scale(0.5);
		
	}
} 

@media only screen and (max-width: 400px){
	.paymntarea{
		transform: scale(0.4)!important;
	}
	
}

@media only screen and (max-width: 330px){
	.paymntarea{
		transform: scale(0.3) !important;
	}
	
}

@media only screen and (max-width: 500px), only screen and (max-height: 800px){
		
	#preview {
		transform: scale(0.40)!important;
	}
	#overlay-menu {
		top: 25% !important;
	}
	
} 

@media only screen and (max-width: 400px) , only screen and (max-height: 600px){
	
	#preview {
		transform: scale(0.35)!important;
	}
	
	#overlay-menu {
		top: 29% !important;
	}
}

@media only screen and (max-width: 330px) , only screen and (max-height: 500px){
	
	#preview {
		transform: scale(0.25) !important;
	}
	#overlay-menu {
		top: 34% !important;
	}
}



.debug, .format-input{
	display:none;
}

body{
	color:#000000 !important;
}

div {
	color:#000000 !important;
}
	
	/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
	
	.champdeb{
		margin-bottom: 5px;
	}
	
	.tabledate{
		max-width: 50%;
	}
	
	.tabledate-left{
		width: 50%;
		display: inline-block;
		float: left;
		text-align: left;
	}
	
	.tabledate-right{
		width: 50%;
		display: inline-block;
		float: right;
		text-align:right;
	}
	
	.lbl-champdate{
		display: inline-block;
		min-width: 110px;
	}
	
	.champdate{
		display: inline-block;
	}
	
	
	.cmd-form{
		margin: 10px !important;
		text-decoration: none !important;
		color:#fff !important;
		width: unset !important;
	}
	
	.form-empty {
		background-color: #d50f00 !important;
	}
	
	.form-empty:hover {
		background-color: darkred !important;
	}
	
	.print_invoice{
		box-shadow: 0 4px 5px rgba(75, 75, 75, 0.8);
		border: solid #EFEFEF 1px;
		padding:30px;
	}
	
	
	.bv-scissors{
		height:15px;
		transform:translate(30px,13px)	
	}
	
	.QRControls{
		width: 100%;
		display:block;
		padding:8px;
	}
	
	.QRCtrlSize,
	.QRCtrlRef,
	.QRCtrlQA{
		display:inline-block;
		padding: 4px 2px 4px 2px;
		margin-right:12px;
	}
  
	.tr-bv {
		vertical-align:top;
		border: none !important;
	}
	
	.colrec {
		width:30%;
	}
	
	.colmid {
		width:25%;
	}
	
	.colpmt{
		max-width:45%;
	}
	
	.ligrec{
		height:250px;
	}
		
	.ligmnt{
		height:52px;
	}
	
	.ligdep{
		height:30px;
	}
	
	.liginf{
		height:56px;
	}
	
	.btop{
		border-top: solid 1px;
		
	}
		
	.bright{
		border-right: solid 1px;
	}
		
	.pleft{
		padding-left:15px;
	}
	
	.ptop{
		padding-top:15px;
	}
	
	.pright{
		padding-right:15px;
	}
	
	.pbot{
		padding-bottom:15px;
	}
		
	table.bv-main{
		height:395px;
		margin-bottom:0px;
	}
	
	.bv-qrcode{
		margin: 12px
	}
	
	.qr-contener-img {
		position: relative;
		height: 210px;
		width:210px;
	}
	
	.bv-titre, 
	.bvpmt-titre,
	.bvrec-titre, 
	.bvpmt-data, 
	.bvrec-data {
	font-family: Arial, Helvetica;
	color:#000 !important;
	}
	
	.bv-titre,
	.bvpmt-titre,
	.bvrec-titre {
		font-weight: bold;
	}
	
	.bv-titre {
		height:26px;
		font-size: 120%;
	}
	
	.bvpmt-titre,
	.bvrec-data {
		font-size: 80%;
	}
	
	.bvpmt-data {
		font-size: 100%;
	}
	
	.bvrec-titre {
		font-size: 70%;
	}
	
	.bv-amt{
		margin-left: auto;
		margin-right: auto;
		display: inline-block;
		width:50%;
	}
	
	.right{
		float:right;
	}
	
	
	@media print{
	
		@page{ 
			size: auto; 
			margin: 3mm;  
		} 

		body{ 
			margin: 0px;  
		} 
		
		.paymntarea-frame{
			position: unset !important;
			display: inline-block;
			left: 0 !important;
			transform:unset !important;
			}
		
		.print_invoice{
			box-shadow: none;
			border: none;
			padding:0px;
		}
		
		.champdeb{
			margin-bottom: 0px;
		}
		
		.bloc-debiteur{
			margin-top:160px;
			margin-left: 20px;
		}
		
		.bv-scissors{
			transform:translate(12px,7px) !important;	
		}
	
		table.bv-main{
			width:210mm;
			height:105mm !important;
		}
		
		
		.qr-contener-img {
			height: 56mm !important;
			width:56mm !important;
		}
	
		.colrec {
			width:62mm !important;
		}
		
		.colmid {
			width:56mm !important;
		}
		
		.colpmt{
			max-width:92mm !important;
		}
		
		.ligrec{
			height:68mm !important;
		}
		
		.ligmnt{
			height:14mm !important;
		}
		
		.ligdep{
			height:8mm !important;
		}
		
		.liginf{
			height:15mm !important;
		}
								
		.pleft{
			padding-left:5mm !important;
		}
		
		.ptop{
			padding-top:5mm !important;
		}
		
		.pright{
			padding-right:5mm !important;
		}
		
		.pbot{
			padding-bottom:5mm !important;
		}
		
		.bv-qrcode{
			margin:5mm !important;
		}
		
		.bv-titre {
			height:7mm !important;
			font-size: 11pt;
		}
		
		.bvpmt-titre,
		.bvrec-data {
			
			font-size: 8pt;
		}
		
		.bvpmt-data {
			
			font-size: 10pt;
		}
		
		.bvrec-titre {
			
			font-size: 6pt;
		}	
	
	}