﻿:root {

  /* primary colors */
  --white: #ffffff;
  --turquoise: #009eae;
  --anthracite: #222a2b;
  --anthracite-opa: #222a2b50;
  --hovergrey: #778c8f;


  /* secondary colors */
  --main-bg-color: #eafcff;
  --pinegreen: #10454a;
  --deepgreen: #092022;
  --watergreen: #ccecef;
  --lightgrey: #5e6566;
  --legend-grey: #6c7a7c;

  /* alerts */
  --alert-bg: #eb2d43;
  --danger-red-secondary: #ee4c5f;
  --warning-bg: #fff2d4;
  --warning-yellow-secondary: #bf8700;
  --success-bg: #009eae;
  --success-green-secondary: #10454a;
  --process-bg: #c1e7eb;
  --process-blue-secondary: #e3f4f6;
  --text-bg-success: #53d918;

  /* fonts */
  --bs-font-sans-serif: 'Ubuntu', sans-serif;
  --body-color: var(--anthracite);
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.2;

  /*padding*/
  --bs-card-cap-padding-x: 3.5rem;

  /*borders*/
  --border-radius-1: 1rem;
  --bs-nav-tabs-border-width: 3px;

}

body {
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  background-color: var(--main-bg-color);
  color: var(--body-color);
}

a {
  color: unset;
  text-decoration: none;
  transition: all .3s ease-in-out;
  cursor: pointer;
}

a.underline {
  color: var(--turquoise);
  text-decoration: none;
  cursor: pointer;
  text-decoration: underline 0.15em rgba(0, 158, 174, 0);
  transition: text-decoration-color 300ms;
}

a.underline:hover {
  color: var(--turquoise);
  text-decoration-color: rgba(0, 158, 174, 1);
}

a.link-second:hover {
  color: var(--turquoise);
  transition: all .3s ease-in-out;
}

a.link-danger {
  color: var(--alert-danger);
  transition: all .3s ease-in-out;
}

a.link-danger:hover {
  color: var(--turquoise);
  transition: all .3s ease-in-out;
}

h1 {
  font-size: 3.25rem !important;
}

h1 .user {
  color: var(--turquoise);
  text-transform: capitalize;
}


.card h1 {
  font-size: 2.1rem !important;
}

h2 {
  font-size: 1.5rem !important;
  font-weight: bold;
}

.inner-pages h3 {
  font-size: 1.2rem;
  font-weight: bold;
  width:95%;
}

h4 {
  font-size: var(--bs-body-font-size);
  font-weight: bold;
}

.fs-7 {
  font-size: .875rem !important;
}

.fs-8 {
  font-size: .75rem !important;
}

.w-70 {width:70%!important;}

.text-primary {
  color: var(--turquoise) !important;
  font-weight: bold;
}

.text-primary:hover {
  color: var(--anthracite) !important;
}


.text-third:hover {
  color: var(--anthracite) !important;
}

.text-muted {
  /*   color: var(--anthracite-opa) !important; */
  color: var(--anthracite) !important;
}

.rounded {
  border-radius: 20px !important;
}

.initial-hidden {
  display: none;
}

hr {
  color: var(--turquoise);
  margin-top: 3rem !important;
  border: 2px solid;
  opacity: .1;
}

*:not(#my-dropzone):focus,
.form-control:focus,
.form-select:focus,
.form-select,
input,
select {
  outline: none !important;
  box-shadow: none !important;
}

.form-check-input {
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--turquoise);
  border-color: var(--turquoise);
}

.checkbox-xl .form-check-input {
  top: 1.2rem;
  scale: 1.7;
  margin-right: 0.8rem;
}

.dropdown-toggle::after {
  margin-left: auto;
}

/* breadcrumb */
.breadcrumb-item+.breadcrumb-item::before,
.breadcrumb-item {
  font-size: 1rem;
  color: #778c8f;
  content: var(--bs-breadcrumb-divider, "");
  padding-left: 0 !important;
}

.breadcrumb-item.active {
  color: var(--anthracite);
  font-weight: bold;
}

/* end of breadcrumb */

.border-top {
  border-top: 3px solid var(--watergreen) !important;
}

.border-bottom {
  border-bottom: 3px solid var(--watergreen) !important;
}

.page-content {
  width: calc(100% - 17rem);
  margin-left: 17rem;
  transition: all 0.4s;
}

@media (min-width: 1400px) {

  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1530px;
  }
}

@media (min-width: 1980px) {

  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1980px;
  }
}



@media (max-width: 1199px) {
  #devices-display {
    display: block;
  }
}

@media (min-width: 1200px) {
  #devices-display {
    display: none;
  }
}

.max-w {
    max-width:400px;
  }

@media (max-width:376px) {
  .max-w {
    max-width:150px;
  }

  .fs-xs-7 {
    font-size:.7rem!important;
  }
}

@media screen and (min-width:377px) and (max-width:575px) {
  .max-w {
    max-width:270px;
  }
}

@media screen and (min-width:576px) and (max-width:767px) {
  .max-w {
    max-width:400px;
  }
}

@media screen and (min-width:768px) and (max-width:991px) {
  .max-w {
    max-width:300px;
  }
}



/*
* GENERIC
*/

/* fonts */
.text-bg-secondary {
  color: var(--hovergrey) !important;
  background-color: #eef1f2 !important;
}

.text-troncate {
  text-overflow: ellipsis;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
}

 .cell-text-troncate {
  text-overflow: ellipsis;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
}

@media screen and (max-width: 575px) {
.text-truncate-mobile {
 max-width: 120px;
}

}


[class^="max-ch"] { padding-right: 15px; }

.max-ch-70 { max-width: 70ch; }
.max-ch-50 { max-width: 50ch; }

@media screen and (max-width: 767.98px) {
  [class^="max-ch"] { max-width: 20ch; }

  .cell-text-troncate {
  text-overflow: ellipsis;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
}
}

.files .file-name {
  text-overflow: ellipsis;
  max-width: 50ch;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
}

/* buttons */
.btn-save {
  background: var(--turquoise);
  border-radius: 50px;
  font-size: 1.25rem;
  font-weight: bold;
  padding: .5rem;
  color: white;
  border: 2px solid var(--turquoise);
}

.btn-save i {
  font-size: 2rem;
}

.btn-save:hover {
  color: var(--turquoise);
  background-color: white;
  border: 2px solid var(--turquoise);
}

.btn-save.btn-small {
  font-size: 1rem;
}

.btn-save.btn-small i {
  font-size: 1.5em;
}

.btn-primary {
  background-color: var(--turquoise);
  border: none;
}

.btn-edit:hover {
  transition: .3s ease-in-out;
  color: var(--turquoise);
}

.btn-fav {
  color: white;
  background-color: var(--turquoise);
  font-weight: 700;
  border-radius: 50px;
  padding: 10px 15px 10px 10px;
  border: 2px solid var(--turquoise);
  text-overflow: ellipsis;
  font-size: 15px;
}

.btn-fav>*,
.btn-fav>*>*:not(i) {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.btn-fav i {
  padding: 5px;
  border-radius: 50%;
  color: var(--turquoise);
  background-color: white;
  margin-right: 8px;
}

.btn-base-dag {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  padding: 5px 10px 5px 5px;
  border-radius: 25px;
  font-weight: bold;
}

.btn-primary-dag {
  color: var(--turquoise);
  border: 2px solid var(--turquoise);
  background-color: white;
}

.btn-primary-dag i {
  background-color: var(--turquoise);
  color: white;
  border-radius: 50%;
  padding: 0.5rem;
  margin-right: 10px;
}

.btn-primary-dag:hover {
  background-color: var(--turquoise);
  color: white;
}

.btn-secondary-dag {
  color: white;
  border: 2px solid var(--turquoise);
  background-color: var(--turquoise);
}

.btn-secondary-dag i {
  background-color: white;
  color: var(--turquoise);
  border-radius: 50%;
  padding: 0.5rem;
  margin-right: 10px;
}

.btn-secondary-dag:hover,
.btn-fav:hover {
  background-color: white;
  border: 2px solid var(--turquoise);
  color: var(--turquoise);
}

.btn-third-dag {
  color: white;
  border: 2px solid var(--alert-bg);
  background-color: var(--alert-bg);
}

.btn-third-dag i {
  background-color: white;
  color: var(--alert-bg);
  border-radius: 50%;
  padding: 0.5rem;
  margin-right: 10px;
}

.btn-third-dag:hover {
  background-color: white;
  color: var(--alert-bg);
}

/* alert */
.alert {
  border-radius: var(--border-radius-1);
}

.alert h4 {
  font-size: 1.25rem;
  font-weight: bold;
}

.alert i {
  font-size: 3rem;
  padding: 30px 15px;
  border-radius: var(--border-radius-1);
}

.alert.alert-danger,
.alert.alert-success,
.alert.alert-warning,
.alert.alert-info,
.alert.alert-process {
  border: none;
}

.alert.alert-danger .lni {
  background-color: var(--danger-red-secondary);
}

.alert.alert-process .lni {
  background-color: var(--process-bg);
  color: white;
}

.alert.alert-process {
  background-color: var(--process-blue-secondary);
}

.alert.alert-process h4 {
  font-size: var(--bs-body-font-size);
}

.alert.alert-process p,
.alert.alert-danger p,
.alert.alert-success p,
.alert.alert-warning p,
.alert.alert-info p {
  font-size: 0.8rem;
}

.alert.alert-danger .btn-close,
.alert.alert-success .btn-close,
.alert.alert-warning .btn-close,
.alert.alert-info .btn-close {
  width: 100%;
}

.alert.alert-danger .btn-close,
.alert.alert-danger .btn-close i {
  background: none;
  opacity: 1;
  font-size: .75rem;
  color: white;
}

.alert.alert-danger .btn-close i {
  font-size: 1rem;
}

.text-bg-success {
  background-color: var(--text-bg-success) !important;
}

.alert.alert-success {
  background-color: var(--turquoise);
  color: white;
  border: 1px dashed var(--success-green-secondary);
}

.alert-success i {
  color: var(--turquoise);
  padding: 1rem;
  background-color: var(--watergreen);
}


/* cards */

.card {
  border: none;
  box-shadow: 0 0 10px 3px rgba(0, 134, 148, 0.1);
  border-radius: var(--border-radius-1);
}

.card-header,
.card-footer {

  font-size: 1.5rem;
  font-weight: 700;
  color: var(--anthracite);
  background: white;
}

.card-header {
  border-bottom: 2px solid var(--watergreen);
  border-radius: 1rem 1rem 0 0 !important;
}

.card-footer {
  border-top: 3px solid var(--watergreen);
  border-radius: 0 0 1rem 1rem !important;
}

.card-body section {
  padding-bottom: 1rem;
}

@media (min-width:1200px) {
  .card-body section {
    padding-bottom: 4rem;
  }
}



/* badges */
.badge {
  font-family: var(--bs-body-font-family);
}

.badge-status {
  font-size: 11px !important;
  border-radius: 20px;
  border: 2px solid white;
}

.badge-silver i {
  color: #6b7880;
}

.badge-gold,
.badge-gold i {
  color: #846300;
}

.badge-silver {
  background: -webkit-linear-gradient(left, #c0c0c0 0%, #ededed 20%, #ededed 50%, #c0c0c0 65%, #ededed 85%, #c0c0c0 100%);
  color: var(--anthracite);
  border: 2px solid white;
}

.badge-basket {
  z-index: 1;
  border-radius: 20px;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 52px !important;
  top: 40px;
  padding: 0 !important;
}

.badge-delivery {
  background: var(--turquoise);
}

.badge-success {
  background: var(--text-bg-success);
}

.badge-pending,
.badge-pending-secondary {
  background: var(--warning-yellow-secondary);
}

.badge-pending-secondary {
  background: var(--success-bg);
}

.badge-require {
  background: black;
}

.badge-cancel {
  background: var(--lightgrey);
}

.badge-time {
  background-color: #222a2b50;
  color: var(--anthracite);
}

.badge-outline {
  border: solid 2px var(--watergreen);
  color: var(--body-color);
}

a.badge-outline { transition: border-color 0.3s ease-out; }
a.badge-outline:hover { border-color: var(--turquoise); }


/* accordion */
.accordion-button,
.accordion-button:not(.collapsed) {
  color: inherit !important;
  background-color: inherit !important;
  box-shadow: none !important;
}

.accordion-item {
  border: none;
  transition: height 0.3s ease-out;
  /* Smooth transition effect */
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, .125);
}

.accordion-button::after,
.accordion-button:not(.collapsed)::after {
  /* content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' height='16' width='16' viewBox='0 0 512 512'><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path d='M256 0a256 256 0 1 0 0 512A256 256 0 1 0 256 0zM135 241c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l87 87 87-87c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L273 345c-9.4 9.4-24.6 9.4-33.9 0L135 241z'/></svg>")!important; */
  position: relative;
  top: 20px;
  right: -10px;
}

.accordion-button::after {
  /* Customize this if needed */
}

.accordion-button:not(.collapsed)::after {
  /* Customize this if needed */
}

.accordion-button::after,
.accordion-button:not(.collapsed)::after {
  position: absolute;
  top: 25%;
  /*right: 10px;*/
}

#orders_details .accordion-child .accordion-button:not(.collapsed)::after,
#orders_details .accordion-child .accordion-button::after {
  right: .5rem;
  width:1rem!important;
  height:1rem!important;
  background-size:1rem!important;
}

/* Nav Tabs */
.dag-nav-tabs .nav-tabs {
  border-bottom: 6px solid var(--watergreen);
}
.dag-nav-tabs .nav-link {
  color: var(--hovergrey);
  font-size: 1.25rem;
  font-weight: bold;
  border: none;
  margin-bottom: calc(-1 * 6px);
  border-bottom: 6px solid transparent;
}

.dag-nav-tabs .nav-link:hover {
  color: var(--turquoise);
  border-color: var(--turquoise);
}

.dag-nav-tabs .nav-tabs .nav-link.active {
  color: var(--turquoise);
  font-size: 1.25rem;
  font-weight: bold;
  border-color: var(--turquoise);
}

/* select */

.form-select {
  padding-left: 1.5rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
  border-radius: 1.25rem;
}

@media (max-width:1199px) {
  .dag-nav-tabs .nav-tabs {
    flex-wrap: nowrap;
    overflow-y: auto;
    border:none;
  }

  .dag-nav-tabs .nav-link {
    border-color: var(--watergreen);
    flex: 0 0 fit-content;
    margin:0;

  }
}

/*animation*/
.grow {
  transition: all .2s ease-in-out;
}

.grow:hover {
  transform: scale(1.1);
}

/* .underline::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 5px;
  bottom: 0;
  left: 0;
  background-color: var(--turquoise);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.underline:hover::before{
  transform: scaleX(1);
} */

/* highlights */
.opacity {
  color: var(--legend-grey);
}

.searchBox {
  border: 1px solid var(--watergreen);
  border-radius: 50px;
}

.searchBox .btn {
  color: var(--turquoise);
}


/*
* ==========================================
* DROPZONE
* ==========================================
*/
.dropzone {
  border-radius: 50px;
  border: 1px dashed rgb(0, 158, 174);
  border-image: url('') none;
  width: 100%;
  max-width: 410px;
  min-height: unset;
  padding: 5px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 0 5px var(--pinegreen);
  background:var(--pinegreen);
}

.dropzone i {
  font-size: 1.2rem;
  color: white;
  background-color: var(--turquoise);
  border-radius: 50px !important;
  padding: 10px;
}

.dropzone .dz-message {
  text-align: left;
  color: white;
  margin: 5px 1em;
}

.dropzone .dz-message span:first-child {
  font-size: 14px;
}

.dropzone .dz-message span:last-child {
  font-size: 11px;
  font-weight: 300;
}

/*homepage*/
.dag__ctas #myDropzone {
  border: 1.5rem solid white;
  border-radius: 15px;
  width: 100%;
}

.dag__ctas .dropzone {
  background: #d5f7fb;
  box-shadow: 0 0 0 .7rem #d5f7fb;
  border-radius: 5px !important;
  max-width: 100%;
  padding: 15px;
}

.dag__ctas .dropzone i {
  font-size: 1.5rem;
}

.dag__ctas .dropzone .dz-message {
  color: var(--turquoise);
}

/*
* ==========================================
* SECONDARY NAVIGATION (TOP)
* ==========================================
*/

#topmenu {
  background-color: var(--deepgreen);
  color: white;
}

#topmenu .navbar-nav li {
  position: relative;
  border-bottom: 6px solid transparent;
  transition: 0.3s ease-in-out;
}

#topmenu .navbar-nav li a {
  text-decoration: none;
}

#topmenu .navbar-nav li:not(:last-child):hover {
  border-bottom: 6px solid var(--turquoise);
}

.navbar#topmenu {
  padding: 0 !important;
}

.navbar#topmenu .d-lg-navbar li {
  flex: 1 1 auto;
}

.navbar#topmenu .d-lg-navbar li:not(:last-child) {
  border-right: 2px solid #223739;
}

.topmenu__orders__details {
  font-size: 0.75rem;
  font-weight: 400;
  color: #a5a9a9;
}

.topmenu__file-upload,
.topmenu__contact li {
  font-size: 0.75rem;
}

.topmenu__file-upload {
  font-size: 0.75rem;
}

.topmenu__contact li {
  font-weight: 700;
  border-radius: 50px;
  padding: 5px 15px 5px 5px;
  margin-left: auto;
  margin-right: auto;
}

/*
* PROGRESS BAR
*/
.progress { border-radius: 999px; }
.progress-bar { background-color: #53d918; }

.topmenu__progress__label {
  font-size: 0.7rem;
  font-weight: 700;
}

.topmenu .progress-outer {
  background: #223638;
  padding: 2px 48px 2px 2px;
  border: 1px solid #3a4d4e;
  border-radius: 45px;
  position: relative;
}

.topmenu .progress,
.topmenu .progress-stacked {
  background: #223638;
  border-radius: 20px;
  margin: 0;
  height: 0.6rem;
}

.topmenu .progress .progress-bar {
  border-radius: 20px;
  background: var(--turquoise);
  box-shadow: none;
  animation: animate-positive 2s;
}

.topmenu .progress .progress-value-before,
.topmenu .progress .progress-value-after {
  font-size: 12px;
  font-weight: 700;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.topmenu .progress .progress-value-before {
  left: 2px;
}

.topmenu .progress .progress-value-after {
  right: 0;
}


.topmenu .badge-status {
  color: #846300 !important;
  border: none;
}

@keyframes animate-positive {
  0% {
    width: 0;
  }
}


/*
* ==========================================
* MAIN NAVIGATION (SIDE)
* ==========================================
*/

/* Sidebar Main Menu */
.sidebar-open {
  overflow: hidden;
  position:fixed;
}

/* CSS pour l'overlay qui dÃƒÂ©sactive le scrolling */
.sidebar-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  /* Assurez-vous que l'overlay est au-dessus du reste du contenu */
}

/* Appliquer l'overlay entre 768 et 1199px */
@media (min-width: 769px) and (max-width: 1199px) {


  /* Ajoutez le style pour masquer la sidebar entre 768 et 1199px */
  .sidebar-open #sidebar {
    margin-left: -17rem;
  }
}

/* Appliquer l'overlay uniquement en dessous de 768px */
@media (max-width: 1199px) {
  .sidebar-open .sidebar-overlay {
    display: block;
    /* Afficher l'overlay lorsque la barre latÃƒÂ©rale est ouverte */
  }

  .sidebar-open .content {
    margin-left: 0;
    /* Ajuster selon vos besoins */
    overflow-x: hidden;
  }

  /* Ajoutez le style pour masquer la sidebar sous 768px */
  .sidebar-open #sidebar {
    margin-left: 0;
  }



}

/* CSS pour ajuster la largeur du contenu principal lorsque la barre latÃƒÂ©rale est ouverte */
.sidebar-open .content {
  margin-left: 17rem;
  /* Ajustez selon la largeur de votre barre latÃƒÂ©rale */

}


#sidebar .nav-link.nav-link-focus {
  color: white;
  background: var(--turquoise);
  border-radius: 0 50px 50px 0;
}

#sidebar .nav-link.nav-link-focus:hover { background : #0D5C62 !important; }
#sidebar .nav-link.nav-link-focus i { color: white; }




.verticalNav {
  min-width: 17rem;
  width: 17rem;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  transition: all 0.4s;
  z-index: 9999;
}

.verticalNav i:not(.lni-star-fill):not(.badge) {
  font-size: 28px;
  color: var(--turquoise);
}

.verticalNav li {
  border-radius: 0 50px 50px 0;
  transition: all .2s ease-in-out;
}

.verticalNav a {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--body-color);
  font-size: 1rem;
  font-weight: bold;
  padding: 0.75rem 0;
  border-radius: 0 50px 50px 0;
}

.verticalNav li:active a,
.verticalNav li:not(.dropdown-lang):hover a:not(.dropdown-item) {
  color: white;
  background: var(--turquoise);
  border-radius: 0 50px 50px 0;
}

.verticalNav li:hover i:not(.lni-star-fill):not(.badge) {
  color: white;
}

.verticalNav .badge-silver,
.verticalNav .badge-silver i {
  font-size: 9px;
}

.verticalNav span:not(.badge) {
  padding-left: 1rem;
}

.verticalNav .dropdown-lang {
  border: 1px solid var(--watergreen);
  border-radius: 50px;
  font-size: .75rem;
}

.verticalNav .dropdown-toggle::after {
  margin-left: auto;
}

.verticalNav .dropdown-lang a {
  font-size: .75rem;
  font-weight: 400;
  padding: 0;
}

.verticalNav .dropdown-lang .fi {
  font-size: 1rem;
  padding-right: 1rem;
  border-right: 1px solid var(--watergreen);
}


/*
* SEARCH FORM
*/

#search-btn {
  position: relative;
}

#search-overlay {
  display: none;
}

.block {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  text-align: center;
  background: rgba(0, 0, 0, 0.9);
  border: #a0a0a0 solid 1px;
  margin: 0;
}

.block:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: 0;
  /* Adjusts for spacing */
  /* For visualization 
  background: #808080; width: 5px;
  */
}

.centered {
  display: inline-block;
  vertical-align: middle;
  width: 50%;
  padding: 10px 15px;
  color: #FFF;
  border: none;
  background: transparent;
}

#search-box {
  position: relative;
  width: 100%;
  margin: 0;
}

#search-form {
  height: 4em;
  border: 1px solid #999;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  background-color: #fff;
  overflow: hidden;
}

#search-text {
  font-size: 14px;
  color: #ddd;
  border-width: 0;
  background: transparent;
}

#search-box input[type=text] {
  width: 90%;
  padding: 20px;
  color: #333;
  outline: none;
  font-size: 1.4em;
}

#search-button {
  position: absolute;
  top: 0;
  right: 0;
  height: 4.7em;
  width: 100px;
  font-size: 14px;
  color: #fff;
  text-align: center;
  line-height: 42px;
  border-width: 0;
  background-color: #4d90fe;
  -webkit-border-radius: 0 2px 2px 0;
  -moz-border-radius: 0 2px 2px 0;
  border-radius: 0 2px 2px 0;
  cursor: pointer;
}


#close-btn {
  position: fixed;
  top: 1em;
  right: 1em;
}

#close-btn:hover {
  color: #777;
  cursor: pointer;
}

/* for toggle behavior */

#sidebar.active {
  margin-left: -17rem;
}

#content.active {
  width: 100%;
  margin: 0;
}

@media (max-width: 1199px) {
  #sidebar {
    margin-left: -17rem;
  }

  #sidebar.active {
    margin-left: 0;
  }

  #content {
    width: 100%;
    margin: 0;
  }

  #content.active {
    margin-left: 17rem;
  }
}

/*
* ==========================================
* LOGIN / SIGNUP PAGE
* ==========================================
*/

.login-page {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
}

.signup-page {
  height: auto;
}

#account .input-group .input-group-text,
.login-page .input-group .input-group-text {
  border-right: 0;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

#account .input-group .form-control,
#account .input-group .form-select,
.login-page .input-group .form-control,
.login-page .input-group .form-select {
  border-left: 0;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

#account .form-dropdown {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-left: 1px solid var(--bs-border-color) !important;
}


.form-control:focus,
.form-select:focus {
  outline: none !important;
  box-shadow: none !important;
  border: 1px solid var(--watergreen);
}

/*
* ==========================================
* HOME
* ==========================================
*/
.is-homepage {
  background: url('../img/header-bg.png') no-repeat top;
  background-color: transparent;
  //background-size: contain;
  background-size: 100%;
  //background-position: 0 -5vw;
  background-position: 0 -10vw;
  position: relative;
  padding: 0;
}

@media (max-width: 767px) {
  .is-homepage { background: none; }
  #alert-container {min-height:50px!important;}
}


@media (min-width: 1980px) {
  .is-homepage { background-position: 0 -7vw; }
  h1 { font-size: 4.25rem !important; }
}

@media (min-width: 2200px) {
  .is-homepage { background-position: 0 -10vw; }
}

@media (min-width: 2500px) {
  .is-homepage { background-position: 0 -13vw; }
}

/*
* HEADER
*/
.subtitle {
  font-size: 1.5rem;
}

.home__infos .alert i {
  color: white;
  background-color: var(--warning-yellow-secondary);
  font-size: 3rem;
  border-radius: 5px;
  padding: 15px;
}

.home__infos .alert {
  color: var(--anthracite);
  border: 1px dashed var(--warning-yellow-secondary);
}

.dag__ctas i {
  font-size: 3rem;
  color: white;
  background-color: var(--turquoise);
  border-radius: 50%;
  padding: 15px;
}

.dag__ctas p {
  font-weight: bold;
  color: var(--turquoise);
}

.dag__ctas .card,
.dag__ctas p,
.dag__ctas i {
  transition: all 0.2s ease-in-out;
}

#documents .dag__ctas a:hover .card {
      background-color: var(--turquoise);
    box-shadow: 0 0 20px 3px rgba(0, 134, 148, 0.3);
}

#documents .dag__ctas a:hover i {
  color: var(--turquoise);
  background-color: white;
}

#documents .dag__ctas a:hover p {
  color: white;
}

#myDropzone .card {
  transition: all 0.2s ease-in-out;
}

.dag__ctas a:hover .card, #myDropzone:hover .card {
  box-shadow: 0 0 30px 20px rgba(0, 134, 148, 0.5);
  border-radius:20px;
  transition: all 0.2s ease-in-out;
}


.dag__ctas .card {
  min-height: 100%;
  border-radius: var(--border-radius-1);
}

.dag__ctas .card-body {
  padding: 2rem 1rem;
}

/* Override DROPZONE to CTA */

.dag__ctas #myDropzone {
  border: none;
  border-radius: 0;
}

.dag__ctas .dropzone {
  background: none;
  box-shadow: none;
  padding: 0;
  border: none;
}

.dag__ctas .dropzone i { font-size: 3rem; }

.dag__ctas .dropzone .dz-message {
  text-align: center;
  color: initial;
  margin: auto;
}

/*
*  INFOS SECTION
*/

/* cards */
.home__dashboard .card-frame {
  height: 135px;
  display: block;
  position: relative;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  width: 100%;
}

.home__dashboard .card-frame img {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
  transition: transform .2s ease-in-out;
  height: 135px;
  object-fit: cover;
}

.home__dashboard .card-frame:hover img {
  transform: translateX(-50%) scale(1.05);
}

.home__dashboard .card {
  border: none;
  border-radius: var(--border-radius-1);
}

.home__dashboard .card-header {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.home__dashboard .card-text {
  font-size: 0.75rem;
  color: var(--lightgrey);
}

.home__dashboard .highlight {
  font-weight: bold;
  color: #df7e00;
}

.home__blog__article .card {
  border: 1px solid var(--main-bg-color);
  box-shadow: none;
  transition: all 0.3s ease-in-out;
}

.home__blog .card-text {
  font-size: var(--bs-body-font-size);
  color: var(--anthracite);
}

.home__blog__article a {
  transition: all 0.3s ease-in-out;
  color: var(--turquoise);
}

.home__blog__article a:hover {
  transition: all 0.3s ease-in-out;
  color: var(--pinegreen);
}

.home__blog__article img {
  display: block;
  max-width: 100%;
}

.card-link:after {
  content: url('../img/arrow-right-long-solid.svg');
  position: relative;
  opacity: 0;
  top: 2px;
  right: -20px;
  transition: all 0.3s ease-in-out;
  color: var(--turquoise);
}

.card-link {
  transition: all .3s ease-in-out;
}

a:hover .card-link {
  transition: all 0.3s ease-in-out;
  padding-right: 24px;
  padding-left: 8px;
}

a:hover .card-link:after {
  transition: all 0.3s ease-in-out;
  opacity: 1;
  right: -10px;
  top: 2px;
  color: var(--pinegreen);
}


/*
* PROGRESS BAR
*/

.home__infos__status .progress { height: auto; background: transparent;}
.home__infos__status .progress-outer {
  background: #fff;
  padding: 5px;
  border: 1px solid #ccecef;
  border-radius: 999999px;
  margin-bottom: 20px;
}

.home__infos__status .progress-inner {
  flex: 1 1 auto;
  height: 12px;
  position: relative;
  z-index: 1;
  background: -webkit-linear-gradient(left, #eb2d43 0%, #ffe505 50%, #73de0a 100%); 
  border-radius: 9999px;
  margin-right: 10px;
  margin-left: -8px;
  overflow: hidden;
}

.home__infos__status .progress-inner .mask { position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background-color: #f2f2f2;
}

.home__infos__status .progress .badge { font-size: 12px; }

.home__infos__status .progress .progress-bar {
  border-radius: 20px;
  box-shadow: none;
  animation: animate-positive 2s;
}

.home__infos__status .progress .progress-value-before,
.home__infos__status .progress .progress-value-after {
  position: relative;
  z-index: 2;
  font-size: 12px !important;
  font-weight: 700;
}

.home__infos__status .fa-chevron-right { color: #9fa2a3; }

@keyframes animate-positive {
  0% {
    width: 0;
  }
}

/*scrollbar*/

.scroll-container-content {
  /*height: 460px;*/
  height:auto;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* width */
.scroll-container-content::-webkit-scrollbar {
  position: absolute;
  right: 3rem;
  width: 6px;
}

/* Track */
.scroll-container-content::-webkit-scrollbar-track {
  background: var(--main-bg-color);
  border-radius: 10px;
}

/* Handle */
.scroll-container-content::-webkit-scrollbar-thumb {
  background: var(--turquoise);
  border-radius: 10px;
}

/* Handle on hover */
.scroll-container-content::-webkit-scrollbar-thumb:hover {
  background: var(--pinegreen);
}


/*
* ==========================================
* COMMAND PROCESS
* ==========================================
*/

.inner-pages .card-header {
  border-bottom: 3px solid var(--watergreen);
  padding: 0;
}

.card-header-secondary {
  font-size: var(--bs-body-font-size);
}


/* stepper */
.timeline legend {
  font-weight: bold;
  color: var(--anthracite-opa);
}

.timeline legend span {
  color: var(--anthracite);
}

.stepper-wrapper {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}


.stepper-item::before {
  position: absolute;
  content: "";
  border-bottom: 5px solid #ccc;
  width: 100%;
  top: 8px;
  left: -100%;
  z-index: 2;
}

.stepper-item::after {
  position: absolute;
  content: "";
  border-bottom: 5px solid #ccc;
  width: 100% - clamp(0.25rem, 2vw, 0.5rem);
  top: 8px;
  left: 0%;
  z-index: 2;
}

.stepper-item .step-counter {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  margin-bottom: 6px;
  font-size: 12px;
  outline: 2px solid white;
}

.stepper-item:not(.completed) .step-counter {
  border: 3px solid var(--anthracite-opa);
}

.stepper-item.active .step-counter {
  border: 3px solid #53d918;
  background-color: white;
}

.stepper-item.completed .step-counter {
  background-color: #53d918;
}

.stepper-item.completed::after {
  position: absolute;
  content: "";
  border-bottom: 5px solid #53d918;
  width: 100%;
  top: 8px;
  left: 0%;
  z-index: 3;
}

.stepper-item:first-child::before {
  content: none;
}

.stepper-item:last-child::after {
  content: none;
}

/* radio buttons */

.orders_process__radio .col img {
  height: 165px;
  width: 100%;
  cursor: pointer;
  object-fit: cover;
  overflow: hidden;
  transition: all .3s ease-in-out;
  transform: scale(1);
}

.orders_process__radio .col label {
  overflow: hidden;
  position: relative;
  height: 165px;
  border-radius: 20px;
  border: 3px solid #222a2b40;
  width: 100%;
}

.orders_process__radio .col .tick_container {
  font-size: 18px;
  font-weight: bold;
  color: #222a2b40;
  border: none;
  overflow: initial;
  border-radius: 0;
  height: auto;
  top: -18px;
  transform: none;
  left: 0;
}

.orders_process__radio .col .tick_container legend::first-letter {
  text-transform: uppercase;
}

.orders_process__radio .imgbgchk:hover+div.tick_container {
  color: #009eae !important;
  opacity: 1 !important;
}

.orders_process__radio .imgbgchk:hover+label {
  border: 3px solid #009eae;
  transition: all .3s ease-in-out;
}

/*   Radio buttons */

.orders_process__radio .imgbgchk:not(:checked)+label>img,
.orders_process__radio .imgbgchk:not(:checked)+label>.tick_container {
  opacity: .7;
  transition: all .3s ease-in-out;
}


.orders_process__radio .imgbgchk:hover+label>img {
  transition: all .3s ease-in-out;
  transform: scale(1.1);
}

.orders_process__radio .tick_container {
  transition: .5s ease;
  position: relative;
  width: 100%;
  top: 35px;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.orders_process__radio .tick {
  background-color: white;
  color: white;
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-bottom: 6px;
  font-size: 12px;
  border: 3px solid #222a2b40;
  outline: 3px solid white;
}

.orders_process__radio .imgbgchk:hover~.tick_container .tick {
  border: none;
  background-color: #009eae !important;
  transition: all .3s ease-in-out;
}

.orders_process__radio .imgbgchk:hover~.tick_container legend {
  color: #009eae !important;
  transition: all .3s ease-in-out;
}

.orders_process__radio__tooltip {
  position: absolute;
  right: 5px;
  color: white;
  padding: 5px;
}

.orders_process__radio__tooltip i{
  border-radius: 20px;
  border: 1px solid #009eae;
}


.orders_process__radio__tooltip i::before{
  background-color: var(--turquoise)!important;
  border-radius: 20px!important;
}

/* accordion */
.uploaded_files .accordion-body *[class^="col-"] a,
.uploaded_files .accordion-body *[class^="col-"] .card {
  width: 100%;
}

.uploaded_files h2,
.uploaded_files .accordion-header__title {
  border-bottom: 3px solid var(--watergreen);
}

.uploaded_files .accordion-header__title { padding: 1rem 0; }

@media screen and (max-width: 575.98px ) {
  .uploaded_files .accordion-header__title {
    font-size: 1.1rem;
    padding-right: 4rem;
  }
  
}

.uploaded_files h2 {
  margin-bottom: 3rem;
  padding-bottom: 1rem;
}

#order-process .uploaded_files .accordion-header__title>* {
  margin-right: 7px;
  text-overflow: ellipsis;
  max-width: 35ch;
  white-space: nowrap;
  overflow: hidden;
}

#order-process .uploaded_files__accordion .form-check .form-check-input {
  cursor: pointer;
}

*:not(legend)>.form-check:not(.checkbox-xl) .form-check-input { border-width: 2px; border-color: var(--anthracite-opa); }
*:not(legend)>.form-check:not(.checkbox-xl) .form-check-label { line-height: 1.4; }
#order-process .uploaded_files__accordion .form-check .form-check-input:checked+.form-check-label { font-weight: 700; }

.stl_lightbox {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.stl_lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stl_lightbox__expand {
  position: absolute;
  right: 5px;
  color: white;
  padding: 7px 5px;
  background: #009eae;
  border-radius: 50%;
  right: 2%;
  bottom: 5%;
}

.uploaded_files__accordion .stl_lightbox {
  border-radius: 20px;
  border: 1px solid var(--watergreen);
  margin: auto;
}

.uploaded_files__accordion .stl_lightbox>a>img {
  display: block;
}

.uploaded_files .step-counter {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #53d918;
  font-size: 10px;
}

.step-counter-pending {
  color: var(--hovergrey) !important;
  background: #eef1f2 !important;
}

.accordion-select .alert {
  border: 1px dashed var(--warning-yellow-secondary);
  background: #fff8e9;
  display: none;
}

.accordion-select .alert i {
  color: #df7e00;
  background-color: #fff0cc;
  font-size: 1rem;
  border-radius: 50%;
  padding: 5px;
}

.accordion-select .alert h4,
.accordion-select .alert p {
  font-size: .75rem;
}


/* Delivery schedule and Datepicker */
.card.detailed_file__delivery .card-header {
  background-color: #f2f4f4;
  border-bottom: none;
}

.card.detailed_file__delivery .card-header i {
  color: var(--lightgrey);
}

.card.detailed_file__delivery {
  box-shadow: none !important;
  border: 1px solid var(--watergreen);
}

.card.detailed_file__delivery .card-body .alert i {

  font-size: 2rem;
  padding: 5px;
  border-radius: 5px;
}

.card.detailed_file__delivery .card-body .alert {
  border: 1px dashed var(--warning-yellow-secondary);
  padding: 10px;
  border-radius: 5px;
}

.card.detailed_file__delivery .card-body .alert h4 {
  font-size: 1rem;
  color: var(--anthracite);
  font-weight: 400;
  padding: 0 .6rem;
}

.card.detailed_file__delivery .highlight {
  color: #df7e00;
  font-weight: bold;
}

#calendar {
  display: none;
}

#calendar input {
  width: auto;
}

input[type=date]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

/* Change color of icon */
input[type=date]::-webkit-calendar-picker-indicator {
  opacity: 0.5;
  cursor: pointer;
}

/* Change shape of icon */
input[type=date]::-webkit-calendar-picker-indicator {
  background-image: url('../img/calendar.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 21px;
}

/* Move icon to the left */
input[type=date]::-webkit-calendar-picker-indicator {
  margin-right: 10px;
}

/* Move icon to the right */
input[type=date]::-webkit-calendar-picker-indicator {
  margin-left: 10px;
}

/* basket */
@media screen and (min-width: 992px ) {
  .basket-header { border-left: 1px solid var(--watergreen); }
}

.basket-header .badge-basket {
  transform: none !important;
  font-size: 0.9rem;
}

.basket-header .badge-basket-label {
  font-size: 1rem;
}

.uploaded_files .alert-warning {
  color: var(--anthracite);
  border: 1px dashed var(--warning-yellow-secondary);
}

#basket .uploaded_files__accordion .alert-warning { padding: 7px; }

.uploaded_files .alert-warning .highlight {
  color: var(--warning-yellow-secondary);
  font-weight: bold;
}

.box-rebours {
    display: flex !important;
    flex-direction: row !important;
    height: auto !important;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    align-items: baseline !important;
}

.box-rebours .line {
  display: inline-flex;
  flex-direction: row;
  font-size: 0.9rem;
  align-items: baseline;
}

.box-rebours .line{
  color: var(--body-color);
  font-size: 1.2rem;
  margin-bottom: 2px;
}

#order-process .box-rebours .line { font-size: 1rem; }

.box-rebours .countdown {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  padding: 0 4px;
  font-weight: 700;
}

.box-rebours .countdown .jour,
.box-rebours .countdown .heure,
.box-rebours .countdown .minute,
.box-rebours .countdown.seconde {
  color: var(--body-color);
  font-size: 1em;
}

.box-rebours .countdown .unit {
  padding: 0 2px;
  font-size: 0.9em;
}

.uploaded_files .alert-warning i {
  background-color: var(--warning-yellow-secondary);
  color: white;
  padding: 0.8rem;
  font-size: 2rem;
}

.uploaded_files .alert-warning p {
  font-weight: 400;
}

#basket .accordion-header {
  position: relative;
  z-index: 99;
}

#basket .accordion-header__title--cta {
  gap: .5rem;
}

#basket .accordion-header__title--cta .highlight {
  font-weight: bold;
}

#basket .accordion-header__title--cta i {
  color: var(--alert-bg);
  font-size: 1.5rem;
}

#basket .accordion-child-header {
  color: var(--lightgrey);
  font-size: 14px;
  padding: 0 1rem;
}

#basket .accordion-item {
  margin-bottom: 1rem;
}

#basket .accordion-item .accordion-header__title {
  font-size: 14px !important;
  padding: 0 1rem;
}

.accordion-child .accordion-header__title .ctas {
  z-index: 999;
}


#basket .accordion-child-header li,
#basket .accordion-item .accordion-header__title:not(.accordion-parent-header)>* {
  padding: 1rem 0;
  margin-right: unset;
}

.accordion-parent-header {
  padding: 0 !important;
}

.accordion-child .accordion-button {
  border: 1px solid var(--watergreen);
  border-radius: var(--border-radius-1) !important;
}

.accordion-child .accordion-button[aria-expanded=true] {
  border: none;
}

.accordion-child .accordion-button[aria-expanded=true] .accordion-child-header-left {
  display: none !important;
}

#basket .accordion-child .accordion-collapse {
  position: relative;
  transition: .3s ease-in-out;
  top: -60px;
}

#basket .accordion-child .accordion-collapse.show {
  position: relative;
  transition: .3s ease-in-out;
}

.accordion-child .accordion-header__title {
  border-bottom: unset
}

.accordion-child .accordion-header__title i {
  font-size: 1.5rem;
}

.accordion-child .accordion-header__title a:hover {
  color: var(--turquoise);
  transition: all .3s ease-in-out;
}

.accordion-child .accordion-button:not(.collapsed)::after,
.accordion-child .accordion-button::after {
  position: absolute;
  top: 35%;
  right: 4.5rem;
}

.accordion-button:not(.collapsed)::after,
.accordion-child .accordion-button:not(.collapsed)::after {
  filter: invert(38%) sepia(99%) saturate(833%) hue-rotate(149deg) brightness(97%) contrast(101%);
}

.accordion-child .accordion-header__title .badge {
  color: var(--anthracite);
  font-size: .8rem;
  /*background: #dadede;*/
}

.accordion-child .accordion-body {
  border-left: 15px solid var(--turquoise);
  border-right: 2px solid var(--turquoise);
  border-top: 2px solid var(--turquoise);
  border-bottom: 2px solid var(--turquoise);
  border-radius: var(--border-radius-1);
}

.accordion-child .accordion-body>.row:first-of-type {
  border-bottom: 2px solid var(--watergreen);
}

.basket__resume h4 {
  font-size: 1.25rem;
  padding-bottom: 1.5rem;
}

.basket__resume li {
  padding: .5rem 0;
  border-bottom: 1px solid var(--watergreen);
  display: flex;
  font-size: 14px;
}

.basket__resume li div:first-child {
  /* text-transform: capitalize; */
  color: var(--lightgrey);
  width: 50%;
}

.basket__resume li div:last-child {
  /* text-transform: capitalize; */
  color: var(--lightgrey);
  width: 50%;
}

.basket__infos {
  border-left: 2px solid var(--watergreen);
}

.basket__infos__borderbottom {
  font-size: 14px;
}

.basket__infos__borderbottom .badge {
  font-size: 1.25rem;
  color: var(--anthracite) !important;
}

.basket__infos__price {
  border-right: 2px solid var(--watergreen);
}

.basket__infos__price h4 {
  font-size: 18px;
}

.basket__infos__price a {
  font-size: 0.75rem;
}

.basket__infos__details {
  border-top: 2px solid var(--watergreen);
  transition: display 0.3s ease;
  /* Adjust the duration and timing function as needed */
}

.basket__infos__details h5 {
  font-size: 14px;
  color: var(--hovergrey);
}

.basket__infos i {
  color: var(--hovergrey);
  background-color: unset !important;
  font-size: 1.25rem;
}


[id^=detailconceptions] {
  margin-top: 40px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--watergreen);
}


/* LISTE DE DOCUMENTS */
#documents .dag__ctas .card {
  box-shadow: none;
  border: 2px solid rgba(0, 158, 174, 0.5);
}

#documents .dag__ctas .card-body {
  text-align: center;
  padding: 1rem 2rem 2rem 2rem;
}

#documents .dag__ctas i {
  font-size: 40px;
}

#documents .dag__ctas p {
  font-size: 14px;
  color: inherit;
  padding-top: 1rem;
}

#documents .dag__ctas a:hover p {
  color: white;
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  #documents .dag__ctas .card { height: 270px; }
}

@media screen and (max-width: 767.98px){
  #documents .dag__ctas .card { height: 220px; }
}

/* SUIVI DE COMMANDES */
.table {
  font-size: 14px !important;
}

.table thead th {
  color: var(--lightgrey) !important;
}

.table tr {
  border-bottom: 1px solid var(--watergreen);
}

.table tr td:first-child {
  font-weight: bold;
}

.table tr td:last-child {
  font-size: 1.25rem;
}

.table tr td:last-child,
.table tr th:last-child {
  display: flex;
  justify-content: end;
}

/* table.js-sort-table.js-sort-desc thead tr th::after,
table.js-sort-table.js-sort-asc thead tr th::after {
  font-family: "Font Awesome Kit";
  content:"\f0dc";
} */

table.js-sort-table.js-sort-desc thead tr>.js-sort-active:not(.js-sort-none)::after,
table.js-sort-table.js-sort-asc thead tr>.js-sort-active:not(.js-sort-none)::after {
  color: var(--anthracite);
}


.table a:hover {
  color: var(--turquoise);
  transition: all .3s ease-in-out;
}

/* pagination */
.pagination {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pages {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  font-size: .9rem;
}

.page-number {
  cursor: pointer;
  background-color: white;
  font-weight: 400;
  color: #999;
  border-radius: 50%;
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .4s ease;
}

.pagination .active {
  font-size: 1em;
  font-weight: bold;
  height: 20px;
  width: 20px;
  background-color: var(--turquoise);
  color: white;
}

.pagination button {
  background-color: #ffffff00;
  color: var(--turquoise);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pagination button:hover {
  color: var(--turquoise);
}

.pagination button:disabled {
  background-color: #ffffff00;
  color: #ccc;
  cursor: not-allowed;
}

.pagination .arrow {
  font-size: .75em;
}

.pagination .nav-text i {
  font-size: 0.7em;
  padding: 5px;
  background: #e7e7e7;
  color: var(--lightgrey);
  border-radius: 5px;
}

@media (min-width: 0px) {
  [data-pagination] {
    font-size: 10pt;
  }
}

@media (min-width: 500px) {
  [data-pagination] {
    font-size: 12pt;
  }
}

@media (min-width: 700px) {
  [data-pagination] {
    font-size: 14pt;
  }
}

@media (min-width: 900px) {
  [data-pagination] {
    font-size: 16pt;
  }
}

/* COMMANDE DETAILS */
.card-secondary .card {
  box-shadow: none;
  border: 1px solid var(--watergreen);
}

.card-secondary .card-header {
  border-bottom: 1px solid var(--watergreen);
  background: #f2f4f4;
}

.card-secondary .card-header i {
  color: white;
  background-color: var(--turquoise);
  font-size: 1.5rem;
  border-radius: 10px;
  padding: 10px;
}

.card-secondary .card-body {
  padding: 0 !important;
}

.card-secondary .card-body>div:not(:last-child) {
  border-bottom: 1px solid var(--watergreen);
}

.--sticky-element {
  position: -webkit-sticky;
  position: sticky;
  top: 140px;
  z-index: 100;
}


/* FICHIERS TELEVERSES */
.files .files__legend {
  border-bottom: 4px solid var(--watergreen);
}

.files .files__legend [class^='col-']:last-child legend {
  position: relative;
  left: -13px;
}

.files .files__row {
  border-bottom: 2px solid var(--watergreen);
}

.files .row.border-bottom {
  border-bottom: 2px solid var(--watergreen) !important;
}

.files .is-checked {
  background: #f2fafb;
  color: var(--turquoise);
  box-shadow: inset 6px 0 0 0 var(--turquoise);
}

.files-item-list {
  margin: 5px 0 10px 0;
}

.files-item-list {
  margin: 5px 0 10px 0;
}

.files-item-list .file-item {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 200px;
  border-radius: 6px;
  background: white;
  padding: 6px 10px 6px 6px;
  border: solid 1px var(--process-bg);
  margin: 5px 5px 0 0;
}

.files-item-list .file-item:last-child {
  margin-right: 0;
}


.files-item-list .file-item .lni {
  font-size: 1rem;
  padding: 0;
  background: transparent;
  color: var(--turquoise);
  border-radius: 0;
  margin-right: 7px;
}

.files-item-list .file-item span {
  text-overflow: ellipsis;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  font-size: 14px;
  font-weight: 400;
}

@media screen and (max-width: 767.98px) {
  .liste-suivi .tab-content, .inner-pages .uploaded_files { overflow-y: scroll; padding: 0; }
  .liste-suivi .tab-content #accordionProducts, .inner-pages .uploaded_files .uploaded_files__accordion { width: 200%; }
  #suivi_commande_detail .uploaded_files .uploaded_files__accordion, 
  #suivi_commande_detail .uploaded_files__accordion .accordion-header__title ul li{ width: 100%; }
  

  .liste-suivi .tab-content .accordion-header__title, .inner-pages .uploaded_files .accordion-header__title { padding-right: 0; }
}

.waiting-files {
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.waiting-files > { gap: .5rem; }
.waiting-files > .highlight { font-weight: bold; }
.waiting-files > i { color: var(--alert-bg); font-size: 1.5em; }


#basket .accordion-item .accordion-header__title.accordion-parent-header { padding-right: 3rem !important; }

@media screen and (max-width: 991.98px) {
  #basket [id^=accordion-parent-]:not(.delivery-section) .accordion-body { overflow-y: scroll; padding: 0; }
  #basket [id^=accordion-parent-]:not(.delivery-section) .accordion-body .accordion-child { width: 200%; }

/*   #basket [attr^="accordion-parent"] .accordion-child .accordion-header__title { padding-right: 0; } */
}

/* Overide accordion-button */
[data-bs-toggle=collapse] { cursor: pointer; }

#basket .accordion-button.accordion-child-header-left {
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#basket .accordion-header__title.accordion-button { border-bottom: solid 1px var(--watergreen); height: 60px; }

#basket .accordion-button.accordion-child-header-left:not(.collapsed) { border-color: transparent; }
#basket .accordion-button.accordion-child-header-left:not(.collapsed) > * { opacity: 0; }

#basket .accordion-child .accordion-button[aria-expanded=true] { border-color: transparent; }

#basket .accordion-button:not(.collapsed),
#basket .accordion-button[aria-expanded="true"] > *:not(::after) { opacity: 0; }

tbody tr td { vertical-align: middle; }

/* ############ */
/* ############ */
/* ############ */
/* ############ */
/* 18-11-2025 */
/* CTAS */
/* ############ */
/* ############ */
/* ############ */
/* ############ */

.btn-base-dag {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  padding: 5px 10px 5px 5px;
  border-radius: 99999px;
  font-weight: bold;
}

.btn-primary-dag {
  color: var(--turquoise);
  border: 2px solid var(--turquoise);
  background-color: white;
}

.btn-primary-dag i {
  background-color: var(--turquoise);
  color: white;
  border-radius: 999px;
  padding: 7px;
  margin-right: 4px;
  font-size: 20px;
}

.btn-primary-dag:hover {
  background-color: var(--turquoise);
  color: white;
}

.btn-secondary-dag {
  color: white;
  border: 2px solid var(--turquoise);
  background-color: var(--turquoise);
}

.btn-secondary-dag i {
  background-color: white;
  color: var(--turquoise);
  border-radius: 999px;
  padding: 7px;
  margin-right: 4px;
  font-size: 20px;
}

.dag__ctas .card-body-smaller { 
  padding: 20px;
  text-align: left;
}

@media screen and (max-width: 1199px) {
  .dag__ctas { margin-bottom: 50px; }
  .dag__ctas .card-body-smaller {
    text-align: left;
    gap: 10px;
    flex-flow: column;
    align-content: flex-start !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }
  
}

#declareUnconformityModal {}

#declareUnconformityModal .modal-body { padding: 40px 30px; }

#declareUnconformityModal .declare__option { height: 130px;}

#declareUnconformityModal .declare__option a {
  display: flex;
  gap: 10px;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  border-radius: 25px;
  border: solid 2px #E9E9E9;
  transition: all 0.3s ease-in-out;
  height: 100%;
}


#declareUnconformityModal .declare__option__title {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
}

#declareUnconformityModal .declare__option.unfocused a { opacity: 0.33; }

#declareUnconformityModal .declare__option.active a,
#declareUnconformityModal .declare__option a:hover {
  border-color: var(--turquoise);
  opacity: 1;
}

#declareUnconformityModal .declare__option .declare__option__content { width: 100%; }
#declareUnconformityModal .declare__option .declare__option__content .searchBox { border-radius: 12px; }

#declareUnconformityModal .declare__option .declare__option__content { display: none; }
#declareUnconformityModal .declare__option.active .declare__option__content { display: block; }

.btn-alert.btn-small {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  width: fit-content;
  background-color: #F98B2B;
  border: solid 2px transparent;
  border-radius: 999px;
  gap: 5px;
  padding: 4px 9px 4px 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  min-width: fit-content;
}

@media screen and (max-width: 1199px) {
  .btn-alert.btn-small { margin: 0 20px; }
}

.btn-alert.btn-small .lni {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 999px;
  color: #F98B2B;
  font-size: 20px;
  padding: 4px 4px 6px 4px;
  transition: all 0.3s ease-in-out;
}


.btn-alert.btn-small:hover,
.btn-alert.btn-small:active,
.btn-alert.btn-small:focus {
  background-color: transparent;
  border-color: #F98B2B;
  color: #F98B2B;
}

.btn-alert.btn-small:hover .lni,
.btn-alert.btn-small:active .lni,
.btn-alert.btn-small:focus .lni {
  background-color: #F98B2B;
  color: #fff;
}


/* ############ */
/* ############ */
/* ############ */
/* ############ */
/* // CTAS */
/* 18-11-2025 */
/* ############ */
/* ############ */
/* ############ */
/* ############ */

/* #################### */
/* #################### */
/* #################### */
/* MÃ J - Page d'accueil */
/* 26-05-2026 */
/* #################### */
/* #################### */
/* #################### */
/* #################### */

/* #### */
/* Grid */
.home__dashboard {
  font-size: 10px;
  display: flex;
  flex-flow: column nowrap;
  padding: 2em;
  gap: 2.4em;
  color: #1A2224;
}

.home__dashboard *:is(h1, h2, h3, h4, h5, h6) { font-size: 1em !important; }

.home__dashboard__section {
  display: flex;
  flex-flow: row nowrap;
  gap: 2.4em;
}

.home__dashboard__content {
  display: flex;
  flex-flow: column nowrap;
  gap: 1.5em;
  flex: 1 1 auto;
  max-width: 100%;
  padding: 2.4em;
  background: #FFFFFF;
  box-shadow: 0px 3px 10px 3px rgba(0, 134, 148, 0.06);
  border-radius: 2em;
}

#home-dashboard .dashboard__section__content__title { font-size: 2em !important; }

.dashboard__section__content__body { display: flex; }

/* ####/ */
/* Section */
.dashboard__section__content__head {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  gap: 1.2em;
  color: currentcolor;
}

.dashboard__section__content__title strong {
  font-weight: 700;
}

/* #### */
/* Head */
#home-dashboard-head .home__dashboard__content {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

#home-dashboard-head .dashboard__section__content__title { font-size: 1em !important; }

#home-dashboard-head .dashboard__section__content__title > div:first-child { font-size: 4em; }
#home-dashboard-head .dashboard__section__content__title > div:last-child { font-size: 1.6em; }
#home-dashboard-head .dashboard__section__content__title .lni { font-size: 75%; line-height: 1; margin: 0 0.2em;}

/* #### */
/* CTAS */
#home-dashboard-ctas { height: 20em; }

.home__dashboard__cta {
  display: flex;
  flex-flow: column nowrap;
  padding: 2.4em;
  gap: 1.6em;
  background: rgba(8, 32, 34, 0.1);
  box-shadow: 0px 3px 10px 3px rgba(0, 134, 148, 0.06);
  border-radius: 2em;
}

#home-dashboard-ctas .dashboard__section__content__head { text-align: center; }
#home-dashboard-ctas .dashboard__section__content__body {
  display: flex;
  flex-flow: row nowrap;
  gap: 2.4em;
  height: 100%;
}

.dashboard__cta__option {
  position: relative;
  display: flex;
  align-items: center;
  padding: 2em;
  gap: 1em;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  background: white;
  box-shadow: 0px 3px 10px 3px rgba(0, 134, 148, 0.05);
  border-radius: 2em;
  color: #1A2224;
}

.dashboard__cta__option.option__upload {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.dashboard__cta__option.option__upload iframe {
  position: absolute; 
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dashboard__cta__option .cta__option__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1em;
  gap: 1em;
  width: 6em;
  height: auto;
  aspect-ratio: 1/1;
  background: #009EAE;
  border-radius: 999999px;
  color: white;
}

.dashboard__cta__option .cta__option__icon svg {
  width: 100%;
  height: 100%;
  max-width: 4em;
  max-height: 3.5em;
}

.dashboard__cta__option .cta__option__title {
  display: flex;
  flex-flow: column nowrap;
}

.dashboard__cta__option .cta__option__title strong {
  font-size: 1.8em;
  font-weight: 700;
}

.dashboard__cta__option .cta__option__title span {
  font-size: 1.2em;
  opacity: 0.75;
}

.dashboard__cta__option .cta__option__helper {
  position: absolute;
  top: 1em;
  right: 1em;
  font-size: 1.6em;
}

.dashboard__cta__option,
.dashboard__cta__option .cta__option__title,
.dashboard__cta__option .cta__option__helper,
.dashboard__cta__option .cta__option__icon,
.dashboard__cta__option::before,
.dashboard__cta__option .cta__option__icon svg path { transition: ease-in all 0.2s; }

.dashboard__cta__option:hover { background: #009EAE; }
.dashboard__cta__option:hover .cta__option__title,
.dashboard__cta__option:hover .cta__option__helper { color: white; }
.dashboard__cta__option:hover .cta__option__icon { background: white; color: #009EAE; }
.dashboard__cta__option:hover.dashboard__cta__option.option__upload::before { border-color: white; opacity: 0.5; }

/* Upload */
.dashboard__cta__option.option__upload { position: relative; }
.dashboard__cta__option.option__upload::before {
  content: '';
  position: absolute;
  inset: 1em;
  border-radius: 1em;
  border: 0.1em dashed #009EAE;
}

/* Unconformity */
.home__dashboard__cta--warning {
  background: #FFD9DA;
  color: #EA2D43;
  max-width: 25%;
}

.home__dashboard__cta--warning .cta__option__icon { background: #EA2D43; }
.home__dashboard__cta--warning .dashboard__cta__option:hover { background: #EA2D43; }
.home__dashboard__cta--warning .dashboard__cta__option:hover .cta__option__icon { color: #EA2D43; }


/* #home-dashboard-delivery-news { height: 50em; } */

/* #### */
/* Agenda */
#home-dashboard-deliveryAgenda { gap: 1.5em; }
#home-dashboard-deliveryAgenda .dashboard__section__content__head { flex-flow: row nowrap; align-items: center; }
#home-dashboard-deliveryAgenda .dashboard__section__content__body { flex-flow: column nowrap; gap: 1.5em; overflow: hidden; }

/* #### */
/* Graph */
#deliveryAgenda__stats {
  display: flex;
  align-items: center;
  gap: 1em;
}

.deliveryAgenda__stats__title {
  display: flex;
  flex-flow: column nowrap;
  text-align: right;
  font-size: 1.3em;
}

.deliveryAgenda__stats__title strong { font-weight: 700; }
.deliveryAgenda__stats__title span { opacity: 0.75; }

.deliveryAgenda__stats__graph {
  position: relative;
  container-type: inline-size;
  width: 60px;
}

.deliveryAgenda__stats__graph--label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(calc(var(--deliveryAgenda__stats__graph--percentage) * 1.02), 79%, 45%);
  font-weight: 500;
  line-height: 1;
}

.deliveryAgenda__stats__graph--label > div {
  display: inline-flex;
  align-items: baseline;
}

.deliveryAgenda__stats__graph--number { font-size: 45cqi; letter-spacing: -0.05em;  font-weight: 700; }
.deliveryAgenda__stats__graph--symbol { font-size: 25cqi; letter-spacing: -0.05em; }

.deliveryAgenda__stats__graph--track {
  fill: none;
  stroke: rgba(0,0,0,0.1);
  stroke-width: 8;
  stroke-linecap: none;
}

.deliveryAgenda__stats__graph--bar {
  fill: none;
  stroke: hsl(calc(var(--deliveryAgenda__stats__graph--percentage) * 1.02), 79%, 45%);
  stroke-width: 8;
  stroke-linecap: none;
  /* stroke-dasharray: calc(var(--deliveryAgenda__stats__graph--percentage) * 2.8274) 282.74; */
  stroke-dasharray: var(--deliveryAgenda__stats__graph--percentage) 100;
  transform: rotate(-90deg);
  transform-origin: 50px 50px;
}


.deliveryAgenda__head {
  display: flex;
  flex-flow: row nowrap;
  gap: 0.8em;
  align-items: stretch;
}

.deliveryAgenda__head.nav-tabs { border-bottom: none; }

.deliveryAgenda__head__option {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  gap: 1em;
  width: 100%;
  padding: 1.2em 2em;
  border: 0.1em solid rgba(26, 34, 36, 0.15);
  border-radius: 1em;
  box-shadow: inset 0 0 0 0em rgba(0, 158, 174, 0);
  cursor: pointer;
}

.deliveryAgenda__date {
  font-size: 1.3em;
  line-height: 1;
  color: rgba(26, 34, 36, 0.75);
}

.deliveryAgenda__title {
  display: flex;
  flex-flow: row nowrap;
  align-items: baseline;
  gap: 0.2em;
  font-size: 1.6em;
  font-weight: 700;
}

.deliveryAgenda__title .deliveryAgenda__number {
  font-size: 125%;
  max-width: 3ch;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: -0.05em;
}

.deliveryAgenda__head__option .deliveryAgenda__title .deliveryAgenda__number {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  background: transparent;
  border-radius: 9999px;
}

.deliveryAgenda__head__option.active { background: #009EAE; }
.deliveryAgenda__head__option.active .deliveryAgenda__title,
.deliveryAgenda__head__option.active .deliveryAgenda__date { color: white; }
.deliveryAgenda__head__option.active .deliveryAgenda__title .deliveryAgenda__number {
  padding: 0 1.2em;
  background: #0D5C62;
}

.deliveryAgenda__head__option,
.deliveryAgenda__date,
.deliveryAgenda__title,
.deliveryAgenda__title .deliveryAgenda__number { transition: ease-in all 0.2s; }

.deliveryAgenda__head__option:hover:not(.active) .deliveryAgenda__date { color: rgba(26, 34, 36, 1); }
.deliveryAgenda__head__option:hover:not(.active) { box-shadow: inset 0 0 0 0.2em rgba(0, 158, 174, 0.5); }


.deliveryAgenda__content {
  /* padding: 2.4em; */
  border: 0.1em solid rgba(26, 34, 36, 0.15);
  border-radius: 2em;
  overflow: hidden;
  background: rgb(247 247 247);
}

.deliveryAgenda__content .table-responsive { overflow-y: auto; height: 100%; }
.deliveryAgenda__content .table {
  font-size: 1em !important;
  margin: 0 2.4em;
  margin-top: 1.6em;
  margin-bottom: 2.4em;
  width: calc(100% - (2.4em*2));
  background: rgb(247 247 247);
}

.deliveryAgenda__content .table-head {
  border-bottom: 0.1em solid rgba(26, 34, 36, 0.15);
  justify-content: flex-start;
  padding: 1.6em 2.4em 1.6em;
  line-height: 1;
  background: white;
}

.deliveryAgenda__content .table-head strong {
  font-size: 1.6em;
  color: #1A2224;
  font-weight: 700;
}

.deliveryAgenda__content .table tbody tr td span { font-size: 1.3em; }
.deliveryAgenda__content .table tbody tr td a { color: #009EAE; transition: color ease-in 0.2s;}
.deliveryAgenda__content .table tbody tr td a:hover { color: #004C53; }

.deliveryAgenda__content .table tbody tr td {
  font-size: 1em !important;
  height: 3.8em;
  background: rgb(247 247 247);
  align-items: center;
  padding: 0;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 2.4em;
}

.deliveryAgenda__content .table tr { border-bottom: 0.1em solid rgba(26, 34, 36, 0.15); }
.deliveryAgenda__content .table tr:last-child { border-bottom: none; }
.deliveryAgenda__content .table tr td:first-child { padding-left: 0; }
.deliveryAgenda__content .table tr td:last-child { padding-right: 0; }

.deliveryAgenda__content .table tbody tr td:nth-child(1) { max-width: 10em; width: auto; }
.deliveryAgenda__content .table tbody tr td:nth-child(1) span { font-size: 1.4em; }
.deliveryAgenda__content .table tbody tr td:nth-child(2) { max-width: 13em; width: auto; }
.deliveryAgenda__content .table tbody tr td:nth-child(3) { max-width: 10em; width: 100%; }
.deliveryAgenda__content .table tbody tr td:nth-child(4) { max-width: 25em; text-align: center; }

/* #home-dashboard-delivery-news { height: 60em; } */

/* #### */
/* Newsletter */
#home-dashboard-newsletter { max-width: 25%; }
/* #home-dashboard-newsletter .dashboard__section__content__body { overflow: hidden; height: 100%;} */
#home-dashboard-newsletter .dashboard__section__content__body {
  overflow: scroll;
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  gap: 1em;
}

/* Newsletter */
#home-dashboard-newsletter .dashboard__section__content__body figure {
  position: relative;
  display: flex;
  width: 100%;
  /* overflow: hidden; */
  border-radius: 1em;
  height: auto;
  display: flex;
  flex-flow: column nowrap;
  gap: 1em;
  border: 0.1em solid rgba(26, 34, 36, 0.15);
  padding: 1em;
  cursor: pointer;
}

#home-dashboard-newsletter .dashboard__section__content__body::-webkit-scrollbar { width: 2.3em;  }
#home-dashboard-newsletter .dashboard__section__content__body::-webkit-scrollbar-track { background: white; }
#home-dashboard-newsletter .dashboard__section__content__body::-webkit-scrollbar-thumb { border-radius: 999px; background: #009EAE; border: 0.5em white solid; }
#home-dashboard-newsletter .dashboard__section__content__body::-webkit-scrollbar-thumb:hover { background: #0D5C62; }

/* Newsletter */
#home-dashboard-newsletter .dashboard__section__content__body figure p { font-size: 1.2em; }

#home-dashboard-newsletter .dashboard__section__content__body figure p.bullet{
  font-size: 1.4em;
  font-weight: 700;
}

#home-dashboard-newsletter .dashboard__section__content__body figure img {
  object-fit: cover;
  width: 100%;
  height: auto;
  border-radius: 1em;
}


#expandNewsletter {
  position: absolute;
  z-index: 2;
  bottom: 2em;
  right: 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1em;
  gap: 1em;
  width: 4em;
  height: auto;
  aspect-ratio: 1/1;
  background: white;
  border-radius: 999999px;
  color: #1A2224;
}

#expandNewsletter svg {
  width: 100%;
  height: 100%;
}

#expandNewsletter,
#expandNewsletter svg path { transition: all ease-in 0.2s; }

#expandNewsletter:hover { background: #009EAE; color: white; }

/* #### */
/* Misc. */
.tooltip-inner { line-height: 1.1; }

/* #### */
/* Fix */
/* #home-dashboard-delivery-news { height: 40em; } */

.deliveryAgenda__content #tabDeliveryContent,
.deliveryAgenda__content #tabDeliveryContent .tab-pane { height: 100%; }

/* .deliveryAgenda__content .table-head { height: 4.8em; } */
/* .deliveryAgenda__content .table-responsive { height: calc(100% - 4.8em); } */
.deliveryAgenda__content .table-responsive { height: 40em; }

.deliveryAgenda__content .table-responsive::-webkit-scrollbar { width: 2.3em;  }
.deliveryAgenda__content .table-responsive::-webkit-scrollbar-track { background: white; }
.deliveryAgenda__content .table-responsive::-webkit-scrollbar-thumb { border-radius: 999px; background: #009EAE; border: 0.5em white solid; }
.deliveryAgenda__content .table-responsive::-webkit-scrollbar-thumb:hover { background: #0D5C62; }

.container:has(> .home__dashboard) {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

html#iframe-deliveryAgenda:has(#home-dashboard-deliveryAgenda),
html#iframe-deliveryAgenda body:has(#home-dashboard-deliveryAgenda),
#home-dashboard-deliveryAgenda,
#home-dashboard-deliveryAgenda .dashboard__section__content__body,
#home-dashboard-deliveryAgenda .dashboard__section__content__body .deliveryAgenda__content { height: 100%; }

html#iframe-deliveryAgenda #home-dashboard-deliveryAgenda { box-shadow: none; }
#home-dashboard-delivery-news > iframe { box-shadow: 0px 3px 10px 3px rgba(0, 134, 148, 0.06); }

.dashboard__cta__option.option__upload iframe { z-index: 1; }
.dashboard__cta__option.option__upload .cta__option__helper,
.dashboard__cta__option.option__upload::before { z-index: 0; pointer-events: none; }

.dashboard__cta__option.option__upload .cta__option__icon,
.dashboard__cta__option.option__upload .cta__option__title { z-index: 0; pointer-events: none; }

.dashboard__cta__option.option__upload.drag-over::before { opacity: 0.66; }

.dashboard__cta__option.option__upload .cta__option__title,
.dashboard__cta__option.option__upload .cta__option__icon,
.dashboard__cta__option.option__upload::before { transition: all 0.3s ease-in-out; }

/* .dashboard__cta__option.option__upload.drag-over .cta__option__title,
.dashboard__cta__option.option__upload.drag-over .cta__option__icon { opacity: 0.66; } */

.dashboard__cta__option.option__upload.drag-over .cta__option__title,
.dashboard__cta__option.option__upload.drag-over .cta__option__icon { transform: scale(0.95); }

.dashboard__cta__option.option__upload.drag-over .cta__option__icon { transform-origin: right; }
.dashboard__cta__option.option__upload.drag-over .cta__option__title { transform-origin: left; }

.dashboard__cta__option.option__upload {
  box-shadow: inset 0 0.5em 0.7em 0.0em transparent;
  outline: 0.1em solid transparent;
}

.dashboard__cta__option.option__upload.drag-over {
  background: #f3f3f3;
  box-shadow: inset 0 0.5em 0.7em 0.0em #c9c9c9;
  outline: 0.1em solid #dddddd;
}
.dashboard__cta__option.option__upload.drag-over .cta__option__helper { color: #1A2224; }
.dashboard__cta__option.option__upload.drag-over .cta__option__title { color: #959595; }
.dashboard__cta__option.option__upload.drag-over .cta__option__icon { background: #dddddd; color: #b9b9b9; }
.dashboard__cta__option.option__upload.drag-over::before,
.dashboard__cta__option.option__upload.drag-over:hover::before { border-color: #b9b9b9; }

.dashboard__cta__option.option__upload.drag-over::before { transform: scale(0.98); }

input#FileUpload1::file-selector-button,
input#FileUpload1::-webkit-file-upload-button { display: none;}

/* #### */
/* Responsive */
@media screen and (min-width: 1451px) {
  .home__dashboard,
  #home-dashboard-deliveryAgenda { font-size: 10px; }
}

@media screen and (min-width: 1920px) {
  .home__dashboard { max-width: 1800px; margin: auto; }
}

@media screen and (max-width: 1450px) {
  .home__dashboard,
  #home-dashboard-deliveryAgenda { font-size: 0.65vw; }
}

@media screen and (min-width: 1251px) and (max-width: 1920px) {
  .home__dashboard__cta { font-size: 0.55vw; }
}

@media screen and (max-width: 1250px) {
  .home__dashboard,
  #home-dashboard-deliveryAgenda { font-size: 10px; }
  .home__dashboard__section { flex-flow: column nowrap; }
  #home-dashboard-ctas,
  #home-dashboard-delivery-news { height: 100%; }
  .home__dashboard__cta--warning { max-width: 100%; }
  #home-dashboard-ctas .dashboard__section__content__body { flex-flow: column nowrap; }

  #home-dashboard-ctas { flex-flow: row wrap; }
  .home__dashboard__cta { max-width: 100%; flex: 1 1 100%; }
  .home__dashboard__cta:not(.home__dashboard__cta--warning) { max-width: calc(50% - 1.6em); flex: 1 1 calc(50% - 1.6em); }
  #home-dashboard-newsletter { max-width: 100%; }
  /* #home-dashboard-newsletter figure { max-width: fit-content; } */
  #home-dashboard-newsletter .dashboard__section__content__body figure img { max-width: 100%; width: auto; }
}

@media screen and (max-width: 767.98px) {
  /* .home__dashboard,
  #home-dashboard-deliveryAgenda { font-size: 10px; } */

  .home__dashboard__cta,
  .home__dashboard__cta:not(.home__dashboard__cta--warning)  { max-width: 100%; flex: 1 1 100%; }
  #home-dashboard-newsletter { max-width: 100%; }
  #home-dashboard-newsletter figure { max-width: fit-content; }

  .home__dashboard__cta:not(.home__dashboard__cta--warning) { display: none; }
}

@media screen and (max-width: 575px) {
  .deliveryAgenda__head {overflow-x: scroll; }
  .deliveryAgenda__head__option { min-width: 20em; width: 40%; flex: 0 0 40%; }
  #home-dashboard-deliveryAgenda .dashboard__section__content__head { flex-flow: column nowrap; align-items: flex-start; }
  #deliveryAgenda__stats {
    padding: 0.4em 2em;
    border: 0.1em solid rgba(26, 34, 36, 0.15);
    border-radius: 2em;
    overflow: hidden;
    /* background: rgb(247 247 247); */
    width: 100%;
    justify-content: space-between;
  }
  .deliveryAgenda__stats__title { text-align: left; }
}

/* #################### */
/* #################### */
/* #################### */
/* MÃ J - Page d'accueil */
/* 26-05-2026 */
/* #################### */
/* #################### */
/* #################### */
/* #################### */