body {
  font-family: "Lato";
  font-size: 14px;
  overflow-y: scroll;
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* login */

.myButton {
  display:inline-block;
  cursor:pointer;
  color:#ffffff;
  font-family:Arial;
  font-size:16px;
  padding:11px 18px;
  text-decoration:none;
}
.myButton:hover {
  background-color:#3d5463;
}
.myButton:active {
  position:relative;
  top:1px;
}
.logdiv {
  border:1px #cccccc solid; 
  max-width:480px;
  
}
.ibs {
  border: 0px solid;
  height: 22px;
  width: 210px;
}

.idiv{
  background-color:#fff;
  border: 1px #cccccc solid;
  width: 240px;
}


/* login */

/* main */

.mheader {
  position: fixed; 
  top:0px;
  left:0px;
  width:100%;
  height: 105px;
  z-index: 100;
  overflow: hidden;
}

#loghi1{ float: left; width: 60%; }

#loghi1 img{ 
  width: 30%;
  max-height: 117px;
  min-height: 115px;
}


#loghi2{ 
  float: left;
  width: 34%;
  margin-top: 3px;
  height: 110px;
}

#loghi2 img{ 
  max-height: 100%;
  max-width: 100%;
  margin: 0 11px;
}

.pvbar {
  position:fixed;
  top:105px;
  z-index: 100;
  left:0px;
  width:100%;
  overflow: hidden;
  color: white;
  border: 1px solid #454545;
  padding:5px;
}

.scrollable{

  overflow-y: scroll;
  height: calc(100% - 169px);

}
::-webkit-scrollbar {
    width: 0px;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}

.divTableCli, .divTableFor{

  margin-top: 100px;
  width: 90%;

}

.iconUtils{

  cursor: pointer;

}

#tableCli, #tableFor{

  text-align: center;
  width: -webkit-fill-available !important;

}

.divServ{

  position: fixed;
  padding: 40px 22px 22px 22px;
  font-size: smaller;
  width: 301px;
  right: 16px;
  top: 155px;
  left: 83%;
  border-radius: 6px;

}

.divServCortesia{

  position: fixed;
  padding: 0px 22px 22px 22px;
  font-size: smaller;
  width: 301px;
  right: 16px;
  top: 140px;
  left: 83%;
  border-radius: 6px;

}

.spanServ{

  color: white;
  width: 301px;
  display: block;
  margin-left: -22px;
  padding: 6px 0 6px 0;
  top: 0;
  position: absolute;
  font-size: large;

}

.option{

  border-bottom: solid 1px #d7d7d7;

}

#tableDoc{ border-collapse:collapse; }

tr.legaDDT{

  background-color: #cbcece !important;
  border-top: 1px solid black !important;
  border-bottom: 1px solid black;

}

.legaDDT td:first-child{

  border-left: 1px solid black !important;

}

.legaDDT td:last-child{

  border-right: 1px solid black !important;

}

#tableServ tr{

  color: black;

}

#centerMain{margin-left: 282px; margin-top: 30px;}

#scadenzaGen{

  display: none;
  position: absolute;
  margin-top: -50px;
  right: 110px;

}

@media only screen and (max-width: 830px) {

  #sidebar{width: 0;}
  #sidebar-footer{display: none;}
  #burgerSidebar{z-index: 1000;}
  #centerMain{margin-left: 0;}

}

@media only screen and (min-width: 831px) {

  #sidebar{width: 280px;}
  #sidebar-footer{display: flex;}
  #burgerSidebar{z-index: 1;}
  #centerMain{margin-left: 282px;}

}

@media only screen and (max-width: 1360px) {

  #postDoc{
    font-size: smaller;
  }

  #pTipoDocRiep{

    margin: -25px 0px 30px 0px !important;
    padding: 15px !important;

  }

  #centerRiep{

    padding: 0px !important;
    font-size: smaller !important;

  }

  #divCreaLista{

    margin-bottom: 25px !important;
    
  }

}

/*---------------------------------------------------------------------*/

#postDoc{
  display: grid;
  max-height: 680px;
}

#pTipoDocRiep{

  margin: -50px -50px 30px -50px;
  padding: 15px;
  font-size: large;

}

#centerRiep{

  width: 75rem;
  margin-top: 130px;
  padding: 50px;
  color: white;
  min-height: 545px;

}

#divCreaLista{

  margin-bottom: 75px;

}

#labelVers{

  color: white;
  width: 100%;
  display: block;
  margin-left: -70px;
  padding: 6px 0 6px 0;
  top: 0px;
  position: absolute;
  font-size: large;

}

#divSuperVers{

  float: left;
  margin: 70px;
  width: 330px;
  color: white;
  border-radius: 9px;
  position: fixed;
  height: 110px;
  padding: 70px;

}

#divDatiCli{

  float: left;
  width: 340px;
  display: flex;
  margin-left: 457px;

}

#divAssis{

  margin: 90px 70px;
  width: 79%;
  position: fixed;
  height: 53%;
  padding: 70px;

}

.dataDett{

  margin: 0 10px 0 10px;

}

.divDettCli{

  margin-left: 25px;
  color: lightgray;

}

.odd{cursor: pointer;}

.even{cursor: pointer;}

.creazDoc{

  width: 94%;

}

.creazGestMag{

  width: 94%;

}

.selectClient{

  float: left;
  margin: 0 5% 0 25px;
  position: relative;
  width: -moz-available;
  width: -webkit-fill-available;

}

.selectErogs{

  height: 320px;
  overflow-y: scroll;
  width: 100%;
  scrollbar-width: none;
  margin-top: -80px;
    
}

.selectErogsDDT{

  height: 320px;
  overflow-y: scroll;
  width: 100%;
  scrollbar-width: none;
  margin-top: 10px;
    
}

.selectMag{

  height: 370px;
  overflow-y: scroll;
  width: 100%;
  scrollbar-width: none;
    
}

.selectScad{

  height: 200px;
  overflow-y: scroll;
  width: 100%;
  scrollbar-width: none;
    
}

.selectScadDet{

  height: 340px;
  overflow-y: scroll;
  width: 100%;
  scrollbar-width: none;
    
}

.selectIsola{

  height: 400px;
  overflow-y: scroll;
  width: 500px;
  scrollbar-width: none;
    
}

.selectBarcod{

  height: 640px;
  overflow-y: scroll;
  width: 100%;
  scrollbar-width: none;
    
}


.totDoc{

  font-size: 17px;
  width: 300px;
  position: absolute;
  right: 169px;
  bottom: 19px;
  top: 755px;

}

.totScad{

  width: 240px;
  position: absolute;
  right: 169px;
  bottom: 19px;
  top:850px;

}

#tableArt{

  border-collapse: inherit;
  border-spacing: 0;
  text-align: center;
  width: 100%;

}

#tableArt th{

  padding: 6px 8px;
  border-bottom: solid 1px black;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 2;
  color: white;
}

#tableArt td{

  padding: 6px 0px;
  border-bottom: solid 1px lightgray;

}

#tableGestMag{

  border-collapse: inherit;
  border-spacing: 0;
  text-align: center;
  width: 100%;

}

#tableGestMag th{

  padding: 6px 8px;
  border-bottom: solid 1px black;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 2;
  color: white;
}

#tableGestMag td{

  padding: 6px 0px;
  border-bottom: solid 1px lightgray;

}

#tableScadenzaCumu{

  border-collapse: inherit;
  border-spacing: 0;
  text-align: center;
  width: 100%;

}

#tableScadenzaCumu th{

  padding: 6px 8px;
  border-bottom: solid 1px black;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 2;
  color: white;
}

#tableScadenzaCumu td{

  padding: 6px 0px;
  border-bottom: solid 1px lightgray;

}

#tableGestScad{

  border-collapse: inherit;
  border-spacing: 0;
  text-align: center;
  width: 100%;

}

#tableGestScad th{

  padding: 6px 8px;
  border-bottom: solid 1px black;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 2;
  color: white;
}

#tableGestScad td{

  padding: 6px 0px;
  border-bottom: solid 1px lightgray;

}

#tableScadenza{

  border-collapse: inherit;
  border-spacing: 0;
  text-align: center;
  width: 100%;

}

#tableScadenza th{

  padding: 6px 8px;
  border-bottom: solid 1px black;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 2;
  color: white;
}

#tableScadenza td{

  padding: 6px 5px;
  border-bottom: solid 1px lightgray;

}


#tableFor{

  border-collapse: inherit;
  border-spacing: 0;
  text-align: center;
  width: 100%;

}

#tableFor th{

  padding: 6px 8px;
  border-bottom: solid 1px black;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 2;
  color: white;
}

#tableFor td{

 padding: 6px 0px;
  border-bottom: solid 1px lightgray;

}

#tableCodBar{

  border-collapse: inherit;
  border-spacing: 0;
  text-align: center;
  width: 100%;

}

#tableCodBar th{

  padding: 6px 8px;
  border-bottom: solid 1px black;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 2;
  color: white;
}

#tableCodBar td{

  padding: 6px 0px;
  border-bottom: solid 1px lightgray;

}

.swal2-popup {
    width: 1000px !important;
    font-size: 14px !important;
}

#swal2-content{

  height: 500px;
  overflow-y: scroll;
  scrollbar-width: none;

}

.swal-confirm.swal2-popup{

  width: 400px !important;
  height: 315px !important;

}

.swal-confirm > .swal2-content{

  height: 150px !important;

}

.swal-confirmFattRiep.swal2-popup{

  width: 600px !important;
  height: 415px !important;

}

.swal-confirmFattRiep > .swal2-content{

  height: 250px !important;

}

.swal-corispodenza.swal2-popup{

  width: 600px !important;
  height: 500px !important;

}

.swal-corispodenza > .swal2-content{

  height: 250px !important;

}

.swal-wide {
    width: auto !important;
    max-width: 90% !important; /* Adjust the maximum width as needed */
    height: auto !important;
    max-height: 80vh !important; /* Set a maximum height to avoid overflow */
    overflow-y: auto !important; /* Enable scrolling if the content exceeds the maximum height */
}

.swal-wide table {
    width: 100%; /* Make sure the table takes up the full width of the modal */
    border-collapse: collapse;
}

.swal-wide table th,
.swal-wide table td {
    padding: 8px 12px;
    border: 1px solid #ddd; /* Optional: adds borders to table cells */
}

.swal2-Erogazioni #swal2-content{

  scrollbar-width: thin !important;

}

#divAddButtons{
  display: grid;
}

#divAddButtons button{

  margin: 0 0 20px 45px;
  width: 75px;

}

.addButton{

  transition: transform .2s;
  cursor: pointer;

}

.addButton:hover{

  -ms-transform: scale(1.2); /* IE 9 */
  -webkit-transform: scale(1.2); /* Safari 3-8 */
  transform: scale(1.2);

}

.addButton{

  min-width: 162px;
  height: 40px;
  margin-right: 20px;
  border: none;
  border-radius: 5px;

}

.addButtonCortesia{

  min-width: 162px;
  height: 40px;
  margin-right: 20px;
  border: none;
  border-radius: 5px;

}

.addButtonNoHover{

  min-width: 162px;
  height: 40px;
  margin-right: 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;

}

.fa-minus-circle{

  cursor: pointer;
  transition: transform .2s;

}

.fa-minus-circle:hover{

  -ms-transform: scale(1.5); /* IE 9 */
  -webkit-transform: scale(1.5); /* Safari 3-8 */
  transform: scale(1.5);

}

.scale-down-tl {
  -webkit-animation: scale-down-tl 0.5s both;
          animation: scale-down-tl 0.5s both;
}

@-webkit-keyframes scale-down-tl {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
  }
  100% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
  }
}
@keyframes scale-down-tl {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
  }
  100% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
  }
}

  #spanOpzioni{

    color: white;
    width: 301px;
    display: block;
    margin: 20px 0 0 -22px;
    padding: 6px 0 6px 0;
    top: 0;
    font-size: large;

  }

  #spanOpzioniCortesia{

    color: white;
    width: 301px;
    display: block;
    margin: 1px 0 0 -22px;
    padding: 6px 0 6px 0;
    top: 0;
    font-size: large;

  }

  #tableOpzioni tbody{

    color: white;

  }

  #tableOpzioni tr:hover{

    background-color: #00549f;
    cursor: pointer;

  }

  #tableOpzioni td{

    padding: 10px;
    border-bottom: solid 1px black;
    width: 301px;

  }


  .quadrante{
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Nasconde l'eccesso dell'immagine */
  }

  .quadrante img {
    width: 100%;
    height: 100%;
  }


  #scrollOpzioni{

    height: 300px;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scrollbar-width: thin;

  }

  .divopzioni{

    width: 45%;
    height: 355px;

  }

  #formModServizi{

    display: ruby;
    float: left;

  }
  
  #tableServAtt{ 

    margin: 20px 0 35px 50px;
    text-align: center;

  }

  #tableServAtt td{

    padding: 10px;

  }

  #tableServAtt th{

    padding: 15px;
    color: white;

  }

  #tableServizi{ 

    margin: 20px 50px 0 0;
    text-align: center;

  }

  #tableServizi td{

    padding: 10px;

  }

  #tableServizi th{

    background-color: #22b72c;
    padding: 15px;
    color: white;

  }

  .chartTable{ text-align: center; min-width: 300px; width: 100%; }

  .warningCarte{

    padding: 7px 17px;
    position: absolute;
    right: 15px;
    top: 181px;
    font-size: large;
    background-color: yellow;
    cursor: pointer;
    box-shadow: 0px 1px 4px black;
    border-radius: 4px;

  }

  .warningCarte:hover{

    background-color: #e8e800;

  }

  .buttonsPage{

    width: 32px;
    margin: 0 2px;
    cursor: pointer;
    border: none;

  }

  .buttonsPage:hover{

    -ms-transform: scale(1.2); /* IE 9 */
    -webkit-transform: scale(1.2); /* Safari 3-8 */
    transform: scale(1.2);

  }

  .tdCassa{

    padding: 15px;
    border-bottom: solid 1px grey;

  }

  .trCassa:hover{

    background-color: #46445e !important;
    cursor: pointer;

  }

  .trCassaSelected{

    padding: 15px;
    border-bottom: solid 1px grey;
    background-color: #1aaa52 !important;
    cursor: pointer;

  }

  .trCassaSelected:hover{

    background-color: #46445e !important;
    cursor: pointer;

  }

  .contCassaEntrate, .contCassaUscite{

    margin: 25px 1px;
    padding: 0 0 50px 0;
    color: white;
    text-align: center;
    width: 100%;

  }

  .tdCassaText{

    text-align: left;
    padding: 6px 40px;
    min-width: max-content;

  }

  .dettContCassa, .dettContCassaNoHover{

    cursor: pointer;
    width: 150px;
    border: none;
    border-radius: 2px;
    height: 27px;
    text-align: right;

  }

  .dettContCassa:hover{

    background-color: #1aaa52;

  }

  .noteContcassa{

    height: 350px;
    width: 70%;
    margin: 45px 0 25px 0;
    background-color: #e9e9ed;
    border: none;
    box-shadow: 0px 0px 3px black;
    text-align: left;
    padding: 25px;
    font-size: large;
    word-wrap: break-word;

  }

.multi-select .item{ color: #cacaca !important; }

/* Stili per il contenitore .RigaTotale */
.RigaTotale {
  overflow: hidden;
  background-color: #white;
  top: 130px;
}

/* Stili per le etichette <b> */
.RigaTotale a {
  
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 10px 70px;
  text-decoration: none;
  font-size: 17px;
}

.RigaTotale b {  
  background-color: #ddd; 
  padding: 5px 12px;
  margin-right: 5px;
}

.anBut{
  
  color:white;
  width:210px;
  height:100px;
  padding:10px;
  margin:10px;
  
}

.anBut:hover{
  
  cursor: pointer; 
  background-color:#33607c;
  
}

.container {
    display: flex;
    align-items: center; /* Allinea verticalmente al centro */
    justify-content: center; /* Allinea orizzontalmente al centro */
    height: 10vh; /* Imposta l'altezza del contenitore al 100% dell'altezza della viewport */
  }

  .content {
    text-align: center; /* Allinea il testo al centro */
  }

  .title {
    margin-bottom: 5px; /* Aggiungi spazio tra l'h3 e il pulsante */
  }

.rectangle {
  height: 300px;
  width: 600px;
  background-color: #0a7dc2;
}

.cliccato {
  background-color: yellow; /* Puoi cambiare il colore qui */
}

.activeSelezione {
  background-color: #93e993;
}

.activeSelezione a:before{
  color: #22ff16;
}

.activeSelezione i:before{
  color: #22ff16;
}

.activeSelezione  span{
  color: #000000;
  font-family: Verdana, sans-serif;
  font-weight: bold;
}

#spazioGruppi .activeSelezione  a{
  color: #000000;
  font-family: Verdana, sans-serif;
}

.dataTables_length{
  margin-top: -40px;
}

.dataTables_filter{
  margin-top: -40px;
}

.gruppo span{
  width: 50px;
}

#context-menu {
  display: none;
  position: absolute;
  z-index: 10;
}

::-webkit-scrollbar {
  height: 12px;   
  border: 1px solid #d5d5d5;
}

::-webkit-scrollbar-track {
  border-radius: 0;
  background: #eeeeee;
}

::-webkit-scrollbar-thumb {
  border-radius: 0;
  background: #b0b0b0;
}

.onoffswitch {
      position: relative; width: 50px;
      -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
  }
  .onoffswitch-checkbox {
      position: absolute;
      opacity: 0;
      pointer-events: none;
  }
  .onoffswitch-label {
      display: block; overflow: hidden; cursor: pointer;
      border: 2px solid #999999; border-radius: 17px;
  }
  .onoffswitch-inner {
      display: block; width: 200%; margin-left: -100%;
      transition: margin 0.3s ease-in 0s;
  }
  .onoffswitch-inner:before, .onoffswitch-inner:after {
      display: block; float: left; width: 50%; height: 15px; padding: 0; line-height: 15px;
      font-size: 11px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
      box-sizing: border-box;
  }
  .onoffswitch-inner:before {
      content: "";
      padding-left: 10px;
      background-color: #93E993; color: #000000;
  }
  .onoffswitch-inner:after {
      content: "";
      padding-right: 10px;
      background-color: #EEEEEE; color: #999999;
      text-align: right;
  }
  .onoffswitch-switch {
      display: block; width: 19px; margin: -2px;
      background: #FFFFFF;
      position: absolute; top: 0; bottom: 0;
      right: 33px;
      border: 2px solid #999999; border-radius: 17px;
      transition: all 0.2s ease-in 0s; 
  }
  .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
      margin-left: 0;
  }
  .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
      right: 0px; 
  }


/* main */