/* RISOLUZIONE PER PORTATILE */
@media screen and (max-width: 1800px) {

    .container-fluid {
        max-width: 1650px;
    }

    #menu-desktop .menu-item-has-children:not(#menu-desktop .sub-menu .menu-item-has-children) {
        padding-right: 0;
    }

    #menu-desktop .logo {
        width: 200px;
    }

    #menu-desktop .anniversary-logo {
        height: 42px;
    }

    #menu-desktop .menu-item a {
        font-size: 13px;
    }

    #block_001 .title-big-1 {
        font-size: 148px;
    }

    #block_001 .title-big-2 {
        font-size: 72px;
        margin-top: -50px;
    }

    #block_001 .heading-1 {
        font-size: 40px;
    }

    #block_001 .splide__arrow i {
        font-size: 40px;
    }

    #block_004 .bg-banner::before {
        width: 105%;
    }

    #block_010 .bg-banner::before {
        width: 105%;
    }

    #block_013 .video iframe {
        width: 100%;
        height: 380px !important;
    }

    #block_013 video {
        width: 100%;
        height: 357px;
        border-radius: 20px;
    }

    #block_022 #google-map iframe {
        width: 100%;
        height: 600px !important;
    }

    #intestazione-height .big-text-1 span {
        font-size: 135px;
        line-height: 168px;
    }

    #intestazione-height .big-text-2 span {
        font-size: 99px;
        line-height: 70px;
    }

}


/* RISOLUZIONE PER PC PORTATILI PICCOLI */
@media screen and (max-width: 1500px) {

    .btn-1,
    #editor .btn-1 {
        display: inline-block;
        text-decoration: none;
        padding: 12px 20px;
        border: 2px solid var(--first-color);
        border-radius: 10px !important;
        background-color: var(--first-color);
        color: #ffffff;
        text-transform: uppercase;
        font-size: 14px;
        font-weight: 600;
        transition: 0.15s ease-in-out;
        margin-right: 0 !important;
    }

    .wpml-ls-link {
        padding-right: 0 !important;
    }
}


/* RISOLUZIONE PER MOBILE */
@media screen and (max-width: 968px) {

    #servizi .splide__pagination {
        bottom: -2em;
    }

    #clienti .splide__arrow--next {
        right: -1em;
    }

    #clienti .splide__arrow--prev {
        left: -1em;
    }

    .category-link {
        display: inline-block;
        padding: 7px 15px;
        border-radius: 8px;
        background-color: var(--first-color);
        color: #ffffff;
        font-size: 13px;
        text-transform: uppercase;
        font-weight: 600;
        text-decoration: none;
        transition: .1s ease-in-out;
        margin-bottom: 8px;
    }

    #block_001 img {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }


    #richiedi-informazioni .custom-position {
        position: relative;
        top: 0;
        left: 0;
        width: auto;
        transform: unset;
    }

    #block_009 .custom-position {
        position: relative;
        top: unset;
        left: unset;
        width: 100% !important;
        transform: unset;
    }

    #intestazione-height .big-text-1 span {
        font-family: var(--title-font);
        text-transform: uppercase;
        font-size: 70px;
        color: #ffffff;
        line-height: 111px;
    }

    #intestazione-height .big-text-2 span {
        font-family: var(--title-font);
        text-transform: uppercase;
        font-size: 40px;
        color: #83878A;
        line-height: 29px;
    }

    #intestazione-height {
        padding-top: 110px;
    }

    #box-realizzazioni .box-title span {
        font-size: 20px !important;
    }

    #block_020 .margin-negative {
        margin-top: 0;
    }

    #block_020 .cronostoria-item .line {
        transform: translateX(-50%);
        transform-origin: bottom center;
        position: absolute;
        left: 50%;
        width: 4px;
        height: 220%;
        background-color: var(--second-color);
    }

    #block_020 .cronostoria-item:first-child .line {
        height: 50%;
        transform: rotate(180deg) translateX(-50%);
        transform-origin: bottom center;
        position: absolute;
        left: 36%;
    }

    #block_020 .box-line {
        height: 100%;
    }

    /* ############################## */
    /* FOOTER */
    /* ############################## */

    footer .logo {
        width: 200px;
    }

    footer .title.company {
        font-size: 18px;
    }

    /* ############################## */
    /* TIPOGRAPHY */
    /* ############################## */

    p {
        line-height: 26px;
        font-size: 16px;
    }

    a:hover {
        color: var(--first-color);
    }

    .section-label {
        font-family: var(--title-font);
        text-transform: uppercase;
        font-size: 16px;
        font-weight: 500;
        color: var(--first-color);
        position: relative;
    }

    .section-label:before {
        content: '';
        height: 2px;
        width: 50px;
        background-color: var(--first-color);
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .heading-1,
    #editor h1 {
        font-family: var(--title-font);
        font-size: 56px;
        font-family: var(--title-font);
        font-weight: normal;
    }

    .heading-2,
    #editor h2 {
        font-family: var(--title-font);
        font-size: 36px;
        font-family: var(--title-font);
        font-weight: normal;
        margin-bottom: 25px;
    }

    .heading-3,
    #editor h3 {
        font-family: var(--title-font);
        font-size: 32px;
        font-family: var(--title-font);
        font-weight: normal;
    }

    .heading-4,
    #editor h4 {
        font-family: var(--title-font);
        font-size: 32px;
        font-family: var(--title-font);
        font-weight: normal;
    }

    .heading-5,
    #editor h5 {
        font-family: var(--title-font);
        font-size: 28px;
        font-family: var(--title-font);
        font-weight: normal;
    }

    .heading-6,
    #editor h6 {
        font-family: var(--title-font);
        font-size: 20px;
        font-family: var(--title-font);
        font-weight: normal;
    }

    .paragraph {
        font-size: 16px;
    }

    #editor ul {
        padding: 0;
        list-style-position: inside;
        margin: 0;
    }

    #editor ul li::marker {
        font-size: 25px;
        line-height: 25px;
        margin-right: 0px;
        color: var(--breadcrumbs-color);
    }

    #editor a {
        color: var(--first-color);
        transition: .1s ease-in-out;
        font-size: 18px;
    }

    #editor a:hover {
        opacity: .6;
    }

    /* ################################################ */
    /* BOX SERVIZI / TIPOLOGIE */
    /* ################################################ */
    #box-servizi .box-title span {
        font-size: 20px !important;
    }

    /* ################################################ */
    /* INTESTAZIONE PAGINA (per template specifici di pagina) */
    /* ################################################ */

    #intestazione-pagina {
        position: relative;
        display: flex;
        align-items: end;
    }

    #intestazione-pagina.intestazione-height {
        padding-top: 130px;
    }

    /* ################################################ */
    /* PAGINA REALIZZAZIONI - GRIGLIA ISOTOPE */
    /* ################################################ */

    #page-realizzazioni .img-animated {
        width: 100%;
        transition: .4s ease-in-out;
    }

    #page-realizzazioni #box-post:hover .img-animated {
        transform: scale(1.1);
    }

    #page-realizzazioni .box-title {
        font-size: 18px;
    }

    #page-realizzazioni .button-group .button {
        font-family: var(--main-font);
        font-size: 15px;
        padding: 10px 20px;
        background-color: var(--gray-color);
        border: 1px solid rgb(186, 186, 186);
        border-right: none;
    }

    #page-realizzazioni .button-group .button:last-child {
        border-right: 1px solid rgb(186, 186, 186);
    }

    #page-realizzazioni .button-group .button.active {
        background-color: var(--first-color);
        color: #ffffff;
    }

    /* isotope mobile */

    #formato-prodotto {
        font-size: 14px;
        color: var(--black-color);
        position: relative;
        z-index: 10;
    }

    .box-formato {
        width: 100%;
        padding: 13px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        border: 1px solid #000;
    }

    .box-formato-varianti {
        display: none;
        position: absolute;
        top: 74%;
        width: 100%;
        border: 1px solid #000;
        border-top: none;
        z-index: 10;
        background-color: #ffffff;
        max-height: 142px;
        overflow-y: scroll;
    }

    .box-formato-varianti .button {
        width: 100%;
        font-size: 13px !important;
        border: none !important;
        border-bottom: 1px solid #c4c4c4 !important;
        text-align: left;
    }

    /* ################################################ */
    /* PAGINA LAVORA CON NOI */
    /* ################################################ */

    #page-lavora-con-noi .bg-banner {
        position: relative;
    }

    #page-lavora-con-noi .bg-banner::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 110%;
        width: 100%;
        background-color: var(--gray-color);
        z-index: -1;
    }

    #page-lavora-con-noi #richiedi-informazioni .fade-bg {
        position: relative;
    }

    #page-lavora-con-noi #richiedi-informazioni .fade-bg:after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 100%;
        background: unset;
    }

    #page-lavora-con-noi #richiedi-informazioni .border-left {
        border-left: unset;
    }

    /* ################################################ */
    /* PAGINA CONTATTI */
    /* ################################################ */

    #page-contatti iframe {
        width: 100%;
        height: 500px;
    }

    #page-contatti .contacts a {
        text-decoration: none;
    }

    #page-contatti .contacts i {
        font-size: 18px;
        color: var(--second-color);
    }

    #page-contatti .margin-negative {
        margin-top: 0;
    }


    /* #################################### */
    /* SINGOLA REALIZZAZIONE */
    /* #################################### */

    #single-post #block_006 {
        background-image: unset !important;
    }

    #single-post #block_006.full-height {
        min-height: 100vh;
        height: auto;
        padding-top: 90px;
    }

    #single-post #block_006.intestazione-height {
        padding-top: 130px;
    }

    #single-post #block_006::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60%;
        background: transparent linear-gradient(180deg, #FFFFFF00 0%, #FFFFFF 100%) 0% 0% no-repeat padding-box;
    }

    #single-post #photogallery {
        overflow-x: hidden;
    }

    #single-post #photogallery .splide__pagination__page {
        height: 8px;
        width: 40px;
        border-radius: 0 !important;
        margin: 0;
        background-color: transparent;
        border-bottom: 1px solid #8a8a8a;
    }

    #single-post #photogallery .splide__track {
        overflow: visible !important;
    }

    #single-post #photogallery .splide__pagination__page.is-active {
        transform: scale(1);
        background-color: #707271 !important;
    }

    #single-post #photogallery .splide__pagination {
        bottom: 0.5em;
    }

    #single-post #media-text .bg-banner {
        position: relative;
    }

    #single-post #media-text .bg-banner::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 100%;
        width: 100%;
    }

    #single-post #media-text .decoration-img {
        position: absolute;
        width: 130px;
    }

    #single-post #media-text .decoration-img.normale {
        bottom: -32px;
        left: 20px;
    }

    #single-post #media-text .decoration-img.inverso {
        bottom: -32px;
        right: 20px;
    }

    #single-post #media-text .section-label::before {
        left: 0;
        transform: translateX(0);
    }

    #single-post #banner-sfondo {
        min-height: auto;
        height: 35vh;
        min-height: 300px;
    }

    #single-post #richiedi-informazioni .fade-bg:after {
        display: none;
    }

    #single-post #richiedi-informazioni .border-left {
        border-left: unset;
    }

    /* ################################################ */
    /* PAGINA RICHIEDI CONSULENZA */
    /* ################################################ */

    #page-consulenza #banner-consulenza {
        padding-top: 90px;
        min-height: 100vh;
        display: block;
        background-image: none !important;
    }

    #page-consulenza #banner-consulenza .bg-banner::before {
        display: none;
    }


    /* ############################## */
    /* BLOCK_001 - SLIDER FULL SCREEN */
    /* ############################## */

    #block_001 #single-slide {
        height: 100%;
        padding-bottom: 20px;
        padding-top: 75px;
        background-image: unset !important;
        background-color: #000;
    }

    #block_001 .title-big-1 {
        font-size: 80px;
        line-height: 80px;
    }

    #block_001 .title-big-2 {
        font-size: 55px;
        line-height: 55px;
        margin-top: -13px;
        margin-left: -4px;
    }

    #block_001 .heading-1 {
        font-size: 35px;
        line-height: 35px;
    }

    #block_001 .splide__arrow {
        display: none;
    }

    #block_001 .margin-negative-mobile {
        margin-top: -100px;
    }

    #block_001 .counter-line {
        display: flex;
        gap: 8px;
        margin: 20px 0 10px 0;
    }


    /* ############################## */
    /* BLOCK_002 - BANNER CTA */
    /* ############################## */

    #block_002 {
        padding: 100px 0;
    }

    #block_002 .heading-1 {
        font-size: 40px;
    }

    /* #################################### */
    /* BLOCK_004 - SEZIONE MEDIA / TEXT */
    /* #################################### */

    #block_004 .bg-banner {
        position: relative;
    }

    #block_004 .bg-banner::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 100%;
        width: 100%;
    }

    #block_004 .decoration-img {
        position: absolute;
        width: 130px;
    }

    #block_004 .decoration-img.normale {
        bottom: -32px;
        left: 20px;
    }

    #block_004 .decoration-img.inverso {
        bottom: -32px;
        right: 20px;
    }

    #block_004 .section-label::before {
        left: 0;
        transform: translateX(0);
    }


    /* #################################### */
    /* BLOCK_006 - INTESTAZIONE PAGINA */
    /* #################################### */

    #block_006 {
        background-image: unset !important;
    }

    #block_006.full-height {
        min-height: 100vh;
        height: auto;
        padding-top: 90px;
    }

    #block_006.intestazione-height {
        padding-top: 130px;
    }

    /* #block_006::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60%;
        background: transparent linear-gradient(180deg, #FFFFFF00 0%, #FFFFFF 100%) 0% 0% no-repeat padding-box;
    }
 */
    /* #################################### */
    /* BLOCK_007 - RIPETITORE DI BOX */
    /* #################################### */

    #block_007 .bg-banner {
        position: relative;
    }

    #block_007 .bg-banner::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 115%;
        width: 100%;
        background-color: var(--gray-color);
    }

    #block_007 .splide__arrow--prev {
        left: -3em;
    }

    #block_007 .splide__arrow--next {
        right: -3em;
    }

    #block_007 .splide__pagination {
        bottom: -1rem;
    }

    #block_007 .box-title {
        font-family: var(--main-font) !important;
        font-size: 18px;
        font-weight: bold;
    }

    /* #################################### */
    /* BLOCK_008 - PHOTOGALLERY */
    /* #################################### */

    #block_008 {
        overflow-x: hidden;
    }

    #block_008 .splide__pagination__page {
        height: 8px;
        width: 40px;
        border-radius: 0 !important;
        margin: 0;
        background-color: transparent;
        border-bottom: 1px solid #8a8a8a;
    }

    #block_008 .splide__track {
        overflow: visible !important;
    }

    #block_008 .splide__pagination__page.is-active {
        transform: scale(1);
        background-color: #707271 !important;
    }

    #block_008 .splide__pagination {
        bottom: 0.5em;
    }

    /* #################################### */
    /* BLOCK_009 - BANNER FORM CONTATTI */
    /* #################################### */

    #block_009 .fade-bg {
        position: relative;
        background-image: unset !important;
    }

    #block_009 .fade-bg:after {
        display: none;
    }

    #block_009 .border-left {
        border-left: none;
    }

    /* #################################### */
    /* BLOCK_010 - GRIGLIA CONTENUTI */
    /* #################################### */

    #block_010 .margin-negative {
        margin-top: 0;
    }

    #block_010 .bg-banner {
        position: relative;
    }

    #block_010 .bg-banner::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 105%;
        width: 100%;
        background-color: var(--gray-color);
        z-index: -1;
    }

    /* #################################### */
    /* BLOCK_011 - BANNER A STEP */
    /* #################################### */

    #block_011 .bg-banner {
        position: relative;
    }

    #block_011 .bg-banner::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 120%;
        max-height: unset;
        width: 100%;
        background-color: var(--gray-color);
        z-index: -1;
    }

    #block_011 .counter span {
        display: block;
        color: var(--second-color);
        font-size: 60px;
        font-weight: bold;
    }

    #block_011 #box {
        position: relative;
    }

    #block_011 #box .section-title {
        font-size: 20px;
    }

    #block_011 #box.low {
        margin-top: 0;
    }

    #block_011 #box .arrow-step {
        position: absolute;
        display: none;
    }

    #block_011 #box .arrow-step.odd {
        top: 0;
        left: 90%;
        transform: rotateX(180deg);
    }

    #block_011 #box .arrow-step.even {
        bottom: 0;
        left: 90%;
        transform: rotateX(0);
    }

    /* #################################### */
    /* BLOCK_013 - VIDEO YOUTUBE */
    /* #################################### */

    #block_013 .video iframe {
        width: 100%;
        height: 200px;
    }

    /* #################################### */
    /* BLOCK_017 - LOOP DEI SETTORI */
    /* #################################### */
    #block_017 {
        height: auto;
    }

    /* #################################### */
    /* BLOCK_019 - LOOP DEI CLIENTI */
    /* #################################### */
    #block_019 .splide__arrow--next {
        right: -1em;
    }

    #block_019 .splide__arrow--prev {
        left: -1em;
    }

    footer ul li a::after {
        display: none;
    }

    /* #################################### */
    /* RICERCA */
    /* #################################### */

    #searchBar #searchformClose {
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
    }

    #searchBar #searchformClose i {
        color: #ffffff;
        font-size: 40px;
    }

    #searchResults #result-item .heading-3 {
        font-size: 27px;
        line-height: 35px;
    }

}