@charset "UTF-8";
.alert {
  cursor: pointer;
  font-size: 0.7rem;
  border-radius: 0.1rem;
  padding: 0.5rem;
  max-height: 4rem;
  overflow: hidden;
}

.alert[data-dismissed] {
  margin: 0;
  padding: 0 0.5rem;
  max-height: 0;
  transition: all 0.15s ease-out;
  transition-property: margin, padding, max-height;
}

.alert.success {
  color: #fff;
  background: green;
}

.alert.error {
  color: #fff;
  background: red;
}

.alert.warning {
  color: #fff;
  background: #fc0;
}

.alert.alert-export-amount-differences.no-differences {
  color: #fff;
  background: red;
}

.alert.alert-export-amount-differences.reinit {
  color: #fff;
  background: #20c997;
}

.alert.alert-export-amount-differences.step-1 {
  color: #fff;
  background: #0d6efd;
}

.alert.alert-export-amount-differences.step-2 {
  color: #fff;
  background: #6610f2;
}

.alert.alert-export-amount-differences.step-3 {
  color: #fff;
  background: green;
}

.alert.alert-production-lock {
  background-color: #ff9b20;
  color: #fff;
  text-align: left;
}

body {
  background: #fff;
  margin: 0 auto;
  padding: 2.5rem 1rem 1rem;
  font-size: 0.6rem;
}

body h1 {
  font-size: 1.25rem;
  font-weight: 900;
}

body h1.cancel {
  -webkit-text-decoration-line: line-through;
  text-decoration-line: line-through;
}

body h2 {
  font-size: 1rem;
  font-weight: 700;
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  margin-top: 1em;
  padding-top: 1em;
}

body h2.cancel {
  -webkit-text-decoration-line: line-through;
  text-decoration-line: line-through;
}

body h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 90;
}

body div.bilanSection {
  padding: 0.1rem 0.5rem;
  margin: 0.5rem 0.2rem;
}

body div.bilanSection h3.bilanTitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 500;
}

body div.bilanSection h4 {
  font-weight: 100;
}

body div.bilanSection h5 {
  padding: 0;
  margin: -0.6rem 0 0;
}

body div.bilanSection {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0.15rem;
}

body div.bilanSection label {
  border: 1px solid #a9a9a9;
  border-radius: 0.15rem;
}

body section.export h3 {
  font-weight: 700;
  text-align: center;
}

body div.production-single-header.controls {
  display: flex;
  flex-direction: column;
  -moz-column-gap: 18px;
  column-gap: 18px;
  justify-content: flex-start;
}

@media (min-width: 560px) {
  body div.production-single-header.controls {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.button,
button,
input[type=submit] {
  display: inline-block;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.6);
  transition: background 0.15s ease-out;
  color: #fff;
  border-radius: 0.2em;
  padding: 0.75em 1.5em;
  margin: 0.5em 0;
  font-size: 0.5rem;
  letter-spacing: 0.05em;
}

.button:hover,
button:hover,
input[type=submit]:hover {
  background: rgba(0, 0, 0, 0.75);
}

.button.block,
button.block,
input[type=submit].block {
  display: block;
}

.button.more,
button.more,
input[type=submit].more {
  display: block;
  max-width: 30em;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.button.save,
button.save,
input[type=submit].save {
  background: #008200;
}

.button.save.disabled,
button.save.disabled,
input[type=submit].save.disabled {
  background: #50a050;
  cursor: not-allowed;
}

.button.save:not(.disabled):hover,
button.save:not(.disabled):hover,
input[type=submit].save:not(.disabled):hover {
  background: #006400;
}

.button.delete,
button.delete,
input[type=submit].delete {
  background: red;
}

.button.delete.disabled,
button.delete.disabled,
input[type=submit].delete.disabled {
  background: #ff5050;
  cursor: not-allowed;
}

.button.delete:not(.disabled):hover,
button.delete:not(.disabled):hover,
input[type=submit].delete:not(.disabled):hover {
  background: #c80000;
}

.button.disabled,
button.disabled,
input[type=submit].disabled {
  background: rgba(0, 0, 0, 0.2);
  cursor: not-allowed;
}

.button.production-lock-button,
button.production-lock-button,
input[type=submit].production-lock-button {
  color: #fff;
  width: 100%;
}

@media (min-width: 560px) {
  .button.production-lock-button,
  button.production-lock-button,
  input[type=submit].production-lock-button {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
}
.button.production-lock-button.unlock-production,
button.production-lock-button.unlock-production,
input[type=submit].production-lock-button.unlock-production {
  background-color: rgba(255, 155, 32, 0.9);
}

.button.production-lock-button.unlock-production:hover,
button.production-lock-button.unlock-production:hover,
input[type=submit].production-lock-button.unlock-production:hover {
  background-color: #ff9b20;
}

.button.production-lock-button.lock-production,
button.production-lock-button.lock-production,
input[type=submit].production-lock-button.lock-production {
  background: rgba(0, 0, 0, 0.4);
}

.button.production-lock-button.lock-production:hover,
button.production-lock-button.lock-production:hover,
input[type=submit].production-lock-button.lock-production:hover {
  background: rgba(0, 0, 0, 0.75);
}

.format-options {
  display: inline-flex;
}

.format-options .button {
  margin: 0;
}

.format-options .button:not(a) {
  cursor: unset;
}

.format-options .button:not(.pdf) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.format-options a {
  text-decoration: none;
  cursor: pointer;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 0.75em;
  transition: background 0.15s ease-out;
}

.format-options a:hover {
  background: rgba(0, 0, 0, 0.6);
}

.format-options .csv {
  background: rgba(0, 0, 0, 0.5);
}

.format-options .pdf {
  background: rgba(0, 0, 0, 0.4);
}

.checkboxes[data-grid] {
  grid-gap: 0.25rem;
}

.checkboxes span.checked,
.checkboxes span.no-checked {
  display: flex;
  align-items: center;
}

.checkboxes span.checked:before,
.checkboxes span.no-checked:before {
  content: "✓";
  color: green;
  font-size: 0.55rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 50%;
  padding: 0.1rem;
  width: 1rem;
  height: 1rem;
}

.checkboxes span.no-checked:before {
  content: "✕";
  color: red;
}

.checkboxes input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.checkboxes input[type=checkbox]:checked + span {
  font-weight: 700;
  opacity: 1;
}

.checkboxes input[type=checkbox]:checked + span:before {
  opacity: 1;
}

.checkboxes label {
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
  padding: 0.25em;
  margin: 0;
  border-radius: 0.25em;
  font-size: 0.7em;
  transition: background-color 0.15s ease-out;
}

.checkboxes label:hover {
  background-color: rgba(0, 0, 0, 0.25);
}

.checkboxes label:hover span {
  color: #fff;
  opacity: 1;
}

.checkboxes label span {
  display: flex;
  align-items: center;
  text-transform: none;
  font-weight: 400;
  color: #000;
  padding: 0;
  opacity: 0.5;
  font-size: 1em;
  transition: all 0.15s ease-out;
}

.checkboxes label span:before {
  content: "";
  font-size: 1.5em;
  width: 1em;
  height: 1em;
  display: block;
  opacity: 0.25;
  margin-right: 0.25em;
  background-image: url(/images/svg/arrow-right.svg);
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 0.5em;
  transition: opacity 0.15s ease-out;
}

small[data-checktotal] {
  font-size: 0.5em;
  color: rgba(0, 0, 0, 0.25);
  font-style: italic;
  padding-left: 0.5rem;
  transition: color 0.15s ease-out;
}

small[data-checktotal][data-checktotal-empty="0"] {
  color: rgba(0, 0, 0, 0.5);
}

.color__warning {
  color: #fff;
  background: #fc0;
}

.controls {
  margin: 1rem auto;
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  padding-top: 1rem;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 0.25rem 1fr 0.25rem 1fr;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0.25rem;
  text-align: center;
}

.controls.in-foreach {
  border-top: none;
}

.controls.assign > :nth-child(odd) {
  -ms-grid-column: 1;
  grid-column: 1;
}

.controls.assign > :nth-child(2n),
.controls.create > :first-child,
.controls.save > :nth-child(3) {
  -ms-grid-column: 3;
  grid-column: 3;
}

.controls .save:hover {
  background: green;
}

.controls .delete:hover {
  background: red;
}

form {
  width: 100%;
  margin: 0 auto;
  max-width: 30rem;
  transition: opacity 0.3s ease-out;
}

form.cancel {
  -webkit-text-decoration-line: line-through;
  text-decoration-line: line-through;
}

form [data-unrelated] {
  display: none;
}

form.filter {
  margin-bottom: 1rem;
}

form.filter p {
  margin-bottom: 0;
}

form.filter label {
  display: inline-block;
  cursor: inherit;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: inherit;
}

form.filter input[type=submit],
form.filter label:last-of-type {
  margin-left: 1rem;
}

form.no-edit label {
  cursor: not-allowed;
}

form[data-submit="1"] {
  opacity: 0.5;
  pointer-events: none;
}

form[data-submit="1"] input[type=submit] {
  color: transparent;
  background-image: url(/images/svg/loading.svg);
}

form label {
  display: flex;
  flex-direction: column;
  font-size: 0.5rem;
  cursor: pointer;
  margin: 0.5rem 0;
  padding: 0.75em;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0.15rem;
  transition: background 0.15s ease-out;
}

form label.row {
  flex-direction: row;
}

form label.larger {
  font-size: 0.6rem;
}

form label[data-pointerevent=none] {
  pointer-events: none;
}

form label[data-error="1"] {
  border: 2px solid red;
}

form label:focus-within,
form label:hover {
  background: rgba(0, 0, 0, 0.1);
}

form label:focus-within span,
form label:hover span {
  color: rgba(0, 0, 0, 0.75);
}

form label[data-invalid="1"]:focus-within span,
form label[data-invalid="1"]:hover span {
  color: red;
}

form label[data-invalid="1"] span {
  color: rgba(255, 0, 0, 0.75);
}

form label[data-invalid="1"] input,
form label[data-invalid="1"] select {
  color: red;
}

form label[data-invalid="1"] input::-moz-placeholder,
form label[data-invalid="1"] select::-moz-placeholder {
  color: rgba(255, 0, 0, 0.6);
}

form label[data-invalid="1"] input:-ms-input-placeholder,
form label[data-invalid="1"] select:-ms-input-placeholder {
  color: rgba(255, 0, 0, 0.6);
}

form label[data-invalid="1"] input::placeholder,
form label[data-invalid="1"] select::placeholder {
  color: rgba(255, 0, 0, 0.6);
}

form label span {
  pointer-events: none;
  font-size: 0.8em;
  padding: 0 0 0.25em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
  transition: color 0.15s ease-out;
}

form label span + span {
  font-size: 1em;
  font-family: inherit;
  font-weight: 400;
  color: #000;
  text-transform: none;
}

form label input,
form label select {
  flex: 1;
  cursor: pointer;
  font-family: inherit;
  font-size: 1em;
  background: transparent;
  padding: 0;
  border: none;
  outline: none;
  border-radius: 0;
  transition: border 0.15s ease-out;
}

form label.has-checkbox {
  height: 100%;
}

form label input[type=checkbox] {
  width: fit-content;
  margin: 0 auto;
}

form label input:focus,
form label select:focus {
  border-color: rgba(0, 0, 0, 0.75);
}

form label input::-moz-placeholder,
form label select::-moz-placeholder {
  color: rgba(0, 0, 0, 0.4);
}

form label input:-ms-input-placeholder,
form label select:-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.4);
}

form label input::placeholder,
form label select::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

form label input[type=file],
form label select[type=file] {
  font-size: 1em;
}

form label select {
  cursor: pointer;
  padding-right: 1.5rem;
  padding-top: 0.66rem;
  margin-top: -0.66rem;
  background-image: url(/images/select.svg);
  background-position: right 0.25rem bottom 0.25rem;
  background-size: 0.5rem;
  background-repeat: no-repeat;
  -webkit-appearance: none;
}

form label textarea:not([data-tinymce]) {
  height: 2rem;
  resize: none;
  padding: 0.5rem;
  font-family: inherit;
  font-size: 0.75rem;
}

form label button.file-remove {
  cursor: not-allowed;
  color: red;
}

form label button.file-remove.image {
  border: 0;
  padding: 0;
  background: none;
}

form label button.file-remove img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

form label button.file-remove ~ input {
  display: none;
}

form label.remove {
  position: relative;
  background: none;
  text-align: left;
  text-transform: none;
  padding: 0;
  pointer-events: none;
  cursor: pointer;
  justify-content: center;
}

form label.remove span {
  pointer-events: all;
}

form label.remove span:after {
  content: "X";
  color: red;
  font-size: 0.55rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 50%;
  padding: 0.1rem;
  width: 1rem;
  height: 1rem;
}

form label > .file-remove {
  position: relative;
  background: none;
  text-align: left;
  text-transform: none;
  padding: 0;
  pointer-events: none;
}

form label > .file-remove + input {
  display: none;
  pointer-events: none;
}

form label > .file-remove:hover {
  background: none;
}

form label > .file-remove a {
  color: rgba(0, 0, 0, 0.5);
  transition: all 0.15s ease-out;
  transition-property: background-color, color;
  border-radius: 0.1rem;
  padding: 0.5rem;
  text-align: center;
  background: silver;
}

form label > .file-remove a,
form label > .file-remove span {
  display: inline-block;
  position: relative;
  pointer-events: all;
  cursor: pointer;
}

form label > .file-remove span {
  width: 1rem;
  height: 1rem;
  padding: 0;
}

form label > .file-remove span:after {
  content: "X";
  color: red;
  font-size: 0.55rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 50%;
  padding: 0.1rem;
  width: 1rem;
  height: 1rem;
}

form label + input[type=number] {
  font-size: 0.5rem;
  cursor: pointer;
  margin: 0.5rem 0;
  padding: 0.75em;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0.15rem;
  transition: background 0.15s ease-out;
  width: 100%;
  min-width: 60px;
  max-width: 10%;
  border-width: 0.03rem;
  text-align: center;
}

form label + input[type=number]:focus-within,
form label + input[type=number]:hover {
  background: rgba(0, 0, 0, 0.1);
}

form label + input[type=number]:focus-within span,
form label + input[type=number]:hover span {
  color: rgba(0, 0, 0, 0.75);
}

form label + input[type=number].larger {
  font-size: 0.6rem;
}

form div.bilan label {
  display: flex;
  flex-direction: column;
  font-size: 0.5rem;
  margin: 0;
  padding: 0.75em;
  background: none;
  cursor: default;
  align-items: center;
}

form div.bilan label span {
  font-size: 0.8em;
  padding: 0 0 0.25em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
}

form div.bilan label span + span {
  font-size: 1em;
  font-family: inherit;
  font-weight: 400;
  color: #000;
}

form div.flex-row {
  display: flex;
  flex-direction: row;
}

form div.flex-row.justify-start {
  justify-content: start;
}

form div.flex-row.items-center {
  align-items: center;
}

form div.flex-row.gap-xs {
  gap: 0.3rem;
}

form input[type=submit] {
  transition-property: color, background;
  background-size: 0.75rem;
  background-position: 50%;
  background-repeat: no-repeat;
}

form b {
  font-weight: 400;
}

form p.sheetCheck {
  display: flex;
}

form p.sheetCheck b {
  font-weight: 700;
  margin: 0 0.1rem;
}

form p.sheetCheck span {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  display: block;
  border-radius: 50%;
  margin: 0.1rem 0.1rem 0 0;
}

form p.sheetCheck span.confirmed {
  background: green;
}

form p.sheetCheck span.pending {
  background: red;
}

form p.sheetCheck span.isNotCompleted {
  background: #f6ae2d;
}

form p.sheetCheck span.cancel {
  background: grey;
}

[data-grid] {
  display: -ms-grid;
  display: grid;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  grid-gap: 0.5rem;
}

[data-grid] label {
  margin: 0;
}

[data-grid="1.1"] {
  -ms-grid-columns: 32% [1];
  grid-template-columns: repeat(1, 32%);
}

@media (max-width: 400px) {
  [data-grid="1.1"] {
    -ms-grid-columns: minmax(auto, 100%) [1];
    grid-template-columns: repeat(1, minmax(auto, 100%));
  }
}
[data-grid="2"] {
  -ms-grid-columns: minmax(50%, 50%) [2];
  grid-template-columns: repeat(2, minmax(50%, 50%));
}

@media (max-width: 400px) {
  [data-grid="2"] {
    -ms-grid-columns: minmax(auto, 100%) [1];
    grid-template-columns: repeat(1, minmax(auto, 100%));
  }
}
[data-grid="2.1"] {
  -ms-grid-columns: 32% [2];
  grid-template-columns: repeat(2, 32%);
}

@media (max-width: 400px) {
  [data-grid="2.1"] {
    -ms-grid-columns: minmax(auto, 100%) [1];
    grid-template-columns: repeat(1, minmax(auto, 100%));
  }
}
[data-grid="3"] {
  -ms-grid-columns: minmax(32%, 33%) [3];
  grid-template-columns: repeat(3, minmax(32%, 33%));
}

@media (max-width: 400px) {
  [data-grid="3"] {
    -ms-grid-columns: minmax(auto, 100%) [1];
    grid-template-columns: repeat(1, minmax(auto, 100%));
  }
}
[data-grid="3.1"] {
  -ms-grid-columns: 32% [3];
  grid-template-columns: repeat(3, 32%);
}

@media (max-width: 400px) {
  [data-grid="3.1"] {
    -ms-grid-columns: minmax(auto, 100%) [1];
    grid-template-columns: repeat(1, minmax(auto, 100%));
  }
}
[data-grid="4"] {
  -ms-grid-columns: minmax(auto, 43%) minmax(auto, 25%) minmax(auto, 25%) 0.5fr;
  grid-template-columns: minmax(auto, 43%) minmax(auto, 25%) minmax(auto, 25%) 0.5fr;
}

@media (max-width: 400px) {
  [data-grid="4"] {
    -ms-grid-columns: minmax(auto, 100%) [1];
    grid-template-columns: repeat(1, minmax(auto, 100%));
  }
}
[data-grid="4.1"] {
  -ms-grid-columns: minmax(auto, 25%) [4];
  grid-template-columns: repeat(4, minmax(auto, 25%));
}

@media (max-width: 400px) {
  [data-grid="4.1"] {
    -ms-grid-columns: minmax(auto, 100%) [1];
    grid-template-columns: repeat(1, minmax(auto, 100%));
  }
}
html {
  font: 400 2.083vw/1.2 Roboto, sans-serif;
  color: #000;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  html {
    -webkit-font-smoothing: subpixel-antialiased;
  }
}
@media (max-width: 960px) {
  html {
    font-size: 20px;
  }
}
@media (min-width: 1440px) {
  html {
    font-size: 30px;
  }
}
html div.head {
  width: 100%;
  margin: 0 auto;
  max-width: 30rem;
  transition: opacity 0.3s ease-out;
}

.td-underline {
  text-decoration: underline;
}

*,
:after,
:before {
  box-sizing: inherit;
}

[data-revealing] {
  transition: all 0.15s ease-out;
  transition-property: background-image, background-color, padding;
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-image: url(images/select.svg);
  background-size: 0.5rem;
  cursor: pointer;
  border-radius: 0.1rem;
}

[data-revealing][data-state=open] {
  background-image: url(images/select-reversed.svg);
}

h2[data-revealing] {
  font-size: 1rem;
  padding: 0.5rem 0;
  margin: 0;
  border: none;
}

h2[data-revealing][data-state=open] {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-revealing]:hover {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 0.5rem;
}

[data-reveal] {
  display: none;
  margin: 0.5rem 0;
}

table[data-reveal][data-state=open] {
  display: table;
}

[data-reveal][data-state=open] {
  display: block;
}

[data-reveal][data-grid] {
  display: none;
  margin: 0.5rem 0;
}

[data-reveal][data-grid][data-state=open] {
  display: -ms-grid;
  display: grid;
}

[data-reveal][data-grid][data-unrelated] {
  display: none;
}

ol[data-reveal],
ul[data-reveal] {
  padding: 0.5rem 1.5rem;
}

[data-reveal] h3 {
  font-size: 0.75rem;
}

section {
  width: 100%;
  margin: 0 auto;
  max-width: 30rem;
}

section header h1 {
  margin-bottom: 0;
}

section header .options {
  display: flex;
  flex-wrap: wrap;
}

section header .options .button {
  margin-right: 0.5em;
}

.small-list {
  margin: 0.1em 0;
  padding-left: 1.25em;
  opacity: 0.7;
  font-size: 0.8em;
}

.small-list li {
  white-space: nowrap;
}

svg.icon-lock,
svg.icon-lock-open {
  padding-top: 2px;
  margin-right: 1px;
}

svg.icon-lock-open path,
svg.icon-lock path {
  fill: #fff;
}

svg.icon-lock {
  width: 12px;
  height: 11px;
}

@media (min-width: 965px) {
  svg.icon-lock {
    width: 13px;
    height: 12px;
  }
}
@media (min-width: 1200px) {
  svg.icon-lock {
    width: 14px;
    height: 13px;
  }
}
svg.icon-lock-open {
  width: 13px;
  height: 12px;
}

@media (min-width: 965px) {
  svg.icon-lock-open {
    width: 14px;
    height: 13px;
  }
}
@media (min-width: 1200px) {
  svg.icon-lock-open {
    width: 15px;
    height: 14px;
  }
}
table {
  width: 100%;
  font-size: 0.5rem;
  border-collapse: collapse;
}

table td,
table th {
  padding: 0.5em;
  border: 1px solid #f2f2f2;
}

table thead tr {
  background: rgba(0, 0, 0, 0.1);
}

table thead th {
  text-align: left;
}

table tbody tr {
  transition: all 0.15s ease-out;
  transition-property: background-color, color;
}

table tbody tr.cancel td small,
table tbody tr.cancel td span {
  -webkit-text-decoration-line: line-through;
  text-decoration-line: line-through;
}

table tbody tr[data-href] {
  cursor: pointer;
}

table tbody tr[data-href]:hover {
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
}

table tbody tr[data-href]:hover small {
  opacity: 1;
}

table tbody tr:nth-child(2n) {
  background: rgba(0, 0, 0, 0.05);
}

table tbody td .status.check:before {
  background-color: green;
}

table tbody td .status.cancel:before {
  background-color: grey;
}

table tbody td .status:before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: red;
  display: block;
  border-radius: 50%;
  margin: 0 auto;
}

table tbody td[data-color] {
  padding: 0.25rem 1rem 0.25rem 1.5rem;
  position: relative;
}

table tbody td[data-color] span {
  width: 0.5rem;
  height: 0.5rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0.5rem;
}

table tbody small {
  display: block;
  opacity: 0.7;
  font-size: 0.8em;
  margin: 0.1em 0;
  transition: opacity 0.15s ease-out;
}

table .non-breakable {
  white-space: nowrap;
}

[data-tinymce] html {
  font: 400 2.083vw/1.2 Roboto, sans-serif;
  color: #000;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  [data-tinymce] html {
    -webkit-font-smoothing: subpixel-antialiased;
  }
}
@media (max-width: 960px) {
  [data-tinymce] html {
    font-size: 20px;
  }
}
@media (min-width: 1440px) {
  [data-tinymce] html {
    font-size: 30px;
  }
}
[data-tinymce] *,
[data-tinymce] :after,
[data-tinymce] :before {
  box-sizing: inherit;
}

[data-tinymce] body {
  background: #f2f2f2;
  max-width: 40rem;
  margin: 1em;
}

[data-tinymce] img {
  display: block;
  max-width: 100%;
  margin: 1em 0;
}

[data-grid="2"] {
  grid-template-columns: repeat(2, minmax(48%, 50%));
}

div.hidden {
  display: none;
}


#cards-create textarea {
  height: unset;
  font-size: unset;
  resize: vertical;
  padding: 0.3rem;
  margin-top: 0.1rem;
}
#cards-create textarea::placeholder {
  font-size: unset;
}

#cards-edit #thumbnail-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}
#cards-edit #thumbnail-container img {
  width: 50%;
  height: auto;
}
#cards-edit textarea {
  height: unset;
  font-size: unset;
  resize: vertical;
  padding: 0.3rem;
  margin-top: 0.1rem;
}
#cards-edit textarea::placeholder {
  font-size: unset;
}

#clients-edit #direct-access-link-container.d-none {
  display: none;
}
#clients-edit #direct-access-link-container p {
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;
}
#clients-edit #no-passport p {
  color: red;
  margin: 0.3rem auto;
}
#clients-edit #logo-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}
#clients-edit #logo-container img {
  width: 50%;
  height: auto;
}
#clients-edit textarea {
  height: unset;
  font-size: unset;
  resize: vertical;
  padding: 0.3rem;
  margin-top: 0.1rem;
}
#clients-edit textarea::placeholder {
  font-size: unset;
}

#mailings-list #mailings-list-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
@media (min-width: 768px) {
  #mailings-list #mailings-list-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
#mailings-list #mailings-list-header p {
  flex-shrink: 0;
}
#mailings-list #mailings-list-header form {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.7rem;
}
@media (min-width: 768px) {
  #mailings-list #mailings-list-header form {
    justify-content: end;
    margin-bottom: 0;
  }
}
#mailings-list #mailings-list-header form div.control {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 0.3rem;
}
#mailings-list #mailings-list-header form div.control label {
  all: unset;
}
#mailings-list #mailings-list-header form div.control button {
  all: unset;
}
#mailings-list div#pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
}
#mailings-list div#pagination-container p {
  font-size: 0.5rem;
  color: var(--color-primary-100);
}
#mailings-list div#pagination-container a {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-primary-100);
  padding: 0.75em 1.5em;
  text-decoration: none;
  font-size: 0.5rem;
  color: white !important;
}
#mailings-list div#pagination-container a:hover {
  background-color: var(--color-primary-80);
}
#mailings-list div#pagination-container a.disabled {
  background-color: grey;
  opacity: 0.2;
  color: black !important;
  cursor: not-allowed;
}

.mailings-show h2 {
  font-size: 0.8rem;
}

.stats-list form {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 1rem;
}
.stats-list form div.control {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 0.3rem;
}
.stats-list form div.control label {
  all: unset;
}
.stats-list form div.control button {
  all: unset;
}
.stats-list table .set {
  color: white;
  background-color: var(--color-primary-100);
}
.stats-list table .set:hover {
  background-color: var(--color-primary-80);
}

section#permission-management {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: center;
  gap: 1rem;
}
section#permission-management #permission-management--header {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  align-items: center;
}
section#permission-management table section.permission-management--cell {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
section#permission-management table section.permission-management--cell .permission-management--unit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
}
section#permission-management #permission-management--footer {
  width: 100%;
  margin-top: -0.5rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
section#permission-management #permission-management--footer button[disabled] {
  cursor: not-allowed;
}

p.alert {
  color: white;
  font-size: 0.6rem;
  font-weight: normal;
  margin: 8px 0;
  display: block;
  text-align: center;
  position: relative;
  padding: 0.5rem 2rem;
}
p.alert.success {
  background-color: #007a53;
}
p.alert.error {
  background-color: #ff0000;
}
p.alert.warning {
  background-color: #ffcc00;
}
p.alert:after {
  background: url(/images/svg/close-white.svg) 50%/contain no-repeat;
  content: "";
  height: 0.75rem;
  opacity: 0.5;
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  transition: opacity 0.15s ease-out;
  width: 0.75rem;
  font-size: 1rem;
  font-weight: normal;
  color: white;
}
p.alert:hover:after {
  opacity: 1;
}

.nav-client-logo {
  width: auto;
  height: 30px;
  margin: 8px 0;
}

.nav-client-name {
  font-size: 1rem;
  font-weight: 700;
  margin: 8px 0;
}

.card-sending-progress-wrapper {
  position: absolute;
  width: 105%;
  height: 85px;
  left: -2.5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #e5e5e5;
  margin-top: -5px;
  box-shadow: 1px 5px 5px -5px #747474;
  overflow: hidden;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
@media (min-width: 480px) and (max-width: 768px) {
  .card-sending-progress-wrapper {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.card-sending-progress {
  font-weight: bold;
  opacity: 0.25;
}
.card-sending-progress.active {
  opacity: 1;
}
.card-sending-progress[data-step] {
  cursor: pointer;
}
.card-sending-progress[data-step=last-progress] {
  margin-right: 0.4rem;
}
.card-sending-progress[data-step=last-progress] svg.delete {
  fill: #f31515;
}
.card-sending-progress[data-step=last-progress] svg.bi-bookmark-check-fill {
  fill: #007a53;
}
.card-sending-progress span {
  color: var(--client-color);
  display: block;
  font-weight: normal;
  margin-bottom: 5px;
}
@media (max-width: 560px) {
  .card-sending-progress span {
    text-align: center;
  }
}
.card-sending-progress.arrow-right-container {
  position: relative;
  margin-left: 0.75rem;
}
.card-sending-progress.arrow-right-container svg {
  position: absolute;
  height: 110px;
  width: 110px;
  top: -55px;
  left: -70px;
  opacity: 0.333;
  color: #747474;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.card-sending-progress.arrow-right-container svg path {
  stroke-width: 0.25;
}

.card-sending-step {
  margin-top: 150px;
}
.card-sending-step.hidden {
  display: none;
}
.card-sending-step h3 {
  color: var(--client-color);
}
.card-sending-step textarea#message, .card-sending-step textarea#signature {
  font-size: 0.5rem;
}
.card-sending-step .cards {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px 50px;
}
.card-sending-step .cards .card {
  background-color: #e5e5e5;
  border: 2px solid #e5e5e5;
  border-radius: 5px;
  padding: 10px;
  flex-grow: 1;
  min-width: 250px;
  max-width: 290px;
}
@media (min-width: 1016px) and (max-width: 1163px) {
  .card-sending-step .cards .card {
    max-width: 250px;
  }
}
@media (min-width: 630px) and (max-width: 768px) {
  .card-sending-step .cards .card {
    max-width: 250px;
  }
}
.card-sending-step .cards .card.checked {
  border-color: limegreen;
  position: relative;
}
.card-sending-step .cards .card.checked svg.bi-bookmark-check-fill {
  display: block;
  position: absolute;
  height: 1.3rem;
  width: auto;
  fill: limegreen;
  right: 0;
  top: 0;
  margin-top: 4px;
  margin-right: -2px;
}
.card-sending-step .cards .card.checked svg.bi-bookmark-check-fill path.checkmark {
  fill: #000;
}
.card-sending-step .cards .card svg.bi-bookmark-check-fill {
  display: none;
}
.card-sending-step .cards .card a {
  display: block;
  position: relative;
}
.card-sending-step .cards .card a:hover {
  background-color: #313131;
}
.card-sending-step .cards .card a:hover svg {
  opacity: 0.9;
}
.card-sending-step .cards .card a:hover img {
  opacity: 0.6;
}
.card-sending-step .cards .card a svg {
  position: absolute;
  opacity: 0;
  width: 60px;
  left: 40%;
  top: 35%;
  color: #e5e5e5;
}
.card-sending-step .cards .card a img {
  width: 100%;
  display: block;
}
.card-sending-step .cards .card label {
  display: inline-block;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  transition: background 0.15s ease-out;
  color: #fff;
  border-radius: 0.2em;
  padding: 0.75em 1.5em;
  margin: 0.5em 0;
  font-size: 0.5rem;
  letter-spacing: 0.05em;
  background-color: var(--client-color);
  border: none;
}
.card-sending-step .cards .card label:hover {
  opacity: 0.8;
}
.card-sending-step .cards .card label.template-missing {
  cursor: not-allowed;
}
.card-sending-step .cards .card input[type=radio] {
  appearance: none;
  -moz-appearance: 0;
  -webkit-appearance: none;
  opacity: 0;
  width: 0;
  margin: 0;
}
@media (max-width: 480px) {
  .card-sending-step .choose-recipients-instructions__grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 1.5rem;
    margin-top: 1rem;
  }
}
.card-sending-step .choose-recipients-instructions textarea#recipients {
  font-size: 0.5rem;
}
.card-sending-step .button-previous-step {
  opacity: 0.6;
}
.card-sending-step strong.branded {
  color: var(--client-color);
}
.card-sending-step__footer {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
@media (max-width: 480px) {
  .card-sending-step__footer {
    flex-direction: column-reverse;
  }
}
.card-sending-step__footer .button-single-option {
  margin-left: auto;
}
@media (max-width: 480px) {
  .card-sending-step__footer .button-single-option {
    margin: 0 auto;
  }
}
.card-sending-step label textarea:not([data-tinymce]) {
  height: 6rem;
}
.card-sending-step .button,
.card-sending-step button,
.card-sending-step input[type=submit] {
  min-width: 215px;
}
.card-sending-step .send-new-card {
  min-width: unset;
  margin-top: 10px;
}
.card-sending-step .send-new-card > svg {
  height: 0.4rem;
  width: auto;
  margin-left: 10px;
}
.card-sending-step .card-summary {
  border: 1px solid #e5e5e5;
}
.card-sending-step .summary-email-header {
  background-color: #e5e5e5;
  display: flex;
  justify-content: space-between;
  padding: 5px;
}
.card-sending-step .summary-email-header svg {
  color: #fff;
  height: 16px;
  width: 16px;
}
.card-sending-step .summary-email-header .inbox span {
  color: #b4b4b4;
}
.card-sending-step .summary-email-details {
  padding: 15px;
}
.card-sending-step .summary-email-details strong {
  margin-right: 3px;
}
.card-sending-step .summary-email-template {
  margin-top: 10px;
}
.card-sending-step .summary-email-template iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}
.card-sending-step .button,
.card-sending-step button,
.card-sending-step input[type=submit] {
  background-color: var(--client-color);
}
.card-sending-step .button:hover,
.card-sending-step button:hover,
.card-sending-step input[type=submit]:hover {
  background-color: var(--client-color);
  opacity: 0.8;
}

form[data-submit="1"] {
  position: relative;
}
form[data-submit="1"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2rem;
  height: 2rem;
  background-image: url(/images/svg/loading.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 10;
}

@media (max-width: 560px) {
  .card-sending-progress:not(.active) {
    display: none;
  }
  .card-sending-progress.active {
    margin: 0 auto;
  }
}
.section-sending-cards {
  position: relative;
  padding: 1rem 2rem;
  box-shadow: 0px 0px 6px 1px #ccc;
  border-radius: 10px;
  z-index: 0;
}
@media (max-width: 768px) {
  .section-sending-cards {
    max-width: 100%;
  }
}
.section-sending-cards .alerts > * {
  margin-bottom: 1rem;
}
.section-sending-cards h1 {
  margin-top: 0;
  text-align: center;
  font-weight: normal;
  text-transform: uppercase;
  font-size: 1.2rem;
  color: #585353;
  margin-bottom: 1rem;
}
.section-sending-cards h4 {
  margin-top: 0;
}
.section-sending-cards .extremity {
  position: absolute;
  width: 1px;
  height: 78.5px;
  opacity: 0.8;
  background-color: #ccc;
}
.section-sending-cards .extremity.left-wrapper-extremity {
  left: -2.5%;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 1px 0px 10px 0.2px black;
}
.section-sending-cards .extremity.right-wrapper-extremity {
  right: -2.5%;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  box-shadow: -1px 0px 10px 0.2px black;
}
.section-sending-cards .triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 15px solid #747474;
  opacity: 0.333;
  margin-top: 77.5px;
}
@media (max-width: 1320px) {
  .section-sending-cards .triangle {
    display: none;
  }
}
@media (max-width: 768px) {
  .section-sending-cards .triangle {
    display: none;
  }
}
.section-sending-cards .triangle.triangle-left {
  left: -2.35%;
  transform: rotate(45deg);
}
.section-sending-cards .triangle.triangle-right {
  right: -2.35%;
  transform: rotate(-45deg);
}

#step-3-instructions-detailed {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.2rem;
}
#step-3-instructions-detailed > * {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  gap: 0.1rem;
}
#step-3-instructions-detailed > * div {
  width: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#step-3-instructions-detailed > * p {
  margin: 0;
  width: 100%;
  font-size: 0.5rem;
}

@media (max-width: 768px) {
  body {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 480px) {
  body div#secondary-nav-bar {
    margin-bottom: 1rem !important;
    flex-direction: column;
    gap: 0.25rem;
  }
}
@media (max-width: 768px) {
  body div#secondary-nav-bar {
    margin: 2rem auto 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (max-width: 768px) {
  body .section-sending-cards {
    box-shadow: none;
    border-radius: 0;
  }
}

.errors-list {
  padding: 0;
  margin: 0.5rem 0 0 0.5rem;
  font-size: 12px;
  color: red;
}

.file-upload .image-preview-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}
.file-upload .image-preview-container img {
  width: 50%;
  height: auto;
}

label.color input[type=color] {
  flex: none;
  width: 100%;
}

.button,
button,
input[type=submit] {
  background-color: var(--color-primary-100);
  border: none;
  cursor: pointer;
}
.button:hover,
button:hover,
input[type=submit]:hover {
  background-color: var(--color-primary-80);
}
.button.more,
button.more,
input[type=submit].more {
  margin-top: 25px;
}
.button.delete,
button.delete,
input[type=submit].delete {
  background: none;
  width: 100%;
  color: #f31515;
  border: 0.05rem solid #ebecef;
  border-radius: 0.25rem;
}
.button.delete:hover,
button.delete:hover,
input[type=submit].delete:hover {
  color: #fff;
}

body h2 {
  border-top: 1px solid #ebecef;
}
body div.bilanSection {
  background: #fff;
  padding: 0;
}

form label,
form div.bilan label {
  border: 0.05rem solid #ebecef;
  border-radius: 0.25rem;
  box-shadow: 0 0 5px rgba(158, 165, 177, 0.1);
  background-color: #fff;
}

.controls {
  border-top: 1px solid #ebecef;
}

form label textarea {
  border: none;
  outline: none;
}
form label textarea::placeholder {
  opacity: 0.6;
  font-size: initial;
}

nav {
  font-size: 0.5rem;
  width: 100vw;
  position: fixed;
  left: 0;
  top: 0;
  padding: 0 0.5rem;
  background: #fff;
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  z-index: 1;
}
nav #client-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1rem;
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}
nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #000;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem;
}
nav a:hover {
  text-decoration: underline;
}
nav a.active {
  font-weight: bold;
}
nav a.signout {
  background: none;
}
nav .group {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
nav .group .commands {
  display: none;
  position: absolute;
  white-space: nowrap;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.5);
  background: #fff;
  top: 100%;
  min-width: 100%;
}
nav .group .commands a {
  padding: 0.25rem 0.75rem 0.25rem 0.25rem;
  transition: all 0.15s ease-out;
}
nav .group .commands a:hover {
  background: rgba(0, 0, 0, 0.1);
  text-decoration: none;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
nav .group:hover .commands {
  display: flex;
}
nav .group a {
  display: block;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem;
}
nav .group a:hover {
  text-decoration: underline;
}
nav #utilities {
  margin-left: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

div#secondary-nav-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 1rem auto 0.5rem;
  max-width: 30rem;
  width: 100%;
}
div#secondary-nav-bar #client-logo-container img {
  max-width: 200px;
  width: 100%;
  height: auto;
}
div#secondary-nav-bar #utilities {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
}
div#secondary-nav-bar #utilities .utility {
  background-color: #ccc;
  padding: 0.25rem 0.35rem;
  border-radius: 5%;
  color: black;
  text-decoration: none;
  font-size: 0.4rem;
}

body#signin form {
  max-width: 30rem;
  display: flex;
  flex-direction: column;
  margin-top: 10%;
}
@media (min-width: 768px) {
  body#signin form {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 60%;
  }
}
body#signin form div:first-child {
  flex-basis: 50%;
}
body#signin form div#separator {
  display: none;
}
@media (min-width: 768px) {
  body#signin form div#separator {
    display: block;
    height: 300px;
    width: 2px;
    background-color: var(--client-color);
    margin: 0 1rem;
  }
}
body#signin form div:last-child {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
body#signin form div:last-child input[type=submit] {
  background-color: var(--client-color);
}
body#signin form div:last-child * {
  width: 80%;
  margin: 0 auto;
}
@media (min-width: 768px) {
  body#signin form div:last-child * {
    width: 100%;
  }
}
body#signin #logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: auto;
  margin: 2rem auto;
}
@media (min-width: 768px) {
  body#signin #logo-container {
    width: auto;
    max-width: 250px;
  }
}
@media (min-width: 1024px) {
  body#signin #logo-container {
    max-width: 300px;
  }
}
body#signin #logo-container img {
  height: auto;
}

svg#yes {
  fill: green;
  width: 16px;
}
svg#no {
  fill: red;
  height: 16px;
}
svg.check-filled {
  height: 1rem;
  width: auto;
  fill: limegreen;
}
svg.check-unfilled {
  height: 1rem;
  width: auto;
  fill: #ccc;
}
svg.delete {
  height: 1.5rem;
  width: auto;
  fill: #f31515;
}
svg.bi-bookmark-check-fill {
  height: 1.5rem;
  width: auto;
  fill: #007a53;
}

table tbody tr td.text-center {
  text-align: center;
}

:root {
  --color-primary-100: rgba(31, 53, 255, 1);
  --color-primary-80: rgba(31, 53, 255, 0.8);
  --color-primary-60: rgba(31, 53, 255, 0.6);
  --color-primary-40: rgba(31, 53, 255, 0.4);
  --color-primary-20: rgba(31, 53, 255, 0.2);
}