/* datatable */
@media (min-width: 768px) {
    .dataTables_wrapper .top .dataTables_info {
        float: left;
    }
}

.table > tbody > tr.selected > td {
    background-color: #ffcc99;
}

.table-responsive table thead th {
    white-space: nowrap;
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    padding: 5px;
}

.pl-4, .card-body.p-0 .table thead > tr > th:first-of-type, .card-body.p-0 .table thead > tr > td:first-of-type, .card-body.p-0 .table tbody > tr > th:first-of-type, .card-body.p-0 .table tbody > tr > td:first-of-type, .px-4 {
    padding-left: 15px !important;
}

.card-header {
    padding: 0.75rem 1rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #007bff !important;
    border-color: #ced4da !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #ffffff !important;
}

label.error {
    color: red;
}

.select2-container--default .select2-selection--multiple {
    background-color: #fafafa !important;
    border: 0;
    border-radius: 0;
}
.select2-selection.select2-selection--multiple {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 23px;
}
.table-responsive table .check,
.table-responsive table .id,
.table-responsive table .num,
.table-responsive table .attivo {
    width: 1%;
}

.table-responsive table .foto {
    width: 1%;
}

.table-responsive table tbody .foto {
    text-align: center;
    background-color: #e5e5e5;
}

.table-responsive table .data {
    width: 12%;
}

.pagination > li:first-child > a, .pagination > li:first-child > span,
.pagination > li:last-child > a, .pagination > li:last-child > span {
    border-radius: 0;
}

@media (min-width: 768px) {
    .dataTables_wrapper .dataTables_length {
        float: left;
    }

}

@media (max-width: 767px) {
    .dataTables_length {
        /*  padding-top: 5px;*/
    }

    .tab-content .btn-group {
        padding-bottom: 10px;
    }

    .tab-content .btn-group {
        /* left: 50%;
         transform: translate(-50%, 0);*/
    }
}

/* modal */
.modal-lg iframe {
    width: 100%;
    height: 400px;
}

@media (min-width: 992px) {
    .modal-lg {
        width: 95%;
        max-width: 95%
    }

    .modal-lg iframe {
        height: 75vh;
    }
}

#myModal .modal-body {
    height: 80vh;
    margin-bottom: 20px;
    overflow: auto;
}

#myModal .modal-body {
    position: relative;
    padding: 15px;
}

/* button loading */
@-webkit-keyframes ld {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@-moz-keyframes ld {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@-o-keyframes ld {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes ld {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.m-progress {
    position: relative;
    opacity: .8;
    color: transparent !important;
    text-shadow: none !important;
}

.m-progress:hover,
.m-progress:active,
.m-progress:focus {
    cursor: default;
    color: transparent;
    outline: none !important;
    box-shadow: none;
}

.m-progress:before {
    content: '';
    display: inline-block;
    position: absolute;
    background: transparent;
    border: 2px solid #fff;
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;

    box-sizing: border-box;

    top: 50%;
    left: 50%;
    margin-top: -12px;
    margin-left: -12px;

    width: 24px;
    height: 24px;

    -webkit-animation: ld 0.9s ease-in-out infinite;
    -moz-animation: ld 0.5s ease-in-out infinite;
    -o-animation: ld 0.1s ease-in-out infinite;
    animation: ld 1s ease-in-out infinite;
}

.btn-default.m-progress:before {
    border-left-color: #333333;
    border-right-color: #333333;
}

.btn-lg.m-progress:before {
    margin-top: -16px;
    margin-left: -16px;

    width: 32px;
    height: 32px;
}

.btn-sm.m-progress:before {
    margin-top: -9px;
    margin-left: -9px;

    width: 18px;
    height: 18px;
}

.btn-xs.m-progress:before {
    margin-top: -7px;
    margin-left: -7px;

    width: 14px;
    height: 14px;
}

/* select2 */
.select2-container--default .select2-selection--single .select2-selection__clear {
    font-size: 22px;
    margin-right: 10px;
}

.select2-selection.select2-selection--single, .select2-selection.select2-selection--multiple {
    background-color: #ffffff;
    border: 1px solid rgba(0, 40, 100, 0.12);
    min-height: 36px;
    padding-top: 7px;
    font-size: 18px;
    border-radius: 3px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px !important;
}

.select2 {
    max-width: 100%;
}

@media screen and (max-width: 767px) {
    .select2 {
        width: 100% !important;
    }
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0 !important;
}

.select2-container .select2-search--inline .select2-search__field {
    padding-left: 8px;
}

.btn-header-group {
    float: right;
}

.content-header {
    padding: 10px 0.5rem;
}

.breadcrumb-item {
    font-size: 12px;
}

div#page_loader, div.page_loader {
    display: none;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../img/loader.gif) center no-repeat rgba(255, 255, 255, 0.5);
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    font-size: 22px;
    margin-right: 10px;
}

.form-control, .select2-selection.select2-selection--single, .select2-selection.select2-selection--multiple {
    background-color: #fafafa;
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

.form-control {
    padding: 6px 9px;
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

.card .card-header:last-child {
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.radio-inline .radio {
    margin-top: 7px;
}

.radio-inline .radio label {
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 0;
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: normal;
}

@media screen and (min-width: 576px) {
    .form-horizontal .control-label {
        padding-top: 7px;
        margin-bottom: 0;
        text-align: right;
    }
}

@media screen and (min-width: 991px) {

    .card-body.form-horizontal {
        padding-right: 20%;
    }
}

.table tr th {
    font-weight: normal;
    font-size: .8rem;
}

.page-title {
    font-size: 20px;
}

.page-title small {
    font-size: 22px;
    text-transform: capitalize;
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link > .nav-icon {
    font-size: 0.8rem;
}

.nav-item ul li a {
    background: #000000;
    padding: 5px 15px;
}

.btn-custom {
    background-color: #fdaf17;
    color: #ffffff;
}

.small-box .icon > i {
    top: 5px;
    right: 10px;
    font-size: 40px;
}

.small-box:hover .icon > i {
    font-size: 45px;
}

.riga-totali td {
    font-weight: bold;
    font-size: 22px;
}

.bg-now {
    background: #86e29b !important;
}

.user-name {
    line-height: 18px;
    padding-top: 2px;
}

.card-custom {
    background-color: #f5f5f5
}

#chartdiv {
    width: 100%;
    height: 700px;
}

.td- {
    background-color: #f1aeb5;
}

.ti- {
    background-color: #f1aeb5;
}

.td-1 {
    background-color: #cccccc;
}

.ti-1 {
    background-color: #ffc108;
}

.gototop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.gototop.active {
    opacity: 1;
    visibility: visible;
}

.gototop a {
    width: 40px;
    height: 40px;
    display: table;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
}

.gototop a i {
    height: 40px;
    display: table-cell;
    vertical-align: middle;
}

.gototop a:hover, .gototop a:active, .gototop a:focus {
    text-decoration: none;
    outline: none;
}

.btn {
    padding: 0.29rem 0.75rem;
    text-transform: uppercase;
    font-size: 14px;
}

.label-tpl {
    font-size: 12px;
}

div.dataTables_wrapper div.dataTables_processing {
    background-color: #ffcc99;
    z-index: 1;
}

th .fa {
    display: none !important;
}

.breadcrumb-item.active {
    max-width: 200px;
    height: 28px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-sx {
    padding: 0.15rem 0.55rem;
}

span.error {
    color: red;
    font-size: 0.7em;
}

.btn-stati {
    margin-bottom: 1px;
}

.fc-button {
    padding: .2em .65em !important;
    text-transform: uppercase !important;
    font-size: .9rem !important;
}

.fc-toolbar.fc-header-toolbar {
    margin-bottom: 1em !important;
}

.fc-left-bar .rounded a {
    color: #0b2e13;
    display: block;
}

.fc-left-bar .fc-title {
    padding: 30px 10px 20px 5px
}

.col-ellipsis {
    text-overflow: ellipsis " [..]";
    overflow: hidden;
    white-space: nowrap;
}

#resultStats {
    position: relative;
}

.loader-stats {
    background-color: rgba(255, 255, 255, 0.47);
    width: 100%;
    height: 100vh;
    text-align: center;
    position: absolute;
    z-index: 100;
    padding: 30px;
    display: none;
}

#mainNav .nav-link {
    padding: 0.1rem 1rem 0.2rem;
    font-size: .9rem;
}

.card-custom .nav-link {
    font-size: .9rem;
}

.nav-sidebar .nav-item > .nav-link {
    margin-bottom: 0.1rem;
}

.nav-sidebar > .nav-item .nav-icon.fa, .nav-sidebar > .nav-item .nav-icon.fas, .nav-sidebar > .nav-item .nav-icon.far, .nav-sidebar > .nav-item .nav-icon.fab {
    font-size: 1rem;
}

.my-agenda .fc-toolbar {
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
    margin-bottom: .5rem !important;
}

.my-agenda .fc-toolbar .fc-center {
    text-transform: capitalize;
}

.my-agenda .fc-toolbar .fc-center h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.select2-results__option {
    padding: 1px 6px;
}

.my-scrollable {
    height: 200px;
    overflow-y: auto;
    background-color: #f5f5f5;
    padding: 10px;
    position: relative;
}

.sortable li div.handle{
    padding: 2px 6px !important;
    font-size: .9rem;
}

.user-info-job{
    max-width: 200px;
    height: 25px;
    width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}
.table-stats .badge {
    font-size: 15px;
    font-weight: normal;
    min-width: 100%;
    text-align: right;
}
.nav-sidebar .nav-link > p > .right {
    top: 7px;
}
.text-upercase{
    text-transform: uppercase;
}
