/* FENICEsito 2.9.38-dev — compatibilità, colori e tabelle del footer pubblico. */
body:not(.admin-shell-body) .site-footer {
    padding: var(--fenice-footer-padding, 30px) 0;
    border-top: 1px solid var(--fenice-footer-border, #7d969c);
    background: var(--fenice-footer-bg, #91a6ae);
    color: var(--fenice-footer-text, #ffffff);
    text-align: left;
}
body:not(.admin-shell-body) .site-footer__content {
    display: block;
    color: var(--fenice-footer-text, #ffffff);
}
body:not(.admin-shell-body) .site-footer p,
body:not(.admin-shell-body) .site-footer li,
body:not(.admin-shell-body) .site-footer span,
body:not(.admin-shell-body) .site-footer address,
body:not(.admin-shell-body) .site-footer div {
    color: var(--fenice-footer-text, #ffffff);
}
body:not(.admin-shell-body) .site-footer h1,
body:not(.admin-shell-body) .site-footer h2,
body:not(.admin-shell-body) .site-footer h3,
body:not(.admin-shell-body) .site-footer h4,
body:not(.admin-shell-body) .site-footer h5 {
    color: var(--fenice-footer-title, #ffffff);
}
body:not(.admin-shell-body) .site-footer a {
    color: var(--fenice-footer-link, #ffffff);
}
body:not(.admin-shell-body) .site-footer a:hover,
body:not(.admin-shell-body) .site-footer a:focus {
    color: var(--fenice-footer-link-hover, var(--fenice-footer-link, #ffffff));
}
body:not(.admin-shell-body) .site-footer img {
    max-width: 100%;
    height: auto;
}
body:not(.admin-shell-body) .site-footer table {
    width: 100%;
    border-collapse: collapse;
    color: var(--fenice-footer-text, #ffffff);
}
body:not(.admin-shell-body) .site-footer__content > :first-child {
    margin-top: 0;
}
body:not(.admin-shell-body) .site-footer__content > :last-child {
    margin-bottom: 0;
}

/* 2.9.24-dev — tabelle del footer responsive e dimensionabili. */
.site-footer table.cms-table {
    max-width: 100%;
}

.site-footer table[data-cms-table-layout="fixed"] {
    table-layout: fixed;
}

.site-footer table[data-cms-table-layout="fixed"] th,
.site-footer table[data-cms-table-layout="fixed"] td {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 680px) {
    .site-footer table.cms-table {
        display: block;
        width: 100% !important;
        height: auto !important;
        overflow-x: auto;
    }
}

/* FENICEsito 2.9.30-dev — linee nascoste nelle tabelle del footer. */
.site-footer table.cms-table[data-cms-border-visible="0"],
.site-footer table.cms-table [data-cms-border-visible="0"] {
    border: 0 none transparent !important;
}



/* FENICEsito 2.9.32-dev — sfondi tabella e allineamento footer. */
.site-footer table.cms-table[data-cms-background-visible="0"],
.site-footer table.cms-table [data-cms-background-visible="0"] {
    background-color: transparent !important;
}

/* FENICEsito 2.9.37-dev — layout immagini nel footer. */
.site-footer figure.cms-media--image { max-width: 100%; box-sizing: border-box; }
.site-footer [data-cms-width="20"] { width: 20%; }
.site-footer [data-cms-width="25"] { width: 25%; }
.site-footer [data-cms-width="30"] { width: 30%; }
.site-footer [data-cms-width="35"] { width: 35%; }
.site-footer [data-cms-width="40"] { width: 40%; }
.site-footer [data-cms-width="45"] { width: 45%; }
.site-footer [data-cms-width="50"] { width: 50%; }
.site-footer [data-cms-width="55"] { width: 55%; }
.site-footer [data-cms-width="60"] { width: 60%; }
.site-footer [data-cms-width="65"] { width: 65%; }
.site-footer [data-cms-width="70"] { width: 70%; }
.site-footer [data-cms-width="75"] { width: 75%; }
.site-footer [data-cms-width="80"] { width: 80%; }
.site-footer [data-cms-width="85"] { width: 85%; }
.site-footer [data-cms-width="90"] { width: 90%; }
.site-footer [data-cms-width="95"] { width: 95%; }
.site-footer [data-cms-width="100"] { width: 100%; }
.site-footer figure.cms-media--image:not([data-cms-image-caption-visible="1"]) > figcaption { display: none !important; }
.site-footer figure.cms-media--image[data-cms-image-caption-visible="1"] > figcaption {
    display: block;
    padding: 8px 4px 0;
    color: inherit;
    font-size: .9rem;
    text-align: center;
}
.site-footer__content::after { display: block; clear: both; content: ""; }
@media (max-width: 680px) {
    .site-footer figure.cms-media--image:not([data-cms-image-responsive="0"]) {
        width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
        float: none !important;
    }
}


/* FENICEsito 2.9.38-dev — layout del footer collegato al tema. */
body:not(.admin-shell-body) .site-footer__content {
    width: min(var(--fenice-page-content-width, 1180px), calc(100% - (var(--fenice-page-side-padding, 22px) * 2)));
    max-width: none;
    margin-inline: auto;
}
body:not(.admin-shell-body) .site-footer__content > :where(p, h1, h2, h3, h4, h5, ul, ol, blockquote) {
    max-width: min(100%, var(--fenice-page-text-width, 800px));
}
body:not(.admin-shell-body) .site-footer__content > :where(figure, img, video, audio, iframe, .cms-media) {
    max-width: min(100%, var(--fenice-page-media-width, 100%));
}
body:not(.admin-shell-body) .site-footer__content > table {
    width: min(100%, var(--fenice-page-table-width, 100%));
    max-width: min(100%, var(--fenice-page-table-width, 100%));
}
body:not(.admin-shell-body) .site-footer__content > * + * {
    margin-top: var(--fenice-page-section-spacing, 40px);
}

/* FENICE 3.0.11 - collegamenti legali del footer. */
body:not(.admin-shell-body) .site-footer__legal{margin-top:1rem;padding-top:.75rem;border-top:1px solid color-mix(in srgb,currentColor 22%,transparent);font-size:.9em}
body:not(.admin-shell-body) .site-footer__legal a{display:inline-block}
