.fe-sc {
    font-size: 1em;
}

.fe-sc .fe-sc-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.125rem 0;
    font-family: inherit;
    font-size: inherit;
}

.fe-sc .fe-sc-toolbar {
    display: flex;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    align-items: center;
}

.fe-sc .fe-sc-search,
.fe-sc .fe-sc-category,
.fe-sc .fe-sc-status {
    height: 2.75em;
    border: 1px solid #d1d5db;
    border-radius: 0.625rem;
    padding: 0 0.75em;
    font-size: 1em;
}

.fe-sc .fe-sc-search {
    flex: 1;
}

.fe-sc .fe-sc-category {
    width: 22.5rem;
    background: #fff;
}

.fe-sc .fe-sc-status {
    width: 15rem;
    background: #fff;
}

.fe-sc .fe-sc-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.fe-sc .fe-sc-section-head h2 {
    margin: 0;
    font-size: 1.45em;
    color: #111827;
}

.fe-sc .fe-sc-section-head p {
    margin: 0;
    color: #6b7280;
    font-size: 0.85em;
}

.fe-sc .fe-sc-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.fe-sc .fe-sc-list-home {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}


.fe-sc .fe-sc-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.9375rem;
    padding: 1em 1.125em;
    box-shadow: 0 0.4375rem 1.375rem rgba(15, 23, 42, 0.04);
    font-size: inherit;
}

.fe-sc .fe-sc-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 0.6875rem 1.75rem rgba(15, 23, 42, 0.08);
}

.fe-sc .fe-sc-card.fe-sc-is-scadenza {
    border-color: #f59e0b;
    box-shadow: 0 0.5rem 1.5rem rgba(245, 158, 11, 0.14);
}

.fe-sc .fe-sc-card.fe-sc-is-NONvisibile {
    border-color: black; background-color:#e2e2e2;
    box-shadow: 0 0.5rem 1.5rem rgba(245, 158, 11, 0.14);
}
.fe-sc-is-NONvisibile:before {
  content: "*Visibile solo ad operatori"; color:red; font-weight:bold

}

.fe-sc .fe-sc-content {
    min-width: 0;
}

.fe-sc .fe-sc-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.fe-sc .fe-sc-title-inline {
    display: flex;
    align-items: flex-start;
    gap: 0.5625rem;
    min-width: 0;
    flex: 1;
}

.fe-sc .fe-sc-icons {
    display: inline-flex;
    gap: 0.3125rem;
    flex: 0 0 auto;
    padding-top: 0.0625rem;
}

.fe-sc .fe-sc-bando-icon,
.fe-sc .fe-sc-istruzioni-icon {
    width: 1.625em;
    height: 1.625em;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9em;
}

.fe-sc .fe-sc-bando-icon {
    background: #fee2e2;
    color: #dc2626;
}

.fe-sc .fe-sc-bando-icon:hover {
    background: #fecaca;
    color: #991b1b;
}

.fe-sc .fe-sc-istruzioni-icon {
    background: #e0f2fe;
    color: #0369a1;
}

.fe-sc .fe-sc-istruzioni-icon:hover {
    background: #bae6fd;
    color: #075985;
}

.fe-sc .fe-sc-head h3 {
    margin: 0;
    font-size: 1.0625em;
    line-height: 1.3;
    color: #111827;
    min-width: 0;
    max-height: 2.7em;
}

.fe-sc .fe-sc-head h3,
.fe-sc .fe-sc-avviso-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fe-sc .fe-sc-avviso-desc-home {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fe-sc .fe-sc-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.3125rem;
    flex: 0 0 auto;
    max-width: 46%;
}

.fe-sc .fe-sc-badge {
    display: inline-block;
    border-radius: 999px;
    padding: 0.35em 0.75em;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}
.fe-sc-badge-interno-home{
    display: inline-block;
    border-radius: 999px;
    padding: 0.35em 0.35em;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;	
	
}
.fe-sc .fe-sc-badge-aperto {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.fe-sc .fe-sc-badge-scadenza {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
}

.fe-sc .fe-sc-badge-chiuso {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.fe-sc .fe-sc-badge-prossima {
    background: #ede9fe;
    color: #5b21b6;
    border: 1px solid #c4b5fd;
}

.fe-sc .fe-sc-badge-interno, .fe-sc .fe-sc-badge-interno-home  {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #9ca3af;
}

.fe-sc .fe-sc-badge-interno i {
    margin-right: 0.25em;
}

.fe-sc .fe-sc-badge-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.fe-sc .fe-sc-badge-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.fe-sc .fe-sc-badge-news {
    background: #e0f2fe;
    color: #0369a1 !important;
    border: 1px solid #7dd3fc;
}

.fe-sc .fe-sc-badge-news:hover {
    background: #bae6fd;
    color: #075985 !important;
    text-decoration: none;
}

.fe-sc .fe-sc-badge-news i {
    margin-right: 0.25em;
}

.fe-sc .fe-sc-category-name {
    margin: 0 0 0.4375rem;
    font-size: 0.85em;
    font-weight: 700;
    color: #0b5ed7;
}
.fe-sc-card .fe-sc-category-name-home {
    margin: 0 0 0.4375rem;
    font-size: 0.85em;
    font-weight: 700;
    color: #0b5ed7;
}

.fe-sc .fe-sc-avviso-desc {
    margin: 0 0 0.75rem;
    color: #4b5563;
    line-height: 1.35;
    font-size: 0.9em;
    max-height: 2.8em;
}
.fe-sc-card .fe-sc-avviso-desc-home {
    margin: 0 0 0.75rem;
    color: #4b5563;
    line-height: 1.35;
    font-size: 0.9em;
    max-height: 2.8em;
}

.fe-sc .fe-sc-date-action-row {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
}

.fe-sc .fe-sc-date-row {
    display: flex;
    gap: 0.5rem;
    margin: 0;
    flex: 1;
}

.fe-sc .fe-sc-date-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5625rem;
    padding: 0.55em 0.7em;
    font-size: 0.85em;
    flex: 1;
    line-height: 1.3;
}

.fe-sc .fe-sc-date-box strong {
    display: inline;
    color: #6b7280;
    font-size: 0.9em;
    text-transform: uppercase;
    margin-right: 0.25em;
}

.fe-sc .fe-sc-btn-partecipa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0b5ed7;
    color: #ffffff !important;
    border-radius: 0.5625rem;
    padding: 0.55em 1.1em;
    font-size: 0.9em;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.fe-sc .fe-sc-btn-partecipa:hover {
    background: #084298;
    color: #ffffff !important;
}

.fe-sc .fe-sc-file-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    padding-top: 0.625rem;
    border-top: 1px solid #eef2f7;
}

.fe-sc .fe-sc-file-actions a {
    display: inline-block;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 0.45em 0.85em;
    color: #0b5ed7;
    font-size: 0.85em;
    font-weight: 700;
    text-decoration: none;
}

.fe-sc .fe-sc-file-actions a:hover {
    background: #eff6ff;
    border-color: #93c5fd;
}

.fe-sc .fe-sc-empty-state {
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 0.875rem;
    padding: 1.625rem;
    text-align: center;
    color: #6b7280;
    margin-top: 1.125rem;
    font-size: 1em;
}

.fe-sc .fe-sc-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 1.5rem;
    align-items: center;
}

.fe-sc .fe-sc-pagination a,
.fe-sc .fe-sc-pagination span {
    display: inline-block;
    padding: 0.6em 0.9em;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #0b5ed7;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85em;
}

.fe-sc .fe-sc-pagination span.fe-sc-current {
    background: #0b5ed7;
    color: #ffffff;
    border-color: #0b5ed7;
}

.fe-sc .fe-sc-pagination span.fe-sc-disabled {
    color: #9ca3af;
    background: #f9fafb;
}

.fe-sc .fe-sc-reset {
    height: 2.5em;
    min-width: 2.5em;
    border-radius: 0.625rem;
    border: 1px solid #d1d5db;
    background: #fff;
    cursor: pointer;
    font-size: 1em;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.fe-sc .fe-sc-reset:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #111827;
}
.fe-sc .fe-sc-loading {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.fe-sc .fe-sc-loading-box {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.875rem;
    padding: 1em 1.35em;
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.16);
    font-size: 1em;
    font-weight: 700;
    color: #111827;
}

.fe-sc .fe-sc-loading-box i {
    margin-right: 0.5em;
    color: #0b5ed7;
}
.fe-sc .fe-sc-prev-apertura {
    margin-top: 0.25em;
    font-size: 0.8em;
    color: #6b7280;
    font-style: italic;
}
.fe-sc .fe-sc-requisiti-icon {
    width: 1.625em;
    height: 1.625em;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #f0fdf4;
    color: #15803d;
    font-size: 0.9em;
}

.fe-sc .fe-sc-requisiti-icon:hover {
    background: #dcfce7;
    color: #166534;
}
@media (max-width: 768px) {
    .fe-sc .fe-sc-toolbar {
        display: block;
    }

    .fe-sc .fe-sc-search,
    .fe-sc .fe-sc-category,
    .fe-sc .fe-sc-status {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 0.625rem;
    }

    .fe-sc .fe-sc-section-head {
        display: block;
    }

    .fe-sc .fe-sc-section-head p {
        margin-top: 0.375rem;
    }

    .fe-sc .fe-sc-list {
        grid-template-columns: 1fr;
    }

    .fe-sc .fe-sc-head {
        display: block;
    }

    .fe-sc .fe-sc-badges {
        justify-content: flex-start;
        margin-top: 0.5rem;
        max-width: none;
    }

    .fe-sc .fe-sc-date-action-row {
        display: block;
    }

    .fe-sc .fe-sc-date-row {
        display: flex;
        gap: 0.375rem;
    }

    .fe-sc .fe-sc-date-box {
        margin-bottom: 0;
        flex: 1;
    }

    .fe-sc .fe-sc-btn-partecipa {
        width: 100%;
        box-sizing: border-box;
        margin-top: 0.4375rem;
    }
}

/*BARRA ASSISTENZA*/
.fe-helpdesk-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: 100%;
}

.fe-helpdesk-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  box-sizing: border-box;
  min-height: 95px;
}

.fe-helpdesk-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
}

.fe-helpdesk-icon svg {
  width: 20px;
  height: 20px;
}

.fe-helpdesk-content {
  min-width: 0;
}

.fe-helpdesk-label {
  margin-bottom: 4px;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.fe-helpdesk-phone {
  color: #111827;
  font-size: clamp(12px, 2vw, 14px);
  line-height: 1.2;
}

.fe-helpdesk-info {
  color: #374151;
  font-size: clamp(10px, 1.5vw, 12px);
  line-height: 1.3;
}

.fe-helpdesk-note {
  color: #6b7280;
  font-size: 0.85em;
}

/* BOTTONI */
.fe-helpdesk-button-box {
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;

  background: #2563eb;
  color: #ffffff;
  border: 1px solid #2563eb;
}

.fe-helpdesk-button-box .fe-helpdesk-label,
.fe-helpdesk-button-box .fe-helpdesk-info,
.fe-helpdesk-button-box .fe-helpdesk-phone {
  color: #ffffff;
}

.fe-helpdesk-button-box .fe-helpdesk-icon {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}

.fe-helpdesk-button-box:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

@media (max-width: 1200px) {
  .fe-helpdesk-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .fe-helpdesk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .fe-helpdesk-grid {
    grid-template-columns: 1fr;
  }
}

/*FINE BARRA ASSISTENZA*/