.input-hidden {
  position: absolute;
  left: -9999px;
}

input[type=radio]:checked+label>img {
  border: 1px solid #fff;
  box-shadow: 0 0 2px 2px var(--base-color);
}

/* Stuff after this is only to make things more pretty */
input[type=radio]+label>img {
  transition: 200ms all;
}

input[type=radio]:checked+label>img {
  transform:
    scale(1.5, 1.5);
}

#dlgProfilo {
  min-width: 100%;
  margin: 10px;
}

#dlgProfilo .modal-content {
  min-height: 95vh;
  background-color: #EEEEEE;
}

#dlgProfilo .modal-dialog {
  min-width: 100%;
  margin: 0;
}

#infop .modal-dialog {
  min-width: 95%;
  margin: 0;
}


#dlgProfilo a.nav-item.nav-link.active:after {
  visibility: hidden;
}

#nav-tab a {
  padding: 5px 50px 5px 10px;
  ;
}

#tabProfInt .nav-link.active {
  color: var(--base-color);
}

#tabProfInt .nav-item {
  height: 25px;
}

#tabProfInt .nav-link {
  border: 0px;
}

#tabProfInt a {
  color: #495057;
  padding: 0 1rem;
}

.tavoliTimeLine {
  cursor: pointer;
}

/* Hide scrollbar for Chrome, Safari and Opera */
#tavoliTimeLine::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
#tavoliTimeLine {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
#orariTimeLine::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
#orariTimeLine {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.orariTimeLine {
  position: relative;
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
}

.orarioTimeLine {
  display: inline-block;
  background: #CCCCCC;
  height: 36px;
  width: 36px;
  margin: 1px;

}

.circle-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #EEEEEE;
  /* Colore primario */
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px black solid;
  transition: background-color 0.2s ease;
  opacity: 0.8;
}


.fab-bottom-right {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 9999;
}

#defTab .ui-widget-header {
  border-width: 0px;
}

.tabLabel {
  font-size: small;
  color: black;
  font-weight: 500;
}

.aTab {
  text-align: center;
}

.liTab {
  height: 75px;
}

.imgTab {
  width: 38px;
  padding: 5px;
  min-height: 42px;
}

.ui-tabview .ui-tabview-nav li.ui-tabview-selected a {
  background-color: #FCFFC8;
}

.btn-toolbar {
  border-color: #AAAAAA !important;
}

.badge {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(8px, 2vw, 16px) !important;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  text-align: center;
}

/* Nascondi SEMPRE la select nativa quando il plugin è attivo */
#mobileTabSelect[data-msid] {
  display: none !important;
}

#divArrivate .btn-group.btn-group-sm {
  padding: 5px;
  border: 1px solid #dddddd;
}

.vertical-menu.active {
  background-color: white !important;
  color: black !important;
}

.vertical-menu:hover {
  background-color: white !important;
  color: black !important;
}

.titReport {
  font-weight: bold;
  padding: 5px;
  margin: 5px 5px 8px 5px;
  background-color: #444444;
  color: white;
  border-radius: 5px;
  width: calc(100% - 10px);
  box-sizing: border-box;
  text-align: center;
}

.iconReport {
  padding-right: 8px;
  font-size: large;
}

.iconReportContainer {
  min-width: 24px;
  display: inline-block;
}

.chkAndOr {
  height: 40px;
  font-size: large !important;
}

.bootstrap-tagsinput {
  min-width: 150px;
}

/* ——— RIGA ORDINATA ——— */
.context-section .row {
  align-items: center;
  /* allineamento verticale */
  margin: 0;
  /* tolgo margini BS su .row se servisse */
}

/* blocchi in fila con respiro */
.context-section .col-auto {
  display: inline-flex;
  align-items: center;
  margin-right: 18px;
  /* spazio tra gruppi */
}

/* ——— CHECKBOX + LABEL ——— */
.context-section input[type="checkbox"] {
  margin: 0 8px 0 0;
  /* spazio tra box e testo */
  vertical-align: middle;
}

.context-section label {
  margin: 0;
  /* niente margine extra */
  color: #555;
  /* testo meno scuro del #333 di BS3 */
  font-weight: 600;
  line-height: 1.2;
}

/* ——— INPUT GROUP ——— */
.context-section .input-group {
  margin: 0;
  /* niente margine extra */
  width: auto;
  /* evita che prenda tutta la riga */
}

.context-section .input-group-addon {
  border-color: #ddd;
  color: #666;
  /* testo più soft */
  font-weight: 500;
  margin-left: 5px;
  margin-right: 5px;
  padding: 2px;
  line-height: 30px;
}

/* campi numerici compatti e leggibili */
.context-section .form-control {
  width: 64px !important;
  /* larghezza fissa per numeri */
  text-align: center;
  font-weight: 700;
  padding: 4px 6px;
  height: 30px;
  /* allinea l’altezza con gli addon */
  line-height: 30px;
  border-radius: 5px !important;
}

/* micro-spazio tra parole "unità" (se usi span fuori dall'addon) */
.context-section .unit {
  margin-left: 6px;
  color: #777;
}

/* fallback se il browser non supporta flex gap */
.context-section .row>.col-auto:last-child {
  margin-right: 0;
}

.input.repeat-automatismi {
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  ;
}

.accordion-automatismi {
  margin-left: 0px!important;
  margin-right: 0px!important;
  padding: 0px!important;
}

