body,html{
  overflow-x: hidden;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #009d57;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.dark-mode .content-wrapper {
    background-color: #f8f9fa !important;
  }

  .dark-mode .navbar-dark {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
  }

  .layout-navbar-fixed .wrapper .sidebar-dark-primary .brand-link:not([class*=navbar]) {
    background-color: #f8f9fa;
  }

  [class*=sidebar-dark-] {
    background-color: #f8f9fa;
  }

  .dark-mode {
    background-color: #f8f9fa !important;
    color: black;
  }

  [class*=sidebar-dark] .brand-link,
  [class*=sidebar-dark] .brand-link .pushmenu {
    color: rgba(0, 0, 0, .8);
  }

  .dark-mode .content-wrapper .content-header {
    color: #000000;
  }

  .navbar-dark .navbar-nav .nav-link {
    color: rgba(0, 0, 0, .75);
  }

  .dark-mode .info-box {
    background-color: #ffffff;
    color: #344767;
    ;
  }

  .info-box {
    box-shadow: 0 20px 27px 0 rgba(0, 0, 0, .05);
    border-radius: 1rem;
    background-color: #fff;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 1rem;
    min-height: 80px;
    padding: 0.5rem;
    position: relative;
    width: 100%;
    flex-direction: row-reverse;
    align-items: center;
  }

  .dark-mode .bg-gradient-primary {
    background-image: linear-gradient(310deg, #7928ca, #ff0080);
    color: #fff;
  }

  .navbar-vertical .navbar-nav>.nav-item .nav-link.active {
    color: #344767;
    background-color: #fff;
  }

  .dark-mode .sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
  .dark-mode .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    color: #ffffff;
    background-color: #fff;
    font-weight: 600;
    box-shadow: 0 20px 27px 0 rgba(0, 0, 0, .05);
    border-radius: 0.5rem;
    
    background-image: linear-gradient(32deg, #009534, #009d57);
   /* background-image: linear-gradient(310deg, #1b922d, #00ff36);*/
  }



  .dark-mode .nav-pills .nav-link {
    color: #344767;
  }

  [class*=sidebar-dark] .brand-link,
  [class*=sidebar-dark] .brand-link .pushmenu {
    color: #344767;
    font-weight: 600;
  }

  .dark-mode .main-footer {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
  }

  .dark-mode .card {
  background-color: #ffffff;
  color: #344767;
 
}

.dark-mode .bg-gradient-primary {
  background-image: linear-gradient(32deg, #009534, #009d57);
  color: #fff;
  border-radius: 40px;
}
.card {
  box-shadow: 0 20px 27px 0 rgba(0,0,0,.05);
}

[class*="sidebar-dark"] .brand-link {
  border-bottom: 1px solid #4b545c1f;
}

[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link {
  color: #474747;
}

[class*="sidebar-dark-"] .nav-sidebar > .nav-item.menu-open > .nav-link, [class*="sidebar-dark-"] .nav-sidebar > .nav-item:hover > .nav-link, [class*="sidebar-dark-"] .nav-sidebar > .nav-item > .nav-link:focus {
  background-color: rgba(255, 255, 255, 0.1);
  color: #344767;
}


/*
.nav-link:hover i, p 
{
color: #000000;
}*/


.info-box .info-box-icon {
  border-radius: 1.25rem;
  -ms-flex-align: center;
  align-items: center;
  display: -ms-flexbox;
  display: flex;
  font-size: 1.875rem;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  width: 60px;
  height: 60px;
}

[class*="sidebar-dark-"] .nav-header {
  background-color: inherit;
  color: #000000;
}

.dark-mode .products-list > .item {
  background-color: #f8f9fa;
  color: #344767;
  /* border-bottom-color: #6c757d; */
}

.dark-mode .product-description {
  color: #344767;
}


.media-body p
{
color: #ffffff;
}


.dark-mode .preloader {
  background-color: #454d55 !important;
  color: #fff;
  background-image: linear-gradient(310deg, #23702a, #000000);
}

.info-box .info-box-number {
  display: block;
  margin-top: 0.25rem;
  font-weight: 900;
  font-size: xx-large;
}




.myBotton{
  /* Altezza minima, non fissa: un'etichetta piu' lunga della larghezza (succede in
     francese, "NOUVEAU POINT DE VENTE") va su due righe e resta leggibile. Con
     height: 45px la seconda riga finiva fuori dal pulsante. */
  min-height: 45px;
  max-width: 230px;
  width: 100%;
  border: none;
  outline: none;
  color: #fff;
  border-radius: 5px;
  margin: 25px 0;
  background-color: #4070f4;
  transition: all .3s linear;
  cursor: pointer;
}



.DivbtnSearchFake
{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.btnSearchFake
{
  padding: 10px;
  margin: 40px;
}


.rigo{
  border-bottom: solid 1px #bebebe;
  color: #009d57
}


.griggio{
  background-color: #f1f1f1;
  padding: 10px
}


.location-box:hover{
  background-color: #0a4527;
  color:white;
  cursor: pointer;
}

.location-box:hover div p {
  color:white;
}


.location-box-match {
  border-bottom: 1px solid #ececec;
  padding-bottom: 20px;
  padding-top: 20px;
}

.location-box-match:hover{
  background-color: #0a4527;
  color:white;
  cursor: pointer;
}

.location-box-match:hover div p {
  color:white;
}

.dark-mode .btn-primary {
  color: #fff;
  background-color: #009b4f;
  border-color: #009b4f;
  box-shadow: none;
}

a {
  color: #000000;
  text-decoration: none;
  background-color: transparent;
}

.viewLocale{
  display: none;
  margin-bottom: 20%;
}

.viewMatrix {
  display: none;
}

.activelocation-box {
  color:white;
  background-color: #009b4f;
}

.activeMatrix-box {
  color:white;
  background-color: #009b4f;
}

.mostraMatrix:hover{
  color:white;
  background-color: #0a4527;
  cursor: pointer;
}

.activelocation-box p.verde{
  color: white;

}

.activeMatrix-box div.verde{
  color: white;

}

/* Il seriale della macchina e' scritto con .text-success, cioe' verde. Quando il
   riquadro viene selezionato il fondo diventa verde anche lui e il seriale
   spariva: verde su verde. Qui torna bianco come il nome del locale accanto.
   Serve !important perche' .text-success di AdminLTE lo usa a sua volta. */
.activelocation-box .text-success,
.activeMatrix-box .text-success {
  color: white !important;
}

.flexCentrale
{
  display: flex;
  justify-content: center;
  align-items: center;
}

.scopa{
  display: flex;
      flex-direction: row;
      justify-content: flex-end;

}

.scopa li{
  list-style:none
}

.flexCentraleDx
{
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.flexSpazio{
  display: flex;
    align-items: center;
    justify-content: space-around;
}

#invoices tr td {
  vertical-align: inherit;
}


.imgRicambi
{
  background-color: #f5f3f3;
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding: 50px;
    margin-bottom: 10px;
}

.attivo{
  color: #009d57;
    border-bottom: solid 5px #009d57 !important;
    font-weight: bold;
}


.centroRefresh{
  position: absolute; 
  top: -20px;
}

.centroRefresh img {
  cursor: pointer;
}


.centroRefresh p {
  font-weight: bold;
  color:#28a745 
}

.dropdown-left-manual {
  left: -79px !important;
}

.dark-mode .select2-dropdown {
  background-color: #019b50;
  border-color: #019b50;
  color: white;
}

.select2-container--default .select2-results__option--selected {
  background-color: #55e616;
}


.ombrasu{
  box-shadow: 1px 3px 20px 9px #e1e1e1;
}

.ombraDx{
  box-shadow: 0px 2px 11px 0px #0000001f;
}

.select2-dropdown--below{
  box-shadow: 0px 16px 19px 5px #a6a6a6;
}

.bicchiereSfondo{
  background-image: url("../img/default-gusto.png");
    width: 400px;
    height: 400px;
    border: solid 10px #f1f1f1;
    background-size: 30%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: cornsilk;
}

.fotoDefault
{
  width: 100px;
  height: 100px;
  border: solid 5px #f1f1f1;
}

.footerLogin{
  color: white;
  position: fixed;
  bottom: 0;
  padding: 20px;
  right: 10px;
  font-weight: 100;
}


.ombraGiu{
  box-shadow: 0px 2px 11px 0px #0000001f;
}


.pallinoNotifica
{
  font-size: 9px;
  font-weight: bold;
  padding: 4px 6px;
  position: absolute;
  right: 2px;
  top: 5px;
  border-radius: 90px;
}

.cancellaNotifica > i{
  cursor: pointer;
}

.top-btn {
  all: unset;
  font-size: 10px;
  position: fixed;
  right: 20px;
  bottom: 80px;
  cursor: pointer;
  transform: scale(1.8);
  opacity: 0;
  transition: .3s;
  color: #ffffff;
  background-color: black;
  z-index: 10000;
  padding: 5px;
}

.dark-mode .select2-container .select2-search--inline .select2-search__field {
  background-color: transparent;
  color: #000000;
}

.mappaMondo{
  background-image: url("../img/mappa-itinerante-con-spille-d-oro.jpg");
  background-size: cover;
    background-position: center;
}

.pp{
  transform: scale(1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
      transform: scale(0.25);
      box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
      transform: scale(1);
      box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
      transform: scale(0.25);
      box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

.nav-treeview{
  opacity: 1 !important;
}

.playVideo:hover{
  cursor: pointer;
  font-size:18px;
  color:#009d57;
  font-weight: bold;
}

.titleVideo{
  font-size: 21px;
}

.accessToMaintenance{
  margin: 0px;
  padding: 0px;
  font-weight: 100;
  color: #ffffffde;
  text-transform: uppercase;
  font-size: 24px;
}

.hrm{
  background-color: #ffffff
}


#search-criteria{
  border: solid 1px #d2d2d2;
}


.ui-widget-header {
  border: 1px solid #ddd;
  background: #e9e9e9;
  color: #009d57;
  font-weight: bold;
}


.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
  border: 0px solid #c5c5c5; 
  background: #ffffff; 
 font-weight: normal;
 color: #000000;
 text-align: center;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
  border: 1px solid #ffffff;
  background: #009d57;
  color: #ffffff;
  border-radius: 60px;
  text-align: center;
}

.ui-widget-header {
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #009d57;
  font-weight: bold;
}

.ui-widget.ui-widget-content {
  border: 1px solid #ffffff;
}


  .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #009d57;
    background: #009d57;
    font-weight: normal;
    border-radius: 60px;
    color: #fff;
}

.dark-mode .input-group-text {
  border-color: #bebebe;
}


.dark-mode .form-control:not(.form-control-navbar):not(.form-control-sidebar):not(.is-invalid):not(:focus), .dark-mode .custom-file-label, .dark-mode .custom-file-label::after {
  border-color: #dedede;
}

.sidebar {
  scrollbar-color: #009b4f transparent;
}

/*
.active > p{
  color: white !important
}
  */

  .dark-mode .sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .dark-mode .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active > p {
    color: #ffffff;

}

[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link:hover, [class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link:focus {
  background-color: rgb(210 210 210);
  color: #000000;
}


.titoloStatistiche{
  background-color: #7a40f2;
  padding: 20px;
  color: white;
  border-radius: 10px 10px 0px 0px;
  font-weight: bold;
  text-transform:uppercase;
  display: flex;
  justify-content: space-between;
}

.titoloStatisticheVerde{
  background-color: #009b4e;
  padding: 20px;
  color: white;
  border-radius: 10px 10px 0px 0px;
  font-weight: bold;
  text-transform:uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cerchioVerde{
  background-color: #009d57;
  width: 50px;
  height: 50px;
  color: white;
  border-radius: 50px;
  padding: 10px;
  font-size: smaller;
  left: 50px;
  position: absolute;
}

.viola{
  color:#7a40f2
}

.fotoSpare{
  width: 50%;
  border:solid 1px #bebebe
}

.disposizioneVerticale{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.disposizioneInat{
  display: flex;

    justify-content: space-evenly;
    align-items: center;
}

.tank1tank2{
  display: flex;
    align-items: center;
    font-size: larger;
}

.allineac{
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    align-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
}

.dark-mode .text-red {
  color: #ff0000 !important;
}

.dataTables_length{
  padding: 10px;
}

.dataTables_filter{
  padding: 10px;
}


input[type="search"] {
border: solid 1px #bebebe;
}


.dataTables_info, .dataTables_paginate{
  margin-top: 10px;
}

.exception-a-nohover:hover{
  color: #000000 !important;
}

.vrt-header th{
  writing-mode: vertical-rl;
  min-width: 50px; /* for firefox */
  padding-left: 0 !important;
  padding-right: 0 !important;
  Transform: rotate(180deg);
  vertical-align: sub !important;
}

#table-stat-allarmi .sorting{
  background-image: none !important;
}

.dark-mode a:not(.btn):hover {
  color: #ffffff; 
}

.dark-mode .dropdown-item:focus, .dark-mode .dropdown-item:hover {
  background-color: #0a4527;
}

.dark-mode .select2-results__option[aria-selected="true"] {
  background-color: #0a4527  !important;
  color: #dee2e6;
}

.select2-container--default .select2-results__option--selected {
  background-color: #0a4527 !important;
}

.menStoreList  a:not(.btn):hover {
  color: #000000; 
}


.menStoreMaintenance  a:not(.btn):hover {
  color: #000000; 
}

.viewMatrix  a:not(.btn):hover {
  color: #000000; 
}


.loginBtn {
  border: none;
  background: white;
  border-radius: 5px 0px 0px 5px;
}

#loginUser {
  border: none;
  
 
}

#loginPwd {
  border: none;
}

.loginBtn > span {
  color:#008834
}

.dark-mode .swal2-popup {
  background-color: #f9f9f9;
  color: #000000;
}

.dark-mode .swal2-popup .swal2-content, .dark-mode .swal2-popup .swal2-title {
  color: #009d57;
}

.swal2-styled.swal2-confirm {
  border: 0;
  border-radius: .25em;
  background: initial;
  background-color: #009d57;
  color: #fff;
  font-size: 1em;
}
.swal2-icon.swal2-info {
  color: #009d57;
}

.swal2-icon.swal2-info {
  border-color: #009d57;
  color: #009d57;
}

.menuTopSupplies 
{
  position: absolute;
    top: -72px;
    background: white;
    width: 200%;
    padding: 5px;
    border-bottom: 3px solid #009d57;
}

.menuTopStoreList{
  background: white;
  width: 100%;
  padding: 5px;
  border-bottom: 3px solid #009d57;
}

.spazioFinto {
  background-color: #f0f1f2;
  height: 15px;
}


.menuTopSupplies2 
{
  position: absolute;
    top: -85px;
    background: white;
    width: 200%;
    padding: 5px;
    border-bottom: 3px solid #009d57;
}

.menuTopCalibrazione 
{
    height: 400px;
    background: white;
    width: 200%;
    padding: 5px;
    border-bottom: 3px solid #009d57;
}




.dropdown-menu
{
  left: -90px !important
}

.menuTopSupplies2 .dropdown-menu
{
  left: -70px !important
}

.spazioBet{
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
}

.buttons-html5{
  color: #000000;
    box-shadow: none;
    border: none;
    outline: none;
    border-radius: 5px;
    transition: all .3s linear;
    cursor: pointer;
    box-shadow: none;
    margin-right: 10px;
    padding: 10px;
}


.buttons-html5:hover{
  color: #ffffff;
  background-color: #008834;
}

.dt-buttons{
  display: inline-block;
}


.dimToogle{

    width: 35px;
}

.verde{
  color:#009d57
}

.dark-mode .nav-tabs {
  border-color: #d2d2d2;
}

.dark-mode .border-dark {
  border-color: #d2d2d2 !important;
}

.viola{
  color:#854ff3
}

.dimToogle{
  margin-left: 5px;
}

.card-title{
  color:#000000
}

.maiuscolo{
  text-transform: uppercase;
}

.dark-mode a:not(.btn):hover {
  color: #000000;
  cursor: pointer;
}

.dropdown-item{
  color:white !important
}

.iconDash{
  height: 80px;
    margin-right: 20px;
}

.ombra
{
  box-shadow: 0 20px 27px 0 rgba(0, 0, 0, .05)
}

.dark-mode .card .card {
  background-color: #e6e6e6;
  color: #000000;
}

.che{
  margin-top: 0;
    width: 30px;
    height: 30px;
}

label:not(.form-check-label):not(.custom-file-label) {
  font-weight: 700;
  font-size: 16px;
}

.navbar-nav .dropdown-menu {
  left: -200px !important;
}

.dark-mode .dropdown-divider {
  border-color: #ffffff;
}

.nobordo{
  border: none;
    border-bottom: solid 2px #008834 !important;
    border-radius: 0px;

}

.tab{
  width: 100%;
    height: 100%;
    text-align: center;
    font-size: 18px;
    color: #009d57
}

.tab .verde{
  font-size: 44px;
    font-weight: bold;
}

.bordodx{
  border-right: solid 2px #f1f1f1;
}

.bordoBottom{
  border-bottom: solid 2px #f1f1f1; 
}

.titoloGrafico{
  position: absolute;
  padding: 10px;
  color : #bebebe
}

.bgtrasparente{
  border: none;
    background: transparent;
    cursor: pointer;
}

.dark-mode .select2-dropdown .select2-search__field, .dark-mode .select2-search--inline .select2-search__field {
  background-color: #f1f1f1;
}


.language-select {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.language-select img {
  width: 30px;
  height: auto;
  margin-right: 8px;
}

/* Google Places autocomplete (PlaceAutocompleteElement): forza tema CHIARO
   per input e tendina suggerimenti, anche con la pagina in dark-mode.
   Usa i token Material Design 3 esposti dal componente. */
gmp-place-autocomplete {
  display: block;
  width: 100%;
  color-scheme: light;
  --gmp-mat-color-surface: #ffffff;
  --gmp-mat-color-surface-container: #ffffff;
  --gmp-mat-color-surface-container-low: #ffffff;
  --gmp-mat-color-surface-container-high: #f5f5f5;
  --gmp-mat-color-on-surface: #212529;
  --gmp-mat-color-on-surface-variant: #495057;
  --gmp-mat-color-outline: #ced4da;
  --gmp-mat-color-primary: #008834;
}