/* --------------------------------------------- */
/* ----------------- Variables ----------------- */

:root {
	--bs-primary: #1e5bc6;
	--bs-primary-rgb:30, 91, 198;
	--bs-primary-border: #1e5bc6;
	--bs-primary-color: #ffffff;
	--bs-primary-hover: #1B52B1;
	--bs-primary-border-hover: #1B52B1;
	--bs-primary-color-hover: #fff;
	--bs-primary-disabled: #A7C2F1;
	--bs-primary-box-shadow: rgb(0, 129, 238 , 50%);
	--bs-primary-background: rgba(0, 129, 238, 0.02);

	--bs-secondary: #e5e5e5;
	--bs-secondary-border: #ADADAD;
	--bs-secondary-color: #ADADAD;
	--bs-secondary-hover: #ADADAD;
	--bs-secondary-border-hover: #ADADAD;
	--bs-secondary-color-hover: #ADADAD;

	--bs-mid-blue : rgb(30, 91, 198);
	--bs-dark-blue : #233363;
	--bs-body-font-size: 12px;
}
.table{
	--bs-table-striped-bg: rgba(116,116,116, 0.05);
	--bs-table-border-color: transparent;
	--bs-table-head-background-color: var(--bs-dark-blue);
	--bs-table-hover-background-color: rgba(116,116,116, 0.15);
}
.filter-container .card-header{
	border-color:var(--bs-filter-background-color);
}
.filter-container {
	--bs-filter-background-color: var(--bs-dark-blue);
}

/* --------------------------------------------- */

.margin-left-0{ margin-left: 0px; }
.margin-10{ margin: 10px; }
.margin-top-10{ margin-top: 10px; }
.margin-right-10{ margin-right: 10px; }
.margin-20{ margin: 20px; }
.margin-top-20{ margin-top:20px; }
.margin-bottom-20{ margin-bottom:20px; }
.margin-30{ margin: 30px; }
.margin-left-30{ margin-left: 30px; }

.padding-left-0{ padding-left: 0px; }
.padding-top-10{ padding-top: 10px; }
.padding-bottom-20{ padding-bottom:20px; }

.inline-text{
	display: inline-block;
	margin-top: 8px;
}

.row.avec_marges{padding:0px 15px}

.label-sm,
.table > tbody > tr > td .label-sm{
	padding-top: .1em;
	padding-left: 5px;
	padding-right: 5px;
	vertical-align: text-top;
}

.texte-bleu-fonce{
	color: #0e3368;
}
.texte-bleu-clair{
	color: #0060d1;
}

.header-content {
	border:none;
	box-shadow: 0 0 7px 1px #b7b7b7;
}

.badge.bg-primary {
	background-color: var(--bs-mid-blue) !important;
}

/* ------------------------------------------- */
/* ------------------ Login ------------------- */
body.login .gradient-custom-2 {
	background: var(--bs-primary);
	background: linear-gradient(270deg, #1e5bc6, #124fb9, #134bac, #053282);
}

/* ------------------------------------------- */
/* ------------------ Card ------------------- */

.card-light .card-header {
	border-color: var(--bs-mid-blue);
}

.card-light .card-header .card-title {
	color: var(--bs-mid-blue);
}

/* ------------------------------------------- */
/* ----------------- Sidebar ----------------- */

.page-container .sidebar-menu{
	box-shadow: 1px 0 7px #b7b7b7;
}

.page-container .sidebar-menu ul#main-menu > li > ul > li.active > a {
	color: var(--bs-mid-blue);
}

.page-container .sidebar-menu ul#main-menu > li.active > a, .page-container .sidebar-menu ul#main-menu > li.opened > a {
	color: var(--bs-mid-blue);
}

/* ------------------------------------------- */
/* ------------------- Form ------------------ */

label:not(.form-check-label) {
	font-weight: bold;
}

.filter-card label {
	font-weight: normal;
}

/* ------------------------------------------- */
/* ----------------- Boutons ----------------- */
.cta-bleu-clair,
.cta-bleu-fonce,
.cta-bleu,
.cta-rouge{
	display: inline-block;
	margin-bottom: 0;
	padding: 6px 12px;
	border-radius: 16px;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	color: #fff;
	font-weight: 400;
	text-decoration: none;
}
.cta-bleu-clair,
.cta-bleu{
	background-color: #0060d1;
	border-color: #0060d1;
}
.cta-bleu:hover,.cta-bleu:active,.cta-bleu:focus,
.cta-bleu-clair:hover,.cta-bleu-clair:active,.cta-bleu-clair:focus {
	color: #fff;
	background-color: #0078e9;
	border-color: #0078e9;
	text-decoration: none;
}
.cta-bleu-fonce{
	background-color: #0e3368;
	border-color: #0e3368;
}
.cta-bleu-fonce:hover,.cta-bleu-fonce:active,.cta-bleu-fonce:focus {
	color: #fff;
	background-color: #12448C;
	border-color: #12448C;
	text-decoration: none;
}
.cta-rouge{
	background-color: #ff483d;
	border-color: #ff483d;
}
.cta-rouge:hover,.cta-rouge:active,.cta-rouge:focus {
	color: #fff;
	background-color: #c82333;
	border-color: #c82333;
	text-decoration: none;
}

.btn-filter-reset, .btn-filter-reset i,
.btn-filter-reset:hover, .btn-filter-reset:hover i{
	color: #747474;
}

#fiche-content .card-header > .card-options > a.btn-modal-edit {
	padding: 5px 7px;
}

/* ---------------------------------------------- */
/* ------------------- Select2 ------------------ */
.select2-selection--multiple {
	min-height: 31px !important;
}

/* ---------------------------------------------- */
/* --------------- Onglet commande--------------- */

#tableCommandesProduit .popover {
	border-radius: 5px;
	font-size: 12px;
}

#tableCommandesProduit .commande-details {
	display: inline-block;
	padding: 0 8px;
	vertical-align: top;
	color: #00b5be;
	cursor: pointer;
}

#tableCommandesProduit td{
	vertical-align: middle;
}

#tableCommandesProduit .commande-details-produit {
	display: flex;
	align-items: center;
	height: 100%;
}

.cartes-importees-tooltip {
	cursor: pointer;
}

#tableCommandesLigneRefundBulk_wrapper .dataTables_actions {
	padding-bottom: 10px;
}


/* ---------------------------------------------- */
/* ---------------- Notifications --------------- */

.badge.badge-important {
	background-color: #ee4749;
	color: #fff;
}
.badge {
	background-color: #0188a5;
	color: #fff !important;
}

.notifications.dropdown > button .badge {
	position: absolute;
	padding: 2px;
	font-size: 10px;
	right: 0px;
	top: 0px;
	min-width: 17px;
	line-height: 12px;
}
.notifications.dropdown .dropdown-menu-list {
	list-style: none;
	padding: 0 7px;
}
.notifications.dropdown .dropdown-menu-list .notification-success {
	border-bottom: 1px solid #ededed;
}
.notifications.dropdown .dropdown-menu-list .notification-success i {
	color:#ffffff;
	float: right;
}
.notifications.dropdown .dropdown-menu-list .notification-success i.bi-trash {
	background-color:red;
}
.notifications.dropdown .dropdown-menu-list .notification-success i.bi-download {
	background-color:#0188a5;
}
.notifications.dropdown .dropdown-menu-list .notification-success i.bi-slash-circle {
	background-color:red;
}
.btn:disabled, .notifications.dropdown .dropdown-menu-list .notification-success i.disabled{
	pointer-events: none;
	background-color:#a6a7aa;
	border-color:#a6a7aa;
}
.notifications.dropdown .dropdown-menu {
	z-index:1001;
	width:370px;
}
.notifications.dropdown .dropdown-menu-list .notification-success a {
	display: block;
	padding: 7px 0;
}
.notifications.dropdown .dropdown-menu-list .notification-success span.line {
	display: block;
}

/* ---------------------------------------------- */
/* ------------------- Thumbnails---------------- */

.thumbnail {
	width:30px;
	height:30px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	border:0px solid #333;
	overflow: hidden;
	-webkit-backface-visiblity: hidden;
	background-color: #DDD;
}

/* ---------------------------------------------- */
/* ------------------- Datatable ---------------- */
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,
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(30, 91, 198, 0.1);
}

/* ---------------------------------------------- */
/* ------------------- Onglet Encours------------------ */

.titre-informations-encours {
	margin-bottom: -10px;
}

.titre-datatable {
	z-index: 1;
	position: relative;
	margin-bottom: -40px;
	margin-top: 20px;
}

/* ------------------- Widget------------------ */

.widget-red .card-header{
	background-color: #d24342;
	color : white;
	font-weight:bold;
}
.widget-red a.btn{
	background-color: #d24342;
	color : white;
	border: none;
}
.widget-red a.btn:hover{
	background-color: #d19898;
	color : white;
	border: none;
}

.widget-red .card-options .bi-arrow-clockwise{
	display : none;
}

canvas{
	margin-bottom: 30px;
}