/*================================================================================
	Item Name: Materialize - Material Design Admin Template
	Version: 4.0
	Author: PIXINVENT
	Author URL: https://themeforest.net/user/pixinvent/portfolio
================================================================================

NOTE:
------
PLACE HERE YOUR OWN CSS CODES AND IF NEEDED, OVERRIDE THE STYLES FROM THE OTHER STYLESHEETS.
WE WILL RELEASE FUTURE UPDATES SO IN ORDER TO NOT OVERWRITE YOUR STYLES IT'S BETTER LIKE THIS.  */

@import url("color.css");

.side-nav {
    background-color: #f4f4f4;
}
.autologin-wrapper {
    height: 73%!important;
}
body, #vetrina {
  background-color: #fff;
}
.g-recaptcha > * {
    width: auto!important;
    height: auto!important;
}

.dis-div-prenotazione {
  opacity: 0.5,inherit;
  pointer-events: none;
}

.dis-div-prenotazione > * {
  opacity: 0.5
}

/*COLORI*/
.gradient-45deg-primary {
  background: var(--primary_header);
  background: -webkit-linear-gradient(45deg, var(--primary_header) 0%, var(--primary_header_dark) 100%);
  background: linear-gradient(45deg, var(--primary_header) 0%, var(--primary_header_dark) 100%);
}
.nav-expanded .brand-sidebar {
  background: var(--primary_header_dark) !important;
  background: linear-gradient(45deg, var(--primary_header) 0%, var(--primary_header_dark) 100%) !important;
}
.bc_primary {
  background-color: var(--primary) !important;
}

/*DA PROVARE 24042020, NEL CASO TOGLIERE HOVER DELLA LISTA DEL MENU*/
ul.side-nav.leftside-navigation li:not(.no-padding):hover {
    background-color: #fdfced;
}

.c_primary {
  color: var(--primary);
}

.pointer_events_all {
  pointer-events: all !important;
}

.select2-selection:focus {
  outline: none;
}

.nav-collapsed .collapsible-body {
  display: none !important;
}

.select2-container--default .select2-selection--single {
  background-color: transparent;
}

#btn-login-google img {
  float:left;margin: 3px 0px 0px 0px;
}

input:not([type]):focus:not([readonly]), input[type=text]:not(.browser-default):focus:not([readonly]), input[type=password]:not(.browser-default):focus:not([readonly]), input[type=email]:not(.browser-default):focus:not([readonly]), input[type=url]:not(.browser-default):focus:not([readonly]), input[type=time]:not(.browser-default):focus:not([readonly]), input[type=date]:not(.browser-default):focus:not([readonly]), input[type=datetime]:not(.browser-default):focus:not([readonly]), input[type=datetime-local]:not(.browser-default):focus:not([readonly]), input[type=tel]:not(.browser-default):focus:not([readonly]), input[type=number]:not(.browser-default):focus:not([readonly]), input[type=search]:not(.browser-default):focus:not([readonly]), textarea.materialize-textarea:focus:not([readonly]) {
    border-bottom: 1px solid var(--primary);
    box-shadow: 0 1px 0 0 var(--primary);
}

input:not([type]):focus:not([readonly]) + label, input[type=text]:not(.browser-default):focus:not([readonly]) + label, input[type=password]:not(.browser-default):focus:not([readonly]) + label, input[type=email]:not(.browser-default):focus:not([readonly]) + label, input[type=url]:not(.browser-default):focus:not([readonly]) + label, input[type=time]:not(.browser-default):focus:not([readonly]) + label, input[type=date]:not(.browser-default):focus:not([readonly]) + label, input[type=datetime]:not(.browser-default):focus:not([readonly]) + label, input[type=datetime-local]:not(.browser-default):focus:not([readonly]) + label, input[type=tel]:not(.browser-default):focus:not([readonly]) + label, input[type=number]:not(.browser-default):focus:not([readonly]) + label, input[type=search]:not(.browser-default):focus:not([readonly]) + label, textarea.materialize-textarea:focus:not([readonly]) + label {
    color: var(--primary);
}

.input-field .prefix.active {
    color: var(--primary);
}

[type="checkbox"]:checked + label:before {
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
}

.dropdown-content li > a, .dropdown-content li > span {
    color: var(--primary);
}

.notification-badge {
    color: #26485b;
}

.progress {
    background-color: rgba(206, 206, 206, 0.60);
}

.progress.tab_progress {
    background-color: rgba(206, 206, 206, 1);
    margin-top: -5px;
}

.progress .indeterminate, .progress .determinate {
    background-color: var(--primary);
}

input:not([type]):disabled, input:not([type])[readonly="readonly"], input[type=text]:not(.browser-default):disabled, input[type=text]:not(.browser-default)[readonly="readonly"], input[type=password]:not(.browser-default):disabled, input[type=password]:not(.browser-default)[readonly="readonly"], input[type=email]:not(.browser-default):disabled, input[type=email]:not(.browser-default)[readonly="readonly"], input[type=url]:not(.browser-default):disabled, input[type=url]:not(.browser-default)[readonly="readonly"], input[type=time]:not(.browser-default):disabled, input[type=time]:not(.browser-default)[readonly="readonly"], input[type=date]:not(.browser-default):disabled, input[type=date]:not(.browser-default)[readonly="readonly"], input[type=datetime]:not(.browser-default):disabled, input[type=datetime]:not(.browser-default)[readonly="readonly"], input[type=datetime-local]:not(.browser-default):disabled, input[type=datetime-local]:not(.browser-default)[readonly="readonly"], input[type=tel]:not(.browser-default):disabled, input[type=tel]:not(.browser-default)[readonly="readonly"], input[type=number]:not(.browser-default):disabled, input[type=number]:not(.browser-default)[readonly="readonly"], input[type=search]:not(.browser-default):disabled, input[type=search]:not(.browser-default)[readonly="readonly"], textarea.materialize-textarea:disabled, textarea.materialize-textarea[readonly="readonly"] {
    color: rgba(0, 0, 0, 0.87) !important;
}

[type="checkbox"].filled-in:checked + label:after {
    border: 2px solid var(--primary) !important;
    background-color: var(--primary) !important;
}

#login-page input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
}

/*FINE COLORI*/

/*STAMPA TABELLA*/
.allinea {
    width: 50%;
    display: inline-block;
}

.bordodestro {
    border-right: 2px solid #d8d8d8;
}

.bordosuperiore {
    border-top: 2px solid #d8d8d8;
}
/*FINE STAMPA TABELLA*/
#modale-filtro {
    /*Questo serve a dire in quante colonne splittare la lista*/
    -moz-column-count: 2;
    -moz-column-gap: 20px;
    -webkit-column-count: 2;
    -webkit-column-gap: 20px;
    column-count: 2;
    column-gap: 20px;
}

#modale-filtro li {
    list-style: none;
    color: black !important;
    text-align: left;
    display: block;
    width: 50%;
    padding: 5px 0;
}

#modale-filtro li a {
    color: black;
    line-height: 26px;
}

#modale-filtro li a i {
    vertical-align: top;
    padding-right: 5px;
}

input:not([type]).invalid + label:after, input:not([type]):focus.invalid + label:after, input[type=text]:not(.browser-default).invalid + label:after, input[type=text]:not(.browser-default):focus.invalid + label:after, input[type=password]:not(.browser-default).invalid + label:after, input[type=password]:not(.browser-default):focus.invalid + label:after, input[type=email]:not(.browser-default).invalid + label:after, input[type=email]:not(.browser-default):focus.invalid + label:after, input[type=url]:not(.browser-default).invalid + label:after, input[type=url]:not(.browser-default):focus.invalid + label:after, input[type=time]:not(.browser-default).invalid + label:after, input[type=time]:not(.browser-default):focus.invalid + label:after, input[type=date]:not(.browser-default).invalid + label:after, input[type=date]:not(.browser-default):focus.invalid + label:after, input[type=datetime]:not(.browser-default).invalid + label:after, input[type=datetime]:not(.browser-default):focus.invalid + label:after, input[type=datetime-local]:not(.browser-default).invalid + label:after, input[type=datetime-local]:not(.browser-default):focus.invalid + label:after, input[type=tel]:not(.browser-default).invalid + label:after, input[type=tel]:not(.browser-default):focus.invalid + label:after, input[type=number]:not(.browser-default).invalid + label:after, input[type=number]:not(.browser-default):focus.invalid + label:after, input[type=search]:not(.browser-default).invalid + label:after, input[type=search]:not(.browser-default):focus.invalid + label:after, textarea.materialize-textarea.invalid + label:after, textarea.materialize-textarea:focus.invalid + label:after, .select-wrapper.invalid + label:after {
    transform: translateY(7px);
}
/*SCROLL*/
/*
body {
  overflow: auto !important;
}*/

.scroll_y {
    overflow-y: auto;
    overflow-x: hidden;
}
.no_scroll::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    background-color: #ccc;
}
.dropdown-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    background-color: #F5F5F5;
}
.dropdown-content::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #ccc;
}
.dropdown-content::-webkit-scrollbar-thumb {
    border-radius: 50px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #ccc;
}
.modal-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    background-color: #F5F5F5;
}
.modal-content::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #ccc;
}
.modal-content::-webkit-scrollbar-thumb {
    border-radius: 50px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #ccc;
}
.select2-results__options::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    background-color: #F5F5F5;
}
.select2-results__options::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #ccc;
}
.select2-results__options::-webkit-scrollbar-thumb {
    border-radius: 50px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #ccc;
}
.dhxtreeview_cont::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    background-color: #F5F5F5;
}
.dhxtreeview_cont::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #ccc;
}
.dhxtreeview_cont::-webkit-scrollbar-thumb {
    border-radius: 50px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #ccc;
}
html::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    background-color: #F5F5F5;
}
html::-webkit-scrollbar {
    width: 10px;
    height: 5px;
    background-color: #ccc;
}
html::-webkit-scrollbar-thumb {
    border-radius: 50px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #ccc;
}
/*
html::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}*/

/*FINE SCROLL*/

.profile-image-login {
    width: 130px;
    height: auto !important;
}

#geo-zoom-out {
    display: none;
    font-size: 40px;
    color: var(--material-light-blue);
    position: absolute;
    top: 100px;
    right: 25px;
    z-index: 10;
}

#righe_lavorazioni .riga[data-nascondi="I"] .fornitore {
	/* display: none !important; */
}

.lente {
  cursor: pointer;
  vertical-align: text-bottom;
  color: #37474f;
}

.custom_chip {
  border-radius: 7px;
  width: 250px;
  max-width: 250px;
  height: 165px;
  font-size: 11px;
  background-color: #4f646f;
  color: white;
  margin: 7px;
  cursor: pointer;
  position: relative;
}

.custom_chip_btn {
  border-radius: 7px;
  width: 100px;
  height: 165px;
  font-size: 11px;
  background-color: #4f646f;
  color: white;
  margin: 7px;
  cursor: pointer;
}

.note_trasp_chip {
  border-top: 1px solid white;
  position: absolute;
  bottom: 0px;
}

.top5 {
  color: white;
  margin-top: 5px;
  padding: 3px 5px;
}

.text_limit {
  display: block;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
}

.notification-badge {
    font-family: "Rubik", sans-serif;
    position: relative;
    right: 3px;
    top: -21px;
    background-color: #ffffff;
    margin: 0 -.8em;
    border-radius: 50%;
    padding: 2px 5px;
    font-weight: 500;
}

.tabs.tabs_modal {
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
}

.tabs.tabs_modal .tab a:hover, .tabs.tabs_modal .tab a.active, .tabs.tabs_modal .tab a {
    color: var(--primary_dark) !important;
}

.tabs.tabs_modal .tab a.active {
    border-bottom: 3px solid var(--primary_dark) !important;
}

.input-field {
    position: relative;
    margin-top: 0rem;
}

.eti_scad {
  text-align:right;
  width:200px;
  height:80px;
  border:1px
  solid red;
  color:red;
  padding:5px;
}

.nopadding {
  padding: 0 !important
}

.nomargin {
  margin: 0 !important
}

td, th {
  padding: 5px 5px;
  display: table-cell;
  text-align: left;
  vertical-align: middle;
  border-radius: 2px;
  font-size: .8rem;
  font-weight: 500;
}

.totali {
    position: fixed;
    width: 100%;
    bottom: 0px;
    height: 105px !important;
    background-color: #fff;
    box-shadow: 0 0 4px rgba(0,0,0,.14), 0 -4px 8px rgba(0,0,0,.28);
}

#modale_evasione {
  width: 80%;
}

.fond {
    display: none;
    position: absolute;
    padding-top: 25px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.contener_general {
    -webkit-animation: animball_two 1s infinite;
    -moz-animation: animball_two 1s infinite;
    -ms-animation: animball_two 1s infinite;
    animation: animball_two 1s infinite;
    width: 44px;
    height: 44px;
}

.table-totali td {
    font-size: 1.2rem;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: transparent !important;
    border-bottom: 1px dotted rgba(0,0,0,.42);
}

.select2-selection__rendered:focus {
    outline: -webkit-focus-ring-color auto 0px;
}

.table-totali th {
    font-size: 1rem;
    background: var(--material-light-blue);
    border-radius: 0;
    color: white;
    padding: 15px 10px !important;
}

.table-totali td, .table-totali th {
    padding: 10px 10px;
}

.fixed-action-btn.due {
    position: fixed;
    right: 23px;
    bottom: 95px;
    padding-top: 15px;
    margin-bottom: 0;
    z-index: 997;
}

.dropdown-content {
    max-height: 300px;
}

.pointer {
  cursor:pointer;
}

.lbl_conto {
  margin-bottom: 25px !important;
  color:grey;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 3rem;
}

.select2 .selection .select2-selection--single, .select2-container--default .select2-search--dropdown .select2-search__field {
    height: 3rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #000 transparent transparent;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
}

#main .main-full .div-fixed-footer {
  padding-left: 0px;
}

#content {
  padding-top: 1rem;
}

#vers-table td {
  padding: 15px 5px;
  font-size: .6rem;
}

#vers-table th {
  padding: 15px 5px;
  font-size: .7rem;
  background: var(--material-light-blue);
  border-radius: 0;
  color: white;
}

#vers-table .anno {
  font-size: 25px;
  padding:   15px 0 0px 0;
}

#vers-table #totale-v1 td {
  padding: 15px 5px;
    font-size: .7rem;
    background: var(--material-light-blue);
    border-radius: 0;
    color: white;
}

.progress {
    margin: 0;
    height:5px;
}

.chip>.chip_icon {
    float: left;
    margin: 1 8px 0 -12px;
    height: 30px;
    width: 30px;
    font-size: 19px;
    color: white;
    font-style: normal;
    border-radius: 16px;
    text-align: center;
}

.top_chips .chip {
    font-size: 11px;
}

.top_chips .chip {
    height: 30px;
}

.collection .collection-item {
	border-bottom: none;
	position: relative;
  width: 100%;
	padding: 15px 10px 0px 10px !important;
	display: inline-block;
}

.collection .collection-item-pers {
	border-bottom: none;
	position: relative;
  width: 100%;
	padding: 25px 10px 0px 10px !important;
  height: 100px;
	display: inline-block;
}

[type="checkbox"] + label {
  pointer-events: initial !important;
}

.border-red {
    border: 1px solid red !important;
    border-bottom: 1px solid red !important;
}

.nascondi {
	display: none;
}

.lista_viaggi {
  height: 325px;
  overflow-y: scroll !important;
}

.div_lista_viaggi {
  margin-top: 30px;
  width: 100%;
  height: 300;
  overflow-y: hidden;
}

.modal .modal-footer .btn, .modal .modal-footer .btn-large, .modal .modal-footer .btn-flat {
    float: none;
    margin: 0 10px !important;
}

.dropdown-content li>a, .dropdown-content li>span {
    font-size: 16px;
    color: var(--primary_dark);
    display: block;
    line-height: 22px;
    padding: 14px 16px;
}

[type="radio"]:checked+label:after, [type="radio"].with-gap:checked+label:after {
    background-color: var(--primary_dark) !important;
}

[type="radio"]:checked+label:after, [type="radio"].with-gap:checked+label:before, [type="radio"].with-gap:checked+label:after {
    border: 2px solid var(--primary_dark) !important;
}

[type="radio"]:not(:checked)+label:before, [type="radio"]:not(:checked)+label:after {
    border: 2px solid var(--primary_dark) !important;
}

[type="radio"]:checked+label:after {
    -webkit-transform: scale(1.25);
    transform: scale(1.25);
}

.brand-logo {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

[type="checkbox"]:checked+label:before {
    border-right: 2px solid var(--primary_dark);
    border-bottom: 2px solid var(--primary_dark);
}

.datepicker, .picker__input {
  cursor: pointer;
}

.picker__date-display {
    background-color: var(--primary_dark) !important;
}

.picker__weekday-display {
    background-color: var(--primary_dark) !important;
}

.picker__close, .picker__today {
    color: var(--primary_dark) !important;
}

.picker__nav--prev:hover, .picker__nav--next:hover {
    cursor: pointer;
    color: #000000;
    background: rgba(55, 71, 79, 0.11);
}

.picker__day.picker__day--today {
    color: var(--primary_dark);
    font-weight: 900;
}

.picker__day--selected, .picker__day--selected:hover, .picker--focused .picker__day--selected {
    background-color: var(--primary_dark) !important;
}

.clockpicker-display {
    color: var(--primary_header) !important;
}

.picker__footer .clockpicker-button {
    margin: auto;
    margin-top: 15px;
    color: var(--primary_dark);
}

.picker__day.picker__day--today.picker__day--selected {
    color: #fff;
}

.clockpicker-tick:hover {
    background-color: rgba(55, 71, 79, 0.11) !important;
}

.clockpicker-canvas-bg-trans {
    fill: rgba(245, 124, 0, 0.52) !important;
}

.clockpicker-canvas-fg.active {
    fill: var(--primary_dark) !important;
}

.clockpicker-canvas line {
    stroke: var(--primary_dark) !important;
}

.clockpicker-canvas-bg {
    fill: rgba(245, 124, 0, 0.4) !important;
}

.clockpicker-canvas-bearing {
	fill: var(--primary_dark) !important;
}
.card {
  overflow: initial;
}

.select-wrapper span.caret {
  color: initial;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  height: 3rem;
  line-height: 3rem;
  margin: initial;
  font-size: 10px;
}

.ui-menu.ui-widget{
  z-index:9999;
}

#fatture_pa.collapsible .collapsible-body {
  padding: 1rem;
  position: relative;
}

#fatture_pa .collapsible-header, #lista_indirizzi .collapsible-header {
  background-color: initial;
  padding: 20px 15px;
  font-weight: 500;
}

.box_shadow_bottom {
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
}

#gestione_allegati {
  display:none;
}

img.materialboxed.active {
  border-radius: 0 !important;
  border-radius: 0 !important;
  max-height: initial;
  max-width: initial;
  transform: none;
  margin-right: initial;
}

.cont_img .dropify-wrapper {
  height: 100%;
  background-image: linear-gradient(-45deg, #efefef 25%, transparent 25%, transparent 50%, #efefef 50%, #efefef 75%, transparent 75%, transparent);
}

.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;
}

.icon_allegati_chip {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  margin-left: -11px;
  font-weight: 500;
  line-height: 32px;
  text-align: center;
  font-size: 13px;
  display: inline-block;
}

.intestazione_timer .sezione {
  width: calc(50% - 5px);
  position: relative;
  height: 380px;
  display: inline-block;
  margin: 0 auto;
  overflow-y: hidden;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
  margin: 20px 0;
}

.timerpage {
  width: 100% !important;
}

.word-break {
  word-break: break-word;
}

.sezione .totale {
  position: absolute;
  bottom: 0px;
  left: 0;
  height: 45px;
  line-height: 35px;
  background: white;
  width: calc(100%);
  padding: 5px 24px;
  font-size: 22px;
  font-weight: 500;
  box-shadow: 0 -2px 2px 0 rgba(0,0,0,0.14), 0 0px 0px 0 rgba(0,0,0,0.12), 0 0px 0px 0px rgba(0,0,0,0.2);
}

.sezione .collection {
  overflow-y: scroll !important;
  height: calc(380px - 51px - 80px);
  width: calc(100% + 24px);
  padding-right: 24px;
}

.sezione textarea.materialize-textarea {
  padding: 1rem 0 1.6rem 0;
  max-height: 75px;
}

.intestazione_timer .collection .collection-item.avatar {
  min-height: 84px;
  padding: 15px 10px 15px 84px !important;
  border-bottom: 1px solid #e0e0e0;
}

.intestazione_timer .collection .collection-item.avatar:last-child {
    border-bottom: none;
}

.intestazione_timer .tempo {
  position: absolute;
  left: 0px;
  font-size: 17px;
  font-weight: bold;
  top: calc(50% - 10.5px);
}

#gest_menu .selected-icon-field {
  width: calc(100% - 60px - 1.5rem);
  margin-top: 26px !important;
  padding-left: 60px;
  position: absolute;
  left: .75rem;
}

#gest_menu .selected-icon-container {
  display: inline-block;
}

#gest_menu .selected-icon-container i {
  cursor: pointer;
  font-size: 50px;
  height: 50px;
  margin-top: 15px;
  margin-left: -5px;
  text-align: center;
  color: #333333;
  transition: .2s;
  display: inline-block;
}

#gest_menu .icons {
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
}

#gest_menu .icons i {
    cursor: pointer;
    font-size: 50px;
    height: 100px;
    width: 100px;
    text-align: center;
    line-height: 100px;
    color: #333333;
    transition: .2s;
}

.cont_img {
  height: 250px;
  background: #f4f4f4;
  position: relative;
  transition: .2s;
}

.cont_img img {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  max-width: calc(100% - 48px);
  max-height: calc(100% - 48px);
}

/* .cont_img:hover {
  box-shadow: 0 3px 3px 0 rgba(0,0,0,0.14), 0 1px 7px 0 rgba(0,0,0,0.12), 0 3px 1px -1px rgba(0,0,0,0.2);
} */

.riga_comandi .col {
  padding-bottom: 10px;
  padding-top: 10px;
  background: #f4f4f4;
}

.riga_comandi .col i {
  vertical-align: bottom;
  font-size: 30px;
}

#agg_immagini .dropify-wrapper .dropify-preview {
  display: none !important;
}

.dropify-preview {
  display: none !important;
}

/*****************************JSGRID*******************************************/

.jsgrid th {
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem !important;
}

.jsgrid .jsgrid-header-sort:before {
    margin: 7px 10px 0 0;
}

.jsgrid .jsgrid-grid-body {
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.jsgrid#elenco_ricerca {
  width: 100% !important;
}

.jsgrid .striped:nth-child(odd), .jsgrid-table .jsgrid-row {
    background: white !important;
    box-shadow: 0 2px 0px 0 rgba(0,0,0,0.36), 0 2px 10px 0 rgba(0,0,0,0) !important;
}

.jsgrid .striped:nth-child(even), .jsgrid-table .jsgrid-alt-row {
    background: #f2f2f2 !important;
    box-shadow: 0 2px 0px 0 rgba(0,0,0,0.36), 0 2px 10px 0 rgba(0,0,0,0) !important;
}

.jsgrid td {
  font-size: .8rem;
  font-weight: 400;
  padding: .3rem !important;
}

/*****************************GESTIONE MENU************************************/

div#tree_here {
  position: relative;
  min-height: calc(100vh - 440px);
}
.dhxtreeview_material div.dhxtreeview_cont {
  height: 100% !important;
  width: 100% !important;
}
.dhxtreeview_material div.dhxtreeview_cont div.dhxtreeview_area div.dhxtreeview_item div.dhxtreeview_item_text div.dhxtreeview_item_label {
  position: absolute;
  top: 0;
  margin-left: 10px;
  padding: 0 10px 0 4px;
  height: 32px;
  line-height: inherit;
  font: inherit;
  font-size: 1.2rem !important;
  color: #111;
  line-height: 30px;
  cursor: pointer;
}
.dhxtreeview_material div.dhxtreeview_cont div.dhxtreeview_area div.dhxtreeview_item div.dhxtreeview_item_text.dhxtreeview_item_text_selected div.dhxtreeview_item_label, .dhxtreeview_material div.dhxtreeview_cont div.dhxtreeview_area div.dhxtreeview_item div.dhxtreeview_item_text.dhxtreeview_item_text_selected:hover div.dhxtreeview_item_label {
    background-color: transparent;
}
.dhxtreeview_material div.dhxtreeview_cont div.dhxtreeview_area div.dhxtreeview_item div.dhxtreeview_item_text div.dhxtreeview_item_icon {
  width: 32px;
  cursor: pointer;
}
.dhxtreeview_material div.dhxtreeview_cont div.dhxtreeview_area div.dhxtreeview_item div.dhxtreeview_item_text.dhxtreeview_item_text_selected, .dhxtreeview_material div.dhxtreeview_cont div.dhxtreeview_area div.dhxtreeview_item div.dhxtreeview_item_text.dhxtreeview_item_text_selected:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-left: 0px solid white;
}

.dhxtreeview_material div.dhxtreeview_cont div.dhxtreeview_area div.dhxtreeview_item div.dhxtreeview_item_text {
  position: relative;
  padding: 0;
  margin: 0;
  height: 32px;
  line-height: 31px;
  color: inherit;
  vertical-align: middle;
  border-left: 0px solid white;
}
.fa {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
  -moz-osx-font-smoothing: grayscale;
  color: #575757;
}
.fa-caret-down:before {
    content: '\e5c5';
}
.fa-caret-right:before {
    content: '\e5c5';
}
.fa-caret-right {
    transform: rotate(-90deg);
    margin-top: 7px;
    margin-left: 7px;
}
.fa-folder-o:before {
    content: '\e2c7';
}
.fa-folder-open-o:before {
    content: '\e2c8';
}
.fa-file-o:before {
    content: '\e873';
}

.less {
	position: absolute;
  margin-left: 13px;
  font-size: 30px;
  margin-top: 59px;
  transform: rotate(90deg);
  user-select: none;
}

.more {
	position: absolute;
  margin-left: 14px;
  font-size: 30px;
  margin-top: -14px;
  transform: rotate(270deg);
  user-select: none;
}

ul.lista_riep_timer .collection-item:last-child,ul.lista_riep_prodotti .collection-item:last-child,ul.lista_riep_lavorazioni .collection-item:last-child{
  padding: 0px !important;
  box-shadow: 0 -2px 2px 0 rgba(0,0,0,0.1), 0 0px 1px 0 rgba(0,0,0,0.15), 0 3px 1px -2px rgba(0,0,0,0.20) !important;
}

ul.lista_riep_timer .collection-item:last-child .totale,ul.lista_riep_prodotti .collection-item:last-child .totale,ul.lista_riep_lavorazioni .collection-item:last-child .totale{
  line-height: 4rem;
}

.modal .dropify-wrapper {
  height: 46px;
  width: 75px;
  position: absolute;
  margin-top: 0px;
}

.modal .dropify-preview, .modal .dropify-wrapper.has-preview .dropify-clear, .modal .dropify-wrapper .dropify-errors-container {
    display: none !important;
}

#full_chips .material-placeholder {
  display: inline-block;
  margin-right: 10px;
}

.modal .dropdown-content {
    max-height: 200px;
}

.modal.bottom-sheet {
    max-height: 75%;
}

.ui-menu {
  min-width: 200px !important;
}

.collection-item.striped.testata {
  background: white !important;
  padding: 10px 0 !important;
  box-shadow: 0 0px 0px 0 rgba(0,0,0,0.10), 0 1px 10px 0 rgba(0,0,0,0.10), 0 3px 2px -2px rgba(0,0,0,0.20) !important;
}

.footer_total {
  line-height: 4rem;
}

.modal.modal-fixed-footer .modal-footer .btn, .modal.modal-fixed-footer .modal-footer .btn-large, .modal.modal-fixed-footer .modal-footer .btn-flat {
    margin: 5px 10px !important;
}

#modal_calc_costo input{
  text-align: right;
}

.note-editor.note-frame {
  border: 1px solid #dfdddd;
}

.note-btn {
  font-family: roboto;
  color: #595959;
}

.note-editable {
  min-height: calc(100vh - 310px);
  height: auto !important;
}

.note-statusbar, .note-icon-video, .note-icon-question, .note-color-reset {
  display:none;
}

.note-editor.note-frame {
    border: none;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
    margin-bottom: 25px;
}

.note-toolbar .note-dropdown-menu.dropdown-style {
    min-width: 290px;
}

.note-toolbar .note-color .note-dropdown-menu .note-palette:first-child {
    margin: 0 5px;
    margin-right: 5px;
}

.note-toolbar .note-color .note-dropdown-menu {
    min-width: auto;
}

.note-toolbar .note-para .note-dropdown-menu {
    min-width: auto;
}


#sn-checkbox-open-in-new-window {
  position: initial;
  opacity: 1;
  pointer-events: auto;
  margin-right: 10px;
  vertical-align: middle;
}

.btn *, .btn-floating *, .btn-large * {
  user-select: none;
}

#gestione_tasto_right {
    display: none;
}

#sidebar-right-info-fatt-el .title {
    font-size: 2.3rem;
    font-weight: 400;
}

#sidebar-right-info-fatt-el {
    width: 400px;
    height: 100% !important;
    padding-bottom: 0px;
}

#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;
}

.li-left-icon li>a {
  line-height: 75px;
  padding: 0 16px !important;
}

.li-left-icon .tabs .tab a:hover, .li-left-icon .tabs .tab a.active, .li-left-icon .tabs .tab a  {
    color: white;
}

.li-left-icon .collection .collection-item.avatar {
    padding: 25px 45px 25px 72px !important;
    background: transparent;
    border-bottom: 1px solid #e8e8e8 !important;
    position: relative;
}

.li-left-icon .collection .collection-item.avatar .icona {
  position: absolute;
  width: 42px;
  height: 42px;
  font-size: 27px;
  overflow: hidden;
  left: 15px;
  display: inline-block;
  vertical-align: middle;
}

.backdrop {
  background: var(--primary_dark);
}

#info-fatt-el {
  max-height: calc(100vh - 90px);
  overflow-y: scroll;
}

#info-fatt-el .red-text{
  line-height: 25px;
}

#info-fatt-el li{
  padding-right: 50px !important;
}

li.ui-menu-item {
    clear: both;
    color: black;
    cursor: pointer;
    min-height: 30px;
    line-height: 30px;
    width: 100%;
    text-align: left;
    text-transform: none;
    font-size: 15px;
    overflow: hidden;
    white-space: initial;
    text-overflow: initial;
    padding: 0 15px;
}

.circle.materialboxed.active {
  height: auto !important;
}

.responsive-iframe_cont {
    left: 50% !important;
    transform: translate(-50%, 0%) !important;
    position: absolute;
    height: 85%;
    width: 95%;
}

.responsive-iframe {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    position: absolute;
    width: 100%;
    height: 100%;
}

.modal{
  -webkit-overflow-scrolling: touch;
  /* overflow-y: visible; */
}

li.ui-menu-item {
  clear: both;
  color: black;
  cursor: pointer;
  min-height: 40px;
  line-height: 40px;
  width: 100%;
  text-align: left;
  text-transform: none;
  font-size: 16px;
  overflow: hidden;
  line-height: 1.5;
  border-bottom: 1px solid #eaeaea;
  white-space: initial;
  /* text-overflow: ellipsis; */
  padding: 10px 15px;
}

.material-icons.transparent {
  color: transparent !important;
}

.mastri_magazzino th {
  font-size: .8rem;
}

.input-field>select.browser-default {
    background-color: transparent;
    width: 100%;
    padding: 5px;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 2px;
    height: 3rem;
    pointer-events: initial;
    opacity: 1;
    position: relative;
}

.switch_albi{
  margin-bottom: 30px !important;
  margin-top: 10px !important;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #c9c9c9;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #c9c9c9;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #c9c9c9;
}
:-moz-placeholder { /* Firefox 18- */
  color: #c9c9c9;
}

/* .riga_fine_pag {
  padding-top: 3%;
  position: fixed;
  bottom: 3%;
} */

.collection .collection-item .tabs {
    background-color: transparent;
}

.div_ul_scroll {
  max-height: 640px;
  margin: 0px 2px 1px 2px;
}

.ul_scroll {
  max-height: 640px;
  overflow-y: scroll !important;
}

.fixed_li {
  position: sticky !important;
  bottom: 0px;
}

div#data {
  padding-top: 70px !important;
}

/*****************************Tutte le pagine**************************************/
div.card.padding-small div.card-content {
  padding: 10px 25px;
}

div[id="main"], div[id="data"] {
  height: 100%;
  margin-bottom: 0px !important;
}

.flashing {
  -webkit-animation: flashing 2.5s ease-out;
  -webkit-animation-iteration-count: infinite;
  opacity: 0.5;
}

@-webkit-keyframes flashing {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1.0;
  }
  100% {
    opacity: 0.5;
  }
}

.cursor_pointer {
  cursor: pointer;
}

@media (max-width: 500px){
  .titolo_postaz {
    font-size: 1.5rem;
  }
}

#calendar .fc-view-container .fc-view .fc-scroller {
  overflow: auto !important;
}
/*****************************vetrina**************************************/
div#vetrina{
  height: 100%;
  padding-bottom: 10px;
  padding-top: 5px;
}

div#vetrina:fullscreen{
  padding: 10px;
}

div#vetrina:fullscreen div#action_btn{
  display: none;
}

div#postazioni [type="checkbox"]:checked+label:before {
  border-right: 2px solid black;
  border-bottom: 2px solid black;
}

div.card[data-postazione] [j='descr'] {
  transition: width linear .2s;
}

div[j="checkbox"].hide-checkbox-div {
  opacity: 0;
}

div[j="checkbox"].hide-checkbox-div.pos-abs {
  position:absolute;
}

div[j="checkbox"] {
  opacity: 1;
  transition: opacity .2s linear;
}

div[j="cicla_postazioni"] h5 {
  transition: opacity .2s linear;
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
	0% {
		transform: translatey(0px);
	}
	33% {
		transform: translatey(3px);
	}
  66% {
    transform: translatey(-3px);
  }
	100% {
		transform: translatey(0px);
	}
}

.row-small-vetrina, .row-big-vetrina {
  padding-bottom: 5px;padding-top: 5px;
}

.row-small-vetrina {
  height: 15%;
}

.row-big-vetrina {
  height: 40%;
}

.vetr-tit-postazione, .vetr-tit-fascia {
  font-size: 3rem;
}

.vetr-rif {
  font-size: 6rem;
}

.vetr-info-serv, .vetr-info-post {
  font-size: 1rem;
}

.row-small-vetrina div.card, .row-big-vetrina div.card, div.vetrina-in-attesa div.card {
  height: 100%;
}

.row-small-vetrina div.card div.card-content,
.row-big-vetrina div.card div.card-content,
div.vetrina-in-attesa div.card div.card-content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

div.vetrina-in-attesa {
  padding-bottom: 10px;
  padding-top: 5px;
  height: 100%;
}

div.vetrina-in-attesa span{
  font-size: 3rem;
}

@media (orientation: landscape) and (max-height: 500px){
  .row-small-vetrina {
    height: 18%;
  }

  .row-big-vetrina {
    height: 28%;
  }

  .vetr-tit-postazione, .vetr-tit-fascia {
    font-size: 2rem;
  }

  .vetr-rif {
    font-size: 4rem;
  }

  .vetr-info-serv, .vetr-info-post {
    font-size: .6rem;
  }
}

@media (orientation: portrait) and (max-width: 600px){
  .vetr-tit-postazione, .vetr-tit-fascia {
    font-size: 1.5rem;
  }
}

/*****************************servizio**************************************/
div[id="avanzamento"],
div[id="avanzamento"]>div.row,
div[id="avanzamento"]>div.row>div.col {
  height: -moz-available;          /* WebKit-based browsers will ignore this. */
  height: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
  height: fill-available;
}

div.stato-chiamate, div.azioni-chiamate{
  margin: 0;
}

div[action="btn_avvia"],
div[action="btn_ferma"],
div[action="btn_in_servizio"],
div[action="btn_prossimo"] {
  height: 50%;
  padding: 15px 15px !important;
}

div.stato-chiamate {
  height: 10%;
}

div.azioni-chiamate {
  height: 90%;
}

@media only screen and (max-height: 400px){

  div[action="btn_avvia"],
  div[action="btn_ferma"],
  div[action="btn_in_servizio"],
  div[action="btn_prossimo"] {
    padding: 11px 8px !important;
  }

  div.stato-chiamate {
    height: 20%;
  }

  div.azioni-chiamate {
    height: 80%;
  }

}

@media only screen and (max-height: 600px){

  div.stato-chiamate {
    height: 15%;
  }

  div.azioni-chiamate {
    height: 85%;
  }

}

div[action="info"] span i {
  vertical-align: middle;
  font-size: 1.3rem;
}

div[action="btn_avvia"]>div,
div[action="btn_ferma"]>div,
div[action="btn_in_servizio"]>div,
div[action="btn_prossimo"]>div {
  height: 100%;
  width: -moz-available;          /* WebKit-based browsers will ignore this. */
  width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
  width: fill-available;
  background-color: var(--primary);
  color: white;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

div[action="btn_avvia"]>div.disabled,
div[action="btn_ferma"]>div.disabled,
div[action="btn_in_servizio"]>div.disabled,
div[action="btn_prossimo"]>div.disabled,
div[action].disabled {
  background-color: var(--primary_light);
}

div[id="avanzamento"]>div.row>div.col:first-child {
  border-right: 1px solid lightgray;
}

div[id="in_coda"],
div[id="in_ritardo"] {
  overflow: auto;
  height: calc(100% - 48px); /* 48px è l'altezza del tab di materialize */
}

ul#fasce.tabs .tab a{
  color: var(--primary_header);
}

ul#fasce.tabs .tab a:hover,
ul#fasce.tabs .tab a.active {
  color: var(--primary_header_dark);
}

ul#fasce.tabs .indicator {
  background-color: var(--primary_header_dark);
}

div.servibile {
  background-color: var(--primary);
  align-items: center;
  display: flex;
  border-radius: 50%;
}

div.servibile > span {
  font-size: 2rem;
}

div[action="chiama"], div[action="info"], div.info-pren, div.no-prenotazioni {
  height: 2rem;
  color: white;
  font-weight: 500;
}

div[action="chiama"] {
  background-color: var(--primary);
  cursor: pointer;
}

div[action="info"], div.no-prenotazioni {
  background-color: var(--primary_header);
}

div[action="info"] {
  cursor: pointer;
}

div.info-pren {
  background-color: var(--primary_blu);
}

div.in_coda>div.card>div.card-content,
div.in_ritardo>div.card>div.card-content {
  padding: 0;
}

div.in_coda>div.card>div.card-content>div.row,
div.in_ritardo>div.card>div.card-content>div.row {
  margin-bottom: 0;
}

div.in_coda,
div.in_ritardo {
  margin-top: 6px;
}

.primary-text-style,
.secondary-text-style,
.black-text-style,
.white-text-style {
  font-size: 1.2rem;
  text-transform: uppercase;
}

.primary-text-style {
  color: var(--primary_dark);
}

.secondary-text-style {
  color: var(--primary_header_dark);
}

.black-text-style {
  color: black;
}

.white-text-style {
  color: white;
}

span#screen_rot_portrait {
  -webkit-animation-name: rotate;
  -webkit-animation-duration: 4.5s;
  -webkit-animation-iteration-count: infinite;
  -webkit-transition-timing-function: linear;
  font-size: 6rem;
}

@-webkit-keyframes rotate {
  0% { -webkit-transform: rotate(360deg); }
  20% { -webkit-transform: rotate(270deg); }
  25% { -webkit-transform: rotate(270deg); }
  45% { -webkit-transform: rotate(180deg); }
  50% { -webkit-transform: rotate(180deg); }
  70% { -webkit-transform: rotate(90deg); }
  75% { -webkit-transform: rotate(90deg); }
  100% { -webkit-transform: rotate(0deg); }
}

div#no-portrait {
  display: flex;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (orientation: portrait) {
  .hide-on-portrait {
    display: none;
  }
}

@media (orientation: landscape) {
  div#no-portrait.hide-on-landscape {
    display: none;
  }
}

/*****************************prenotazioni**************************************/
.pallino_prenotato {
  position:absolute;
  bottom:5px;
  right:5px;
  color: var(--primary_header);
}

.contatore_rimanenti_style {
  position:absolute;
  top:5px;
  right:5px;
}

.grey-dot {
  height: 25px;
  width: 25px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}

.green-dot {
  height: 25px;
  width: 25px;
  background-color: green;
  border-radius: 50%;
  display: inline-block;
}

div[j='dettaglio_fascia'] {
  color: #373A36;
}

div[j='fascia'], div[j='dettaglio_fascia'] {
  background-color: var(--primary);
  color: white;
  cursor: pointer;
  user-select: none;
}

i.nav_after, i.nav_before {
  color: var(--primary);
  user-select: none;
  cursor: pointer;
}

div[j='dettaglio_fascia'].libero {
  background-color: white;
  color: black;
}

div[j='fascia'].prenotato, div[j='dettaglio_fascia'].prenotato {
  background-color: var(--primary_header);
}

div[j='fascia'].esaurito, div[j='dettaglio_fascia'].esaurito {
  background-color: grey;
}

div#giorni {
  height: calc(100vh - 150px);
}

div#giorni h3 {
  border-top: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
  display: inline-block;
  padding: 6px;
  margin-top: -2px;
  margin-bottom: 5px;
}

div#modal_prenotazioni.modal.modal-fixed-footer, div#modal_ricerca_ticket.modal.modal-fixed-footer, div#modal_conferma_pren.modal.modal-fixed-footer, div#modal_scansione.modal.modal-fixed-footer,div#modal_dettaglio_scan.modal.modal-fixed-footer {
  width: 100%;
  height: 100%;
  top: 0% !important;
  max-height: 100%;
  background-color: var(--primary);
}

div#modal_prenotazioni div.modal-footer, div#modal_scansione div.modal-footer, div#modal_dettaglio_scan div.modal-footer, div#modal_ricerca_ticket div.modal-footer, div#modal_conferma_pren div.modal-footer{
  border-top: none;
  background-color: var(--primary);
}

.qrPreviewVideo {
  width: 310px;
}

div#modal_scansione .btn-floating.halfway-fab-custom, div#modal_ricerca_ticket .btn-floating.halfway-fab-custom, div#modal_dettaglio_scan .btn-floating.halfway-fab-custom {
  position: absolute;
  top: 10px;
  right: 10px;
}

div#modal_prenotazioni .btn-floating.halfway-fab-custom,
div#modal_conferma_pren .btn-floating.halfway-fab-custom {
  position: absolute;
  left: 24px;
  bottom: 35px;
}

span.titolo_card {
  font-size: 1.8rem;
  display: block;
}

label[for='info_prenotazione'], label[for='posti_confermati'], label[for='ricerca_f'], label[for='info_per_ut'] {
  color: white !important;
}

#modal_conferma_pren input {
  border-color: white;
}

#modal_conferma_pren input::placeholder{
  color: #a59595;
  font-weight: 800;
}

#modal_conferma_pren label{
  -webkit-transform: translateY(-14px) scale(0.8);
  transform: translateY(-14px) scale(0.8);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

#modal_conferma_pren select#posti_confermati {
  border-bottom: 1px solid white;
  font-weight: bold;
}

#modal_conferma_pren .select-wrapper input.select-dropdown {
  border-bottom: 1px solid white;
  font-weight: bold;
}

#modal_ricerca_ticket input#ricerca_f {
  border-bottom: 1px solid white;
  font-weight: bold;
}

textarea.materialize-textarea:focus:not([readonly]) + label[for='info_prenotazione'] {
  color: var(--primary_header);
}

textarea[id='info_prenotazione'] {
  border-color: white;
}

textarea.materialize-textarea:focus:not([readonly]) {
  border-bottom: 1px solid var(--primary_header);
  box-shadow: 0 1px 0 0 var(--primary_header);
}

@media only screen and (max-width: 600px){

  span.titolo_card {
    font-size: 1.3rem
  }

  .contatore_rimanenti.esaurito {
    font-size: 10px;
  }

  .contatore_rimanenti.chiusa {
    font-size: 10px;
  }

  .contatore_rimanenti.scaduta {
    font-size: 10px;
  }

  div#data {
    padding-top: 57px !important;
  }

  #giorni h3 {
    font-size: 2.1rem;
  }

}


.inchiamata {
  background: var(--primary);
  color:black;
}
.inservizio {
  background: var(--primary_blu);
  color:white;
}
/*****************************MEDIA QUERY**************************************/


@media only screen and (max-width: 600px){

  #timer_timer .timer {
    font-size: 50px;
  }

}

@media only screen and (min-width: 601px) {

  .div-fixed-footer {
    left: 240px !important;
    /* width: calc(100% - 94px) !important; */
    background-color: white;
    height: 50px;
    position: sticky;
    bottom: 0;
    right: 15px !important;
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
  }
}

@media only screen and (max-width: 992px){

  .div-fixed-footer {
    left: 240px !important;
    /* width: calc(100% - 94px) !important; */
    background-color: white;
    height: 50px;
    position: sticky;
    bottom: 0;
    right: 15px !important;
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
  }

  #main.main-full .div-fixed-footer{
    padding-left: 0px;
  }

  #header .tabs span.badge {
    display: none;
  }
}

@media only screen and (min-width: 1026px){

  /* ALBI */
  .box_alleg {
    border: 1px solid #e5e5e5;
    background: #f4f4f4;
    margin-left: 5px;
    margin-right: 5px;
    height: 150px;
    width: 230px;
  }

  .box_alleg .material-placeholder {
    padding-left: 16%;
  }

  .img{
    width: 155px;
  }

  /* ALBI */

  .modale_pers {
    height: 85%;
    width: 85%;
    max-height: 85%;
  }

  .div_lista_viaggi {
    margin-top: 30px;
    width: 100%;
    height: 300px;
    overflow-y: hidden;
  }

  .div_ul_scroll {
    max-height: 880px;
    margin: 0px 2px 1px 2px;
  }

  .ul_scroll {
    max-height: 880px;
    overflow-y: scroll !important;
  }

}

@media only screen and (min-width: 900px){

  /* ALBI */
  .box_alleg {
    border: 1px solid #e5e5e5;
    background: #f4f4f4;
    margin-left: 5px;
    margin-right: 5px;
    height: 150px;
    width: 230px;
  }

  .box_alleg .material-placeholder {
    padding-left: 7%;
  }

  .img{
    width: 135px;
  }

  .modale_pers {
    height: 75%;
    width: 85%;
    max-height: 85%;
  }

  .div_lista_viaggi {
    margin-top: 30px;
    width: 100%;
    height: 300px;
    overflow-y: hidden;
  }

}

@media only screen and (min-width: 600px){

  /* ALBI */
  .box_alleg {
    border: 1px solid #e5e5e5;
    background: #f4f4f4;
    margin-left: 5px;
    margin-right: 5px;
    height: 150px;
    width: 170px;
  }

  .img{
    height: 95px;
    margin-left: 9px;
  }

  .modale_pers {
    height: 75%;
    width: 90%;
    max-height: 88%;
  }

  .div_lista_viaggi {
    margin-top: 30px;
    width: 100%;
    height: 385px;
    overflow-y: hidden;
  }

  .lista_viaggi {
    height: 385px;
  }
}

@media only screen and (max-width: 1200px){
  .nascondi_ultimo_anno {
    display: none;
  }
  /* .nascondi-anno{
    display:none !important;
  } */

  #vers-table td {
    font-size: .5rem;
  }

  #vers-table .anno {
    font-size: 20px;
    padding:   15px 0 0px 0;
  }

  .file_alleg {
    height: 86px;
    font-size: 23px;
    padding-top: 22%;
  }

}

@media only screen and (min-width: 1200px){
  .selectanniclasse {
    display: none;
  }
  .btn {
    padding: 0 1rem;
    min-width: 100px;
  }

  .lista_viaggi {
    height: 385px;
    overflow-y: scroll !important;
  }

  .div_lista_viaggi {
    height: 400px;
  }

  .box_alleg {
    border: 1px solid #e5e5e5;
    background: #f4f4f4;
    margin-left: 5px;
    margin-right: 5px;
    height: 150px;
    width: 230px;
  }

  .box_alleg .material-placeholder {
    padding-left: 16%;
  }

  .img{
    width: 155px;
  }

  .file_alleg {
    height: 99px;
    font-size: 25px;
    padding-top: 20%;
  }

}

@media only screen and (min-width: 1330px){

  .file_alleg {
    height: 118px;
    font-size: 25px;
    padding-top: 20%;
  }

}

@media only screen and (max-width: 1599px) {

  .hide-on-large-and-down {
    display: none !important;
  }

  #vers-table .border-on-large-and-down {
    border-right: 2px solid #d8d8d8;
  }

  .modale_pers {
    height: 85%;
    width: 85%;
    max-height: 85%;
  }

  .box_alleg {
    border: 1px solid #e5e5e5;
    background: #f4f4f4;
    margin-left: 5px;
    margin-right: 5px;
    height: 150px;
    width: 230px;
  }

  .box_alleg .material-placeholder {
    padding-left: 16%;
  }

  .img{
    width: 155px;
  }

}

@media only screen and (min-width: 1600px) {
  .row .col.xxl12 {
      width: 100%;
      margin-left: auto;
      left: auto;
      right: auto;
  }

  .row .col.xxl6 {
      width: 50%;
      margin-left: auto;
      left: auto;
      right: auto;
  }

  .box_alleg {
    border: 1px solid #e5e5e5;
    background: #f4f4f4;
    margin-left: 5px;
    margin-right: 5px;
    height: 150px;
    width: 230px;
  }

  .box_alleg .material-placeholder {
    padding-left: 16%;
  }

  .img{
    width: 155px;
  }

  .file_alleg {
    height: 160px;
    font-size: 30px;
    padding-top: 22%;
  }
}

@media only screen and (min-width: 1900px) {

  .file_alleg {
    height: 176px;
    font-size: 30px;
    padding-top: 22%;
  }
}

.ui-autocomplete-loading, input[type=text]:not(.browser-default).ui-autocomplete-loading, .ui-autocomplete-loading + label{
  -webkit-animation-name: autocomplete_load; /* Safari 4.0 - 8.0 */
  -webkit-animation-duration: 1s; /* Safari 4.0 - 8.0 */
  animation-name: autocomplete_load;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes autocomplete_load {
  from {border-color: var(--primary) !important; color: var(--primary); }
  to {border-color: green !important; color: green; }
}

/* Standard syntax */
@keyframes autocomplete_load {
  from {border-color: var(--primary) !important; color: var(--primary);}
  to {border-color: green !important; color: green;}
}

.btn-floating i {
    width: inherit;
    display: inline-block;
    text-align: center;
    color: #fff;
    font-size: 1.6rem;
    line-height: 40px;
}

.btn_chiusura {
  width: 25px;
  height: 25px;
  text-align: center;
  color: white;
  background-color: red !important;
  border-radius: 50%;
  font-size: 11px;
  padding-top: 5px;
  font-weight: bold;
}

div[j='dettaglio_fascia'].chiusa {
  background-color: grey;
}

div[j='dettaglio_fascia'].scaduta {
  background-color: grey;
}

span.badge.circle_count {
  min-width: 2rem!important;
  border-radius: 50%!important;
  min-height: 2rem!important;
  line-height: 29px!important;
  color: black!important;
  font-size: 13px!important;
  font-weight: 500!important;
  position: absolute;
  right: 10px;
}

.center-elements {
  display: flex;
  justify-content: center;
  align-items: center;
}

#sync_google, #sync_apple, #sync_outlook, #sync_url {
  display: block;
  line-height: 100%;
  background: #fff;
  text-decoration: none;
  cursor: pointer;
  font-size: 35px;
  color: #333;
  font-weight: 600;
  padding: 5px 10px 5px 55px;
  -webkit-transition: background-color .3s;
  transition: background-color .3s;
  background-size: 32px 62% !important;
  cursor: pointer;
}

#sync_google:hover, #sync_apple:hover, #sync_outlook:hover, #sync_url:hover {
    background-color: rgba(0, 0, 0, 0.04) !important;
}

#sync-icalendar a {
  color: rgba(0,0,0,0.8);
  font-size: 1rem;
  font-weight: 500;
}

#sync-icalendar #sync_google {
  background: url(../img/sync_google.png) 8px 50% no-repeat;
}

#sync-icalendar #sync_apple {
  background: url(../img/sync_apple.png) 8px 50% no-repeat;
}

#sync-icalendar #sync_outlook {
  background: url(../img/sync_outlook.png) 8px 50% no-repeat;
}

#sync-icalendar #sync_url {
  background: url(../img/sync_url.png) 8px 50% no-repeat;
}
