@font-face {
    font-family: "TrendexLightSSi";
    src: url("fonts/TrendexLightSSi.ttf");
}

@font-face {
    font-family: "TrendexLightSSiMedium";
    src: url("fonts/TrendexLightSSiMedium.ttf");
}

@font-face {
    font-family: "Fabric External MDL2 Assets";
    src: url("fonts/FabExMDL2.3.36.ttf");
}

@font-face {
    font-family: "Segoe MDL2 Assets";
    src: url("fonts/SegMDL2.ttf");
}

@font-face {
    font-family: "FabricMDL2Icons";
    src: url("fonts/FabricMDL2Icons.woff");
}

@font-face {
    font-family: "Font Awesome 5 Brands";
    src: url("fonts/fa-brands-400.woff2");
}

.font-italic {
    font-style: italic;
}

.bg-blur-old {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-blur-old-content {
    position: relative;
    overflow: hidden;
    background: inherit;
    z-index: 1;
}

    .bg-blur-old-content::after {
        content: "";
        position: absolute;
        top: -15%;
        left: -15%;
        bottom: -15%;
        right: -15%;
        background: inherit;
        filter: blur(6px) brightness(0.9);
        z-index: -1;
    }

.bg-blur {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

    .bg-blur:not(.bg-blur--full) > div, .bg-blur .heading {
        position: relative;
        overflow: hidden;
        background: inherit;
        z-index: 1;
    }

        .bg-blur:not(.bg-blur--full) > div::after, .bg-blur .heading::after {
            content: "";
            position: absolute;
            top: -15%;
            left: -15%;
            bottom: -15%;
            right: -15%;
            background: inherit;
            filter: blur(6px) brightness(0.8);
            z-index: -1;
        }

.bg-blur--full {
    overflow: hidden;
    z-index: 1;
}

    .bg-blur--full::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background: inherit;
        filter: blur(3px) brightness(1);
        z-index: -1;
    }

.bg-opacity {
    background-repeat: no-repeat;
}

    .bg-opacity > div, .bg-opacity-content {
        position: relative;
        overflow: hidden;
        background: inherit;
        z-index: 1;
    }

        .bg-opacity > div::after, .bg-opacity-content::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            background: inherit;
            filter: blur(6px) brightness(0.7);
            z-index: -1;
        }

.bg-opacity--full {
    overflow: hidden;
    z-index: 1;
    background-attachment: local;
}

    .bg-opacity--full::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background: inherit;
        filter: blur(3px) brightness(1);
        z-index: -1;
        background-image: url(/img/bg-collaborator.jpg);
        filter: opacity(0.2) grayscale(0.8);
    }

@font-face {
    font-family: "TrendexLightSSi";
    src: url("fonts/TrendexLightSSi.ttf");
}

@font-face {
    font-family: "TrendexLightSSiMedium";
    src: url("fonts/TrendexLightSSiMedium.ttf");
}

@font-face {
    font-family: "Fabric External MDL2 Assets";
    src: url("fonts/FabExMDL2.3.36.ttf");
}

@font-face {
    font-family: "Segoe MDL2 Assets";
    src: url("fonts/SegMDL2.ttf");
}

@font-face {
    font-family: "FabricMDL2Icons";
    src: url("fonts/FabricMDL2Icons.woff");
}

@font-face {
    font-family: "Font Awesome 5 Brands";
    src: url("fonts/fa-brands-400.woff2");
}

.font-italic {
    font-style: italic;
}

.article-section {
    height: 94%;
    width: 100%;
    position: relative;
}

.article-section-title {
    border-radius: 0.25em;
    padding: 0 0.5em;
    display: inline-block;
    margin-top: 2.5%;
    margin-left: 5%;
    font-size: 1.6180339888em;
    line-height: 2.0581710273em;
    letter-spacing: 0.1em;
    box-shadow: 3px 3px 4px 0px rgba(80, 80, 80, 0.4);
    background-color: rgba(255, 255, 255, 0.7);
}

.article-section-textbox {
    border-radius: 0.75em;
    padding: 1em;
    font-size: 0.7861513778em;
    line-height: 2.0581710273em;
    box-shadow: 3px 3px 4px 0px rgba(80, 80, 80, 0.4);
    background-color: rgba(255, 255, 255, 0.7);
}

.article-section-wrapper {
    height: calc(100vh - 140px);
}

@font-face {
    font-family: "TrendexLightSSi";
    src: url("fonts/TrendexLightSSi.ttf");
}

@font-face {
    font-family: "TrendexLightSSiMedium";
    src: url("fonts/TrendexLightSSiMedium.ttf");
}

@font-face {
    font-family: "Fabric External MDL2 Assets";
    src: url("fonts/FabExMDL2.3.36.ttf");
}

@font-face {
    font-family: "Segoe MDL2 Assets";
    src: url("fonts/SegMDL2.ttf");
}

@font-face {
    font-family: "FabricMDL2Icons";
    src: url("fonts/FabricMDL2Icons.woff");
}

@font-face {
    font-family: "Font Awesome 5 Brands";
    src: url("fonts/fa-brands-400.woff2");
}

.font-italic {
    font-style: italic;
}

.activity-desc {
    width: 600px;
}

.activity-img {
    height: 25%;
}

@font-face {
    font-family: "TrendexLightSSi";
    src: url("fonts/TrendexLightSSi.ttf");
}

@font-face {
    font-family: "TrendexLightSSiMedium";
    src: url("fonts/TrendexLightSSiMedium.ttf");
}

@font-face {
    font-family: "Fabric External MDL2 Assets";
    src: url("fonts/FabExMDL2.3.36.ttf");
}

@font-face {
    font-family: "Segoe MDL2 Assets";
    src: url("fonts/SegMDL2.ttf");
}

@font-face {
    font-family: "FabricMDL2Icons";
    src: url("fonts/FabricMDL2Icons.woff");
}

@font-face {
    font-family: "Font Awesome 5 Brands";
    src: url("fonts/fa-brands-400.woff2");
}

.font-italic {
    font-style: italic;
}

.team-member-info {
    display: flex;
    align-items: flex-start;
}

.team-member-info-detail {
    box-shadow: 3px 3px 4px 0px rgba(80, 80, 80, 0.4);
    border-radius: 0.5em 0 0 0.5em;
    background-color: rgb(255, 255, 255);
}

.team-member-info-name {
    padding: 0.4em 0.4em 0 0.4em;
    font-size: 1.2720196495em;
    line-height: 2.0581710273em;
}

.team-member-info-qualify {
    padding: 0 0.4em 0.4em 0.4em;
    font-size: 1em;
    line-height: 1.6180339888em;
    font-style: italic;
}

.team-member-info--specular {
    align-items: flex-end;
}

    .team-member-info--specular .team-member-info-detail {
        order: 1;
        border-radius: 0 0.5em 0.5em 0;
    }

    .team-member-info--specular .team-member-img {
        box-shadow: -10px 10px 12px 0 rgba(0, 0, 0, 0.6);
    }

.team-member-img {
    width: 33.3333333333%;
    flex: 1;
    box-shadow: 10px 10px 12px 0 rgba(0, 0, 0, 0.6);
    z-index: 1;
}

@font-face {
    font-family: "TrendexLightSSi";
    src: url("fonts/TrendexLightSSi.ttf");
}

@font-face {
    font-family: "TrendexLightSSiMedium";
    src: url("fonts/TrendexLightSSiMedium.ttf");
}

@font-face {
    font-family: "Fabric External MDL2 Assets";
    src: url("fonts/FabExMDL2.3.36.ttf");
}

@font-face {
    font-family: "Segoe MDL2 Assets";
    src: url("fonts/SegMDL2.ttf");
}

@font-face {
    font-family: "FabricMDL2Icons";
    src: url("fonts/FabricMDL2Icons.woff");
}

@font-face {
    font-family: "Font Awesome 5 Brands";
    src: url("fonts/fa-brands-400.woff2");
}

.font-italic {
    font-style: italic;
}

/*TODO: unificare tutte le card con un solo modulo*/
.card-persona {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background-color: rgb(16, 120, 158);
    box-shadow: 3px 3px 4px 0px rgba(80, 80, 80, 0.4);
}

.card-persona-img {
    flex: 0.75;
    height: 50%;
    clip-path: circle();
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 100;
    font-size: 2em;
}

    .card-persona-img::before {
        color: rgba(255, 255, 255, 0.5);
        margin: auto;
    }

.card-persona-detail {
    flex: 2;
    height: auto;
    font-size: 1em;
    line-height: 1.6180339888em;
}

.card-persona-title {
    font-size: 0.7861513778rem;
    line-height: 1.2720196495rem;
}

@font-face {
    font-family: "TrendexLightSSi";
    src: url("fonts/TrendexLightSSi.ttf");
}

@font-face {
    font-family: "TrendexLightSSiMedium";
    src: url("fonts/TrendexLightSSiMedium.ttf");
}

@font-face {
    font-family: "Fabric External MDL2 Assets";
    src: url("fonts/FabExMDL2.3.36.ttf");
}

@font-face {
    font-family: "Segoe MDL2 Assets";
    src: url("fonts/SegMDL2.ttf");
}

@font-face {
    font-family: "FabricMDL2Icons";
    src: url("fonts/FabricMDL2Icons.woff");
}

@font-face {
    font-family: "Font Awesome 5 Brands";
    src: url("fonts/fa-brands-400.woff2");
}

.font-italic {
    font-style: italic;
}

@font-face {
    font-family: "TrendexLightSSi";
    src: url("fonts/TrendexLightSSi.ttf");
}

@font-face {
    font-family: "TrendexLightSSiMedium";
    src: url("fonts/TrendexLightSSiMedium.ttf");
}

@font-face {
    font-family: "Fabric External MDL2 Assets";
    src: url("fonts/FabExMDL2.3.36.ttf");
}

@font-face {
    font-family: "Segoe MDL2 Assets";
    src: url("fonts/SegMDL2.ttf");
}

@font-face {
    font-family: "FabricMDL2Icons";
    src: url("fonts/FabricMDL2Icons.woff");
}

@font-face {
    font-family: "Font Awesome 5 Brands";
    src: url("fonts/fa-brands-400.woff2");
}

.font-italic {
    font-style: italic;
}

.icon {
    font-family: "FabricMDL2Icons", "Font Awesome 5 Brands";
    position: relative;
}

    .icon::before {
        content: var(--icon);
    }

.icon--with-bg::after {
    color: var(--icon-bg-color);
    position: absolute;
    left: 0;
    z-index: -1;
    content: var(--icon-bg);
}

.icon--empty {
    --icon: "\E73B";
}

.icon--mappin {
    --icon: "\E707";
}

.icon--direction {
    --icon: "\E816";
}

.icon--map {
    --icon: "\E800";
}

.icon--project {
    --icon: "\E81E";
}

.icon--people {
    --icon: "\E716";
}

.icon--phone {
    --icon: "\E717";
}

.icon--mail {
    --icon: "\E715";
}

.icon--pec {
    --icon: "\E910";
}

.icon--contact {
    --icon: "\E77B";
}

.icon--skype {
    --icon: "\EB6F";
}

.icon--linkedin {
    --icon: "\F20A";
}

.icon--freccia-dx {
    --icon: "\E72A";
}

.icon--freccia-sx {
    --icon: "\E72B";
}

.icon--circle-void {
    --icon: "\E80E";
}

.icon--circle-semifull {
    --icon: "\ECCB";
}

.icon--circle-full {
    --icon: "\E91F";
}

.icon--team {
    --icon: "\E902";
}

.icon--twitter {
    --icon: "\F099";
}

.side-menu {
    --link-color: rgb(16, 120, 158);
    --link-hover: rgb(207, 193, 182);
    --icon-bg: "\E91F";
    --icon-bg-color: white;
    width: 200px;
    letter-spacing: normal;
    font-family: "Segoe UI";
    font-size: 0.7861513778em;
    line-height: 1.2720196495em;
    display: grid;
    grid-template-columns: 36px auto;
    grid-template-rows: 16px repeat(7, minmax(0, auto)) 16px;
    grid-auto-flow: column;
    z-index: 10;
}

    .side-menu::before {
        grid-row: 1;
        grid-column: 2;
        content: "";
    }

    .side-menu::after {
        grid-row: 9;
        grid-column: 2;
        content: "";
    }

.side-menu--item {
    grid-column: 2;
    margin-left: calc(-18px - 6.5px);
    margin-bottom: 10px;
    height: 17px;
}

    .side-menu--item:first-of-type {
        margin-top: 10px;
    }

.side-menu--item--group {
    --icon: "\E902";
    margin-bottom: 0;
    height: auto;
}

    .side-menu--item--group i {
        font-size: 1.2720196495em;
        line-height: 2.0581710273em;
    }

    .side-menu--item--group ~ p:nth-of-type(-n+7) {
        font-size: 0.8343458848em;
        line-height: 1.35em;
        transition-property: height, margin-bottom, opacity;
        transition-duration: 0.25s;
        transition-timing-function: ease-in;
    }

.active {
    --icon: "\ECCB";
    --link-color: rgb(193, 61, 26);
}

#menu-bar {
    grid-column: 1;
    grid-row: 1/span 9;
    justify-self: center;
    z-index: -1;
}

#bar {
    height: 100%;
    width: calc(36px * 0.75);
}

.l-about {
    height: 94%;
    overflow: hidden;
}

#side-menu {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

#activity1 {
    background-image: url("/img/activity1-1.jpg");
}

    #activity1 .activity-desc1 {
        position: absolute;
        top: 20%;
        margin-left: 2%;
    }

    #activity1 .activity-desc2 {
        position: absolute;
        bottom: 10%;
        right: 0;
        margin-right: 2%;
    }

    #activity1 .activity-img1 {
        position: absolute;
        bottom: 15%;
        left: 5%;
    }

    #activity1 .activity-img2 {
        position: absolute;
        top: 15%;
        right: 20%;
    }

    #activity1 .activity-img3 {
        position: absolute;
        top: 45%;
        right: 5%;
    }

#activity2 {
    background-image: url("/img/activity2-1.jpg");
}

    #activity2 .activity-desc1 {
        position: absolute;
        top: 20%;
        margin-left: 2%;
    }

    #activity2 .activity-desc2 {
        position: absolute;
        bottom: 10%;
        right: 0;
        margin-right: 2%;
    }

    #activity2 .activity-img1 {
        position: absolute;
        bottom: 15%;
        left: 5%;
    }

    #activity2 .activity-img2 {
        position: absolute;
        top: 15%;
        right: 20%;
    }

    #activity2 .activity-img3 {
        position: absolute;
        top: 45%;
        right: 5%;
    }

#activity3 {
    background-image: url("/img/activity3-1.jpg");
}

    #activity3 .activity-desc1 {
        position: absolute;
        top: 20%;
        margin-left: 2%;
    }

    #activity3 .activity-desc2 {
        position: absolute;
        bottom: 10%;
        right: 0;
        margin-right: 2%;
    }

    #activity3 .activity-img1 {
        position: absolute;
        bottom: 15%;
        left: 5%;
    }

    #activity3 .activity-img2 {
        position: absolute;
        top: 15%;
        right: 20%;
    }

    #activity3 .activity-img3 {
        position: absolute;
        top: 45%;
        right: 5%;
    }

#diego {
    background-image: url("/img/bg-team-diego.jpg");
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    grid-template-rows: repeat(24, 1fr);
    align-items: center;
    justify-items: center;
}

    #diego .article-section-title {
        grid-column: 2/span 6;
        grid-row: 2/span 2;
    }

    #diego .team-member-info {
        grid-column-start: 2;
        grid-column-end: span 12;
        grid-row: 11/span 12;
    }

    #diego .team-desc1 {
        grid-column: 17/span 7;
        grid-row-start: 12;
        grid-row-end: span 10;
    }

    #diego .team-desc2 {
        grid-column: 2/span 20;
        grid-row: 6/span 3;
    }

#lorella {
    background-image: url("/img/bg-team-lorella.jpg");
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    grid-template-rows: repeat(24, 1fr);
    align-items: center;
    justify-items: center;
}

    #lorella .article-section-title {
        grid-column: 2/span 6;
        grid-row: 2/span 2;
    }

    #lorella .team-member-info {
        grid-column-start: 2;
        grid-column-end: span 12;
        grid-row: 11/span 12;
    }

    #lorella .team-desc1 {
        grid-column: 17/span 7;
        grid-row-start: 12;
        grid-row-end: span 10;
    }

    #lorella .team-desc2 {
        grid-column: 2/span 20;
        grid-row: 6/span 3;
    }

#collaboratori {
    background-image: url(/img/bg-collaboratori.jpg);
    height: 100%;
    position: relative;
}

#collaboratori-grid {
    margin-top: 5%;
    margin-left: 5%;
    display: grid;
    grid-template-columns: repeat(auto-fill, 240px);
    grid-auto-rows: 100px;
    grid-gap: 2em;
}

.isdisabled {
    display: none;
}

.isHeightCollapsed {
    height: 0;
    margin-bottom: 0;
    opacity: 0;
}

.ishover-slide::after {
    content: var(--icon);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--link-hover);
    clip-path: circle(0 at 80% 100%);
    transition: clip-path 0.3s ease-in-out;
}

a:hover .ishover-slide::after {
    clip-path: circle(130% at 80% 100%);
}

.coming {
    color: white;
    height: 75px;
    background: white;
    display: grid;
    align-items: center;
    margin-bottom: 30px;
    font-style: italic;
    justify-content: center;
    font-size: 2.3rem;
    letter-spacing: 10px;
    background: rgb(207, 193, 182);
    box-shadow: 0 0 0.75vmin 0.25vmin rgba(128, 128, 128, 0.35);
    text-shadow: 1px 1px 6px rgba(16, 120, 158, .5);
}

.card-works {
    width: 858px;
    height: 548px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}

.card-works--images {
    position: relative;
    height: 100%;
    width: 100%;
    display: grid;
    align-items: center;
    justify-content: center;
}

    .card-works--images img {
        height: 500px;
    }

.slide {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: left 1.5s ease-in-out, opacity 1.5s ease-in-out;
    opacity: 0;
}

    .slide img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain; /* Ensure the image scales correctly */
        box-shadow: 0 0 3vmin .75vmin rgba(128, 128, 128, 0.55);
    }


    .slide.active {
        opacity: 1;
    }

    .slide.stay {
        transition: opacity 0.5s ease-in-out;
    }