.valuta-sito {
    width: 100% !important;
    background: $brand-primary;
    text-align: center;
    padding-right: 0;
    padding-left: 0;
    margin-bottom: 0;

    a {
        display: block;
        color: #fff !important;
        padding: 20px;

        .valuta-sito-text {
            border-bottom: 1px solid transparent;
        }

        &:hover,
        &:focus {
            .valuta-sito-text {
                border-bottom-color: #fff;
            }
        }
    }

    p {
        margin: 0;
    }

    .valuta-sito-content:before {
        content: '';
        padding-right: 4em;
        display: inline-block;
        width: auto;
        height: 1.5em;
        vertical-align: top;
        background-image: url($img-path+'rectangle-tool.svg');
        background-size: 4rem;
        background-repeat: no-repeat;
        background-position: center center;
    }

    .portletHeader {
        display: none;
    }
}

// tile statiche generiche
.tile-advanced-static {
    margin: 30px 0;

    &.sfondo-scuro,
    &.sfondo-chiaro {
        margin: 0;
        padding: 20px 0;
    }

    .tileTitle {
        margin-top: 0;
    }

    .tileFooter {
        font-weight: $semibold;

        a {
            border: 1px solid;
            border-radius: 3px;
            padding: 0 0.5em;
        }
    }

    &.portletStaticNavigation {
        .tile-text {
            padding: 20px;

            h3,
            h2 {
                border-bottom: 4px solid #666;
                padding-bottom: 10px;
                margin-bottom: 0.75em;
            }

            ul {
                margin: 1.5rem 0;
                padding: 0;
                list-style: none;

                li {
                    padding: 1.5rem 0;
                    border-top: 1px solid $gray-desc-border;

                    a {
                        border-bottom: 0 none;

                        &:focus,
                        &:hover {
                            border-bottom: 1px solid $link-hover-color;
                        }
                    }
                }
            }
        }
    }
}

.PagesTileStatic,
.tile-advanced-static.PagesTileStatic {
    margin: 3rem 0;

    .tile-container:before {
        border-top: 8px solid $brand-primary;
        clear: both;
        content: ' ';
        display: block;
        width: 200px;
        max-width: 100%;
    }

    a {
        border-bottom: 1px solid $link-color;

        &:focus,
        &:hover {
            border-bottom: 1px solid $link-hover-border-color;
        }
    }

    .tileTitle {
        font-size: 2.5rem;
        font-weight: $semibold;
        margin: 1.5rem 0 1rem;
        line-height: 1.3;

        a {
            color: #000;
            border-bottom: 0 none;

            &:focus,
            &:hover {
                color: $link-hover-color;
                border-bottom: 1px solid $link-hover-color;
            }
        }
    }

    .tile-text {
        ul {
            margin: 1.5rem 0;
            padding: 0;
            list-style: none;

            li {
                padding: 1.5rem 0;
                border-top: 1px solid $gray-desc-border;

                a {
                    border-bottom: 0 none;

                    &:focus,
                    &:hover {
                        border-bottom: 1px solid $link-hover-color;
                    }
                }
            }
        }
    }
}

.sfondo-chiaro {
    &.portletStaticNavigation {
        .tile-text {
            background: #fff;
            @include clearfix;
        }
    }
}
