html {
    position: relative;
    min-height: 100%;
}

body {
    /* font-family: 'Open Sans', sans-serif; */
    margin-bottom: 80px;
}

.wrapper {
    min-height: 100%;
    height: 100%;
}

.wrapper > .row,
#view > .row {
    margin-left: 0;
    margin-right: 0;
}

.container-fluid {
    padding-left: 0;
}

.navbar-default .navbar-nav li a {
    color: #360;
}

.navbar-default .navbar-nav li a:hover {
    color: #360;
    font-weight: bold;
    cursor: pointer;
}

.navbar-default .navbar-nav .active a {
    color: #0079bc;
    background-color: #005c79 !important;
}

.navbar-default .navbar-nav .active a:hover {
    color: #0079bc;
    background-color: #005c79 !important;
}

.navbar-default .navbar-nav .active a:focus {
    color: #0079bc;
    background-color: #005c79 !important;
}

.navbar-brand {
    float: none;
}

.dropdown-menu li a:hover {
    background-color: transparent;
    background-image: none;
}

.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}
.margin-right-10 {
    margin-right: 10px;
}
.upload-btn-wrapper input[type="file"] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.footer {
    position: absolute;
    /* bottom: 0; */
    width: 100%;
    min-height: 60px;
}

.footer-container {
    border-top: 1px solid #dddddd;
    font-size: 0.8em;
    text-align: center;
}

.big-circle-icon {
    text-align: center;
    font-size: 120px;
    color: #fff;
    background-color: #069;
    border-radius: 50%;
    height: 240px;
    width: 240px;
    margin: 0 auto;
    padding: 30px;
}

.big-circle-icon a {
    text-decoration: none;
    color: white;
}
.top-buffer-lgx {
    margin-top: 120px;
}

.top-buffer-lg {
    margin-top: 60px;
}
.top-buffer-md {
    margin-top: 40px;
}
.top-buffer-sm {
    margin-top: 20px;
}
.top-buffer-xs {
    margin-top: 10px;
}

.margin-bottom-xs {
    margin-bottom: 10px;
}
.margin-bottom-sm {
    margin-bottom: 20px;
}
.margin-bottom-md {
    margin-bottom: 40px;
}
.margin-bottom-lg {
    margin-bottom: 60px;
}

.margin-top-xs {
    margin-top: 10px;
}
.margin-top-sm {
    margin-top: 20px;
}
.margin-top-md {
    margin-top: 40px;
}
.margin-top-lg {
    margin-top: 60px;
}

.text-right {
    text-align: right;
}

.description {
    text-align: center;
    /* font-family: "Open Sans", sans-serif;
    color: #606060; */
    min-height: 50px;
    font-size: 1rem;
}

.green-item {
    /* background-color: #789c4c;
    color: #ffffff; */
    text-align: center;
    padding: 5px;
    font-size: 1.4em;
    border: 3px solid;
}
.green-item:hover {
    background-color: #13a23f !important;
    color: #ffffff !important;
}
.green-item:hover a {
    background-color: #13a23f !important;
    color: #ffffff !important;
}

.green-item a {
    text-decoration: none;
    color: white;
}

.green-item a:hover {
    font-weight: bold;
}

.btn-fatture {
    color: #ffffff;
    text-decoration: none;
}
.btn-fatture a {
    color: #ffffff;
    text-decoration: none;
}

@-webkit-keyframes pulse_animation {
    0% {
        -webkit-transform: scale(1);
    }
    20% {
        -webkit-transform: scale(1);
    }
    30% {
        -webkit-transform: scale(1.02);
    }
    40% {
        -webkit-transform: scale(1.08);
    }
    50% {
        -webkit-transform: scale(1.02);
    }
    60% {
        -webkit-transform: scale(1.03);
    }
    70% {
        -webkit-transform: scale(1.05);
    }
    80% {
        -webkit-transform: scale(1.02);
    }
    90% {
        -webkit-transform: scale(1);
    }
    100% {
        -webkit-transform: scale(1);
    }
}

.pulse:hover {
    -webkit-animation-name: "pulse_animation";
    -webkit-animation-duration: 1s;
    -webkit-transform-origin: 70% 70%;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
}

.error {
    color: red;
    font-size: 20px;
    padding: 20px;
}

.conferm {
    color: green;
    font-size: 20px;
    padding: 20px;
}

.textarea {
    width: 100%;
}

.erroreUploadTitle {
    color: red;
    font-size: 40px;
    padding: 60px;
    text-align: center;
}

.erroreUpload {
    font-size: 25px;
    padding: 60px;
    text-align: center;
}

.colorTextFatture {
    color: green;
}

.colorTextFatture2 {
    color: red;
}

.dettagli {
    cursor: pointer;
}

.result {
    margin-top: 20px;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    background: red;
    cursor: inherit;
    display: block;
}
input[readonly] {
    background-color: white !important;
    cursor: text !important;
}

.input-number {
    min-width: 35px;
}

.acquisti-container {
    border-top: 1px solid #dddddd;
    font-size: 1em;
    text-align: center;
}

.pagination > li > a,
.pagination > li > span {
    color: green;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: green;
    border-color: green;
}

.btn-primary {
    background-image: linear-gradient(to bottom, #789c4c 0%, green 100%);
    background-repeat: repeat-x;
    border-color: green;
}

.btn-primary:hover,
.btn-primary:focus {
    background-position: 0px;
}

.btn-primary:active,
.btn-primary.active {
    background-color: green;
    border-color: green;
}

.form-control:focus {
    border-color: green;
}

.fontBig {
    font-size: 1.5em;
}

.fontMedium {
    font-size: 1.2em;
}

.font-xs {
    font-size: 0.8em;
}

sup > a > i {
    font-size: 1.7em !important;
}

.container-md {
    width: 80%;
}

.dropdown-menu .divider {
    background-color: #bbbbbb;
}

input[type="image"]:focus {
    border: none;
    outline-width: 0;
}

.dropdown-menu > li > button {
    display: block;
    padding: 3px 10px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857;
    color: white;
    white-space: nowrap;

    text-decoration: none;

    background-color: transparent;
    border: none;
}

.btn-default {
    background-image: linear-gradient(to bottom, #789c4c 0%, green 100%);
    background-repeat: repeat-x;
    border-color: green;
    text-shadow: none;
    color: white;
}

.btn-default-manuale {
    background-image: linear-gradient(to bottom, #888 0%, #aaa 100%);
    background-repeat: repeat-x;
    border-color: #aaa;
    text-shadow: none;
    color: white;
}

.filtro {
    text-align: right;
    margin-right: 0px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    border-color: green;
}

.btn-default:hover,
.btn-default:focus {
    background-image: linear-gradient(to bottom, #789c4c 0%, green 100%);
    background-position: 0;
}

.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    color: white;
    background-color: #e6e6e6;
    border-color: green;
}

.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    background-color: green;
}

.card {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16),
        0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.card {
    margin-top: 10px;
    box-sizing: border-box;
    border-radius: 2px;
    background-clip: padding-box;
}

.card .card-image {
    position: relative;
}
.card .card-image img {
    border-radius: 2px 2px 0 0;
    background-clip: padding-box;
    position: relative;
    z-index: -1;
}
.card .card-image span.card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 16px;
}

.asc {
    transform: translate(0px, 4px) !important;
}

.desc {
    transform: translate(0px, -4px) !important;
}

.ordina {
    min-width: 100px !important;
    right: 0px !important;
    left: 0px !important;
}

input[type="radio"] {
    padding: 5px;
    margin-left: 10px;
}

.input-group-btn {
    font-size: 15px;
}

.rad {
    color: green;
    padding: 5px;
    margin-left: 2px;
}

.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
    border-radius: 5px;
}

.users_table {
    width: 100%;
    margin-top: 50px;
}

.us {
    width: 30%;
    color: green;
}

.nom {
    width: 40%;
    color: green;
}

.far {
    width: 30%;
    color: green;
}

.td {
    padding-top: 10px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0px !important;
    margin-left: 0px !important;
}

.agg_margin {
    margin-top: 100px;
}

.form-inline {
    display: inline;
}

.form-inline > .input-group-btn {
    display: inline-table;
}

.dropdown-menu > li > button {
    outline: none;
}

.longText {
    overflow-wrap: break-word;
    display: inline;
}

.greyText {
    color: grey;
}

.pagamento {
    display: inline;
    border: 1px solid grey;
    margin: 0 5px;
    padding: 1px;
}

.pagamento legend {
    margin: 0;
    border-bottom: 0;
    width: auto;
    font-size: 16px;
}

.actions a {
    color: #333333;
}

.actions a:focus {
    outline: none;
}

.button-submit {
    background-color: transparent;
    border: 0;
}

.dataTable .disabilitato {
    background-color: #dddddd;
}

.export {
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
    border-left: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
    width: 100%;
    margin-left: 15px;
}

.dataTable .oversoglia {
    background-color: tomato;
}

.dropdown-menu li a.override-hover:hover {
    color: #360;
    font-weight: bold;
}

.button_search {
    display: inline-block;
}

.datatable-export {
    z-index: 999;
}

.font-normal {
    font-weight: normal !important;
}

.font-bold {
    font-weight: bold !important;
}

.popover {
    max-width: none;
}

legend span {
    font-size: 14px;
    padding-left: 5px;
}

.alert-guida {
    background-image: none;
    color: #000;
}

.alert-guida a {
    color: #000;
    margin-left: 5px;
}

/*x-editable*/
.editableform .form-control {
    min-width: 300px;
}

.editable-cancel {
    background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
    background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
    background-image: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(#d9534f),
        to(#c12e2a)
    );
    background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border-color: #b92c28;
}

.editable-cancel:hover,
.editable-cancel:focus {
    background-color: #c12e2a;
    background-position: 0 -15px;
    background-image: none;
    border-color: #b92c28;
}
.editable-cancel:active,
.editable-cancel.active {
    background-color: #c12e2a;
    border-color: #b92c28;
}

.editable-cancel:disabled,
.editable-cancel[disabled] {
    background-color: #c12e2a;
    background-image: none;
}

a.editable {
    color: #333;
}

.editable-click,
a.editable-click {
    border-bottom: none !important;
}

sup a:hover {
    color: green;
}

table.dataTable {
    overflow-y: visible !important;
}

table.dataTable tbody tr.stato_errore {
    background-color: #f2dede;
}

table.dataTable tbody tr.stato_accettata {
    background-color: #d6e9c6;
}

table.dataTable tbody tr.stato_warning {
    background-color: #fcf8e3;
}

table.dataTable tbody tr.passiva_rifiutato {
    background-color: #f2dede;
}

table.dataTable tbody tr.passiva_accettato {
    background-color: #d6e9c6;
}

.counter-ricevute {
    display: block;
    background-color: #069;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    position: absolute;
    margin-top: 25px;
    margin-left: 250px;
    z-index: 999;
    padding: 4px;
    text-align: center;
}

.big-circle-icon-passive {
    background-color: #789c4c;
}

.blue-item {
    background-color: #069;
    color: #ffffff;
    text-align: center;
    padding: 5px;
    font-size: 1.4em;
}

.blue-item a {
    text-decoration: none;
    color: white;
}

.blue-item a:hover {
    font-weight: bold;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.custom-file-input::before {
    content: "Sfoglia";
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    position: absolute;
    right: -1px;
    top: -1px;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    background: #124eb2;
}

.margin-top-5 {
    margin-top: 5px;
}

.margin-left-5 {
    margin-left: 5px;
}

.padding-left-15 {
    padding-left: 15px;
}
.max-width-input-file {
    max-width: 200px;
}
.danger-alert {
    width: 50%;
    margin: auto;
}
.alert-row {
    background-color: #dca7a7 !important;
}

.btn-default:disabled,
.btn-default[disabled] {
    background-color: #bbbbbb;
    background-image: none;
}

.btn-passive .btn {
    padding: 5px;
}
.ladda-button {
    border: 0;
    padding: 6px 12px !important;
    font-size: 14px !important;
    cursor: pointer;
    color: #fff;
    border-radius: 5px !important;
    border: 1px solid transparent;
    -webkit-appearance: none;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    background-image: linear-gradient(
        to bottom,
        #789c4c 0%,
        green 100%
    ) !important;
    background-repeat: repeat-x !important;
    border-color: green !important;
}

#form-richieste .control-label {
    text-align: left;
}

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

.bs-callout-info {
    border-left-color: #1b809e;
}
.my-export-button {
    margin-bottom: 20px;
}

.button-identificativo {
    padding: 7px;
    color: #ffffff;
    background: #789c4c;
}
.comm_icons {
    text-align: left;
    margin-left: -2px;
}

.upload {
    color: #9965f4 !important;
}

.removePadding {
    padding: 0px !important;
}

.step2-upload-button {
    margin-top: 10px;
    float: right;
}

/* stili riguardo la paginazione dei datatables */
.fe_dt_button {
    color: green;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 6px 12px;
    margin: 0 1px;
    cursor: pointer;
}

.fe_dt_button.first {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.fe_dt_button.last {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.fe_dt_button.previous {
    margin-right: 7px;
}

.fe_dt_button.next {
    margin-left: 7px;
}

.fe_dt_button:hover {
    background-color: #eee;
    border-color: #ddd;
}

.fe_dt_button.disabled {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

.paginate_input {
    width: 50px;
    text-align: center;
}

.hamburger {
    font: inherit;
    display: inline-block;
    overflow: visible;
    margin: 0;
    padding: 8px;
    cursor: pointer;
    transition-timing-function: linear;
    transition-duration: 0.15s;
    transition-property: opacity, filter;
    text-transform: none;
    color: inherit;
    border: 0;
    background-color: transparent;
}

.hamburger-box {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 24px;
}

.hamburger--collapse .hamburger-inner {
    top: auto;
    bottom: 0;
    transition-delay: 0.13s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition-duration: 0.13s;
}

.hamburger-inner,
.hamburger-inner:after,
.hamburger-inner:before {
    position: absolute;
    width: 20px;
    height: 2px;
    transition-timing-function: ease;
    transition-duration: 0.15s;
    transition-property: transform;
    background-color: #ccc;
}

.hamburger-box:hover > .hamburger-inner,
.hamburger-box:hover > .hamburger-inner:after,
.hamburger-box:hover > .hamburger-inner:before {
    background-color: #666;
}

.hamburger-inner {
    top: 50%;
    display: block;
    margin-top: -2px;
}

.hamburger--collapse .hamburger-inner:before {
    transition: top 0.12s cubic-bezier(0.33333, 0.66667, 0.66667, 1) 0.2s,
        transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger-inner:before {
    top: -7px;
}

.hamburger-inner:after,
.hamburger-inner:before {
    display: block;
    content: "";
}

.hamburger-inner:after {
    bottom: -10px;
}

.hamburger--collapse .hamburger-inner:after {
    top: -14px;
    transition: top 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1) 0.2s,
        opacity 0.1s linear;
}

.hamburger--collapse.is-active .hamburger-inner {
    transition-delay: 0.22s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translate3d(0, -10px, 0) rotate(-45deg);
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner:after,
.hamburger.is-active .hamburger-inner:before {
    background-color: #666;
}
.hamburger--collapse.is-active .hamburger-inner:before {
    top: 0;
    transition: top 0.1s cubic-bezier(0.33333, 0, 0.66667, 0.33333) 0.16s,
        transform 0.13s cubic-bezier(0.215, 0.61, 0.355, 1) 0.25s;
    transform: rotate(-90deg);
}

.hamburger--collapse.is-active .hamburger-inner:after {
    top: 0;
    transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
        opacity 0.1s linear 0.22s;
    opacity: 0;
}

@media (min-width: 768px) {
    .dl-details-pagamenti.dl-horizontal dt {
        width: 200px;
    }

    .dl-details-pagamenti.dl-horizontal dd {
        margin-left: 220px;
    }
}

.expandable-details {
    background-color: #f5f5f5 !important;
}

@media (min-width: 1200px) {
    .container {
        min-width: 1200px !important;
    }
}

@media (min-width: 1400px) {
    .container {
        min-width: 1400px !important;
    }
}

@media (min-width: 1600px) {
    .container {
        min-width: 1600px !important;
    }
}

.pager li:not(.disabled) a {
    color: green;
}

.notifications .badge-success {
    background: #c71723;
    padding: 0.3em 0.7em;
    font-size: x-small;
}

.notifications i {
    font-size: larger;
    margin-top: 2px;
}

.notifications .date {
    color: gray;
    font-size: small;
}

.notifications .bold {
    font-weight: bold;
}

li.selected a {
    font-weight: bold;
}

.button-manuale {
    padding: 7px;
    color: #ffffff;
    background: #789c4c;
}

.navbar-default .navbar-nav li a:hover {
    font-weight: initial !important;
    text-decoration: none;
}

.nav .dropdown-menu {
    margin-top: -30px !important;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.dataTables_paginate span {
    background-color: #fff;
    margin-right: 5px;
}

.dataTables_wrapper .dataTables_paginate span.paginate_button {
    cursor: pointer;
    border-color: #dee2e6;
    border: 1px solid #e7decd;
    border-radius: 0 !important;
    position: relative;
    display: inline-block;
    padding: 0.5rem 0.75rem !important;
    line-height: 1.25;
    color: green;
}

.dataTables_wrapper .dataTables_paginate span.paginate_button.disabled {
    color: #6c757d;
    pointer-events: none;
    cursor: none;
}
