body{
    overflow-y: scroll;
}

a{
    cursor: pointer;
}

.panel-heading>h1, .panel-heading>h2, .panel-heading>h3{
    margin-top: 0px;
    margin-bottom: 0px;
}

.caret{
    cursor: pointer;
}

.display-inline-block{
    display: inline-block !important;
    width: auto !important;
}

.hover-text-decoration:hover{
    text-decoration: underline;
}

.panel-title{
    font-weight: bold;
}

@media (max-width: 767px) {
    .important h1, .important .h1{
        font-size: 30px;
    }

    .important h2, .important .h2{
        font-size: 24px;
    }

    .important h3, .important .h3{
        font-size: 20px;
    }

    .important h4, .important .h4{
        font-size: 18px;
    }

    .important .form-group{
        padding-bottom: 7px;
        margin: 5px 0 0 0;
    }

    .row>div[class*="col-"]>.btn{
        margin: 0px;
        padding-right: 0px;
        padding-left: 0px;
        width: 100%;
        text-align: center;
    }
}

.vertical-align-middle{
    vertical-align: middle;
}

.lightGrayBackground{
    background: #F5F5F5;
}

.small .prima:before{
    content: "Prima: ";
    display: inline;
}

.ripristina{
    display: none;
    cursor: pointer;
}

.small .ripristina{
    display: inline;
}

.cursor-pointer{
    cursor: pointer;
}

.ui-datepicker{
    padding: 0px;
}

.ui-datepicker, .ui-widget-header{
    border-radius: 0px !important;
}

.ui-widget-header{
    border-width: 0px !important;
}

.spanStyle{
    color: inherit;
    line-height: initial;
    font-size: inherit;
    font-weight: inherit;
    margin-right: 10px;
}

.greenText{
    color: #009688 !important;
}

#loader{
    position: fixed;
    width: 100%;
    height: 100%;
    background: #eeeeee;
    z-index: 999;
    top: 0px;
}

#loader .content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
}

.form-group:focus .form-control{
    background: red !important;
}

.collapseDettaglio + div .chiudi{
    display: none;
}

.collapseDettaglio.in + div .chiudi{
    display: inline-block;
}

.collapseDettaglio.in + div .dettaglio{
    display: none;
}

.form-group.errore .form-control {
    outline: none;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f44336), to(#f44336)), -webkit-gradient(linear, left top, left bottom, from(#D2D2D2), to(#D2D2D2)) !important;
    background-image: -webkit-linear-gradient(#f44336, #f44336), -webkit-linear-gradient(#D2D2D2, #D2D2D2) !important;
    background-image: -o-linear-gradient(#f44336, #f44336), -o-linear-gradient(#D2D2D2, #D2D2D2) !important;
    background-image: linear-gradient(#f44336, #f44336), linear-gradient(#D2D2D2, #D2D2D2) !important;
    background-size: 100% 2px, 100% 1px;
    transition-duration: 0.3s;
}

.form-group.errore label {
    color: #f44336 !important;
}

.form-group label>.fa-exclamation-triangle{
    display: none;
    font-size: 0.8em;
}

.form-group.errore label>.fa-exclamation-triangle{
    display: inline;
}

.btn.fa{
    padding: 2px 5px;
    margin: 0px;
}

.errorLabel{
    color: #bc5957;
    background-color: #f2dede;
    padding: 4px 20px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0px;
    margin-bottom: 15px;
    display: inline-block;
}

.notification{
    position: fixed;
    width: 500px;
    max-width: 90%;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
}

.notification .alert{
    text-align: center;
    position: relative;
}

.notification .alert .chiudi{
    position: absolute;
    top: -1px;
    right: 4px;
    cursor: pointer;
}

table, table th, table td{
    *text-align: center;
}

.logout{
    text-transform: uppercase;
    font-weight: 500;
    background: #007268;
    padding: 6px 10px;
}

.panel-default table thead.panel-heading, .panel-default table thead.panel-heading th{
    border-bottom-width: 0px;
}

.panel-default table thead.panel-heading{
    background-color: #f5f5f5;
}

.text-center .form-control{
    text-align: center;
}

.fakePanelHeading, .fakePanelBody{
    padding: 10px 5px;
    display: block;
}

.fakePanelHeading{
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.tabSedi{
    position: fixed;
    bottom: 0px;
    right: 0px;
    margin: 0px 10px 10px 0px !important;
    z-index: 9999;
}

.inline-block.form-control {
    width:auto;
    display:inline-block;
}

.panel-body>.list-group>.list-group-item{
    border-left-width: 0px;
    border-right-width: 0px;
}

.panel-body>.list-group>.list-group-item:first-child{
    border-top-width: 0px;
}

.panel-body>.list-group>.list-group-item:last-child{
    border-radius: 0px 0px 3px 3px;
    border-bottom-width: 0px;
}

/* --------------------------- */


.view-animate-container {
    position:relative;
    height:600px !important;
    background:white;
    border:1px solid black;
    overflow:hidden;
}

.view-animate {
    padding:10px;
}

.view-animate.ng-enter, .view-animate.ng-leave {
    transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.5s;
    display:block;
    width:100%;
    border-left:1px solid black;
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    padding:10px;
}

.view-animate.ng-enter {
    left:100%;
}
.view-animate.ng-enter.ng-enter-active {
    left:0;
}
.view-animate.ng-leave.ng-leave-active {
    left:-100%;
}
