@charset "UTF-8";
:root {
  --color_main: 0, 102, 153;
  --color_secondary: 255, 255, 255;
  --color_body: 233, 233, 233;
  --color_shadow: 128, 128, 128;
  --color_label: 255, 255, 255;
  --color_border: 204, 204, 204;
  --color_topbar: 0, 0, 0;
  --color_text: 0, 0, 0;
  --color_text_light: 255, 255, 255;
  --color_row_odd: 246, 247, 247;
  --color_row_even: 255, 255, 255;
  --color_positive: 212, 237, 218;
  --color_warning: 255, 215, 0;
  --color_error: 255, 99, 71;
  --color_positive_border: 195, 230, 203;
  --color_warning_border: 255, 215, 0;
  --color_error_border: 255, 99, 71;
  --color_positive_text: 21, 87, 36;
  --color_warning_text: 0, 0, 0;
  --color_error_text: 238, 238, 238;
}

* {
  font-family: Arial, Helvetica, Geneva, sans-serif;
}

html {
  font-size: var(--fontsize_base, 0.88em);
}

html,
body {
  margin: 0;
  padding: 0;
}

img {
  display: block;
}

a {
  text-decoration: none;
  color: rgb(var(--color_text));
}
a:visited {
  color: rgb(var(--color_text));
}

nav ul {
  display: inline-block;
  padding: 0;
  list-style: none;
}

ul,
dl {
  margin-block-start: 0;
  margin-block-end: 0;
}

p {
  margin-block-start: auto;
}
p:last-child {
  margin-block-end: auto;
}

input,
button {
  font-size: 1em;
}

input::-webkit-datetime-edit-fields-wrapper,
input[type=date]::-webkit-calendar-picker-indicator {
  padding: 0;
}

input[type=submit],
input[type=reset],
button {
  cursor: pointer;
}

h1 {
  margin-block-start: 0;
  margin-block-end: 1rem;
}
h1:last-child {
  margin-block-end: 0;
}

h2 {
  margin-block-start: 0;
  margin-block-end: 1rem;
}
h2:last-child {
  margin-block-end: 0;
}

h3 {
  margin-block-start: 0;
  margin-block-end: 1rem;
}
h3:last-child {
  margin-block-end: 0;
}

h4 {
  margin-block-start: 0;
  margin-block-end: 1rem;
}
h4:last-child {
  margin-block-end: 0;
}

h5 {
  margin-block-start: 0;
  margin-block-end: 1rem;
}
h5:last-child {
  margin-block-end: 0;
}

h6 {
  margin-block-start: 0;
  margin-block-end: 1rem;
}
h6:last-child {
  margin-block-end: 0;
}

hr {
  color: rgb(var(--color_text));
  border: 0;
  border-top: 1px solid rgb(var(--color_border));
}

.autologin-comeback {
  background-color: red;
  padding: 0.2em 0.5em;
}

:root {
  --topHeight: 0px;
  --headHeight: 0px;
  --debugHeight: 0px;
  --footerHeight: 0px;
}

/* Inizializzazione colonne */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.5em;
}
.grid.align-bottom {
  align-items: flex-end;
}

.flex {
  display: flex;
  gap: 0.5em;
}
.flex.right {
  justify-content: flex-end;
}

.lg-1 {
  grid-column: span 1;
}
.lg-1.lg-newline {
  grid-column: 1/span 1;
}

.lg-start-1 {
  grid-column-start: 2;
}

.lg-end-1 {
  grid-column-end: 2;
}

.lg-2 {
  grid-column: span 2;
}
.lg-2.lg-newline {
  grid-column: 1/span 2;
}

.lg-start-2 {
  grid-column-start: 3;
}

.lg-end-2 {
  grid-column-end: 3;
}

.lg-3 {
  grid-column: span 3;
}
.lg-3.lg-newline {
  grid-column: 1/span 3;
}

.lg-start-3 {
  grid-column-start: 4;
}

.lg-end-3 {
  grid-column-end: 4;
}

.lg-4 {
  grid-column: span 4;
}
.lg-4.lg-newline {
  grid-column: 1/span 4;
}

.lg-start-4 {
  grid-column-start: 5;
}

.lg-end-4 {
  grid-column-end: 5;
}

.lg-5 {
  grid-column: span 5;
}
.lg-5.lg-newline {
  grid-column: 1/span 5;
}

.lg-start-5 {
  grid-column-start: 6;
}

.lg-end-5 {
  grid-column-end: 6;
}

.lg-6 {
  grid-column: span 6;
}
.lg-6.lg-newline {
  grid-column: 1/span 6;
}

.lg-start-6 {
  grid-column-start: 7;
}

.lg-end-6 {
  grid-column-end: 7;
}

.lg-7 {
  grid-column: span 7;
}
.lg-7.lg-newline {
  grid-column: 1/span 7;
}

.lg-start-7 {
  grid-column-start: 8;
}

.lg-end-7 {
  grid-column-end: 8;
}

.lg-8 {
  grid-column: span 8;
}
.lg-8.lg-newline {
  grid-column: 1/span 8;
}

.lg-start-8 {
  grid-column-start: 9;
}

.lg-end-8 {
  grid-column-end: 9;
}

.lg-9 {
  grid-column: span 9;
}
.lg-9.lg-newline {
  grid-column: 1/span 9;
}

.lg-start-9 {
  grid-column-start: 10;
}

.lg-end-9 {
  grid-column-end: 10;
}

.lg-10 {
  grid-column: span 10;
}
.lg-10.lg-newline {
  grid-column: 1/span 10;
}

.lg-start-10 {
  grid-column-start: 11;
}

.lg-end-10 {
  grid-column-end: 11;
}

.lg-11 {
  grid-column: span 11;
}
.lg-11.lg-newline {
  grid-column: 1/span 11;
}

.lg-start-11 {
  grid-column-start: 12;
}

.lg-end-11 {
  grid-column-end: 12;
}

.lg-12 {
  grid-column: span 12;
}
.lg-12.lg-newline {
  grid-column: 1/span 12;
}

.lg-start-12 {
  grid-column-start: 13;
}

.lg-end-12 {
  grid-column-end: 13;
}

@media screen and (max-width:75em) {
  .md-1 {
    grid-column: span 1;
  }
  .md-1.md-newline {
    grid-column: 1/span 1;
  }
  .md-start-1 {
    grid-column-start: 2;
  }
  .md-end-1 {
    grid-column-end: 2;
  }
  .md-2 {
    grid-column: span 2;
  }
  .md-2.md-newline {
    grid-column: 1/span 2;
  }
  .md-start-2 {
    grid-column-start: 3;
  }
  .md-end-2 {
    grid-column-end: 3;
  }
  .md-3 {
    grid-column: span 3;
  }
  .md-3.md-newline {
    grid-column: 1/span 3;
  }
  .md-start-3 {
    grid-column-start: 4;
  }
  .md-end-3 {
    grid-column-end: 4;
  }
  .md-4 {
    grid-column: span 4;
  }
  .md-4.md-newline {
    grid-column: 1/span 4;
  }
  .md-start-4 {
    grid-column-start: 5;
  }
  .md-end-4 {
    grid-column-end: 5;
  }
  .md-5 {
    grid-column: span 5;
  }
  .md-5.md-newline {
    grid-column: 1/span 5;
  }
  .md-start-5 {
    grid-column-start: 6;
  }
  .md-end-5 {
    grid-column-end: 6;
  }
  .md-6 {
    grid-column: span 6;
  }
  .md-6.md-newline {
    grid-column: 1/span 6;
  }
  .md-start-6 {
    grid-column-start: 7;
  }
  .md-end-6 {
    grid-column-end: 7;
  }
  .md-7 {
    grid-column: span 7;
  }
  .md-7.md-newline {
    grid-column: 1/span 7;
  }
  .md-start-7 {
    grid-column-start: 8;
  }
  .md-end-7 {
    grid-column-end: 8;
  }
  .md-8 {
    grid-column: span 8;
  }
  .md-8.md-newline {
    grid-column: 1/span 8;
  }
  .md-start-8 {
    grid-column-start: 9;
  }
  .md-end-8 {
    grid-column-end: 9;
  }
  .md-9 {
    grid-column: span 9;
  }
  .md-9.md-newline {
    grid-column: 1/span 9;
  }
  .md-start-9 {
    grid-column-start: 10;
  }
  .md-end-9 {
    grid-column-end: 10;
  }
  .md-10 {
    grid-column: span 10;
  }
  .md-10.md-newline {
    grid-column: 1/span 10;
  }
  .md-start-10 {
    grid-column-start: 11;
  }
  .md-end-10 {
    grid-column-end: 11;
  }
  .md-11 {
    grid-column: span 11;
  }
  .md-11.md-newline {
    grid-column: 1/span 11;
  }
  .md-start-11 {
    grid-column-start: 12;
  }
  .md-end-11 {
    grid-column-end: 12;
  }
  .md-12 {
    grid-column: span 12;
  }
  .md-12.md-newline {
    grid-column: 1/span 12;
  }
  .md-start-12 {
    grid-column-start: 13;
  }
  .md-end-12 {
    grid-column-end: 13;
  }
}
@media screen and (max-width:37.5em) {
  .sm-1 {
    grid-column: span 1;
  }
  .sm-1.sm-newline {
    grid-column: 1/span 1;
  }
  .sm-start-1 {
    grid-column-start: 2;
  }
  .sm-end-1 {
    grid-column-end: 2;
  }
  .sm-2 {
    grid-column: span 2;
  }
  .sm-2.sm-newline {
    grid-column: 1/span 2;
  }
  .sm-start-2 {
    grid-column-start: 3;
  }
  .sm-end-2 {
    grid-column-end: 3;
  }
  .sm-3 {
    grid-column: span 3;
  }
  .sm-3.sm-newline {
    grid-column: 1/span 3;
  }
  .sm-start-3 {
    grid-column-start: 4;
  }
  .sm-end-3 {
    grid-column-end: 4;
  }
  .sm-4 {
    grid-column: span 4;
  }
  .sm-4.sm-newline {
    grid-column: 1/span 4;
  }
  .sm-start-4 {
    grid-column-start: 5;
  }
  .sm-end-4 {
    grid-column-end: 5;
  }
  .sm-5 {
    grid-column: span 5;
  }
  .sm-5.sm-newline {
    grid-column: 1/span 5;
  }
  .sm-start-5 {
    grid-column-start: 6;
  }
  .sm-end-5 {
    grid-column-end: 6;
  }
  .sm-6 {
    grid-column: span 6;
  }
  .sm-6.sm-newline {
    grid-column: 1/span 6;
  }
  .sm-start-6 {
    grid-column-start: 7;
  }
  .sm-end-6 {
    grid-column-end: 7;
  }
  .sm-7 {
    grid-column: span 7;
  }
  .sm-7.sm-newline {
    grid-column: 1/span 7;
  }
  .sm-start-7 {
    grid-column-start: 8;
  }
  .sm-end-7 {
    grid-column-end: 8;
  }
  .sm-8 {
    grid-column: span 8;
  }
  .sm-8.sm-newline {
    grid-column: 1/span 8;
  }
  .sm-start-8 {
    grid-column-start: 9;
  }
  .sm-end-8 {
    grid-column-end: 9;
  }
  .sm-9 {
    grid-column: span 9;
  }
  .sm-9.sm-newline {
    grid-column: 1/span 9;
  }
  .sm-start-9 {
    grid-column-start: 10;
  }
  .sm-end-9 {
    grid-column-end: 10;
  }
  .sm-10 {
    grid-column: span 10;
  }
  .sm-10.sm-newline {
    grid-column: 1/span 10;
  }
  .sm-start-10 {
    grid-column-start: 11;
  }
  .sm-end-10 {
    grid-column-end: 11;
  }
  .sm-11 {
    grid-column: span 11;
  }
  .sm-11.sm-newline {
    grid-column: 1/span 11;
  }
  .sm-start-11 {
    grid-column-start: 12;
  }
  .sm-end-11 {
    grid-column-end: 12;
  }
  .sm-12 {
    grid-column: span 12;
  }
  .sm-12.sm-newline {
    grid-column: 1/span 12;
  }
  .sm-start-12 {
    grid-column-start: 13;
  }
  .sm-end-12 {
    grid-column-end: 13;
  }
}
.align-left {
  text-align: right;
}

.align-right {
  text-align: right;
}

.align-center {
  text-align: center;
}

.rotate {
  transform: rotate(-180deg);
  padding: 0.5em;
  transform-origin: center;
  writing-mode: vertical-rl;
}

.hidden {
  display: none;
}

.inverse {
  color: rgb(var(--color_text_light));
  background-color: rgb(var(--color_text));
}

.disable input {
  pointer-events: none;
  color: #aaa;
  background: #f5f5f5;
}

.chart {
  width: 100%;
  height: calc(100vh - 1em - var(--topHeight) - var(--headHeight) - var(--footerHeight) - var(--debugHeight));
}

.grow {
  width: 100%;
}

.light {
  color: white;
}

.editable {
  background-color: transparent;
  padding: 0.5em 20px 0.5em 0.5em !important;
}
.editable:invalid {
  border-bottom: 2px solid #f00 !important;
}
.editable:invalid:required {
  background-color: #f0f0f0;
}

.whitespace-nowrap {
  white-space: nowrap;
}

a.button {
  display: block;
  box-sizing: border-box;
  text-align: center;
  text-transform: uppercase;
  line-height: normal;
  padding: 0.25em;
  background-color: buttonface;
  border: none;
  border: 1px solid rgb(var(--color_border));
  width: 100%;
  max-height: 2.25em;
}
a.button:hover {
  background-color: -moz-buttonhoverface;
}
a.button.button-inline {
  width: auto;
}

nav ul {
  display: flex;
  gap: 0.5em;
}
nav ul li {
  display: inline-block;
}

/**
* Gestione temporanea link blindati per ruolo
*/
body:not(.current-user-role-user) .only-user {
  display: none;
}

body.current-user-role-user .not-user {
  display: none;
}

body:not(.current-user-role-power_user) .only-power_user {
  display: none;
}

body.current-user-role-power_user .not-power_user {
  display: none;
}

body:not(.current-user-role-administrator) .only-administrator {
  display: none;
}

body.current-user-role-administrator .not-administrator {
  display: none;
}

/**\
 * Classe per disabilitare l'imput utente ma mantenere la funzionalità del campo
 */
.disable-click {
  pointer-events: none;
}

input.disable-click {
  opacity: 0.7;
  background-color: #eee;
  cursor: default;
}

h1 {
  font-size: 1.75em;
}

h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.25em;
}

h4 {
  font-size: 1em;
}

h5 {
  font-size: 0.85em;
}

h6 {
  font-size: 0.7em;
}

body {
  display: grid;
  height: 100vh;
  /*min-height: 100vh;*/
  grid-template-areas: "navbar_top navbar_top" "navbar_sidebar content";
  grid-template-rows: 2em auto;
  grid-template-columns: 15em minmax(auto, calc(100% - 14em));
  overflow: hidden;
}
body.full-page {
  grid-template: "content";
}
body.full-page.pdf {
  display: initial;
  height: initial;
}
body.full-width {
  grid-template: "navbar_top" "content";
}

.navbar_top {
  grid-area: navbar_top;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  padding: 0.5em;
  gap: 0.5em;
  background-color: rgb(var(--color_secondary));
  color: rgb(var(--color_text_light));
  background-color: rgb(var(--color_topbar));
  z-index: 999;
}
.navbar_top a {
  color: rgb(var(--color_text_light));
}
.navbar_top .tools {
  display: flex;
  flex-wrap: nowrap;
}
.navbar_top .user_info {
  margin-left: auto;
}

.navbar_sidebar {
  position: relative;
  background-color: rgb(var(--color_main));
  grid-area: navbar_sidebar;
  max-height: calc(100vh - var(--topHeight));
  overflow-y: auto;
  z-index: 2;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.navbar_sidebar::-webkit-scrollbar {
  display: none;
}
.navbar_sidebar .navbar_sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 1em 0.5em 0;
  min-height: calc(100% - 4em);
}
@media screen and (max-width: 1024px) {
  .navbar_sidebar span {
    font-size: 0.85em;
  }
}
.navbar_sidebar .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}
.navbar_sidebar .logo img {
  object-fit: contain;
  width: 5em;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.navbar_sidebar nav {
  margin-bottom: 2em;
}
.navbar_sidebar nav ul {
  display: inherit;
  gap: unset;
  width: 100%;
}
.navbar_sidebar nav ul li {
  display: block;
}
.navbar_sidebar nav ul li a {
  display: block;
  background-color: rgba(var(--color_text), 0.3);
  padding: 0.5em;
  margin-bottom: 2px;
  opacity: 0.65;
}
.navbar_sidebar nav ul li a span {
  margin-left: 0.4em;
}
.navbar_sidebar nav ul li a.active, .navbar_sidebar nav ul li a.open, .navbar_sidebar nav ul li a:hover {
  opacity: 1;
  text-decoration: none;
}
.navbar_sidebar .toolbar {
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  display: flex;
  padding: 0.5em;
  height: 2em;
  xxbackground-color: rgb(var(--color_main));
}
.navbar_sidebar .toolbar a.shrink-sidebar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2em;
  color: rgb(var(--color_secondary));
  background-color: rgba(var(--color_text), 0.3);
  opacity: 0.65;
}
.navbar_sidebar .toolbar a.shrink-sidebar .icon-right-dir {
  display: none;
}
.navbar_sidebar .toolbar a.shrink-sidebar.active, .navbar_sidebar .toolbar a.shrink-sidebar.open, .navbar_sidebar .toolbar a.shrink-sidebar:hover {
  opacity: 1;
  text-decoration: none;
}

body.sidebar-shrinked {
  grid-template-columns: 5em minmax(auto, calc(100% - 4em));
}
body.sidebar-shrinked .logo small {
  display: none;
}
body.sidebar-shrinked .navbar_sidebar nav {
  margin-bottom: 2em;
}
body.sidebar-shrinked .navbar_sidebar nav ul li a span {
  display: none;
}
body.sidebar-shrinked .navbar_sidebar nav .submenu > li {
  padding-left: 1.55em;
}
body.sidebar-shrinked .navbar_sidebar .toolbar {
  padding: 0.25em 0.5em;
}
body.sidebar-shrinked .navbar_sidebar .toolbar a.shrink-sidebar .icon-left-dir {
  display: none;
}
body.sidebar-shrinked .navbar_sidebar .toolbar a.shrink-sidebar .icon-right-dir {
  display: inherit;
}

.content {
  background-color: rgb(var(--color_body));
  grid-area: content;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.temp-wrapper img {
  width: 3em;
  height: 3em;
  object-fit: cover;
}

section.messaging > div {
  padding: 0.5em 1em;
  margin: 0.5em;
  border-width: 1px;
  border-style: solid;
}
section.messaging > div strong {
  display: block;
}
section.messaging .info {
  border-color: rgb(var(--color_info_border));
  background-color: rgba(var(--color_info), 0.75);
  color: rgb(var(--color_info_text));
}
section.messaging .positive {
  border-color: rgb(var(--color_positive_border));
  background-color: rgba(var(--color_positive), 0.75);
  color: rgb(var(--color_positive_text));
}
section.messaging .warning {
  border-color: rgb(var(--color_warning_border));
  background-color: rgba(var(--color_warning), 0.75);
  color: rgb(var(--color_warning_text));
}
section.messaging .error {
  border-color: rgb(var(--color_error_border));
  background-color: rgba(var(--color_error), 0.75);
  color: rgb(var(--color_error_text));
}

nav a {
  color: rgb(var(--color_secondary));
}
nav a:not(:only-child):after {
  content: "\e804";
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: never;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  text-align: center;
  /* opacity: .8; */
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: 0.2em;
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
  float: right;
}
nav a:not(:only-child).open:after {
  content: "\e805";
}
nav a.active, nav a.open, nav a:hover {
  text-decoration: underline;
}
nav.light a {
  color: white;
}
nav ul.submenu {
  display: none;
}
nav ul.submenu > li {
  padding-left: 2em;
}
nav a.open + .submenu {
  display: block;
}

#page-404 {
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

section.head {
  position: sticky;
  top: 0;
  background-color: rgb(var(--color_main));
  padding: 0.5em;
  z-index: 20;
  color: white;
}
section.head a:not(.button),
section.head a:not(.button):visited,
section.head .title {
  color: white;
}
section.head hr {
  color: rgb(var(--color_label));
  border-top: 1px solid rgb(var(--color_label));
}

#view {
  padding: 0.5em;
}
#view section.top {
  background: #fff;
  padding: 0.5em 1em;
}
#view section.bottom {
  background: #fff;
  padding: 0.5em 1em;
}
#view section.bottom section.table {
  min-height: auto;
  margin-bottom: 0em;
}
#view section.crud {
  background: #fff;
  padding: 0.5em 1em;
}
#view section.crud label {
  color: rgb(var(--color_main));
}
#view section.crud input {
  border: 1px solid rgb(var(--color_border));
}
#view section.table {
  max-height: calc(100vh - 1em - var(--topHeight) - var(--headHeight) - var(--footerHeight) - var(--debugHeight));
  min-height: 230px;
}
#view section.table.table-wrapper {
  overflow: auto;
  overscroll-behavior-block: contain;
}
#view section.table.table-wrapper:hover {
  cursor: grab;
}
#view section.table.scrollable {
  overflow: auto;
  overscroll-behavior-block: contain;
}
#view section.table.scrollable:hover {
  cursor: grab;
}
#view section.table.scrollable.active {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#view section:not(:last-child) {
  margin-bottom: 1em;
}

.cruscotto .box {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
}
.cruscotto .box dfn {
  display: block;
  font-size: 2em;
  color: rgb(var(--color_text));
  text-align: center;
}
.cruscotto .box dfn small {
  display: block;
  font-size: 1rem;
}

footer {
  border-top: 1px solid #999;
  padding-top: 1em;
  width: 50vw;
  padding-bottom: 2em;
  margin: auto auto 0;
}

table {
  border-spacing: 0;
  empty-cells: show;
  font-size: var(--fontsize_table, 1em);
  width: 100%;
  max-width: 100%;
}
table tr th,
table tr td {
  padding: 0.3em 0.5em;
  text-align: left;
  border-right: 1px solid rgb(var(--color_border));
  border-bottom: 1px solid rgb(var(--color_border));
}
table tr th:first-child,
table tr td:first-child {
  border-left: 1px solid rgb(var(--color_border));
}
table tr th.sticky,
table tr td.sticky {
  position: sticky;
  left: 0;
  z-index: 1;
}
table tr th {
  font-size: var(--fontsize_th, 1em);
  background-color: #ddd;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  line-height: 1.6em;
  position: relative;
}
table tr th > div {
  display: flex;
  justify-content: space-between;
  gap: 0.5em;
}
table tr th .column_menu {
  position: absolute;
  top: 100%;
  right: -1px;
  padding: 0.5em 1.5em;
  border: 1px solid #ddd;
  background-color: white;
}
table tr th:not(.open) .column_menu {
  display: none;
}
table tr th .column_menu li {
  list-style: none;
  text-align: left;
  padding: 0.3em 0;
}
table tr th:first-child .column_menu, table tr th:nth-child(2) .column_menu {
  right: auto;
  left: 1px;
}
table tr th.order-asc::before, table tr th.order-desc::before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: never;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: 0.2em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  margin-left: 0.2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
table tr th.order-asc::before {
  content: "\f15d";
}
table tr th.order-desc::before {
  content: "\f15e";
}
table tr th.num.order-asc::before {
  content: "\f162";
}
table tr th.num.order-desc::before {
  content: "\f163";
}
table tr td {
  font-size: var(--fontsize_td, 0.88em);
  background-color: rgb(var(--color_row_even));
}
table tr.sticky {
  position: sticky;
  top: 0;
  z-index: 1;
}
table tr:nth-child(odd) zzth,
table tr:nth-child(odd) td {
  background-color: rgb(var(--color_row_odd));
}
table tr:first-child zzth,
table tr:first-child td {
  border-top: 1px solid rgb(var(--color_border));
}
table#filterable thead, table.filterable thead {
  position: sticky;
  top: 0px;
  z-index: 10;
}
table thead th:hover {
  cursor: pointer;
}
table thead + tbody tr:first-child th,
table thead + tbody tr:first-child td {
  border-top: none;
}
table img {
  max-width: 6em;
}

.table-blocks .blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-padding);
}
.table-blocks .blocks .element {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
@media screen and (max-width:75em) {
  .table-blocks .blocks {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width:37.5em) {
  .table-blocks .blocks {
    grid-template-columns: repeat(1, 1fr);
  }
}

.before-table,
.after-table {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  padding: 0 calc(var(--grid-padding) / 2);
  margin-bottom: 30px;
}
.before-table h5,
.after-table h5 {
  margin-bottom: 0;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.pagination .current {
  font-weight: bold;
}
.pagination span + span {
  display: none;
}

.table-blocks .pagination {
  justify-content: flex-end;
}

.pagination + .blocks,
.blocks + .pagination {
  margin-top: 1.5em;
}

form {
  width: 100%;
}
form input[type=text],
form input[type=number],
form input[type=email],
form input[type=date],
form input[type=datetime-local],
form input[type=password],
form input[type=submit],
form input[type=reset],
form input[type=file],
form input[type=url],
form textarea,
form select,
form button {
  display: block;
  border: 1px solid rgb(var(--color_border));
  padding: 0.25em 0.5em;
  width: 100%;
  box-sizing: border-box;
  color: rgb(var(--color_text));
}
form input[type=date] {
  text-transform: uppercase;
}
form input[type=submit],
form input[type=reset],
form button,
form .button {
  text-transform: uppercase;
  max-height: 2.25em;
}
form input[type=submit]:not(.grow),
form input[type=reset]:not(.grow),
form button:not(.grow),
form .button:not(.grow) {
  max-width: 10em;
}
form .select2-container {
  display: block;
  border: 1px solid rgb(var(--color_border));
  width: 100% !important;
}
form .select2-container .select2-selection__clear {
  margin-right: 0px !important;
  width: 4em;
}
form .select2-container .select2-selection__choice__remove {
  width: auto !important;
}
form .select2-container .select2-selection__choice__display {
  color: #000;
}
form .select2-container .select2-selection--single {
  border: none;
  border-radius: 0;
  height: auto;
}
form .select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0.5em 20px 0.5em 0.5em;
  min-height: 16px;
  line-height: normal;
}
form .select2-container .select2-selection--single .select2-selection__arrow {
  height: auto;
  bottom: 1px;
}
form .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  height: 100%;
}
form .repeater-row .select2 {
  width: 100% !important;
  max-width: 50%;
}
form .repeater-row .select2:nth-child(2):nth-last-child(2) {
  max-width: initial;
}
form label {
  line-height: 1.5;
  width: 100%;
}
form .input-wrapper,
form .repeater {
  color: rgb(var(--color_main));
  width: 100%;
}
form .repeater {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
form .repeater input,
form .repeater select {
  width: 100%;
}
form .repeater .repeater-row {
  display: flex;
  gap: 1em;
}
form .repeater button {
  max-width: 2.5em;
}
form .file-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
  margin-bottom: 1em;
}
form .file-list img {
  max-width: 100%;
}
form .file-list .file_wrapper {
  position: relative;
}
form .file-list a.remove_file {
  position: absolute;
  top: 0.25em;
  right: 0.25em;
  border-radius: 200px;
  background-color: rgb(var(--color_secondary));
  width: 1.5em;
  height: 1.5em;
  text-align: center;
}

.head form {
  display: flex;
  align-items: flex-end;
  gap: 0.5em;
}
.head form input[type=text],
.head form input[type=number],
.head form input[type=email],
.head form input[type=date],
.head form input[type=datetime-local],
.head form input[type=password],
.head form input[type=submit],
.head form input[type=reset],
.head form input[type=file],
.head form .select2-container,
.head form select,
.head form button,
.head form a.button {
  border: 0;
}
.head form label {
  color: white;
}
.head form#filter [type=submit] {
  color: rgb(var(--color_text_light));
  background-color: transparent;
  border: none;
  width: auto;
  padding: 0;
}
.head .single_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.head .single_row h1 {
  margin-bottom: 0;
}
.head .single_row #filter {
  align-items: center;
  max-width: 30%;
  width: 21em;
}

.hero {
  background-color: rgb(var(--color_main)), 0.5;
}
.hero form:not(:last-child) {
  margin-bottom: 1em;
}

form dl {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.5em;
  width: 100%;
}
form dl dt {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  line-height: 1.5;
  color: white;
}
form dl dt > label + div {
  width: 100%;
}
form dl dt.radio_boolean > div {
  width: 100%;
  padding: 0.5em;
  line-height: normal;
}
form dl dt.radio_boolean > div input {
  margin: 0;
}
form dl dt.no-flex {
  display: block;
}
form dl dt.no-flex > * {
  display: inline-block;
}
form dl dt.no-flex > label {
  vertical-align: top;
}

form dl.row_detail {
  display: block;
  width: 100%;
}
form dl.row_detail label {
  width: 20%;
  flex-shrink: 0;
}
form dl.row_detail dt {
  flex-direction: row;
  justify-content: flex-start;
  padding: 0.5em 0;
}
form dl.row_detail dt.radio_boolean > div {
  color: black;
}
form dl.row_detail dt.control-button {
  display: inline-flex;
  width: 100%;
  max-width: 10em;
  padding-right: 1em;
}

form table input[type=text],
form table input[type=number],
form table input[type=email],
form table input[type=date],
form table input[type=datetime-local],
form table input[type=password],
form table input[type=submit],
form table input[type=reset],
form table select,
form table button,
form table a.button {
  padding: 0.25em 0.5em;
}
form table input[type=text]:not(:last-child),
form table input[type=number]:not(:last-child),
form table input[type=email]:not(:last-child),
form table input[type=date]:not(:last-child),
form table input[type=datetime-local]:not(:last-child),
form table input[type=password]:not(:last-child),
form table input[type=submit]:not(:last-child),
form table input[type=reset]:not(:last-child),
form table select:not(:last-child),
form table button:not(:last-child),
form table a.button:not(:last-child) {
  margin-bottom: 0.25em;
}
form table input[type=text]:not(:only-child), form table input[type=text].command-button,
form table input[type=number]:not(:only-child),
form table input[type=number].command-button,
form table input[type=email]:not(:only-child),
form table input[type=email].command-button,
form table input[type=date]:not(:only-child),
form table input[type=date].command-button,
form table input[type=datetime-local]:not(:only-child),
form table input[type=datetime-local].command-button,
form table input[type=password]:not(:only-child),
form table input[type=password].command-button,
form table input[type=submit]:not(:only-child),
form table input[type=submit].command-button,
form table input[type=reset]:not(:only-child),
form table input[type=reset].command-button,
form table select:not(:only-child),
form table select.command-button,
form table button:not(:only-child),
form table button.command-button,
form table a.button:not(:only-child),
form table a.button.command-button {
  display: inline-block;
  width: 92%;
  margin-bottom: 0;
  margin-right: 0.5em;
}
form table input[type=text].column_filter,
form table input[type=number].column_filter,
form table input[type=email].column_filter,
form table input[type=date].column_filter,
form table input[type=datetime-local].column_filter,
form table input[type=password].column_filter,
form table input[type=submit].column_filter,
form table input[type=reset].column_filter,
form table select.column_filter,
form table button.column_filter,
form table a.button.column_filter {
  width: 85%;
}

.grid input[type=submit],
.grid input[type=reset],
.grid button {
  max-width: 100%;
}

/**
 * Input range
 */
.range_container {
  display: flex;
  flex-direction: column;
}
.range_container .sliders_control {
  position: relative;
  min-height: 2rem;
  display: flex;
  align-items: center;
}
.range_container .numeric_control {
  position: relative;
  display: flex;
  justify-content: space-between;
  color: #635a5a;
}
.range_container input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 0.5em;
  height: 1.5em;
  background: #5f5e5e;
  cursor: pointer;
}
.range_container input[type=range]::-moz-range-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 0.5em;
  height: 1.5em;
  background: #5f5e5e;
  cursor: pointer;
}
.range_container input[type=number] {
  font-size: 1em;
  border: none;
  width: auto;
  padding: 0;
}
.range_container input[type=number]:last-of-type {
  direction: rtl;
}
.range_container input[type=number]::-webkit-inner-spin-button,
.range_container input[type=number]::-webkit-outer-spin-button {
  opacity: 1;
}
.range_container input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  height: 2px;
  width: 100%;
  position: absolute;
  background-color: #c6c6c6;
  pointer-events: none;
}
.range_container #fromSlider {
  height: 0;
  z-index: 1;
}

.select2-results__option {
  min-height: 1em;
}

#modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.125s;
  z-index: 9999;
}
#modal .trigger-modal {
  position: absolute;
  top: 1em;
  right: 1em;
  z-index: 99;
}
#modal .modal-body {
  position: relative;
  max-width: calc(100vw - 2em);
  max-height: calc(100vh - 2em);
  width: 100%;
  height: auto;
  min-width: 50vw;
  min-height: 50vh;
  margin: 0 auto;
  padding: 1em;
  box-sizing: border-box;
  background-color: white;
  overflow: auto;
}
#modal.medium .modal-body {
  width: 64em;
}
#modal.small .modal-body {
  width: 48em;
}
#modal.auto .modal-body {
  width: auto;
  min-width: 0;
  min-height: 0;
}
#modal.auto .modal-body .modal-content {
  margin-right: calc(1em + 10px);
}
#modal.showed {
  opacity: 1;
  pointer-events: inherit;
}

div#login,
div#signin {
  max-width: 25em;
  padding: 8% 0 0;
  margin: auto;
}
div#login .logo-wrapper,
div#signin .logo-wrapper {
  max-width: 8.75em;
  margin: 0 auto;
}
div#login .logo-wrapper img,
div#signin .logo-wrapper img {
  width: 100%;
  margin: 0 auto;
}
div#login form,
div#signin form {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5em;
  margin-left: 0;
  padding: 1.5em;
  font-weight: 400;
  overflow: hidden;
  background: rgb(var(--color_secondary));
  gap: 1.5em;
}
div#login form input,
div#signin form input {
  width: 100%;
}
div#login form p,
div#signin form p {
  width: 100%;
}
div#login form p label,
div#signin form p label {
  font-size: 1em;
  line-height: 1.5;
  display: inline-block;
  margin-bottom: 0.25em;
  color: rgb(var(--color_label));
}
div#login form p input,
div#signin form p input {
  margin-top: 0.25em;
}
div#login form p input[type=password],
div#signin form p input[type=password] {
  display: block !important;
  padding: 0.5em !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
div#login form p input[type=submit],
div#signin form p input[type=submit] {
  width: 100%;
  max-width: 100%;
  margin-bottom: 0 !important;
  border: none !important;
  text-transform: capitalize;
}
div#login form p:first-of-type,
div#signin form p:first-of-type {
  margin-top: 0.5em;
}

@page {
  margin: 0cm 0cm;
}
.pdf {
  margin-top: 0cm;
  margin-bottom: 0cm;
  margin-left: 0cm;
  margin-right: 0cm;
  border: 1px solid #000;
}
.pdf header {
  position: fixed;
  top: 0cm;
  left: 0cm;
  right: 0cm;
  height: 10cm;
  background-color: yellow;
  text-align: center;
  line-height: 1.5cm;
}
.pdf #background {
  position: fixed;
  left: 0px;
  top: 0;
  /** The width and height may change
          according to the dimensions of your letterhead
      **/
  width: 29cm;
  height: 20cm;
  /** Your watermark should be behind every content**/
  z-index: -1000;
}
.pdf table,
.pdf tr,
.pdf td {
  background: none !important;
}
.pdf td {
  border: 1px solid #333 !important;
}

.progress-bar {
  cursor: pointer;
  margin-bottom: 0.5em;
  user-select: none;
}

.progress-bar {
  border-radius: 2px;
  box-shadow: inset 0 0.5em 0.5em rgba(0, 0, 0, 0.05);
  height: 10px;
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
}

.progress-bar__bar {
  box-shadow: inset 0 0.5em 0.5em rgba(0, 0, 0, 0.05);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.progress-bar__bar.timer_30 {
  animation: progressBar 30500ms linear;
}
.progress-bar__bar.timer_10 {
  animation: progressBar 10500ms linear;
}
@keyframes progressBar {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

.progress-bar--dark .progress-bar__bar {
  background-color: #000;
}

.progress-bar--attention .progress-bar__bar {
  background-color: #f68a24;
}

.progress-bar--danger .progress-bar__bar {
  background-color: #cb2027;
}

.progress-bar--info .progress-bar__bar {
  background-color: #5bc0de;
}

.progress-bar--primary .progress-bar__bar {
  background-color: #1581e2;
}

.progress-bar--success .progress-bar__bar {
  background-color: #669900;
}

.progress-bar--warning .progress-bar__bar {
  background-color: #ffcc33;
}

.backup__import-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em 1em;
}
.backup__import-form input[type=file] {
  width: auto;
  padding: 0.3em;
}

body.presenze #filter button {
  display: none;
}

.head-presenze table {
  cursor: initial;
  pointer-events: none;
  font-size: 1.25em;
  width: 100%;
  max-width: 35em;
}
.head-presenze a {
  text-decoration: underline;
}
.head-presenze th,
.head-presenze td {
  background-color: transparent !important;
  border: 0 !important;
  padding: 0;
}

.clipboard-target.filterable tr td:first-child {
  cursor: pointer;
}
.clipboard-target.filterable tr td:first-child input {
  cursor: pointer;
}

.dropzone {
  border: none !important;
  background: #f8f8f8 !important;
  padding: 0 !important;
  min-height: auto !important;
  margin-bottom: 1rem;
}
.dropzone .dz-message {
  margin: 0 !important;
  padding: 2em 0;
}
.dropzone .dz-preview.dz-image-preview {
  background: transparent !important;
}
.dropzone .dz-preview .dz-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dz-button {
  max-width: 100% !important;
}

.dz-set-thumbnail {
  position: absolute;
  top: -0.5em;
  right: -0.5em;
  z-index: 99;
  background-color: white;
  width: 2em;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 200px;
  cursor: pointer !important;
}
.dz-set-thumbnail:hover {
  background-color: rgb(var(--color_positive));
}

.dz-remove {
  position: absolute;
  bottom: -0.5em;
  right: -0.5em;
  z-index: 99;
  background-color: white;
  width: 2em;
  height: 2em;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 200px;
  cursor: pointer !important;
}
.dz-remove:hover {
  background-color: rgb(var(--color_error));
}

.debugbar {
  position: fixed;
  right: 0;
  bottom: 0px;
  left: 0;
  border: 1px solid #333;
  background: #fff;
  padding: 0.5em;
  height: 30vh;
  overflow: scroll;
  z-index: 999;
}
.debugbar .icon-resize-small {
  display: none;
}
.debugbar .icon-down-open {
  display: none;
}
.debugbar.close {
  display: none;
}
.debugbar.full {
  height: 80vh;
}
.debugbar.full .icon-resize-small {
  display: inherit;
}
.debugbar.full .icon-resize-full {
  display: none;
}
.debugbar.right {
  top: 0;
  height: unset;
  left: unset;
  width: 50vw;
}
.debugbar.right .icon-down-open {
  display: inherit;
}
.debugbar.right .icon-right-open {
  display: none;
}
.debugbar.right.full {
  width: 80vw;
}
.debugbar .menu {
  position: sticky;
  top: 0px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  padding: 0.5em;
  gap: 0.5em;
  color: rgb(var(--color_text));
  background-color: #ccc;
  z-index: 999;
}
.debugbar .menu a {
  color: rgb(var(--color_text));
  padding: 0.5em;
}
.debugbar .menu a.active {
  background-color: #999;
}
.debugbar .menu .position-right {
  margin-left: auto;
}
.debugbar dd {
  margin-top: 1em;
  margin-left: 0.5em;
}
.debugbar dd:not(.active) {
  display: none;
}/*# sourceMappingURL=light.css.map */