/* ---------------------------------------- */
/* ---------- Toast bootstrap ------------- */
.toast.toast-bs {
	position: relative;
	overflow: hidden;
	box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
}
.toast.toast-bs .toast-body {
	font-size: 10px;
}

.toast-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.toast .progress-bar-toast {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 3px;
	width: 100%;
	--animation-duration: 3000ms;
}

.toast .progress-bar-toast:before {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	height: 100%;
	width: 100%;
	background-color: white;
}

.progress-bar-toast:before {
	animation: progress var(--animation-duration) linear forwards;
}

@keyframes progress {
	100% {
		right: 100%;
	}
}

.pagination-buttons-container .page-item.active .page-link {
	background-color: var(--bs-primary);
	border-color: var(--bs-primary);
}

.pagination-buttons-container .page-item:not(.active) .page-link {
	color: var(--bs-primary);
}

/* ---------------------------------------------- */
/* ----------------- Action bar ----------------- */
#action-top {
	margin-bottom: 0px;
}

.actions-block{
	overflow: visible;
	margin-bottom: 5px;
	padding: 5px 0px;
	color: #a6a7aa;
	display: flex;
	justify-content: space-between;
}

.action-sep{
	display: inline-block;
	width: 1px;
	margin: 0 15px;
	padding: 7px 0;
	background-color: #949494;
	vertical-align: top;
}


.actions-block .actions-block-buttons{
	display: inline-block;
}
.actions-block .infos-checkbox-selected{
	display: inline-block;
}
.actions-block .infos-checkox-selected-nb{
	display: inline-block;
	padding: 7px 0;
	color: black;
}

.actions-block .btn{
	margin-right: 15px;
	font-size: 12px;
}

.actions-block .dataTables_paginate{
	margin-left: 5px;
}

.img_lot{
	margin-right:5px;
	cursor:pointer;
}

#div_limit{
	margin-right:20px;
	padding-top:6px;
	float:right;
}


/* ---------------------------------------------- */
/* ----------------- Datatables ----------------- */

.fixedHeader-floating .checkbox-replace .cb-wrapper{
	padding-left: 0;
	transition: none;
}
.dataTables_wrapper .dataTables_buttons{
	display: inline-block;
}
.dataTables_wrapper .dataTables_actions{
	display: flex;
}
.dataTables_wrapper .dataTables_info.dataTables_info{
	float: none;
	display: inline-block;
	margin-right: 15px;
	padding: 0;
	height: auto;
	border: none;
	background: none;
	margin-top: auto;
	margin-bottom: auto;
}

.dataTables_wrapper .dataTables_paginate.dataTables_paginate{
	float: none;
	display: inline-block;
	padding: 0;
	height: auto;
	border: none;
	background: none;
	vertical-align: top;
}
.dataTables_wrapper .dataTables_paginate.dataTables_paginate .pagination{
	margin-top: 4px;
	vertical-align: top;
}
.dataTables_wrapper .dataTables_paginate.paging_full_numbers{
	padding-top: 4px;
}

.dataTables_wrapper table + .row{
	margin-bottom: 0;
}

.dataTables_wrapper .dataTables_filter{
	float: none;
	display: inline-block;
	padding: 0;
	height: auto;
	line-height: 30px;
	border: none;
	background: none;
	vertical-align: top;
}
.dataTables_wrapper .dataTables_filter > label{
	margin: 0;
}
.dataTables_wrapper .dataTables_filter > label input{
	padding: 4px 6px;
	height: 26px;
}
.dataTables_wrapper div.dataTables_scrollBody > table{
	width: 99.9%;
}

.table.dataTable > :not(:first-child) {
	border-top: none;
}
table.dataTable .btn {
	margin-left: 5px;
}

table.dataTable thead tr th.sorting_asc,
table.dataTable thead tr th.sorting_desc,
table.dataTable thead tr th.sorting {
	background-image: none;
	position: relative;
}

table.dataTable thead tr th.sorting::after,
table.dataTable thead tr th.sorting_asc::after,
table.dataTable thead tr th.sorting_desc::after {
	position: absolute;
	display: block;
	color: #000;
	font-family: bootstrap-icons;
	content: '\F127';
	right: 2%;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
	font-weight: 400;
}

table.dataTable thead tr th.sorting_asc::after {
  content: '\F571';
  font-size: 16px;
}
table.dataTable thead tr th.sorting_desc::after {
  content: '\F573';
  font-size: 16px;
}

.fht-tbody{
	overflow-x: hidden;
	overflow-y: auto;
}

/* Style du preloader basique*/
.dataTables_processing{
	position: absolute;
	top: 25%;
	left: 50%;
	width: 250px;
	height: 60px;
	margin-left: -125px;
	margin-top: -15px;
	text-align: center;
	background: rgb(255, 255, 255);
	font-size: 16px;
	opacity: 0.7;
	vertical-align: middle;
	padding: 14px 0 2px 0;
	display: none;
}

.dataTables_processing .fa {
	color:#ff7f00;
}

.dataTables_paginate .inp-search-page {
	width: 35px;
	margin-top: 0px;
	max-height: 23px;
}

.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td{
	background-color: var(--bs-secondary);
	border-bottom: 1px solid #999;
}

/* Style de l'overlay */
.overlay-dt{
	position: absolute;
	top: 0px;
	left: 0;
	width: 100%;
	height: 100%;
	opacity:1;
	background:rgba(0,0,0,.08);
	z-index: 50;
}

/* Style du spinner */
.overlay-dt .spinner-dt {
	position: absolute;
	top: 25%;
	width: 54px;
	left: 50%;
	height: 60px;
}

.overlay-dt .spinner-dt > div {
	width: 18px;
	height: 18px;
	background-color: var(--bs-primary);
	border-radius: 100%;
	display: inline-block;
	-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
	animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.overlay-dt .spinner-dt .bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}

.overlay-dt .spinner-dt .bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
	0%, 80%, 100% { -webkit-transform: scale(0) }
	40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
	0%, 80%, 100% {
		-webkit-transform: scale(0);
		transform: scale(0);
	} 40% {
		-webkit-transform: scale(1.0);
		transform: scale(1.0);
	}
}

/****** Style de la pagination full_numbers ******/
.dataTables_paginate .paginate > li > a,
.dataTables_paginate .paginate > li > span,
.dataTables_wrapper .dataTables_paginate .paginate_button{
	display: inline-block;
	padding: 2px 8px;
	text-decoration: none;
	background: #ffffff !important;
	border: 1px solid #dddddd !important;
	border-radius: 0px;
	margin-left: -1px !important;
}
.dataTables_paginate .paginate > li > a:hover,
.dataTables_paginate .paginate > li > span:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	color: #333;
	font-weight: 700;
}
.dataTables_paginate .active > a,
.dataTables_paginate .active > a:focus,
.dataTables_paginate .active > a:hover,
.dataTables_paginate .active > span,
.dataTables_paginate .active > span:focus,
.dataTables_paginate .active > span:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
	z-index: 2;
	color: #51555D ;
	background: #F5F5F6 ;
	border-color: #DDDDDD ;
	cursor: default;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
	color: #999999;
	background-color: #ffffff;
	border-color: #dddddd;
	cursor: not-allowed;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	text-decoration: none;
	color: #333 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
	outline: none;
	background-color: #2b2b2b;
}

table.dataTable > tbody > tr.selected,
table.dataTable > tbody > tr.selected.odd,
table.dataTable > tbody > tr.selected.odd > td,
table.dataTable > tbody > tr.selected.even,
table.dataTable > tbody > tr.selected.even > td{
	background-color : rgba(73, 156, 148,0.30);
}

table.dataTable > tbody > tr.selected:hover,
table.dataTable > tbody > tr.selected.odd:hover,
table.dataTable > tbody > tr.selected.odd:hover > td,
table.dataTable > tbody > tr.selected.even:hover,
table.dataTable > tbody > tr.selected.even:hover > td{
	background-color : rgba(73, 156, 148,0.30);
}

/* -------------------------------------------- */
/* ----------------- Messages ----------------- */
textarea.field_error:focus,
select.field_error:focus,
input.field_error:focus,
textarea.field_error,
select.field_error,
input.field_error{
	border:1px dashed #c00;
}

textarea.entry_error,
select.entry_error,
input.entry_error{
	background:#ffeeee;
}

div.input-group.field_error{
	border:1px dashed #c00 ;
}

label.label_error,
div.msg_error,
.validate-has-error{
	color:#c00;
}

textarea.entry_validate,
select.entry_validate,
input.entry_validate{
	background:#ddffbb;
}

/* -------------------------------------------- */
/* ----------------- Checkbox ----------------- */
.checkbox label, .radio label{
	min-height: 15px;
}
.checkbox-replace,
.radio-replace {
	position: relative;
	padding-left: 0;
	margin: 0;
}
.checkbox-replace input[type="checkbox"],
.radio-replace input[type="checkbox"],
.checkbox-replace input[type="radio"],
.radio-replace input[type="radio"] {
	visibility: hidden;
}
.checkbox-replace .cb-wrapper,
.radio-replace .cb-wrapper {
	position: relative;
	display: inline-block;
	border: 1px solid #ebebeb;
	width: 16px;
	height: 15px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding;
	background-clip: padding-box;
	border-radius: 3px;
	transition: all 300ms ease-in-out;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.checkbox-replace .cb-wrapper input,
.radio-replace .cb-wrapper input {
	position: absolute;
	display: block;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	visibility: hidden;
}
.checkbox-replace .cb-wrapper.disabled,
.radio-replace .cb-wrapper.disabled {
	opacity: 0.3;
	filter: alpha(opacity=30);
}
.checkbox-replace .cb-wrapper .checked,
.radio-replace .cb-wrapper .checked {
	position: absolute;
	background: #ebebeb;
	display: block;
	left: 2px;
	right: 2px;
	bottom: 2px;
	top: 2px;
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding;
	background-clip: padding-box;
	border-radius: 2px;
	opacity: 0;
	filter: alpha(opacity=0);
	-moz-transition: 250ms all cubic-bezier(0.455, 0.030, 0.515, 0.955);
	-o-transition: 250ms all cubic-bezier(0.455, 0.030, 0.515, 0.955);
	-webkit-transition: 250ms all cubic-bezier(0.455, 0.030, 0.515, 0.955);
	transition: 250ms all cubic-bezier(0.455, 0.030, 0.515, 0.955);
}
.checkbox-replace .cb-wrapper + label,
.radio-replace .cb-wrapper + label {
	position: relative;
	top: -2px;
	margin-left: 6px;
}
.checkbox-replace:hover .cb-wrapper,
.radio-replace:hover .cb-wrapper {
	box-shadow: 0px 0px 0px 2px rgba(0,0,0,.03);
}
.checkbox-replace.radio-replace .cb-wrapper,
.radio-replace.radio-replace .cb-wrapper {
	background-clip: padding-box;
	border-radius: 16px;
}
.checkbox-replace.radio-replace .cb-wrapper .checked,
.radio-replace.radio-replace .cb-wrapper .checked {
	background-clip: padding-box;
	border-radius: 16px;
}
.checkbox-replace.checked .cb-wrapper .checked,
.radio-replace.checked .cb-wrapper .checked {
	opacity: 1;
	filter: alpha(opacity=100);
}
.checkbox-replace .cb-wrapper,
.radio-replace .cb-wrapper {
	border: 1px solid var(--bs-primary);
}

thead .checkbox-replace .cb-wrapper,
thead .radio-replace .cb-wrapper{
	border-color:var(--bs-primary);
}

thead .checkbox-replace .cb-wrapper .checked,
thead .radio-replace .cb-wrapper .checked{
	background:var(--bs-primary);
}
.checkbox-replace .cb-wrapper .checked,
.radio-replace .cb-wrapper .checked {
	background: var(--bs-primary);
}
.checkbox-replace:hover .cb-wrapper,
.radio-replace:hover .cb-wrapper {
	box-shadow: 0px 0px 0px 2px rgba(209.5,209.5,209.5,.1);
}