@charset "utf-8";

/* ***********************
GHERARDI ARCHITETTI CSS
+++++++++++++++++++++++++ */


/*
========================================
RESET STILI PER ANCORE, PARAGRAFI, TITOLI
========================================
*/


/* SCELTA DEL FONT USATO */

/* citazione */
@font-face {
    font-family: r-citazione;
    src: url(fonts/Roboto-LightItalic.ttf);
}

/* regular */
@font-face {
    font-family: r-1;
    src: url(fonts/Roboto-Regular.ttf);
}

/* medium */
@font-face {
    font-family: r-2;
    src: url(fonts/Roboto-Medium.ttf);
}

/* bold */
@font-face {
    font-family: r-3;
    src: url(fonts/Roboto-Bold.ttf);
}




html {
    background-color: white;
    scroll-behavior: smooth;
}

@media screen and (max-width:990px) {
    html {
        overflow-x: hidden;
    }
}

body {
    margin: 0;
    padding: 0;
    color: black;
    overflow-x: hidden !important;
    font-family: r-1;
    -webkit-font-smoothing: antialiased !important;
    -moz-font-smoothing: antialiased !important;
    -ms-font-smoothing: antialiased !important;
    text-rendering: optimizelegibility !important;
}

.body-fixed {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.mt-nav-200 {
    margin-top: 200px;
}

.mt-nav-150 {
    margin-top: 150px;
}

@media (max-width:990px) {

    .mt-nav-200 {
        margin-top: 120px;
    }

    .mt-nav-150 {
        margin-top: 100px;
    }
}


/* colori fissi */



.container-100 {
    width: calc(100% - 100px);
    margin: 0 auto;
}

@media(max-width:1350px) {
    .container-100 {
        width: calc(100% - 70px);
        margin: 0 auto;
    }

}

@media(max-width:990px) {
    .container-100 {
        width: calc(100% - 50px);
        margin: 0 auto;
    }
}


.container-70 {
    width: 60%;
    margin: 0 auto;
    max-width: 1500px;
}

@media (max-width:1900px) {
    .container-70 {
        width: 65%;
    }
}

@media (max-width:1800px) {
    .container-70 {
        width: 67.5%;
    }
}

@media (max-width:1700px) {
    .container-70 {
        width: 70%;
    }
}

@media (max-width:1600px) {
    .container-70 {
        width: 72.5%;
    }
}


@media (max-width:1500px) {
    .container-70 {
        width: 80%;
    }
}

@media (max-width:1150px) {
    .container-70 {
        width: 85%;
    }
}



ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
    margin: 0;
    padding: 0;
}

section {
    position: relative;
    z-index: 5;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    padding: 0;
    font-weight: normal;
}



p {
    color: #aaa;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 2px;
    line-height: 160%;
    margin: 0;
    margin-bottom: 15px;
    font-family: r-2;
}

@media (max-width:1600px) {
    p {
        font-size: 14px;
    }
}


.container-70 h2 {
    text-transform: uppercase;
    font-size: 20px;
    color: black;
    font-family: r-2;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.container-70 h4 {
    text-transform: uppercase;
    font-size: 16px;
    color: black;
    font-family: r-2;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.container-70 li {
    text-transform: uppercase;
    font-size: 15px;
    color: #aaa;
    font-family: r-2;
    letter-spacing: 2px;
    margin-bottom: 10px;
    list-style: disc;
    margin-left: 7px;
    line-height: 160%;
}

.container-70 ul {
    margin-left: 10px;
}

p:last-child {
    margin-bottom: 0;
}

p strong {
    color: black;
    font-weight: normal;
}

p a {
    text-decoration: underline;
}

.main--fade {
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    opacity: 0;
}

@media (max-width: 768px) {
    p {
        font-size: 13px;
        letter-spacing: 1px;
        line-height: 140%;

    }
}

/*
========================================
CLASSI PERSONALIZZATE SPAZIATURE, COLORE
========================================
*/

.sfondo-colore {
    background-color: var(--maincolor);
}


.h-100 {
    height: 100%;
}

.container-95 {
    width: 95%;
    margin: 0 auto;
    position: relative;
}

.container-90 {
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.container-50 {
    max-width: 1000px;
    width: 50%;
    margin: 0 auto;
    position: relative;
}



.container-80 {
    width: 85%;
    margin: 0 auto;
    position: relative;
}

.container-custom {
    width: calc(100% - 60px);
    margin: 0 auto;
    position: relative;
}

@media screen and (max-width:990px) {
    .container-80 {
        width: 90%;
        margin: 0 auto;
        position: relative;
    }

    .container-50 {
        min-width: auto;
        width: 90%;
        margin: 0 auto;
        position: relative;
    }

    .container-80.container-80-mobile-full {
        width: 100%;
    }
}

/* === pulsanti === */

.btn {
    text-transform: lowercase;
    font-size: 15px;
    text-decoration: underline;
    color: black;
    letter-spacing: 1px;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

.btn:hover {
    opacity: 0.6;
}

.buttons a {
    text-transform: lowercase;
    font-size: 14px;
    text-decoration: underline;
    color: black;
    letter-spacing: 1px;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

.buttons a:hover {
    opacity: 0.6;
}

@media (max-width:990px) {
    .btn {
        font-size: 14px;
    }
}

/* -----------------
MENU DI NAVIGAZIONE
--------------------*/

.navigazione__logo {
    position: fixed;
    z-index: 9999;
    top: 50px;
    left: 50px;
    mix-blend-mode: exclusion;
}

.hamburger {
    position: fixed;
    z-index: 9999;
    top: 50px;
    right: 50px;
    mix-blend-mode: exclusion;
    color: white;
    font-size: 18px;
    text-transform: lowercase;
    width: auto;
    overflow: hidden;
    height: 20px;
}

.hamburger__text {
    line-height: inherit;
    margin: 0;
    padding: 0;
    -webkit-transition: all 0.55s ease;
    transition: all 0.55s ease;
}

.hamburger--change_text .hamburger__text {
    transform: translateY(-19px);
}



.hamburger:hover {
    cursor: pointer;
}


.menu_fullscreen {
    position: fixed;
    z-index: 9995;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0;
    color: white;
}


.menu_fullscreen__content {
    position: absolute;
    left: 50%;
    top: calc(50% - 20px);
    transform: translateX(-50%);
    width: 70%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.menu_fullscreen__item {
    width: auto;
    height: auto;
    min-width: 200px;
    text-align: center;
}

.menu_item_title {
    color: white;
    text-transform: uppercase;
    font-family: r-1;
    letter-spacing: 3px;
    font-size: 19px;
    text-align: center;
    padding-bottom: 20px;
}

.menu_item_title:hover {
    cursor: pointer;
}

.menu_item_content {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.menu_fullscreen__item:hover .menu_item_content {
    opacity: 1;
    visibility: visible;
}

.menu_item_content a {
    text-transform: uppercase;
    text-decoration: none;
    color: #aaa;
    text-align: center;
    font-size: 16px;
    letter-spacing: 1px;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
    display: block;
}

.menu_item_content li {
    margin-bottom: 10px;
    opacity: 0;
}

.navigazione__logo svg {
    fill: white;
    height: 25px;
}

@media(max-width:1350px) {
    .navigazione__logo {
        top: 35px;
        left: 35px;
    }

    .hamburger {
        top: 35px;
        right: 35px;
    }

}

@media(max-width:990px) {
    .navigazione__logo {
        top: 25px;
        left: 25px;
    }

    .navigazione__logo svg {
        height: 22px;
    }

    .hamburger {
        top: 25px;
        right: 25px;
    }

    .hamburger__text {
        font-size: 17px;
    }
}

@media(max-width:600px) {
        .navigazione__logo svg {
        height: 21px;
    }

}

@media(max-width:990px) {
    .mobile_navigazione__cover {
        position: fixed;
        z-index: 8000;
        background-color: rgba(255, 255, 255, 1);
        width: 100%;
        height: 70px;
        left: 0;
        top: 0;
    }
}

.menu_item_content:hover a {
    opacity: 0.8;
}

.menu_item_content a:hover {
    opacity: 1;
    color: white;
    text-decoration: underline;
}

@media (max-width:1750px) {
    .menu_fullscreen__content {
        width: 75%;
    }
}

@media (max-width:1500px) {
    .menu_fullscreen__content {
        width: 80%;
    }
}

@media (max-width:1300px) {
    .menu_fullscreen__content {
        width: 90%;
    }
}


@media (max-width:1150px) {
    .menu_fullscreen__content {
        width: 95%;
    }
}


@media (max-width:1024px) {
    .menu_fullscreen__content {
        overflow-y: scroll;
        display: block;
        top: calc(50% - 70px);
    }

    .menu_fullscreen__content::-webkit-scrollbar {
        display: none;
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    .menu_fullscreen__content__mobile__wrapper {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: calc(100vh - 160px);
        overflow-y: scroll;
        width: 80vw;
    }

    .menu_fullscreen__content__mobile__wrapper--gradient--top {
        width: 100%;
        height: 40px;
        position: fixed;
        top: 80px;
        left: 0;
        z-index: 5000;
        pointer-events: none;
        /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.85+0,0+100 */
        background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
        /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
        /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d9000000', endColorstr='#00000000', GradientType=0);
        /* IE6-9 */
    }

    .menu_fullscreen__content__mobile__wrapper--gradient--bottom {
        width: 100%;
        height: 40px;
        position: fixed;
        bottom: 80px;
        left: 0;
        z-index: 5000;
        pointer-events: none;
        /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.85+100 */
        background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
        /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
        /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#d9000000', GradientType=0);
        /* IE6-9 */
    }

    .menu_item_content {
        display: none;
        transition: none;
        opacity: 1;
        visibility: visible;
        padding-bottom: 25px;
        animation: mobile_menu_item_content 0.65s ease;
    }

    @keyframes mobile_menu_item_content {
        0% {
            opacity: 0;
            filter: blur(20px);
        }

        10% {
            opacity: 0;
            filter: blur(20px);
        }

        100% {
            opacity: 1;
            filter: blur(0px);
        }
    }

    .menu_item_title {
        letter-spacing: 2px;
        font-size: 19px;
        padding-bottom: 15px;
    }

    .menu_item_content li {
        margin-bottom: 10px;
        opacity: 1;
    }

    .menu_item_content:hover a {
        opacity: 1;
    }

    .menu_fullscreen__item {
        width: 100%;
    }
}

@media (max-width:768px) {
    .menu_fullscreen__content__mobile__wrapper {
        height: calc(100vh - 260px);
    }

    .menu_fullscreen__content__mobile__wrapper--gradient--top {
        top: 130px;
    }

    .menu_fullscreen__content__mobile__wrapper--gradient--bottom {
        bottom: auto;
        top: calc(100% - 160px);
    }
}

/* nav lingue */

.navigazione__lingue li {
    display: inline-block;
    text-transform: lowercase;
    color: #bbb;
    margin: 0 5px;
    letter-spacing: 1px;
}

.navigazione__lingue li:after {
    content: "|";
    display: inline-block;
    height: 100%;
    width: 1px;
    margin-left: 8px;
}

.navigazione__lingue li:last-child:after {
    display: none;
}

.navigazione__lingue  a {
      font-size: 16px;
}

.navigazione__lingue .current-lang a {
    color: white;
    font-size: 16px;
}

.navigazione__lingue {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}


/* cerca menu fullscreen */

.cerca_content__input {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.cerca_content__input__flex {
    display: flex;
    align-items: flex-end;
}

.cerca_content__input__flex svg {
    fill: white;
    height: 24px;
    transition: all 0.35s ease;
    -webkit-transition: all 0.35s ease;
}

.cerca_content__input__flex:hover svg {
    transform: scale(1.25);
}

.cerca_content__input {
    width: auto;
    text-align: center;
}

.cerca_content__input__title {
    font-size: 15px;
    color: #aaa;
    margin-bottom: 3px;
    letter-spacing: 1px;
}

@media(max-width:1350px) {
    .navigazione__lingue {
        top: 35px;
    }
}

@media (max-height:900px) and (min-width:990px) {
    .cerca_content__input {
        bottom: 40px;
    }

    .cerca_content__input__title {
        display: none;
    }

}

@media (max-height:900px) and (max-width:990px) {
    .cerca_content__input {
        bottom: 30px;
    }

    .cerca_content__input__title {
        display: none;
    }
}

@media (max-height:750px) and (max-width:1500px) {
    .cerca_content__input {
        bottom: 40px;
    }

    .cerca_content__input__title {
        display: none;
    }

    .navigazione__lingue {
        top: 50px;
    }
}

@media (max-width:768px) {
    .navigazione__lingue {
        top: 100px;
        z-index: 6000;
    }
}

.hide_if_search_is_on {
    -webkit-transition: all 0.85s ease;
    transition: all 0.85s ease;
}

.hide_if_search_is_on--active {
    opacity: 0;
    visibility: hidden;
}

.hide_if_search_is_on--active .blur_anim {
    -webkit-transition: all 0.85s ease;
    transition: all 0.85s ease;
    filter: blur(20px);
}

.cerca_content__result {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    -webkit-transition: all 0.85s ease;
    transition: all 0.85s ease;
    opacity: 0;
    visibility: hidden;
}

.cerca_content__result--show {
    opacity: 1;
    visibility: visible;
}


input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

.cerca_content {
    margin: 0;
    min-width: 60vw;
    max-width: 100%;
}


input#keyword {
    background-color: transparent;
    border: none;
    border-bottom: 1px dashed #aaa;
    border-radius: 0px !important;
    padding: 8px;
    text-align: left;
    display: block;
    text-align: center;
    color: white !important;
    font-size: 16px !important;
    font-family: r-1;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    min-width: 250px;
    margin-right: 15px;
}

@media screen and (max-width:990px) {
    .searchform.group {
        margin: 0;
        min-width: 80vw;
        max-width: 100%;
    }

    input#keyword {
        font-size: 18px !important;
    }

    .cerca_content {
        margin: 0;
        min-width: 80vw;
        max-width: 100%;
    }
}


#datafetch {
    color: white;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#datafetch h2 {
    font-family: r-1;
    font-size: 15px;
    letter-spacing: 1px;
}

.datafetch_digita {
    color: white;
    text-align: center;
}

.datafetch_nontrovato {
    color: white;
    text-align: center;
    display: none;
    font-family: r-1;
}

.search_menu_header input:hover {
    transform: rotate(-30deg);
}

.keyword_result img {
    height: 100px;
    width: auto;
    margin-bottom: 10px;
}


.keyword_result {
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
    animation: risultato_appari 0.75s;
    text-align: center;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 15px;
    margin: 10px;
}

.keyword_result:hover {
    color: white;
}

.keyword_result_grid {
    margin: 15px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

@keyframes risultato_appari {
    0% {
        opacity: 0;
        filter: blur(20px)
    }

    25% {
        opacity: 0;
        filter: blur(20px)
    }

    100% {
        opacity: 1;
        filter: blur(0)
    }
}


@media screen and (max-width:990px) {
    .keyword_result {
        width: 100%;
        margin: 0;
        padding: 0;
        text-align: center;
        margin-bottom: 10px;
        font-size: 16px;
    }

    #datafetch {
        color: white;
        text-align: center;
        display: block;
        margin: 0;
        padding: 0;
    }

    .keyword_result img {
        display: none;
    }

    .keyword_result_grid {
        margin: 0;
        display: block;
        width: 100%;
        text-align: center;
        max-height: calc(100vh - 260px);
        overflow-y: scroll;
    }

}






/* ==================================
front-page.php
=====================================
*/

.citazione {
    opacity: 0;
}

.citazione__contenuto {
    margin-bottom: 150px;
}

.citazione__contenuto p {
    text-transform: uppercase;
    font-size: 40px;
    letter-spacing: 3px;
    line-height: 140%;
    font-family: r-1;
    color: black;
}

.citazione__autore {
    text-align: right;
    color: #aaa;
    font-size: 15px;
    font-family: r-citazione;
    margin-bottom: 150px;
}

.citazione__contenuto h1 {
    font-size: 72px;
    margin-bottom: 50px;
    letter-spacing: 10px;
}

@media (max-width:1500px) {
    .citazione__contenuto p {
        font-size: 32px;
        letter-spacing: 2px;
        line-height: 140%;
    }

    .citazione__contenuto {
        margin-bottom: 100px;
    }
}

@media (max-width:990px) {

    .citazione__contenuto h1 {
        font-size: 36px;
        margin-bottom: 30px;
        letter-spacing: 5px;
    }

    .citazione__contenuto p {
        font-size: 21px;
        letter-spacing: 2px;
        line-height: 150%;
    }

    .citazione__contenuto {
        margin-bottom: 50px;
    }

    .citazione__autore {
        text-align: right;
        font-size: 13px;
        margin-bottom: 70px;
    }

}


@media(max-width:768px) {
     .citazione__contenuto p {
        font-size: 19px;
        letter-spacing: 1.5px;
    }
    .citazione__contenuto h1 {
        font-size: 33px;
        letter-spacing: 4px;
    }
}

/* highlights home */

.highlights_grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
    margin: 0;
    padding: 0;
}

.highlights_grid__intro {
    max-width: 500px;
    text-align: right;
    margin-right: 7%;
}

.highlights_grid__intro__inner {
    position: sticky;
    position: -webkit-sticky;
    top: 100px;
}

.highlights_grid__items {
    max-width: calc(48vw - 50px);
}

.highlights_grid__items--expand {
    /* max-width: calc(50vw - 50px);
	transition: all 0.5s;
	-webkit-transition: all 0.5s; */
}

.highlight {
    margin-bottom: 12vh;
}

.highlight_description p {
    -webkit-transition: all 0.55s ease;
    transition: all 0.55s ease;
}


.highlight_img {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    height: auto;
    width: auto;
}

.highlight_img__zoom {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-transition: all 0.95s ease;
    transition: all 0.95s ease;
}

.highlight:hover .highlight_img__zoom {
    transform: scale(1.035);
}

.highlight:hover .highlight_description p {
    color: gray;
}

.highlight img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.highlight_title h2 {
    font-family: r-2;
    color: black;
    text-transform: uppercase;
    font-size: 25px;
    letter-spacing: 2px;
}

.highlight_title {
    margin-bottom: 20px;
}

.highlights_grid__intro {
    -webkit-transition: all 0.75s ease;
    transition: all 0.75s ease;
}

.highlights_grid__intro--fade {
    opacity: 0;
    visibility: hidden;
    filter: blur(10px);
}

.highlights_grid__intro h2 {
    text-transform: uppercase;
    color: black;
    font-family: r-2;
    font-size: 40px;
    margin-bottom: 70px;
    letter-spacing: 4px;
}

@media (max-width:1800px) {

    .highlights_grid__intro h2 {
        font-size: 36px;
    }

    .highlights_grid__items {
        max-width: calc(50vw - 50px);
    }

    .highlights_grid__items--expand {
        max-width: calc(50vw - 50px);
    }

    .highlights_grid__intro {
        width: 30vw;
        max-width: 380px;
        text-align: right;
        margin-right: 5%;
    }
}

@media (max-width:1350px) {
    .highlights_grid__intro__inner {
        position: relative;
        top: auto;
    }

    .highlights_grid__items {
        max-width: calc(60vw - 35px);
    }

    .highlights_grid__items--expand {
        max-width: calc(60vw - 35px);
    }

    .highlights_grid__intro {
        width: 27vw;
        max-width: 380px;
        text-align: right;
        margin-right: 5%;
    }

}

@media (max-width:990px) {

    .highlights_grid {
        display: block;
    }

    .highlights_grid__intro {
        width: 100%;
        max-width: auto;
        text-align: left;
        margin-right: 0;
    }

    .highlights_grid__intro h2 {
        font-size: 28px;
        margin-bottom: 25px;
        letter-spacing: 2px;
    }

    .highlights_grid__intro {
        max-width: 100%;
        text-align: left;
        margin-right: 0;
        margin-bottom: 50px;
    }

    .highlights_grid {
        display: block;
    }

    .highlight_img__zoom {
        display: none;
    }


    .highlight_title h2 {
        font-size: 18px;
    }

    .highlight_title {
        margin-bottom: 15px;
    }


    .highlights_grid__items {
        max-width: 100%;
        width: 100%;
    }

    .highlight_img {
        margin-bottom: 20px;
        position: relative;
        overflow: hidden;
        height: auto;
        width: auto;
    }

    .highlight {
        margin-bottom: 50px;
    }
}


/* ====== INFINITE SCROLL - POST TAXONOMY ====== */
/* archive-works.php e taxonomy-cat_works.php */

.page_title {
    text-align: center;
    margin-bottom: 70px;
    opacity: 0;
}

.page_title--left {
    text-align: left;
}

.page_title,
.page_title h1 {
    font-size: 45px;
    font-family: r-3;
    text-decoration: underline;
    letter-spacing: 5px;
    text-transform: uppercase;
}

@media (max-width:1500px) {

    .page_title,
    .page_title h1 {
        font-size: 36px;
        letter-spacing: 4px;
    }
}

@media (max-width:1300px) {

    .page_title,
    .page_title h1 {
        font-size: 30px;
    }
}

@media (max-width:990px) {

    .container-70 .page_title {
        margin-bottom: 50px;
        padding: 0 25px;
    }

    .page_title {
        margin-bottom: 50px;
        padding: 0;
    }

    .page_title,
    .page_title h1 {
        font-size: 27px;
        font-family: r-3;
        letter-spacing: 3px;
        text-align: left;
    }

}

/* selettore categorie */

.category_filter__input {
    display: flex;
    margin-bottom: 40px;
}

.category_filter__input:hover {
    cursor: pointer;
}

.category_filter__input img {
    display: block;
}

.category_filter__input--rotate {
    transform-origin: center;
    transform: rotate(180deg);
}

.category_filter__input--rotate--animation {
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.category_filter__input--rotate--0 {
    transform-origin: center;
    transform: rotate(180deg);
}

.category_filter__input__content {
    display: none;
}

.category_filter__input__content li img {
    height: 20px;
    position: relative;
    margin-right: 5px;
    opacity: 0.5;
}

.category_filter__input__content li {
    margin-right: 30px;
    display: flex;
    align-items: flex-start;
}

.category_filter__input__content--show {
    display: block;
    animation: none;
}

.category_filter__input__content--blur {
    animation: blur 1.5s ease;
}

@keyframes blur {
    0% {
        filter: blur(20px);
        opacity: 0;
    }

    20% {
        filter: blur(20px);
        opacity: 0;
    }

    100% {
        filter: blur(0px);
        opacity: 1;
    }
}

.category_filter__input__content a {
    text-transform: uppercase;
    color: gray;
    letter-spacing: 2px;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    font-size: 15px;
}

.category_filter__input__content:hover a {
    opacity: 0.6;
}

.category_filter__input__content a:hover {
    opacity: 1;
    color: black;
}

a.category_filter__input__content--active {
    color: black;
    font-family: r-2;
}

.category_filter__input__content--active li img {
    opacity: 1 !important;
}

.category_filter__input__content {
    margin-bottom: 40px;
}

.category_filter__input__name {
    text-decoration: underline;
    font-size: 16px;
}

.category_filter__input img {
    margin-left: 15px;
}

.category_filter__input__content .swiper-slide {
    width: auto;
}

@media (min-width:990px) {
    .category_filter__input__content .swiper-slide {
        margin-bottom: 15px;
    }

    .category_filter__input__content .swiper-wrapper {
        flex-wrap: wrap;
    }
}

@media (max-width:1920px) {
    .category_filter__input__content a {
        font-size: 14px;
    }
}

@media (max-width:1500px) {
    .category_filter__input__content a {
        margin-bottom: 4px;
        font-size: 13px;
    }
}

@media (max-width:990px) {

    .category_filter__input__content .swiper-wrapper {
        display: flex;
    }

    .category_filter__input__content .swiper-container {
        width: 100%;
    }


    .category_filter__input__content li img {
        height: 15px;
        position: relative;
        top: auto;
    }

    .category_filter__input {
        margin-bottom: 30px;
        font-size: 14px;
    }

    .container-100--category_filter_mobile {
        width: 100%;
        margin-left: 25px;
    }

    .category_filter__input__content ul {
        overflow-x: scroll !important;
        display: flex;
        justify-content: flex-start;
    }

    .category_filter__input__content a {
        display: inline-block;
        padding: 5px 0;
        width: auto;
        min-width: auto;
        font-size: 14px;
        white-space: nowrap;
    }

    .category_filter__input__content .awarded_last_item li {
        padding-right: 70px;
    }

    .category_filter__input__content {
        position: relative;
    }

    .category_filter__input__content:after {
        content: "";
        position: absolute;
        pointer-events: none;
        right: 0;
        top: 0;
        z-index: 500;
        width: 120px;
        height: 100%;
        /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+100 */
        background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        /* FF3.6-15 */
        background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=1);
        /* IE6-9 */

    }

}

.post_awards__items,
.post_awards__items a,
.post_awards__items li,
.post_awards__items p {
    color: #808080;
    font-size: 13px;
}

/* loop progetti o news */

.item_infinite_scroll__container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 30px;
    width: 100%;
    opacity: 0;
    min-height: 70vh;
}

.item_infinite_scroll__item img {
    width: 100%;
}

.singolo_progetto__img {
    background-color: #f2f2f2;
    border: none;
}

.singolo_progetto__img__zoom {
    position: absolute;
    top: 0;
    left: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
    transform-origin: center;
}

.singolo_progetto:hover .singolo_progetto__img__zoom {
    transform: scale(1.03);
}

.singolo_progetto__img {
    position: relative;
    height: auto;
    width: auto;
    overflow: hidden;
    aspect-ratio: 3/2.1 ;
}

.singolo_progetto__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.singolo_progetto h2 {
    margin-top: 30px;
    font-family: r-3;
    font-size: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.singolo_progetto .singolo_progetto__descrizione p {
    text-transform: none;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.singolo_progetto:hover .singolo_progetto__descrizione p {
    color: gray;
}

.singolo_progetto {
    margin-bottom: 30px;
}

@media (max-width:2000px) {
    .item_infinite_scroll__container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-gap: 30px;
    }
}

h1, h2, h3 {
    font-weight: normal;
}

@media (max-width:1500px) {
    .singolo_progetto h2 {
        margin-top: 20px;
        font-size: 18px;
        margin-bottom: 15px;
    }

    .item_infinite_scroll__container {
        grid-gap: 25px;
    }
}


@media (max-width:1350px) {
    .item_infinite_scroll__container {
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 20px;
        width: 100%;
    }

}

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

    .item_infinite_scroll__container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        width: 100%;
    }

    .elenco_categorie ul {
        display: block;
    }

    .elenco_categorie a {
        padding: 8px 10px;
        font-size: 15px;
        letter-spacing: 1px;
        display: block;
    }

    .singolo-post {
        position: relative;
        width: 100%;
    }

    .singolo_progetto h2 {
        margin-top: 15px;
        font-size: 16px;
        margin-bottom: 10px;
        font-family: r-3;
    }

    .singolo_progetto {
        margin-bottom: 10px;
    }

    .singolo_progetto .singolo_progetto__descrizione {
        display: none;
    }

}




@media screen and (max-width:768px) {
    .item_infinite_scroll__container {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }
    .category_filter__input__content li {
    margin-right: 18px;
}
}

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

    .category_filter__input__content:after {
       right: -20px;
    }

    .item_infinite_scroll__container {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
        width: 100%;
    }

    .footer_main {
        margin-bottom: 10px;
    }
        .highlight_img {
        margin-bottom: 10px;
    }
        .singolo_progetto h2 {
        margin-top: 10px;
        font-size: 14px;
    }
}

/* ============= ARCHIVE page-archive.php ============= */

.archive_item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    align-items: center;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    animation: item-blur 1s;
}

@keyframes item-blur {
    0% {
        filter: blur(50px);
        opacity: 0;
    }

    20% {
        filter: blur(50px);
        opacity: 0;
    }

    100% {
        filter: blur(0px);
        opacity: 1;
    }
}

.archive_item:hover {
    border-color: black;
}

.archive_item__excerpt {
    text-align: right;
}

.archive_item__excerpt p {
    margin: 0;
    padding: 0;
    font-size: 13px;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

@media (max-width:1450px) {
    .archive_item__excerpt p {
        font-size: 12px;
    }
}

.archive_item:hover .archive_item__excerpt p {
    color: gray;
}

.archive_item__title h2 {
    font-family: r-3;
    text-transform: uppercase;
    font-size: 15px;
    margin-right: 30px;
    color: #2B2E34;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.archive_item__title {
    display: flex;
    font-size: 15px;
}

.archive_item__title .counter {
    color: gray;
    margin-right: 15px;
    display: none;
}

.archive_item:hover .archive_item__title h2 {
    color: black;
}

.archive_search {
    margin-bottom: 50px;
}

.archive_search_input {
    display: flex;
    font-size: 15px;
    color: black;
    font-family: r-1;
    text-decoration: underline;
}

.archive_search_input:hover {
    cursor: pointer;
}

.archive_search_input svg {
    height: 18px;
    margin-left: 15px;
    fill: black;
}

.archive_search_content {
    display: none;
    animation: item-blur 0.75s;
}

.archive_search_content__input {
    margin-top: 10px;
}

.archive_search_content__input input {
    padding: 15px 0;
    border: 0;
    border-bottom: 1px dashed gray;
    border-radius: 0 !important;
    min-width: 40%;
    font-size: 15px;
}

.cerca_content__result_archive {
    margin-top: 50px;
}

.archive_item .archive_item__excerpt p {
    text-transform: uppercase;
}

@media (max-width:1350px) {
    .archive_item__title h2 {
        font-size: 14px;
    }
}

@media (max-width:768px) {

    .archive_item {
        width: 100%;
        display: block;
        padding: 10px 0;
        margin-bottom: 15px;
        border-bottom: 1px solid #ccc;
    }

    .archive_item__excerpt {
        text-align: left;
        text-transform: uppercase;
    }

    .archive_item__excerpt p {
        margin: 0;
        padding: 0;
        font-size: 12px;
        -webkit-transition: all 0.25s ease;
        transition: all 0.25s ease;
        text-transform: uppercase;
    }

    .archive_item__title h2 {
        font-size: 15px;
        margin-bottom: 7px;
        margin-right: 0;
        color: #2B2E34;
    }

    .archive_item__title {
        display: block;
        font-size: 14px;
    }

}

/* ========= single-journal.php  SINGLE JOURNAL =======*/



@media (max-width:990px) {
    .container-70 {
        width: 100%;
        width: calc(100% - 50px);
        margin: 0 auto;
        max-width: auto;
    }

    .container-70--full--mobile {
        width: 100% !important;
    }

    .mt-nav-70--mobile {
        margin-top: 70px;
    }
}

.copertina_post {
    margin-bottom: 70px;
}

.copertina_post .swiper-container {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding-bottom: 50px;
    position: relative;
}

.copertina_post--gallery .swiper-pagination {
    text-align: right;
    width: 100%;
}

.copertina_post--journal {
    animation: copertina_tab 0.75s ease;
}

.copertina_post--gallery .swiper-pagination span:last-child {
    margin-right: 0 !important;
}

.copertina_post--gallery {
    margin-bottom: 30px;
}


@media (max-width:990px) {
    .copertina_post--gallery .swiper-pagination {
        padding-right: 25px;
    }

    .copertina_post.copertina_post--gallery {
        margin-bottom: 20px;
    }
}


.post_title h1 {
    font-size: 25px;
    color: black;
    margin-right: 7px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.post_title {
    display: flex;
    font-size: 25px;
    color: black;
    margin-bottom: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.post_date {
    font-family: r-2;
    font-size: 15px;
    color: black;
    margin-bottom: 50px;
}

.post_content {
    margin-bottom: 80px;
}

.post_btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.post_btn_news a {
    margin-left: 30px;
}

.buttons a img {
    margin-left: 5px;
    margin-bottom: -2px;
    height: 11px;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

.post_btn_news a:hover img {
    transform: translate(4px, 4px);
}


@media (max-width:990px) {

    .post_content {
        margin-bottom: 50px;
    }

    .post_btn_works {
        margin-bottom: 30px;
    }

    .post_btn {
        display: block;
    }

    .post_btn_works_categories {
        margin-bottom: 30px;
    }

    .post_date {
        margin-bottom: 30px;
        font-size: 13px;
    }

    .post_btn_news a {
        margin-left: 0;
    }

    .post_btn_news {
        display: flex;
        justify-content: space-between;
    }

    .container-70 {
        width: 100%;
        width: calc(100% - 50px);
        margin: 0 auto;
        max-width: auto;
    }

    .copertina_post {
        margin-bottom: 30px;
    }

    .post_title h1 {
        font-size: 19px;
        margin-right: 0;
    }

    .post_title {
        display: flex;
        font-size: 19px;
        color: black;
        margin-bottom: 10px;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
}


/* ===== SINGLE WORKS single-works.php ===== */

.mfp-title {
    text-transform: uppercase;
    color: #aaa;
    font-size: 13px;
    letter-spacing: 1px;
}

.single-works .credits {
    margin-top: 50px;
    font-size: 12px;
}

.single-works .credits p, 
.single-works .credits a, 
.single-works .credits li {
   font-size: 12px;  
}

.single-works .credits a {
    text-decoration: underline;
}


.post_btn_works_categories a {
    text-transform: uppercase;
    margin-right: 3px;
    color: #707070;
    font-size: 14px;
}

.line_a {
    margin-right: 6px;
    color: #aaa;
    font-size: 14px;
}

.line_a:last-child {
    display: none;
}


.post_title--works {
    margin-bottom: 50px;
}

.post_title--works h1 {}

.titolosupplementare {
    color: #aaa;
}

.titolosupplementare:before {
    content: "|";
}


@media(max-width:600px) {
    .titolosupplementare:before {
    display: none;
}
    .post_title {
        display: block;
    }
}

.copertina_tab {
    display: none;
}

@keyframes copertina_tab {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.copertina_tab--active {
    display: block;
    animation: copertina_tab 0.75s ease;
}

.text_tab--active {
    color: black;
    font-family: r-2;
}

.text_tab_container {
    display: flex;
    justify-content: flex-end;
    font-family: r-1;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 30px;
    width: 100%;
}

.text_tab {
    margin-left: 10px;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

.text_tab:before {
    content: "|";
    display: inline-block;
    margin-right: 10px;
}

.text_tab--active:before {
    color: #aaa;
}

.text_tab:first-child:before {
    display: none;
}

.text_tab_container:hover .text_tab {
    opacity: 0.75;
}

.text_tab:hover {
    cursor: pointer;
    color: black;
    opacity: 1;
}

.copertina {
    margin-bottom: 30px;
}

@media (max-width:990px) {
    .copertina {
        margin-bottom: 25px;
    }

    .post_title--works {
        margin-bottom: 25px;
    }

    .text_tab_container {
        font-size: 13px;
        margin-bottom: 40px;
        justify-content: flex-start;
    }

    .text_tab {
        margin-left: 0;
        margin-right: 10px;
        -webkit-transition: all 0.35s ease;
        transition: all 0.35s ease;
    }

    .text_tab:before {
        display: none;
    }

    .text_tab:after {
        content: "|";
        display: inline-block;
        margin-left: 10px;
    }

    .text_tab:last-child:after {
        display: none;
    }

    .text_tab--active:after {
        color: #aaa;
    }
}

@media(max-width:600px) {
       .copertina {
        margin-bottom: 15px;
    }
}

/* video */

.video_youtube {
    position: relative;
    margin-top: 50px;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

.video_youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* awards */

.post_awards {
    padding-top: 30px;
    text-transform: uppercase;
    color: black;
    letter-spacing: 1px;
    display: flex;
    gap:5px;
    align-items: flex-start;
}

.post_awards li {
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 0;
    font-family: r-1;
    font-size: 14px;
    color: black;
    margin-left: 0;
}

.post_awards li a {
    color: black;
}

.post_awards li:after {
    display: inline-block;
    content: "|";
    margin-left: 8px;
    letter-spacing: 1px;
    color: dimgray;
}

.post_awards li:last-child:after {
    display: none;
}

.post_awards img {
    height: 30px;
    margin-right: 3px;
}

@media (max-width:990px) {

    .post_awards {
        align-items: top;
    }

    .post_awards li {
        display: block;
        margin-right: 0;
        font-size: 14px;
        margin-bottom: 4px;
    }

    .post_awards li:last-child {
        margin-bottom: 0;
    }

    .post_awards li:after {
        display: none;
    }
}

/* gallery works */

.works_gallery__controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.works_gallery__controls__btn {
    display: flex;
    gap: 5px;
    color: #aaa;
}

.works_gallery {
    margin-top: 12vh;
}

.gallery-next:hover,
.gallery-prev:hover {
    color: #2c2c2c;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
    cursor: pointer;
}

.works_gallery .swiper-container {
    width: 100%;
    padding-left: 20%;
    padding-right: 5%;
    /* padding-bottom: 70px; */
    overflow-x: hidden;
}

.works_gallery__controls {
    margin-top: 30px;
}

.swiper-pagination {
    position: relative;
    text-align: left;
   top: auto;
   left: auto;
   bottom: auto !important;
}

.works_gallery .swiper-wrapper {
    width: 100%;
}

.works_gallery .swiper-slide img {
    width: 100%;
}

.works_gallery .works_gallery__controls {
    text-align: left;
    /* padding-left: 20%;
    padding-right: 20%; */
}

.swiper-pagination span {
    background-color: white;
    opacity: 1;
    margin: 0 7px !important;
    border: 1px solid gray !important;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

.swiper-pagination span:first-child {
    margin-left: 0 !important;
}

.swiper-pagination-bullet-active {
    background-color: black !important;
    border: 1px solid black !important;
}

.works_gallery__item {
    position: relative;
    height: auto;
    width: auto;
    overflow: hidden;
}

.works_gallery__item__symbol {
    height: 50px;
    width: 50px;
    background-color: rgba(255, 255, 255, 0.25);
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-transition: all 0.55s ease;
    transition: all 0.55s ease;
    opacity: 0;
}

.works_gallery__item__symbol img {
    height: 18px;
    filter: invert(1);
}

.works_gallery__item:hover .works_gallery__item__symbol {
    opacity: 1;
}

.works_gallery__item__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-transition: all 0.95s ease;
    transition: all 0.95s ease;
    transform-origin: center;
    aspect-ratio: 1/1;
}

.works_gallery__item__inner img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.works_gallery__item:hover .works_gallery__item__inner {
    transform: scale(1.03);
}

.works_gallery__item__inner {}

@media (max-width:1900px) {
    .works_gallery .swiper-container {
        padding-left: 17.5%;
    }

    .works_gallery .works_gallery__controls {
        /* padding-left: 17.5%;
        padding-right: 17.5%; */
    }
}

@media (max-width:1800px) {
    .works_gallery .swiper-container {
        padding-left: 16%;
    }

    .works_gallery .works_gallery__controls {
        /* padding-left: 16%;
        padding-right: 16%; */
    }
}

@media (max-width:1700px) {
    .works_gallery .swiper-container {
        padding-left: 15%;
    }

    .works_gallery .works_gallery__controls {
        /* padding-left: 15%;
        padding-right: 15%; */
    }
}

@media (max-width:1600px) {
    .works_gallery .swiper-container {
        padding-left: 14%;
    }

    .works_gallery .works_gallery__controls {
        /* padding-left: 14%;
        padding-right: 14%; */
    }
}


@media (max-width:1500px) {
    .works_gallery .swiper-container {
        padding-left: 10%;
    }

    .works_gallery .works_gallery__controls {
        /* padding-left: 10%;
        padding-right: 10%; */
    }
}

@media (max-width:1150px) {
    .works_gallery .swiper-container {
        padding-left: 10%;
    }

    .works_gallery .works_gallery__controls {
        /* padding-left: 10%;
        padding-right: 10%; */
    }
}



@media (max-width:990px) {
    .works_gallery {
        margin-top: 50px;
    }

    .works_gallery .swiper-container {
        width: 100%;
        padding-left: 25px;
        padding-right: 30px;
        padding-bottom: 50px;
    }

    .works_gallery__item__symbol {
        display: none;
    }

    .works_gallery .works_gallery__controls {
        /* padding-left: 25px;
        padding-right: 25px; */
    }

       .works_gallery .works_gallery__controls .works_gallery__controls__btn {
       display: none;
    }
}

@media (max-width:600px) {
    .works_gallery .swiper-container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 30px;
    }
}

/* paginazione post */

.contenitore_paginazione_post {
    width: auto;
    margin: 0 auto;
    position: relative;
    left: 50%;
    display: inline-block;
    transform: translateX(-50%);
}

.paginazione_post {
    display: none;
    position: relative;
}

.paginazione_post a,
.paginazione_post span {
    margin-right: 15px;
    color: var(--secondcolor);
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
    border: 1px solid var(--maincolor);
}

.paginazione_post span {
    display: inline-block;
    height: 35px;
    width: 35px;
    border: 1px solid var(--maincolor) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--maincolor);
    color: white;
    padding-top: 3px;
}

.paginazione_post a.page-numbers {
    display: inline-block;
    height: 35px;
    width: 35px;
    border: 1px solid var(--maincolor) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding-top: 3px;
}

.paginazione_post a.next.page-numbers,
.paginazione_post a.prev.page-numbers {
    display: inline-block;
    width: auto;
    height: 35px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    align-items: center;
}

.paginazione_post a:hover {
    background-color: var(--maincolor);
    color: white;
}




/* infinite scroll animation */

.archivio .paginazione_post {
    display: none;
}

.loader_element {
    position: relative;
    margin: 10px auto;
    padding-top: 8vh;
}

.loader_element__inner {
    display: block;
    width: 1px;
    height: 50px;
    background: white;
    /* change color here */
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}

.loader_element__inner__inner {
    width: 1px;
    height: 50px;
    background: black;
    animation: reveal 2s infinite;
}

.loader_element__load_more {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 10px;
    font-family: r-1;
    text-transform: lowercase;
    letter-spacing: 2px;
    font-size: 15px;
    color: dimgray;
}


@keyframes reveal {
    0% {
        transform: translateY(-100%);
    }

    50% {}

    100% {
        transform: translateY(100%);
    }
}


/* ============= OFFICE page-office.php ============= */

.menu_pagina_office_scroll__inner {
    position: sticky;
    position: -webkit-sticky;
    top: 150px;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    margin-bottom: 30vh;
    -webkit-transition: all 0.9s ease;
    transition: all 0.9s ease;
    filter: blur(30px);
    opacity: 0;
}

.menu_pagina_office_scroll__inner--show {
    filter: blur(0px);
    opacity: 1;
}

.menu_pagina_office_scroll__inner a {
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
    font-size: 14px;
}

.menu_pagina_office_scroll__inner li {
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.menu_pagina_office_scroll__inner:hover li {
    opacity: 0.7;
}

.menu_pagina_office_scroll__inner li:hover {
    opacity: 1;
    color: dimgray;
}

.menu_pagina_office_scroll--active {
    color: black;
    font-family: r-2;
}

.menu_pagina_office_scroll__inner li {
    margin-bottom: 15px;
}

.menu_pagina_office_scroll {
    margin-right: 7%;
}


.office_bloc {
    padding-top: 5vh;
    padding-bottom: 30vh;
}

.office_bloc:first-child {
    margin-top: 0;
}

.office_bloc:last-child {
    padding-bottom: 15vh;
}

.office_bloc {}

.office_bloc_img img {
    width: 100%;
}

.office_bloc_img {
    margin-bottom: 90px;
}

.office_bloc_title h2 {
    font-size: 36px;
    font-family: r-2;
    letter-spacing: 2px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.office_bloc_img--reverse img {
    margin-top: 90px;
    margin-bottom: 0;
}

.office_bloc_description h3 {
    letter-spacing: 2px;
    font-family: r-3;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 10px;
    margin-top: 40px;
}

.office_bloc_description h3:first-child {
    margin-top: 0;
}

@media (max-width:990px) {

    .menu_pagina_office_scroll {
        display: none;
    }

    .office_bloc {
        margin-top: 0;
        padding-bottom: 70px;
    }

    .office_bloc_img {
        margin-bottom: 30px;
    }

    .office_bloc_title h2 {
        font-size: 21px;
        font-family: r-2;
        letter-spacing: 1px;
        margin-bottom: 30px;
    }

    .office_bloc_img--reverse img {
        margin-top: 30px;
    }

    .office_bloc_description h3 {
        letter-spacing: 2px;
        font-size: 16px;
        text-transform: uppercase;
        margin-bottom: 8px;
        margin-top: 20px;
    }
}

/* awards repeater */

.awards_item {
    margin-bottom: 40px;
}

.awards_item--hide {
    display: none;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    animation: awards_item--hide--show 1s ease;
}

.awards_item--hide--show {
    display: block;
}

@keyframes awards_item--hide--show {
    0% {
        opacity: 0;
        filter: blur(30px);
    }

    20% {
        opacity: 0;
        filter: blur(30px);
    }

    100% {
        opacity: 1;
        filter: blur(0px);
    }
}

.awards_item__name {
    letter-spacing: 2px;
    font-family: r-3;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 10px;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.awards_item__project {
    letter-spacing: 2px;
    font-family: r-2;
    font-size: 13px;
    text-transform: uppercase;
    color: #C4C4C6;
}

.awards_show_more {
    display: flex;
    text-transform: uppercase;
    font-size: 15px;
    align-items: center;
}

.awards_show_more:hover {
    cursor: pointer;
    opacity: 0.6;
}

.awards_show_more img {
    height: 11px;
    margin-left: 10px;
}

.awards_show_more span {
    display: inline-block;
    text-decoration: underline;
    letter-spacing: 1px;
}

.elenco_awards {
    margin-bottom: 50px;
}

@media (max-width:990px) {

    .awards_item {
        margin-bottom: 20px;
    }

    .awards_item__name {
        letter-spacing: 1px;
        font-size: 16px;
    }

    .awards_item__project {
        letter-spacing: 1px;
        font-size: 13px;
    }
}

@media(max-width:768px) {
        .awards_item__name {
        font-size: 15px;
    }

}


/* team grid */

.team_grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
}

.team_grid img {
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.75s ease;
    transition: all 0.75s ease;
    object-fit: cover;
}

.team_item {
    aspect-ratio: 1/1;
    width: auto;
    height: auto;
    position: relative;
}

.team_item__hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background-color: rgba(0, 0, 0, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    opacity: 0;
}

.team_item__hover__name {
    letter-spacing: 1px;
    color: white;
    margin-bottom: 5px;
    font-size: 14px;
}

.team_item__hover__role {
    letter-spacing: 1px;
    color: gray;
    font-size: 13px;
}

.team_item:hover {
    cursor: pointer;
}

.team_item:hover .team_item__hover {
    opacity: 1;
}

   .team_item img {
        display: block;
    }

@media (max-width:1700px) {

    .team_item__hover__name {
        font-size: 14px;
    }

    .team_item__hover__role {
        font-size: 12px;
    }

    .team_grid {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-gap: 15px;
    }
}


@media (max-width:1500px) {
    .team_item__hover__name {
        font-size: 14px;
    }

    .team_item__hover__role {
        font-size: 11px;
    }

    .team_grid {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-gap: 15px;
    }
}


@media (max-width:1300px) {

    .team_grid {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        grid-gap: 15px;
    }
}




@media (max-width:990px) {

    .container-100--full--mobile {
        width: 100%;
    }

    .team_grid {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        1fr grid-gap: 7px;
    }

    .team_item__hover__name {
        margin-bottom: 4px;
        font-size: 11px;
    }

    .team_item__hover__role {
        font-size: 10px;
    }
}

@media (max-width:768px) {

    .team_grid {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
         grid-gap: 7px;
    }
}

@media (max-width:600px) {

    .team_item {
        margin-bottom: 0;
    }

 

    .team_grid {
        grid-template-columns: 1fr 1fr;
         grid-gap: 5px;
    }
}

/*========================================================
NEWS ARCHIVIO NEWS E SINGLE NEWS category.php e single.php
==========================================================
*/

.data-archivio-news {
    font-size: 14px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    font-family: roboto-4;
}

.singola-news img {
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
}


.data-archivio-news-line {
    width: 40px;
    height: 1px;
    background-color: var(--maincolor);
    margin-right: 5px;
    -webkit-transition: all 0.35s;
    -transition: all 0.35s;
}

.singola-news h2 {
    font-size: 20px;
}

.singola-news p {
    font-size: 18px;
    line-height: 135%;
}

.singola-news:hover .data-archivio-news-line {
    width: 50px;
}

.singola-news:hover img {
    opacity: 0.75;
}

/* ===================
AZIENDA page-azienda.php
====================== */




/* popup image */

.mfp-zoom-out .mfp-with-anim {
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.mfp-zoom-out.mfp-bg {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.mfp-zoom-out.mfp-ready .mfp-with-anim {
    opacity: 1;
}

.mfp-zoom-out.mfp-ready.mfp-bg {
    opacity: 1;
}

.mfp-zoom-out.mfp-removing .mfp-with-anim {
    filter: blur(50px);
    opacity: 0;
}

.mfp-zoom-out.mfp-removing.mfp-bg {
    opacity: 0;
}

.mfp-bg {
    background-color: white;
}

img.mfp-img {
    max-height: 85vh !important;
}

.mfp-container {}

.mfp-figure {
    line-height: 0;
}

.mfp-figure:after {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}


.mfp-arrow-right:after {
    height: 35px;
    width: 35px;
    background: url('../img/next.svg') no-repeat center center;
    background-color: transparent;
    opacity: 1 !important;
    transform: translateX(-10px);
}

.mfp-arrow-left:after {
    height: 35px;
    width: 35px;
    background: url('../img/prev.svg') no-repeat center center;
    opacity: 1 !important;
}

.mfp-arrow:after {
    border-top-width: 0px;
    border-bottom-width: 0px;
    top: 0px;
    background-color: transparent;
}

.mfp-arrow:before,
.mfp-arrow:after {
    border: none;
}


.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    color: black;
    font-size: 32px;
    margin-bottom: 10px;
}



/* ==============
FOOTER
================ */


footer {
    margin-top: 10vh;
    position: relative;
    z-index: 2;
    padding: 5vh 50px 50px 50px;
    text-align: left;
    font-family: r-1;
    color: gray;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
}


.footer_main p {
    margin: 0;
    color: gray;
    font-family: r-1;
}

.footer_legals {
    margin-top: 3px;
    font-size: 11px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.footer_legals p {
    margin: 0;
    color: gray;
    font-family: r-1;
}

.footer_legals a {
    color: gray;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: underline;
    font-family: r-1;
}

.credits {
    margin-left: 5px;
    font-size: 11px;
    color: gray;
}

.credits a {
    color: gray;
    font-size: 12px;
    letter-spacing: 2px;
    text-decoration: none;
}

.footer_legals a:hover {
    text-decoration: underline;
}

.footer_credits a {
    text-decoration: none;
}

@media (max-width:1500px) {
    footer {
        font-size: 13px;
    }
}

@media (max-width:1350px) {
    footer {

        padding: 5vh 35px 35px 35px;
    }
}


@media (max-width:990px) {
    footer {
        margin-top: 70px;
        font-size: 13px;
        letter-spacing: 1px;
    }

    .footer_legals {
        display: block;
    }

    .footer_legals p {
        margin: 0;
    }

    .footer_legals a {
        color: #aaa;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .credits {
        margin-left: 0;
        font-size: 11px;
        margin-top: 10px;
    }

    .credits a {
        font-size: 11px;
    }

    footer {

        padding: 5vh 25px 25px 25px;
    }

}

@media(max-width:768px) {
    .container-100,
    .container-80,
    .container-70 {
        width: calc(100% - 36px);
        margin: 0 auto;
    }
    .navigazione__logo {
        top: 25px;
        left: 18px;
    }
        .hamburger {
        top: 25px;
        right: 18px;
    }
}


/* complianz text document page */

#cmplz-document h2,
#cmplz-document h3 {
    font-size: 17px;
    text-align: left;
    text-transform: uppercase;
    margin-top: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #c6c6c6;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

#cmplz-document .cmplz-subtitle {
    color: black;
}

#cmplz-document {
    max-width: 900px;
}

.cc-revoke--footer {
    display: none !important;
}

.cc-revoke.cc-left {
    z-index: 100 !important;
    position: relative !important;
    bottom: 50px !important;
    left: calc(50% - 75px) !important;
    transform: translateX(-50%);
    right: auto;
    width: 150px;
    font-size: 12px;
    text-transform: uppercase;
    font-family: r-1;
    letter-spacing: 1px;
    background-color: white !important;
    color: #aaa !important;
}


/* ===== COMPLIANZ CUSTOMIZATION ===== */

#cmplz-manage-consent .cmplz-manage-consent {
    display: none;
}

#gestione_cookies:hover {
    cursor: pointer;
}