/**********************/
/* RISORSE */
/**********************/
.tags-feed {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.tags-feed #search-in-menu {
    display: none;
}
.tags-feed ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center !important;
}
.tags-feed ul li {
    margin-bottom: 10px;
}
.tags-feed ul .widget-list-link .badge {
    color: #FFF;
    border-radius: 30px;
    padding: 4px 7px;
    text-align: center;
    font-size: .9em;
    font-weight: 400;
}
.tags-feed ul .widget-list-link {
    padding: 5px 6px 5px 14px;
    background-color: #FFF;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    color: #333;
    box-shadow: 0px 4px 10px #00000000;
    transition: all 200ms ease-out;
}
.tags-feed ul .widget-list-link span {
    line-height: 1;
    min-height: 30px;
    display: flex;
    align-items: center;
    font-weight: 600;
}
.tags-feed ul .widget-list-link:hover {
    /* border-radius: 8px; */
    background: #ffffff24;
    box-shadow: 0px 4px 10px #00000012;
    color: #FFF !important;
}
.tags-feed ul .widget-list-item + .widget-list-item {
    margin-left: 10px;
}

.tags-feed ul .widget-list-item:nth-child(1) .widget-list-link {
    color: #007aff;
}
.tags-feed ul .widget-list-item:nth-child(1) .widget-list-link .badge {
    background: #007aff;
}
.tags-feed ul .widget-list-item:nth-child(2) .widget-list-link {
    color: #8cc73b;
}
.tags-feed ul .widget-list-item:nth-child(2) .widget-list-link .badge {
    background: #8cc73b;
}
.tags-feed ul .widget-list-item:nth-child(3) .widget-list-link {
    color: #ed3b3b;
}
.tags-feed ul .widget-list-item:nth-child(3) .widget-list-link .badge {
    background: #ed3b3b;
}
.tags-feed ul .widget-list-item:nth-child(4) .widget-list-link {
    color: #f7941d;
}
.tags-feed ul .widget-list-item:nth-child(4) .widget-list-link .badge {
    background: #f7941d;
}
.tags-feed ul .widget-list-item:nth-child(5) .widget-list-link {
    color: #039be5;
}
.tags-feed ul .widget-list-item:nth-child(5) .widget-list-link .badge {
    background: #039be5;
}
.tags-feed ul .widget-list-item:nth-child(6) .widget-list-link,
.tags-feed ul .widget-list-item:nth-child(7) .widget-list-link {
    color: var(--lilla-color);
    padding: 5px 14px;
}
.feed-item {
    background: #FFF;
    padding: 10px;
    border-radius: 15px;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    color: #828282;
    box-shadow: 0px 4px 20px #0000002c, 0px 0px 0px 0px #ffffff00;
    transition: all 200ms ease-out;
}
.feed-item:hover {
    box-shadow: 0px 4px 20px #0000005c, -15px 12px 0px 0px #ffffff62;
}
.feed-item .thumbnail-wrap {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
    margin-bottom: 0px;
    background: #f3f6ff;
    display: inherit;
}
.feed-item .thumbnail-wrap img {
    aspect-ratio: 5 / 3;
    object-fit: cover;
    display: block;
    margin: 0;
}
.feed-item .wrap {
    background: #f3f6ff;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.feed-item .feed-title {
    margin-top: 0;
    font-size: 18px;
    color: var(--blu-color);
}
.feed-item .content-feed {
    margin-bottom: 20px;
}
.feed-item .readmore-btn {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    margin-left: auto;
    text-decoration: none;
    font-weight: 500;
    color: var(--blu-color);
}
.feed-item .readmore-btn:after {
    content: "\f061";
    font-family: "Font Awesome 6 Sharp";
    font-size: 20px;
    margin-left: 8px;
    padding-left: 0;
    transition: all 200ms ease-out;
}
.feed-item .readmore-btn:hover:after {
    padding-left: 10px;
}

.page-template-page-risorse #main {
    padding-top: 0;
    z-index: 5;
    position: relative;
}
.youtube-wrap {
    z-index: 3;
}
.youtube-wrap #playlist-player {
    background-color: #FFF;
    border-radius: 10px;
    box-shadow: 0px 4px 20px -8px #00000070;
}
.page-template-page-risorse iframe {
    border-radius: 20px;
    padding: 10px;
}

.scrollable-wrap::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.scrollable-wrap::-webkit-scrollbar-track {
    max-height: 90%;
}

.scrollable-wrap::-webkit-scrollbar-thumb {
    border-radius:10px;
    height: 6px;
    background-color: rgba(0, 0, 0, 0.7);
}

.page-template-page-risorse .scrollable-wrap {
    max-height: 100%;
    overflow-x: none;
    overflow-y: scroll;
    position: absolute;
    top: 0;
    left: 0;
    right: 15px;
    bottom: 0;
    padding: 10px 5px 10px 10px;
    background-color: #FFF;
    border-radius: 10px;
    box-shadow: 0px 4px 20px -8px #00000070;
}
.cta-manuale {
    position: relative;
    border-radius: 10px;
    padding: 20px;
    font-size: 70px;
    color: #FFF;
    background-image: linear-gradient(to left bottom, #d391c7, #c374bf, #b058b9, #9a3cb4, #7f1cb1);
}
.cta-manuale:before {
    content: '';
    right: -10px;
    width: 150px;
    height: 100%;
    position: absolute;
    top: -30px;
    background: url(../img/max-big.webp) no-repeat center 20px;
    background-size: contain;
}
.cta-manuale a {
    text-decoration: none;
}
.cta-manuale span {
    display: block;
    position: relative;
    text-decoration: none;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 20px;
    display: grid;
    grid-template-columns: auto 50px;
    align-items: center;
    column-gap: 20px;
}
.cta-manuale span:after {
    content: "\f061";
    font-family: "Font Awesome 6 Sharp";
    font-size: 20px;
    margin-left: 0px;
    padding-left: 0;
    background: #FFF;
    border-radius: 50%;
    box-sizing: inherit;
    width: 50px;
    height: 50px;
    align-items: center;
    display: flex;
    justify-content: center;
    border-bottom: 2px solid var(--main-color);
    border-right: 3px solid var(--main-color);
    box-shadow: 2px 3px 0px, -2px 0px 6px -3px #000000bf;
    transition: all 200ms ease-out;

}
.cta-manuale a:hover span:after {
    box-shadow: -2px -3px 0px #00000000, -2px 0px 6px -3px #00000000;
    border-bottom: 2px solid #774ccd00;
    border-right: 3px solid #774ccd00;
    border-top: 2px solid #49209b;
    border-left: 3px solid #49209b;
    border-bottom: 1px solid #49209b;
    border-right: 1px solid #49209b;
    background-color: #fdfdfd;
    color: var(--main-color);
}

#playlist-player,
#playlist-player img {
    aspect-ratio: 16/9;
    width: 100%;
    overflow: hidden;
}
#playlist-items {
    background: #f1f2f7;
    border-radius: 10px;
    padding: 5px;
}

#playlist-items .slick-list {
    height: auto !important;
}
.playlist-item .wrap{
    display: grid;
    grid-template-columns: 100px auto;
    align-items: center;
    border-radius: 10px;
    padding: 4px 0;
    cursor: pointer;
    transition: all .3s ease-out;
}
.playlist-item .wrap:hover {
    background-color: #00000041;
}
.playlist-item img {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    margin: 0px;
    background: #FFF;
    box-shadow: 0px 4px 20px -8px #00000000;
    transition: all .3s ease-out;
}
.playlist-item .video-title {
    font-size: 15px;
    margin-top: 0;
    padding: 5px 0 5px 10px;
    color: #333;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .2px;
    margin-bottom: 0;
}
.cta-risorse {
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    background: #FFF;
    box-shadow: 0px 4px 20px -8px #00000070;
}
.cta-risorse img {
    border-radius: 10px 0 0 10px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.cta-risorse .title {
    font-weight: 600;
    margin-top: 0;
}
.cta-risorse.manuale .title {
    color: #00c9a7;
}
.cta-risorse .cta-content {
    padding: 15px 15px 15px 20px;
    display: flex;
    flex-direction: column;
}
.cta-risorse .btn {
    padding: 10px 30px;
    border-radius: 20px;
    color: #FFF;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    margin-left: auto;
    margin-top: 1rem;
    font-size: 13px;
    text-decoration: none;
    transition: all 200ms ease-out;
}
.cta-risorse .btn:hover {
    opacity: .8;
}
.cta-risorse.manuale .btn {
    background: #00c9a7;
}

.cta-risorse.glossario .title {
    color: #377dff;
}
.cta-risorse.glossario .btn {
    background: #377dff;
}
.blog-section {
    background: var(--blu-color);
    color: #FFF;
}
.blog-section.curved:before {
    background-image: url("data:image/svg+xml,%3Csvg id='curva-top' data-name='curva-top' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2545 417.91'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: %236366f1; stroke-width: 0px; %7D %3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M0,417.51c338.29-5.72,711.9-31.44,1113.86-89.4C1652.48,250.45,2132.36,130.73,2545,0v417.91L0,417.51Z'/%3E%3C/svg%3E");
}
.blog-section > .container{
    padding-bottom: 3rem;
}
.blog-section > .container:before,
.blog-section > .container::after {
    content: '';
    background: url(vector/4-cerchi.svg) no-repeat center center;
    width: 210px;
    height: 210px;
    position: absolute;
    bottom: 0%;
    right: 0;
    z-index: -2;
    pointer-events: none;
    transform: translate(-50%, 48%);
}

.blog-section > .container:before {
    bottom: 100%;
    left: 0;
    top: initial;
    right: initial;
    transform: translate(-50%, 37%) rotate(180deg);
}
.playlist-item:has(img[alt="Deleted video"]) {
    display: none;
}
@media (max-width:1099px) {
    .playlist-item .wrap {
        display: grid;
        grid-template-columns: 76px auto;
    }
}
@media (max-width:767px) {

    .page-template-page-risorse .scrollable-wrap {
        overflow-x: scroll;
        overflow-y: none;
        position: static;
        max-height: 120px;
        padding: 10px 10px 4px;
    }

    #playlist-items {
        display: flex;
        align-items: start;
        background: none;
        overflow-x: scroll;
        overflow-y: hidden;
        height: 70px;
        padding: 0;
    }
    #playlist-items .slick-list,
    #playlist-items .slick-track {
        overflow: visible;
    }
    #playlist-items .slick-track {
        overflow: scroll;
        display: flex;
        margin: 0;
        transform: unset !important;
        height: auto !important;
    }
    #playlist-items .playlist-item {
        margin-right: 10px;
        background: #f1f2f7;
        border-radius: 10px;
        min-height: 70px;
        display: flex;
        padding: 4px;
        width: 60vw !important;
    }
    #playlist-items .playlist-item .wrap {
        grid-template-columns: 70px auto;
        width: 100%;
    }

    .playlist-item .video-title {
        font-size: 13px;
        margin-top: 0;
        padding: 5px 10px 5px 10px;
        color: #333;
        font-weight: 600;
        line-height: 1.2;
        letter-spacing: .2px;
        margin-bottom: 0;
        min-width: 40vw;
    }

}