body {
  background: #20dcaa;  /* fallback for old browsers */
  
  background-repeat: no-repeat; 
  background-size: cover;
  background-attachment: fixed;

  font-family: 'Source Sans Pro', sans-serif;
}
 
body, html {
  height: 100%;
}

.shining {
  color: #f9f3f4;
  background: linear-gradient(90deg, #f9f3f4, #f9f3f4, #f9f3f4) no-repeat;
  background-size: auto;
  background-clip: border-box;
  background-size: 80%;
  animation: animate 2s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.8);
}

.shining:hover{
  
  color: #006eff;
  background: linear-gradient(90deg, #006eff, #006eff, #006eff) no-repeat;
  background-size: auto;
  background-clip: border-box;
  background-size: 80%;
  animation: animate 2s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.8);

}

@keyframes animate {
  0% {
      background-position: -500%;
  }
  100% {
      background-position: 500%;
  }
}
/* ======
LOGIN PAGE
====== */

.loginContainer{
  width: 100%;
  height: 100%;
  display: flex;
}


.loginContent{
  margin: auto;
}

.loginImage{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loginBody{
  background-color: white;
  border-radius: 5px;
  padding: 30px;
} 

/* ======
DASHBOARD PAGE
====== */

.dashboardContainer{
  width: 100%; 
  margin-left: -30%;
}

.dashboardSite:hover{
  background-color: rgb(238, 238, 238)!important;
  transition: all 0.3s;
}

/* ======
AUTRES PAGES
====== */

.links{ text-decoration: none!important;color: black;transition: all 0.3s; }
.links:hover{ color: rgb(43, 42, 42)k;transition: all 0.3s; }

.dropLabel:hover{
  background-color: #a1a1a12d!important;
  cursor: pointer;
}

.filtre .form-inline{
  justify-content: flex-end;
}

.index{
  margin-top: 2%;
} 

.groupes{
  margin-left: 30%;
  margin-right: 30%;
}

.text-0{
  color: #6c757d!important;
}

.text-1{
  color: #28a745!important;
}

.text-2{
  color: #dcb535!important;
}

.text-3{
  color: #dc3545!important;
}

.text-4{
  color: #0084ff!important;
}

.colored-Alerte{
  background-color: #dcb5358e!important;
}

.colored-Alarme{
  background-color: #dc35468e!important;
}

.transparence{
  background-color: rgba(255, 255, 255, 0.61)!important;
}
.floatr{
  float: right;
}

.form-inline .from-check{
  justify-content: left!important;
  cursor: pointer;
}

/* ====
SLIDER TOGGLE BOUTON 
==== */

.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .1s;
  transition: .1s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 0px;
  bottom: 0px;
  background-color: white;
  -webkit-transition: .1s;
  transition: .1s;
  border-radius: 34px;
}

input:checked + .slider {
  background-color: #235170;
}

input:focus + .slider {
  box-shadow: 0 0 1px #235170;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}


/* ====
NAVBAR 
==== */

div.borderXwidth .head:before, div.borderXwidth .head:after
{
    position: absolute;
    opacity: 0;
    width: 0%;
    height: 2px;
    content: '';
    background: #FFF;
    transition: all 0.3s;
}

div.borderXwidth .head:before
{
    left: 0px;
    top: 0px;
}

div.borderXwidth .head:after
{
    right: 0px;
    bottom: 0px;
}

div.borderXwidth .head:hover:before, div.borderXwidth .head:hover:after
{
    opacity: 1;
    width: 100%;
}


header span
{
    color: #222;
}

footer span
{
  color: #AAA;
}

div.contain
{
    margin-left: auto;
}

div.contain .head
{
    color: #FFF;
    margin: 0px 10px;
    padding: 10px 10px;
    position: relative;
    z-index: 0;
    cursor: pointer;
}


/* ======
TV PAGE
====== */

.slotVending, .slotArticle{
  position: relative;
  cursor: pointer;
  user-select: none;
}

.articlePrice{
  color: #6c757d;
  position: absolute;
  bottom: 0px;
  right: 5px;
}

.slotValue{
  position: absolute;
  background-color: white;
  border-radius: 5px;
  min-width: 15px;
  min-height: 15px;
  padding: 0px 5px;
  top: -7px;
  left: -7px;
}

.rectangle{
  width: 205px!important;
}

.square{
  display: inline-block;
  width: 6rem;
  height: 6rem;
  margin: .25rem;
  background-color: #f5f5f5;
}

.square-muted{
  opacity: .5;
}

.vl {
  border-left: 2px solid white;
  height: 45px;
}

/* STRUCTURE */

.wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-evenly;
  width: 100%;
  min-height: 80%;
}




/* DRAGGABLE */
body ul {
  padding: 0px;
}
body ul .draggable {
  will-change: transform;
  font-weight: 800;
  height: 50px;
  list-style-type: none;
  margin: 10px;
  background-color: rgba(128, 128, 128, 0.103);
  color: #212121;
  line-height: 3.2;
  padding-left: 10px;
  cursor: move;
  transition: all 200ms;
  user-select: none;
  margin: 10px auto;
  position: relative;
}
body ul .draggable:hover:after {
  opacity: 1;
  transform: translate(0);
}
 
.over {
  transform: scale(1.1, 1.1);
}








/* Mise en page pour mobile */
@media (max-width: 480px) {
  .navbar-brand-head{
      display: block;
      margin-left: auto;
      margin-right: auto
  }
  .rectangle{
    width: 100%!important;
  }

  .datationRapide{
    padding-left: 15px;
    padding-right: 15px;
  }
  .w-25{
    width: 100%!important;
  }

  .tableDistri{
    overflow: auto;
  }
}





/* ======
COOKIES
====== */

#cookies-bar{
  position:fixed;z-index:2000; bottom:0; left:0; width: 100%;  text-align: center; padding: 20px 0; margin:0;  background: rgba(244, 244, 244, 0.9);  color: #919191;  font: 14px arial, sans-serif;
}

.cookie-btn{
  background-color: lightblue;
  color: white;
  padding: 5px;
  border-radius: 5px;
  margin-top: 10px;
}

.btn-1{
  background-color: #235170;
  color: white;
}
.btn-1:hover{
  background-color: #009D9D;
  color: white;
}

.btn-2{
  background-color: #009D9D;
  color: white;
}
.btn-3{
  background-color: #36C195;
  color: white;
}

.color-2{
  color: #009D9D;
}

.color-3{
  color: #36C195;
}

.list-group-item.active{
  background-color: #235170;
  border-color: #235170;
}

.sl > label{
  padding: 0px 40px;
}

.installSiteP{
  padding: 10px 40px;
}

.installSiteList{
  display: flex;
  flex-wrap: wrap;
}

.validConfigBtn{
  position: fixed;
  right: 40px;
  top: 44%;
}

.datationRapide p, #allUnselect{
  cursor: pointer;
  color: #235170;
}

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

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

.cardSearchRecap{
  position: absolute;
  top: 80px;
  cursor: pointer;
  transition: all .2s;
  max-height: 70%;
  overflow-y: scroll;
}


th, td{
  white-space: nowrap
}

.stackAlert{
  position: absolute;
  top: 75px;
  right: 10px;
  width: 300px;
  z-index: 8;
  max-height: 450px;
}
/* ====
SCROLLBAR 
==== */

/* width */
::-webkit-scrollbar {
  width: 5px;
  height: 7px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #235170; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(155, 155, 155); 
}




.placeholder {
  cursor: wait;
  background-color: currentcolor;
  opacity: 0.5;
}

.placeholder-red {
  background-color: red;
}


.placeholder-glow .placeholder {
  -webkit-animation: placeholder-glow 2s ease-in-out infinite;
  animation: placeholder-glow 2s ease-in-out infinite;
}

@-webkit-keyframes placeholder-glow {
  50% {
    opacity: 0.2;
  }
}

@keyframes placeholder-glow {
  50% {
    opacity: 0.2;
  }
}


.list-group-item > span{
  font-weight: bold;
  float: right;
}

th{
  white-space: nowrap;
}

.qteRefill{
  position: relative;
  top: 30px;
}
.qteRefill input{
  border: 1px solid #235170;
  outline-width: 0;
  border-radius: 5px;
  text-align: center;
  width: 40px;
}
.qteRefill :focus{
  border: 1px solid #235170;
  outline-width: 0;
}

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

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