html, body{
    font-family: "Open Sans", helvetica, arial, sans-serif !important;
}

.bg-image{
    object-fit: cover;
    background-position: center;
    background-size: cover;
}

.bg-primary{
    color: white !important;
    background-color: #A1BC6A !important;
}

.navbar-dark .navbar-nav .nav-link{
    color: white !important;
}

.alert-success p{
    margin-bottom: 0px !important;
}

.dropdown-menu-right{
    text-align: right;
    right: 0;
}
html, body{
    height: 100%;
    overflow-x: hidden;
    background-color: #f8f9fe;
}
#contentBody{
    height: 100%;
}
#contentBody .bg-light{
    background-color: white !important;
}

#contentBody .d-flex .navbar-collapse{
    width: 100%;
    flex-direction: column;
    align-items: center;
    flex: 1;
}
#menu .nav{
    display: block;
    width: 100%;
}

.nav-pills .nav-link{
    color: #2C3E50;
}

.nav-pills .nav-link.active{
    color: #A1BC6A;
    background-color: transparent;
}
.text-muted{
    font-size: 60%;
    display: inline-block;
}

table.align-middle tr td{
    vertical-align: middle;
}

.badge[data-color]{
    background-color: attr(data-color color);
}

.nav-pills li ul{
    list-style: none;
    display: none
}

.nav-pills > li > a{
    text-transform: uppercase
}

.nav-pills li ul li a{
    font-size: 13px;
}

li.nav-item.active ul{
    display: block;
}
/*
li.nav-item.active{
    background-color: #F8F9FE;
}*/

.float-right{
    float: right;
}

.tab-pane.fade{
    display: none;
}

.tab-pane.fade.show{
    display: block;
}

.FixedBottom{
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    background-color: white;
    border-top: #eee solid 1px;
    text-align: center;
    z-index: 5000;
    -webkit-box-shadow: #eee 0 0 10px;
    box-shadow: #eee 0 0 10px;
    padding: .9375rem;
    -webkit-box-shadow: #F8F9FE 0 0 10px;
    box-shadow: #F8F9FE 0 0 10px;
}

.FixedBottom .d-flex{
  gap: .9375rem;
  justify-content: space-between !important;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 5005;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #FFFFFF;
    border-right: 1px solid #eee;
}

@media (min-width: 768px) {
    .col-sm-offset-3 {
        margin-left: 25%;
    }
    .col-sm-offset-right-3{
        width: calc(100% - 25%) !important;
    }
}

@media (min-width: 992px) {
    .col-md-offset-2 {
        margin-left: 16.66666667%;
    }
    .col-md-offset-right-2{
        width: calc(100% - 16.66666667%) !important;
    } 
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link{
    box-shadow: 0px 0px transparent !important;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link{
    border-color: #A1BC6A;
}

/****/

.can-toggle {
    position: relative;
    display: flex;
    align-items: center;    
  }
  .can-toggle *, .can-toggle *:before, .can-toggle *:after {
    box-sizing: border-box;
    cursor: pointer;
  }
  .can-toggle input[type=checkbox] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
  }
  .can-toggle input[type=checkbox][disabled] ~ label {
    pointer-events: none;
  }
  .can-toggle input[type=checkbox][disabled] ~ label .can-toggle__switch {
    opacity: 0.4;
  }
  .can-toggle input[type=checkbox]:checked ~ label .can-toggle__switch:before {
    content: attr(data-unchecked);
    left: 0;
  }
  .can-toggle input[type=checkbox]:checked ~ label .can-toggle__switch:after {
    content: attr(data-checked);
  }
  .can-toggle label {
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0px;
  }
  .can-toggle label .can-toggle__label-text {
    flex: 1;
    width: 200px;
    margin-bottom: 0px;
  }
  .can-toggle label .can-toggle__switch {
    position: relative;
  }
  .can-toggle label .can-toggle__switch:before {
    content: attr(data-checked);
    position: absolute;
    top: 0;
    text-transform: uppercase;
    text-align: center;
  }
  .can-toggle label .can-toggle__switch:after {
    content: attr(data-unchecked);
    position: absolute;
    z-index: 5;
    text-transform: uppercase;
    text-align: center;
    background: white;
    transform: translate3d(0, 0, 0);
  }
  .can-toggle input[type=checkbox][disabled] ~ label {
    color: rgba(119, 119, 119, 0.5);
  }
  .can-toggle input[type=checkbox]:focus ~ label .can-toggle__switch, .can-toggle input[type=checkbox]:hover ~ label .can-toggle__switch {
    background-color: #777;
  }
  .can-toggle input[type=checkbox]:focus ~ label .can-toggle__switch:after, .can-toggle input[type=checkbox]:hover ~ label .can-toggle__switch:after {
    color: #6c868e;
    font-weight: 600;
  }
  .can-toggle input[type=checkbox]:hover ~ label {
    color: #6c868e;
    font-weight: 600;
  }
  .can-toggle input[type=checkbox]:checked ~ label .can-toggle__switch {
    background-color: #A1BC6A;
  }
  .can-toggle input[type=checkbox]:checked ~ label .can-toggle__switch:after {
    color: #6c868e;
    font-weight: 600;
  }
  .can-toggle input[type=checkbox]:checked:focus ~ label .can-toggle__switch, .can-toggle input[type=checkbox]:checked:hover ~ label .can-toggle__switch {
    background-color: #A1BC6A;
  }
  .can-toggle input[type=checkbox]:checked:focus ~ label .can-toggle__switch:after, .can-toggle input[type=checkbox]:checked:hover ~ label .can-toggle__switch:after {
    color: #A1BC6A;
  }
  .can-toggle label .can-toggle__label-text {
    flex: 1;
  }
  .can-toggle label .can-toggle__switch {
    transition: background-color 0.3s cubic-bezier(0, 1, 0.5, 1);
    background: #848484;
  }
  .can-toggle label .can-toggle__switch:before {
    color: rgba(255, 255, 255, 0.5);
  }
  .can-toggle label .can-toggle__switch:after {
    transition: transform 0.3s cubic-bezier(0, 1, 0.5, 1);
    color: #777;
  }
  .can-toggle input[type=checkbox]:checked ~ label .can-toggle__switch:after {
    transform: translate3d(65px, 0, 0);
  }
  .can-toggle label {
    font-size: 14px;
  }
  .can-toggle label .can-toggle__switch {
    height: 36px;
    flex: 0 0 134px;
    border-radius: 4px;
  }
  .can-toggle label .can-toggle__switch:before {
    left: 67px;
    font-size: 12px;
    line-height: 36px;
    width: 67px;
    padding: 0 12px;
  }
  .can-toggle label .can-toggle__switch:after {
    top: 2px;
    left: 2px;
    border-radius: 2px;
    width: 65px;
    line-height: 32px;
    font-size: 12px;
  }

  .form-floating>.form-control:not(:placeholder-shown)~label::after{
    background-color: transparent !important
  }

  .fs-7{
    font-size: .75rem
  }

  #order_order_details table{
    overflow: visible;
  }

  #order_order_details table > tr{
    position: relative;
    overflow: visible;
  }

  #order_order_details table > tr:before{
    content: '';
    display: block;
    width: 20px;
    height: 40px;
    padding: .4rem;
    margin-top: .4rem;
    cursor: grab;
    z-index: 50;
    position: absolute;
    top: 0;
    left: -20px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktZ3JpcC12ZXJ0aWNhbCIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBkPSJNNyAyYTEgMSAwIDEgMS0yIDAgMSAxIDAgMCAxIDIgMG0zIDBhMSAxIDAgMSAxLTIgMCAxIDEgMCAwIDEgMiAwTTcgNWExIDEgMCAxIDEtMiAwIDEgMSAwIDAgMSAyIDBtMyAwYTEgMSAwIDEgMS0yIDAgMSAxIDAgMCAxIDIgME03IDhhMSAxIDAgMSAxLTIgMCAxIDEgMCAwIDEgMiAwbTMgMGExIDEgMCAxIDEtMiAwIDEgMSAwIDAgMSAyIDBtLTMgM2ExIDEgMCAxIDEtMiAwIDEgMSAwIDAgMSAyIDBtMyAwYTEgMSAwIDEgMS0yIDAgMSAxIDAgMCAxIDIgMG0tMyAzYTEgMSAwIDEgMS0yIDAgMSAxIDAgMCAxIDIgMG0zIDBhMSAxIDAgMSAxLTIgMCAxIDEgMCAwIDEgMiAwIi8+Cjwvc3ZnPg==');
  }

  .sortable-placeholder {
    height: 3rem;
    background-color: #f8f9fa;
    border: 2px dashed #ccc;
    margin: 0.5rem 0;
  }
  .draggable-row {
      cursor: move;
  }

  .ui-state-highlight {
    z-index: 500000 !important;
    background-color: #e3f2fd !important; /* Light blue highlight */
    transition: background-color 0.3s ease;
  }

  .all-products > *{
    overflow: visible !important;
  }

.highlight {
  display: block;
  opacity: 0.2;
  background-color: #A1BC6A;
  margin: 0.5rem 0;
  visibility: visible !important;
}

.ui-sortable-helper {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: none !important;
}

.custom-input-wrapper:has(> input.price){
  position: relative;
}

.custom-input-wrapper:has(> input.price):after{
  content: "€";
  position: absolute;
  right: 10px; 
  top: 50%;
  transform: translateY(-40%);
  color: #333; 
  pointer-events: none;
}

input.price {
  padding-right: 20px; 
}

#tab-perso .nav-link:not(.active){
  color: white !important;
}

#tab-perso .nav-link.active{
  border: 0px !important;
  border-top-left-radius: 5px !important;
  border-top-right-radius: 5px !important;
  position: relative;
  z-index: 1;
}

.form_search .form-control{
  color: white !important;
  border: 1px solid white !important;
  background-color: transparent !important;
}

.form_q .form-control{
  color: white !important;
  border: 1px solid white !important;
  background-color: transparent !important;
}

.form_q .form-control::-webkit-calendar-picker-indicator{
  filter: invert(1);
}

.form_search .form-control::placeholder {
  color: white !important;
}

.form_search button{
  background-color: transparent !important;
  border: 0px !important;
  color: white !important;
  margin-left: -40px;
}

/**/

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

table.product th {
  background-color: #f8f8f8;
  font-size: 95%;
}