#ScanInvoicesCanvasDiv {
    text-align: left;
}

.col-xxl-2 {
    width: auto;
}

.ScanInvoicesWaitModal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.8) url("../img/loading.gif") 50% 50% no-repeat;
}

body.loading .ScanInvoicesWaitModal {
    overflow: hidden;
    display: block;
}

/* override bootstrap button to apply user dolibarr colors ? */
/* --colorbackhmenu1 not defined on "old" versions of dolibarr -> keep idea for later */
/* .btn-primary {
    background-color: var(--colorbackhmenu1);
    border-color: var(--colorbackhmenu1);
}

.btn-primary:disabled {
    background-color: var(--colorbackhmenu1);
    border-color: var(--colorbackhmenu1);
}

.btn-primary:active {
    background-color: var(--colorbackhmenu1);
    border-color: var(--colorbackhmenu1);
}

.btn-primary:hover {
    background-color: var(--colorbackhmenu1);
    border-color: var(--colorbackhmenu1);
    box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.3);
}

.btn-primary:focus {
    background-color: var(--colorbackhmenu1);
    border-color: var(--colorbackhmenu1);
    box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.3);
} */

.ScanInvoicesSection {
    /* height: 100%; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ScanInvoicesForm-label-group {
    position: relative;
    margin-bottom: 0.2rem;
}

.ScanInvoicesForm-label-group > input {
    padding-top: 1.2rem;
    border-color: black;
}

.ScanInvoicesForm-label-group > select {
    padding-top: 1.2rem;
    border-color: black;
}

.ScanInvoicesForm-label-group > label {
    padding: var(--input-padding-y) var(--input-padding-x);
}

.ScanInvoicesForm-label-group.form-control {
    padding-top: 1.2rem;
    border-color: black;
}

.ScanInvoicesForm-label-group > label {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    margin-bottom: 0;
    /* Override default `<label>` margin */
    line-height: 1.5;
    color: #495057;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    transition: all 0.1s ease-in-out;
}

.ScanInvoicesForm-label-group > input::-webkit-input-placeholder {
    color: transparent;
}

.ScanInvoicesForm-label-group > input:-ms-input-placeholder {
    color: transparent;
}

.ScanInvoicesForm-label-group > input::-ms-input-placeholder {
    color: transparent;
}

.ScanInvoicesForm-label-group > input::-moz-placeholder {
    color: transparent;
}

.ScanInvoicesForm-label-group > input::placeholder {
    color: transparent;
}

.ScanInvoicesForm-label-group > input:not(:placeholder-shown) {
    padding-bottom: calc(var(--input-padding-y) / 3);
}

.ScanInvoicesForm-label-group > input:not(:placeholder-shown) ~ label {
    padding-top: calc(var(--input-padding-y) / 3);
    padding-bottom: calc(var(--input-padding-y) / 3);
    font-size: 12px;
}

#ScanInvoicesMenuGauche {
    z-index: 10;
}

#ScanInvoicesLeCanvas {
    position: fixed;
    z-index: 3;
}
#ScanInvoicesLeCanvasBackground {
    position: fixed;
    z-index: 2;
}

#ScanInvoicesMydrop {
    min-height: 40px;
    padding: 2em;
    border: 1px solid #888;
    background: #eee;
    cursor: pointer;
    text-align: center;
}

#ScanInvoicesMydrop.dragover {
    box-shadow: #00f 0px 0px 8px 2px;
}

#ScanInvoicesMydropLater {
    margin-top: 1em;
    min-height: 40px;
    padding: 2em;
    border: 1px solid #888;
    background: #eee;
    cursor: pointer;
    text-align: center;
}

#ScanInvoicesMydropLater.dragover {
    box-shadow: #00f 0px 0px 8px 2px;
}

.ScanInvoicesStyled-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.ScanInvoicesStyled-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
}

.ScanInvoicesStyled-table th,
.ScanInvoicesStyled-table td {
    padding: 12px 15px;
}

.ScanInvoicesStyled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.ScanInvoicesStyled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.ScanInvoicesStyled-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.ScanInvoicesStyled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}

.ScanInvoicesStyled-select .select2-container{
	width: 100%!important;
	max-width: 250px;
}

.ScanInvoicesSection input[type="file"] {
	display: none;
}

@media screen and (max-width: 1100px) {
	.float-start {
		float: none;
	}
	.ScanInvoicesSection {
		/* height: 100%; */
		/* display: flex; */
		/* flex-direction: column; */
		align-items: center;
	}	
	#ScanInvoicesLeCanvas {
		position: absolute;
		z-index: 3;
	}
	#ScanInvoicesLeCanvasBackground {
		position: absolute;
		z-index: 2;
	}
}
