:root {
    --hh-red-color: #A9020D;
    --primary: #2D1967;
    --text-color: #212529;
    --menu-link-active: #2155cd;
    --sidebar-menu-color: #dff2f9;
    --menu-width: 300px;
    --fw-thin: 100;
    --fw-extralight: 200;
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    --fw-black: 900;
    --fs-normal: normal;
    --fs-italic: italic;
    --fs-italic: italic;
}

@keyframes global_loader {
    0% {
        top: 6px;
        height: 51px;
    }

    50%, 100% {
        top: 19px;
        height: 26px;
    }
}

html {
    font-family: "Poppins", serif;
}

body {
    font-family: "Poppins", serif;
    font-style: normal;
    font-size: 14px;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
}

.crm_body_bg:has(.global_loader_container.d-flex) {
    overflow: hidden;
}

.global_loader_container {
    background: rgba(249, 236, 236, 0.3);
    z-index: 9999999;
}

.global_loader {
    display: inline-block;
    position: relative;
    height: 60px;
    width: 60px;
}

.global_loader.colord_bg_1 div {
    background-color: var(--hh-red-color) !important;
}

.global_loader div {
    display: inline-block;
    position: absolute;
    left: 6px;
    animation: global_loader 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    width: 8px;
}

.global_loader div:nth-child(1) {
    left: 6px;
    animation-delay: -0.24s;
}

.global_loader div:nth-child(2) {
    left: 26px;
    animation-delay: -0.12s;
}

.global_loader div:nth-child(3) {
    left: 45px;
    animation-delay: 0s;
}

.opacity_disabled {
    opacity: 0.5;
}

.hidden {
    display: none !important;
}

.profile_info i {
    font-variation-settings: 'FILL' 1, 'wght' 200, 'GRAD' -25, 'opsz' 24;
    color: var(--hh-red-color);
}

.profile_info:hover .profile_info_iner {
    top: 23px;
}

.profile_info .profile_info_iner {
    position: absolute;
    right: -30px;
    width: 350px;
    transform: translateY(30px) translateX(20px);
    transition: .3s;
    top: 22px;
    border: 0;
}

.profile_info .profile_info_iner .profile_author_name {
    background: var(--hh-red-color) !important;
}

.profile_info .profile_info_iner::before {
    content: none;
    /*border-color: transparent transparent var(--hh-red-color) transparent !important;*/
}

.header_iner .header_right .header_notification_warp li > .bell_notification {
    font-size: 20px;
    color: #929BB5;
    position: relative;
    margin-right: 0;
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
}

.header_iner .header_right .header_notification_warp li > .bell_notification {
    line-height: 39px;
}

    .header_iner .header_right .header_notification_warp li > .bell_notification span {
        position: absolute;
        width: 20px;
        height: 20px;
        line-height: 20px;
        text-align: center;
        color: #fff;
        display: inline-block;
        background: #FF606D;
        font-size: 10px;
        border-radius: 50%;
        right: -11px;
        top: -4px;
    }

.bell_notification i {
    font-size: 40px;
    color: var(--hh-red-color);
}

.bell_notification:hover .Menu_NOtification_Wrap {
    opacity: 1;
    visibility: visible;
}

.notification_number {
    position: absolute;
    top: -4px;
    right: -2px;
    background: #000;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    color: #fff;
    font-size: 11px;
    text-align: center;
    vertical-align: middle;
    font-weight: var(--fw-bold);
    line-height: 20px;
}

.header_iner .header_right .header_notification_warp li > .bell_notification {
    font-size: 20px;
    color: #929BB5;
    position: relative;
    margin-right: 0;
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
}

.header_iner .header_right .header_notification_warp li > .bell_notification {
    line-height: 39px;
}

    .header_iner .header_right .header_notification_warp li > .bell_notification span {
        position: absolute;
        width: 20px;
        height: 20px;
        line-height: 20px;
        text-align: center;
        color: #fff;
        display: inline-block;
        background: #FF606D;
        font-size: 10px;
        border-radius: 50%;
        right: -11px;
        top: -4px;
    }

.bell_notification:hover .Menu_NOtification_Wrap {
    opacity: 1;
    visibility: visible;
}

.bootstrap-table .fixed-table-pagination > .pagination-detail {
    margin-top: 15px;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' -25, 'opsz' 24;
}

.header_iner {
    background: #fff;
    padding: 15px 30px;
    border-bottom: 0;
    z-index: 1050;
}

.modal-backdrop {
    z-index: 99999;
}

.sidebar {
    z-index: 99999;
    box-shadow: 0 0 50px rgba(183, 183, 183, 0.25);
}

    .sidebar #sidebar_menu a {
        cursor: pointer;
    }

    .sidebar #sidebar_menu > li > a:hover {
        background: #f6f6f6;
        border-radius: 6px 0px 0px 6px;
    }

    .sidebar #sidebar_menu > li ul {
        padding: 0px 0px 0px 20px;
        position: relative;
        margin: 10px 0;
    }

        .sidebar #sidebar_menu > li ul::before {
            content: "";
            width: 2px;
            height: 100%;
            background: var(--hh-red-color);
            position: absolute;
            left: 8px;
            border-radius: 8px;
        }

        .sidebar #sidebar_menu > li ul li a {
            padding: 10px 0 10px 20px !important;
            margin: 5px 0;
            font-size: 1em;
            font-weight: var(--fw-regular);
        }

            .sidebar #sidebar_menu > li ul li a:hover {
                color: var(--hh-red-color) !important;
            }

            .sidebar #sidebar_menu > li ul li a.active {
                color: var(--menu-link-active);
                background: #f6f6f6;
                border-radius: 6px 0px 0px 6px;
            }

    .sidebar #sidebar_menu > li:not(.mm-active) > a:hover:before {
        opacity: 1;
        visibility: visible;
    }

    .sidebar #sidebar_menu > li:not(.mm-active) > a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        background: var(--hh-red-color);
        height: 100%;
        border-radius: 6px 0px 0px 6px;
        left: -10px;
        border-radius: 0 8px 8px 0;
        opacity: 0;
    }

    .sidebar .footer_menu {
        position: absolute;
        bottom: 0;
    }

    .sidebar::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb {
        background-color: var(--primary);
        border-radius: 10px;
    }

    .sidebar::-webkit-scrollbar, body::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

.main_content.dashboard_part {
    overflow: visible;
}

.card_box .white_box_title.reverse {
    /*border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;*/
}

.colored_bg {
    background-color: var(--primary) !important;
}

.form-check-input[type="checkbox"] {
    border-radius: .25em;
    border-color: #D0D0D0 !important;
    margin-right: 6px;
}

.form-check-input[type="checkbox"]:checked {
    background-color: #fff !important;
}

.form-check-input {
    width: 1.5em;
    height: 1.5em;
    margin-top: 1px;
}

.form-check-label {
    font-size: 16px;
    display: inline;
}

a {
    color: var(--primary);
}

/*.header_iner .header_right .header_notification_warp li > a { line-height: 39px; }*/

.profile_info > i {
    font-size: 40px;
}

.details_toolbar .btn_label {
    font-size: 14px;
    line-height: 1.4em;
}

.Menu_NOtification_Wrap {
    top: 47px;
    text-align: left !important;
    transform: translateY(20px) translateX(20px);
}

.Menu_NOtification_Wrap .Notification_body .single_notify {
    margin-bottom: 12px;
    margin-top: 6px;
}

.Menu_NOtification_Wrap .Notification_body .single_notify .notify_content a h5 {
    line-height: 1.2;
}

.sidebar #sidebar_menu > li {
    margin-left: 10px;
}

    .sidebar #sidebar_menu > li a {
        font-size: 1rem;
        font-weight: var(--fw-regular);
        padding: 15px 25px 15px 15px;
        color: #000 !important;
    }

        .sidebar #sidebar_menu > li a .material-symbols-outlined {
            color: var(--hh-red-color);
            font-size: 1.8rem;
        }

    .sidebar #sidebar_menu > li.mm-active > a {
        border-radius: 6px 0 0 6px;
        background: #f6f6f6;
        font-weight: var(--fw-medium);
    }

        .sidebar #sidebar_menu > li.mm-active > a::before {
            left: -10px;
            border-radius: 0 8px 8px 0;
            background: var(--hh-red-color);
        }

        .sidebar #sidebar_menu > li.mm-active > a::after {
            right: 15px;
            color: #2D1967;
        }


.dropdown-item.active, .dropdown-item:active {
    color: #fff !important;
}

.dropdown .dropdown-menu .dropdown-item.active:hover {
    background: #0d6efd !important;
}

.fixed_width {
    width: 180px;
    min-width: 180px;
}

.fixed_width > div.d-block.w-100 {
    min-width: 130px !important;
    min-width: 360px;
}

.fixed_width2 {
    min-width: 180px;
    width: 180px;
}

.fixed_width2 > div.d-block.w-100 {
    min-width: 150px !important;
}

.fixed_width250 {
    min-width: 250px;
    width: 250px;
}

.fixed_width2 > div.d-block.w-100 {
    min-width: 180px !important;
}

.double_fixed_width {
    width: 360px;
    min-width: 360px;
}

    .double_fixed_width > div.d-block.w-100 {
        min-width: 360px !important;
    }

.fixed-columns-right {
    height: 0px !important;
}

.accordion-item {
    background-color: #f6faff;
}

.bootstrap-table .fixed-table-pagination > .pagination-detail {
    margin-bottom: 0;
}

.bootstrap-table .btn_action .material-symbols-outlined {
    font-size: 2em;
    color: #000;
}

.data_table thead th, .table thead th {
    background: #F9ECEC;
    color: #000;
}

.fixed-columns-right .data_table thead th, .fixed-columns-right .table thead th {
    background: transparent !important;
}

.data_table tbody tr:not(.table-secondary):not(.table-tertiary):nth-child(odd) > td,
.table tbody tr:not(.table-secondary):not(.table-tertiary):nth-child(odd) > td {
    background-color: #ffffff;
}

.data_table tbody tr:not(.table-secondary):not(.table-tertiary):nth-child(even) > td,
.table tbody tr:not(.table-secondary):not(.table-tertiary):nth-child(even) > td {
    background-color: #f6f6f6;
}

.table-hover > tbody > tr:hover {
    --bs-table-accent-bg: #e1e1e1;
}

.action_toolbar .btn {
    padding-left: 2em;
    position: relative;
    line-height: 1.4;
}

    .action_toolbar .btn i {
        position: absolute;
        left: 0;
        top: 0;
        width: 28px;
        line-height: 1;
        font-size: 27px;
    }

.card_box .white_box_title {
    background-color: var(--hh-red-color);
    padding: 20px 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

    .card_box .white_box_title h3 {
        color: #fff;
    }

.card_box .open_close_collapse.collapsed .white_box_title {
    background-color: #f6f6f6 !important;
}

    .card_box .open_close_collapse.collapsed .white_box_title h3 {
        color: #000 !important;
    }

.container-fluid.sticky-top .card_box .white_box_title {
    background-color: #fff;
    padding-left: 10px;
    padding-right: 10px;
    overflow: visible;
}

.card_box .box_body {
    padding: 20px 40px;
    margin-top: -30px;
    padding-top: 50px;
    border: 1px solid #E6E6E6;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.logo_mutua {
    max-width: 120px;
    max-height: 55px;
}

.open_close_collapse {
    color: var(--bs-secondary);
}

    .open_close_collapse:hover {
        /*color: var(--bs-secondary) !important;
    opacity: .7;*/
    }

.field_wrapper:not(.form-check):not(.no_border) {
    border-bottom: 1px solid #c4c4c4;
}

.form-check-input[type="checkbox"]:disabled, .form-check-input[type="checkbox"]:disabled ~ .form-check-label, .form-check-input[type="checkbox"][disabled] ~ .form-check-label {
    opacity: 1;
}

.btn_action {
    line-height: .7;
    padding: 0.1rem;
}

    .btn_action:hover {
        /*background: #FAFAFA;*/
    }

    .btn_action i {
        color: #000;
    }

    .btn_action .btn_label {
        color: #585E6A;
    }

    .btn_action > div {
        padding: .75em 1.5em .75em 1.25em !important;
        background: #F0F0F0;
        border-radius: 40px !important;
    }

.vertical_divider {
    /*width: 1px;
    height: auto;
    background: #E0E0E0;*/
    margin: 0 !important;
}

.custom_shadow {
    /*box-shadow: 0 0 2px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.14);*/
}

.small_border_radius {
    /*border-radius: 4px;*/
}

.green_icon {
    color: #498205 !important;
}

.red_icon {
    color: #a4262c !important;
}

.blue_icon {
    /*color: #0078d4 !important;*/
}

.green_bg {
    background: #498205 !important;
    color: #fff !important;
}

.red_bg {
    background: #a4262c !important;
    color: #fff !important;
}

.blue_bg {
    background: #0078d4 !important;
    color: #fff !important;
}

.grigio_bg {
    background: #808080 !important;
    color: #fff !important;
}

.giallo_bg {
    background: #FFFF00 !important;
    color: #fff !important;
}

.divider {
    border-bottom: 1px solid var(--sidebar-menu-color);
}

.ts-wrapper.multi .ts-control > div.active, .ts-wrapper.multi .ts-control > div.last-active {
    background: #2d1967;
    color: #fff;
    border: 0 solid #2d1967;
}

.ts-wrapper {
    width: 100%;
}

.single-select .ts-control, .multiple-select .ts-control, .ts-wrapper.single .ts-control {
    /*display: block;*/
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /*transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;*/
    border-color: #D0D0D0;
    border-radius: 10px;
    padding: .75rem;
}

.modal {
    z-index: 999999;
}

.fixed_height_table {
    height: 300px;
    overflow: auto;
}

.jconfirm.jconfirm-material .jconfirm-box div.jconfirm-content > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
}

.grey_font_color {
    color: #3C3C3C;
}

.ts-dropdown {
    margin: 0;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
}

.ts-dropdown .optgroup-header {
    font-weight: 700;
    font-style: italic;
}

.ts-wrapper.single.dropdown-active .ts-control {
    border-bottom: 1px solid transparent;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.badge_custom {
    font-size: 13px;
    font-weight: 400;
}

.badge_custom_width {
    width: 80px;
    display: inline-block;
    text-align: center;
}

.nav-pills .nav-link {
    border: 1px solid var(--primary);
}

.nav-pills .nav-link.active {
    background-color: var(--primary);
}

.googleMapsRender {
    height: 25em;
    border: 1px solid #ced4da;
    border-radius: 0.2rem;
}

.fascia_tariffa.top {
    color: #84c337;
}

.fascia_tariffa.platinum {
    color: #febf00;
}

.fascia_tariffa.gold {
    color: #ff7300;
}

.fascia_tariffa.silver {
    color: #e5221e;
}

.badge.fascia_tariffa.top {
    background: #84c337;
    color: #fff;
}

.badge.fascia_tariffa.platinum {
    background: #febf00;
    color: #fff;
}

.badge.fascia_tariffa.gold {
    background: #ff7300;
    color: #fff;
}

.badge.fascia_tariffa.silver {
    background: #e5221e;
    color: #fff;
}

.badge.fascia_tariffa.not_available {
    background: #4b4b4b;
    color: #fff;
}

#map, #mappa_dettaglio, .googleMapsRender {
    height: 25em;
    border: 1px solid #ced4da;
    border-radius: 0.2rem;
}

.pac-container {
    z-index: 2000;
}

/* Personalizzazione toggle switch */
.form-switch .form-check-input {
    width: 3em;
    height: 1.5em;
    cursor: pointer;
}

.form-switch .form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-switch .form-check-label {
    padding-left: 0.5em;
    cursor: pointer;
}


/* prestazioni-styles */
/* Prestazioni Counter Styles */
@keyframes counterUpdate {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.counter-update {
    animation: counterUpdate 0.3s ease-in-out;
}

.prestazioni-counter {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.counter-box {
    text-align: center;
}

.counter-title {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
}

.counter-details {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.counter-total {
    color: #0d6efd;
    font-weight: 500;
}

.counter-direct {
    color: #198754;
    font-weight: 500;
}

.counter-indirect {
    color: #6c757d;
    font-weight: 500;
}

#totalCounter,
#directCounter,
#indirectCounter {
    display: inline-block;
    min-width: 1.5rem;
    font-weight: 600;
}

/* Prestazioni Tree Styles */
.prestazioni-tree {
    max-height: 800px;
    overflow-y: auto;
}

.categoria-gruppo {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    background-color: #fff;
}

.categoria-header {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    user-select: none;
}

.toggle-categoria {
    background: none;
    border: none;
    padding: 0.25rem;
    margin-right: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    line-height: 0;
}

.toggle-categoria:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.toggle-categoria.toggling {
    pointer-events: none;
}

.toggle-categoria i {
    transition: transform 0.3s ease;
}

.categoria-content {
    padding: 1rem;
    overflow: hidden;
}

/* Search Container Styles */
.search-container {
    position: sticky;
    top: 0;
    background-color: #fff;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1rem;
    z-index: 1000;
}

/* Table Styles */
.prestazioni-table {
    margin-bottom: 0;
}

.table-active {
    background-color: rgba(0, 123, 255, 0.05) !important;
}

.form-check-input:disabled {
    opacity: 1;
    cursor: default;
}

    .form-check-input:disabled:checked {
        background-color: var(--hh-red-color);
        border-color: var(--hh-red-color);
    }

/* Actions Container Styles */
.actions-container {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.bootstrap-table .fixed-table-container .table thead th .th-inner:has(a) {
    padding: 0;
}

.ordinamento_colonna {
    display: block;
    padding: .75rem;
    cursor: pointer;
    color: var(--text-color) !important;
}

    .ordinamento_colonna:hover {
        opacity: .75;
    }

.bootstrap-table .fixed-table-container .table thead th .th-inner {
    position: relative;
    font-weight: var(--fw-medium);
}

.ordinamento_colonna[data-ordinamento="false"]:after {
    content: "arrow_drop_down";
    font-size: 34px;
    line-height: .5;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 36;
    font-family: 'Material Symbols Outlined';
    height: 0px;
    position: absolute;
    right: 0;
    top: 15px;
}

.ordinamento_colonna[data-ordinamento="true"]:after {
    content: "arrow_drop_up";
    font-size: 34px;
    line-height: .5;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 36;
    font-family: 'Material Symbols Outlined';
    height: 0px;
    position: absolute;
    right: 0;
    top: 15px;
}

.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.open {
    position: absolute;
    text-align: center;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 120px;
}

.esito_importa_noipa {
    overflow: auto;
    max-height: 100px;
    border: 1px solid #ebebeb;
    padding: 4px 8px;
    border-radius: 4px;
}

.tox-tinymce {
    margin-left: 0px;
    margin-right: 0px;
}

.dashboard_header .dashboard_header_title h3 {
    color: #000;
    font-weight: var(--fw-semibold);
}

.Menu_NOtification_Wrap .notification_Header {
    background: var(--hh-red-color);
}

.btn_1 {
    background-color: var(--hh-red-color) !important;
    border: 1px solid var(--hh-red-color) !important;
    color: #fff !important;
}

.dashboard_breadcrumbs a > .material-symbols-outlined {
    color: var(--hh-red-color);
    font-size: 2em;
}

.dashboard_breadcrumbs > .material-symbols-outlined {
    font-size: 16px;
}

.box_shadow {
    box-shadow: none !important;
    background: #fff;
    border-radius: 0 0 20px 20px;
}

.bootstrap-table .fixed-table-container .table thead th .asc, .bootstrap-table .fixed-table-container .table thead th .desc, .bootstrap-table .fixed-table-container .table thead th .both {
    background: none !important;
    display: flex;
    align-items: center;
}

.bootstrap-table .fixed-table-container .table thead th .th-inner.sortable.both::after {
    content: "sort";
    font-family: 'Material Symbols Outlined';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: normal;
    font-style: normal;
    font-size: 19px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -moz-font-feature-settings: 'liga';
}

.bootstrap-table .fixed-table-container .table thead th .th-inner.sortable.both.asc::after {
    content: "south";
}

.bootstrap-table .fixed-table-container .table thead th .th-inner.sortable.both.desc::after {
    content: "north";
}

.bootstrap-table .fixed-table-container .table {
    border-collapse: separate;
    border-spacing: 0;
}

    .bootstrap-table .fixed-table-container .table > thead {
        display: table-header-group;
    }

        .bootstrap-table .fixed-table-container .table > thead th {
            line-height: 2.5em;
        }

    .bootstrap-table .fixed-table-container .table > tbody {
        display: table-row-group;
    }

        .bootstrap-table .fixed-table-container .table > tbody::before {
            content: "";
            display: table-row;
            height: 10px;
        }

.bootstrap-table .fixed-table-body .table thead th:first-child,
.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary) > td:first-child {
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
}

.bootstrap-table .fixed-table-body .table thead th:last-child,
.bootstrap-table > .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary) > td:last-child {
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
}

tbody, td, tfoot, th, thead, tr {
    border: 0;
}

.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary):first-child td {
    border-top: 2px solid #f6f6f6 !important;
}

.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary):not(:first-child) > td:first-child {
    border-left: 2px solid #f6f6f6 !important;
    border-radius: 0;
}

.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary):not(:first-child) > td:last-child {
    border-right: 2px solid #f6f6f6 !important;
    border-radius: 0;
}

.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary):last-child > td {
    border-bottom: 2px solid #f6f6f6 !important;
}

.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary):first-child > td:first-child {
    border-left: 2px solid #f6f6f6 !important;
    border-top: 2px solid #f6f6f6 !important;
    border-bottom-left-radius: 0;
}

.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary):first-child > td:last-child {
    border-right: 2px solid #f6f6f6 !important;
    border-top: 2px solid #f6f6f6 !important;
    border-bottom-right-radius: 0;
    border-top-right-radius: 18px;
}

.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary):last-child > td:first-child {
    border-left: 2px solid #f6f6f6 !important;
    border-bottom: 2px solid #f6f6f6 !important;
    border-bottom-left-radius: 18px;
}

.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary):last-child > td:last-child {
    border-right: 2px solid #f6f6f6 !important;
    border-bottom: 2px solid #f6f6f6 !important;
    border-bottom-right-radius: 18px;
}

.page-item.active .page-link, .page-item.active .page-link:hover {
    background-color: var(--hh-red-color);
    border-color: var(--hh-red-color);
    color: #fff !important;
}

.page-link:hover {
    color: #fff !important;
    background-color: var(--hh-red-color);
    border-color: var(--hh-red-color);
}

.btn-secondary.dropdown-toggle {
    color: #000 !important;
    background-color: #fff !important;
    border-color: #000;
    padding: .15rem .5rem;
}

h3 {
    font-size: 1.5em;
}

.form-select, .form-control {
    border-color: #D0D0D0;
    border-radius: 10px;
    padding: .75rem;
}

.control-label {
    font-size: 16px;
    margin-left: 7px;
    margin-bottom: 3px;
}

::file-selector-button {
    background: transparent !important;
}

.table > :not(caption) > * > * {
    box-shadow: none;
}

.bootstrap-table .fixed-table-container .table tbody tr.selected td {
    background-color: #d5d5d5;
}

.modal-footer .btn[type="reset"] {
    background: #F9ECEC;
    color: #000;
    font-weight: var(--fw-semibold);
    padding: 10px 20px;
    border: 1px solid var(--hh-red-color);
}

.modal-footer .btn[type="submit"], .modal-footer a.btn-primary, .modal-footer .btn_submit {
    background: var(--hh-red-color);
    color: #fff !important;
    font-weight: var(--fw-semibold);
    padding: 10px 20px;
    border: 1px solid var(--hh-red-color);
}

tr.table-secondary > td {
    background-color: #fbfbfb;
}

    tr.table-secondary > td tr.table-secondary > td {
        background-color: #000;
    }

.icon_tooltip_label {
    font-size: 18px;
    font-variation-settings: 'FILL' 1, 'wght' 200, 'GRAD' -25, 'opsz' 24;
    color: #9f9f9f;
}

.logo_mutua_details {
    margin-left: -8px;
    max-width: 100%;
    max-height: 59px;
}

.input-group-text {
    border-radius: 10px;
}

.ts-control > input {
    min-width: max-content;
    font-size: 1rem;
}

.ts-dropdown [data-selectable].option {
    font-size: 13px;
}

.red_label_info {
    color: #A9020D !important;
    font-weight: bold;
}

g[aria-labelledby^="id-"]:is([aria-labelledby*="-title"]) {
    display: none !important;
}

.input-hidden .ts-control > input {
    position: relative;
}

.hide_input {
    visibility: hidden;
    height: 0;
    width: 0;
    margin: 0;
    padding: 0;
}

.form-check-input.input-validation-error {
    border-color: var(--hh-red-color) !important;
}

a.link {
    cursor: pointer;
}

.main_table td {
    vertical-align: middle;
}

.submit_button_link {
    color: var(--hh-red-color);
    font-size: 14px;
    display: block;
    padding: 10px 0;
    font-weight: 400;
    background: transparent;
    border: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .counter-details {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .search-container {
        position: relative;
    }

    .actions-container {
        margin-top: 1rem;
        justify-content: center;
    }
}

/* Cross-browser compatibility */
.prestazioni-counter {
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

@-webkit-keyframes counterUpdate {
    0% {
        -webkit-transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.2);
    }

    100% {
        -webkit-transform: scale(1);
    }
}

.counter-update {
    -webkit-animation: counterUpdate 0.3s ease-in-out;
    -moz-animation: counterUpdate 0.3s ease-in-out;
}


.disabled_tr {
    opacity: 0.3;
    cursor: pointer;
    pointer-events: none;
}

.pagination {
    margin-top: 1.5em;
}

.valuta_item span {
    display: block;
    min-width: 100px;
}

.disabled {
    cursor: pointer;
    pointer-events: none;
    background-color: #e9ecef;
    opacity: 1;
    border-color: #BBC1C9;
}

/*.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    background-color: transparent;
    border: none;
}*/

.main_content .main_content_iner {
    margin: 10px 30px 30px 30px;
}

.main_content_iner > .container-fluid.sticky-top .card_box, .main_content_iner > form > .container-fluid.sticky-top .card_box {
    border-bottom: 1px solid #D0D0D0;
    border-radius: 0 !important;
}

.container-fluid:not(.sticky-top) .card_box .white_box_title .form-check .form-check-input {
    margin-top: 0;
    border-color: transparent !important;
}

.form-check-input:checked[type="checkbox"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23A9020D' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.form-check-input.disabled:checked[type="checkbox"] {
    background-color: #e9ecef !important;
}

.btn-primary {
    background-color: var(--hh-red-color) !important;
    border-color: var(--hh-red-color) !important;
}

.modal-header {
    padding: 1rem 2rem 0.7rem;
}

.modal-title.fs-5 {
    font-size: 1.4rem !important;
}

.modal-body {
    padding: 1rem 1rem .5rem;
}

.modal-footer {
    padding: 0 1.5rem 0.75rem 1.5rem;
    border-top: none;
}

.form-label {
    margin-bottom: .1rem;
}

.btn.opacity_disabled {
    cursor: default;
}

.tooltip-inner {
    max-width: 360px;
}

.tooltip_wrapper > .tooltip {
    z-index: 9999999;
}

#save_abbinamenti .btn_label, #Annulla_abbinamenti .btn_label, #Importa_NoiPa .btn_label, .Split_Quadrature .btn_label {
    font-size: .9rem;
}

.form-check-input[type="radio"]:checked {
    background-color: var(--hh-red-color);
    border-color: var(--hh-red-color);
}

.form-check.form-check-inline .form-check-label {
    margin-left: 4px;
}

.container-fluid:not(.sticky-top) .card_box .open_close_collapse.collapsed .white_box_title .form-check .form-check-input {
    border-color: #D0D0D0 !important;
}

.open_close_collapse.collapsed .form-check .form-check-label.text-white {
    color: #000 !important;
}

@media (min-width: 992px) {
    .main_content {
        padding-left: var(--menu-width);
    }

    .sidebar {
        width: var(--menu-width);
    }
}

@media (max-width: 991px) {
    .main_content .main_content_iner {
        margin: 20px;
    }
}

@media(min-width: 576px) {
    .modal-dialog {
        max-width: 800px;
        margin: 1.75rem auto;
    }

    #idAbbinamentoTitolo .modal-dialog {
        max-width: 75vw;
    }
}

@media (max-width: 575px) {
    .details_toolbar i {
        font-size: 1em;
        line-height: 1.5;
    }
}

.EspandiTutto {
    width: 15px;
    background-image: url(/img/segnoPiu.png);
    /*background-image: url('../img/SinalPlus.png');*/
    background-repeat: no-repeat;
    background-size: 16px;
    display: inline-block;
    cursor: pointer;
}

.ScopriTutto {
    width: 15px;
    background-image: url(/img/segnoMeno.png);
    /*background-image: url('../img/SinalMenus.png');*/
    background-repeat: no-repeat;
    background-size: 16px;
    display: inline-block;
    cursor: pointer;
}

.collapseTreeView {
    width: 15px;
    background-image: url(/img/segnoPiu.png);
    /*background-image: url('../img/SinalPlus.png');*/
    background-repeat: no-repeat;
    background-size: 16px;
    display: inline-block;
    cursor: pointer;
}

.expandTreeView {
    width: 15px;
    background-image: url(/img/segnoMeno.png);
    /*background-image: url('../img/SinalMenus.png');*/
    background-repeat: no-repeat;
    background-size: 16px;
    display: inline-block;
    cursor: pointer;
}

.treeviewTreeView ul {
    font: 14px Arial, Sans-Serif;
    margin: 0px;
    padding-left: 20px;
    list-style: none;
}

.treeviewTreeView > li > a {
    font-weight: bold;
}

.NascondiRigaTreeView {
    display: none
}

.treeviewTreeView > li {
}

.treeviewTreeView li a {
    padding: 4px;
    font-size: 12px;
    display: inline-block;
    text-decoration: none;
    width: auto;
}
/*---------------------------PAINEL----------------------------------*/
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    /*border: 1px solid transparent;*/
    border-radius: 4px;
    /*font-size: 1.3rem !important;*/
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.panel-body {
    padding: 15px;
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

    .panel-heading > .dropdown .dropdown-toggle {
        color: inherit;
    }

.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit;
}

    .panel-title > a,
    .panel-title > small,
    .panel-title > .small,
    .panel-title > small > a,
    .panel-title > .small > a {
        color: inherit;
    }

.panel-footer {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.panel-heading-decision {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.panel-default > .panel-heading {
    text-shadow: 0px -1px 0 rgba(255,255,255, 0.3);
    font-weight: bold !important;
    color: #ffffff !important;
    font-size: 12px;
    background-color: #345d5f;
    border-color: #fd3131;
    border-width: 2px;
    padding: 5px 16px;
}

.panel-default > .panel-heading-decision {
    text-shadow: 0px -1px 0 rgba(255,255,255, 0.3);
    font-weight: bold !important;
    color: #000000 !important;
    /*font-size: 16px;*/
    background-color: #ffffff;
    border-color: #fd3131;
    border-width: 2px;
    padding: 5px 16px;
}

.panel-default {
    background-color: rgba(255, 255, 255, 0.8);
}
/*------------------------------TESTE DE BOTÃO SIM / NÃO-------------------------*/
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    color: #fff;
    background-color: #428bca;
}

.nav-pills > li.active > a#btncollapsePrestazioni, .nav-pills > li.active > a#btncollapsePrestazioni:hover, .nav-pills > li.active > a#btncollapsePrestazioni:focus,
.nav-pills > li.active > a#btncollapsePacchetto, .nav-pills > li.active > a#btncollapsePacchetto:hover, .nav-pills > li.active > a#btncollapsePacchetto:focus{
    background-color: var(--hh-red-color);
    color: #fff !important;
}

.nav-pills > li > a {
    border-radius: 4px;
}

.nav > li > a {
    position: relative;
    padding: 10px 15px;
}

.nav-pills > li > a {
    border-radius: 4px;
}

.nav > li > a {
    position: relative;
    display: block;
    padding: 10px 15px;
}

a {
    /*color: #428bca;*/
    color: var(--hh-red-color) !important;
    text-decoration: none;
}

a {
    background: transparent;
}


/*------------------------------FIM TESTE DE BOTÃO SIM / NÃO-------------------------*/
