:root {
  --main: #E92129;
  --main-accent: #DF161D;
  --main-primary: #EE585D;
  --main-secondary: #F8B5B7;
  --main-hover: #FDEDED;

  --green-text: #3DB95F;
  --blue-text: #0469DE;
  --icon-color: #262626;

  --background-main: #E5E5E5;
  --background-secondary: #FFFFFF;
}
@import url(https://fonts.googleapis.com/css?family=Roboto);
body,
input,
select,
textarea,
body * {
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
}
body::after, body::before,
input::after,
input::before,
select::after,
select::before,
textarea::after,
textarea::before,
body *::after,
body *::before {
  box-sizing: border-box;
}

body {
  background-image: -webkit-linear-gradient(top, #f2f2f2, #e6e6e6);
  background-image: linear-gradient(top, #f2f2f2, #e6e6e6);
  min-height: 100vh;
  display: flex;
  justify-content: center;
}



.container {
  position: relative;
  min-width: 92vw;
  width: fit-content;
  top: 100px;
  min-height: 80vh;
  background-color: white;
  margin: 0 auto;
  margin-left: 50px;
  margin-right: 50px;
  margin-bottom: 120px;
  border-radius: 10px;
  display: flex;
  padding: 15px;
  filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.25));
  flex-direction: column;
  justify-content: flex-start;
}

/* @media only screen and (max-width: 1050px) {
  .container {
    width: 80vw;
  }
} */

@media only screen and (max-width: 800px) {
  .container {
    margin-left: 25px;
    margin-right: 25px;
    }
}

@media only screen and (max-width: 550px) {
  .container {
    margin-left: 5px;
    margin-right: 5px;
    }
}

.article-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  padding: 10px;
}

.article-form-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 25px;
}

.splide__slide>img {
  width: 100%;
  height: 100%;
  background-color: lightgray;
}

.taille #taille{
  background-color: transparent;
  color: black;
}

#taille_container>div {
  display: flex;
  gap: 10px;
  align-items: center;
}

#taille_container>div>.form-group {
  margin-top: 8px;
  margin-bottom: 8px;
}

.error {
  font-size: 18px;
  color: red;
  text-align: center;
  line-height: 18px;
}

.success {
  font-size: 20px;
  color: green;
  text-align: center;
}



/* Header Style */

header {
  box-sizing: border-box;
  justify-content: space-between;
  position: absolute;
  width: 100%;
  height: 75px;
  left: 0px;
  top: 0px;
  display: flex;
  background: #ffffff;
  border: 1px solid #f9f9f9;
  padding: 13px;
  align-items: center;
  z-index: 99;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

header > div {
  display: flex;
  align-items: center;
}

.icon {
  margin-left: 20px;
  width: 43px;
  height: 43px;
  margin-right: 15px;
}

.name {
  align-items: flex-end;
}

h2 {
  font-weight: 600;
  font-size: 20px;
}

h4 {
  font-weight: 600;
  font-size: 13px;
  line-height: 20px;
  color: #a60000;
}

.dividerHead {
  height: 50px;
  margin-right: 8px;
  width: 2px;
  background-color: #d71c1c;
}

a {
  color : #de0000;
  cursor: pointer;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background-color: white;
  overflow-x: hidden;
  padding-top: 20px;
  transition: width 250ms cubic-bezier(0, 0, 0.2, 1) 0ms;
}

#mui-overlay {
  background-color: rgba(0,0,0,0.5)!important;
  z-index: 99!important;
}

/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 22px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
}


.align-form {
  display: flex!important;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 1rem;
  align-items: center;
}

.align-form>div {
  min-width: 160px;
  flex: auto;
  margin-bottom: 0.6em!important;
  margin-top: 0.6rem!important;
}

.btn-excel {
  display: flex;
  align-items: center;
  padding: 22px;
  color: white;
  background-color: #138947;
}

#popUp {
  position: fixed;
  border-top: 10px solid #e92129;
  top: 50%;
  border-radius: 10px;
  left: 50%;
  max-height: 80vh;
  transform: translate(-50%, -50%);
  min-width: 50vw;
  background-color: white;
  padding: 15px 5px 25px 5px;
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: center;
  z-index: 101;
}

@media only screen and (max-width: 800px) {
  #popUp {
      min-width: 60vw;
  }
}
@media only screen and (min-width: 600px) {
  video {
    width: 100%!important;
  }
}
@media only screen and (max-width: 600px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  #popUp {
    min-width: 80vw;
  }
}
@media only screen and (max-width: 500px) {
  #popUp {
      width: 100%;
  }
}


.autoComplete_wrapper{    
  display: block;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  position: relative;
}
.autoComplete_wrapper>input::placeholder{color:rgba(123,123,123,.5);transition:all .3s ease}
.autoComplete_wrapper>ul{position:absolute;max-height:226px;overflow-y:scroll;top:100%;left:0;right:0;padding:0;margin:.5rem 0 0 0;border-radius:.6rem;background-color:#fff;box-shadow:0 3px 6px rgba(149,157,165,.15);border:1px solid rgba(33,33,33,.07);z-index:1000;outline:0}
.autoComplete_wrapper>ul:empty,.autoComplete_wrapper>ul[hidden]{display:block;opacity:0;transform:scale(0)}
.autoComplete_wrapper>ul>li{margin:.3rem;padding:.3rem .5rem;list-style:none;text-align:left;font-size:1rem;color:#212121;transition:all .1s ease-in-out;border-radius:.35rem;background-color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .2s ease}
.autoComplete_wrapper>ul>li::selection{color:rgba(#fff,0);background-color:rgba(#fff,0)}
.autoComplete_wrapper>ul>li:hover{cursor:pointer;background-color:rgba(123,123,123,.1)}
.autoComplete_wrapper>ul>li mark{background-color:transparent;color:#ff7a7a;font-weight:700}
.autoComplete_wrapper>ul>li mark::selection{color:rgba(#fff,0);background-color:rgba(#fff,0)}
.autoComplete_wrapper>ul>li[aria-selected=true]{background-color:rgba(123,123,123,.1)}
@media only screen and (max-width:600px){.autoComplete_wrapper>input{width:18rem}}
.autoComplete_wrapper>input {
  display: block;
  height: 40px;
  padding: 0.125rem 0.125rem 0.0625rem;
  font-size: 1rem;
  box-shadow: rgb(0 0 0 / 20%) 0px 2px 1px -1px, rgb(0 0 0 / 14%) 0px 1px 1px 0px, rgb(0 0 0 / 12%) 0px 1px 3px 0px;
  width: 100%;
  padding-left: 20px;
  font-size: 1rem;
  color: black;
  border-radius: 8px;
  border: 0;
  outline: 0;
}


.autoComplete_wrapper > ul > li mark {
  color: #de0000!important;
}

table {
  border-collapse: separate;
  border-spacing: 0 2px;
}

.article-selected {
  background-color: rgb(249 144 144 / 16%);
}

.search_position {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-around;
  gap: 20px;
}

fieldset {
  border: 0px;
}

button {
  box-shadow: 0 0 2px rgb(0 0 0 / 12%), 0 2px 2px rgb(0 0 0 / 20%);
}

.position-cross {
  position: relative;
  height: 28px;
  top: -400px;
  right: -365px;  
  padding: 1px;
}

.taille {
  padding: 6px 13px 10px 13px;
}

.splide__arrow--next {
  right: -2em!important;
}
.splide__arrow--prev {
  left: -2em!important;
}
#taille_container>tbody>tr>td {
  padding: 0px;
  padding-left: 10px;
  padding-right: 10px;
  line-height: 1;
}

#taille_container>tbody>tr>td>.mui-textfield {
  padding-top : 0px;
  margin-bottom: 0px;
}

.text {
  font-size: 16px;
  font-weight: bold;
}

.value {
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 16px;
}

.mui-table>tbody>tr>td {
  padding: 3px;
  border-bottom: 1px solid rgba(0,0,0,.12);
  line-height: 36px;
}
.depot-table>tbody>tr>td {
  padding: 3px;
  padding-left: 10px;
  padding-right: 10px;
  line-height: 1;
  border : 0px;
  text-align: left!important;
}
.mui-table>tbody>tr>td, .mui-table>thead>tr>th {
  text-align: center;
}

#collapseButton {
  cursor: pointer;
}
#collapseButton:hover {
  background-color: rgb(255 226 226);
}

.no_result {
  padding: 8px;
  font-size: 16px;
}

.animate-slide {
  max-height: 0px;
  overflow: hidden;
  transition: all 0.3s ease-out;
}

.shown {
  max-height: 2000px;
  overflow: visible;
  transition: all 0.5s ease-in !important ;
}

#hidden>td {
  padding: 0;
  border: unset;
}

#article-data>ul>li {
  list-style: none;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 8px;
}
#article-data>ul>li>span {
  font-weight: normal;
}

#article-data>ul {
  padding: 0px;
}
#article-data>h2 {
  text-align: center;
  font-size: 25px;
  margin: 0;
}
#article-data, #prix-data {
  background-color: #ededed21;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 0 2px rgb(0 0 0 / 12%), 0 2px 2px rgb(0 0 0 / 20%);
}

#prix-data>div>div>h2>span {
  color: #de0000;
  font-size: 1.2em;
}
.old_price {
  text-decoration: line-through;
  font-size: 1em;
  font-weight: normal;
  margin: 5px;
  color: black!important;
}



.lds-spinner {
  color: official;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  transform: scale(0.5);
  margin: auto;

}
.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: red;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}


.tooltip {
  position: relative;
  display: inline-block;
}
.tooltip .tooltiptext {
  top: 100%;
  left: 50%;
  margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */
}
/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: #5d5d5d;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  font-size: 14px;
  font-weight: normal;
  position: absolute;
  z-index: 1;
}
.tooltip .tooltiptext::after {
  content: " ";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -7px;
  border-width: 7px;
  border-style: solid;
  transform: rotate(180deg);
  border-color: #5d5d5d transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

@keyframes rotate {

from {transform: rotate(0deg)}
to {transform: rotate(360deg)}

}

  
.refresh-start {

animation-name: rotate;
animation-duration: 0.6s;
animation-iteration-count: infinite;
animation-timing-function: linear;
animation-play-state: running;

}

  
#refresh:hover {
  cursor: pointer;
}

#search-button-loupe {
  background-color: transparent;
  border: 0;
  box-shadow: none;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 15px;
  fill: #262626;
  display: none;
}

@media only screen and (max-width:500px){
  #search-button-loupe {
    display: block;
  }
  #search-button {
    display: none;
  }
}

#detail_prix {
  text-transform: lowercase;
  color: #616161;
  font-style: italic;   
}

#detail_prix>span {
  font-weight: bold;
}

img[alt="Info icon"] {
  display: none;
}

#scanButton {
  border: none;
  border-radius: 100%;
  height: 70px;
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#reader {
  border: none!important;
}

#html5-qrcode-button-camera-start, #html5-qrcode-button-camera-stop
, #html5-qrcode-button-camera-permission {
  font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
    color: rgba(0,0,0,.87);
    background-color: #FFF;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    display: inline-block;
    height: 36px;
    padding: 0 26px;
    margin: 6px 0;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    background-image: none;
    text-align: center;
    line-height: 36px;
    vertical-align: middle;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 14px;
    font-family: inherit;
    letter-spacing: .03em;
    position: relative;
    overflow: hidden;
}

#html5-qrcode-anchor-scan-type-change {
  margin-top: 20px;
  display: block;
  font-size: 21px;
}

#codebarre {
  color: blue;
}

.mbsc-scroller-wheel-item>div {
  display: none;
}

.hidden {
  display: none!important;
}

#scroll_graph {
  display: none;
  max-width: 85vw;
  overflow-x: scroll
}

#hide_history {
  display: none;
}

.horizontal-scroll {
  overflow: hidden;
  overflow-x: auto;
  clear: both;
  width: 100%;
}

table {
  min-width: rem-calc(640);
}

.tabulator .tabulator-footer .tabulator-footer-contents {
  flex-wrap: wrap;
}

.splide{
  width: 300px;
  height: 100%;
  max-width: 80vw;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.block_fiche {
  min-width: 90%;
  margin: 2px;
  margin-top: 20px;
  padding: 12px;
  background-color: #ededed21;
  border-radius: 10px;
  box-shadow: 0 0 2px rgb(0 0 0 / 12%), 0 2px 2px rgb(0 0 0 / 20%);
}
.block_fiche > h3 {
  margin: 0;
  margin-bottom: 5px;
  font-weight: bold;
}
.mui-btn--danger.mui-btn--flat:hover {
  background-color: unset !important;
}

.align-form > .mui-textfield {
  padding: 5px;
}

tr, td, th {
  word-wrap: break-word;
  white-space: normal;
}

#etiquette {
  display: none;
}

.autoComplete_wrapper {
  flex: 1 !important;
}