﻿/* ************************** */
/* *** OVERLOAD STILI KUI *** */
/* ************************** */

.k-button-flat-primary {
    color: #256EB3;
}

.k-overlay {
    opacity: 0.75 !important;
}

.k-searchbox,
.k-searchbox:hover,
.k-searchbox:focus,
.k-searchbox:focus-within {
    box-shadow: none;
    font-family: "Inter-Regular";
    color: black;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid black;
}

/* *************** */
/* *** TEXTBOX *** */
/* *************** */

/* rimozione bordi/hover e ombre */
.k-textbox,
.k-textbox:focus,
.k-textbox:focus-within {
    border-style: none;
    box-shadow: none;
    height: 40px;
    font-family: "Inter-Regular";
}

.k-textbox > input {
    font-size: 14px;
    color: black;
    font-weight: 400;
    padding: 0 12px !important;
}

.k-textbox > input::placeholder {
    color: black;
}

.k-textbox.k-disabled {
    background-color: #A1A1A1;
    color: white;
    opacity: 1;
}

.k-textbox + .eye-icon {
    width: 24px;
    height: 24px;
    color: grey;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-image: url(/images/eye_000000.svg);
    background-repeat: no-repeat;
    background-size: 24px 24px;
}

.k-textbox + .eye-icon.slashed {
    background-image: url(/images/eye-not_000000.svg);
}


/* *********************** */
/* *** NUMERIC TEXTBOX *** */
/* *********************** */

/* rimozione bordi/hover e ombre */
.k-numerictextbox,
.k-numerictextbox:focus,
.k-numerictextbox:focus-within {
    border-style: none;
    box-shadow: none;
    height: 40px;
    font-family: "Inter-Regular";
}

.k-numerictextbox > input {
    font-size: 14px;
    color: black;
    font-weight: 400;
    padding: 0 12px !important;
}

.k-numerictextbox > input::placeholder {
    color: black;
}

/* ****************** */
/* *** DATEPICKER *** */
/* ****************** */

/* rimozione bordi/hover e ombre */
.k-datepicker, .k-datetimepicker,
.k-datepicker:focus, .k-datetimepicker:focus,
.k-datepicker:focus-within, .k-datetimepicker:focus-within {
    border-style: none;
    box-shadow: none;
    color: black;
    height: 40px; /* +2 bordo = 42 */
    font-family: "Inter-Regular";
}

.k-datepicker .k-input-button, .k-datetimepicker .k-input-button {
    background-color: white;
    border: none;
}

.k-datepicker .k-input-inner, .k-datetimepicker .k-input-inner {
    width: calc(100% - 30px);
}

/* se il controllo è in sola lettura, nascondo l'icona */
.k-datepicker > input[aria-readonly="true"] ~ button.k-button, .k-datetimepicker > input[aria-readonly="true"] ~ button.k-button {
    display: none;
}

/* giorno selezionato */
.k-calendar .k-calendar-td.k-selected .k-link {
    background-color: #F3FBFE;
    color: #256EB3;
}

/* hover giorno selezionato */
.k-calendar .k-calendar-td.k-selected:hover .k-link {
    background-color: #F3FBFE;
    color: #256EB3;
}

/* hover altro giorno */
.k-calendar .k-calendar-td:hover .k-link {
    background-color: #F3FBFE;
}

/* oggi */
.k-calendar .k-calendar-view .k-today {
    color: #256EB3;
}

.k-datepicker.readonly .datepicker-clear-icon {
    display: none;
}
/* ****************** */
/* *** TIMEPICKER *** */
/* ****************** */
.k-timepicker,
.k-timepicker:focus,
.k-timepicker:focus-within {
    border-style: none;
    box-shadow: none;
    color: black;
    height: 40px; /* +2 bordo = 42 */
    font-family: "Inter-Regular";
}


/* elementi della lista */
[id$="_timeview"] .k-list-item {
    padding: 10px !important;
    margin: 5px 0;
    height: 10px;
    color: black;
    font-family: "Inter-Regular";
    font-size: 14px;
    box-shadow: none;
    box-sizing: content-box;
}

/* hover */
[id$="_timeview"] .k-list-item:hover {
    background-color: #F3FBFE;
}

/* selezionato */
[id$="_timeview"] .k-list-item.k-selected {
    background-color: #F3FBFE;
    color: #256EB3;
}

/* ***************** */
/* *** COMBO BOX *** */
/* ***************** */

/* rimozione bordi/hover e ombre */

.k-combobox {
    height: 40px; /* +2 bordo = 42 */
}

.k-combobox,
.k-combobox:focus,
.k-combobox:focus-within,
.k-combobox.k-focus,
.k-combobox:hover {
    border-style: none;
    box-shadow: none;
    background-color: white;
    color: black;
}

/* bottone popup */
.k-combobox .k-button {
    background-color: white;
    border: none;
}

/* testo */
.k-combobox input.k-input-inner {
    font-family: "Inter-Regular";
    font-size: 14px;
    font-weight: 400;
}

/* se il controllo è in sola lettura, nascondo l'icona */
.k-combobox input.k-input-inner[aria-readonly="true"] + button > span.k-button-icon {
    display: none;
}

/* ***************** */
/* *** MULTISELECT *** */
/* ***************** */

/* rimozione bordi/hover e ombre */

.k-multiselect {
    height: 40px; /* +2 bordo = 42 */
    padding: 5px;
}

.k-multiselect,
.k-multiselect:focus,
.k-multiselect:focus-within,
.k-multiselect.k-focus,
.k-multiselect:hover {
    border-style: none;
    box-shadow: none;
    background-color: white;
    color: black;
}

/* variante blu */

.k-multiselect.blue,
.k-multiselect.blue:focus,
.k-multiselect.blue:focus-within,
.k-multiselect.blue.k-focus,
.k-multiselect.blue:hover {
    background-color: #256EB3;
    color: white;
    height: 42px;
}

/* valore selezionato */
.k-multiselect .k-input-value-text {
    font-family: "Inter-Regular";
}

/* se il controllo è in sola lettura, nascondo l'icona */
.k-multiselect[aria-readonly="true"] button.k-button span.k-icon {
    display: none;
}

/* se il controllo è disabilitato, imposto il cursore di default */
.k-multiselect[aria-readonly="true"] {
    cursor: default;
}

.k-multiselect[aria-readonly="true"] button.k-button {
    cursor: default;
}

/* disabilitata */
.k-multiselect.k-disabled {
    background-color: #A1A1A1;
    color: white;
    opacity: 1;
}

.k-multiselect-popup .k-list-item-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.k-multiselect-popup .k-list-item.k-selected {
    background-color: #256EB3;
}

.k-multiselect-popup .k-list-item:hover {
    background-color: #256EB3e0;
}

.k-multiselect .k-input-values .k-chip {
    background: #E1ECF2;
}

.k-multiselect .k-input-values .k-chip-content {
    font-family: "Inter-Regular";
    font-size: 14px;
    color: #333333;
}

.k-multiselect.k-no-click select[data-role="multiselect"] ~ .k-clear-value,
.k-multiselect.k-no-click .k-input-values .k-chip-action.k-chip-remove-action,
.k-multiselect .k-input-values .k-chip-action.k-chip-remove-action svg {
    display: none;
}

.k-multiselect select[data-role="multiselect"] ~ .k-clear-value,
.k-multiselect .k-input-values .k-chip-action.k-chip-remove-action {
    display: revert;
}

.k-multiselect .k-input-values .k-chip-action.k-chip-remove-action {
    background-image: url(/images/close_000000.svg);
    background-repeat: no-repeat;
    background-size: 12px 12px;
    background-position: 5px;
}

/* **************************** */
/* *** popup lista elementi *** */
/* **************************** */

/* popup */
.k-combobox-popup {
    background-color: white;
    padding: 5px 0;
    border-radius: 5px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
    border: none;
}

/* elementi della lista */
.k-combobox-popup .k-list-item {
    padding: 10px;
    margin: 5px 0;
    height: 10px;
    color: black;
    font-family: "Inter-Regular";
    font-size: 14px;
    box-shadow: none;
    box-sizing: content-box;
}

/* hover */
.k-combobox-popup .k-list-item:hover {
    background-color: #F3FBFE;
}

/* selezionato */
.k-combobox-popup .k-list-item.k-selected {
    background-color: #F3FBFE;
    color: #256EB3;
}

/* lista vuota */
.k-combobox-popup .k-no-data {
    font-family: "Inter-Regular";
    font-size: 14px;
    color: black;
}

/* ***************** */
/* *** DROP DOWN *** */
/* ***************** */

/* rimozione bordi/hover e ombre */

.k-dropdownlist {
    height: 40px; /* +2 bordo = 42 */
}

.k-dropdownlist,
.k-dropdownlist:focus,
.k-dropdownlist:focus-within,
.k-dropdownlist.k-focus,
.k-dropdownlist:hover {
    border-style: none;
    box-shadow: none;
    background-color: white;
    color: black;
}

/* variante blu */

.k-dropdownlist.blue,
.k-dropdownlist.blue:focus,
.k-dropdownlist.blue:focus-within,
.k-dropdownlist.blue.k-focus,
.k-dropdownlist.blue:hover {
    background-color: #256EB3;
    color: white;
    height: 42px;
}

/* valore selezionato */
.k-dropdownlist .k-input-value-text {
    font-family: "Inter-Regular";
}

/* se il controllo è in sola lettura, nascondo l'icona */
.k-dropdownlist[aria-readonly="true"] button.k-button span.k-icon {
    display: none;
}

/* se il controllo è disabilitato, imposto il cursore di default */
.k-dropdownlist[aria-readonly="true"] {
    cursor: default;
}

.k-dropdownlist[aria-readonly="true"] button.k-button {
    cursor: default;
}

/* disabilitata */
.k-dropdownlist.k-disabled {
    background-color: #A1A1A1;
    color: white;
    opacity: 1;
}

.k-dropdownlist-popup .k-list-item-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ***************** */
/* *** MULTISELECT *** */
/* ***************** */

/* rimozione bordi/hover e ombre */

.k-multiselect {
    height: 40px; /* +2 bordo = 42 */
    padding: 5px;
}

.k-multiselect,
.k-multiselect:focus,
.k-multiselect:focus-within,
.k-multiselect.k-focus,
.k-multiselect:hover {
    border-style: none;
    box-shadow: none;
    background-color: white;
    color: black;
}

/* variante blu */

.k-multiselect.blue,
.k-multiselect.blue:focus,
.k-multiselect.blue:focus-within,
.k-multiselect.blue.k-focus,
.k-multiselect.blue:hover {
    background-color: #256EB3;
    color: white;
    height: 42px;
}

/* valore selezionato */
.k-multiselect .k-input-value-text {
    font-family: "Inter-Regular";
}

/* se il controllo è in sola lettura, nascondo l'icona */
.k-multiselect[aria-readonly="true"] button.k-button span.k-icon {
    display: none;
}

/* se il controllo è disabilitato, imposto il cursore di default */
.k-multiselect[aria-readonly="true"] {
    cursor: default;
}

.k-multiselect[aria-readonly="true"] button.k-button {
    cursor: default;
}

/* disabilitata */
.k-multiselect.k-disabled {
    background-color: #A1A1A1;
    color: white;
    opacity: 1;
}

.k-multiselect-popup .k-list-item-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.k-multiselect-popup .k-list-item.k-selected {
    background-color: #256EB3;
}

.k-multiselect-popup .k-list-item:hover {
    background-color: #256EB3e0;
}

.k-multiselect .k-input-values .k-chip {
    background: #E1ECF2;
}

.k-multiselect .k-input-values .k-chip-content {
    font-family: "Inter-Regular";
    font-size: 14px;
    color: #333333;
}

.k-multiselect.k-no-click select[data-role="multiselect"] ~ .k-clear-value,
.k-multiselect.k-no-click .k-input-values .k-chip-action.k-chip-remove-action,
.k-multiselect .k-input-values .k-chip-action.k-chip-remove-action svg {
    display: none;
}

.k-multiselect select[data-role="multiselect"] ~ .k-clear-value,
.k-multiselect .k-input-values .k-chip-action.k-chip-remove-action {
    display: revert;
}

.k-multiselect .k-input-values .k-chip-action.k-chip-remove-action {
    background-image: url(/images/close_000000.svg);
    background-repeat: no-repeat;
    background-size: 12px 12px;
    background-position: 5px;
}

/* **************************** */
/* *** popup lista elementi *** */
/* **************************** */
/* popup */
.k-dropdownlist-popup, .k-multiselect-popup {
    background-color: white;
    padding: 5px 0;
    border-radius: 5px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
    border: none;
}

/* elementi della lista */
.k-dropdownlist-popup .k-list-item, .k-multiselect-popup .k-list-item {
    padding: 10px;
    margin: 5px 0;
    height: 10px;
    color: black;
    font-family: "Inter-Regular";
    font-size: 14px;
    box-shadow: none;
    box-sizing: content-box;
}

/* hover */
.k-dropdownlist-popup .k-list-item:hover, .k-multiselect-popup .k-list-item:hover {
    background-color: #F3FBFE;
}

/* selezionato */
.k-dropdownlist-popup .k-list-item.k-selected, .k-multiselect-popup .k-list-item.k-selected {
    background-color: #F3FBFE;
    color: #256EB3;
}

/* lista vuota */
.k-dropdownlist-popup .k-no-data, .k-multiselect-popup .k-no-data {
    font-family: "Inter-Regular";
    font-size: 14px;
    color: black;
}

/* ************** */
/* *** DIALOG *** */
/* ************** */

.k-window.modale {
    border-radius: 10px;
    overflow: hidden;
}

/* nascondo la barra del titolo */
.k-window .k-window-titlebar {
    display: none;
}

/* azzero il padding al contenuto del dialog */
.k-window .k-window-content {
    padding: 0;
    background-color: #E1ECF2;
}

/* modalità "light" */

.k-window.light {
    border-radius: 10px;
    overflow: hidden;
    color: black;
}

.k-window.light .k-window-content {
    background-color: #FFFFFF;
}

/* ******************** */
/* *** CONTEXT MENU *** */
/* ******************** */
.k-popup {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
}

.k-menu {
    padding: 10px 0;
}

.k-menu .k-menu-item {
    margin: 5px 0;
}

.k-menu.k-context-menu .k-item > .k-link:hover {
    background-color: #E1ECF2
}

.k-menu.k-context-menu .k-item > .k-link:active {
    background-color: white;
}

.k-menu.k-context-menu .k-item > .k-link,
.k-menu.k-context-menu .k-item:focus > .k-link {
    box-shadow: none !important;
    height: 30px;
    line-height: 30px;
}

.k-menu .k-menu-item .k-menu-link-text {
    color: black;
    font-family: "Inter-Regular";
    font-size: 14px;
    font-weight: 400;
}

/* ***************** */
/* *** SCHEDULER *** */
/* ***************** */

.k-scheduler {
    font-family: "Inter-Regular";
}

.k-scheduler .k-event {
    background-color: #256EB3;
    font-size: 12px;
}

.k-scheduler .k-scheduler-views .k-button.k-selected {
    background-color: #256EB3;
    border-color: #256EB3;
}

/* *************** */
/* *** GRIGLIA *** */
/* *************** */

/* loading*/
.k-loading-mask {
    display: none;
}

.k-grid {
    font-family: "Inter-Regular";
}

/* separazione righe */
.k-grid-table {
    border-collapse: separate !important;
    border-spacing: 0 2px !important; /* 2025-01-24: 5px */
}

.k-grid-header {
    padding-right: 0 !important;
}

/* colore cella */
.k-grid .k-table,
.k-table-thead,
.k-grouping-header {
    color: black;
    height: auto !important;
}

/* eliminazione sfondo */
.k-grid,
.k-grid .k-grid-content {
    background-color: transparent;
    border: none;
}

.k-grid-container {
    /*    padding-right: 10px;*/
}

.k-grid .k-grid-content {
    overflow-y: auto !important;
}

.k-grid .k-table-td {
    border-right: none;
    font-variant-numeric: tabular-nums lining-nums; /* rende il font a spaziatura fissa */
    height: 26px; /* altezza complessiva = 42 (28 altezza + 8 margin top + 8 margin bottom)  */
}

.k-grid .k-table-row {
    background-color: white;
}

/* rimozione righe alternate */
.k-grid .k-table-row.k-table-alt-row {
    background-color: white;
}

/* hover riga */
.k-grid .k-table-tbody > .k-table-row:not(.k-detail-row):hover {
    background-color: rgba(0, 0, 0, 0);
}

/* riga selezionata */
.k-grid .k-table-row.k-selected > .k-table-td, .k-grid .k-grid-content-locked .k-selected:hover .k-table-td, .k-grid .k-grid-content-locked .k-selected.k-table-alt-row td, .k-grid .k-grid-content-locked .k-selected.k-table-alt-row .k-table-td {
    background-color: #F3FbFe;
    color: #256EB3;
}

/* intestazioni di colonna */
.k-grid .k-table-thead th.k-header .k-cell-inner {
    /*display: inline-flex !important; */ /* permette l'allineamento dell'intestazione di colonna */
    font-family: "TitiliumWeb-Light";
    font-weight: 600;
    font-size: 16px;
}

.k-grid .k-header {
    background-color: #F3FBFE;
    height: 26px; /* altezza complessiva = 42 (26 altezza + 8 margin top + 8 margin bottom)  */
    vertical-align: middle !important;
}

.k-grid .k-table-thead {
    background-color: #E7F0F5;
}

/* raggruppamento */
.k-grid .k-grouping-header {
    background-color: #E7F0F5;
    font-size: 12px;
    border: none;
    height: 42px !important;
    padding-block: unset;
}

/* icona destinazione raggruppamento */
.k-grid .k-grouping-header .k-grouping-dropclue {
    margin: 2px 0 0 0;
}

/* colonne raggruppate */
.k-grid .k-grouping-header .k-chip-solid-base {
    background-color: #256EB3;
    color: white;
    height: 18px; /* 28px altezza totale (5px padding top + 5 px padding bottom)*/
}

/* icona di ordinamento */
.k-grid .k-grid-header .k-sort-icon {
    color: black;
}

/* numero ordinamento */
.k-grid .k-grid-header .k-sort-order {
    color: black;
    height: 15px;
    line-height: 15px;
    font-size: 14px;
    font-family: "Inter-Regular";
    font-weight: 300;
}

.k-grid .k-grid-footer {
    margin: 4px 0 0 0;
}

.k-grid-footer .k-table-td {
    font-family: "TitiliumWeb-Light";
    font-weight: 600;
    font-size: 16px;
    color: black;
}

/* formattazione condizionale */

.k-grid .k-table-row.disabled-row {
    color: #A1A1A1;
    opacity: 0.8;
}

/* check */

.k-grid .checkbox-cell {
    text-align: center;
}

.k-grid .checkbox-cell .row-checkbox {
    width: 16px;
    height: 16px;
}

/* trascinamento colonna */
.k-drag-clue {
    background-color: #F3FBFE;
    height: 42px;
    vertical-align: middle !important;
    font-family: "TitiliumWeb-Light";
    font-weight: 600;
    font-size: 16px;
    color: black;
}

/* limite colonne bloccate */
.k-grid .k-grid-content-locked {
    border-color: transparent;
}

.k-grid .k-grid-header-locked {
    border-color: #E1ECF2;
}

/* celle bloccate (sticky) */

.k-grid-header-sticky.k-table-th.k-header {
    border-color: #F3FBFE;
}

.k-grid-header .k-table-th.k-grid-header-sticky {
    background-color: #F3FBFE;
}

.k-grid .k-master-row.k-table-alt-row td.k-grid-content-sticky, .k-grid .k-master-row.k-table-alt-row .k-table-td.k-grid-content-sticky {
    background-color: white;
}

/* sticky: hover */
.k-grid .k-master-row.k-table-row:hover .k-grid-content-sticky {
    background-color: rgba(0, 0, 0, 0);
}

/* sticky: selezionata */
.k-grid .k-master-row.k-table-row.k-selected td.k-grid-content-sticky::before {
    background-color: #F3FbFe;
}

.k-grid .cel-dettaglio {
    width: 26px;
    height: 26px;
    cursor: pointer;
    border-radius: 5px;
    background-image: url(/images/chevron-right_256EB3.svg);
    background-repeat: no-repeat;
    background-position: 7px 7px;
    background-size: 12px 12px;
}

.k-grid .k-table-row:hover .cel-dettaglio, .k-grid .k-table-row.hover .cel-dettaglio {
    background-color: #256EB3;
    background-image: url(/images/chevron-right.svg);
}

/* ************** */
/* *** FILTRI *** */
/* ************** */

/* nascondo il menù di eliminazione filtri */
span.k-filtercell .k-filtercell-operator {
    display: none !important;
}

.k-filtercell .k-dropdownlist {
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 32px;
    border-radius: 5px;
}

.k-filtercell .k-numerictextbox {
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 32px;
    border-radius: 5px;
}

.k-filtercell .k-autocomplete.k-input.k-hover {
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.k-filtercell .k-autocomplete.k-input.k-focus {
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: none;
}

.k-filtercell .k-datepicker {
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 32px;
    border-radius: 5px;
}

/* ************** */
/* *** EDITOR *** */
/* ************** */

.k-editor {
    border: none;
}

.k-editor.readonly .k-editor-toolbar {
    display: none
}

.k-editor .k-editor-toolbar .k-button-solid-base.k-selected {
    border-color: #256EB3;
    color: white;
    background-color: #256EB3;
}

/* *************** */
/* *** CHECKBOX *** */
/* *************** */
.k-checkbox {
    width: 25px;
    height: 25px;
    border-color: black;
    background-color: white;
}

.k-checkbox:checked, .k-checkbox.k-checked {
    border-color: #256EB3;
    color: white;
    background-color: #256EB3;
}

.k-checkbox:disabled, .k-checkbox.k-disabled {
    outline: none;
    cursor: default;
    opacity: unset;
    filter: unset;
    pointer-events: none;
    box-shadow: none;
}

.k-checkbox:checked:focus, .k-checkbox.k-checked.k-focus {
    box-shadow: none;
}
