/* /Components/FileManager.razor.rz.scp.css */
.min-width[b-49ze3iqil8] {
    min-width: 200px;
}

.min-height[b-49ze3iqil8] {
    min-height: 200px;
}

.square-image[b-49ze3iqil8] {
    display: flex;
    align-items: center;
    justify-content: center;
    /* larger image area */
    height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .square-image[b-49ze3iqil8]  .icon-file {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .square-image[b-49ze3iqil8]  .icon-file svg {
            width: 60%;
            height: 60%;
        }

/* reduce space used by text */
.card-body[b-49ze3iqil8] {
    padding: 0.5rem;
}

.card-title[b-49ze3iqil8] {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-text[b-49ze3iqil8] {
    font-size: 0.85rem;
    margin-bottom: 0;
}


/* /Components/Forms/HtmlEditor.razor.rz.scp.css */
[b-3ko1nd9ex2] .ql-textClass {
    width: 130px !important;
}

/* Label quando la select è chiusa - con icona */
[b-3ko1nd9ex2] .ql-textClass .ql-picker-label::before {
    content: '🎨 Default';
    filter: grayscale(100%);
}

[b-3ko1nd9ex2] .ql-textClass .ql-picker-label[data-value=""]::before {
    content: '🎨 Default';
    filter: grayscale(100%);
}

[b-3ko1nd9ex2] .ql-textClass .ql-picker-label[data-value="text-primary"]::before {
    content: '🎨 Primary';
    filter: grayscale(100%);
}

[b-3ko1nd9ex2] .ql-textClass .ql-picker-label[data-value="text-secondary"]::before {
    content: '🎨 Secondary';
    filter: grayscale(100%);
}

/* Opzioni nel dropdown - senza icona */
[b-3ko1nd9ex2] .ql-textClass .ql-picker-item::before {
    content: 'Default';
}

[b-3ko1nd9ex2] .ql-textClass .ql-picker-item[data-value=""]::before {
    content: 'Default';
}

[b-3ko1nd9ex2] .ql-textClass .ql-picker-item[data-value="text-primary"]::before {
    content: 'Primary';
}

[b-3ko1nd9ex2] .ql-textClass .ql-picker-item[data-value="text-secondary"]::before {
    content: 'Secondary';
}

/* Styles for table picker */
.ql-table-picker[b-3ko1nd9ex2] {
    background: white;
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 8px;
    border-radius: 4px;
    z-index: 10000;
}
.ql-table-picker-info[b-3ko1nd9ex2] {
    font-size: 12px;
    margin-bottom: 6px;
}
.ql-table-grid[b-3ko1nd9ex2] {
    display: inline-block;
}
.ql-table-row[b-3ko1nd9ex2] { display: flex; }
.ql-table-cell[b-3ko1nd9ex2] {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    margin: 2px;
    background: white;
}
.ql-table-cell.selected[b-3ko1nd9ex2] { background: rgba(0,0,0,0.08); }

/* Show icon for insertTable button */
[b-3ko1nd9ex2] .ql-insertTable::before {
    content: '\25A6'; /* small table-like glyph ▦ */
    font-size: 14px;
    line-height: 1;
    color: inherit;
}

[b-3ko1nd9ex2] .ql-insertTable {
    width: 28px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* fallback button styles (insert-table-btn) */
[b-3ko1nd9ex2] .insert-table-btn {
    width: 28px;
    height: 24px;
    display: inline-block;
    padding: 0 !important;
    background: none;
    border: none;
    box-shadow: none;
    vertical-align: middle;
}
[b-3ko1nd9ex2] .insert-table-btn::before {
    content: '\25A6';
    font-size: 24px;
    color: inherit;
    display: inline-block;
    vertical-align: middle;
    line-height: 24px;
    text-align: center;
    width: 100%;
}
/* /Components/RigaRisultatiRicerca.razor.rz.scp.css */
.fixed-height[b-21d6nhjz7d] {
    max-height: 300px;
    overflow-y: auto;
    position: relative;
}

/* Sticky table header */
.search-results-table thead[b-21d6nhjz7d] {
    position: sticky;
    z-index: 10;
    background-color: #5C7C8E; /* Match your header background */
}

    .search-results-table thead th[b-21d6nhjz7d] {
        background-color: #5C7C8E; /* Ensure solid background */
    }

/* Position sculture image in top right corner */
.dettaglio-prodotto__container[b-21d6nhjz7d] {
    position: relative;
}

.sticky-66[b-21d6nhjz7d] {
    top: 66px; /* Adjust this value as needed to position the image correctly */
}
.sticky-0[b-21d6nhjz7d] {
    top: 0px; /* Adjust this value as needed to position the image correctly */
}


.dettaglio-prodotto__image img[b-21d6nhjz7d] {
    /* max-width: 100%; */
    height: 300px;
}
/* /Components/StackableModal.razor.rz.scp.css */
.stackable-modal-backdrop[b-c3a41ksv2l] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(24, 24, 27, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn-b-c3a41ksv2l 0.2s ease-in-out;
}

.stackable-modal-content[b-c3a41ksv2l] {
    background-color: #fff;
    border-radius: 0.375rem;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn-b-c3a41ksv2l 0.2s ease-out;
    width: 94lvw;
    padding: 1rem;
}

/* Standard size (default) */
@media (min-width: 576px) {
    .stackable-modal-content[b-c3a41ksv2l] {
        max-width: 31.25rem; /* 500px */
        padding: 1.5rem;
    }
}

@media (min-width: 768px) {
    .stackable-modal-content[b-c3a41ksv2l] {
        max-width: 45rem; /* 720px */
        padding: 2rem;
    }
}

@media (min-width: 992px) {
    .stackable-modal-content[b-c3a41ksv2l] {
        max-width: 58.75rem; /* 940px */
        padding: 2rem;
    }
}

@media (min-width: 1200px) {
    .stackable-modal-content[b-c3a41ksv2l] {
        max-width: 67.5rem; /* 1080px */
        padding: 2rem;
    }
}

@media (min-width: 1400px) {
    .stackable-modal-content[b-c3a41ksv2l] {
        max-width: 80rem; /* 1280px */
        padding: 2rem;
    }
}

/* Small size */
.stackable-modal-sm[b-c3a41ksv2l] {
    max-width: 94lvw;
    padding: 1rem;
}

@media (min-width: 576px) {
    .stackable-modal-sm[b-c3a41ksv2l] {
        max-width: 25rem; /* 400px */
        padding: 1.5rem;
    }
}

@media (min-width: 768px) {
    .stackable-modal-sm[b-c3a41ksv2l] {
        max-width: 31.25rem; /* 500px */
        padding: 2rem;
    }
}

@media (min-width: 992px) {
    .stackable-modal-sm[b-c3a41ksv2l] {
        max-width: 37.5rem; /* 600px */
        padding: 2rem;
    }
}

/* Medium size */
.stackable-modal-md[b-c3a41ksv2l] {
    max-width: 94lvw;
    padding: 1rem;
}

@media (min-width: 576px) {
    .stackable-modal-md[b-c3a41ksv2l] {
        max-width: 43.75rem; /* 700px */
        padding: 1.5rem;
    }
}

@media (min-width: 768px) {
    .stackable-modal-md[b-c3a41ksv2l] {
        max-width: 50rem; /* 800px */
        padding: 2rem;
    }
}

@media (min-width: 992px) {
    .stackable-modal-md[b-c3a41ksv2l] {
        max-width: 56.25rem; /* 900px */
        padding: 2rem;
    }
}

@media (min-width: 1200px) {
    .stackable-modal-md[b-c3a41ksv2l] {
        max-width: 62.5rem; /* 1000px */
        padding: 2rem;
    }
}

@media (min-width: 1400px) {
    .stackable-modal-md[b-c3a41ksv2l] {
        max-width: 68.75rem; /* 1100px */
        padding: 2rem;
    }
}

/* Large size */
.stackable-modal-lg[b-c3a41ksv2l] {
    max-width: 94lvw;
    padding: 1rem;
}

@media (min-width: 576px) {
    .stackable-modal-lg[b-c3a41ksv2l] {
        max-width: 31.25rem; /* 500px */
        padding: 1.5rem;
    }
}

@media (min-width: 768px) {
    .stackable-modal-lg[b-c3a41ksv2l] {
        max-width: 45rem; /* 720px */
        padding: 2rem;
    }
}

@media (min-width: 992px) {
    .stackable-modal-lg[b-c3a41ksv2l] {
        max-width: 58.75rem; /* 940px */
        padding: 2rem;
    }
}

@media (min-width: 1200px) {
    .stackable-modal-lg[b-c3a41ksv2l] {
        max-width: 67.5rem; /* 1080px */
        padding: 2rem;
    }
}

@media (min-width: 1400px) {
    .stackable-modal-lg[b-c3a41ksv2l] {
        max-width: 80rem; /* 1280px */
        padding: 2rem;
    }
}

/* Extra Large size */
.stackable-modal-xl[b-c3a41ksv2l] {
    max-width: 94lvw;
    padding: 1rem;
}

@media (min-width: 576px) {
    .stackable-modal-xl[b-c3a41ksv2l] {
        max-width: 37.5rem; /* 600px */
        padding: 1.5rem;
    }
}

@media (min-width: 768px) {
    .stackable-modal-xl[b-c3a41ksv2l] {
        max-width: 50rem; /* 800px */
        padding: 2rem;
    }
}

@media (min-width: 992px) {
    .stackable-modal-xl[b-c3a41ksv2l] {
        max-width: 62.5rem; /* 1000px */
        padding: 2rem;
    }
}

@media (min-width: 1200px) {
    .stackable-modal-xl[b-c3a41ksv2l] {
        max-width: 75rem; /* 1200px */
        padding: 2rem;
    }
}

@media (min-width: 1400px) {
    .stackable-modal-xl[b-c3a41ksv2l] {
        max-width: 87.5rem; /* 1400px */
        padding: 2rem;
    }
}

.stackable-modal-header[b-c3a41ksv2l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.875rem;
}

.stackable-modal-title[b-c3a41ksv2l] {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 600;
    color: #000;
    line-height: 1.2;
    text-transform: uppercase;
}

.stackable-modal-body[b-c3a41ksv2l] {
    /* Content padding is handled by the modal-content */
}

@keyframes fadeIn-b-c3a41ksv2l {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn-b-c3a41ksv2l {
    from {
        opacity: 0;
        transform: scale(0.975) translateY(16px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


.stackable-modal-content-relative[b-c3a41ksv2l] {
                position: relative;
            }
            .stackable-modal-close-btn[b-c3a41ksv2l] {
                position: absolute;
                top: 1rem;
                right: 1rem;
                z-index: 2;
            }
/* /Pages/News.razor.rz.scp.css */
.min-width[b-are6gp58ud] {
        min-width: 200px;
    }

    .min-height[b-are6gp58ud] {
        min-height: 200px;
    }

    .square-image[b-are6gp58ud] {
        display: flex;
        align-items: center;
        justify-content: center;
        /* larger image area */
        height: 120px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

        .square-image[b-are6gp58ud]  .icon-file {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .square-image[b-are6gp58ud]  .icon-file svg {
                width: 60%;
                height: 60%;
            }

    /* reduce space used by text */
    .card-body[b-are6gp58ud] {
        padding: 0.5rem;
    }

    .card-title[b-are6gp58ud] {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .card-text[b-are6gp58ud] {
        font-size: 0.85rem;
        margin-bottom: 0;
    }
/* /Pages/NewsDetails.razor.rz.scp.css */
/* Ensure images and media inside the article content never overflow their column */
.news-content[b-yk2x6fihg7],
.news-content *[b-yk2x6fihg7] {
  box-sizing: border-box;
  max-width: 100% !important;
}

.news-content img[b-yk2x6fihg7],
.news-content picture[b-yk2x6fihg7],
.news-content svg[b-yk2x6fihg7],
.news-content video[b-yk2x6fihg7],
.news-content iframe[b-yk2x6fihg7],
.news-content table[b-yk2x6fihg7],
.news-content figure[b-yk2x6fihg7] {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
}

/* Prevent absolutely positioned media inside the content from escaping the flow */
.news-content img[style][b-yk2x6fihg7],
.news-content *[style][b-yk2x6fihg7] {
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  position: static !important;
}

/* Make sure long words / content break to avoid overflow */
.news-content[b-yk2x6fihg7] {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Main right-column image should fit its column */
.main-news-img[b-yk2x6fihg7] {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Ensure the news content is confined to the left column and allow horizontal scroll if needed */
.col-12.col-md-8 .news-content[b-yk2x6fihg7],
.col-md-8 .news-content[b-yk2x6fihg7] {
  position: relative;
  overflow: hidden; /* prevent overflow and force contained layout */
  width: 100%;
}

/* Reset common problematic inline styles that can force elements outside the column */
.news-content [style*="100vw"][b-yk2x6fihg7],
.news-content [style*="vw"][b-yk2x6fihg7],
.news-content [style*="position:absolute"][b-yk2x6fihg7],
.news-content [style*="position:fixed"][b-yk2x6fihg7],
.news-content [style*="left:"][b-yk2x6fihg7] ,
.news-content [style*="right:"][b-yk2x6fihg7] {
  position: static !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Prevent negative margins from pushing content out */
.news-content *[b-yk2x6fihg7] {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Tables and preformatted blocks should not overflow the column */
.news-content table[b-yk2x6fihg7],
.news-content pre[b-yk2x6fihg7],
.news-content code[b-yk2x6fihg7] {
  max-width: 100% !important;
  width: 100% !important;
  display: block;
  overflow: auto;
}


