body {
    font-size: var(--bs-body-font-size);
    /*font-family: var(--primary-font-family);*/
    font-family: var(--primary-font-family);
    font-weight: initial;
    line-height: normal;
    -webkit-font-smoothing: antialiased;
}

h1,
.h1,
h2,
h3,
h4,
h5,
h6,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 500;
    line-height: 1;
}

/*p {*/
/*  font-size: 0.875rem;*/
/*  margin-bottom: 0.5rem;*/
/*  line-height: 1.3rem;*/
/*}*/

h1,
.h1 {
    font-size: var(--font-size-xxl);
}

h2,
.h2 {
    font-size: var(--font-size-xl);
}

h3,
.h3 {
    font-size: var(--font-size-l);
}

h4,
.h4 {
    font-size: var(--font-size-xm);
}

h5,
.h5 {
    font-size: var(--font-size-m);
}

h6,
.h6 {
    font-size: var(--font-size-r);
}

.display-1 {
    font-size: 3.75rem;
}

.text-space-minor {
    letter-spacing: -0.06rem;
}

@media (max-width: 991px) {
    .display-1 {
        font-size: 3rem;
    }
}

.display-2 {
    font-size: 3.125rem;
}

@media (max-width: 991px) {
    .display-2 {
        font-size: 2.5rem;
    }
}

.display-3 {
    font-size: 2.5rem;
}

@media (max-width: 991px) {
    .display-3 {
        font-size: 2rem;
    }
}

.display-4 {
    font-size: 1.875rem;
}

@media (max-width: 991px) {
    .display-4 {
        font-size: 1.5rem;
    }
}

.display-5 {
    font-size: 1.25rem;
}

@media (max-width: 991px) {
    .display-5 {
        font-size: 1rem;
    }
}

.blockquote {
    padding: 1.25rem;
    border: 1px solid #c9ccd7;
}

.blockquote-footer {
    margin-top: 0rem;
    margin-bottom: 1rem;
    font-size: 0.875em;
    color: #6c757d;
}

address p {
    margin-bottom: 0;
}

.blockquote-primary {
    border-color: #248afd;
}

.blockquote-primary .blockquote-footer {
    color: #248afd;
}

.blockquote-secondary {
    border-color: #a3a4a5;
}

.blockquote-secondary .blockquote-footer {
    color: #a3a4a5;
}

.blockquote-success {
    border-color: #71c016;
}

.blockquote-success .blockquote-footer {
    color: #71c016;
}

.blockquote-info {
    border-color: #68afff;
}

.blockquote-info .blockquote-footer {
    color: #68afff;
}

.blockquote-warning {
    border-color: #f5a623;
}

.blockquote-warning .blockquote-footer {
    color: #f5a623;
}

.blockquote-danger {
    border-color: #ff4747;
}

.blockquote-danger .blockquote-footer {
    color: #ff4747;
}

.blockquote-light {
    border-color: #f8f9fa;
}

.blockquote-light .blockquote-footer {
    color: #f8f9fa;
}

.blockquote-dark {
    border-color: #282f3a;
}

.blockquote-dark .blockquote-footer {
    color: #282f3a;
}

.error-page h1, .error-page .h1 {
    font-size: 12rem;
}

@media (max-width: 991px) {
    .error-page h1, .error-page .h1 {
        font-size: 8rem;
    }
}

textarea {
    width: 100% !important;
    height: 8rem !important;
}

.text-twitter {
    color: #2caae1;
}

.text-facebook {
    color: #3b579d;
}

.text-google {
    color: #dc4a38;
}

.text-linkedin {
    color: #0177b5;
}

.text-pinterest {
    color: #cc2127;
}

.text-youtube {
    color: #e52d27;
}

.text-github {
    color: #333333;
}

.text-behance {
    color: #1769ff;
}

.text-dribbble {
    color: #ea4c89;
}

.text-reddit {
    color: #ff4500;
}

.page-header {
    margin-bottom: 2.5rem;
}

.page-header .page-title {
    margin-bottom: 0;
    line-height: 0.85;
}

.font-weight-medium {
    font-weight: 500;
}

.box-help {
    color: #151616 !important;
    border-left: 7px solid #2a6478 !important;
    padding: 0.8rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}

.div-help {
    border-radius: 4px;
    border-left: 7px solid #2a6478 !important;
    color: #151616 !important;
    padding: 0.4rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}

.div-help i.bi {
    color: #2a6478 !important;
}

.div-info {
    border-radius: 4px;
    border-left: 7px solid var(--bs-primary-border-subtle) !important;
    color: #151616 !important;
    padding: 0.4rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}

.div-info i.bi {
    color: var(--bs-primary-border-subtle) !important;
}

.box-info {
    /*--bs-text-opacity: 1;*/
    color: #151616 !important;
    /*border: 1px solid #2a6478;*/
    /*border: 1px solid #d4e0e4;*/
    border-left: 5px solid var(--bs-warning) !important;
    /*border-right: 5px solid #2a6478 !important;*/
    /*font-weight: 300;*/
    padding: 0.8rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}


/*AGGIUNTE*/
a {
    text-decoration: none;
}

.text-xxxl {
    font-size: var(--font-size-xxxl) !important;
}

.text-xxl {
    font-size: var(--font-size-xxl) !important;
}

.text-xl {
    font-size: var(--font-size-xl) !important;
}

.text-l {
    font-size: var(--font-size-l) !important;
}

.text-xm {
    font-size: var(--font-size-xm) !important;
}

.text-m {
    font-size: var(--font-size-m) !important;
}

.text-r {
    font-size: var(--font-size-r) !important;
}

.text-s {
    font-size: var(--font-size-s) !important;
}

.text-xs {
    font-size: var(--font-size-xs) !important;
}

@media screen and (max-width: 767px) {
    body {
        font-size: var(--bs-body-font-size-mobile);
    }

    .text-xxxl {
        font-size: var(--font-size-xxxl-mobile) !important;
    }

    .text-xxl {
        font-size: var(--font-size-xxl-mobile) !important;
    }

    .text-xl {
        font-size: var(--font-size-xl-mobile) !important;
    }

    .text-l {
        font-size: var(--font-size-l-mobile) !important;
    }

    .text-xm {
        font-size: var(--font-size-xm-mobile) !important;
    }

    .text-m {
        font-size: var(--font-size-m-mobile) !important;
    }

    .text-r {
        font-size: var(--font-size-r-mobile) !important;
    }

    .text-s {
        font-size: var(--font-size-s-mobile) !important;
    }

    .text-xs {
        font-size: var(--font-size-xs-mobile) !important;
    }
}

/**
dropdown
 */
.dropdown-menu.dropdown-menu-action {
    margin-top: 0;
    font-size: 0.875rem;
    /*box-shadow: 0px 1px 15px 1px rgba(230, 234, 236, 0.35);*/
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 0;
    text-transform: uppercase;
    /*font-family: "Roboto", sans-serif;*/
}



/**
NAVS
*/
.nav-tabs-mine {
    font-variant: small-caps;
    font-size: 1.3em;
    font-weight: 400;
    line-height: 1.5em;
}

.nav-tabs-mine.active {
    font-weight: 500;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    border-top: #FFFFFF;
    border-right: #FFFFFF;
    border-left: #FFFFFF;
    border-bottom: 3px solid #0D9737;
    background-color: #f8f9fa;
}

/**
LEAFEFT MAPS
 */
.leaflet-popup-content {
    margin: 13px 24px 13px 20px;
    line-height: 1.3;

    min-height: 1px;
    font-family: var(--primary-font-family);
    font-size: var(--bs-body-font-size);
    font-weight: initial;
}

.leaflet-top, .leaflet-bottom {
    z-index: 0 !important;
}

.leaflet-pane {
    z-index: 0 !important;
}


.canvas-body {
    height: 100% !important;
}

table.dataTable thead > tr > th.sorting, table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting_asc_disabled, table.dataTable thead > tr > th.sorting_desc_disabled, table.dataTable thead > tr > td.sorting, table.dataTable thead > tr > td.sorting_asc, table.dataTable thead > tr > td.sorting_desc, table.dataTable thead > tr > td.sorting_asc_disabled, table.dataTable thead > tr > td.sorting_desc_disabled {
    padding-right: 26px !important;
}

div.table-responsive > div.dataTables_wrapper > div.row {
    margin-top: 0.1em !important;
}

/**
FORM
*/
.form-floating .select2-container--bootstrap-5 .select2-selection {
    height: calc(3rem + 2px) !important;
    padding: 1rem 0.75rem !important;
}

.form-floating .tagify {
    height: calc(3.7rem + calc(var(--bs-border-width) * 2)) !important;
    min-height: calc(3.7rem + calc(var(--bs-border-width) * 2)) !important;
    line-height: 1.25 !important;
}

.form-floating .select2-container--bootstrap-5 .select2-selection > .select2-selection__rendered {
    margin-top: 0.4rem !important;
    margin-left: 0.15rem !important;
}

.form-floating > .form-control, .form-floating > .form-control-plaintext, .form-floating > .form-select {
    height: calc(3rem + calc(var(--bs-border-width) * 2));
    min-height: calc(3rem + calc(var(--bs-border-width) * 2));
    line-height: 1.25;
}

.form-floating > label {
    text-transform: uppercase !important;
}

/**
Tables
*/
.table, .jsgrid .jsgrid-table {
    margin-bottom: 0;
}

.table thead th, .jsgrid .jsgrid-table thead th {
    border-top: 0;
    border-bottom-width: 1px;
    font-weight: 500;
    font-size: 1rem;
}

.table thead th i, .jsgrid .jsgrid-table thead th i {
    margin-left: 0.325rem;
}

.table th, .jsgrid .jsgrid-table th,
.table td,
.jsgrid .jsgrid-table td {
    vertical-align: middle;
    line-height: 1;
    white-space: nowrap;
    /*padding: 0.75rem 0.75rem;*/
}

.table td calendar-cell {
    text-wrap: normal !important;
}

.table td, .jsgrid .jsgrid-table td {
    font-size: var(--wfm-td-font-size);
}

.table-firstcol thead tr th:first-child, .table-firstcol tbody tr td:first-child {
    position: sticky;
    left: 0px;
    /*background-color:grey;*/
}

.table td img, .jsgrid .jsgrid-table td img {
    /*width: 36px;*/
    /*height: 36px;*/
    border-radius: 100%;
}

.table td .badge, .jsgrid .jsgrid-table td .badge {
    margin-bottom: 0;
}

.table.table-borderless, .jsgrid .table-borderless.jsgrid-table {
    border: none;
}

.table.table-borderless tr, .jsgrid .table-borderless.jsgrid-table tr,
.table.table-borderless td,
.jsgrid .table-borderless.jsgrid-table td,
.table.table-borderless th,
.jsgrid .table-borderless.jsgrid-table th {
    border: none;
}

.table.table-bordered, .jsgrid .table-bordered.jsgrid-table {
    border-top: 1px solid #c9ccd7;
}

.table > :not(:last-child) > :last-child > *, .jsgrid .jsgrid-table > :not(:last-child) > :last-child > * {
    border-bottom-color: #c9ccd7;
}

.table > :not(:first-child), .jsgrid .jsgrid-table > :not(:first-child) {
    border-top: none;
}

.table thead th {
    font-size: .75rem;
    text-transform: uppercase;
    font-weight: var(--font-bold-weight);
    border-color: rgba(231, 234, 243, .7) !important;
}

.table .thead-light th {
    /*color: rgb(49, 55, 74, .7) !important;*/
    background-color: rgba(231, 234, 243, .1) !important;
    /*border-color: rgba(231, 234, 243, .7) !important;*/
    padding-top: 0.625em;
    padding-bottom: 0.625em;
    font-size: var(--font-bold-weight);
    line-height: 1em;
    font-weight: 500;
    border-top: 1px solid var(--table-border-std);
    vertical-align: middle;
}

.table > tbody > tr > td {
    vertical-align: middle;
    /*color: rgb(103, 119, 136);*/
    /*color: rgb(54, 69, 79);*/
    color: var(--cell-font-color);
    /*color: var(--primary-font-color);*/
    /* 	color: black; */
}

.table > tbody > tr > td > div {
    vertical-align: middle;
}

#mapSchedaCliente {
    height: 500px;
    /* The height is 400 pixels */
    width: 100%;
    /* The width is the width of the web page */
    background-color: #cecece;
}

.dot-s {
    display: inline-block;
    margin-right: 4px;
    border-radius: 7px;
    width: 7px;
    height: 7px;
}

.dot-m {
    display: inline-block;
    margin-right: 4px;
    border-radius: 10px;
    width: 10px;
    height: 10px;
}

.bullet-item {
    height: .5rem;
    width: 1rem;
    border-radius: 2px;
}

/*TOOLTIP*/

.custom-tooltip {
    --bs-tooltip-bg: var(--bs-primary);
    font-family: var(--primary-font-family);
}

.custom-tooltip-m {
    text-align: left;
    --bs-tooltip-bg: var(--bs-secondary);
    --bs-tooltip-font-size: var(--font-size-r);
    font-family: var(--primary-font-family);
}

.custom-popover {
    font-family: var(--primary-font-family);
    --bs-popover-max-width: 200px;
    --bs-popover-border-color: var(--bs-secondary);
    --bs-popover-header-bg: var(--bs-secondary);
    --bs-popover-header-color: var(--bs-white);
    --bs-popover-font-size: var(--font-size-s);
    --bs-popover-header-font-size: var(--font-size-r);
    --bs-popover-body-padding-x: 1rem;
    --bs-popover-body-padding-y: .5rem;
}


#tooltip {
    /*display: inline-block;*/
    background: #cecece;
    color: #643045;

    padding: 5px 10px;
    font-size: 13px;
    border-radius: 4px;
    display: none;
}

#tooltip[data-show] {
    display: block;
}

/*ION range slider*/
.irs {
    font-family: var(--primary-font-family) !important;
}

.mark {
    /*display: block;*/
    position: absolute;
    top: 45px;
    /*background: #ed5565;*/
    /*transform: rotate(-45deg);*/
    padding: 1px 6px;
    border-radius: 3px;
    /*color: #fff;*/
    /*align-items: center !important;*/

    /*margin-left: -45px;*/
}

#timebox {
    border: 1px solid rgb(155, 155, 155);
    padding-left: 0.7rem;
    padding-right: 0.8rem;
    border-radius: 9px;
    background: #f9f9f9;
    color: #000;
}

/*FLATPICKR CUSTOMIZATION*/
.flatpickr-calendar {
    font-size: var(--font-size-s) !important;
}

.wlm-contextMenu {
    position: absolute;
    border: 1px solid #cecece;
    background-color: #FFFFFF;
    min-width: 12rem;
    padding: 7px;
    z-index: 9999;
}

.wlm-contextMenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wlm-contextMenu ul li {
    /*display: inline-block;*/
    position: relative;
    text-transform: uppercase;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 5px;
    letter-spacing:-0.3px;

}

.wlm-contextMenu ul li:not(.disabled, .divider):hover {
    background-color: RGBA(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important;
    color: #fff !important;
}

.wlm-contextMenu ul li:not(.disabled):hover a,
.wlm-contextMenu ul li:not(.disabled):hover i,
.wlm-contextMenu ul li:not(.disabled .divider):hover span  {
    color: inherit !important;
}

.wlm-contextMenu ul li.disabled {
    opacity: 0.6 !important;
}
.wlm-contextMenu ul li.divider {
    height: 0;
    margin: 0;
    margin-top: 3px;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.175);
    opacity: 1;
}

/*DAtE PICkeR*/
.week-active {
    background-color: #e8e8e8;
}


/*.calendar-commessa-page {*/
/*    display: grid;*/
/*    grid-auto-flow: row;*/
/*    !*grid-template-rows: repeat(4, 35vh);*!*/
/*    grid-template-columns: repeat(30, minmax(0, 1fr));*/
/*    !*grid-template-columns: 4em auto;*!*/
/*    !*grid-template-rows: repeat(18, minmax(7em, 1fr));*!*/
/*    grid-template-rows: auto;*/
/*}*/


