#global-drop-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040; /* sopra tutto, ma sotto modali (Bootstrap modal = 1050) */
    pointer-events: none; /* lascia passare il drop agli elementi sottostanti */
}
#drop-zone {
    position: relative;
    z-index: 1041; /* > overlay */
}

:root {
    --primary: #706f6f;
    --bgprimary: #54a4a5; /* ex #54b4dd */
    --bgsecondary: #74788d;
    --black: #000000;
    --grey: 73, 80, 87;
    --grey-light: #eff2f7;
}

body[data-layout=horizontal] .page-content {
    padding: calc(55px + 24px) calc(24px / 2) 130px calc(24px / 2);
}


.nav-link.dropdown-toggle{
    font-size:11px !important;
}

.form-check-input:checked {
    background-color: var(--bgprimary);
    border-color: var(--bgprimary);
}

a {
    color: var(--primary);
}

    a:hover {
        color: var(--bgprimary);
    }

    /* Dashboard */
.jdash {
    border: dashed 1px var(--bgprimary);
    min-height: 60px;
    border-radius: 4px;
    background: var(--grey-light);
    margin-bottom:30px;
}

.bootstrap-select.dashboard_select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
    width: 100%;
}

.bootstrap-select.dashboard_select .dropdown-menu li a span.text i {
    margin-right: 6px;
}

.bootstrap-select.dashboard_select .dropdown-item.active {
    color: var(--bgprimary);
}

.bootstrap-select.dashboard_select > .dropdown-toggle,
.bootstrap-select.dashboard_select > .dropdown-toggle.bs-placeholder,
.bootstrap-select.dashboard_select > .dropdown-toggle.bs-placeholder {
    height: 60px;
    line-height: 40px;
    background: transparent !important;
    border: 0;
}


#loading {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    opacity: 0.7;
    background-color: #fff;
    z-index: 9999;
    text-align: center;
}

.loader-st {
    border: 16px solid #f3f3f3;
    /* Light grey */
    border-top: 16px solid var(--primary);
    /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    top: 50%;
    position: absolute;
    left: 50%;
    margin-top: -30px;
    margin-left: -30px;
    z-index: 100;
}

.loader-st-msg {
    position: absolute;
    top: 50%;
    width: 300px;
    left: 50%;
    margin-left: -150px;
    z-index: 101;
    margin-top: 40px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loginform .alert-danger {
    margin-bottom: 20px;
    display: block;
    text-align: center;
    padding: 5px;
    border-radius: 0.25rem;
}

.topnav .navbar-nav .dropdown.active > a,
.topnav .navbar-nav .dropdown-item.active, .topnav .navbar-nav .dropdown-item:hover {
    color: var(--bgprimary);
}

.nav-link:focus, .topnav .navbar-nav .nav-link:hover, .topnav .navbar-nav .nav-item .nav-link.active {
    color: var(--bgprimary);
    background-color: transparent;
}

.page-item.active .page-link {
    background-color: var(--bgprimary);
    border-color: var(--bgprimary);
}

.input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.input-group-addon.blue i {
    color: #058dc7;
    font-size: 25px;
}

.input-group-addon.orange i {
    color: #ed7e17;
    font-size: 25px;
}

.circle-colored.interno i {
    color: #003f5d;
    font-size: 25px;
}

.circle-colored.esterno i {
    color: #cc5533;
    font-size: 25px;
}
.bg-blue {
    background-color: #058dc7 !important;
}

.bg-orange {
    background-color: #ed7e17 !important;
}

i.actual {
    color: #058dc7;
}

i.previous {
    color: #ed7e17;
}

#search {
    padding: 3px 10px 3px 10px;
    margin-left: 10px;
    
}

.btn-primary, .swal2-confirm {
    background-color: var(--bgprimary) !important;
    border-color: var(--bgprimary) !important;
}

.swal2-cancel {
    background-color: var(--bgsecondary) !important;
}

.btn-datatable .btn-secondary {
    color: #fff !important;
    background-color: var(--bgprimary) !important;
    border-color: var(--bgprimary) !important;
}

.btn-datatable .dt-buttons.btn-group {
    float: left;
    margin-bottom: 10px;
}
.btn-datatable .dataTables_length {
    float: left;
    clear: both;
}
.btn-datatable .dataTables_filter, .btn-datatable .dataTables_paginate {
    float: right;
}
.dataTables_wrapper .badge.rounded-pill{
    border-radius:6px !important;
    padding:6px;
}
#datarange h6 {
    font-weight: bold;
}

.daterangepicker select{
    padding:2px 1px;
}

.daterangepicker .custom-range-inputs{
    display:none;
}

.dataTables_length, .dataTables_info {
    float: left;
}

.dt-buttons {
    margin-bottom: 10px;
}


.percent-text {
    font-size: 26px;
    font-weight: bold;
}

.modal-fullscreen .modal-body{
    overflow-y: initial;
}


@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1500px !important;
    }
}

.custom-legend {
    font-size: 20px;
    font-weight: bold;
}

.text-right{
    text-align: right;
}

.home-card {
    border-radius: 15px;
}
    .home-card > .card-body {
        background-color: #fff;/*rgba(var(--grey), 0.1);*/
        border-radius: 15px;
        border: 1px solid var(--bgprimary);
    }
.home-card > .card-body > h5 {
    color: var(--grey);
    font-weight: 600 !important;
}
.home-card > .card-body > i {
    color: var(--bgprimary);
}

.topnav .navbar-nav .nav-item .nav-link{
    padding-left:5px;
}
#new-list {
    width: 100%;
    padding: 20px 0px;
}
    #new-list .profile-box:hover{
        cursor:pointer;
    }
    .profile-box img {
        border-radius: 50%;
        max-width: 160px;
        display: block;
        margin: 0 auto;
        margin-bottom: 20px;
    }
/* Footer logo */
/*.prefooter {
    position: absolute;
    bottom: 90px;
    width: 100%;
}

    .prefooter .col-sm .iconsvg {
        height: 26px;
        background-color: rgba(0,0,0,0.2);
        -webkit-mask-size: contain !important;
        mask-size: contain !important;
    }

    .prefooter .col-sm:nth-child(1) .iconsvg {
        -webkit-mask: url(../assets/images/logo-tirreno.svg) no-repeat center;
        mask: url(../assets/images/logo-tirreno.svg) no-repeat center;
    }

    .prefooter .col-sm:nth-child(2) .iconsvg {
        -webkit-mask: url(../assets/images/logo-ferrara.svg) no-repeat center;
        mask: url(../assets/images/logo-ferrara.svg) no-repeat center;
    }

    .prefooter .col-sm:nth-child(3) .iconsvg {
        -webkit-mask: url(../assets/images/logo-modena.svg) no-repeat center;
        mask: url(../assets/images/logo-modena.svg) no-repeat center;
    }

    .prefooter .col-sm:nth-child(4) .iconsvg {
        -webkit-mask: url(../assets/images/logo-reggio.svg) no-repeat center;
        mask: url(../assets/images/logo-reggio.svg) no-repeat center;
    }

    .prefooter .col-sm:nth-child(5) .iconsvg {
        -webkit-mask: url(../assets/images/logo-sardegna.svg) no-repeat center;
        mask: url(../assets/images/logo-sardegna.svg) no-repeat center;
    }*/

    /*div.dataTables_scrollBody {
        overflow: inherit !important;
    }*/




/*    div.dropdown-menu.show {
        left: -12em;
    }*/
table.dataTable tbody td {
    vertical-align: middle;
}

table.dataTable.dtr-inline.collapsed.table-sm > tbody > tr > td:first-child:before, table.dataTable.dtr-inline.collapsed.table-sm > tbody > tr > th:first-child:before {
     top: 50% !important; 
}

.select2-selection__clear {
    position: absolute !important;
    right: 40px !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 50px !important;
}

.page-title-box h4{display:none;}
/**
Modal Almost Full Screen
**/
.modal-almost-fullscreen {
    width: 98vw;
    max-width: none;
    height: 95%;
    /*margin-top: 4px;
    margin-bottom: 2px;*/
}

.modal-header .close {
    border: 0px;
    background: transparent;
    font-size: 30px;
    line-height: 24px;
}

.modal-almost-fullscreen .modal-content {
    height: max-content;
    border: 0;
}

.modal-almost-fullscreen form {
    height: 100%;
}

.modal-almost-fullscreen .modal-header,
.modal-almost-fullscreen .modal-footer {
    border-radius: 0;
}

.modal-almost-fullscreen .modal-body {
    overflow-y: auto;
}


/*FIX MENU*/
@media (max-width: 1599px) {
    .topnav .navbar-nav .nav-item .nav-link {
        max-width: 100px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 2199px) {
    .topnav .navbar-nav .nav-item .nav-link {
        max-width: 160px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
