
.scroll-y {
    overflow-y: scroll !important;
}

.btn-note-rilascio {
    position: relative;
    overflow: visible;
}

.btn-note-rilascio .badge {
    position: absolute;
    top: 0px;
    right: 8px;
    /* padding: 5px 10px; */
    border-radius: 50%;
    background: rgb(var(--secondary-color));
    color: rgb(var(--secondary-color-text));
    /* color: white; */
    width: 8px;
    height: 8px;
}

.bottom-line {
    box-sizing: border-box;
    border-bottom: 1px solid rgb(var(--border-color)) !important;
}

.misura-detrazione {
	color: rgb(var(--secondary-color-dark));
}

.misura-parziale {
    color: rgb(var(--primary-color-dark));
    font-style: italic;
    /* background-color: rgb(238,238,238) !important; */
}

.misura-riferimento {
	color: rgb(var(--neutral-text));
    font-style: italic;
}

/* Caso 28859: Articoli padre riportati in grassetto */
.table-epu .slick-row.P {
	font-weight:600;
}

/* Linea evidenziata nella tabella Accordi quadro */
/* NON USATO, abbiamo preferito il BOLD
.table-acq .slick-row.highlighted {
    font-style: italic;
} */
/* Linea in grassetto nella tabella Accordi quadro */
.table-acq .slick-row.bolded {
    font-weight: bold;
}




/* Centra l'icona alla label, il testo dovrebbe essere solo un style(kEscBmp,...)*/
.icon-label > label {
	display: flex !important;
}

/* Attiva l'overflow ellipsis per gli elementi di tipo label */
.label-ellipsis > label, .lbl-ellipsis > label {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

/* Attiva la possibilità dello scroll nell'elemento label */
.lbl-scroll {
    overflow: hidden !important;
    overflow-y: auto !important;
}
.lbl-scroll > label {
    overflow-y: auto;
}

/* Splitbutton con solo icona */
.icon-split-button > .ctrl-sb-mainbtn{
	align-items: center !important;
	justify-content: center !important;
	padding: 0px !important;
}

.icon-split-button > .ctrl-sb-dropdownbtn {
	min-width: 24px !important;
}

/*
    Checkbox: la checkbox di default è 12x12 e risulta un po' piccola
*/

.mx-checkbox-24 .omnis-checkbox__box-outline {
    left: 4px !important;
    top: 4px !important;
    width: 16px !important;
    height: 16px !important;
}
.mx-checkbox-24 .omnis-checkbox__tick-outline {
    left: 4px !important;
    top: 4px !important;
    width: 16px !important;
    height: 16px !important;
}

/* 
    Popup menu: 
    - dare al popup button la classe .mx-popupmenu, Omnis 10.22 in automatico assenga .mx-popupmenu-opened-menu
      alla tabella con le voci del menu
    - il selettore "~" serve per applicare lo stesso stile anche agli eventuali sotto menu
    2023.09.13 GM
*/
.mx-popupmenu-opened-menu.omnis-menu-main {
    background-color: rgb(var(--background-color));
}

.mx-popupmenu-opened-menu.omnis-menu-table {
    background-color: rgb(var(--background-color));
}

.mx-popupmenu-opened-menu.omnis-menu-main tr:not(.omnis-menu-row_hilite) {
    background-color: rgb(var(--background-color));
}

.mx-popupmenu-opened-menu ~ .omnis-menu-main {
    background-color: rgb(var(--background-color));
}

.mx-popupmenu-opened-menu ~ .omnis-menu-table {
    background-color: rgb(var(--background-color));
}

.mx-popupmenu-opened-menu ~ .omnis-menu-main tr:not(.omnis-menu-row_hilite) {
    background-color: rgb(var(--background-color));
}



.tab-no-current .omnis-tabs__indicator {
	display: none !important;
}

.tab-pill li{
    border-radius: 9999px !important;
    overflow: hidden !important;
}


.border-bottom {
	border-bottom: 1px solid rgb(var(--border-color))
}

.login-entry-sistema {
    font-family: encode_sans_normalregular !important;
    font-size:24px !important;
   }
.login-pulsante-dropdown{
    border: none !important;
    background-color: #5390FF !important;
    border-radius: 1px !important;
    color: white !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    display: inline-block !important;
    vertical-align: middle !important;
    font-family: encode_sans_normalregular !important;
    font-size: 14px !important;
}

.login-background-image {
    background-image:url(../images/backgroundlogin.jpg) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


.login-background-css {
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cdefs%3E%3Crect stroke='%23ffffff' stroke-width='0.3' width='1' height='1' id='s'/%3E%3Cpattern id='a' width='3' height='3' patternUnits='userSpaceOnUse' patternTransform='scale(28.35) translate(-964.73 -723.54)'%3E%3Cuse fill='%23fcfcfc' href='%23s' y='2'/%3E%3Cuse fill='%23fcfcfc' href='%23s' x='1' y='2'/%3E%3Cuse fill='%23fafafa' href='%23s' x='2' y='2'/%3E%3Cuse fill='%23fafafa' href='%23s'/%3E%3Cuse fill='%23f7f7f7' href='%23s' x='2'/%3E%3Cuse fill='%23f7f7f7' href='%23s' x='1' y='1'/%3E%3C/pattern%3E%3Cpattern id='b' width='7' height='11' patternUnits='userSpaceOnUse' patternTransform='scale(28.35) translate(-964.73 -723.54)'%3E%3Cg fill='%23f5f5f5'%3E%3Cuse href='%23s'/%3E%3Cuse href='%23s' y='5' /%3E%3Cuse href='%23s' x='1' y='10'/%3E%3Cuse href='%23s' x='2' y='1'/%3E%3Cuse href='%23s' x='2' y='4'/%3E%3Cuse href='%23s' x='3' y='8'/%3E%3Cuse href='%23s' x='4' y='3'/%3E%3Cuse href='%23s' x='4' y='7'/%3E%3Cuse href='%23s' x='5' y='2'/%3E%3Cuse href='%23s' x='5' y='6'/%3E%3Cuse href='%23s' x='6' y='9'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='h' width='5' height='13' patternUnits='userSpaceOnUse' patternTransform='scale(28.35) translate(-964.73 -723.54)'%3E%3Cg fill='%23f5f5f5'%3E%3Cuse href='%23s' y='5'/%3E%3Cuse href='%23s' y='8'/%3E%3Cuse href='%23s' x='1' y='1'/%3E%3Cuse href='%23s' x='1' y='9'/%3E%3Cuse href='%23s' x='1' y='12'/%3E%3Cuse href='%23s' x='2'/%3E%3Cuse href='%23s' x='2' y='4'/%3E%3Cuse href='%23s' x='3' y='2'/%3E%3Cuse href='%23s' x='3' y='6'/%3E%3Cuse href='%23s' x='3' y='11'/%3E%3Cuse href='%23s' x='4' y='3'/%3E%3Cuse href='%23s' x='4' y='7'/%3E%3Cuse href='%23s' x='4' y='10'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='c' width='17' height='13' patternUnits='userSpaceOnUse' patternTransform='scale(28.35) translate(-964.73 -723.54)'%3E%3Cg fill='%23f2f2f2'%3E%3Cuse href='%23s' y='11'/%3E%3Cuse href='%23s' x='2' y='9'/%3E%3Cuse href='%23s' x='5' y='12'/%3E%3Cuse href='%23s' x='9' y='4'/%3E%3Cuse href='%23s' x='12' y='1'/%3E%3Cuse href='%23s' x='16' y='6'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='d' width='19' height='17' patternUnits='userSpaceOnUse' patternTransform='scale(28.35) translate(-964.73 -723.54)'%3E%3Cg fill='%23ffffff'%3E%3Cuse href='%23s' y='9'/%3E%3Cuse href='%23s' x='16' y='5'/%3E%3Cuse href='%23s' x='14' y='2'/%3E%3Cuse href='%23s' x='11' y='11'/%3E%3Cuse href='%23s' x='6' y='14'/%3E%3C/g%3E%3Cg fill='%23efefef'%3E%3Cuse href='%23s' x='3' y='13'/%3E%3Cuse href='%23s' x='9' y='7'/%3E%3Cuse href='%23s' x='13' y='10'/%3E%3Cuse href='%23s' x='15' y='4'/%3E%3Cuse href='%23s' x='18' y='1'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='e' width='47' height='53' patternUnits='userSpaceOnUse' patternTransform='scale(28.35) translate(-964.73 -723.54)'%3E%3Cg fill='%2358A4F0'%3E%3Cuse href='%23s' x='2' y='5'/%3E%3Cuse href='%23s' x='16' y='38'/%3E%3Cuse href='%23s' x='46' y='42'/%3E%3Cuse href='%23s' x='29' y='20'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='f' width='59' height='71' patternUnits='userSpaceOnUse' patternTransform='scale(28.35) translate(-964.73 -723.54)'%3E%3Cg fill='%2358A4F0'%3E%3Cuse href='%23s' x='33' y='13'/%3E%3Cuse href='%23s' x='27' y='54'/%3E%3Cuse href='%23s' x='55' y='55'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='g' width='139' height='97' patternUnits='userSpaceOnUse' patternTransform='scale(28.35) translate(-964.73 -723.54)'%3E%3Cg fill='%2358A4F0'%3E%3Cuse href='%23s' x='11' y='8'/%3E%3Cuse href='%23s' x='51' y='13'/%3E%3Cuse href='%23s' x='17' y='73'/%3E%3Cuse href='%23s' x='99' y='57'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23b)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23h)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23c)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23d)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23e)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23f)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23g)' width='100%25' height='100%25'/%3E%3C/svg%3E") !important;
    background-attachment: fixed !important;;
    background-size: cover !important;;
}

.login-background-image-bing{
    background-image: url(https://bing.biturl.top/?resolution=1920&format=image&index=0&mkt=random);
    height: 100%;
    background-position: center !important;
    background-repeat: no-repeat!important;
    background-size: cover !important;
}


/*
########################################################################################################
        Ridefinizione stili Omnis
########################################################################################################    
*/

/* Limita la larghezza a 900px delle opzione delle dropdown list
   (Altrimenti con Omnis 11.1 37255 viene calcolata in base alla lunghezza del testo e andando a capo
   in modo brutto in certi casi)
*/
div.ctrl-drop-list[role="listbox"] > div[role="option"] {
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    max-width: 900px !important;
}

/*height: 16px;padding: 4px 10px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;max-width: 900px;*/

.omnis-notactive-overlay:after {
    /* Schiarisce l'overlay che rende grige le datagrid non attive */
    background-color: rgba(200, 200, 200, .30) !important;
}

.omnis-wf {
    /* Palette di Omnis, la freccia della palette non ha il colore di sfondo definito*/
    --omnis-palette-arrow-color: rgb(var(--background-color)) !important;
}

.omnis-wf-active-lostfocus {
    /* SFS senza focus, evita la trasparenza */
    opacity: 1 !important;
    filter: brightness(0.95);
}

/* Altera le checkbox disabilitate, di default le fanno nere e non è chiaro se è selezionata o meno */
.omnis-checkbox.is-checked.omnis-notactive .omnis-checkbox__tick-outline {
  filter: brightness(0.8);
  background-color: var(--checkbox-color);
}
.omnis-checkbox.omnis-notactive .omnis-checkbox-label { 
    color: rgba(var(--background-color-text), 0.5); 
    cursor: auto;
}

/* 2024.07.11 GM: In Omnis 10.2 e 11.
    Nei campi delle form:
        - NOT Enabled mette il testo grigio
        - NOT active mette lo sfondo del campo grigio E il testo grigio
    Nei subformset:
        - NOT Enabled mette il testo grigio
        - NOT active mette SOLO lo sfondo grigio
    Ridefinisco quindi le regole per uniformare il comportamento
*/
.omnis-input--notenabled,
.omnis-input--notactive {
    background-color: rgb(var(--disabled-color)) !important;
    --om-tint-color: rgb(var(--disabled-color-text)) !important;
    color: rgb(var(--disabled-color-text)) !important;
    -webkit-text-fill-color: rgb(var(--disabled-color-text)) !important;
    border-color: rgb(var(--disabled-color-text)) !important;
}

/*#region POPUP Menu e Splitbutton disattivi con stesso aspetto pulsanti */
    /* 2024.08.14 GM / Omnis 11.1 37255: Sfondo di defualt in caso di popup menu disattivo (lo rende simile ai pulsanti)
        Vien cambiato anche il colore dell'SVG in modo analogo
    */
    .omnis-popup.omnis-notactive,
    .omnis-splitbutton.omnis-notactive {
        background-color: rgb(var(--background-color)) !important;
        transition: none;
    }
    .omnis-splitbutton.omnis-notactive svg {
        --om-tint-color: rgb(var(--disabled-color-text)) !important;   
    }
    .omnis-splitbutton.omnis-notactive .ctrl-sb-dropdownbtn::after  {
        color: rgb(var(--disabled-color-text)) !important;   
    }
    .omnis-splitbutton.omnis-notactive-overlay::after {
        background-color: initial !important; /* Overlay invisibile negli splitbutton (non posso usare display:none perché altrimenti posso fare click sotto)*/
    }
/*#endregion*/

/* Checkbox con icona SVG colorata con i colori primary */
.check-icon-primary .omnis-checkbox__image {
    --om-tint-color: rgb(var(--primary-color)) !important;
}
.check-icon-primary .omnis-ripple {
    background:  rgb(var(--primary-color)) !important;
}


/* Loading overlay themed */
.omnisLoadingOverlay { 
	background-color:rgba(var(--background-color),0.7);
}

.omnisLoadingOverlay .indicator {
	border:5px solid rgba(var(--primary-color),0.3);
	border-top-color:rgb(var(--primary-color));
}
/*
.omnisLoadingOverlay .message {
	color:#FFF;
	margin:0;text-align:center;
	font-family:'Helvetica Neue', 'Helvetica', 'Arial', sans-serif
}*/




button:not(:disabled):not(.disabled), button:not(:disabled):not(.disabled) > *{
    cursor: pointer !important;
}


/* Barre per il resize */
.omnis-db-horz {
    height: 1px !important;
    opacity: 0.2 !important;
	width: 98% !important;
	left: 1% !important;
	/* rgb(var(--primary-color)) */
	 background-color: rgb(var(--primary-color)) !important;  
       /* background-color: var(--color-matrix) !important; */
	/* background-color: rgb(var(--neutral-color)) !important;  */
	   
}
.omnis-db-vert {
    width: 1px !important;
	opacity: 0.2 !important;
	height: 98% !important;
	top: 1% !important;
    /*opacity: 0 !important;
    /* background-color: rgb(var(--neutral-color)) !important;  */
	 background-color: rgb(var(--primary-color)) !important;
}

/* Elemento selezionato del menu contestuale */
.omnisMenuRow_hilite {
  color: rgb(var(--primary-color-text));
  background-color: rgba(var(--primary-color),1);
}

/* Contenuto testuale della riga del menu, di default ha solo 2px di padding bottom */
.omnis-menu-celltext {
	padding: 4px 0;
}

/* -------------------
        OWRITE
   ------------------- */

.mx-owrite {
    border-radius: 4px !important;
}

/* 
:root {
    --color-matrix: #D41E56;
    --color-omnis-text-disable: #808080;
} */


/* Font per il titolo dei wizard */
.omnis-wf-title { 
	font-family: Roboto, Verdana, Arial, Helvetica, sans-serif;
}



/* Tabs */

li.ctrl-tabs-li.ctrl-tabs-li-focused:not(.ctrl-tabs-li-disabled) {
    background-color: rgb(var(--background-color)) !important;
}


/**********************MATRIX AZIENDA LOGIN***************************/
/* .login-entry{
	border: none 1px #5390FF !important;
	border-bottom-style: solid !important;
}
.login-entry-no-autofit{
	border: none 1px #5390FF !important;
	border-bottom-style: solid !important;
	-webkit-box-shadow: white !important;
} */
