/*

ui-sm-* Phones max-width: 40em (640px)
ui-md-* Tablets min-width: 40.063em (641px)
ui-lg-* Desktops min-width: 64.063em (1025px)
ui-xl-* Big screen monitors min-width: 90.063em (1441px)

When the number of columns exceed 12, columns wrap to a new line.

Same can also be achieved by having two ui-g containers to semantically define a row.

Direct children of ui-g has the same height automatically.

A column has a default padding by default, to remove it you may apply ui-g-nopad style class.

Most of the time, ui-md-* styles are used with default ui-g-* classes, to customize small or large
screens apply ui-sm, ui-lg and ui-xl can be utilized.

http://www.primefaces.org/docs/guide/primefaces_user_guide_6_0.pdf

Grid Css

*/
.ui-chkbox-all {
    padding-right: 20%;
    padding-bottom: 30%;
}

.ui-tooltip {
    max-width: 400px;
}

.scrollup {
    position: fixed;
    bottom: 20px;
    right: 40px;
    text-indent: -9999px;
    display: none;

    /*   background-color: #26A69A; */
}

.ui-datalist {
    background-color: transparent !important;
    border: none !important;
    color: inherit !important;
}

.ui-datalist-content {
    background-color: transparent !important;
    border: none !important;
    color: inherit !important;
}

.ui-fieldset-legend {
    display: none !important;
}

.ui-fieldset {
    border: none !important;
}

.ui-datatable table tbody tr td {
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-selectcheckboxmenu-item label {
    white-space: normal !important;
}

.ui-selectcheckboxmenu-item {
    white-space: normal !important;
}

.ui-selectonemenu-list-item {
    white-space: normal !important;
}

.ui-inputnumber .ui-inputfield {
    text-align: right !important;
}

.ui-treetable tbody td {
    white-space: normal !important;
}

.ui-state-highlight .ui-link {
    color: #ffffff !important;
    margin-right: 5px !important;
}

.ui-link {
    color: #27aae1 !important;
    margin-right: 5px !important;
}

.DispNone {
    display: none;
}

/* Floating */
.Fleft {
    float: left;
}

.Fright {
    float: right !important;
}


.Cruscotto {
    min-width: 16px !important;

}

.preformatted {
    white-space: pre-wrap;
}

.Fnone {
    float: none !important;
}

/* Text Aligns */
.TexAlCenter {
    text-align: center;
}

.TexAlLeft {
    text-align: left;
}

.TexAlRight {
    text-align: right !important;
}

/* Font Sizes */
.Fs9 {
    font-size: 9px !important;
}

.Fs10 {
    font-size: 10px !important;
}

.Fs11 {
    font-size: 11px !important;
}

.Fs12 {
    font-size: 12px !important;
}

.Fs13 {
    font-size: 13px !important;
}

.Fs14 {
    font-size: 14px !important;
}

.Fs15 {
    font-size: 15px !important;
}

.Fs16 {
    font-size: 16px !important;
}

.Fs17 {
    font-size: 17px !important;
}

.Fs18 {
    font-size: 18px !important;
}

.Fs19 {
    font-size: 19px !important;
}

.Fs20 {
    font-size: 20px !important;
}

.Fs21 {
    font-size: 21px !important;
}

.Fs22 {
    font-size: 22px !important;
}

.Fs23 {
    font-size: 23px !important;
}

.Fs24 {
    font-size: 24px !important;
}

.Fs25 {
    font-size: 25px !important;
}

.Fs26 {
    font-size: 26px !important;
}

.Fs27 {
    font-size: 27px !important;
}

.Fs28 {
    font-size: 28px !important;
}

.Fs29 {
    font-size: 29px !important;
}

.Fs30 {
    font-size: 30px !important;
}

.Fs40 {
    font-size: 40px !important;
}

.Fs50 {
    font-size: 50px !important;
}

.Fs60 {
    font-size: 60px !important;
}

.Fs100 {
    font-size: 100px !important;
}

.Fs130 {
    font-size: 130px !important;
}

/* Text Decoration */
.Underline {
    text-decoration: underline;
}

.UnderlineHover:hover {
    text-decoration: underline;
}

/* Display */
.DispBlock {
    display: block;
}

.DispTable {
    display: table;
    vertical-align: middle;
}

.DispTableCell {
    display: table-cell;
    vertical-align: middle;
}

.DispNone {
    display: none;
}

.DispInlBlock {
    display: inline-block;
}

.DispInline {
    display: inline;
}

/* Overflows */
.OvHidden {
    overflow: hidden;
}

.OvScroll {
    overflow: scroll;
}

.OvAuto {
    overflow: auto;
}

.OvVisible {
    overflow: visible;
}

.OvXScroll {
    overflow-x: scroll;
}

.OvYScroll {
    overflow-y: scroll;
}

.OvXHidden {
    overflow-x: hidden;
}

.OvYHidden {
    overflow-y: hidden;
}

.BordRight {
    border-right: solid 1px transparent;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.BordLeft {
    border-left: solid 1px transparent;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.BordTop {
    border-top: solid 1px transparent;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.BordBottom {
    border-top: solid 1px transparent;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.BordAll {
    border: solid 1px transparent;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/* Height */
.Hei100 {
    height: 100%;
}

.Hei90 {
    height: 90%;
}

.Hei80 {
    height: 80%;
}

.Hei70 {
    height: 70%;
}

.Hei60 {
    height: 60%;
}

.Hei40 {
    height: 40%;
}

.Hei50 {
    height: 50%;
}

.Hei30 {
    height: 30%;
}

.Hei20 {
    height: 20%;
}

.Hei10 {
    height: 10%;
}

/* Margins */
.MarTopPerc5 {
    margin-top: 5%;
}

.MarTopPerc10 {
    margin-top: 10%;
}

.MarTopPerc20 {
    margin-top: 20%;
}

.MarTopPerc30 {
    margin-top: 30%;
}

.MarTopPerc40 {
    margin-top: 40%;
}

.MarTopPerc50 {
    margin-top: 50%;
}

.MarAuto {
    margin-left: auto;
    margin-right: auto;
}

.MarTop5 {
    margin-top: 5px;
}

.MarTop10 {
    margin-top: 10px;
}

.MarTop20 {
    margin-top: 20px;
}

.MarTop30 {
    margin-top: 30px;
}

.MarTop40 {
    margin-top: 40px;
}

.MarTop50 {
    margin-top: 50px;
}

.MarTopQuarter {
    margin-top: 25%;
}

.MarTopHalf {
    margin-top: 50%;
}

.MarBot10 {
    margin-bottom: 10px;
}

.MarBot20 {
    margin-bottom: 20px;
}

.MarBot30 {
    margin-bottom: 30px;
}

.MarRight5 {
    margin-right: 5px;
}

.MarRight10 {
    margin-right: 10px;
}

.MarRight20 {
    margin-right: 20px;
}

.MarRight30 {
    margin-right: 30px;
}

/* Paddings */
.NoPadding {
    padding: 0px !important;
}

.PaddingTopPercent10 {
    padding-top: 10%;
}

/* Padding With Transparent Border*/
.Padding1 {
    padding: 1px;
    box-sizing: border-box;
}

.Padding3 {
    padding: 3px;
    box-sizing: border-box;
}

.Padding5 {
    padding: 5px;
    box-sizing: border-box;
}

.Padding10 {
    padding: 10px;
    box-sizing: border-box;
}

.Padding15 {
    padding: 15px;
    box-sizing: border-box;
}

.Padding20 {
    padding: 20px;
    box-sizing: border-box;
}

.PadLeftRightZero {
    padding-left: 0px;
    padding-right: 0px;
}

.PadTopBottomZero {
    padding-top: 0px;
    padding-bottom: 0px;
}

/* Font Type */
.FontBold {
    font-weight: bold;
}

.FontLight {
    font-weight: lighter;
}

.FontNormal {
    font-weight: normal;
}

.FontItalic {
    font-style: italic;
}

.iconAlCenter {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.clearLeft {
    clear: left;
}

body .ui-breadcrumb {
    padding: 10px 16px;
}

body .ui-breadcrumb a {
    color: #000;
    font-size: 16px;
}

body .ui-breadcrumb li:first-child a {
    position: relative;
    font-size: 20px;
    margin-top: 0;
}

body .ui-breadcrumb li:first-child a span {
    display: none;
}

body .ui-widget-header .ui-icon {
    /* color: black; */
	color: #ffffff;
}

body .breadera {
    background-color: white;
    border: transparent;
}

body .bordiEra {
    border: solid 1px #BDC4C7;
    padding-top: 5px;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 5px;
    margin-top: 10px;
}

.menu-button-style {
    width: auto !important;
}

#breadCrumb {
    background-color: white;
}

.Separator {
    border-bottom: dashed 1px #d1d3d4;
    width: 100%;
    display: block;
    overflow: hidden;
    height: 0px;
    margin: 1.2rem 0px;
    clear: both;
}

.ui-button.purple-btn {
    background-color: #bf00ed;
}

.ui-button.purple-btn.ui-state-hover {
    background-color: #D838FF;
}

.ui-button.purple-btn.ui-state-focus {
    outline: 0 none;
    background-color: #a108c6;
}

.textRed {
    color: red;
}

.table-menu-button {
    float: right !important;
    margin-left: 0.1em !important;
}

body .ui-button.ui-button-icon-only {
    width: 2.143em;
}

.layout-footer-era {
    background-color: white;
}

.layout-footer-era h3 {
    font-size: 24px;
    font-weight: 500;
    color: black;
    margin: 0;
}

.layout-footer-era p {
    color: #9faebf;
    font-size: 14px;
    display: block;
    opacity: 0.9;
    margin-top: 10px;
    margin-bottom: 0;
}

.layout-footer-era a {
    color: #9faebf;
}

.layout-footer-era a i {
    padding: 0;
    font-size: 24px;
    line-height: 24px;
    text-align: right;
    margin-left: 30px;
}

.layout-footer-era a:hover {
    color: #ffffff;
}

.layout-footer-era .footer-right {
    padding-top: 25px;
    text-align: right;
}

body .ui-button.RedButton {
    background: red;
}

body .ui-button.CancelButton {
    background: #ffff;
    color: #065891 !important;
}

body .ui-button.SecondaryButton {
    background: #ffff;
    color: #065891 !important;
}

body .ui-button.red-btn {
    background: red;
}

body .ui-button.GreenButton {
    background: green;
}

body .ui-button.GreenButton {
    background: green;
}

body .ui-dialog .ui-dialog-footer .ui-confirmdialog-yes {
    background-color: green !important;
    color: white;
    width: 6vw;
}

body .ui-dialog .ui-dialog-footer .ui-confirmdialog-no {
    background-color: red !important;
    color: white;
    width: 6vw;
}

body .ui-button.green-btn {
    background: green;
}

.Red {
    background: red;
}

i.Red {
    color: red;
    background: none;
}

i.Green {
    color: green;
    background: none;
}

.Fcenter {
    float: right;
    position: relative;
    left: -25%;
    text-align: left;
}

.ui-dialog {
    /*
	margin-top: -50px !important;
    margin-left: -100px !important;
    top: 198px !important;
    left: 752px !important;
	*/
	top: 150px !important;
	position: fixed !important;
}

/*
#associazioneDialog {
	top: 20vh !important;
	left: 37vw !important;
	width: 36vw !important;
}
*/

.ui-dialog-300-left {
    left: 300px !important;
}

.ui-confirm-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    margin-top: -50px !important;
    margin-left: -100px !important;
}

.scala {
    max-width: 100%;
    height: auto;
    width: auto;
}

.tableIcon{
padding-right: 5px;
}

.docTable ui-datatable .ui-datatable-data{
    padding: 1rem 1rem;
    border: 1px solid rgba(0,0,0,.08);
    border-width: 0 0 1px 0;
}

.documentFolderButton{
    position: relative;
    width: auto;
    height: 33px;
    top: 36px;
}

.docSearchButtons{
    position: relative;
    top: 38px;
}

.docButtons{
    position: relative;
    margin-left:5px;
}

.docActionColumn{
    width:100px;
}
.docProtocolColumn{
    width:120px;
}


/* Global styles */
:root {
    --primary-dark-blue: #014482;
    --primary-medium-blue: #0569C7;
    --primary-interaction-blue: #0C79DF;

    --utility-error: #D92828;
    --utility-error-faded: rgba(217, 40, 40, 0.31);
    --utility-warning: #FF9700;
    --utility-warning-faded: rgba(255, 151, 0, 0.31);
    --utility-success: #42B357;
    --utility-success-faded: rgba(66, 179, 87, 0.31);
    --utility-neuter: #56C0E0;
    --utility-neuter-faded: rgba(86, 192, 224, 0.31);
}

/* ----------------------------------------------------------------------------------------------------------- */

body {
    background-color: #ffffff;
    min-height: auto;
}

/* Typography */
@font-face {
    font-family: 'Titillium Web';
    src: url("/era_2127/javax.faces.resource/fonts/titillium-web/TitilliumWeb-ExtraLight.ttf.xhtml") format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Titillium Web';
    src: url("/era_2127/javax.faces.resource/fonts/titillium-web/TitilliumWeb-Light.ttf.xhtml") format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Titillium Web';
    src: url("/era_2127/javax.faces.resource/fonts/titillium-web/TitilliumWeb-Regular.ttf.xhtml") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Titillium Web';
    src: url("/era_2127/javax.faces.resource/fonts/titillium-web/TitilliumWeb-Bold.ttf.xhtml") format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Titillium Web';
    src: url("/era_2127/javax.faces.resource/fonts/titillium-web/TitilliumWeb-Italic.ttf.xhtml") format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Titillium Web';
    src: url("/era_2127/javax.faces.resource/fonts/titillium-web/TitilliumWeb-BoldItalic.ttf.xhtml") format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Font-Awesome-5';
    src: url("/era_2127/javax.faces.resource/fonts/font-awesome/Font Awesome 5 Free-Regular-400_1.otf.xhtml") format('opentype');
    font-weight: normal;
}

@font-face {
    font-family: 'Font-Awesome-5';
    src: url("/era_2127/javax.faces.resource/fonts/font-awesome/Font Awesome 5 Free-Solid-900_2.otf.xhtml") format('opentype');
    font-weight: 900;
}

@font-face {
    font-family: 'Font-Awesome-5';
    src: url("/era_2127/javax.faces.resource/fonts/font-awesome/fontawesome-pro-light-300.otf.xhtml") format('opentype');
    font-weight: 300;
}

body, body .ui-widget{
    font-family: "Titillium Web", Arial, sans-serif !important;
}

/* Buttons */
.btn, .ui-button {
    border-radius: 0px !important;
    color: white !important;
    font-size: 16px !important;
}
.btn span.ui-button-text{
    padding: 8px 16px !important;
}

/* .btn.ui-button-text-icon-left .ui-button-text, .ui-button.ui-button-text-icon-left .ui-button-text{
    padding: 4px 16px 4px 16px !important;
} */

.btn.ui-button-text-icon-right .ui-button-text, .ui-button.ui-button-text-icon-right .ui-button-text{
    padding: 8px 36px 8px 16px !important;
}

.btn:hover{
    font-size: 16px;
}

.btn-outline{
    background: white !important;
    border: 1px solid var(--primary-dark-blue) !important;
    color: var(--primary-dark-blue) !important;  
}

.btn-outline:hover{
    background: #0C79DF !important;
    color: white !important;
    border: none !important;
}

.btn-outline:disabled{
    background: #F1F3F5 !important;
    border: none !important;
    color: #535353 !important;
}

/* Input text */
.input-text label, .input-select label, .input-calendar label{
    color: var(--primary-dark-blue) !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}

.input-text .input-wrapper, .ui-selectonemenu, .input-calendar .input-wrapper {
    border: none !important;
    border-bottom: 1px solid var(--primary-dark-blue) !important;
    display: flex;
}

.input-text input, .input-calendar .ui-inputfield {
    width: calc(100% - 30px) !important;
    border: none !important;
}

.input-text .ui-inputfield, .ui-selectonemenu label, .ui-calendar .ui-inputfield {
    /* border: none !important; */
    padding: 10px 4px !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    color: black;
    /* text-transform: lowercase !important; */
}

.ui-selectonemenu-trigger .ui-icon{
    margin: 18px 0px 0px 0px !important;
}

.ui-selectonemenu-trigger .ui-icon::before {
    font-family: 'Font-Awesome-5' !important;
    font-weight: 300;
    content: '\f078' !important;
}

.ui-inputfield.ui-state-focus{
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.ui-selectonemenu-panel {
    box-shadow: none !important;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.15) !important;
    /* border: 1px solid var(--primary-dark-blue) !important; */
}

.input-wrapper .fa {
    width: 28px;
    padding-top: 18px;
}


.input-wrapper .fa:before {
    padding-left: 10px;
}

.ui-datepicker {
    width: fit-content !important;
}

/* NavBar */
.layout-topbar{
    height: 55px !important;
    background: #065891 !important;
}

.layout-wrapper .layout-topbar #menu-button{
    position: relative !important;
    left: 0px;
    height: auto;
    width: auto;
    /* margin-left: 28px;*/
    margin-left: 10px;
    margin-right: 10px;
}

.layout-wrapper .layout-topbar .logo{
    width: auto;
    margin-left: 28px;
    padding: 0px;
}

.layout-wrapper .layout-topbar .logo img{
    height: 28px !important;
}

.layout-wrapper .layout-main {
    margin-top: 50px !important;
    padding-top: 0px !important;
}

.menu-overlay-trigger, .menu-overlay-trigger:hover{
    color: white !important;
}

.menu-overlay-trigger > .text-info {
    font-size: 14px;
}

.menu-overlay-trigger > .text-info > span {
    display: block;
    height: 18px;
}

.menu-overlay-trigger > .text-info > .selected {
    text-transform: uppercase;
}

#navbar-dropdown{
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: none;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 4px;
    padding: 22px 10px 14px 21px;
}

/* Chips */
.ui-chips-container{
    border: none !important;
}

.ui-chips-token {
    background-color: #e2e2e2 !important;
    color: #002F53 !important;
    border-radius: 20px !important;
}

.ui-chips-token-icon{
    color: #002F53 !important;
    font-weight: bold !important;
    margin-top: -7px !important;
}

/* Tags */
.tag{
    padding: 4px 10px;
    background-color: #c2c2c2;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    display: inline;
    white-space: nowrap;
}

.tag-success{
    background: #1A9B56;
}

.tag-warning {
    background: #C09F53;
}

.tag-error {
    background: #C5004B;
}

/* Sidebar */
.sidebar-scroll-content{
    z-index: 600;
    background-color: white;
}

@keyframes sideBarSlideFromLeft {
    from {
        transform: translateX(-300%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes sideBarSlideLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-300%);
    }
}

.sidebar-scroll-content > #menuform {
    background: #065891;
    height: 100%;
}

/* per 02/05/2024 */
.layout-wrapper {
    /* padding: 0px 54px !important; */
    padding-top: 0px !important;
    padding-left: 50px !important;
    padding-right: 10px !important;
}

.layout-main-content, .card {
    padding: 0px !important;
}

.layout-main-content{
    /*
    min-height: calc(100vh - 130px);
    */
    min-height: 76vh;
}

.card h1:first-child{
    margin-top: 24px !important;
    font-weight: 600;
}

.card-title h1 {
    margin-top: 24px;
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 600;
}

.layout-wrapper .layout-sidebar{
    top: 30px !important;
    box-shadow: 0px 3px 6px #00000029;
    border-right: none !important;
    background-color: #065891;
    height: 100vh
}

.layout-wrapper .layout-sidebar .layout-menu > li > ul {
    position: fixed;
    left:-10px;
    margin-left: 230px;
    top: 34px;
    height: 100vh;
    /*height: calc(85vh - 55px) !important;*/
    padding: 44px 20px 20px 23px !important;
    animation: sideBarSlideLeft 0.5s ease-in-out;
    z-index: -1;
    background: #E0E4E7 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    min-width: 230px;
}

.layout-wrapper .layout-sidebar .layout-menu > li > ul > li > a {
    padding: 5px 0px !important;
    /*color: var(--primary-dark-blue);*/
    color: #535353 !important;
}

.layout-wrapper .layout-sidebar .layout-menu > li > ul > li > a::first-letter {
    text-transform: uppercase;
}

.layout-wrapper .layout-sidebar .layout-menu li.active-menuitem > a {
    color: var(--primary-dark-blue);
    font-weight: bold;
}

.layout-wrapper .layout-sidebar .layout-menu > li > ul > li > a:hover {
    background-color: transparent !important;
}

.layout-wrapper .layout-sidebar .layout-menu > li > ul > li > a > span {
    margin: 0px !important;
}

.layout-wrapper .layout-sidebar .layout-menu > li.active-menuitem > ul {
    animation: sideBarSlideFromLeft 0.5s ease-in-out;
    display: block !important;
}

.layout-sidebar .layout-menu{
    padding-top: 44px !important;
}

.layout-wrapper-sidebar-inactive .layout-sidebar .layout-menu > li.active-menuitem > ul {
    display: none !important;
}

.layout-sidebar .ui-menuitem-submenu a, .layout-sidebar a{
    padding: 9px 18px 8px 25px !important;
    border: none !important;
    color: #ffff !important; /*#535353 !important;*/
    text-transform: lowercase;
    font-size: 17px;
}

.layout-sidebar .ui-menuitem-submenu a::first-letter, .layout-sidebar a::first-letter{
    text-transform: uppercase;
}

.layout-wrapper .layout-sidebar .layout-menu > li.active-menuitem > a, .layout-wrapper .layout-sidebar .layout-menu > li.active-menuitem > a i {
    border-left: none;
    /*color: var(--primary-dark-blue) !important;*/
    font-weight: bold;
    text-transform: uppercase;
}

.layout-wrapper .layout-main {
    margin-left: 0px !important;
}

.layout-wrapper .layout-sidebar .layout-menu li.active-menuitem > a i.layout-menuitem-toggler , .layout-wrapper .layout-sidebar .layout-menu li > a i.layout-menuitem-toggler {
    transform: rotate(-90deg);
}

.ui-menuitem.ui-state-hover, .ui-menuitem.ui-state-hover a, .ui-menuitem.ui-state-hover a span{
    background: lightgray !important;
    color: black !important;
}

/* Table */

tbody{
    border: none !important;
    border-style: none !important;
}

tr, td, th {
    padding: 0px 14px !important;
    height: 46px !important;
    border: none !important;
    border-style: none !important;
    text-align: start !important;
}

th{
    padding: 8px 14px !important;
}

tr.ui-state-hover{
    background: #efefef !important;
}

/*
td:first-child {
    text-align: center !important;
}
*/

td .ui-link{
    font-weight: bold;
    color: #0569C7 !important;
    white-space: nowrap;
}

tr.ui-widget-content {
    border-bottom: 1px solid #535353 !important;
}

thead {
    border-bottom: 1px solid var(--primary-interaction-blue) !important;    
}

.ui-datalist-data{
    display: flex;
    flex-direction: column;
}

.ui-datalist-item{
    text-align: left;
}

.ui-datalist-data > dt {
    margin-left: 4px !important;
}

.ui-datatable-even {
    background-color: #fcfcfc !important;
}

.ui-datatable .ui-datatable-data tr.ui-datatable-even.ui-state-highlight{
    background-color: #fcfcfc !important;
    color: black;
}

.ui-datatable .ui-datatable-data tr.ui-state-highlight{
    background-color: #ffffff !important;
    color: black !important;
}

tr.ui-state-highlight .ui-link{
    color: #0569C7 !important;
}

body .ui-datatable thead th.ui-state-active, body .ui-datatable thead th:focus.ui-state-active {
    background-color: #ffffff;
}
body .ui-datatable thead th.ui-state-active .ui-column-title, body .ui-datatable thead th.ui-state-active .ui-sortable-column-icon {
    color: #212121;
	/* color: #065891; */
	text-transform: uppercase;
}

/* Table Icons */

.ui-sortable-column-icon.ui-icon.ui-icon-carat-2-n-s::before{
    font-family: 'Font-Awesome-5';
    font-weight: 300;
    content: \f0dc !important;
}

th .ui-column-customfilter .ui-icon.ui-icon-triangle-1-s:before {
    font-family: 'Font-Awesome-5';
    content: '\f078' !important;
    font-weight: 300;
}

.ui-column-customfilter .ui-selectonemenu-trigger .ui-icon{
    margin: auto !important;
}

th .ui-column-customfilter .ui-icon.ui-icon-triangle-1-s{
    margin-top: 7px;
}

.ui-column-filter.ui-inputfield.ui-inputtext.ui-widget.ui-state-default.ui-corner-all{
    content: 'Cerca'
}

.ui-column-filter.ui-inputfield.ui-inputtext.ui-widget.ui-state-default.ui-corner-all::before{
    font-family: 'Font-Awesome-5';
    content: '\f078' !important;
    font-weight: 300;
}

/*.ui-state-default.ui-sortable-column.ui-filter-column.ui-resizable-column::after{
    font-family: 'Font-Awesome-5';
    content: '\f078' !important;
    font-weight: 300;
}*/

/* Paginator */
.ui-paginator {
    border: none !important;
    height: 55px !important;
    margin-top: 23px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-paginator-pages{
    display: flex !important;
}

.ui-paginator a, .ui-paginator span a{
    margin: 0 !important;
    padding: 0 !important;
    height: 55px !important;
    width: 55px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
}

.ui-paginator .ui-paginator-first:before{
    font-family: 'Font-Awesome-5';
    content: '\f323' !important;
    font-weight: 300;
}

.ui-paginator .ui-paginator-prev::before{
    font-family: 'Font-Awesome-5';
    content: '\f053' !important;
    font-weight: 300; 
}

.ui-paginator .ui-paginator-next::before{
    font-family: 'Font-Awesome-5';
    content: '\f054' !important;
    font-weight: 300; 
}

.ui-paginator .ui-paginator-last::before{
    font-family: 'Font-Awesome-5';
    content: '\f324' !important;
    font-weight: 300; 
}

.ui-paginator-page.ui-state-active{
    background: #FFFFFF 0% 0% no-repeat padding-box !important;
    border: 1px solid #014482 !important;
    font-size: 16px;
    font-weight: bold;
}

/* Checkbox */
.ui-chkbox.ui-chkbox-all.ui-widget, .ui-chkbox, .ui-chkbox-box, .ui-chkbox-icon.ui-icon {
    width: 14px !important;
    height: 14px !important;
    font-size: 10px;
    font-weight: 400;
    border-radius: 0px !important;
    border-color: #B7B7B7;
    margin: 0;
}

.ui-icon-check:before{
    position: absolute;
    height: 8px;
    width: 8px;
    /* top: -4px; */
    left: 1px;
}

th > .ui-chkbox{
    padding: 0px !important;
    margin-top: 24px !important;
}

/* Steps */

.step {
    display: flex;
    flex-direction: row;
    padding: 16px 0px;
    z-index: 1;
    position: relative;
}

.step-container {
    position: relative;
    /* position: fixed; */
}

.step-container:before {
    content: "";
    position: absolute;
    /* z-index: -1; */
    left: 10px;
    top: 0;
    bottom: 0;
    border-left: 2px dashed #014482;
}

.step .step-circle {
    width: 19px;
    height: 19px;
    background-color: #FFFFFF;
    border: 2px solid #014482;
    border-radius: 15px;
}

.step-content{
    margin-top: -2px;
    margin-left: 9px;
    display: flex;
    flex-direction: column;
}

.step-title{
    font-size: 16px;
    font-weight: 600;
}

.step-title a {
    color: #000000 !important;
}

.step-active .step-circle{
    background-color: #014482;
}

.step-alert{
    display: flex;
}

.step-alert i{
    font-size: 22px !important;
    margin-top: 11px;
    margin-right: 8px;
}

.step-alert .alert-text{
    max-width: 250px;
}

.step-content .alert-date{
    color: #535353;
    font-size: 12px;
}

.main-content-with-stepper {
    border-left: 1px solid #000000;
}

.main-content-with-stepper h2 {
	margin-top: 5vh;
}

/* Footer */

.layout-footer-era{
    background-color: #065891;
    /*
    margin-left: -58px;
    margin-right: -58px;
    width: calc(100% + 116px);
    */
    width: 100%;
    height: 117px;
    padding-left: 54px;
    padding-right: 54px;
    position: relative;
  	z-index: 999;
}

.logo_coesioneitalia {
    width: 160px;
    height: 65px;
}
.logo_ue {
    width: 230px;
    height: 65px;
}
.logo_emblema_italia {
    width: 65px;
    height: 65px;
}
.logo_ministero_int {
    width: 200px;
    height: 65px;
}

.custom-filter label {
	padding: 1px 2px 3px !important;
}


.sidebar-scroll-content > #iconmenuform
{
  background: #065891;
  height: 100%;
}

.layout-icon-sidebar .ui-menuitem-submenu a, .layout-icon-sidebar a {
	font-size: 17px;
  padding: 9px 18px 8px 14px !important;
  border: none !important;
  color: #fff !important;
}

.layout-wrapper .layout-icon-sidebar .layout-menu li > a {
	display: block;
	position: relative;
}

/*
body .ui-steps {
  position: relative;
  border: none;
}
body .ui-steps .ui-steps-item {
  background-color:transparent;
  text-align:center;
  opacity:1;
  filter:alpha(opacity=100);
  border-top: 4px solid #ffffff;
}
body .ui-steps .ui-steps-item .ui-menuitem-link {
  display:inline-block;
  text-align:center;
  background-color:transparent;
  overflow:hidden;
}
body .ui-steps .ui-steps-item .ui-menuitem-link .ui-steps-number {
  border-radius:50%;
  display:inline-block;
  color:#333;
  background-color:#fff;
  border:1px solid #c8c8c8;
  position:relative;
  top:14px;
  margin-bottom:14px;
  width:2em;
  height:2em;
  font-size:16px;
  padding-top:.25em;
  text-align:center;
}
body .ui-steps .ui-steps-item .ui-menuitem-link .ui-steps-title {
  display:block;
  margin-top:6px;
  color:#737373;
}
body .ui-steps .ui-steps-item.ui-state-highlight {
	background-color: #ffffff;
	border-top: 4px solid #ffffff;
}
body .ui-steps .ui-steps-item.ui-state-default .ui-steps-title {
  font-weight:500;
  color:#333;
}
body .ui-steps .ui-steps-item.ui-state-highlight .ui-steps-number {
  background: #014482;
  color: #fff;
}
body .ui-steps .ui-steps-item.ui-state-highlight .ui-steps-title {
  font-weight:700;
  color:#333;
}
body .ui-steps .ui-steps-item:last-child .ui-menuitem-link {
  display:block;
}
body .ui-steps:before {
  content:' ';
  border-top:1px solid #c8c8c8;
  width:100%;
  top:45%;
  left:0;
  display:block;
  position:absolute;
}
*/

/* STEPPER ORIZZONTALE */

body .horizontal-steps {
  position: relative;
  border: none;
}

body .horizontal-steps::before {
  content: ' ';
  border-top: 1px solid #c8c8c8;
  width: 100%;
  top: 45%;
  left: 0;
  display: block;
  position: absolute;
}

.horizontal-steps ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

body .horizontal-steps .horizontal-steps-item {
  background-color: transparent;
  text-align: center;
  opacity: 1;
  filter: alpha(opacity=100);
  color: #212121;
  display: block;
  margin-top: 6px;
  float: left;
}

body .horizontal-steps .horizontal-steps-item .horizontal-steps-menuitem-link {
	/* cursor: default; */
	display: inline-block;
	text-align: center;
	background-color: transparent;
	overflow: hidden;
	text-decoration: none;
	padding: 1em;
	position: relative;
}

body .horizontal-steps .horizontal-steps-item .horizontal-steps-title {
	display: block;
	margin-top: 6px;
	white-space: nowrap;
}

body .horizontal-steps .horizontal-steps-state-default .horizontal-steps-title {
  font-weight: 500;
  color: #333;
}

body .horizontal-steps .horizontal-steps-state-highlight .horizontal-steps-title {
  font-weight: 700;
  color: #212121;
}

body .horizontal-steps .horizontal-steps-item .horizontal-steps-number {
  border-radius: 50%;
  display: inline-block;
  color: #333;
  background-color: #fff;
  border: 1px solid #c8c8c8;
  position: relative;
  top: 14px;
  margin-bottom: 14px;
  width: 2em;
  height: 2em;
  font-size: 16px;
  padding-top: .25em;
  text-align: center;
}

body .horizontal-steps .horizontal-steps-item.horizontal-steps-state-highlight .horizontal-steps-number {
  background: #014482;
  color: #fff;
}


/* TAB MENU */

body .ui-tabmenu {
	padding: 0;
	position: static;
}
body .ui-tabmenu .ui-tabmenu-nav {
	margin: 0;
	padding: 0;
	border: 0 none;
	border-bottom: 1px solid #c8c8c8;
	background-color: transparent !important;
}
body .ui-tabmenu .ui-tabmenu-nav .ui-tabmenuitem {
	list-style:none;
	position:static;
	margin:0 .214em 0 0;
	padding:0;
	white-space:nowrap;
	display:inline-block;
	vertical-align:top;
	float:none;
	padding:0;
	border:1px solid #c8c8c8;
	/* border-bottom:0 none; */
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	background-color:#f4f4f4;
	font-weight: 500;
	top:0;
	/* margin-bottom:-1px; */
}
body .ui-tabmenu .ui-tabmenu-nav .ui-tabmenuitem a {
	color: #333;
	padding: .571em 1em .571em 1em;
	display: block;
}
body .ui-tabmenu .ui-tabmenu-nav .ui-tabmenuitem .ui-menuitem-link {
	color: #333;
}
body .ui-tabmenu .ui-tabmenu-nav .ui-tabmenuitem a .ui-menuitem-text {
	vertical-align: middle;
}
body .ui-tabmenu .ui-tabmenu-nav .ui-tabmenuitem.ui-state-active {
	background-color: #065891;
	font-weight: 700;
}
body .ui-tabmenu .ui-tabmenu-nav .ui-tabmenuitem.ui-state-active .ui-menuitem-link {
	color: #fff;
}
body .ui-tabmenu .ui-tabmenu-nav .ui-tabmenuitem.ui-state-hover {
    border-bottom: none;
	background-color: #b4c8ee;
}
body .ui-tabmenu .ui-tabmenu-nav .ui-tabmenuitem.ui-state-active {
    border-bottom: none;
}
body .ui-tabmenu .ui-tabmenu-nav .ui-tabmenuitem.ui-state-default {
    border-bottom: none;
}

body .ui-widget-header {
    /* background-color: #ffffff !important; */
}
body .ui-tabs.ui-tabs-top .ui-tabs-nav li.ui-state-active {
	background-color: #065891 !important;
	border-top: 4px solid #065891;
}
body .ui-tabs.ui-tabs-top .ui-tabs-nav li.ui-state-active a {
	color: #fff;
}
body .ui-tabs.ui-tabs-top .ui-tabs-nav li.ui-state-active a:hover {
	color: #fff;
}


/* BOX */

.mybox {
	width: 200px;
	min-height: 50px;
	border: 2px solid #000000;
	border-radius: 3%;
	margin: 3px;
	padding: 8px;
	background-color: #f2f5fb;
	font-weight: 600;
	color: #333;
	line-height: 16px;
}
.mybox-active {
	/* background-color: #b4c8ee; */
	background-color: #065891;
	color: #fff;
	font-weight: 800;
	/* text-transform: uppercase; */
}
.mybox-disabled {
	opacity: .35;
}
a .mybox:hover {
	background-color: #b4c8ee;
	color: #fff;
}



.footer-era-description{
    color:white !important;
}

/* custom css for cleaned UI */
.new-header-overflow {
	z-index: 991;
	background-color: #fff;
	padding-top: 5px;
	display: flex;
	flex-wrap: wrap;
}


.new-step-header {
    overflow: hidden;
	position: fixed;
	width: 95%;
    height: 210px;
}

.top-bar-detail {
	background-color: #f2f5fb;
	padding-top: 2px;
	box-shadow: 7px 7px 3px #dedede;
	border-radius: 10px;
	padding-left: 10px;
}

.margin-top-step {
	margin-top: 200px;
}

.scroll-margin-top-step {
	scroll-margin-top: 250px;
}

/* comment class for the future use */
/*
.margin-top-15 {
	margin-top: 15vh;
}
.margin-top-20 {
	margin-top: 20vh;
}
.margin-top-25 {
	margin-top: 25vh;
}
.margin-top-30 {
	margin-top: 30vh;
}

.margin-top-37 {
    margin-top: 37vh;
}
*/

.title-header-overflow {
	background-color: #f2f5fb;
	margin: 0px !important;
	margin-top: 2px !important;
}

#fileUploadId .ui-button.ui-button-text-icon-left .ui-button-text {
    padding: 4px 12px 4px 28px !important;
}

#statoForm .ui-button.ui-button-text-icon-left .ui-button-text {
    padding: 4px 12px 4px 28px !important;
}


.custom-range-filter .ui-inputfield {
    border: none !important;
    padding: 4px !important;
    border-bottom: 1px solid #065891 !important;
    margin-left: 10px;
    width: 40% !important;
}

.custom-range-filter > input {
    display: none !important;
}

.custom-range-filter > button {
    color: #065891 !important;
    background-color: #ffff;
    border: none;
    font-family: 'Font-Awesome-5' !important;
}

.custom-range-filter > button:hover {
    color: #ffff !important;
}

.ui-selectcheckboxmenu-header .ui-selectcheckboxmenu-close {
    top: -25px !important;
}

body .new-header-overflow .ui-button.ui-button-text-icon-left .ui-button-text {
    padding: 4px 16px 4px 16px !important;
}

body .panel-tab-import .ui-button.ui-button-text-icon-left .ui-button-text {
    padding: 4px 16px 4px 16px !important;
}

.ui-fileupload > .ui-widget-header .ui-icon {
    color: #065891;
    margin-top: -6px !important;
}

.icon-rm-progetti {
    margin-top: 3px !important;
}

.icon-rm-monitoraggio {
    margin-top: -1px !important;
}

.icon-rm-monitoraggio {
    margin-top: -1px !important; 
}

div:has(> span.custom-range-filter) {
    padding-top: 7px;
}

.text-overflow-td {
    overflow: hidden !important;
    width: 95% !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 5 !important;
    -webkit-box-orient: vertical !important;
    white-space: normal !important;
}
.line-break {
	line-break: anywhere;
}

.container {
    font-family: sans-serif;
    padding: 20px;
    background-color: #002541; /*#065891;*/
    margin-top: 40px;
    height: 5px; /* Altezza del container */
    display: flex;
    align-items: center; /* Centra verticalmente il contenuto */
    justify-content: flex-start; /* Centra orizzontalmente il contenuto */
}

.container h2 {
    margin: 0; /* Rimuove il margine predefinito dall'h1 */
    color: white; /* Cambia il colore del testo */
}


.separator {
    width: 80%;
    margin-left: 9%;
    margin-top: 5px;
    border: none;
    border-top: 1px dashed #065891; /* Colore della linea */
}

/* per 02/05/2024 */
#singleDT {
    overflow: unset !important;
}

#targetStatusSchema {
    top: 25vh !important;
    position: fixed !important; 
}


body .ui-dialog .ui-dialog-footer .ui-confirmdialog-yes.ui-state-hover, body .ui-dialog .ui-dialog-footer .ui-confirmdialog-yes.ui-state-focus {
    background-color: green !important;
}

/*
.ui-progressbar {
    height: 15px !important;
}

.dashboard-progressbar {
    width: 60%;
    display: block;
    position: relative;
    margin-top: 65px;
}

.dashboard-panel-container {
    margin-left: 15%;
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dashboard-panel-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

.dash-element-strip {
    flex: 1.5;
    display: flex;
    justify-content: end;
    flex-direction: column;
}

.dash-element-strip-row {
    display: flex;
    flex-direction: row;
}

.dashboard-texts{
    font-weight: bold;
    font-size: x-large;
    color: #ffff;
}

.dashboard-panel-label {
    background-color: #12399B;
    width: 18%;
    margin-left: 20px;
    margin-top: 30px;
    min-height: 40px;
    position: absolute;
}

.dashboard-panel {
    border-radius: 10px;
    min-height: 50px;
    border: 2px solid #ffff;
    padding: 15px;
    background-color: #002541;
    display: flex;
    justify-content: end;
    align-items: center;
    width: 60%;
    margin-top: 20px;
    margin-left: 240px;
}

.dashboard-panel-intestazione {
    margin-top: 2px;
    justify-content: space-between;
    min-height: 20px;
    padding: 13px;
    background-color: #065891;
    font-size: x-large;
    font-weight: 600;
    color: #ffffff;
}

.row-panel {
    display: flex;
    flex-direction: row;
}

.dashboard-panel-linea {
    margin-top: 2px;
    margin-left: 2px;
    flex: 1;
    min-height: 70px;
    background-color: #ffff;
    padding: 5px 10px;
    font-size: x-large;
    font-weight: 600;
    color: #ffff;
}

.panel-linea-strip {
    left: 10px;
    position: relative;
    color: #D4AC0D;
    text-align: center;
}

.panel-linea-strip-border {
    border-top: 2px solid #065891;
    border-bottom: 2px solid #065891;
}

.linea-a-icon {
    position: relative;
    top: 13px;
    left: 80px;
    font-size: xx-large;
}

.dashboard-label-text {
    font-size: large;
    color: #ffff;
    padding: 5px 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    white-space: normal;
    width: 160px;
}

.panel-label-icon {
    font-size: x-large;
    margin-top: 5px;
    margin-right: 50px;
}


.progress-bar-row {
    margin-top: 50px;
    width: 80%;
    border-radius: 10px;
    min-height: 55px;
    display: flex;
    flex-direction: column;
}

.progress-bar-container {
    width: 95%;
    padding: 5px 10px;
}

.progress-bar-label {
    left: 15px;
    position: relative;
    font-size: large;
}

.label-internal {
    color: #ffff;
    padding-left: 10px;
}

body .ui-progressbar .ui-progressbar-value {
    background-color: #0071bc !important;
}
*/


.my-dashboard-container {
    margin-left: 23%;
    width: 60%;
	margin-top: 60px;
    justify-content: center;
	line-break: anywhere;
}
.my-dashboard-header {
    background-color: #065891;
    font-size: x-large;
    font-weight: 600;
    color: #ffffff;
}
.my-dashboard-content-row {
	color: #065891;
	background-color: #f2f5fb;
	padding-left: 30px;
	padding-right: 30px;
	font-size: x-large;	
	font-weight: 600;
}
.my-dashboard-content-row-header {
	color: #ffffff;
	background-color: #5292c1;
	font-size: large;
	font-weight: 600;
}
.my-dashboard-box-container {
	width: 100%;
}
.my-dashboard-box-a {
	color: #ffffff;
	background-color: #187cc1;
	border: 2px solid #000000;
	border-radius: 3%;
    font-size: large;
    font-weight: 600;
    padding: 10px;
    margin: 10px;
	float: right;
	line-height: 65%;
}
.my-dashboard-box-b {
	color: #035791;
	background-color: #b8ccf5;
	border: 2px solid #000000;
	border-radius: 3%;
    font-size: medium;
    font-weight: 600;
    padding: 10px;
    margin: 10px;
	float: right;
	line-height: 65%;
}


/* -- table customizzata Sezione Finanziaria */
/* -- table customizzata Sezione Finanziaria */

.custom-table-container {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    max-width: 100%;
}

/* Spinner per il caricamento */
/*.custom-table-spinner {*/
    /*position: fixed;*/
    /*top: 50%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
    /*z-index: 9999;*/
    /*width: 30px; !* Più piccolo e discreto *!*/
    /*height: 30px;*/
    /*border: 4px solid rgba(0, 0, 0, 0.1);*/
    /*border-left-color: #4d90fe;*/
    /*border-radius: 50%;*/
    /*animation: spin 1s linear infinite;*/
/*}*/

/*@keyframes spin {*/
    /*0% {*/
        /*transform: rotate(0deg);*/
    /*}*/
    /*100% {*/
        /*transform: rotate(360deg);*/
    /*}*/
/*}*/

/*!* Overlay trasparente per bloccare l'interazione, ma senza opacizzare troppo *!*/
/*.custom-overlay {*/
    /*position: fixed;*/
    /*top: 0;*/
    /*left: 0;*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*background-color: rgba(0, 0, 0, 0.2); !* Overlay semi-trasparente, molto leggero *!*/
    /*z-index: 9998;*/
    /*display: none; !* Di default, nascosto *!*/
/*}*/



.custom-data-table.ui-datatable .ui-datatable-tablewrapper {
    border-collapse: collapse !important;
    overflow-x: auto !important;
    display: block;
    white-space: nowrap;
}

.custom-data-table.ui-datatable .ui-datatable-header,
.custom-data-table.ui-datatable .ui-datatable-footer {
    background-color: #f4f4f4 !important;
    color: #444444 !important;
}

/* Intestazione per l'anno */
.custom-data-table.ui-datatable thead th.anno-header {
    position: sticky;
    top: 0;
    z-index: 1000 !important;
    background-color: #cccccc !important; /* Colore più scuro per l'anno */
    white-space: nowrap;
    border-bottom: 2px solid #000;
    height: 30px;
}

/* Intestazione per i trimestri */
.custom-data-table.ui-datatable thead th.trimestri-header {
    position: sticky;
    top: 30px;
    z-index: 900 !important;
    background-color: #cccccc !important; /* Colore leggermente più scuro */
    white-space: nowrap;
    border-bottom: 1px solid #ddd;
    height: 30px;
}

/* Intestazione per i mesi */
.custom-data-table.ui-datatable thead th.mesi-header {
    position: sticky;
    top: 60px;
    z-index: 800 !important;
    background-color: #cccccc !important; /* Colore leggermente più scuro */
    white-space: nowrap;
    border-bottom: 1px solid #ddd;
    height: 30px;
}

/* Colonne fisse a sinistra (Titolo e Svolgimento/Spesa) */
.custom-data-table.ui-datatable th:nth-child(1),
.custom-data-table.ui-datatable td:nth-child(1) {
    position: sticky;
    left: 0;
    z-index: 10000 !important;
    background-color: #ffffff;
    border-right: 1px solid #ddd;
    min-width: 400px; /* Aumentata la larghezza della colonna Titolo */
    max-width: 400px;
    overflow: hidden;
    text-wrap: auto;
}

/* Colonna "Svolgimento/Spesa" */
.custom-data-table.ui-datatable th:nth-child(2),
.custom-data-table.ui-datatable td:nth-child(2) {
    position: sticky;
    left: 240px;
    z-index: 10000 !important;
    background-color: #ffffff;
    border-right: 1px solid #ddd;
    min-width: 150px;
    max-width: 150px;
    overflow: hidden;
    text-wrap: auto;
}

/* Colonne Totali fisse a destra */
.custom-data-table.ui-datatable th:nth-last-child(3),
.custom-data-table.ui-datatable td:nth-last-child(3) {
    position: sticky;
    z-index: 10000 !important;
    background-color: #ffffff;
    border-left: 1px solid #ddd;
    min-width: 100px; /* Aumentata la larghezza delle colonne */
    max-width: 100px;
    overflow: hidden;
    text-align: center !important;
    white-space: nowrap;  /* Assicura che il testo non vada a capo */
    text-overflow: ellipsis;  /* Se il testo è troppo lungo, aggiunge '...' */
}

.custom-data-table.ui-datatable th:nth-last-child(2),
.custom-data-table.ui-datatable td:nth-last-child(2) {
    position: sticky;
    z-index: 10000 !important;
    background-color: #ffffff;
    border-left: 1px solid #ddd;
    min-width: 100px; /* Aumentata la larghezza delle colonne */
    max-width: 100px;
    overflow: hidden;
    text-align: center !important;
    white-space: nowrap;  /* Assicura che il testo non vada a capo */
    text-overflow: ellipsis;  /* Se il testo è troppo lungo, aggiunge '...' */
}

.custom-data-table.ui-datatable th:last-child,
.custom-data-table.ui-datatable td:last-child {
    position: sticky;
    right: 0;
    z-index: 10000 !important;
    background-color: #ffffff;
    border-left: 1px solid #ddd;
    min-width: 100px; /* Aumentata la larghezza delle colonne */
    max-width: 100px;
    overflow: hidden;
    text-align: center !important;
    white-space: nowrap;  /* Assicura che il testo non vada a capo */
    text-overflow: ellipsis;  /* Se il testo è troppo lungo, aggiunge '...' */
}

/* Riduzione del padding per le colonne Totali */
.custom-data-table.ui-datatable td.total-column {
    padding: 4px !important;  /* Riduce il padding per far spazio al contenuto */
    font-size: 14px !important;  /* Riduce la dimensione del testo */
    text-align: right;
}

/* Aumentare la visibilità delle cifre in modalità read-only */
.custom-data-table .ui-inputfield[readonly],
.custom-data-table .ui-widget-content .ui-state-disabled{
    color: #333333 !important; /* Cambia il colore a un grigio più scuro */
    font-weight: 500; /* Aumenta il peso del font */
    opacity: 1 !important; /* Rimuovi eventuale opacità */
    background-color: #f5f5f5 !important; /* Cambia lo sfondo per migliorare il contrasto */
}

/* Stili applicati solo agli input, select, textarea e selectOneMenu disabilitati */
input.ui-inputfield[disabled],
select.ui-inputfield[disabled],
textarea.ui-inputfield[disabled],
.ui-selectonemenu.ui-state-disabled {
    color: #333333 !important;
    background-color: #f5f5f5 !important;
    font-weight: 500;
    opacity: 1 !important; /* Rimuove l'opacità nei campi disabilitati */
}



/* Aree centrali scrollabili */
.custom-data-table.ui-datatable td,
.custom-data-table.ui-datatable th {
    z-index: auto !important;
    padding: 8px !important;
    border: 1px solid #000 !important;
    text-align: left !important;
    white-space: nowrap;
}

/* Intestazioni generali */
.custom-data-table.ui-datatable th {
    position: sticky;
    z-index: 997 !important;
    white-space: nowrap;
    border-bottom: 2px solid #000 !important;
    background-color: #efefef !important;
    height: 30px !important;
}

/* Bordo per le righe */
.custom-data-table.ui-datatable .ui-datatable-data > tr {
    border-bottom: 1px solid #ddd !important;
}

/* Stile per il footer */
.custom-data-table.ui-datatable tfoot td {
    border-top: 2px solid #000 !important;
    background-color: #efefef !important;
}

/* Centrare il testo nelle celle delle colonne degli anni */
.custom-data-table .ui-datatable th.centered-column,
.custom-data-table .ui-datatable td.centered-column {
    text-align: center !important;
}

/* Altezza righe */
.custom-data-table.ui-datatable .ui-datatable-data > tr > td {
    height: 40px !important;
}

/* Larghezza colonne Totale */
.custom-data-table .ui-datatable .total-column {
    width: 150px !important; /* Aumentata larghezza */
    text-align: right;
}

/* Larghezza colonne larghe */
.custom-data-table .ui-datatable .wide-column {
    width: 400px !important;
}

/* Larghezza colonne dei mesi */
.custom-data-table .ui-datatable .month-column {
    width: 20px !important;
    height: 20px !important;
}

.custom-data-table .ui-datatable .highlight {
    background-color: yellow;
    transition: background-color 1s ease;
}

/* Disabilita temporaneamente lo scroll orizzontale */
.custom-table-container.no-scroll {
    overflow: hidden !important;
}







.custom-data-table .ui-datatable .highlight {
    background-color: yellow;
    transition: background-color 1s ease;
}

body .ui-button.datiextra-btn {
    background-color: green;
    margin-top: 2.5%;
    margin-left: 10%;
    width: 15%;
}

/* checklists */
.checklist-section-header div span{
	color: rgb(1, 68, 130) !important;
}

.custom-panel .ui-panel-title {
   color: black !important;
   font-size: large;
}



.aligned-grid i {
    font-size: 1.2em; /* Aumenta la dimensione delle icone */
}

.aligned-grid h\\:outputText {
    font-size: 1.1em; /* Aumenta la dimensione del testo */
}

.ui-panel .ui-panel-title {
    text-align: left; /* Assicura che l'header sia allineato a sinistra */
    padding-left: 5px; /* Riduce il padding tra header e bordo sinistro */
}


/* Allinea gli elementi in modo coerente */
.aligned-grid {
    margin-left:65px;
    display: flex;
    justify-content: start;
}