:root {

  --font-family-sans-serif: "Poppins", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Poppins, "Helvetica Neue", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

}

body {

  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Poppins,

    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",

    "Segoe UI Symbol", "Noto Color Emoji";

  position: relative;

}

.border-warning {
  border-color: var(--primary-color)!important;
}

a,
.btn-link {
  color: var(--primary-color);
}
a:hover,
.btn-link:hover {
  color: var(--secondary-color);
}

.btn.with-wrap {
  white-space: normal;
}

.text-primary {
  color:var(--primary-color)!important;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  49.75% {
    opacity: 1;
  }
  50.25% {
    opacity: 0;
  }
  99.5% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.form-control.is-invalid:not(select),
.was-validated .form-control:invalid:not(select) {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("../img/error.svg");
  background-repeat: no-repeat;
  background-position: center right calc(0.375em + 0.1875rem);
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.btn-xs {
  padding: 0.3rem 0.5rem;
  font-size: 0.7rem;
  line-height: 0.7rem;
  border-radius: 0.25em;
}

.btn-orange,
.bg-orange {
  color: #fff;
  background-color: var(--primary-color);
}
.btn-orange:hover {
  color: #fff;
  background-color: var(--secondary-color);
}
.btn-dark,
.bg-dark {
  color: #fff;
  background-color: #3c3c3c !important;
}
.btn-dark:hover {
  color: #fff;
  background-color: #2c2c2c;
}
.btn-outline-dark {
  color: #2c2c2c;
  border-color: #2c2c2c;
}
.btn-outline-dark:hover {
  background-color: #2c2c2c;
  border-color: #2c2c2c;
}
.btn-outline-orange {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background-color: transparent;
}
.btn-outline-orange:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.btn-outline-light {
  color: #3c3c3c;
  border-color: #ddd;
  background-color: transparent;
}
.btn-outline-light:hover {
  background-color: #3c3c3c;
  border-color: #ddd;
  color: #fff;
}
.dt-button-collection {
  overflow: visible;
}
.dt-button-collection::before {
  content: "\ed6a";
  font-family: "Icomoon";
  position: absolute;
  background-color: #ffffff;
  right: 0;
  top: -28px;
  height: 30px;
  font-size: 14px;
  line-height: 14px;
  text-align: right;
  padding: 8px 10px;
  border-radius: 0.1875rem 0.1875rem 0 0;
  pointer-events: none;
}
.dt-button-collection > .dt-button.active,
.dropdown-item.active {
  color: #fff;
  background-color: var(--primary-color);
}

.nav-tabs-bottom .nav-link.active,
.text-orange {
  color: var(--primary-color);
}
.nav-tabs-bottom .nav-link.active:before {
  background-color: var(--primary-color);
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: var(--primary-color);
}
.nav-pills-bordered .nav-link.active {
  border-color: var(--primary-color);
}
.nav-tabs-highlight .nav-item:last-of-type .nav-link:not(.active) {
  border-right: solid 1px #ddd;
}
.nav-tabs-highlight .nav-item:first-of-type .nav-link:not(.active) {
  border-left: solid 1px #ddd;
}
.nav-tabs-highlight .nav-link {
  background-color: #eee;
  border-top: solid 1px #ddd;
  border-left: solid 1px #ddd;
  border-right: solid 1px #ddd;
}
.nav-tabs-highlight .nav-link.active {
  color: var(--primary-color);
  font-weight: 500;
}
.nav-tabs-highlight .nav-link.active:before {
  background-color: var(--primary-color);
}
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border-color: #ddd;
}

.nav-tabs-bottom .nav-link {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.th-orange,
.td-orange {
  color: #fff;
  background-color: var(--primary-color);
}

.alert-warning {
  border-color: var(--primary-color);
}

.liste-fichiers .btn {
  white-space: normal;
}

div.blockOverlay {
  background-color: rgb(88, 88, 88);
  opacity: 0.9;
  cursor: wait;
  z-index: 99999;
}
div.blockMsg {
  position: fixed !important;
  top: calc(50vh - 150px - 36px);
  left: calc(50% - 150px + 80px);
  right: auto;
  border: 0;
  padding: 0;
  background-color: transparent;
  height: 300px;
  width: 300px;
  z-index: 999991;
}
body.form-loader div.blockMsg {
  left: calc(50% - 150px);
}
.sidebar-xs div.blockMsg {
  left: calc(50% - 150px + 40px);
}
@media (max-width: 768px) {
  div.blockMsg {
    top: calc(50vh - 50px - 72px);
    left: calc(50% - 100px);
    height: 200px;
    width: 200px;
  }
}

.content {
  min-height: 75vh;
  position: relative;
}

.dataTable tbody > tr.selected,
.dataTable tbody > tr > .selected {
  background-color: #ffe9dc;
}

.dataTable .group,
.dataTable .group:hover {
  background-color: #eee;
}

.dataTable.collapsed tr.parent {
  border-top: solid 2px rgb(36, 36, 36);
}

.dataTables_filter > label:after {
  pointer-events: none;
}
.datatable-header .search-trigger {
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  width: 32px;
  height: 100%;
}
.datatable-header > .dt-buttons {
  margin: 0;
}
.datatable-header > .dt-buttons > .dt-button {
  margin-bottom: 1rem;
}
.datatable-header > .dt-buttons > .dt-button-collection {
  margin-top: -1rem;
}
.fixedHeader-floating {
  z-index: 2;
}
.table-xs td,
.table-xs th {
  padding: 0.25rem 0.25rem;
  font-size: 0.7rem;
}
table.v-align-top td,
table.v-align-top th {
  vertical-align: top;
}
.important-table-footer {
  font-size: 1rem;
}

.table.dataTable tbody td:not(.with-overflow) {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 41.5px;
}

.nl2br {
  white-space: pre; /* Preserve sequence of white space */
  white-space: pre-line; /* Carriage return on br and newline characters */
}

/* #region Timeline */
.timeline-status-th span {
  width: 20%;
  text-align: center;
}
.timeline-status {
  position: relative;
  display: flex;
  height: 20px;
  text-align: center;
  min-width: 100px;
}

.timeline-status .line {
  position: absolute;
  height: 4px;
  left: 0;
  width: 100%;
  border-radius: 0.1875rem;
  background-color: var(--primary-color);
  top: calc(50% - 2px);
}

.timeline-status span {
  flex-grow: 1;
  position: relative;
  /* width: 20%; */
  height: 4px;
  top: calc(50% - 2px);
}
.timeline-status .charge {
  border-top-left-radius: 0.1875rem;
  border-bottom-left-radius: 0.1875rem;
}
.timeline-status .livraison {
  border-top-right-radius: 0.1875rem;
  border-bottom-right-radius: 0.1875rem;
}

.timeline-status span::before,
.timeline-status span.active::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  top: -3.5px;
  left: calc(50% - 6px);
}
.timeline-status span.active::after {
  background-color: #66c562;
}
.timeline-status span:not(.active),
.timeline-status span:not(.active)::before {
  background-color: #d6d6d6;
}
.timeline-status span.active::before {
  left: calc(50% - 10px);
  top: -7.5px;
  height: 20px;
  width: 20px;
  border: solid 2px var(--primary-color);
  background-color: #fff;
}
/* #endregion */

.form-group-checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
  position: relative;
  bottom: -5px;
}

.form-group-checkbox label,
.checkbox-inline label {
  color: #4b4b4b;
  font-size: 13px;
  margin: 0 10px;
}

.checkbox-inline input[type="checkbox"],
.radio-inline input[type="radio"] {
  margin-left: 0;
}

.form-group-radio input[type="radio"],
.radio-inline input[type="radio"] {
  position: relative;
  bottom: -5px;
}

.form-group-radio label {
  color: #4b4b4b;
  font-size: 13px;
  margin: 0 10px;
}

input[type="radio"],
input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 20px;
  width: 20px;
  position: relative;
  display: inline-block;
  border: solid 1px #767676;
  background-color: #f4f4f4;
  transition: all ease 0.3s;
  text-align: center;
  top: 5px;
  margin: 0 10px;
}
.bootstrap-switch input {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
}
input[type="radio"] {
  border-radius: 100%;
}

input[type="radio"]:focus,
input[type="checkbox"]:focus {
  outline: none;
}

input[type="radio"]:hover,
input[type="checkbox"]:hover {
  background-color: #e0e0e0;
  box-shadow: 0 0 0 1px #767676 inset;
}

input[type="radio"]:checked {
  box-shadow: 0 0 0 2px #f2f2f2 inset;
}
input[type="radio"]:checked,
input[type="checkbox"]:checked {
  background-color: #4b4b4b;
}

input[type="checkbox"]:checked:before {
  font-family: icomoon;
  content: "\ed6e";
  color: #fff;
  position: absolute;
  left: 3px;
  top: 1px;
}

@keyframes click-wave {
  0% {
    opacity: 1;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
  }
  100% {
    height: calc(100% + 20px);
    width: calc(100% + 20px);
    top: -10px;
    left: -10px;
    opacity: 0;
  }
}
input[type="radio"]:checked:after,
input[type="checkbox"]:checked:after {
  -webkit-animation: click-wave 0.65s;
  -moz-animation: click-wave 0.65s;
  animation: click-wave 0.65s;
  background: #9a9a9a;
  content: "";
  display: block;
  position: absolute;
  opacity: 0;
  z-index: 100;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

input[type="radio"]:checked:after {
  border-radius: 50%;
}

input[type="radio"].success:checked,
input[type="checkbox"].success:checked {
  background-color: #4caf50;
}
input[type="radio"].danger:checked,
input[type="checkbox"].danger:checked {
  background-color: #f44336;
}
input[type="radio"].success:checked:after,
input[type="checkbox"].success:checked:after {
  background: #4caf50;
}
input[type="radio"].danger:checked:after,
input[type="checkbox"].danger:checked:after {
  background: #f44336;
}
input[type="radio"].orange:checked:after,
input[type="checkbox"].orange:checked:after {
  background: var(--primary-color);
}
input[type="radio"].orange:checked,
input[type="checkbox"].orange:checked {
  background-color: var(--primary-color);
}

.picker__input {
  cursor: pointer;
}
.picker--focused .picker__day--highlighted,
.picker__day--highlighted,
.picker__day--highlighted:hover {
  background-color: #3c3c3c;
}
.picker.picker-block,
.picker.picker-block .picker__holder {
  display: block;
  position: relative;
  max-width: inherit;
  border: none;
  box-shadow: none;
}
.picker.picker-block .picker__footer {
  display: none;
}
.picker.picker-block .picker__header {
  padding-top: 0;
  padding-bottom: 0;
}
.picker.picker-block .picker__day {
  padding: 0.12rem;
}
.picker.picker-block .picker__table {
  margin-bottom: 0;
}
.picker.picker-block .picker__box {
  padding: 0;
}

table tbody tr .td-highlight {
  font-weight: bold;
}
table tbody tr:nth-child(even):not(.selected) .td-highlight {
  background-color: #eeeeee;
}
table tbody tr:nth-child(odd):not(.selected) .td-highlight {
  background-color: #dddddd;
}

.td-min {
  width: 1em;
}
.td-200 {
  width: 200px;
  min-width: 200px;
}
.td-150 {
  width: 150px;
  min-width: 150px;
}
.td-100 {
  width: 100px;
  min-width: 100px;
}
.td-40 {
  width: calc(36px + 2.5rem);
  min-width: calc(36px + 2.5rem);
}

.td-wrap {
  max-width: 150px;
  white-space: normal !important;
}

/* Permet d'afficher la pagination, la nombre de page et le page infos de dataTable dans l'ordre souhaité */
.datatable-footer {
  display: flex;
  justify-content: space-between;
}

.datatable-footer::after {
  content: none;
}

/* Filtres de dates */
.dataTables_wrapper #date-container {
  float: left;
  width: auto;
  margin-left: 20px;
}
#date-container .form-control[readonly] {
  background-color: white;
}
.datatable-filtres-container:not(:empty) {
  margin-top: 10px;
}
.datatable-filtres-container {
  display: flex;
  flex-wrap: wrap;
}
.datatable-filtres-container > div {
  max-width: 300px;
  margin-bottom: 8px;
}
.datatable-filtres-container > div > label {
  margin-bottom: 0;
}

/* Personnalisation des titres dans les cards */
.titre-important {
  text-transform: uppercase;
  color: var(--primary-color);
}

img.picto {
  height: 2rem;
}
img.picto-2x {
  height: 2.6rem;
}
img.picto-3x {
  height: 3rem;
}

.lang-switcher {
  position: absolute;
  top: 0;
  right: 30%;
  z-index: 3;
}
.lang-switcher img {
  max-height: 30px;
  margin-right: 0;
}
.lang-switcher .dropdown-item {
  width: 100%;
  justify-content: center;
}
.lang-switcher .dropdown-menu {
  min-width: 0;
  right: 5px;
}
.lang-switcher .dropdown-item.active {
  color: #fff;
  background-color: #c2c2c2;
}
@media screen and (max-width: 992px) {
  .lang-switcher {
    right: 0;
  }
}

.floating-buttons {
  position: fixed;
  bottom: 6%;
  right: 1%;
  z-index: 111;
  display: flex;
  flex-direction: column;
}
.sinister-toggle span:last-child {
  position: absolute;
  /*margin-top: -110px;*/
  right: 90px;
  top: calc(50% - 25px);
  height: 50px;
  width: 200px;
  color: white;
  background: #3c3c3c;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 2px rgb(0 0 0 / 50%);
  transform: scale(0);
  transition: all 0.25s;
  opacity: 0;
  font-size: 1rem !important;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sinister-toggle:hover span:last-child {
  transform: scale(1);
  opacity: 1;
  z-index: 10000;
}
.sinister-toggle:hover span:last-child p {
  margin: 0;
}
.chat-toggle {
  position: relative;
  box-shadow: 0px 5px 10px 0px #4444447a !important;
}
.sinister-toggle {
  margin-top: 5px;
  position: relative;
  box-shadow: 0px 5px 10px 0px #4444447a !important;
}
.chat-toggle > .chat-toggle-badge {
  position: absolute;
  top: -5px;
  right: 0;
  background-color: red;
  color: white;
  border-radius: 100%;
  font-size: 15px;
  height: 27px;
  width: 27px;
  line-height: 26px;
}
.chat-container .chat-tab-badge {
  display: inline-block;
  margin-left: 5px;
  background-color: red;
  color: white;
  border-radius: 100%;
  font-size: 12px;
  height: 20px;
  width: 20px;
  line-height: 20px;
}
.chat-toggle:focus,
.chat-toggle:active,
.chat-toggle:hover {
  box-shadow: 0px 5px 10px 0px #4444447a !important;
}
.chat-backdrop {
  background-color: #00000079;
  position: fixed;
  z-index: 110;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.chat-container {
  position: fixed;
  right: calc(2% + 70px);
  bottom: calc(5% + 70px);
  /* z-index: -1; */
  height: 0;
  width: 0;
  opacity: 0;
  transition: height ease 0.3s, width ease 0.3s, opacity ease 0.2s;
  overflow: hidden;
  pointer-events: none;
}
.chat-container.visible {
  opacity: 1;
  width: 50%;
  height: 80%;
  z-index: 111;
  overflow: inherit;
  pointer-events: initial;
}
.chat-container > .card {
  height: 100%;
  overflow: hidden;
}
/* .chat-container > .card > .card-header {
    background-color: var(--primary-color);
    color: #fff;
} */
.chat-container > .card > .card-body {
  overflow-y: scroll;
  flex-grow: 3;
}
.chat-container .nav-tabs-bottom .nav-link.active.nav-link-unique:before {
  background-color: transparent;
}
.chat-container textarea {
  resize: none;
}
.chat-message {
  position: relative;
  background-color: #fdfdfd;
  border-left: solid 5px #3c3c3a;
  width: 80%;
  padding: 15px;
  box-shadow: 1px 2px 5px 1px #e8e8e8;
  border-radius: 5px 10px 10px 5px;
}
.chat-message:not(:last-of-type) {
  margin-bottom: 15px;
}
.chat-message-reverse {
  background-color: #fff2ea;
  border-left: solid 5px var(--primary-color);
  margin-left: auto;
}
.chat-message-body {
  white-space: pre; /* Preserve sequence of white space */
  white-space: pre-line; /* Carriage return on br and newline characters */
  margin-bottom: 0;
}
.chat-message-controls {
  position: absolute;
  right: 0;
  top: 0;
}
.chat-message-footer {
  margin-top: 10px;
  text-align: left;
}
.chat-message-controls > .btn-link,
.chat-message-controls > .btn-link:hover {
  color: #777777;
}
@media screen and (max-width: 992px) {
  .chat-toggle {
    bottom: 2%;
    right: 2%;
  }
  .chat-container {
    right: calc(2% + 70px);
    bottom: calc(2% + 70px);
  }
  .chat-container.visible {
    width: calc(96% - 70px);
    height: calc(96% - 70px);
  }
}

.modal {
  z-index: 1039;
}
.modal-backdrop {
  z-index: 1038;
}

.full-screen-modal {
  opacity: 0;
  position: fixed;
  top: 100%;
  left: 270px;
  width: calc(100% - 270px);
  height: calc(100% - 74px);
  background-color: rgba(61, 61, 61, 0.95);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  color: #fff;
  transition: opacity ease-in-out 0.3s, top ease-in-out 0.3s;
  pointer-events: none;
  overflow-y: auto;
}
.sidebar-xs .full-screen-modal {
  left: 56px;
  width: calc(100% - 56px);
}
@media screen and (max-width: 768px) {
  .full-screen-modal,
  .sidebar-xs .full-screen-modal {
    left: 0;
    width: 100%;
  }
}
.full-screen-modal.visible {
  top: 74px;
  opacity: 1;
  pointer-events: all;
}
.full-screen-modal #btn-close-modal-recherche-globale {
  position: fixed;
  right: 20px;
  top: 74px;
  z-index: 121;
}
.full-screen-modal #btn-close-modal-recherche-globale i {
  font-size: 40px;
}
.full-screen-modal .modal-recherche-globale-body {
  width: 100%;
  padding: 50px 20px;
  align-items: center;
}
.full-screen-modal .modal-recherche-globale-body .form-control {
  background-color: transparent;
  color: #fff;
  height: 3rem;
  padding: 1rem 1rem;
  font-size: 1rem;
  border: solid 2px var(--primary-color);
}
.full-screen-modal .modal-recherche-globale-body .form-control:focus {
  border-color: --secondary-color !important;
}
.full-screen-modal .modal-recherche-globale-body .table-hover tbody tr:hover {
  background-color: rgba(125, 125, 125, 0.64);
}

.form-control[data-rule-required="true"]:not([readonly]):not([disabled]):not(.input-valid),
.form-control.required:not([readonly]):not([disabled]):not(.input-valid),
.form-control[required]:not([readonly]):not([disabled]):not(:valid):not(.input-valid),
.form-control.picker__input[data-rule-required="true"][readonly]:not([disabled]):not(.input-valid),
.form-control.picker__input.required[readonly]:not([disabled]):not(.input-valid) {
  border-left-color: #f44336;
  border-left-width: 3px;
}

select.form-control:required:invalid,
select.form-control.required:invalid,
select.form-control.required:not(.input-valid),
select.form-control[data-rule-required="true"]:not(.input-valid) {
  color: #a5a5a5;
}

select.form-control option {
  color: #333;
} 

.form-control.picker__input[readonly]:not([disabled]) {
  background-color: #fff;
  color: #333;
}

.btn-labeled>b {
  display: flex;
  height: 100%;
  align-items: center;
}

#navbar-footer .link-stores:first-of-type {
  margin-left: 8px;
}
#navbar-footer .link-stores {
  display: inline-block;
  height: 60px;
  padding: 8px;
}
#navbar-footer .link-stores img {
  height: 100%;
}

code[class*=language-], pre[class*=language-] {
  text-shadow: none;
}

pre {
  border: none;
}






.form-group-file {
  position: relative;
  margin-bottom: 1.25rem;
}
.form-group-file input[type=file] {
  display: block;
  width: 100%;
  border: #ddd 1px solid;
  padding: 10px;
  border-radius: 4px;
  height: 200px;
}

.form-group-file input[type=file] ~ ul {
  border: #ddd 1px dashed;
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px) ;
  background-color: #fff;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: stretch;
  pointer-events: none;
  padding: 0 10px;
  overflow-y: auto;
  margin: 0;
}
.form-group-file input[type=file] ~ ul.file-input-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.form-group-file input[type=file] ~ ul:not(.file-input-placeholder) > li {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.form-group-file input[type=file] ~ ul:not(.file-input-placeholder) > li:not(:last-child) {
  border-bottom: solid 1px #eee;
}
.form-group-file input[type=file] ~ ul.file-input-placeholder ~ .file-input-reset,
.form-group-file input[type=file] ~ ul.file-input-placeholder ~ .file-input-indicator {
  display: none;
}
.form-group-file input[type=file] ~ .file-input-reset {
  position: absolute;
  bottom: 15px;
  left: 15px;
}
.form-group-file input[type=file] ~ .file-input-indicator {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 5px;
  line-height: 0;
  height: 20px;
  min-width: 20px;
  background-color: #eee;
}