@import url("./fondital/00-settings.tokens.css?v=20260721-ordini-gold");
@import url("./fondital/01-base.body.css?v=20260713-loader1");
@import url("./fondital/02-header.topbar.css?v=20260714-language1");
@import url("./fondital/04-components.forms-cards.css?v=20260721-section-title");
@import url("./fondital/05-tables.datatable.css");
@import url("./fondital/07-tq-detail-sidebar.css");
@import url("./fondital/08-tq-record-tabs.css?v=20260713.3");
@import url("./fondital/10-compact-cards.css?v=20260721-pager-box");
@import url("./fondital/11-pagination.css");

:root {
    --bs-border-color: #acacb1;
    --tq-bg: #f4f7fb;
    --tq-sidebar: #0f172a;
    --tq-sidebar-2: #172033;
    --tq-card: #ffffff;
    --tq-border: #dde5f0;
    --tq-muted: #64748b;
    --tq-primary: #2563eb;
    --tq-primary-2: #1d4ed8;
    --tq-success: #16a34a;
    --tq-warning: #d97706;
    --tq-danger: #dc2626;
    --tq-info: #0284c7;
    --tq-purple: #7c3aed;
    --tq-radius: 16px;
    --tq-shadow: 0 14px 38px rgba(15, 23, 42, .08);
    --fd-bg: var(--tq-bg);
    --fd-surface: var(--tq-card);
    --fd-border: var(--tq-border);
    --fd-text: #0f172a;
    --fd-primary: var(--tq-primary);
    --fd-primary-dark: var(--tq-primary-2);
    --fd-red: #ee2a24;
    --fd-green: #159447;
    --fd-shadow: var(--tq-shadow);
    --fd-radius: var(--tq-radius);
}

body {
    background: var(--fd-bg);
    color: var(--fd-text);
    overflow-x: hidden;
}

a,
a:link,
a:visited {
    color: var(--fd-primary);
}

a:hover {
    color: var(--fd-primary-dark);
}

#appcontainer {
    min-height: 100vh;
    margin-bottom: 0;
    padding-top: 78px !important;
    background: var(--tq-bg);
}

#appcontainer > .container {
    max-width: 1180px;
}

#appcontainer > .container-fluid {
    max-width: none;
}

#appcontainer > .scrollDown.container-fluid {
    position: relative;
    z-index: 100;
    display: block;
    flex: 0 0 auto !important;
    width: 100%;
    max-width: none;
    padding: 0;
}

#appcontainer > .scrollDown.container-fluid > header.container {
    width: 100%;
    max-width: none;
    padding: 0;
}

#navbarnavbar-fixed-header.navbar,
#navbarnavbar-fixed-header.sso-shell-header {
    min-height: 76px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--fd-border);
    background: rgba(244, 247, 251, .90) !important;
    box-shadow: none;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1040;
}

#navbarnavbar-fixed-header > .container-fluid {
    max-width: none;
    min-height: 76px;
    margin: 0;
    padding: 0;
    gap: 0;
}

#navbarnavbar-fixed-header .sso-brand,
#navbarnavbar-fixed-header .navbar-brand {
    display: inline-flex;
    align-items: center;
    align-self: stretch;
    width: 292px;
    min-width: 292px;
    margin: 0 !important;
    padding: 0 28px 0 32px;
    border-right: 1px solid rgba(255, 255, 255, .08);
    background: radial-gradient(circle at top left, rgba(37, 99, 235, .32), transparent 34%), linear-gradient(180deg, var(--tq-sidebar), var(--tq-sidebar-2));
}

#navbarnavbar-fixed-header .sso-brand img,
#navbarnavbar-fixed-header .navbar-brand img {
    width: auto;
    max-width: 178px;
    max-height: 40px;
    filter: brightness(0) invert(1);
}

#navbarnavbar-fixed-header .navbar-toggler {
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid var(--fd-border);
    border-radius: 12px;
    background: var(--fd-surface);
    color: var(--fd-text);
    box-shadow: none;
}

#navbarnavbar-fixed-header .navbar-collapse {
    flex: 1 1 auto;
    justify-content: space-between;
    min-width: 0;
    min-height: 76px;
    padding: 0 32px 0 36px;
    border-bottom: 1px solid var(--tq-border);
}

#navbarnavbar-fixed-header .sso-header-search-slot {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 24px;
}

#navbarnavbar-fixed-header .sso-header-search-widget {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 720px;
}

.searchbox {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(700px, 100%);
    min-height: 46px;
    padding: 0 14px;
    color: var(--tq-muted);
    background: var(--tq-surface, #fff);
    border: 1px solid var(--tq-border);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 var(--tq-white-highlight-soft, rgba(255, 255, 255, .65));
}

.searchbox input {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--tq-text, var(--fd-text));
    background: transparent;
    border: 0;
    outline: 0;
}

.navbar.fixed-top:not(#previewBar) .widget-block {
    width: min(560px, 42vw);
    max-width: 100%;
}

.navbar.fixed-top:not(#previewBar) .widget-block form,
.searchContainer {
    width: 100%;
}

.searchGroup {
    width: 100%;
    min-height: 42px;
    color: var(--tq-muted);
    background: var(--tq-surface, #fff);
    border: 1px solid var(--tq-border);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 var(--tq-white-highlight, rgba(255, 255, 255, .8));
    overflow: hidden;
}

.searchGroup .search-submit {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border: 0;
    border-radius: 0;
    color: var(--tq-muted);
    background: transparent;
    box-shadow: none;
}

.searchGroup .clearSearch {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border: 1px solid #6c757d;
    border-radius: 0;
    color: #fff;
    background: #6c757d;
    box-shadow: none;
}

.searchGroup .search-submit:hover,
.searchGroup .search-submit:focus {
    color: var(--tq-text, var(--fd-text));
    background: var(--tq-surface-muted, #f8fafc);
}

.searchGroup .clearSearch:hover,
.searchGroup .clearSearch:focus {
    color: #fff;
    background: #5c636a;
    border-color: #565e64;
}

.searchGroup .form-control {
    height: 42px;
    min-height: 42px;
    color: var(--tq-text, var(--fd-text));
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline: 0;
}

.searchGroup input.form-control:not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="range"]):not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="image"]):not(.input-group-sm *) {
    height: 42px;
    min-height: 42px;
    background: var(--tq-surface, #fff);
    border-radius: 0;
}

.searchGroup .form-control:focus {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.tq-sidebar__offcanvas .searchGroup,
.tq-sidebar__fixed .searchGroup,
.sidebar_menu .searchGroup {
    width: 100%;
    border-radius: 14px;
}

.sso-searchbox {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--tq-border);
    border-radius: 999px;
    background: #fff;
    color: var(--tq-muted);
    font-size: .96rem;
    line-height: 1;
    box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
}

.sso-search-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    border: 2px solid currentColor;
    border-radius: 999px;
    position: relative;
    opacity: .78;
}

.sso-search-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sso-searchbox kbd {
    margin-left: auto;
    padding: 5px 9px;
    border: 1px solid var(--tq-border);
    border-radius: 9px;
    background: #f8fafc;
    color: #111827;
    font-size: .78rem;
    font-weight: 800;
    box-shadow: none;
}

#navbarnavbar-fixed-header .sso-header-actions,
#navbarnavbar-fixed-header .header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    white-space: nowrap;
}

#navbarnavbar-fixed-header .dropdown-toggle,
#navbarnavbar-fixed-header .btn:not(.search-submit):not(.clearSearch),
#navbarnavbar-fixed-header .nav-link {
    min-height: 46px;
    border: 1px solid var(--fd-border);
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

#navbarnavbar-fixed-header .dropdown-toggle,
#navbarnavbar-fixed-header .btn:not(.navbar-toggler):not(.search-submit):not(.clearSearch) {
    padding-inline: 14px;
    background: #fff;
    color: var(--fd-text);
    box-shadow: none;
}

#navbarnavbar-fixed-header .dropdown-toggle:hover,
#navbarnavbar-fixed-header .btn:not(.navbar-toggler):not(.search-submit):not(.clearSearch):hover {
    border-color: rgba(37, 99, 235, .26);
    background: #fff;
}

#navbarnavbar-fixed-header .sso-user-menu-toggle {
    display: inline-flex;
    align-items: center;
}

#navbarnavbar-fixed-header .sso-user-menu-toggle > .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 6px 12px 6px 8px;
    border-color: rgba(221, 229, 240, .95);
    border-radius: 16px;
    background: #fff;
    color: var(--fd-text);
}

#navbarnavbar-fixed-header .sso-user-menu-toggle > .dropdown-toggle:hover,
#navbarnavbar-fixed-header .sso-user-menu-toggle > .dropdown-toggle:focus {
    border-color: rgba(37, 99, 235, .26);
    background: #fff;
    color: var(--fd-text);
}

#navbarnavbar-fixed-header .sso-user-menu-toggle > .dropdown-toggle::after {
    margin-left: 2px;
}

#navbarnavbar-fixed-header .sso-user-menu-toggle .caret {
    margin-left: 2px;
}

#navbarnavbar-fixed-header .sso-user-menu-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

#navbarnavbar-fixed-header .sso-user-avatar,
#navbarnavbar-fixed-header .sso-user-avatar-img {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tq-primary), var(--tq-primary-2));
    color: #fff;
    font-size: .95rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

#navbarnavbar-fixed-header .sso-user-avatar-img img,
#navbarnavbar-fixed-header img.sso-user-avatar-img {
    width: 42px;
    height: 42px;
    object-fit: cover;
}

#navbarnavbar-fixed-header .sso-user-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    align-items: flex-start;
    line-height: 1.15;
}

#navbarnavbar-fixed-header .sso-user-name {
    max-width: 180px;
    overflow: hidden;
    color: #111827;
    font-size: .98rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#navbarnavbar-fixed-header .sso-user-role {
    max-width: 180px;
    overflow: hidden;
    color: var(--tq-muted);
    font-size: .82rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#navbarnavbar-fixed-header .dropdown-menu {
    min-width: 236px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid var(--tq-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .14);
}

#navbarnavbar-fixed-header .dropdown-menu .dropdown-item,
#navbarnavbar-fixed-header .sso-user-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 9px 10px;
    border-radius: 10px;
    color: #1f2937;
    font-size: .92rem;
    font-weight: 700;
}

#navbarnavbar-fixed-header .dropdown-menu .dropdown-item:hover,
#navbarnavbar-fixed-header .sso-user-menu-item:hover {
    background: #f4f7fb;
    color: var(--tq-primary-2);
}

#navbarnavbar-fixed-header .sso-user-menu-logout {
    color: var(--tq-danger);
}

#appcontainer > .container:not(.flex-grow-1) {
    padding: 24px 24px 56px;
}

#appcontainer .sso-hero-row {
    margin: 0 0 24px;
}

#appcontainer .sso-home-hero-slot {
    padding: 0;
}

#appcontainer .sso-home-hero,
#appcontainer .enterprise-hero,
#sso-home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
    align-items: stretch;
    min-height: 312px;
    overflow: hidden;
    border: 1px solid rgba(221, 229, 240, .80);
    border-radius: var(--tq-radius);
    background: radial-gradient(circle at top left, rgba(37, 99, 235, .32), transparent 34%), linear-gradient(135deg, var(--tq-sidebar), var(--tq-sidebar-2));
    box-shadow: var(--tq-shadow);
}

#appcontainer .sso-home-hero .simple-block-content,
#appcontainer .sso-home-hero .simpleblock-content {
    position: relative;
    z-index: 1;
}

#appcontainer .sso-home-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 44px;
}

#appcontainer .sso-home-hero-media {
    min-width: 0;
}

#appcontainer .sso-home-hero h1,
#appcontainer .sso-home-hero h2,
#appcontainer .sso-home-hero .title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: .98;
    letter-spacing: 0;
}

#appcontainer .sso-home-hero h3,
#appcontainer .sso-home-hero .subtitle {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .78);
    font-size: 1.08rem;
    line-height: 1.55;
    font-weight: 600;
}

#appcontainer .sso-home-hero p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .74);
    font-size: 1rem;
    line-height: 1.65;
}

#appcontainer .sso-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

#appcontainer .sso-hero-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .82);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

#appcontainer .sso-home-hero img {
    width: 100%;
    height: 100%;
    min-height: 312px;
    object-fit: cover;
}

#appcontainer .sso-apps-row {
    margin: 0;
}

#appcontainer .sso-app-grid,
#appcontainer .sso-app-list {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    justify-content: stretch;
    gap: 18px !important;
    margin: 0 !important;
    padding: 0;
}

#appcontainer .sso-app-list {
    grid-column: 1 / -1;
}

#appcontainer .sso-app-card,
#appcontainer .enterprise-card {
    position: relative;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--fd-border);
    border-radius: var(--tq-radius);
    background: var(--fd-surface);
    box-shadow: var(--tq-shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#appcontainer .sso-app-card:hover,
#appcontainer .enterprise-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, .28);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
}

#appcontainer .sso-app-card-head,
#appcontainer .sso-app-card .card-title {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 18px 18px 0;
}

#appcontainer .sso-app-thumb {
    display: grid;
    min-height: 148px;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: #f8fafc;
}

#appcontainer .sso-app-thumb img,
#appcontainer .sso-app-card img {
    display: block;
    width: 100%;
    height: 148px;
    object-fit: contain;
    padding: 24px 32px;
}

#appcontainer .sso-app-title {
    margin: 0;
    color: var(--fd-text);
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1.2;
}

#appcontainer .sso-app-card-body,
#appcontainer .sso-app-card .card-body {
    padding: 12px 18px 18px;
    display: flex;
    flex-direction: column;
}

#appcontainer .sso-app-subtitle {
    margin: 0 0 8px;
    color: var(--tq-muted);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .05em;
    line-height: 1.2;
    text-transform: uppercase;
}

#appcontainer .sso-app-copy {
    display: flex;
    flex-direction: column;
    flex: 1 1 100%;
    align-items: flex-start;

    p {
        margin: 0 0 16px;
        color: var(--tq-muted);
        font-size: .94rem;
        line-height: 1.55;
        margin-bottom: 10px;
    }
}

#appcontainer .sso-app-cta {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 999px;
    background: rgba(37, 99, 235, .08);
    color: var(--tq-primary);
    font-size: .84rem;
    font-weight: 800;
    text-decoration: none;
    margin-top: auto;
}

#appcontainer .sso-app-cta:hover {
    border-color: rgba(37, 99, 235, .32);
    background: rgba(37, 99, 235, .12);
    color: var(--tq-primary-2);
}

#appcontainer .sso-app-documentale .sso-app-thumb {
    background: linear-gradient(135deg, var(--tq-app-documentale-soft), var(--tq-app-documentale-soft-2)), #f8fafc;
}

#appcontainer .sso-app-progetti .sso-app-thumb {
    background: linear-gradient(135deg, var(--tq-app-progetti-soft), var(--tq-app-progetti-soft-2)), #f8fafc;
}

#appcontainer .sso-app-cat .sso-app-thumb {
    background: linear-gradient(135deg, var(--tq-app-cat-soft), var(--tq-app-cat-soft-2)), #f8fafc;
}

#appcontainer .sso-app-pim .sso-app-thumb {
    background: linear-gradient(135deg, var(--tq-app-pim-soft), var(--tq-app-pim-soft-2)), #f8fafc;
}

#appcontainer .sso-app-ordini .sso-app-thumb {
    background: linear-gradient(135deg, var(--tq-app-ordini-soft), var(--tq-app-ordini-soft-2)), #f8fafc;
}

#appcontainer > .d-flex.flex-row.align-items-center.justify-content-center.container.flex-grow-1 {
    max-width: none;
    min-height: calc(100vh - 78px);
    padding: 42px 24px;
    background: linear-gradient(115deg, rgba(15, 23, 42, .86), rgba(15, 23, 42, .42)), linear-gradient(135deg, #f8fbff, #edf3fb);
}

.login_form.widget-block {
    width: min(420px, 100%);
    margin: 0 !important;
    padding: 30px !important;
    border: 1px solid rgba(221, 229, 240, .86);
    border-radius: var(--fd-radius) !important;
    background: rgba(255, 255, 255, .95) !important;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
}

@media (max-width: 991.98px) {
    #navbarnavbar-fixed-header .sso-brand,
    #navbarnavbar-fixed-header .navbar-brand {
        width: 230px;
        min-width: 230px;
        padding-inline: 22px;
    }

    #navbarnavbar-fixed-header .navbar-collapse {
        padding-inline: 18px;
    }

    #appcontainer .sso-home-hero,
    #appcontainer .enterprise-hero,
    #sso-home-hero {
        grid-template-columns: 1fr;
    }

    #appcontainer .sso-app-grid,
    #appcontainer .sso-app-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    #appcontainer {
        padding-top: 70px !important;
    }

    #navbarnavbar-fixed-header.navbar,
    #navbarnavbar-fixed-header.sso-shell-header {
        min-height: 70px;
    }

    #navbarnavbar-fixed-header > .container-fluid {
        min-height: 70px;
    }

    #navbarnavbar-fixed-header .sso-brand,
    #navbarnavbar-fixed-header .navbar-brand {
        width: auto;
        min-width: 164px;
        padding-inline: 16px;
    }

    #navbarnavbar-fixed-header .sso-header-search-slot {
        display: none;
    }

    #appcontainer > .container:not(.flex-grow-1) {
        padding: 18px 14px 36px;
    }

    #appcontainer .sso-home-hero,
    #appcontainer .enterprise-hero,
    #sso-home-hero {
        min-height: 260px;
        border-radius: 14px;
    }

    #appcontainer .sso-home-hero h1,
    #appcontainer .sso-home-hero h2,
    #appcontainer .sso-home-hero .title {
        font-size: 2.25rem;
    }

    #appcontainer .sso-home-hero img {
        min-height: 190px;
    }

    #appcontainer .sso-home-hero-copy {
        padding: 28px 22px;
    }

    #appcontainer .sso-app-grid,
    #appcontainer .sso-app-list {
        grid-template-columns: 1fr;
        gap: 14px !important;
    }
}

.scrollDown, .scrollUp {
    flex-grow: 0 !important;
}

.popover {
    z-index: 10;
}

#appcontainer > .container-fluid {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
}

.is-filled .bmd-label-floating, .is-focused .bmd-label-floating {
    top: 0 !important;
}

.navbar {
    box-shadow: 0 4px 18px 0 rgba(0, 0, 0, .12), 0 7px 10px -5px rgba(0, 0, 0, .15);
}

.nav-tabs .nav-item .nav-link.active {
    background-color: #EE3C2C;
    color: #fff;
}

.nav-tabs .nav-item .nav-link {
    color: #6C4023;
}

.nav-tabs .nav-item {
    margin-bottom: -1px; /* evita doppio bordo tra tab */
}

.form-floating .basic-single .tqselect__control .tqselect__value-container {
    padding: 0 !important;
}

.tqselect__control, .element_date .input-group, .element_time .input-group {
    min-height: 58px;
}

.form-floating .basic-single .tqselect__menu {
    margin: 0 !important;
}

.card-deck {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}


body > p {
    position: relative;
    top: -20px;
}

#previewBar {

    .actasuserselect {
        font-size: 1rem;
    }

    .collapse.show {
        padding-left: .25rem !important;
        padding-right: .25rem !important;
        padding-top: 1rem !important;
    }

    .navbar-collapse.show {
        height: fit-content !important;
    }

    .brand.nav-link {
        height: fit-content;
    }

    .navbar-toggler {
        z-index: unset !important;
    }

    .collapsed {
        top: 0 !important;
    }

    .nav-item {
        margin-top: 0 !important;

        .form-floating.actasuserselect {
            font-size: 1rem;
            min-width: 20rem !important;

        }

        .form-floating .basic-single .tqselect__control .tqselect__value-container {
            padding: 0 8px;
        }
    }

    .nav-item:has(.form-floating):hover {
        background-color: unset;
    }

    .tqselect__menu {
        color: #000000 !important;
        z-index: 1090 !important;
    }
}

.liveEditButtonParent, .openedInputLiveEditor {
    display: flex;
    border: 1px solid #ccc;
    justify-content: space-between;
    border-radius: 6px;
    align-items: center;
    flex-grow: 1;
    padding-left: 4px;


    .form-floating {
        flex: 1 1 100%;
        margin-bottom: 0 !important;

        .form-control {
            border: 0;
        }

        .liveEditSaveButton, .liveEditCloseButton {
            margin-right: 6px;
        }
    }
}


.zebra {
    &:nth-child(even) {
        background-color: #f2f2f2;
    }

    .col {
        display: flex;
        align-items: center;
        padding-bottom: .25rem;
        padding-top: .25rem;
    }

    .pulsanti {
        display: flex;
        align-items: center;
        justify-content: end;
        gap: .25rem;
    }
}


.public_fixedDataTable_header,
.public_fixedDataTable_header .public_fixedDataTableCell_main,
.public_fixedDataTableCell_main {
    background-color: #ffffff;
    background-image: none;
}

.selectedRow {
    .fixedDataTableCellLayout_wrap1 {
        background-color: #d1ecf1 !important;
    }
}

.public_fixedDataTable_header .public_fixedDataTableCell_cellContent {
    > div {
        align-items: center;
    }

    .btn-sort {
        --bs-btn-padding-y: 0.25rem;
        --bs-btn-padding-x: 0.5rem;
        --bs-btn-font-size: 0.875rem;
        --bs-btn-border-radius: var(--bs-border-radius-sm);
    }
}

.datatable-container {
    .pagination {
        margin-bottom: .25rem;
        margin-top: .25rem;
    }
}

.datatable-header-container, .fixed-header {
    .col {
        display: flex;
        align-items: center;
        padding-bottom: .25rem;
        padding-top: .25rem;

        .form-floating > .form-control, .form-floating > .form-control-plaintext {
            padding: .25rem .75rem;
            height: calc(2.5rem + 2px);
            height: calc(2.5rem + var(--bs-border-width) * 2);
            line-height: 1.25;
            min-height: calc(2.5rem + 2px);
            min-height: calc(2.5rem + var(--bs-border-width) * 2);
        }

        .form-floating > label {
            padding: .25rem .75rem;
            padding-top: 8px;
            margin-bottom: 0px;
        }

    }

    .pulsanti {
        display: flex;
        align-items: center;
        justify-content: end;
        gap: .25rem;
    }
}

.zebracol > div:nth-child(odd) {
    background-color: #f8f9fa; /* grigio chiaro */
}

.zebracol > div:nth-child(even) {
    background-color: #ffffff; /* bianco */
}

/* Padding per rendere leggibile */
.zebracol > div {
    padding: 5px 10px;
}

.single-col {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 10px;
}

.single-col > span:first-child {
    font-weight: 600;
    color: #212529bf;
}

.subrighezebra > .row:nth-child(even) {
    background-color: #f2f2f2;
}

.single-col {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 10px;
}

.single-col > span:first-child {
    font-weight: 600;
    color: #212529bf;
}

/* Intestazione ultima colonna (domenica) */
.rbc-header:last-child {
    background-color: rgba(255, 0, 0, 0.3);
    color: red;
}

/* Sfondo celle giornata intera */
.rbc-row-bg .rbc-day-bg:last-child {
    background-color: rgba(255, 0, 0, 0.15);
}

/* Colonna oraria */
.rbc-time-content .rbc-day-slot:last-child {
    background-color: rgba(255, 0, 0, 0.15);
}


/* Colonna domenica - bordi righe in rosso */
.rbc-day-slot.rbc-time-column:last-of-type .rbc-time-slot {
    border-top: 0.666667px solid rgba(255, 0, 0, 0.3);
}

.rbc-day-slot.rbc-time-column:last-of-type .rbc-timeslot-group {
    border-left: none;
    border-bottom: 0.666667px solid rgba(255, 0, 0, 0.3);
}

.rbc-day-slot.rbc-time-column:last-of-type {
    border-left: none;
}

/* Header domenica */
.rbc-header:last-child {
    border-left: none;
    border-bottom: 0.666667px solid rgba(255, 0, 0, 0.3);
}


@media screen and (max-width: 640px) {
    /*Barra accesso tQuadra*/
    #previewBar {
        .navbar-collapse.show {
            height: 120px !important;
        }

        .nav-item {
            width: 50%;
        }

        .nav-item:has(.btn-link), .nav-item:has(.form-floating.actasuserselect) {
            justify-content: end;
        }

        .nav-item .form-floating.actasuserselect {
            margin-right: 0 !important;
            margin-top: 4px !important;
        }
    }
}

.inlineradio {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.lista-inline {
    display: inline !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent;

    ul.lista-inline.list-group {
        margin: 0;
        padding: 0;
        list-style: none;

        display: inline-flex;
        flex-wrap: nowrap;
        gap: .35rem;

        border: 0;
        border-radius: 0;

        > li.list-group-item {
            padding: .15rem .5rem;
            margin: 0;
            border: 1px solid rgba(0, 0, 0, .12);
            border-radius: 999px;
            background: rgba(0, 0, 0, .04);

            font-size: .85em;
            line-height: 1.4;

            width: auto;
            display: inline-flex;
            align-items: center;
            white-space: nowrap;
            box-shadow: none;
        }
    }
}


/*.btn-group-sm .btn, .btn-group-sm>.btn, .btn.btn-sm {
    font-size: 1rem;
}*/

#appcontainer {
    margin-bottom: 20px;
}

.container:has(.gestionecorsi-page) {
    background-color: #ffffff;
}

.rbc-overlay {
    max-height: 200px;
    overflow: auto;
}

.Toastify__toast--danger {
    background: red;
}

.titlecalcolorate {
    margin-bottom: 0;
    font-weight: bold;
}

.calcolorate {
    padding: 0 15px;
}

.calcolorate li {
    font-size: 1rem;
    padding: 5px 0;
}

.corsi-table label.bmd-label-floating {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.8rem !important;
}

.corsi-table .form-group.is-filled label.bmd-label-floating {
    color: transparent !important;
}

.corsi-table .form-group input {
    color: #ffffff;
}

.public_fixedDataTable_bodyRow:has(.corsitable), .corsitable {
    height: 85px !important;
}

.quota-view {
    font-size: 1rem;
}

.datatable-container .quota-view {
    font-size: 0.8rem !important;
}

.corsi-table .zmdi-sort-asc {
    color: #ffffff !important;
}

.profilecol {
    max-width: 100% !important;
}

div:has(div.card div.card-body #resetPasswdForm) {
    max-width: 100% !important;
}

button:has(small.text-chiudi-conferma):hover {
    color: #ffffff !important;
}

.modal-dialog .modal-body .containerGeneratoreQuery .queryLeftColGeneratoreQuery, .modal-dialog .modal-body .containerGeneratoreQuery .queryRightColGeneratoreQuery {
    max-height: unset !important;
}

.elencopazienti {
    > span {
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 2px 5px;

        .btn {
            --bs-btn-padding-y: 0rem;
            --bs-btn-padding-x: 0.2rem;
            --bs-btn-font-size: 0.34rem;
            font-size: 0.6rem;
        }
    }
}


.date-label {
    color: #6c757d;
}

.date-value {
    font-weight: 500;
}

.invoice-amount {
    font-size: 1.5rem;
    font-weight: 600;
}

.line-item-title {
    font-weight: 600;
    color: #212529;
    font-size: 0.95rem;
}

.reactCalendarContainer {
    display: flex;
    flex-wrap: nowrap;
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
}

.reactCalendarBigCalendar {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}


.containerEventoInterno {
    font-size: .8rem;
}

.rbc-time-view {
    .containerEventoInterno {
        font-size: 12px;
    }

    .rbc-event-label {
        display: none;
        visibility: hidden;
    }

    .rounded-circle {
        border-radius: 0 !important;
        min-height: 1000%;
        position: absolute;
        left: -6px;
        margin-right: 1px;
    }
}


/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .eventPopover .popover {
        min-width: 500px;
    }
}
