@font-face {
  font-family: 'SF-Pro';
  src: url('../fonts/SF-Pro.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SF-Pro';
  src: url('../fonts/SF-Pro-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

[data-bs-theme="dark"] {
  --bs-body-bg: #000;
  --bs-bg-dark: #000;
  background-color: #000 !important;
}

.text-info {
  color: rgb(50 158 224) !important;
}

.alert-danger {
  --bs-alert-color: #a31524;
}


html, body {
  touch-action: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


body {
  font-family: 'SF-Pro', var(--bs-body-font-family);
  transition: margin-right 0.4s ease;
  background-image: url(../images/bg/plage2.jpg);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(40%) sepia(80%) saturate(300%) hue-rotate(180deg);
  cursor: pointer;
}



.btn-index {
  background-color: rgb(255 255 255 / 25%) !important;
  backdrop-filter: blur(20px);
  width: 165px;
}



.body-margin-right {
  margin-right: 50%;
}

.container-fluid {
  overflow: hidden;
}

.main {
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.25;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus,
.btn-outline-dark:active {
  color: #212529;
  background-color: transparent;
  border-color: #212529;
}

.alert-warning {
  --bs-alert-color: #a46a15;
  --bs-alert-bg: #f6e5b8;
  --bs-alert-border-color: #e6c184;
}

input, textarea, [contenteditable="true"] {
  -webkit-user-select: text !important;
  user-select: text !important;
}

input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
}


div#ca-histo {
  max-height: 125px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Largeur de la scrollbar */
::-webkit-scrollbar {
  width: 5px;
  background-color: transparent;
}

/* Piste (track) transparente */
::-webkit-scrollbar-track {
  background-color: transparent;
}

/* Curseur semi-transparent */
::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 1px;
}


#qr-reader {
  min-height: 300px;
  max-height: 500px;
  background-color: rgb(255 255 255 / 25%) !important;
  backdrop-filter: blur(20px);
}


#div-recherche {
  position: sticky;
  top: 30px;
}

input[name='rechercher'] {
  text-transform: uppercase;
  background: none;
}

input[name='rechercher']::placeholder {
  text-transform: none;
}

#offcanvasScrolling {
  background: rgb(255 255 255 / 10%);
  backdrop-filter: blur(100px);
}

.clavier {
  zoom: 0.85;
}

.clavier .d-flex div
{
  background: #ffffff30;
  width: 60px;
  margin-left: 5px;
  margin-right: 5px;
  text-align: center;
  border-radius: 5px;
  font-size: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

.clavier .d-flex div:active {
  background-color: #64676a;
}

.clavier .espace {
  width: 480px !important;
}

.clavier .effacer {
  width: 200px !important;
}




input#input-lecteur {
  width: 0;
  height: 0;
  padding: 0;
  border: 0;
}

div#heure {
  font-size: 150px;
  margin-bottom: 20px;
}



/*
.cercle-border {
  position: relative;
  width: 250px;
  height: 250px;
  border: 5px solid #FFF;
  border-radius: 100%;
  opacity: 0.25;
}
*/

@media (min-width: 1300px)
{
  #btns-index img.img-index {
    opacity: 0;
  }

  #btns-index:focus-within img {
    opacity: 1;
  }
}


#container-music .btn-lg img {
  margin-bottom: 3px;
}

#container-second {
  overflow-y: scroll;
}

div#div-scanner {
  height: calc(100vh - 60px);
}



.loader {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  position: relative;
  animation: rotate 1s linear infinite;
  margin: 10px;
  opacity: 0.5;
}
.loader::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  border: 5px solid #FFF;
  animation: prixClipFix 2s linear infinite ;
}

@keyframes rotate {
  100%   {transform: rotate(360deg)}
}

@keyframes prixClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
}



.slide-top {
  animation: slide-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.slide-bottom {
	animation: slide-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.slide-in-fwd-center {
	animation: slide-in-fwd-center 0.25s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}



@keyframes slide-top {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}


@keyframes slide-bottom {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(200%);
  }
}


@keyframes slide-in-fwd-center {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
