.scheda li{
    padding-bottom: 1em;
}

* {
    margin: 0;
}

html,body{
    height: 100%;
}

.layout-wrapper{
    min-height: 100%;
    height: auto !important;
    margin: 0 auto -4.5em; /* margine negativo altezza footer */
    padding-bottom: 15px;
}

.push{
    height: 3em; /* altezza footer */
    clear: both; /* clear di eventuali float se presenti nel layout */
}

.layout-wrapper + .layout-footer {
    padding: 10px 20px;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
    -moz-transition: margin-left 0.3s;
    -o-transition: margin-left 0.3s;
    -webkit-transition: margin-left 0.3s;
    transition: margin-left 0.3s;
}

#top {
    position: relative;
}

#bottom {
    position: relative;
    background-color: #c2dfef;
    padding: 0.5em;
    text-align: center;
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.centraText{
    text-align: center;
}

.right {
    float: right;
}

.ui-fluid .ui-panel{
    margin: 1em 0em;
}

.ui-fluid .ui-selectonemenu{
    min-width: 0px !important;
}

/*.ui-panel-content .ui-button{
    margin-top: 1em;
}*/

.redBlink {
    color: red;
    text-decoration: blink;
}

.red {
    color: red !important;
}

.green {
    color: green !important;
}

.yellow {
    color:  yellow !important;
}

.orange {
    color:  orange !important;
}

.text-red {
    color: red;
}

body .ui-tabs .ui-tabs-panels {
    border: 1px solid #c8c8c8;
}

/*.ui-widget .ui-widget {
    font-size: 12px !important;
}

body .ui-inputfield {
    font-size: 12px !important;
}

body .ui-button {
    font-size: 12px !important;
}

body .ui-widget-header {
    font-size: 14px !important;
}

body .ui-panel .ui-panel-titlebar .ui-panel-title{
    font-size: 14px !important;
}

body .ui-widget-content {
    font-size: 12px !important;
}*/

body .ui-panelgrid-content{
    border: 1px solid #dddddd;
    background: #ffffff;
}

/*body .ui-accordion .ui-accordion-header {
    font-size: 14px !important;
}*/

.ui-column-title {
    font-weight: bold !important;
}

.ui-outputlabel .ui-widget{
    font-weight: bold !important;
}

body .ui-outputlabel {
    font-weight: bold !important;
}

/*login*/
body .login-panel {
    display: table;
    margin: 0 auto;
    text-align: center;
    background-color: white;
    border: solid 1px #d5d5d5;
    border-radius: 4px;
    box-shadow: 0 1px 12px 0 rgba(0, 0, 0, 0.24);
    padding: 32px 15px 32px 15px;
}

body .login-panel .title {
    font-size: 20px;
    font-weight: bold;
}

body .login2-panel {
    display: table;
    text-align: center;
}

body .login2-panel .title {
    font-size: 20px;
    font-weight: bold;
}

/*bottone scorrimento in alto*/
.btnToTop {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 70px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    outline: none; /* Remove outline */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    width: 40px !important;
    height: 40px !important;
}

@media screen and (max-width: 960px) {
    .menu-mobile {
        display: block !important;
    }

    .layout-wrapper .topbar .topbar-right #menu-button {
        display: block !important;
    }

    .brand-title {
        font-size: 1.25rem;
        font-weight: 600;
        letter-spacing: inherit;
        line-height: 1.1;
        margin-bottom: 0;
    }

    .brand-subtitle {
        font-size: 0.80rem;
    }
}

@media screen and (min-width: 961px) {
    .menu-mobile {
        display: none !important;
    }

    .brand-title {
        font-size: 1.75rem;
        font-weight: 600;
        margin-bottom: 0;
    }
}

body .ui-panelgrid .ui-panelgrid-header {
    border: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
}

body .ui-selectbooleanbutton, body .ui-selectonebutton > .ui-button, body .ui-selectmanybutton > .ui-button {
    background: #ffffff;
    border: 1px solid #cccccc;
}

body .ui-selectbooleanbutton, body .ui-selectonebutton > .ui-button, body .ui-selectmanybutton > .ui-button {
    color: #292B2C;
    border: 1px solid #cccccc;
}

body .ui-selectbooleanbutton.ui-state-active, body .ui-selectonebutton > .ui-button.ui-state-active, body .ui-selectmanybutton > .ui-button.ui-state-active {
    background: #17A2B8;
    border-color: #148ea1;
    color: #ffffff;
}

body .ui-selectbooleanbutton.ui-state-hover,
body .ui-selectonebutton > .ui-button.ui-state-hover,
body .ui-selectmanybutton > .ui-button.ui-state-hover {
    background: #e6e6e6;
    border-color: #adadad;
    color: #292B2C;
}

.ui-button:not(.ui-button-icon-only) {
    margin-top: 1em;
}

/* PrimeFaces Tooltip Styling. Force wordwrap */
.ui-tooltip {
    max-width: 300px;
    white-space: pre-wrap;
}

.brand-subtitle {
    font-weight: 400;
    margin-bottom: 0;
}