* {
  outline: 0 !important;
}

html {
  scroll-behavior: smooth;
  caret-color: transparent;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background-color: #fffffa;
  overflow-x: hidden;
}

.nav-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
}

.footer {
  width: 100%;
  height: 2vh;
  background-color: #fff;
  z-index: 3;
  margin-top: 2vh;
}

.main-logo {
  max-height: 8vh;
}

input,
textarea {
  caret-color: #2e3192;
}

main {
  padding-top: 12vh;
  min-height: 95vh;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  -webkit-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.shadow-top {
  box-shadow: 0 -0.5rem 1rem rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0 -0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  -webkit-box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}
.shadow-none {
  box-shadow: none;
  -webkit-box-shadow: none;
}

.justify-content-evenly {
  justify-content: space-evenly;
}

.btn-warning {
  color: white !important;
}

.h-10 {
  height: 10%;
}

.h-80 {
  height: 80%;
}

.h-100 {
  height: 100%;
}

a {
  font-weight: bold;
}

a:hover {
  text-decoration: none !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  /* border-radius: 10px; */
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #2e3192;
}

.listing-products,
.panier {
  height: 70vh;
}

.listing-products .card-body {
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0px;
}

.detail-article {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.panier .card-body {
  overflow-y: auto;
}

.form-group .form-input {
  padding-left: 2.5rem;
}

.form-input {
  width: 100%;
  min-height: 1rem;
  border: 0px solid transparent;
  border-radius: 0;
  border-bottom: 3px solid #aaa;
  padding: 0.5rem;
  outline: none;
  transition: all 0.5s ease;
  background-color: #f3f3f367;
}

.form-input-qte {
  width: 100%;
  border: 0px solid transparent;
  border-radius: 0;
  border-bottom: 3px solid #aaa;
  outline: none;
  transition: all 0.5s ease;
  padding: 0;
  flex: 1;
  height: 1.8rem;
}

.form-input:focus,
.form-input-qte:focus {
  border-bottom: 3px solid #2e3192;
}

.form-group {
  position: relative;
}

.btn-moins {
  width: 3rem;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.btn-plus {
  width: 3rem;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.qte-input {
  width: 6rem;
  flex: unset;
}

.cursor-pointer {
  cursor: pointer;
}

.form-group label {
  margin-bottom: 0 !important;
  color: #2e3192;
  position: absolute;
  bottom: 0.5rem;
  cursor: pointer;
}

a.disabled {
  cursor: not-allowed !important;
  background-color: #aaa !important;
}

a.disabled:hover {
  background-color: #aaa !important;
}

a.disabled:focus {
  background-color: #aaa !important;
}

.article-ligne-panier {
  border-top: 2px dashed #2e3192;
  padding: 1rem 0;
}

.sidebar {
  width: 260px;
  height: 100%;
  max-height: 100%;
  position: fixed;
  top: 0;
  left: -260px;
  z-index: 9;
  background: #fff;
  padding-top: 10.5vh;
  transition: all 0.3s ease-in-out;
}

.sidebar.visible {
  left: 0;
}

.sidebar-toggle {
  position: absolute;
  right: -2.4rem;
  background: white;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border: 2px solid #ececec;
  border-left: none;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  cursor: pointer;
}

#btn-panier {
  display: none;
  transition: all 0.5s ease-in-out;
}

textarea {
  resize: none;
}

.signature {
  border: 2px solid #2e3192;
  border-radius: 10px;
}

.modal-content {
  max-height: 85vh;
}

.modal-body {
  max-height: 70%;
  overflow-y: auto;
}

.table-responsive th,
.table-responsive td {
  vertical-align: middle !important;
  text-align: center;
}

.table-responsive::-webkit-scrollbar {
  height: 8px;
}

.table-responsive th:first-child,
td:first-child {
  position: sticky;
  left: 0px;
  z-index: 2;
}

.table-responsive thead th {
  position: sticky;
  z-index: 1;
  top: -1px;
  background-color: lightgrey;
}

.badge-lg {
  font-size: 0.8rem;
  font-weight: unset;
}

.ligne_commande,
.ligne_a_preparer,
.ligne_avoir {
  cursor: pointer;
}

.ligne_commande:hover,
.ligne_a_preparer:hover,
.ligne_avoir:hover {
  background-color: #9ccee4 !important;
}

@media screen and (max-width: 991px) {
  .nav-item {
    margin-left: 0;
    margin-top: 1rem;
  }

  .qte-input {
    width: 4rem;
  }
}

@media screen and (max-width: 768px) {
  .listing-products {
    overflow-y: hidden;
    max-height: inherit;
  }

  .panier {
    height: unset;
  }

  #btn-panier {
    display: block;
    position: fixed;
    right: 0rem;
    bottom: 5vh;
    z-index: 9;
    border: 2px solid #2e3192;
    border-radius: 5px;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    text-align: center;
    padding: 0.5rem 0.2rem 0.5rem 0.5rem;
    color: #2e3192;
    background-color: white;
    border-right: none;
  }

  #btn-panier a {
    font-size: 0.8rem;
  }

  .main-logo {
    max-height: 35px;
  }

  .calendarIcon {
    display: none !important;
  }
}

@media print {
  .no-print,
  .no-print * {
    display: none !important;
  }
}
