.div-fixed-footer-help {
  left: 281px;
  background-color: #fafafa;
  height: 14px;
  color: #ff0000;
  position: fixed;
  bottom: 0;
  right: 1px !important;
  /* box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75); */
  z-index: 990;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}
.hoverzoom {
  border-bottom: 1px solid #fdc32d !important;
}
.breadcustom:before {
  color: #4c4c4c !important;
}
.breadcustom:last-child {
  color: white !important;
}
.breadcustom:hover {
  color: white !important;
}
.breadcustom {
  font-size: 13px !important;
}
.div-fixed-header-page {
  left: 294px;
  height: 14px;
  position: fixed;
  top: 68px;
  /* z-index: 990; */
  z-index: 90;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 2px 2px 0px 34px !important;
  line-height: 10px !important;
  background-color: var(--primary);
  color: rgb(193, 199, 203) !important;
  margin: 0;
  right: 14px;
  font-family: "Roboto", sans-serif !important;
  font-weight: normal;
  height: auto !important;
}

.main-full .div-fixed-header-page {
  left: 78px;
  transition: 0.3s ease all;
}
.footer-pagination {
  position: fixed;
  border-radius: 10px;
  bottom: 15px;
  z-index: 990;
  max-width: max-content;
  transition: 0.3s ease all;
  background-color: var(--primary_dark);
}

.footer-pagination {
  opacity: 0.2;
}

.footer-pagination:hover {
  opacity: 1;
}

.main-full .div-fixed-footer-help {
  left: 65px;
  transition: 0.3s ease all;
}

.sidenav .material-icons:empty {
  visibility: hidden !important;
}

.rightside-navigation .brand-logo {
  font-size: 2.1rem;
  line-height: 4.2rem;
}

.nav-collapsed .li-hover {
  display: none;
}

.brand-sidebar .logo-wrapper a.brand-logo img {
  height: 45px;
}

.brand-sidebar .logo-wrapper {
  font-size: 36px;
  padding: 10px 10px;
  white-space: nowrap;
  line-height: 0px !important;
}

#header .header-search-wrapper.sideNav-lock {
  margin: 9px auto 0 295px;
}

#header span.badge {
  margin-top: 5px;
  margin-left: 0;
  line-height: 35px;
  height: 35px;
  border-radius: 10%;
  color: white;
  font-weight: bold;
}

#header .tabs span.badge {
  margin-top: 7px;
  margin-right: 15px;
}

.z-depth-1,
nav,
.card-panel,
.toast,
.btn,
.btn-large,
.btn-floating,
.collapsible,
.sidenav {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.card,
.btn,
.btn-large,
.btn-flat {
  border-radius: 4px;
}

.btn-floating {
  border-radius: 50%;
}

header {
  position: fixed;
  width: 100%;
  z-index: 999;
}

#login-page .card-content {
  padding: 24px 24px 12px;
}

.brand-sidebar .logo-wrapper a.navbar-toggler {
  top: 26px;
}

.input-field .switch label {
  pointer-events: initial !important;
}

span.obbligatorio {
  color: #ff5900;
  font-size: 145%;
}

.switch label input[type="checkbox"]:checked + .lever:after {
  background-color: var(--primary_dark);
}

.switch label input[type="checkbox"]:checked + .lever {
  background-color: var(--primary);
}

.switch input[type="checkbox"][disabled] + .lever {
  cursor: default;
  background-color: rgba(0, 0, 0, 0.12) !important;
}

#data {
  padding: 75px 15px 0 15px;
}

#sidenav-overlay {
  background-color: rgba(0, 0, 0, 0.4);
}

ul.sidenav.leftside-navigation li:not(.no-padding).user-details {
  background: url("/img/sfondo.png");
  background-size: cover;
  padding: 1px;
}

.user-roal {
  font-size: 15px;
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: 25px;
  line-height: 25px;
  transition: 0.3s;
  padding: 0 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icona_user {
  width: 75px;
  height: 75px;
  line-height: 73px;
  font-size: 35px;
  text-align: center;
  color: var(--primary);
  background: #ffffff;
  border: 3px solid rgba(255, 255, 255, 0);
  border-radius: 50%;
  display: block;
  margin-left: auto !important;
  margin-top: 25px;
  margin-right: auto !important;
  margin-bottom: 0px !important;
  transition: 0.3s;
}

.img_user {
  width: 100px;
  height: 100px;
  line-height: 73px;
  font-size: 35px;
  text-align: center;
  background: transparent;
  border: 3px solid white;
  border-radius: 50%;
  display: block;
  margin-left: auto !important;
  margin-top: 25px;
  margin-right: auto !important;
  margin-bottom: 15px !important;
  transition: 0.2s;
}

.nav-collapsed .icona_user,
.nav-collapsed .img_user {
  width: 50px;
  height: 50px;
  font-size: 28px;
  line-height: 44px;
  margin-bottom: 25px !important;
}

.nav-collapsed .user-roal {
  display: none;
}

.nav-collapsed [j="findmenu"] {
  display: none;
}

.nav-expanded .brand-sidebar {
  background: linear-gradient(
    45deg,
    var(--primary) 0%,
    var(--primary_dark) 100%
  ) !important;
}

.sidenav li > a {
  padding: 0 45px 0 16px !important;
  text-overflow: ellipsis;
}

ul.sidenav.leftside-navigation li:not(.no-padding) a {
  font-family: "Roboto", sans-serif !important;
  font-size: 1rem;
  font-weight: 400;
  white-space: nowrap;
}

.sidenav li > a > i,
.sidenav li > a > [class^="mdi-"],
.sidenav li > a li > a > [class*="mdi-"],
.sidenav li > a > i.material-icons {
  color: rgba(0, 0, 0, 0.7);
}

ul.sidenav .collapsible-header:after {
  color: rgba(0, 0, 0, 0.7);
}

header nav ul.right {
  margin-right: 15px;
}

.sidebar-collapse {
  position: fixed;
  left: 15px;
  z-index: 997;
  top: 12px;
}

#sidebar-right.sidenav {
  width: 400px;
  height: 100% !important;
  padding-bottom: 0px;
}

#sidebar-right {
  top: 0px;
  overflow: hidden;
}

#sidebar-right .tabs {
  height: 65px;
  background: linear-gradient(
    45deg,
    var(--primary) 0%,
    var(--primary_dark) 100%
  ) !important;
}

#sidebar-right .tabs .tab {
  height: 65px;
  line-height: 65px;
}

#sidebar-right-info-fatt-el .collection .collection-item {
  border-bottom: 1px solid #e0e0e0 !important;
  padding-left: 0px !important;
}

#sidebar-right-info-fatt-el .collection .collection-item:last-child {
  border-bottom: none !important;
}

#sidebar-right li > a {
  line-height: 75px;
  padding: 0 16px !important;
}

#sidebar-right .tabs .tab a:hover,
#sidebar-right .tabs .tab a.active,
#sidebar-right .tabs .tab a {
  color: white;
}

#sidebar-right .collection .collection-item.avatar {
  padding: 25px 45px 25px 72px !important;
  background: transparent;
  border-bottom: 1px solid #e8e8e8 !important;
  position: relative;
}

#sidebar-right .collection .collection-item.avatar .icona,
#sidebar-right .collection .collection-item.avatar img {
  position: absolute;
  width: 42px;
  height: 42px;
  font-size: 27px;
  overflow: hidden;
  left: 15px;
  top: 50%;
  transform: translate(0%, -50%);
  display: inline-block;
  vertical-align: middle;
}

#sidebar-right .collection .collection-item.avatar .icon_allegati {
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-weight: 500;
  line-height: 42px;
  text-align: center;
  font-size: 15px;
  display: inline-block;
  position: absolute;
  left: 15px;
  display: inline-block;
  word-break: break-all;
  overflow: hidden;
  top: 50%;
  transform: translate(0%, -50%);
}

#sidebar-right .collection .collection-item.avatar a {
  line-height: 55px;
  right: 0;
}

#sidebar-right .collection .collection-item.avatar .msg_descrizione {
  margin-bottom: 2px !important;
  width: 80%;
}

#sidebar-right .circle.materialboxed.active {
  height: auto !important;
}

#sidebar-right .btn_collection_10 {
  position: absolute !important;
  top: 34% !important;
  right: 0;
  transform: translate(-50%, -50%) !important;
  color: var(--primary_dark);
  margin: 0px;
}

#sidebar-right .btn_collection_4 {
  position: absolute !important;
  top: 75% !important;
  right: 0;
  transform: translate(-50%, -50%) !important;
  color: var(--primary_dark);
  margin: 0px;
}

.sidenav.fixed.leftside-navigation .collapsible-body li.active {
  background-color: rgba(0, 0, 0, 0.07);
}

ul.sidenav.leftside-navigation li:not(.no-padding).active {
  background-color: rgba(0, 0, 0, 0.07);
}

.sidenav .collapsible-body,
.sidenav.fixed .collapsible-body {
  border: 0;
  background-color: transparent;
}

.sidenav {
  width: 280px;
}

.brand-sidebar {
  width: 280px;
}

#header .header-search-wrapper {
  width: calc(100% - 595px);
}

#main {
  min-height: calc(100% - 100px);
  padding-left: 280px;
  -webkit-transition: 0.3s ease all;
  -o-transition: 0.3s ease all;
  -moz-transition: 0.3s ease all;
  transition: 0.3s ease all;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  margin-bottom: 85px;
}

.footer_smarthy .fixed-action-btn.horizontal ul li {
  display: inline-block;
  margin: 7.5px 10px 0 0;
}

.footer_smarthy .fixed-action-btn {
  right: 15px;
}

.footer_smarthy .fixed-action-btn.sinistra {
  left: 295px;
  right: initial;
  width: 60px;
  transition: 0.3s ease all;
}

.footer_smarthy .fixed-action-btn.primo {
  bottom: 15px;
}

.footer_smarthy .fixed-action-btn.secondo {
  bottom: 80px;
}

.footer_smarthy .fixed-action-btn.terzo {
  bottom: 145px;
}

.fixed-action-btn#div_prg_man {
  bottom: 80px;
  left: 295px;
  width: 60px;
  transition: 0.3s ease all;
}

.main-full .fixed-action-btn#div_prg_man {
  left: 90px;
  width: 60px;
  transition: 0.3s ease all;
}

.fixed-action-btn#div_menu_ind {
  bottom: 15px;
  left: 295px;
  width: 60px;
  transition: 0.3s ease all;
}

.main-full .fixed-action-btn#div_menu_ind {
  left: 90px;
  width: 60px;
  transition: 0.3s ease all;
}

ul.sidenav.leftside-navigation li:not(.no-padding) {
  line-height: 44px;
}

.sidenav.fixed a {
  cursor: pointer;
}

#slide-out li a i {
  line-height: inherit;
  width: 2rem;
  font-size: 1.4rem;
  display: block;
  float: left;
  text-align: center;
  margin-right: 1rem;
}

.nav-expanded .sidenav .nav-text {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.2s linear;
}

.toast {
  background-color: #4caf50;
}

.autologin-wrapper {
  position: absolute;
  background-color: white;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 69%;
  z-index: 99;
  padding-top: 20%;
  text-align: center;
  display: none;
}

label.always_active {
  transform: translateY(-14px) scale(0.8) !important;
  transform-origin: 0 0 !important;
}

.input-field .select-wrapper + label:not(.label-icon).active {
  -webkit-transform: translateY(12px) scale(1);
  transform: translateY(12px) scale(1);
  -webkit-transform-origin: 0px 0px;
  transform-origin: 0px 0px;
}

.btn_collection {
  position: absolute !important;
  top: 50% !important;
  right: 0;
  transform: translate(-50%, -50%) !important;
  color: var(--primary_dark);
  margin: 0 20px;
}

.btn_collection_2 {
  position: absolute !important;
  top: 25% !important;
  right: 0;
  transform: translate(-50%, -50%) !important;
  color: var(--primary_dark);
  margin: 0 20px;
}

.btn_collection_3 {
  position: absolute !important;
  top: 50% !important;
  right: 0;
  transform: translate(-50%, -50%) !important;
  color: var(--primary_dark);
  margin: 0 20px;
}

.btn_collection_4 {
  position: absolute !important;
  top: 75% !important;
  right: 0;
  transform: translate(-50%, -50%) !important;
  color: var(--primary_dark);
  margin: 0 20px;
}

.btn_collection_5 {
  position: absolute !important;
  top: 18% !important;
  right: 0;
  transform: translate(-50%, -50%) !important;
  color: var(--primary_dark);
  margin: 0 20px;
}

.btn_collection_6 {
  position: absolute !important;
  top: 42% !important;
  right: 0;
  transform: translate(-50%, -50%) !important;
  color: var(--primary_dark);
  margin: 0 20px;
}

.btn_collection_7 {
  position: absolute !important;
  top: 65% !important;
  right: 0;
  transform: translate(-50%, -50%) !important;
  color: var(--primary_dark);
  margin: 0 20px;
}

.btn_collection_8 {
  position: absolute !important;
  top: 85% !important;
  right: 0;
  transform: translate(-50%, -50%) !important;
  color: var(--primary_dark);
  margin: 0 20px;
}

.btn_collection_9 {
  position: absolute !important;
  top: 57% !important;
  right: 0;
  transform: translate(-50%, -50%) !important;
  color: var(--primary_dark);
  margin: 0 20px;
}

.btn_collection_10 {
  position: absolute !important;
  top: 34% !important;
  right: 0;
  transform: translate(-50%, -50%) !important;
  color: var(--primary_dark);
  margin: 0 20px;
}

.collection-item.nascondi {
  display: none !important;
}

#sidebar-right .collection .collection-item.avatar #materialbox-overlay + img {
  transform: none;
}

.card .card-content .testata {
  cursor: pointer;
}

/* .card .card-content .testata h5 {
    margin: .5rem 0 .5rem 0;
} */

.card .card-content .corpo {
  display: none;
}

.card .tabs .tab a {
  padding: 0 10px;
  color: var(--primary);
}

.card .tabs .tab a.active {
  color: var(--primary_dark);
  font-weight: 500;
  border-bottom: 3px solid var(--primary_dark) !important;
}

#p-help {
  font-size: 11px;
  padding: 0px 15px;
  letter-spacing: 0.2px;
  color: #f30000;
}

h5.card-title {
  background: var(--primary_dark);
  padding: 15px;
  color: white;
}

.flex_cards {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  align-items: center;
  -webkit-align-items: center;
  justify-content: space-around;
}

#fixed-botdoc.fissa .col.s1 {
  width: 100%;
  padding: 0 5px;
}

#fixed-botdoc.fissa {
  transition: 0.3s ease all;
  background-color: white;
  height: auto !important;
  position: fixed;
  top: 57px !important;
  bottom: -15px;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25);
  z-index: 90;
  right: 1px;
  border-radius: 0px;
  left: initial !important;
  width: 70px;
}

#fixed-botdoc.flex_column_side {
  top: 80px !important;
  height: calc(100% - 110px) !important;
}

#fixed-botdoc.fissa h5 {
  display: none;
}

#fixed-botdoc.fissa .card-content {
  padding: 10px 0 !important;
}

#fixed-botdoc.fissa .flex_cards {
  height: calc(100vh - 100px);
}

#data.visual_semplificata .footer_smarthy .fixed-action-btn {
  right: 87px;
}

#data.visual_semplificata {
  padding: 75px 87px 0 15px;
}

/***************** MEDIA QUERY *********************/

@media only screen and (max-width: 600px) {
  .sidebar-collapse {
    top: 7px;
  }
  #sidebar-right-info-fatt-el {
    width: 300px;
  }
  #sidebar-right-info-fatt-el .title {
    font-size: 1.85rem;
  }
  #sidebar-right.sidenav {
    width: 300px;
  }
  #sidebar-right .collection .collection-item.avatar a {
    padding: 0 !important;
    margin-right: -15px;
  }
  nav .brand-logo {
    padding: 18px 25px 22px 0px !important;
    font-size: 1.5rem;
  }
  .rightside-navigation .brand-logo {
    font-size: 1.5rem;
    line-height: 4rem;
  }
  .right li a {
    padding: 0px 6px 0px 0px;
  }
  #header .header-search-wrapper.sideNav-lock {
    width: calc(100% - 120px) !important;
  }

  .card-content.small_padding_mobile {
    padding: 15px;
  }
}

@media only screen and (min-width: 601px) {
  nav,
  nav .nav-wrapper i,
  nav a.button-collapse,
  nav a.button-collapse i {
    height: 65px;
  }
}

@media only screen and (min-width: 601px) and (max-width: 992px) {
  #header .header-search-wrapper.sideNav-lock {
    width: calc(100% - 250px) !important;
  }
}

@media only screen and (max-width: 992px) {
  #header .header-search-wrapper.sideNav-lock {
    margin: 9px 15px 0 65px;
    width: calc(100% - 80px);
  }

  #main {
    padding-left: 0px;
  }

  header nav ul.right {
    margin-right: 15px;
    position: absolute;
    top: 0;
    right: -15px;
  }

  #div_menu_ind,
  .footer_smarthy .fixed-action-btn.sinistra {
    left: 15px !important;
  }

  #header input.header-search-input {
    padding: 8px 8px 8px 72px;
    width: calc(100% - 80px);
    margin-right: 0;
  }

  ul.sidenav.leftside-navigation {
    top: 0px !important;
  }

  .sidenav {
    width: 300px;
    padding-bottom: 0;
  }

  nav .brand-logo {
    left: initial;
    transform: initial;
    padding: 23px 25px 22px 0px;
  }

  nav ul.right a {
    padding: 0px 10px;
  }

  .div-fixed-footer-help {
    left: 0px;
    background-color: #fafafa;
    height: 14px;
    color: #ff0000;
    position: fixed;
    bottom: 0;
    right: 1px !important;
    /* box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75); */
    z-index: 990;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
  }

  .div-fixed-header-page {
    left: 14px !important;
    transition: 0.3s ease all;
  }
}

@media only screen and (max-width: 1599px) {
  #toast-container {
    min-width: 100%;
    bottom: 0%;
    left: 0;
    top: initial;
    right: initial;
    max-width: initial;
  }
}

@media only screen and (min-width: 1600px) {
  #toast-container {
    left: inherit;
    top: inherit;
    right: 7%;
    bottom: 7%;
    max-width: 90%;
  }
}

/*Matteo aggiunto il 200919*/
.totfix .input-field {
  margin-top: 1rem !important;
  text-align: center;
}
.totfix .input-field input[type="number"] {
  text-align: center;
  font-size: 20px;
}
@media only screen and (min-width: 993px) {
  .fissa {
    left: 295px;
  }
  #main.main-full .fissa {
    left: 80px;
  }
  .flex_around_dekstop {
    display: flex;
    justify-content: space-around;
  }
  .grid_center .prima_icona_sequenziali,
  .grid_center .seconda_icona_sequenziali {
    height: 30px !important;
  }
}
@media only screen and (max-width: 992px) {
  /* .totfix {
    left: 17px;
  } */
  .fissa {
    left: 17px;
  }
  #main.main-full .div-fixed-footer {
    padding-left: 0px;
  }
}
.grid_center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.grid_center .prima_icona_sequenziali,
.grid_center .seconda_icona_sequenziali {
  height: 50px;
  display: flex;
  align-items: center;
}
.margintopminum20 {
  margin-top: -20px !important;
}
.totfix {
  transition: 0.3s ease all;
  /* background-color: white;
  height: auto!important;
  position: fixed;
  bottom: 15px!important;
  box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
  z-index: 99;
  right: 17px;
  padding: 0 60px; */
}
.fissa {
  transition: 0.3s ease all;
  background-color: white;
  height: auto !important;
  position: fixed;
  top: 57px !important;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.75);
  z-index: 90;
  right: 88px;
  /* right: 102px; */
  border-radius: 2px;
}
.fissa .row {
  margin-bottom: 0px !important;
}

.div-a-span {
  /*Dubbioso da fare vedere*/
  margin-left: 10% !important;
}
.div-a-span span {
  display: block;
}
/*Fine Matteo aggiunto il 200919*/
.scroll_davide::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 50px;
  background-color: #f5f5f5;
}

.scroll_davide::-webkit-scrollbar {
  width: 4px;
  height: 5px;
  background-color: #ccc;
}
.scroll_davide::-webkit-scrollbar-thumb {
  border-radius: 50px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #ccc;
}

.nascondi_scroll {
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  overflow-y: scroll; 
}

.nascondi_scroll::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}


.noscroll-x {
  overflow-x: hidden;
}

.noscroll-y {
  overflow-y: hidden;
}

.red-c {
  color: #e53935 !important;
}

.btn_colonna {
  margin-top: 20px;
  margin-bottom: 20px;
  display: block;
}
.pb_2rem {
  padding-bottom: 2rem;
}

.colonna_btn {
  justify-content: center;
}

.max-heigth-80 {
  max-height: 80% !important;
}

.max-heigth-85 {
  max-height: 85% !important;
}

.min-width-90 {
  min-width: 90% !important;
}

.collection {
  border: 1px solid #9a9a9a;
  border: none !important;
  overflow: inherit;
}
/* Matteo 16122020, AGGIUNTO overflow: auto se no i margin bottom nelle div non veniva calcolato e i bottoni del footer rimanevano sopra gli ul/li*/
#main {
  overflow: auto !important;
}

@media screen and (max-width: 600px) {
  .appendi_pulsanti_flex {
    display: flex;
    justify-content: space-around;
  }
}

@media screen and (min-width: 601px) {
  .appendi_pulsanti_flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

@media screen and (min-width: 1600px) {
  .appendi_pulsanti_flex {
    width: 5% !important;
  }
}

.card .card-content .appendi_pulsanti_flex p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.input-field.col .dropdown-content [type="checkbox"] + label {
  top: -10px !important;
}

ul.dropdown-content.select-dropdown li:first-child.disabled {
  display: none;
}

.disabled {
  pointer-events: none;
  color: #9f9f9f !important;
}

.card h5 {
  margin: 0.5rem 0 1.5rem 0;
}
.vis_hidden {
  visibility: hidden !important;
}
.enter_scroll_nosearch {
  background: rgb(255 141 0 / 25%) !important;
  border-left: 1px solid black;
}
@media screen and (max-width: 600px) {
  .max_width_150_onmobile {
    max-width: 150px !important;
  }
  .max_width_100_onmobile {
    max-width: 100px !important;
  }
  .max_width_300_onmobile {
    max-width: 300px !important;
  }
  .full_center_onmobile {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
/* GESTIONE PREFERITO HOMEPAGE */
#elenco_preferiti #aggiorna_lista {
  position: absolute;
  top: 0;
  right: 0;
}
@media screen and (max-width: 600px) {
  .fontsize22mobile {
    font-size: 22px !important;
  }
  .p0-x-mobile {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .center_mobile {
    text-align: center;
  }
}
.nmpd-wrapper {
  display: none;
}
.nmpd-target {
  cursor: pointer;
}
.nmpd-grid {
  position: absolute;
  left: 50px;
  top: 50px;
  z-index: 5000;
  -khtml-user-select: none;
  padding: 30px;
  width: 60%;
}

.nmpd-overlay {
  z-index: 4999;
}
input.nmpd-display {
  text-align: right;
}

.nmpd-grid .btn-nmpd {
  padding: 3px !important;
}

.nmpd-grid .funct-nmpd {
  height: 75px;
}

.nmpd-grid.modal-content {
  position: relative;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgb(0 0 0 / 50%);
  box-shadow: 0 3px 9px rgb(0 0 0 / 50%);
}

.modal-backdrop.in {
  filter: alpha(opacity=50);
  opacity: 0.5;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000;
}
.fake_progress {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  background-color: rgba(206, 206, 206, 0.6);
  margin: 0;
  height: 5px;
}
.fake_progress .indeterminate {
  background-color: var(--primary_dark);
}
.fake_progress .indeterminate:before {
  content: "";
  position: absolute;
  background-color: inherit;
  top: 0;
  left: 0;
  bottom: 0;
  will-change: left, right;
  -webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395)
    infinite;
  animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
}
.fake_progress .indeterminate:after {
  content: "";
  position: absolute;
  background-color: inherit;
  top: 0;
  left: 0;
  bottom: 0;
  will-change: left, right;
  -webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1)
    infinite;
  animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1)
    infinite;
  -webkit-animation-delay: 1.15s;
  animation-delay: 1.15s;
}
.not_clickable {
  pointer-events: none !important;
  cursor: wait !important;
}
/* 
  - MODIFICA ERIK 19-01-2022
  DA VERIFICARE SE RIACCADE ALL'INIZIO DEL CARICAMENTO LE SIDEBAR DI DESTRA SI BLOCCANO A META' ANIMAZIONE 
*/
.rightside-navigation {
  transform: translateX(100%);
}
/* GESTIONE SIDEBAR RIGHT WITH ICON STILE DOCUMENTI */
.flex_column_side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 1rem 4px;
  right: 5px !important;
}
.flex_column_side div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
.flex_column_side p {
  text-align: center;
  margin: 0;
  font-size: 12px;
}
@media screen and (max-height: 650px) {
  .flex_column_side.hide_desc_on_small p {
    display: none;
  }
}
@media screen and (max-height: 700px) {
  .flex_column_side p {
    font-size: 10px !important;
  }
}
.adapt_to_sidemenu {
  margin-right: 70px !important;
}
/* FINE GESTIONE SIDEBAR RIGHT */
#maintenance {
  padding: 2rem !important;
  border-radius: 1rem !important;
}
/* 
  erik 17-03-2022
  evita che il testo delle select vada sotto alla freccina a destra
*/
.select-wrapper {
  padding-right: 10px;
}
.finded_menu {
  background: linear-gradient(90deg, var(--primary), var(--primary_dark));
  padding: 1px 2px;
  color: #fff;
  font-weight: 600;
}
#container_ricerca_sidebar_menu.loading_js:before {
  opacity: 0 !important;
}
#container_ricerca_sidebar_menu.loading_js:after {
  content: "";
  position: absolute;
  top: 30px;
  right: 10px;
  height: 30px;
  width: 30px;
  margin: -15px 0 0 -15px;
  border: 3px rgba(0, 0, 0, 0.25) solid;
  border-top: 4px var(--primary_dark) solid;
  border-radius: 50%;
  animation: spin4 1s infinite linear;
}
@keyframes spin4 {
  from {
    transform: rotate(359deg);
    transform: rotate(359deg);
    opacity: 0.5;
  }
  to {
    transform: rotate(0deg);
    transform: rotate(0deg);
    opacity: 1;
  }
}
#container_ricerca_sidebar_menu {
  position: fixed;
  width: calc(100% - 7px);
  top: 192px;
  left: 0;
  background: #fff;
  padding: 10px 1rem 2px !important;
  z-index: 999;
}
#menu_laterale {
  overflow-y: auto;
}
#menu_laterale.input_ricerca_presente {
  padding-top: 60px;
}
[j="findmenu"] {
  margin-bottom: 0px !important;
}
[j="findmenu"]::placeholder {
  color: #8f8f8f;
}
#menu_laterale {
  scrollbar-width: thin;
}
#menu_laterale::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
#menu_laterale::-webkit-scrollbar:hover {
  width: 7px;
  height: 7px;
}
#menu_laterale::-webkit-scrollbar-track {
  background: #d7d7d7;
  transition: 0.5s;
  width: 7px;
}
#menu_laterale::-webkit-scrollbar-thumb {
  background: #a0a0a0;
  transition: 0.5s;
  border-radius: 8px;
}
#menu_laterale::-webkit-scrollbar-thumb:hover {
  background: var(--primary_dark);
}
#container_ricerca_sidebar_menu:before {
  content: "search";
  font-family: "Material Icons";
  position: absolute;
  right: 1rem;
  color: #878787;
  top: 11px;
  z-index: 9999;
  font-size: 1.5rem;
  background: #fff;
  transition: opacity 0.1s;
}
.nav-collapsed #menu_laterale {
  padding-top: 0 !important;
  height: calc(100% - 102px);
}
.user-details {
  height: 192px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fixed_close {
  height: 36px;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  background: #b70a0a;
  border-radius: 5px;
  cursor: pointer;
}
.fixed_close ~ div.modal-content {
  padding-top: 40px !important;
}
.fixed_close i.material-icons {
  font-size: 36px !important;
  font-weight: 600 !important;
  color: #fff;
  transform: rotate(0) scale(1);
  transition: 0.4s;
}
.fixed_close:hover i.material-icons {
  transform: rotate(10deg) scale(1.05);
}

/*perche materialize 1.0 gli dava un altro font*/
button, input, optgroup, select, textarea {
  line-height: 1.5;
  font-family: "Roboto", sans-serif !important;
  font-weight: normal;
  color: rgba(0, 0, 0, 0.87);
}

.datepicker,
.picker__input {
  cursor: pointer;
}

.datepicker-date-display {
  background-color: var(--primary_dark) !important;
}

.datepicker-today, .datepicker-done, .datepicker-cancel{
  color: var(--primary_dark) !important;
}

.datepicker-clear{
  color: #f44336;
  float: left;
}

.datepicker-table td.is-today button.datepicker-day-button {
  color: var(--primary_dark);
  font-weight: 900;
}

.datepicker-table td.is-selected {
  background-color: var(--primary_dark) !important;
  color: #fff;
}

.datepicker-table td.is-selected.is-today button.datepicker-day-button {
  color: #fff;
}

.select-wrapper input.select-dropdown:focus {
  border-bottom: 1px solid var(--primary_dark);
}

[type=checkbox]:checked+span:not(.lever):before {
  border-right: 2px solid var(--primary_dark);
  border-bottom: 2px solid var(--primary_dark);
}

[type="checkbox"]:checked + label:before {
  border-right: 2px solid var(--primary_dark);
  border-bottom: 2px solid var(--primary_dark);
}

.timepicker-digital-display {
  background-color: var(--primary_dark) !important;
}

.timepicker-close {
  color: var(--primary_dark) !important;
}

.timepicker-canvas line {
  stroke: var(--primary) !important;
}

.timepicker-canvas-bg {
  fill: var(--primary) !important;
}

.timepicker-canvas-bearing {
  fill: var(--primary) !important;
}

.timepicker-tick:hover {
  background-color: var(--primary) !important;
}

input:not([type]), input[type=text]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes), input[type=password]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes), input[type=email]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes), input[type=url]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes), input[type=time]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes), input[type=date]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes), input[type=datetime]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes), input[type=datetime-local]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes), input[type=tel]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes), input[type=number]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes), input[type=search]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes), textarea.materialize-textarea {
  font-size: 1rem !important;
}  

input:not([type]):not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes):focus:not([readonly]), input[type=text]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes):focus:not([readonly]), input[type=password]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes):focus:not([readonly]), input[type=email]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes):focus:not([readonly]), input[type=url]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes):focus:not([readonly]), input[type=time]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes):focus:not([readonly]), input[type=date]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes):focus:not([readonly]), input[type=datetime]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes):focus:not([readonly]), input[type=datetime-local]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes):focus:not([readonly]), input[type=tel]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes):focus:not([readonly]), input[type=number]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes):focus:not([readonly]), input[type=search]:not(.browser-default,.timepicker-input-hours,.timepicker-input-minutes):focus:not([readonly]), textarea.materialize-textarea:focus:not([readonly]) {
  border-bottom: 1px solid var(--primary_dark);
  -webkit-box-shadow: 0 1px 0 0 var(--primary_dark);
  box-shadow: 0 1px 0 0 var(--primary_dark);
}

.character-counter {
  margin-top: -13px;
  font-weight: bold;
  font-size: 10px !important;
}

.tabs .tab a:focus, .tabs .tab a:focus.active {
  background-color: inherit !important;
}

[type=checkbox].filled-in:checked+span:not(.lever):after {
  border: 2px solid var(--primary_dark);
  background-color: var(--primary_dark);
}

.tooltip-content, .material-tooltip {
  background: var(--primary_dark);
}

.toast{
  display: block !important;
}

.dropdown-content li > a,
.dropdown-content li > span {
  font-size: 16px;
  color: var(--primary_dark);
  display: block;
  line-height: 22px;
  padding: 14px 16px;
}

.dropdown-content li > span > label > span {
  color: var(--primary_dark);
}

.select-wrapper svg.caret {
  color: initial;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  height: 3rem;
  line-height: 3rem;
  margin: initial;
  font-size: 10px;
}

.character-counter {
  height: 1px !important;
  min-height: inherit !important;
}

.tabs {
  display: flex !important;
}

[type=radio]:checked+span:after, [type=radio].with-gap:checked+span:after {
  background-color: var(--primary_dark);
}

[type=radio]:checked+span:after, [type=radio].with-gap:checked+span:before, [type=radio].with-gap:checked+span:after {
  border: 2px solid var(--primary_dark);
}

input.timepicker-input-hours, input.timepicker-input-minutes{
  font-size: 3rem !important;
}  

.spectrum-smarthy-color .sp-original-input-container {
  width: 100%;
}
.spectrum-smarthy-color .sp-colorize-container {
  min-width: 60px;
  min-height: 45px;
}
.spectrum-smarthy-color .sp-colorize-container {
  margin-right: 1rem;
}
button:focus {
  outline: none;
  background: rgba(55, 71, 79, 0.11);
}
.mark input[type="number"]:not(.browser-default) {
  font-weight: bold !important;
  border-bottom: 1px solid #6f6f6f;
  color: black !important;
}

.mark input[type="text"]:not(.browser-default):disabled {
  font-weight: bold !important;
  border-bottom: 1px solid #6f6f6f;
  color: black !important;
}

.mark input[type="text"]:not(.browser-default) {
  font-weight: bold !important;
  border-bottom: 1px solid #6f6f6f;
  color: black !important;
}

.mark input:not([type]) {
  font-weight: bold !important;
  border-bottom: 1px solid #6f6f6f;
  color: black !important;
}

.mark label {
  color: black !important;
}

div.card_cerchio_testo {
  display: flex;
  flex-direction: row;
  padding: 1rem;
  background: linear-gradient( 135deg, var(--primary), var(--primary_dark) );
  border-radius: 50%;
  margin-left: 0.75rem;
  margin-right: 0.75rem;
  width: 100px;
  height: 100px;
  aspect-ratio: 1 / 1;
  justify-content: space-between;
  box-shadow: 0 3px 3px 0 rgb(0 0 0 / 14%), 0 1px 7px 0 rgb(0 0 0 / 12%), 0 3px 1px -1px rgb(0 0 0 / 20%);
  transition: all 1s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

div.card_cerchio_testo .text_cerchio {
  background-color: white;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0.9;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s;
}

div.card_cerchio_testo .text_cerchio span {
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 1;
  transform: scale(1);
  color: var(--primary_dark);
  text-align: center;
  overflow: hidden;
  transition: all 1s;
}

.semaforo-cq {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #ddd;
}

img.circle.materialboxed.active {
  max-width: 550px!important;
}

.attivita-eseguite {
  border: 1px solid var(--primary_dark) !important;
  background-color: #FFFFFF !important;
}

.attivita-eseguite > i  {
  color: #ff9800 !important;
}