body {
    background-color: #ffffff;
    color: #49a6ae;
    font-size: 14px;
    font-family: Verdana, "Verdana CE",  Arial, "Arial CE", "Lucida Grande CE", lucida, "Helvetica CE", sans-serif;
    margin: 0;
    height: 100vh;
}
.layout-login {
    display: grid;
    grid-template-rows: 24px auto 40px; /* Header - Contenuto - Footer */
    grid-template-columns: 700px auto;  /* Login - Contenuto */
    grid-template-areas:
        "header header"
        "menu content"
        "footer footer";
    gap: 0;
}

.header-login {
    grid-area: header;
    background: #a8c6ce;
    display: flex;
    align-items: left;
    justify-content: left;
}

.menu-login {
    grid-area: menu;
    background: #ffffff;
    overflow-y: auto;
    height: calc(100vh - 64px);
}

.content-login {
    grid-area: content;
    background-image: url("../images/sfondo.png");
    background-size:cover;
    background-position:center;
    overflow-y: auto;
    height: calc(100vh - 64px);
}

.footer {
    grid-area: footer;
    background: #a8c6ce;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: bottom;
}

.layout-main {
    display: grid;
    grid-template-rows: 24px auto 40px;      /* Header - Contenuto - Footer */
    grid-template-columns: 280px auto 1px; /* Menu - Contenuto */
    grid-template-areas:
        "header header header"
        "menu content sidebar"
        "footer footer footer";
    gap: 0;
}

/* Grid areas */
.header-main {
    grid-area: header;
    background: #a8c6ce;
    display: flex;
    align-items: left;
    justify-content: left;
}

.menu-main {
    grid-area: menu;
    background: #ffffff;
    overflow-y: auto;
    height: calc(100vh - 64px);
}

.welcome-menu {
    font-size: 0.9em;
}

.content-main {
    grid-area: content;
    background: #ffffff;overflow-y: auto;
    height: calc(100vh - 64px);
}

.sidebar-main {
    grid-area: sidebar;
    background: #f5f5f5;
    overflow-y: auto;
    height: calc(100vh - 64px);
}

/* Scroll interno e padding */
.menu-login, .content-login, .menu-main, .content-main, .sidebar-main {
    padding: 10px;
    box-sizing: border-box;
    padding: 10px;
}

.noresize-textarea {
    resize: none;
}

/* Responsive: layout a 1 colonna su mobile */
/*
@media (max-width: 768px) {
    body {
        grid-template-rows: 80px auto auto auto 50px;
        grid-template-columns: auto;
        grid-template-areas:
            "header"
            "content"
            "menu"
            "sidebar"
            "footer";
    }
}
*/

body .ui-datascroller-content.ui-widget-content {
    border: none !important;
}

body .ui-inputfield {
    width: 90% !important;
}

body .ui-selectonemenu {
    width: 90% !important;
}

body .ui-datepicker-close {
    background-color: #49a6ae;
    border: none;
    color: #ffffff;
}

body .ui-datepicker-current {
    background-color: #49a6ae;
    border: none;
    color: #ffffff;
}

body .ui-panelgrid .ui-panelgrid-cell {
    vertical-align: top;
}

body .ui-datagrid .ui-panel .ui-panel-titlebar {
    background-color: #a8c6ce;
    color: #212121;
}

body .ui-datagrid .ui-panel .ui-panel-titlebar .ui-panel-title {
    color: #ffffff;
}

body .ui-datagrid .ui-datagrid-content {
    border: none;
}

body .ui-datagrid .ui-datagrid-column .ui-datagrid-content .ui-widget-content {
    border: none;
}

body .ui-datatable thead th {
    background-color: #a8c6ce;
    color: #ffffff;
}

body .ui-datatable .ui-paginator {
    background-color: #a8c6ce;
}

body .ui-chkbox .ui-chkbox-box {
    border: 1px solid #000000;
}

body .ui-panelgrid tbody tr.ui-widget-content {
    border: none;
    border-color: #ffffff;
}

div > .ui-layout-pane-center {
    border: none;
    border-color: #ffffff;
    width: 100% !important;
}

.userLogged {
    font-size: 1.1em;
}

.green-button {
    background-color: limegreen !important;
}

.red-button {
    background-color: red !important;
}

.yellow-button {
    background-color: gold !important;
}

.blu-button {
    background-color: #2196f3 !important;
}

.main-page-button {
    width: 20px !important;
    height: 27px !important;
}

.mainPnl {
    /*margin-top: 20px;*/
    border: none !important;
}

.ui-selectoneradio.ui-widget.dicIvaRadio td {
    padding-right: 50px;
}

.ui-selectoneradio.ui-widget.comSimpolRadio td {
    padding-right: 2e0px;
}

.ui-selectoneradio.ui-widget td {
    padding-right: 30px;
}

.innerPnl {
    margin-bottom: 50px;
    border: none !important;
}

.insertBtn {
    margin-top: 15px;
}

.mainPnl > .ui-panel-titlebar {
    padding: 15px !important;
}
.mainPnlHeader {
    font-size: large;
    font-weight: bold;
    padding: 15px;
}

.headerPnl > .ui-panel-titlebar {
    padding-bottom: 15px !important;
    padding-top: 15px !important;
    padding-right: 5px !important;
    font-weight: bold;
    font-size: large;
}

body .ui-panelgrid.pnlGridCant {
    width: 100%;
}

.utente-picklist .ui-picklist-list {
    width: 400px !important;
}

.custom-picklist {
    width: auto;
}

.headerPnl {
   border: none !important;
}

.col-icon {
    width: 3%;
}

.col5 {
    width: 5%;
}

.col10 {
    width: 10%;
}

.col10left {
    text-align: left;
    width: 10%;
}

.col10right {
    text-align: right;
    width: 10%;
}

.col15 {
    width: 15%;
}

.col15left {
    text-align: left;
    width: 15%;
}

.col20 {
    width: 20%;
}

.col20left {
    text-align: left;
    width: 20%;
}

.col20right {
    text-align: right;
    width: 20%;
}

.col30 {
    width: 30%;
}

.col30left {
    text-align: left;
    width: 30%;
}

.col35 {
    width: 35%;
}

.col40 {
    width: 40%;
}

.col40right {
    text-align: left;
    width: 40%;
}

.col50 {
    width: 50%;
}

.col55 {
    width: 55%;
}

.col60 {
    width: 60%;
}

.col60right {
    text-align: right;
    width: 60%;
}

.col80 {
    width: 80%;
}

.col90 {
    width: 90%;
}

.customFooter {
    font-size: 18px;
}

.collapsablePanel {
    border-left: 6px solid #4dc22e;
}

.borderNone {
    border: none !important;
}

.bold {
    font-weight: bold;
    font-size: 1.3em;
}

.italic {
    font-style: italic;
}

.separatorMenu {
    border-top-color: #ffffff;
    border-right-color: #ffffff;
    border-bottom-color: #ffffff;
}

.loginBox {
    max-width: 70%;
    margin-left: 15%;
    margin-right: 15%;
}

.pageBox {
    max-width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}

.loginBtn {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 90%;
}

.pageBtn {
    width: 90%;
}

.pageInputWidth {
    width: 90%;
}

.btnMenu {
    width: 100%;
}

.btnGotoBck {
    filter: brightness(40%);
    opacity: 0.9;
}

.btnGotoFwd {
    filter: brightness(60%);
    opacity: 0.9;
}

/*
@media only screen and (min-width: 480px) {
    body {
        font-size: 12px !important;
    }
    
    .loginBox {
        max-width: 60%;
        margin-left: 20%;
        margin-right: 20%;
    }
}

@media only screen and (min-width: 768px) {
    .loginBox {
        max-width: 40%;
        margin-left: 30%;
        margin-right: 30%;
    }
    .pageBox {
        max-width: 60%;
        margin-left: 20%;
        margin-right: 20%;
    }
}

@media only screen and (min-width: 1024px) {
    .loginBox {
        max-width: 30%;
        margin-left: 35%;
        margin-right: 35%;
    }
    .pageBox {
        max-width: 60%;
        margin-left: 20%;
        margin-right: 20%;
    }
}

@media only screen and (min-width: 1280px) {
    .loginBox {
        max-width: 20%;
        margin-left: 40%;
        margin-right: 40%;
    }
    .pageBox {
        max-width: 60%;
        margin-left: 20%;
        margin-right: 20%;
    }
}

@media only screen and (min-width: 1980px) {
    .loginBox {
        max-width: 10%;
        margin-left: 45%;
        margin-right: 45%;
    }
    .pageBox {
        min-width: 60%;
        margin-left: 20%;
        margin-right: 20%;
    }
}*/