/* 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;
}

.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%
    }

    .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 {
    padding: 2px !important;
    font-size: 12px !important;
}

.btn-xs.m-progress:before {
    margin-top: -7px;
    margin-left: -7px;

    width: 14px;
    height: 14px;
}

/* select2 */
.select2-container--default .select2-selection--multiple {
    background-color: #fafafa !important;
    border: 1px solid #ced4da !important;
    border-radius: 0;
}

.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;
}

.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 #ced4da !important;
    min-height: 36px;
    padding-top: 7px;
    font-size: 18px;
    border-radius: 3px !important;
}

.select2-selection.select2-selection--multiple {
    padding-top: 0;
    padding-bottom: 0;
}

.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: 0;
    top: 0;
    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;
    font-size: 0.9rem;
}

.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
}

@media screen and (max-width: 767px) {
    .card-custom ul li {
        font-size: 12px;
    }
}

.table-calendario thead tr th {
    text-transform: capitalize;
}

.fc-toolbar.fc-header-toolbar {
    margin-bottom: 0.5em !important;
}

.fc-toolbar, .fc-toolbar.fc-header-toolbar {
    padding: 0 !important;
}

.fc-center {

}

.fc-center h2 {
    text-transform: capitalize;
    font-size: 18px !important;
}

.alert-cal {
    padding: 2px 5px;
    margin-bottom: 1px;
    border-radius: 3px;
    line-height: 16px;
}

.alert-cal small {
    display: block;
}

.alert-cal a {
    color: #ffffff;
}

/* modal */
.modal-lg iframe {
    width: 100%;
    height: 500px;
}

@media (min-width: 992px) {
    .modal-lg {
        width: 90%
    }

    .modal-lg iframe {
        /*height: 80vh;*/
    }
}

@media (min-width: 1070px) {
    .modal-full {
        margin-left: 17px;
    }
}

@media screen and (min-width: 768px) {

    .modal-full .modal-lg {
        width: 95%;
        max-width: 95%;
    }

    .modal-full .modal-content {
        min-height: 90vh;
    }
}

table.cal tr .td-day {
    position: relative;
    width: 13.5%;
    height: 45px;
}

table.cal tr .td-day.f-1 {
    background-color: #ffc4c4;
}

.td-month label {
    background-color: #d9e8fa;
    padding: 3px;
}

table.cal tr .td-week label {
    display: block;
    background-color: #d9e8fa;
    padding: 0 3px;
    height: 100px;
    cursor: pointer;
}

table.cal tr .td-day label {
    display: block;
    background-color: rgba(0, 255, 31, 0.02);
    cursor: pointer;
}

table.cal tr .td-day .day {
    font-size: 15px;
    text-align: right;
    background-color: #d9e8fa;
    margin-bottom: 5px;
    padding-right: 5px;
}

.g-0 {
    background-color: #fff8f8;
}

.g-6 {
    background-color: #f5f5f5;
}

@media screen and (min-width: 578px) {
    .cal-header .btn-group {
        float: right;
    }
}

@media screen and (max-width: 767px) {
    .cal-header {
        text-align: center;
    }

    .cal-header .btn-group {
        padding-bottom: 5px;
    }
}

.td-day .canc {
    background-color: #ffb1b1 !important;
    position: absolute;
    right: 2px;
    top: 1px
}

.td-day .user {
    background-color: #008499;
    padding: 0 2px;
}

.dtr-details #checkAll {
    display: none !important;
}

th .fa {
    display: none !important;
}

@media screen and (max-width: 767px) {
    .card-header .btn-group.float-right {
        margin-top: 10px;

    }
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
    top: 40%;
    height: 1.2em;
    width: 1.2em;
    line-height: 1.3em;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control {
    padding-left: 40px;
}

span.error {
    font-size: 12px;
    color: red;
    font-weight: bold;
}

.box-group {
    border-bottom: 1px solid #dfdfdf5e;
    margin-bottom: 2px;
    position: relative;
    padding: 2px;
    font-size: small;
}

.box-group a {
    display: block;
}

.box-group .fa-times {
    font-size: 12px;
}

.box-group label {
    position: absolute;
    top: -1px;
    right: 0;
}

.alert-cal .box-group:last-child {
    border: none;
}

.box-scroll {
    height: 500px;
    overflow-y: scroll;
    margin-right: 20px;
    background-color: #f5f5f5;
    padding: 10px
}

td.select {
    background-color: #ffcc99 !important;
}

.btn {
    padding: 0.29rem 0.75rem;
    text-transform: uppercase;
    font-size: 14px;
}

.box-group-evento {
    background-color: #ffc107;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 3px;
    line-height: 16px;
    font-size: 12px;
    position: relative;
}

.box-group-evento label {
    position: absolute;
    top: 1px;
    right: 3px;
}

.box-group-evento div {
    background-color: #edb200;
    padding: 2px;
    border-radius: 3px;
    font-weight: bold;
}

.box-group-reper div {
    background-color: #c3e6cb;
    padding: 2px;
    border-radius: 3px;
    font-weight: bold;
}

.box-group-reper {
    background-color: #d4edda;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 3px;
    line-height: 16px;
    font-size: 12px;
    position: relative;
}

.box-group-reper label {
    position: absolute;
    top: 1px;
    right: 3px;
}

#map {
    width: 100%;
    height: 600px;
}

.infoWindow h3 {
    font-size: 16px;
    margin: 0;
    padding: 0;
}

.login-box .card-body, .login-box .card {
    border-radius: 10px;
}

.login-box-msg {
    font-size: 22px;
}

.login-box .card-body {
    padding: 20px 30px;
}

.form-login .input-group-append {
    width: 44px;
    text-align: center;
}

.form-login .btn-custom {
    font-size: 20px;
}

.form-login span.error {
    position: absolute;
    bottom: -14px;
}

.form-login .input-group {
    padding-bottom: 8px;
}

@media screen and (max-width: 991px) {
    .card-header .row-md-2 [class*="col-"] {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 767px) {
    .card-header .row [class*="col-"] {
        margin-bottom: 10px;
    }
}

.login-card-body .input-group .input-group-text, .register-card-body .input-group .input-group-text {
    background-color: #fafafa;
}

.list-avvisi {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.list-avvisi li {
    padding: 5px;
    border-bottom: 1px solid #e5e5e5;
}

.list-avvisi li:last-child {
    border: 0;
}

.user-block .comment, .user-block .description, .user-block .username {
    margin-left: 0;
}

.info-box .info-box-content {
    line-height: 1rem;
}

.info-box {
    min-height: 65px;
}

.post .user-block {
    margin-bottom: 0;
}

.post {
    color: #212529;
    border-bottom: 1px solid #dee2e6;
}

.w1 td {
    background-color: #a3cfbb;
}

.bg-open, .bg- {
    background-color: #17a2b8 !important;
    text-transform: uppercase;
    color: #ffffff;
}

.bg-work {
    background-color: #ffc107 !important;
    text-transform: uppercase;
    color: #ffffff;
}

.bg-close {
    background-color: #198754 !important;
    text-transform: uppercase;
    color: #ffffff;
}

.ellips {
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.info-box .info-box-icon {
    width: 35px;
    font-size: 1.5rem;
}

.btn-stati {
    color: #ffffff;
    font-size: 12px !important;
    padding: 1px 6px;
}

.btn-stati span {
    font-size: 14px;
}

.row-admin {
    background-color: #e5e5e5;
}

.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;
}

.table-marcature tr td {
    padding: 2px !important;

}

.table-marcature tr td div {
    margin-bottom: 1px !important;
}

.table-marcature tr td .badge {
    font-size: 85%;
}

.box-group-reper.tipo1 {
    color: red;
}

@media print {
    .no-print {
        display: block;
    }

    div, span, a {
        color: #000000 !important;
    }
}
