body {
    color: #000000 !important;
}


.navbar-dark .navbar-nav .nav-link.nav-link-on {
    color: rgba(255, 255, 255, 0.75);
}

.navbar-dark .navbar-nav .nav-link.nav-link-on:hover {
    color: rgba(255, 255, 255, 0.95);
}

.nav-link.nav-link-badged {
    position: relative;
}


.sidebar .nav-item .nav-link {
    color: #333;
    padding: 0.6rem 0.75rem;
}

.sidebar .nav-item .nav-link:hover {
    background: #ccc;
    color: #666;
}


.sidebar .nav-item.active .nav-link {
    background: #ccc;
    color: #666;
}

.sidebar .nav-item.active .nav-link:hover {
    background: #eee;
    color: #ccc;
}


.sidebar .nav-item.dropdown .dropdown-menu {
    margin-top: 5px;
    margin-bottom: 10px;

    /*margin: 0px;
    border:none;
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    padding: 0px;*/
}

.sidebar .nav-item.dropdown .dropdown-menu .dropdown-item {
    padding: 0.3rem 0.7rem !important;
    font-size: 0.9rem !important;
}

.sidebar .nav-item.dropdown .dropdown-menu .dropdown-divider {
    margin: 0.25rem 0 !important;
}


.sidebar .nav-item .nav-link:active, .sidebar .nav-item .nav-link:focus, .sidebar .nav-item .nav-link:hover {
    color: #28a745;
    /*success di bootstrap*/
}

#content-wrapper {
    width: 100% !important;
}



table.dataTable tbody>tr.selected, table.dataTable tbody>tr>.selected {
    background-color: #f2f2f2 !important;
    font-style: italic;
}


table.dataTable tbody>tr.saved, table.dataTable tbody>tr>.saved {
    background-color: #cecece !important;
    font-style: italic;
}




footer.sticky-footer {
    height: 50px;
}



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

.loader-float {
    position: fixed;
    margin-left: -60px;
    margin-right: -60px;
    top: 50%;
    left: 50%;
    z-index: 30000;
}

.loader-md {
    width: 60px;
    height: 60px;
    border-width: 6px
}

.loader-float.loader-md {
    margin-left: -30px;
    margin-right: -30px;
}

.loader-sm {
    width: 40px;
    height: 40px;
    border-width: 3px
}


.loader-xs {
    width: 20px;
    height: 20px;
    border-width: 2px
}


.loader-micro {
    width: 10px;
    height: 10px;
    border-width: 1px
}

.loader-mini {
    width: 15px;
    height: 15px;
    border-width: 1px
}

.loader-float.loader-sm {
    margin-left: -20px;
    margin-right: -20px;
}

.loader-inline {
    display: inline-block;
}


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

    100% {
        transform: rotate(360deg);
    }
}



.table.table-font-md td, .table.table-font-md th[scope=row] {
    font-size: 13px !important;
}

.table.table-font-sm td, .table.table-font-sm th, .table.table-font-sm th[scope=row] {
    font-size: 12px !important;
}

.table.table-font-xs td, .table.table-font-xs th[scope=row] {
    font-size: 11px !important;
}



.text-deleted, tr.text-deleted td {
    text-decoration: line-through !important;
}

td.actions, th.actions {
    width: 90px !important;
}

td.w-100p, th.w-100p {
    width: 100px !important;
}

td.w-120p, th.w-120p {
    width: 120px !important;
}

td.w-150p, th.w-150p {
    width: 150px !important;
}

td.w-200p, th.w-200p {
    width: 200px !important;
}

.w-65 {
    width: 65% !important;
}

.w-30 {
    width: 30% !important;
}

.w-5 {
    width: 5% !important;
}

.w-10 {
    width: 10% !important;
}

.title-header {
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 20px;
    padding: 10px 0px;
    font-size: 1.4em;
}

.title-header-only {
    font-size: 1.4em;
}

.content-title-header {
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 20px;
    margin-left: 0px;
    margin-right: 0px;
    padding: 10px 0px;
}

.content-title-header .title-header {
    border-bottom: 0px solid #eeeeee;
    margin-bottom: 0px;
    padding: 0px 0px;
}

.content-page {
    margin-top: 10px;
    padding-top: 10px;
}

.modal-body .content-page {
    margin-top: 0px !important;
    padding-top: 10px;
}


/*
    per il bootstrap select
*/

.dropdown.bootstrap-select .dropdown-menu .status {
    padding: 5px 10px;
}


.form-group .custom-form-radio {
    margin: 0px 5px 0px 10px;
}

.form-group .container-custom-form-radio {
    margin-left: -10px;
}



/*
    per i form dei documenti da facsimile PDF
*/

.input-line input[type="text"], .input-line textarea {
    border: none !important;
    border-bottom: 1px solid #000000 !important;
    padding: 2px;
    color: #666 !important;
    background-color: #f5f4f4;
    /*max-width: 500px!important;*/
    min-width: 15ch !important;
    display: inline !important;
}

.input-line input[type="text"]:focus, .input-line textarea:focus {
    border-color: red !important;
}

.input-line input[type="text"]::placeholder, .input-line textarea::placeholder {
    padding-left: 3px;
    color: #aaa;
    font-style: italic;
}

.facsimile {
    box-shadow: rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    padding: 10px;
    font-size: 90%;
    margin: 10px;
    margin-bottom: 20px;
    line-height: 25px;
}


.error-message {
    display: block;
    padding: 0.375rem 0.5625rem 0.5625rem;
    margin-top: -1px;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: normal;
    font-style: italic;
    color: rgba(0, 0, 0, 0.6);

}



.bg-fisascat {
    background: #008742 !important;
}


.form-control:focus {
    background-color: #fffaa3 !important;
}

span.container-badge, a.container-badge {
    position: relative;
    display: inline-block;
}

.badge-notify {
    background: red;
    position: absolute;
    right: 2px;
    bottom: -2px;
    padding: 2px 3px !important;
    border-radius: 4px;
    font-size: 0.6rem;
}

.badge-notify-top-right {
    background: red;
    position: absolute !important;
    right: -8px;
    top: -2px;
    padding: 2px 3px !important;
    border-radius: 4px;
    font-size: 0.6rem;
}

.badge-notify-top {
    background: red;
    position: absolute;
    right: 0px;
    top: -4px;
    padding: 2px 5px !important;
    border-radius: 4px;
    font-size: 0.6rem;
}

.titan-icon {
    font-size: 180% !important;
}

.big-icon {
    font-size: 140% !important;
}

.medium-icon {
    font-size: 120% !important;
}


.titan-text {
    font-size: 180% !important;
}

.big-text {
    font-size: 140% !important;
}

.medium-text {
    font-size: 120% !important;
}

.normal-text {
    font-size: 100% !important;
}

.small-text {
    font-size: 80% !important;
}

.midget-text {
    font-size: 60% !important;
}

.box-main-logo img {
    max-height: 80px;
}

.box-main-logo .logo-text {
    font-size: 2.4rem;
    font-weight: bold;
    font-family: 'Source Sans Pro', sans-serif !important;
}



tr.disabled, tr.disabled td {
    background-color: #f5fbef !important;
    box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.3);
}



.bg-red, .bg-red td, .select-counting-red {
    background-color: #ef3d41 !important;
    color: #ffffff;
    border-color: #ef3d41 !important;
}

.bg-red a, .bg-red td a, .bg-green a, .bg-green td a, .bg-cyan a, .bg-cyan td a {
    color: #fefefe !important;
    border-color: #ef3d41 !important;
}

.bg-green, .bg-green td, .select-counting-green {
    background-color: #6b7c30 !important;
    /*#ccd5ae*/
    color: #ffffff;
    border-color: #6b7c30 !important;
}

.bg-cyan, .bg-cyan td, .select-counting-cyan {
    background-color: #4b9ce9 !important;
    /*#98cbfb*/
    color: #ffffff;
    border-color: #4b9ce9 !important;
}

.bg-yellow, .bg-yellow td, .select-counting-yellow {
    background-color: #ffea83 !important;
    /*#fff1ad*/
    color: #333333 !important;
    border-color: #ffea83 !important;
}


.bg-yellow-disabled, .bg-yellow-disabled td {
    background-color: rgba(255, 241, 173, 0.3) !important;
    color: #999999 !important;
}

.bg-green-disabled, .bg-green-disabled td {
    background-color: rgba(204, 213, 174, 0.3) !important;
    color: #333333 !important;
}

.btn-red.default {
    background-color: rgba(239, 61, 65, 0.8) !important;
}

.btn-green.default {
    background-color: rgba(107, 124, 48, 0.8) !important;
}

.btn-cyan.default {
    background-color: rgba(75, 156, 233, 0.8) !important;
}

.btn-yellow.default {
    background-color: rgba(250, 214, 7, 0.8) !important;
}

.btn-red.default.active {
    background-color: rgba(239, 61, 65, 1) !important;
}

.btn-green.default.active {
    background-color: rgba(107, 124, 48, 1) !important;
}

.btn-cyan.default.active {
    background-color: rgba(75, 156, 233, 1) !important;
}

.btn-yellow.default.active {
    background-color: rgba(250, 214, 7, 1) !important;
}



.btn-xs, .btn-group-xs>.btn {
    padding: 0.25rem 0.25rem;
    font-size: 0.795rem;
    line-height: 1.1;
    border-radius: 0.2rem;
}

.checkbox-x {
    -ms-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -o-transform: scale(1.5);
    transform: scale(1.5);
    padding: 10px;
}

.checkbox-2x {
    -ms-transform: scale(2);
    -moz-transform: scale(2);
    -webkit-transform: scale(2);
    -o-transform: scale(2);
    transform: scale(2);
    padding: 10px;
}


.status-done label {
    cursor: pointer;
}


.boxEvent.private, .row-private {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%,
            transparent 25%, transparent 50%,
            rgba(255, 255, 255, .15) 50%,
            rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
}


.form-control-lg {
    padding: 0.8rem;
    font-weight: bold !important;
    height: auto !important;
}


.display-small {
    font-size: 0.8rem !important;
}

.display-5 {
    font-size: 3rem !important;
}

.display-6 {
    font-size: 2.2rem !important;
}

.display-7 {
    font-size: 1.8rem !important;
}

.display-8 {
    font-size: 1.4rem !important;
}

.display-9 {
    font-size: 1.2rem !important;
}


.display-10 {
    font-size: 1rem !important;
}

.display-11 {
    font-size: 0.9rem !important;
}

.dropdown-header-calendar {
    background: rgba(0, 123, 255, 0.3);
    color: #333;
    font-weight: bold;
}

.dropdown-header-calendar-types {
    background: rgba(0, 123, 255, 0.3);
    color: #333;
}

.security-input-altro {
    position: relative;
}

.security-input-altro .icon-close {
    position: absolute;
    right: 10px;
    top: 5px;
    cursor: pointer;
    z-index: 100;
}


/***STILI PER GESTIONE THUMB/UPLOAD CON INPUTFILE**/


.thumb {
    max-width: 90px !important;
}


.list-thumbs.removed {}

.list-thumbs {
    position: relative;
}



.list-thumbs .reset-file-upload {
    padding: 0.3rem 0px !important;
    font-size: 24px;
}

.list-thumbs.removed .icon-delete, .list-thumbs:not(.removed) .icon-restore {
    display: none;
}

.list-thumbs.removed .icon-restore, .list-thumbs:not(.removed) .icon-delete {
    display: block;
}



.list-thumbs .stamp-text {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 1);
    padding: 0.3rem;
    color: rgba(188, 71, 73, 0.6);
    border: 2px solid rgba(188, 71, 73, 0.6);
    left: 30px;
    transform: rotate(-45deg);
    font-size: 1.2rem;
    top: 40%;
    text-transform: uppercase;
    /* Legacy vendor prefixes that you probably don't need... */

    /* Safari */
    -webkit-transform: rotate(-45deg);

    /* Firefox */
    -moz-transform: rotate(-90deg);

    /* IE */
    -ms-transform: rotate(-45deg);

    /* Opera */
    -o-transform: rotate(-45deg);

    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);

}

.list-thumbs.removed .stamp-text {
    display: block;
}

.list-thumbs.removed img {
    opacity: 0.4;
}

.list-thumbs>label {
    background: rgba(0, 0, 0, 0.3) !important;
    color: #ffffff;
    display: block;
    width: 100%;
    margin: 0px;
    padding: 0.3rem;
}

.list-thumbs>span {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0.5rem;
    border: 2px dashed rgba(0, 0, 0, 0.2);
    border-top: none !important;
}

.list-thumbs>span>.thumb-desc {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-direction: column;
    margin-left: 1rem;
    padding-left: 1rem;
}

.list-thumbs img {
    height: auto !important;
    width: 150px;
}

.button-wrap input[type="file"] {
    position: absolute;
    z-index: -1;
    top: 15px;
    left: 20px;
    opacity: 0;
    color: #b8b8b8;
}

.button-wrap {
    position: relative;
}

.button-wrap label {
    display: block;
    border-radius: 0.25rem;
    text-align: center;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #b8b8b8;
    transition: all 0.5s;
    cursor: pointer;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    border: 2px dashed #b8b8b8;
}

.button-wrap label:hover {
    background-color: #b8b8b8;
    color: #ffffff;
}


/* modal backdrop fix */
.modal-backdrop~.modal-backdrop {
    z-index: 1051;
}

.modal-backdrop~.modal-backdrop~.modal-backdrop {
    z-index: 1052;
}

.modal-backdrop~.modal-backdrop~.modal-backdrop~.modal-backdrop {
    z-index: 1053;
}


.box-circle {
    height: 25px;
    width: 25px;
    background-color: #aaa;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.box-circle-sm {
    height: 18px;
    width: 18px;
    font-size: 0.8rem;
}

.box-circle-xs {
    height: 15px;
    width: 15px;
    font-size: 0.62rem;
}


.bg-grey-striped, .bg-grey-striped-row .td {
    background-image: linear-gradient(50deg, #d9d9d9 25%, #ebebeb 25%, #ebebeb 50%, #d9d9d9 50%, #d9d9d9 75%, #ebebeb 75%, #ebebeb 100%);
    background-size: 10.44px 12.45px;
}

.font-md {
    font-size: 0.9rem !important;
}

.font-sm {
    font-size: 0.8rem !important;
}

.font-xs {
    font-size: 0.7rem !important;
}

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

.placeholder-sm::placeholder {
    font-size: 0.7rem !important;
}

.placeholder-xs::placeholder {
    font-size: 0.6rem !important;
}

/* SEZIONE SUBSCRIPTIONS */
.status-PENDING {
    background-color: var(--orange) !important;
    color: #ffffff;
}

.status-UNCHECKED {
    background-color: var(--red) !important;
    color: #ffffff;
}


.status-COMPLETED {
    background-color: var(--green) !important;
    color: #ffffff;
}

.status-PROGRESS {
    background-color: var(--yellow) !important;
    color: #ffffff;
}

.status-PROCESSING {
    background-color: var(--purpureus) !important;
    color: #ffffff;
}

.status-REJECTED {
    color: #ffffff;
}

.postit-shadow {
    box-shadow: 5px 4px 7px -2px rgba(0, 0, 0, 0.4) !important;
}