footer {
    display: block;
    margin: auto;
    /* max-width: 1200px; */
    flex-wrap: nowrap;
    justify-content: center;
    margin-top: 2rem;
}

footer .section {
    margin: 1rem 2rem 0rem 2rem;
}


.footer .link a {
    position: relative;
    display: block;
    border-radius: 3px;
    padding: 11px;
    margin: 1px;
    font-size: 16px
}

.footer-logo {
    margin: 10px 0 16px 20px
}

.page-footer .colonna {
    padding: .01em;
}

.page-footer .img {
    display: table-cell;
    height: 60px;
    padding-left: .5em
}

.page-footer img.logo {
    display: block;
    height: 40px;
    filter: none
}

.page-footer img.logo:hover {
    filter: drop-shadow(0px 0px 16px var(--shadow-2));
}

.page-footer .title i {
    padding-right: 10px;
    margin-top: 4px
}

.page-footer .title {
    font-size: 1.22em;
    display: flex;
    height: 2.2em;
    border-bottom: 1px solid #d4d2d0;
    margin: 1.5em .001em;
    font-weight: 700
}

.page-footer .desc {
    font-style: normal;
    font-size: 16px;
    margin: .1em .5em
}

.page-footer a {
    -webkit-tap-highlight-color: #edda32;
    font-size: 16px;
    color: var(--text-dark);
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 7px;
    padding-right: 7px;
    border-radius: 3px;
}

.page-footer a:hover:not(a.img) {
    -webkit-tap-highlight-color: #edda32;
    color: var(--text-badge-attention-background);
    background: var(--background-color);
}

.page-footer,
.page-footer .container {
    width: 100% !important;
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    margin-bottom: 0;
}

.latest .clear:hover {
    background: rgba(55, 55, 55, .57)
}

.latest .collapsible-header {
    display: block;
    cursor: pointer;
    min-height: 2rem;
    padding: 1em;
    border-bottom: 1px solid #ddd;
    line-height: 1.3em;
    font-weight: 600
}

.latest,
.newlatest {
    height: 700px;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    overflow: auto;
    position: relative
}

.latest-list li {
    padding: 8px 0;
    border-top: 1px solid #353535
}

.latest-list li:first-child {
    padding-top: 0;
    border-top: none
}

.latest-list li a {
    color: #eee
}

.latest-list small {
    color: #999;
    display: block
}

.latest.collapsibles.popout {
    border: none;
    box-shadow: none !important
}

.latest.collapsibles.popout>li.active {
    margin: 16px 10px !important
}

.latest.collapsibles.popout>li.active>.card {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    width: 100%
}

.latest .media {
    margin-top: 0;
    border-radius: 0 0 4px 4px
}

.latest .thumb150 {
    background-attachment: scroll;
    height: 150px;
    width: 150px;
    background-image: url(transparent)
}

.latest h3 {
    margin-left: 20px
}

.page-footer hr {
    clear: both;
    float: none;
    margin: 0 2%;
    -webkit-margin-before: 1.5em;
    -webkit-margin-after: 1.5em;
    -webkit-margin-start: auto;
    -webkit-margin-end: auto;
    border-style: inset;
    border-right: 0px;
    border-bottom: 0;
    border-left: 0;
    border-top: 2px solid #dadada
}

.page-footer .last a,
.page-footer .last p {
    font-size: 20px;
    padding: 1.5em 1.48em;
    display: flex;
    align-items: center;
    justify-content: left;
    line-height: 1.1;
    -webkit-line-clamp: 4;
    overflow-wrap: break-word;
    -webkit-box-orient: vertical;
    border-bottom: 1px solid var(--bg-darken-2)
}

.page-footer .card.last a.canale,
.page-footer .card.last p.canale {
    font-size: 16px;
    font-weight: 400
}

.page-footer .thumb {
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 240px
}

.page-footer .card {
    position: relative;
    margin: .5rem 0 1rem;
    transition: .3s ease-in-out;
    color: #fff;
    background: -webkit-linear-gradient(90deg, #101011 0, #2f2f3e 54%, #141617 100%) !important;
    background: linear-gradient(90deg, #101011 0, #2f2f3e 54%, #141617 100%) !important
}

.page-footer .card a,
.page-footer .card p {
    font-weight: 700;
    font-family: Roboto, sans-serif
}

.page-footer .card .card-tag {
    display: inline-flex;
    margin: 10px 9px;
    padding: 3px 6px
}

.page-footer .card .teal-text,
.page-footer .card .teal-text .label {
    margin: 2px;
    font-size: .9em;
    padding: 5px 13px;
    line-height: 1.5;
    border: 0;
    border-radius: 9px;
    -webkit-transition: .64s;
    -o-transition: .64s;
    transition: .64s
}

.page-footer .card .card-tag span,
.page-footer .card a.card-tag {
    font-size: 16px;
    padding: 4px 8px;
    line-height: inherit;
    border: 0;
    border-radius: 6px
}

.page-footer .card a {
    -webkit-transition: .64s;
    -o-transition: .64s;
    transition: .64s
}

@media only screen and (max-width: 768px) {
    footer .section {
        margin: auto;
        padding: 21px 12px;
    }

    .page-footer .colonna {
        padding-left: 0;
        padding-right: 0;
    }
}

@media only screen and (max-width: 4096px) {

    .last-carosello-item .card-image,
    .last-carosello-item.card,
    .latest .thumb {
        background-attachment: scroll;
        background-repeat: no-repeat;
        background-position: center center
    }

    .last-carosello-item .card-image,
    .latest .thumb {
        background-size: cover
    }

    .last-carosello-item {
        float: left;
        min-width: 280px;
        margin: 0 .6em;
        transition: box-shadow .25s;
        border-radius: 2px
    }

    .last-carosello-item .card .book img {
        height: 280px
    }

    .list-carousel-item .card img {
        height: 150px
    }

    .last-carosello-item.card {
        width: 310px;
        margin: .6em
    }

    .carosello {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
        position: relative;
        display: -webkit-box;
        overflow-x: auto;
    }

    .last-carosello {
        min-height: 0;
        display: flex;
        flex-wrap: nowrap;
    }

    .last-carosello.latest {
        height: 410px;
        margin: .3em 0;
    }

    .page-footer .card .card-content {
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: #101011;
        background: -moz-linear-gradient(90deg, #101011 0, #2f2f3e 54%, #141617 100%);
        background: -webkit-linear-gradient(90deg, #101011 0, #2f2f3e 54%, #141617 100%);
        background: linear-gradient(90deg, #101011 0, #2f2f3e 54%, #141617 100%)
    }

    .page-footer .card .last a {
        height: 90px
    }

    .latest .thumb {
        height: 150px;
        width: 100%
    }

    .page-footer .card.last a.black-text {
        height: 112px
    }

    .latest .clear {
        display: block;
        position: relative;
        width: 250px
    }

    .latest {
        /* height: 400px; */
    }

    .newlatest {
        max-height: 414px
    }

    .newlatest .card-content {
        height: 210px;
        width: 310px;
        overflow-y: hidden
    }

    .latest .img {
        float: none;
        height: auto;
        width: 263px
    }

    .page-footer .last a.canale {
        height: 48px;
        padding: 1em 1.1em;
    }

    .page-footer .last a,
    .page-footer .last p {
        font-size: 17px;
        padding: 1.8em 1.1em;
        align-items: center;
        justify-content: left;
        line-height: 1.1;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        border-bottom: 1px solid var(--bg-darken-2);
        height: 117px;
        border-radius: 0;
    }

    .latest-list li {
        padding: 8px 0;
        border-top: 1px solid #353535
    }

    .latest-list li:first-child {
        padding-top: 0;
        border-top: none
    }

    .latest-list li a {
        color: #eee
    }
}