@import url("../fonts/fonts.css");

:root {
    /* colors*/
    --dark: #000;
    --beige: #e2d6b9;
    --light: #ece1d2;
    --hlight: #f2d47e;

    --regular: "monument", Arial, Helvetica, sans-serif;
    --bold: "monumentm", Arial, Helvetica, sans-serif;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0px;
    padding: 0px;
    font-family: var(--regular);
    font-size: 26px;
    line-height: 30px;
}
.has-medium-font-size {
    font-size: 26px !important;
    line-height: 30px;
}
.has-small-font-size {
    font-size: 15px !important;
    line-height: 18px;
    margin-bottom: 18px;
}

textarea:focus,
input:focus,
button:focus,
label:focus,
.btn:active,
.btn.active {
    outline: 0px !important;
    box-shadow: none !important;
}
a {
    color: var(--dark);
    transition:
        color 0.3s,
        border-color 0.3s,
        background-color 0.3s;
}

body :where(.wp-block-columns.is-layout-flex) {
    gap: 30px;
}
p {
    margin: 0 0 30px 0;
}
.wp-block-buttons > .wp-block-button {
    height: 36px;
    line-height: 36px;
    font-size: 20px;
}
a.wp-block-button__link,
.column-link .contenuti a,
#cmade a,
footer .social li a,
footer .menu-due .menu .btn a,
#form-request a,
#materiali a,
#download-list button {
    transition:
        color 0.3s,
        border-color 0.3s,
        background-color 0.3s;
    cursor: pointer;
    text-decoration: none;
    border-radius: 20px;
    font-size: 20px;
    padding: 0px 30px;
    height: 36px;
    line-height: 36px;
    display: inline-block;
    background-color: white;
    border: 1px solid var(--dark);
    color: var(--dark);
}
a.wp-block-button__link {
    background-color: transparent;
}
a.wp-block-button__link:hover,
.column-link .contenuti a:hover,
footer .social li a:hover,
footer .menu-due .menu .btn a:hover,
#form-request a:hover,
#materiali a:hover,
#download-list button:hover {
    background-color: var(--hlight);
    border-color: var(--hlight);
}
hr.wp-block-separator {
    border-top: 1px solid;
    height: 1px;
    margin-bottom: 30px;
}

h1,
h2,
h3,
h4,
strong,
b {
    font-weight: normal;
    font-family: var(--bold);
}
h1,
h2,
h3 {
    font-size: 26px;
    line-height: 30px;
    font-family: var(--bold);
    margin-top: 0px;
    margin-bottom: 30px;
}

.mobile {
    display: none !important;
}

#top {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;
    width: calc(100% - 60px);
    font-size: 18px;
    line-height: 22px;
    padding: 30px;
    z-index: 100;
    background-color: #fff;
    overflow: hidden;
    max-height: 35px;
    transition:
        max-height 0.3s,
        background-color 0.3s;
}
#top #navbarSite {
    display: flex;
    position: relative;
}
#top #navbarSite .menu-header a {
    text-decoration: none;
}

#top #logo {
    position: relative;
    z-index: 100;
    width: 16.6667%;
    float: left;
}
#top #logo img {
    height: 35px;
    width: 130px;
}

#top #navbarSite .menu-header {
    font-size: 20px;
    margin: 0px;
    padding: 0px;
    list-style: none;
    margin-top: 7px;
    display: inline-block;
    float: left;
}
#top #navbarSite .menu-header.menu-even {
    text-align: right;
    float: right;
}
#top #navbarSite .menu-header li {
    display: inline-block;
    margin-right: 60px;
}
#top #navbarSite .menu-header.menu-even li {
    margin-left: 0px;
    margin-right: 30px;
}

.sub-menu {
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s;
    opacity: 0;
}
.navbar-toggler {
    display: none;
}
#top #navbarSite .menu-header .menu-sec-lvl .sub-menu {
    max-height: 100%;
}

.menu-sec-lvl.open .sub-menu {
    max-height: 295px;
    opacity: 1;
    line-height: 30px;
}

.menu-sec-lvl {
    position: absolute;
    left: 0;
    top: 60px;
}
.menu-sec-lvl.open {
    z-index: 100;
}

.menu-sec-lvl ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

#top #navbarSite .menu-header .menu-sec-lvl li {
    display: block;
}

#top #navbarSite .menu-header a:hover,
#top #navbarSite .menu-header span.open,
#top #navbarSite .menu-header span:hover,
#top #navbarSite .menu-header .current-menu-ancestor,
#top #navbarSite .menu-header .current-menu-item a {
    cursor: pointer;
}

#top #navbarSite .menu-header .menu-sec-lvl a {
    text-decoration: none;
    display: inline-block;
    background-size: 0px 0px;
    transition: background-size 0.2s;
    background-image: linear-gradient(#000, #000);
    background-position: 0 100%;
    background-repeat: no-repeat;
}
#top #navbarSite .menu-header .menu-sec-lvl a:hover,
#top #navbarSite .menu-header .current-menu-item > a,
#top #navbarSite .menu-header a:hover {
    background-size: 100% 1px;
}

.menu-thr-lvl .sub-menu {
    display: inline-grid;
    grid-template-rows: repeat(7, 1fr);
    grid-auto-flow: column;
}

.menu-sec-lvl .menu-item-has-children > a {
    font-family: var(--bold);
}

#top #navbarSite .menu-header span:hover,
#top #navbarSite .menu-header span.open,
.menu-thr-lvl a:hover,
#top #navbarSite .menu-header .current-menu-item > a:hover,
#top #navbarSite .menu-header .current-menu-ancestor > span,
#top #navbarSite .menu-header .current-menu-item a {
    background-size: 100% 1px !important;
}
#top #navbarSite .menu-header span,
.menu-thr-lvl a,
body #top #navbarSite .menu-header .current-menu-item > a {
    text-decoration: none;
    display: inline-block;
    background-size: 0px 0px;
    transition: background-size 0.2s;
    background-image: linear-gradient(#000, #000);
    background-position: 0 100%;
    background-repeat: no-repeat;
}

#top #navbarSite .menu-header.menu-even {
    margin-top: 0px;
}
.menu-even li a {
    display: inline-block;
    border: 1px solid;
    padding: 0 30px;
    border-radius: 20px;
    height: 36px;
    line-height: 36px;
    color: var(--dark);
}
.menu-even li a:hover {
    background-color: var(--hlight);
    border-color: var(--hlight);
    color: var(--dark);
}
.sub-menu:has(.menu-thr-lvl) > li:first-child {
    font-family: var(--bold);
}
.menu-collections li {
    position: relative;
}
.menu-collections li span {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
    top: -4px;
    background: none !important;
}
#top .social {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: auto;
    margin-right: 10px;
}
#top .social li {
    width: 36px;
    height: 36px;
    display: inline-block;
    margin-left: 5px;
}
#top .social li a {
    height: 36px;
    display: flex;
    justify-content: center;
    border: 1px solid;
    border-radius: 50%;
    align-items: center;
}
#top .social li img {
    width: 18px;
    transition: all 0.3s;
}
#top .social li a:hover {
    background-color: black;
}
#top .social li a:hover img {
    filter: invert(100%);
}

#top #navbarSite li.wpml-ls-item {
    display: inline-block;
    height: 35px;
    line-height: 35px;
    padding: 0px;
    width: 35px;
    text-align: center;
    margin-right: 0px;
    margin-left: 0px;
}
#top #navbarSite li.wpml-ls-item a {
    border-radius: 50%;
    display: block;
    font-size: 15px;
    line-height: 35px;
    padding: 0px;
    width: 35px;
    transition: all 0.3s;
    text-decoration: none;
}
#top #navbarSite .wpml-ls-legacy-list-horizontal {
    padding: 0px;
    border: 1px solid;
    border-radius: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 35px;
    margin-left: auto;
}

#top #navbarSite .wpml-ls-legacy-list-horizontal ul {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 35px;
}

#top #navbarSite li.wpml-ls-item.wpml-ls-current-language a {
    background-color: #000;
    border: none;
    color: white;
}
#top #navbarSite li.wpml-ls-item a:hover {
    background-color: var(--hlight);
    border-radius: 50%;
    border: none;
    color: white;
}

#top #navbarSite .menu-header .menu-sec-lvl .btn a,
#top #navbarSite .menu-header .menu-sec-lvl .btn a:hover {
    background-image: none;
    transition: all 0.3s;
}

body #top #navbarSite .menu-header .current-menu-item > a,
body #top #navbarSite .menu-header li:not(.menu-item-has-children):not(.bottone) > a {
    text-decoration: none;
    display: inline-block;
    background-size: 0px 0px;
    transition: background-size 0.2s;
    background-image: linear-gradient(#000, #000);
    background-position: 0 100%;
    background-repeat: no-repeat;
}
body #top #navbarSite .menu-header .current-menu-item a,
body #top #navbarSite .menu-header .current-menu-item a:hover,
body #top #navbarSite .menu-header li:not(.menu-item-has-children):not(.bottone) > a:hover {
    background-size: 100% 1px !important;
}

#openSearch {
    background-image: url("../images/cerca.svg");
    width: 36px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 36px;
    transition: filter 0.3s;
    cursor: pointer;
    margin-right: 30px;
}
#searchform #s,
#searchform #searchsubmit {
    width: 70%;
    border-radius: 20px;
    border: none;
    padding: 4px 10px;
    min-height: 46px;
}
#searchform #searchsubmit {
    width: 25%;
    float: right;
    background-color: #000;
    color: #fff;
    text-transform: uppercase;
}

#top.open,
.home #top.open,
.home #top.active {
    background-color: white;
}
#top.active,
#top.open {
    -webkit-box-shadow: 0px 0px 11px -2px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 11px -2px rgba(82, 63, 63, 0.5);
}
.home #top {
    background-color: transparent;
}

#top #navbarSite .menu-header li.moduloContatti.open a {
    background-color: var(--dark);
    color: white;
    border-color: var(--dark);
    padding-right: 0px;
}
#top #navbarSite .menu-header li.moduloContatti.open a::after {
    content: "×";
    width: 35px;
    display: inline-block;
    height: 100%;
    background-color: var(--light);
    border-radius: 50%;
    text-align: center;
    font-size: 40px;
    float: right;
    color: var(--dark);
    margin-left: 14px;
}

#moduloContatti {
    padding: 60px 30px;
    overflow: hidden;
    transform: translateY(-150vw);
    transition: transform 0.3s;
    background-color: var(--light);
    position: fixed;
    top: 95px;
    left: 0px;
    width: calc(100% - 60px);
    z-index: 999;
}
#moduloContatti .contenuto {
    width: 66.6667%;
    margin: 0 auto;
}
#moduloContatti.open {
    transform: translateY(0);
}

.rank-math-breadcrumb,
.arrow-back {
    font-size: 15px;
    line-height: 15px;
    position: absolute;
    right: 30px;
    top: 95px;
}
.rank-math-breadcrumb a,
.arrow-back {
    text-decoration: none;
}
.rank-math-breadcrumb p {
    margin: 0px;
}
.arrow-back {
    right: auto;
    left: 30px;
}

#wrapper {
    padding-top: 125px;
}
.home #wrapper {
    padding-top: 0px;
}
.wrapper {
    padding: 0px 30px;
    clear: both;
}
.contenuto-pagina {
    padding: 0 30px;
}

#gallery_home {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-bottom: 30px;
}
#gallery_home picture {
    position: absolute;
    top: 0;
    left: 0;
}
#gallery_home img,
#gallery_home picture {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
}

#gallery_home {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    flex-direction: column;
    align-content: flex-start;
    justify-content: center;
}

#gallery_home .txt_home,
#gallery_home .wp-block-button {
    position: relative;
    left: 30px;
}
#gallery_home h1,
.block-testata h1 {
    margin: 0px;
    margin-bottom: 10px;
    font-size: 50px;
    line-height: 60px;
    font-family: var(--regular);
}

#cmade {
    padding: 30px;
    border-bottom: 1px solid;
    border-top: 1px solid;
    margin-top: -1px;
    background-color: var(--beige);
    position: relative;
    clear: both;
}
#cmade a {
    background-color: transparent;
}
#cmade a:hover {
    background-color: var(--dark);
    color: white;
}
#cmade .pattern {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: 0.25;
}
#cmade .cmade-content {
    position: relative;
}

#claim {
    line-height: 60px;
    border-bottom: 1px solid;
}
#claim p {
    margin: 0px;
}
#claim a {
    display: block;
    padding: 0 30px;
    text-decoration: none;
    background-image: url("../images/arrow.svg");
    background-repeat: no-repeat;
    background-position: right 30px center;
    background-size: 16px;
}
#claim a:hover {
    background-color: var(--light);
}

/* filtri */
#filters {
    position: sticky;
    top: 94px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding: 0 30px;
    background-color: white;
}
#filters {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 28px;
    z-index: 99;
}
#filters h1,
#filters button {
    font-size: 20px;
    grid-column: span 2;
    margin: 0px;
    line-height: 60px;
}
#filters .button-group {
    grid-column: span 10;
}
#filters .content-accordion {
    grid-column: span 12;
}
#filters .content-accordion .content-collapse.collapsed {
    display: none;
}
#filters button {
    padding: 0px;
    border: none;
    background-color: transparent;
    text-align: left;
    cursor: pointer;
    line-height: 60px;
}
#filters button::after {
    content: "";
    background-image: url("../images/arrow.svg");
}

#filters button::after {
    display: block;
    float: right;
    width: 30px;
    height: 60px;
    background-size: 8px;
    background-position: center;
    background-repeat: no-repeat;
    transform: rotate(-90deg);
    transition: transform 0.3s;
}
#filters button {
    margin-right: 60px;
}
#filters button.collapsed::after {
    transform: rotate(90deg);
}

#filters .content-collapse ul {
    font-size: 20px;
    line-height: 30px;
    margin: 0px;
    padding: 0px;
    list-style: none;
    padding-bottom: 20px;
    padding-left: 16.6667%;
}
#filters .content-collapse ul {
    display: inline-grid;
    grid-template-rows: repeat(5, 1fr);
    column-gap: 30px;
    grid-auto-flow: column;
}
#filters #box-type li a {
    text-decoration: none;
}
#filters li {
    cursor: pointer;
}
#filters li::before,
#filters #box-type li a::before {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    border: 1px solid;
    margin-right: 10px;
    border-radius: 6px;
    margin-left: 1px;
}
#filters #box-type li a::before {
    border-radius: 50%;
}
#filters li:hover::before,
#filters #box-type li:hover a::before {
    background-color: #c9c8c3;
    border-color: #c9c8c3;
}
#filters li.active::before,
#filters #box-type li.active a::before {
    background-color: #000;
    border-color: #000;
}

#filters button:last-child {
    float: right;
    margin-right: 0px;
}
#filters .content-collapse ul#ordinamento {
    float: right;
    text-align: right;
    padding-right: 35px;
}
#filters #ordinamento li::before {
    display: none;
}
#filters .content-collapse ul#ordinamento .active {
    font-family: var(--bold);
}
#filters .content-collapse ul#ordinamento li.disabled.active,
#filters .content-collapse ul#ordinamento li.active {
    opacity: 1;
}

body:not(.page-template-page-download) #filters #box-type li::before,
body:not(.page-template-page-download) #filters #box-type li:hover::before,
body:not(.page-template-page-download) #filters #box-type li.active::before {
    display: none;
}

#prodotti,
.tax-collection #prodotti-collezione {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
#prodotti article {
    display: none;
    text-align: center;
    font-size: 20px;
    position: relative;
}
#prodotti article.double {
    grid-column: span 2;
}
#prodotti article.active {
    display: block;
}
#prodotti article img {
    max-width: 100%;
    height: auto;
}
#prodotti article h3,
#collezioni article h2,
#prodotti-collezione h3,
#correlati h3 {
    font-size: 20px;
    font-family: var(--regular);
}
#prodotti-collezione h3,
#correlati h3 {
    text-align: center;
}

#prodotti article a,
#collezioni article a,
#prodotti-collezione a,
#correlati a {
    text-decoration: none;
}
#prodotti article img,
#collezioni article img,
#prodotti-collezione img,
#correlati img {
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}
#filters li {
    opacity: 0.3;
    transition: opacity 0.3s;
}
#filters li.available {
    opacity: 1;
}

.page-template-page-collection #filters .content-collapse ul {
    grid-template-rows: repeat(2, 1fr);
}

#collezioni {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
#collezioni article,
#prodotti-collezione {
    text-align: center;
    font-size: 20px;
}
#collezioni article figure {
    padding: 2% 8%;
    margin-bottom: 0px;
}

#collezioni article h2 {
    display: inline-block;
}
#collezioni article em {
    font-size: 14px;
}
#collezioni article ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
    font-size: 14px;
    font-style: italic;
}

.tax-collection h1 em {
    font-size: 18px;
    font-family: var(--regular);
}
.tax-collection h1 ul,
.tax-collection h1 ul li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline;
    font-size: 18px;
    font-style: italic;
    font-family: var(--regular);
}

/* #collezioni article:nth-child(1), #collezioni article:nth-child(1n+5) { background-color:#FBF9F6; }
#collezioni article:nth-child(2), #collezioni article:nth-child(2n+5) { background-color:#F9F6F1; }
#collezioni article:nth-child(3), #collezioni article:nth-child(3n+5) { background-color:#FDFCFB; } */

#archivio {
    border-top: 1px solid;
}
#archivio h3 {
    border-bottom: 1px solid;
    margin: 0px;
    line-height: 50px;
    padding-left: 30px;
    font-size: 26px;
}
#archivio ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}
#archivio ul li a {
    display: block;
    text-decoration: none;
    line-height: 50px;
    border-bottom: 1px solid;
    margin: 0px;
    padding-left: 30px;
}
#archivio ul li a:hover {
    background-color: var(--beige);
}

/* body:not(.page-template-page-download) #prodotti article:nth-child(1), body:not(.page-template-page-download) #prodotti article:nth-child(1n+5) { background-color:#FBF9F6; }
body:not(.page-template-page-download) #prodotti article:nth-child(2), body:not(.page-template-page-download) #prodotti article:nth-child(2n+5) { background-color:#F9F6F1; }
body:not(.page-template-page-download) #prodotti article:nth-child(3), body:not(.page-template-page-download) #prodotti article:nth-child(3n+5) { background-color:#FDFCFB; }
body:not(.page-template-page-download) #prodotti article:nth-child(4), body:not(.page-template-page-download) #prodotti article:nth-child(4n+5) { background-color:#FBF9F6; }
body:not(.page-template-page-download) #prodotti article:nth-child(5), body:not(.page-template-page-download) #prodotti article:nth-child(5n+5) { background-color:#FDFCFB; }
*/

article.fil_novita h3::after,
article.fil_new-product h3::after,
#collezioni article h2 span {
    content: "NEW";
    font-size: 12px;
    font-weight: bold;
    position: relative;
    top: -8px;
    margin-left: 10px;
    color: var(--hlight);
}
#collezioni article,
#prodotti-collezione article {
    position: relative;
}
#prodotti-collezione article.fil_novita h3::after,
#prodotti-collezione article.fil_new-product h3::after,
#correlati article.fil_novita h3::after,
#correlati article.fil_new-product h3::after {
    top: -2px;
}

.page-template-page-download #prodotti {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.tax-collection h1 {
    font-size: 26px;
    line-height: 30px;
    margin: 0px;
    margin-bottom: 30px;
}
.tax-collection h1 span {
    font-family: var(--regular);
}
.tax-collection .descrizione {
    width: 50%;
    margin-bottom: 90px;
}
.tax-collection #prodotti-collezione,
.single-download #prodotti-collezione {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tax-collection #ispirazioni {
    margin-top: 90px;
}
.tax-collection #ispirazioni h2,
.single-product #prodotti-collezione h3,
.single-product #correlati h3 {
    margin-bottom: 0px;
    font-size: 15px;
    font-family: var(--regular);
    padding-left: 30px;
    padding-bottom: 14px;
    border-bottom: 1px solid;
    text-transform: uppercase;
}
.tax-collection .slick-arrow {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 20%;
    z-index: 20;
    text-indent: -10000px;
    border: none;
    background-color: transparent;
}
.tax-collection .slick-arrow.slick-next {
    left: auto;
    right: 0px;
}

/* fancybox */
.slick-slide a[data-fancybox] {
    position: relative;
    display: block;
}
.slick-slide a[data-fancybox]::before {
    opacity: 0;
    transition: opacity 0.3s;
    content: "+";
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    margin-top: -5px;
    position: absolute;
    font-size: 60px;
    text-align: center;
    z-index: 100;
}
.slick-slide a[data-fancybox]:hover img {
    opacity: 0.5;
}
.slick-slide a[data-fancybox]:hover::before {
    opacity: 1;
}
.slick-slide a[data-fancybox] img {
    transition: opacity 0.3s;
}

/* single product */
.single-product .gallery-product,
.single-product .gallery-product .slick-slide {
    max-height: calc(100vh - 205px);
    height: calc(100vh - 205px);
    overflow: hidden;
    text-align: center;
}
.single-product .gallery-product img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}
.single-product .testo {
    width: 75%;
    padding: 30px;
}
.single-product h1 {
    font-family: var(--bold);
    font-size: 26px;
    margin: 0px;
    line-height: 30px;
    margin-bottom: 30px;
    text-transform: capitalize;
}
.single-product #form-request {
    position: absolute;
    right: 30px;
    bottom: 30px;
}
.single-product .content-collapse.collapsed {
    display: none;
}
.single-product .button-accordion {
    cursor: pointer;
    font-size: 26px;
    font-family: var(--bold);
    background-color: white;
    transition: background 0.3s;
    width: 100%;
    text-align: left;
    padding: 0 30px;
    height: 54px;
    line-height: 54px;
    border: none;
    border-bottom: 1px solid;
    border-top: 1px solid;
    margin-bottom: -1px;
    color: var(--dark);
}
.single-product .button-accordion h2 {
    font-size: 26px;
    margin: 0px;
}
.single-product .button-accordion.collapsed {
    background-color: var(--light);
}

button.download-running {
    opacity: 0.5;
    pointer-events: none;
    animation: cycleColor 1s infinite;
}

@keyframes cycleColor {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 0.7;
    }
}

#designer .wrapper {
    margin-top: 30px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}
#designer figure img {
    max-width: 100%;
    height: auto;
}
#designer h3,
#designer p,
#designer {
    font-size: 26px;
}
#designer .txt {
    grid-column: span 2;
}
#informazioni .dimensioni {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 30px;
    font-size: 15px;
    line-height: 30px;
    padding: 54px 30px;
}
#informazioni .dimensioni div {
    grid-column: span 3;
}
#informazioni .dimensioni div.details {
    grid-column: span 4;
}
#informazioni .dimensioni h3 {
    font-size: 15px;
    margin: 0px;
    font-family: var(--regular);
    text-transform: uppercase;
}
#informazioni .dimensioni .techimg img {
    max-width: 290px;
    width: 100%;
    height: auto;
}
#informazioni .dimensioni table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid;
}
#informazioni .dimensioni table td {
    border-bottom: 1px solid;
}

#materiali .content,
.single-product #prodotti-collezione .content,
.single-product #correlati .content {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    padding: 60px 30px;
}
.single-product #prodotti-collezione .content .double,
.single-product #correlati .content .double,
.tax-collection #prodotti-collezione .double {
    grid-column: span 2;
}
#materiali ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#materiali ul li figure {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 5/3;
}
#materiali ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#materiali > div,
#materiali .content > div {
    grid-column: span 2;
}

#download {
    padding: 60px 30px;
}
#download #download-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 30px;
}
#download #download-list img {
    max-width: 100%;
    height: auto;
}
#download #download-list fieldset {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 15px;
    line-height: 20px;
}
#download #download-list fieldset input {
    height: 15px;
    position: relative;
    top: 2px;
}
#download-list button {
    margin-bottom: 5px;
}
#download-list button.all {
    background-color: var(--dark);
    color: white;
}
#download-list .buttonset {
    grid-column: span 6;
}
.download-element figure {
    aspect-ratio: 1/1;
    border: 1px solid var(--light);
    margin-bottom: 5px;
    padding: 20px;
    border-radius: 10px;
}
#download #download-list img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.single-download #download-list {
    margin-bottom: 90px;
}
.single-download #prodotti-collezione img,
.single-product #prodotti-collezione .content img,
.single-product #correlati .content img {
    max-width: 100%;
    width: 100%;
    height: auto;
}
.single-product #correlati h3 {
    border-bottom: 0px;
}

.single-product #gallery-cont {
    height: 60vh;
    overflow: hidden;
}
.single-product #gallery-cont img {
    height: 60vh;
    width: auto;
}

/* materials */
#modale {
    width: 70%;
    height: auto;
    min-height: calc(35vw + 100px);
    position: fixed;
    right: 0px;
    top: 150px;
    background-color: #fff;
    transform: translateX(100vw);
    will-change: transform;
    transition: transform 0.3s;
}
#modale.open {
    transform: translateX(0);
}
#modale #content {
    padding: 120px 60px;
    padding-right: 240px;
    height: 100%;
    min-height: calc(35vw + 100px);
}
#modale #content.loading {
    background-image: url(../images/loader.gif);
    background-repeat: no-repeat;
    background-position: center center;
}
#modale figure img {
    width: 100%;
    height: auto;
}
#modale figure {
    max-height: 60vh;
    overflow: hidden;
}
#modale .content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

#materials {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 30px;
    margin-top: 60px;
    padding-bottom: 90px;
}
#materials img {
    margin: 0px;
}
#materials img {
    width: 100%;
    height: auto;
}
#materials h3 {
    font-size: 15px;
    margin-top: 0px;
    text-align: center;
}
#materials a {
    text-decoration: none;
}

.chiudi {
    position: absolute;
    top: 55px;
    width: 30px;
    height: 30px;
    right: 120px;
}
.chiudi::after,
.chiudi::before {
    width: 35px;
    height: 1px;
    background-color: #000;
    display: block;
    position: absolute;
    right: 0px;
    top: 20px;
    content: "";
}
.chiudi::before {
    transform: rotate(45deg);
}
.chiudi::after {
    transform: rotate(-45deg);
}
.chiudi:hover {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}

/* ricerca */
#results {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 30px;
    font-size: 15px;
    line-height: 18px;
    margin-bottom: 90px;
}
#results img {
    width: 100%;
    height: auto;
}
#results a {
    text-decoration: none;
}

footer {
    padding: 90px 30px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 30px;
    font-size: 20px;
    line-height: 26px;
}
footer #logo-footer {
    grid-column: span 12;
    margin-bottom: 10px;
}
footer #logo-footer img {
    height: 35px;
}
footer #dati-aziendali {
    grid-column: span 3;
}
footer .menu-uno {
    grid-column: span 4;
}
footer .menu-due {
    grid-column: span 2;
}
footer .loghi-footer {
    grid-column: span 3;
}
footer p {
    margin: 0px;
}
footer .social {
    margin: 0px;
    padding: 0px;
    list-style: none;
    margin-top: 90px;
}
footer .social li {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 5px;
}
footer h2.wp-block-heading {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 26px;
}
footer ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}
footer li:not(.btn) a {
    color: var(--dark);
    transition:
        color 0.3s,
        border-color 0.3s,
        background-color 0.3s;
    text-decoration: none;
    display: inline-block;
    background-size: 0px 0px;
    transition: background-size 0.2s;
    background-image: linear-gradient(#000, #000);
    background-position: 0 100%;
    background-repeat: no-repeat;
}
footer li:not(.btn) a:hover {
    background-size: 100% 1px;
}
footer .menu-uno {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
}
footer .menu-due,
footer .menu-due .menu-footer-3-container .menu,
footer .menu-due .menu-footer-3-inglese-container .menu,
footer .loghi-footer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    height: 100%;
}
footer .menu-due .menu-footer-3-container,
footer .menu-due .menu-footer-3-inglese-container {
    flex: 1;
}
footer .menu-due .menu-footer-3-container .menu .btn,
footer .menu-due .menu-footer-3-inglese-container .menu .btn,
footer .menu-privacy-e-credits-container,
footer .menu-due .menu-footer-3-inglese-container .menu .btn,
footer .menu-privacy-e-credits-inglese-container {
    margin-top: auto;
}
footer .menu-privacy-e-credits-container,
footer .menu-privacy-e-credits-inglese-container {
    font-size: 18px;
    line-height: 20px;
    margin-bottom: 8px;
}
footer .menu-privacy-e-credits-container li,
footer .menu-privacy-e-credits-inglese-container li {
    float: right;
}
footer .menu-privacy-e-credits-container li::after,
footer .menu-privacy-e-credits-inglese-container li::after {
    content: "/";
    margin: 0px 5px;
}
footer .menu-privacy-e-credits-container li:first-child::after,
footer .menu-privacy-e-credits-inglese-container li:first-child::after {
    content: "";
    margin: 0;
}

/* slick arrow */
.slick-arrow {
    position: absolute;
    right: 30px;
    height: 50px;
    width: 16px;
    padding: 0;
    top: 50%;
    margin-top: -25px;
    border: none;
    background-color: transparent;
    background-image: url("../images/arrow.svg");
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -1000000px;
    cursor: pointer;
}
.slick-arrow.slick-prev {
    display: none !important;
}

/* form */
#moduloContatti h2,
#moduloContatti p {
    margin: 0px;
}

input,
select,
textarea {
    border: none;
    border-radius: 20px;
    height: 36px;
    font-family: var(--regular);
    font-size: 26px;
    line-height: 30px;
}
.ginput_container_consent,
.gfield--input-type-html {
    font-size: 20px;
    line-height: 20px;
}
.ginput_container_consent input {
    float: left;
    height: 15px;
    margin-right: 10px;
}
input[type="submit"] {
    background-color: var(--dark);
    color: white;
    padding: 0 30px;
    font-size: 20px;
    line-height: 36px;
    height: 36px;
}
.gform_wrapper.gravity-theme .gfield_validation_message,
.gform_wrapper.gravity-theme .validation_message {
    background-color: transparent !important;
    padding: 0px !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

.gform_wrapper.gravity-theme .gfield input:not([type="checkbox"]),
.gform_wrapper.gravity-theme .gfield select,
.gform_wrapper.gravity-theme .gfield textarea {
    border: 1px solid var(--beige);
    min-width: 40%;
}
.gform_wrapper.gravity-theme input.gfield-choice-input {
    width: 15px;
}
.loginreg {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gform_wrapper.gravity-theme .gfield input:not([type="checkbox"]),
.gform_wrapper.gravity-theme .gfield select,
.gform_wrapper.gravity-theme .gfield textarea {
    width: 100%;
}

#wrapper .gform_wrapper {
    display: block !important;
}
.multiply {
    mix-blend-mode: multiply;
}

/* Case studies */
.case-studies {
    padding-top: 95px;
}
.case-studies .slick-collezioni .slick-slide,
.case-studies .slick-collezioni .slick-slide img {
    max-height: 600px;
}
.case-studies h2 {
    margin-top: 30px;
    margin-bottom: 0px;
}
.case-studies p {
    margin-top: 0px;
}
.case-studies h3 {
    font-size: 18px;
    line-height: 30px;
}
.case-studies .product-used {
    margin: 0px;
    padding: 0px;
    list-style: none;
}
.case-studies .product-used li {
    display: inline-block;
    width: 200px;
    font-size: 18px;
    text-align: center;
}
.case-studies .product-used li a {
    text-decoration: none;
}
.case-studies .product-used li img {
    max-width: 200px;
    height: auto;
}

.case-study {
    border-bottom: 1px solid black;
    padding-bottom: 120px;
}

/* designers */
.post-type-archive-designer .wrapper {
    margin-top: 95px;
}
.designers {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    font-size: 18px;
    line-height: 1.2em;
}
.designers .designer img {
    width: 100%;
    height: auto;
}
.designers .designer p {
    margin: 0px;
}
.designers .designer h2 {
    margin-bottom: 0px;
    font-size: 18px;
    line-height: 1.2em;
}
.designers .designer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 18px;
    margin-bottom: 60px;
}
.designers .designer ul li {
    display: inline-block;
    margin-right: 10px;
}
.column-link :where(.wp-block-columns) {
    margin-bottom: 60px;
}
.column-link figure {
    margin: 0;
    line-height: 0;
}

.column-link {
    display: flex;
    width: 100%;
}
.column-link.list-news {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.column-link div.col {
    flex: 1 1 0;
}
.column-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.column-link .contenuti {
    padding: 15px 30px;
    margin-bottom: 30px;
}

.column-link div.column-link {
    align-items: stretch;
}
.column-link div.col,
.column-link .contenuti {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
.column-link .contenuti {
    margin-bottom: auto;
    flex: 1 1 auto;
}

.column-link div.col figure {
    width: 100%;
}
.column-link div.col figure a {
    display: block;
}

.column-link .contenuti .link {
    width: auto;
    margin-top: auto;
    margin-bottom: 0px;
}

.column-link .ratio {
    position: relative;
    background-color: #fff;
    overflow: hidden;
    padding-top: calc((17 / 25) * 100%);
}
.column-link figure {
    position: absolute;
    margin: 0;
    line-height: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.column-link figure a,
.column-link figure a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.column-link div.col {
    margin-bottom: 60px;
}

/* add to cart */
#openCart {
    cursor: pointer;
    transition: all 0.3s;
    mask-image: url("../images/heart.svg");
    position: fixed;
    top: 32px;
    right: 110px;
    width: 34px;
    height: 36px;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    z-index: 100;
    background-color: black;
}
.home .active #openCart,
.home #openCart.active,
.home .active #openCart:hover,
.home .active #openSearch,
.home .active #openSearch:hover {
    filter: invert(0);
}
.pannello {
    transition: transform 0.3s;
    transform: translateX(110%);
    height: 100vh;
    position: fixed;
    top: 0px;
    right: 0px;
    width: 40%;
    background-color: white;
    padding: 84px 30px;
    z-index: 500;
    -webkit-box-shadow: -5px 0px 15px 5px rgba(0, 0, 0, 0.19);
    box-shadow: -5px 0px 15px 5px rgba(0, 0, 0, 0.19);
    font-size: 20px;
    line-height: 24px;
}
.pannello h2 {
    font-size: 20px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    line-height: 50px;
    margin-top: 40px;
    line-height: 60px;
}

.pannello .buttonset {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 40px;
}
.pannello .buttonset button,
.pannello .buttonset a {
    font-size: 15px;
    line-height: 40px;
    text-align: center;
    border: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: all 0.3s;
}
.pannello .buttonset button:hover,
.pannello .buttonset a:hover {
    background-color: var(--hlight);
    cursor: pointer;
    color: var(--dark);
}
.pannello .buttonset a {
    background-color: var(--dark);
    color: #fff;
    grid-column: span 2;
}

.pannello .chiudi {
    right: 30px;
}
.pannello .contenuto {
    max-height: 90%;
    overflow: scroll;
}
body:has(div.pannello.open) {
    overflow: hidden;
}
.pannello.open {
    transform: translateX(0);
}

.pannello #choices {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    border-bottom: 1px solid;
}
.pannello #choices li {
    line-height: 50px;
    border-bottom: 1px solid #ededed;
}
.pannello #choices li {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    padding-top: 10px;
}
.pannello #choices li strong {
    grid-column: span 4;
    line-height: 20px;
}
.pannello #choices li figure {
    grid-column: span 2;
    background-color: #ededed;
}
.pannello #choices li figure img {
    max-width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}
#choices .remove {
    grid-column: span 2;
    text-align: right;
}

.pannello #choices li:last-child {
    border: none;
}
#choices button {
    color: var(--dark);
}
#choices .remove {
    border: none;
    background-color: transparent;
    cursor: pointer;
}
#choices .remove::after {
    display: inline-block;
    width: 30px;
    content: "✕";
}
.pannello .buttonset {
    margin-top: 20px;
}

#request .gform_wrapper {
    margin-top: 60px;
}
.pannello .cart {
    max-height: calc(100dvh - 240px);
    overflow: scroll;
}

.addChart.active,
#openCart.active {
    opacity: 1 !important;
    mask-image: url("../images/heart-fill.svg");
}
#form-request .addChart {
    position: relative;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    opacity: 1;
}
.addChart {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 30px;
    height: 30px;
    border: none;
    background-color: black;
    transition: all 0.3s;
    z-index: 90;
    mask-image: url("../images/heart.svg");
    mask-repeat: no-repeat;
    mask-size: contain;
    opacity: 0;
}
.addChart:hover {
    cursor: pointer;
    background-color: crimson;
}

#prodotti article:hover .addChart,
#prodotti-collezione article:hover .addChart,
#correlati article:hover .addChart {
    opacity: 1;
}
/* Pseudocarello */
.page-template-page-pseudo-carrello #pseudocart,
.page-template-page-pseudo-carrello #quote {
    width: 48%;
    float: left;
    padding-bottom: 120px;
}
.page-template-page-pseudo-carrello #quote {
    float: right;
    border-top: 1px solid;
    padding-top: 30px;
}
#cmade {
    clear: both;
}
#pseudocart #choices {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--dark);
}
#pseudocart #choices li {
    line-height: 50px;
    border-bottom: 1px solid #ededed;
}
#pseudocart #choices li {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    padding-top: 10px;
}
#pseudocart #choices li .content {
    grid-column: span 4;
    line-height: 20px;
}
#pseudocart #choices li figure {
    grid-column: span 2;
    background-color: #ededed;
}
#pseudocart #choices li figure img {
    max-width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}
#pseudocart #choices .remove {
    grid-column: span 2;
    text-align: right;
    cursor: pointer;
}
#pseudocart #choices a {
    text-decoration: none;
}
#moduloSearch {
    width: calc(100% - 60px);
    position: absolute;
    transition: all 0.3s;
    bottom: 0px;
    left: 0px;
    padding: 10px 30px;
    display: none;
    background-color: white;
    border-top: 1px solid;
}
#searchform #s,
#searchform #searchsubmit {
    color: var(--dark);
    padding: 0px;
    border-radius: 0px;
    background-color: transparent;
    border-bottom: 1px solid var(--dark);
    height: 30px;
    min-height: 30px;
    font-size: 14px;
}

#moduloSearch:hover {
    background-color: var(--dark);
}

#moduloSearch:hover #searchform #s,
#moduloSearch:hover #searchform #searchsubmit {
    border-color: var(--beige);
    color: var(--beige);
}
#moduloSearch:hover ::placeholder {
    color: white;
}
#moduloSearch form {
    width: 66.6667%;
    margin: 0 auto;
}
@media (max-width: 1240px) {
    .column-link.list-news {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .column-link,
    .column-link.list-news {
        display: block;
    }

    .column-link .contenuti {
        padding: 18px;
    }
    .column-link div.col {
        margin-bottom: 30px;
    }
    #claim {
        line-height: 34px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    #claim a {
        padding-right: 60px;
    }
}

@media (max-width: 1520px) {
    #top #navbarSite .menu-header li {
        margin-right: 30px;
    }
}
@media (min-width: 1241px) {
    #top #navbarSite .menu-header li.btn a {
        display: inline-block;
        border: 1px solid;
        padding: 0 30px;
        border-radius: 20px;
        height: 36px;
        line-height: 36px;
        color: var(--dark);
    }
    #top #navbarSite .menu-header li.btn a:hover {
        background-color: var(--hlight);
        border-color: var(--hlight);
        color: var(--dark);
    }
    #top #navbarSite .menu-header li.btn a {
        margin-top: 60px;
    }

    #top.open {
        padding-bottom: 100px;
    }
    #top.open #moduloSearch {
        display: block;
    }
}

@media (max-width: 1240px) {
    .mobile {
        display: block !important;
    }
    .desktop {
        display: none !important;
    }

    #top {
        padding: 0px;
        height: 95px;
        max-height: 95px;
        width: 100%;
    }
    #top #logo {
        float: none;
        margin: 30px;
    }
    .navbar-toggler {
        display: block;
    }
    .navbar-toggler {
        width: 30px;
        height: 35px;
        position: fixed;
        right: 30px;
        top: 40px;
        padding: 0px;
        border-radius: 0px;
        z-index: 10000;
        background-color: transparent;
        border: none;
        cursor: pointer;
    }
    .navbar-toggler-icon {
        display: block;
        width: 100%;
        height: 10px;
        border-top: 1px solid #000;
    }
    .navbar-toggler span {
        display: block;
        position: absolute;
        height: 1px;
        width: 100%;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: 0.25s ease-in-out;
        -moz-transition: 0.25s ease-in-out;
        -o-transition: 0.25s ease-in-out;
        transition: 0.25s ease-in-out;
    }
    .navbar-toggler span:nth-child(1) {
        top: 0px;
    }
    .navbar-toggler span:nth-child(2) {
        top: 7px;
    }
    .navbar-toggler span:nth-child(3) {
        top: 14px;
    }
    .open .navbar-toggler span:nth-child(1) {
        top: 7px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    .open .navbar-toggler span:nth-child(2),
    .open .navbar-toggler span:nth-child(3) {
        top: 7px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    #top.open,
    .home #top.open {
        max-height: 100dvh;
        height: 100dvh;
        background-color: var(--beige);
    }

    #navbarSite {
        height: calc(100dvh - 195px);
        max-height: calc(100dvh - 195px);
        overflow: scroll;
    }

    #top #navbarSite {
        flex-wrap: wrap;
        flex-flow: column;
    }
    #top #navbarSite .menu-header,
    #top #navbarSite .menu-header li {
        display: block;
    }
    .menu-sec-lvl {
        position: static;
        max-height: 0px;
        overflow: auto;
        transition: max-height 0.3s;
    }
    header.open .menu-sec-lvl.open {
        max-height: 500px;
    }

    #moduloSearch {
        order: 1;
        background-color: white;
        display: block;
        position: static;
        padding-right: 60px;
        height: 80px;
    }
    #moduloSearch form {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
    }

    #chiudiSearch {
        display: none;
    }
    #top #navbarSite .menu-header {
        order: 2;
        margin-bottom: 30px;
    }
    #top #navbarSite .wpml-ls-legacy-list-horizontal {
        order: 3;
        margin-top: auto;
    }
    #top #navbarSite .menu-header.menu-even {
        order: 4;
    }

    #navbarSite .menu-header span {
        display: block;
    }

    .menu-thr-lvl .sub-menu {
        display: block;
    }
    #top #navbarSite .menu-header li {
        line-height: 40px;
        border-bottom: 1px solid;
        padding: 0;
        margin: 0px;
    }
    #top #navbarSite .menu-header span.open,
    #top #navbarSite .menu-header span:hover,
    #top #navbarSite .menu-header a:hover,
    #top #navbarSite .menu-header .menu-sec-lvl a:hover,
    #top #navbarSite .menu-header .current-menu-item a {
        background-size: 0px;
    }
    #top #navbarSite .menu-header span,
    #top #navbarSite .menu-header a {
        padding: 0 30px;
        display: block !important;
    }
    .sub-menu li a {
        padding: 0 60px;
    }
    header.open .menu-sec-lvl.open {
        max-height: 200dvh;
    }
    #top #navbarSite .menu-header span:hover,
    #top #navbarSite .menu-header span.open,
    .menu-thr-lvl a:hover,
    #top #navbarSite .menu-header .current-menu-ancestor span,
    #top #navbarSite .menu-header .current-menu-item a {
        background-size: 0;
    }

    #top #navbarSite .menu-header .current-menu-item,
    #top #navbarSite .menu-header .current-menu-parent > a,
    #top #navbarSite .menu-header .current-menu-parent > span {
        background-color: var(--hlight);
    }

    #top #navbarSite .wpml-ls-legacy-list-horizontal {
        width: 71px;
        margin-left: 30px;
        margin-bottom: 20px;
    }
    #top #navbarSite .menu-header.menu-even {
        margin-left: 30px;
        margin-bottom: 30px;
        text-align: center;
    }
    #top #navbarSite .menu-header.menu-even li.bottone {
        border-bottom: none;
    }
    #top #navbarSite .menu-header.menu-even li.bottone a {
        background-color: var(--dark);
        color: var(--beige);
    }
    #top #navbarSite .menu-header.menu-even li.bottone a:hover {
        background-color: var(--hlight);
        color: var(--dark);
    }

    .block-sottocontenuti .sottocontenuto p {
        font-size: 22px;
    }
    .chiudi {
        right: 30px;
    }

    .designers {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #top .social {
        position: fixed;
        right: 80px;
        top: 30px;
    }
    .pannello {
        width: 50%;
    }

    #openCart {
        top: 28px;
        right: 80px;
    }
}
@media (max-width: 960px) {
    .designers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 821px) and (max-width: 930px) {
    .pannello .buttonset {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .pannello .buttonset a {
        grid-column: span 1;
    }
}
@media (max-width: 820px) {
    .pannello {
        width: calc(100vw - 60px);
        padding-top: 5px;
    }
    .pannello .cart {
        max-height: calc(100dvh - 100px);
    }

    body :where(.wp-block-columns.is-layout-flex) {
        gap: 15px;
    }
    .wp-block-buttons > .wp-block-button,
    a.wp-block-button__link,
    .column-link .contenuti a,
    #cmade a,
    footer .social li a,
    footer .menu-due .menu .btn a,
    #form-request a,
    #materiali a,
    #download-list button {
        height: auto;
        min-height: 36px;
    }
    #filters button {
        margin-right: 30px;
    }
    .single-product #gallery-cont,
    .single-product #gallery-cont img,
    .case-studies .slick-collezioni .slick-slide,
    .case-studies .slick-collezioni .slick-slide img {
        height: 400px;
    }
    #moduloContatti {
        transform: translateY(-200vw);
    }

    #prodotti,
    .tax-collection #prodotti-collezione {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #filters .button-group {
        grid-column: span 12;
    }

    #informazioni .dimensioni {
        display: block;
    }
    #informazioni .dimensioni table {
        margin-bottom: 30px;
    }
    #materiali .content > ul {
        grid-column: span 2;
    }

    #download #download-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    #download-list .buttonset {
        grid-column: span 3;
    }

    #claim {
        line-height: 30px;
        padding: 20px 0;
    }
    #claim a {
        padding-right: 60px;
    }

    #collezioni {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .page-template-page-download #prodotti {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    #materials {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    #modale {
        width: 100%;
    }
    #modale #content {
        padding: 60px;
        font-size: 20px;
        line-height: 24px;
    }
    footer #dati-aziendali {
        grid-column: span 12;
    }
    footer .social {
        margin: 36px 0;
    }
    footer .menu-uno,
    footer .menu-due {
        grid-column: span 6;
    }

    footer .loghi-footer {
        grid-column: span 12;
        margin-top: 36px;
    }
    footer .loghi-footer img {
        max-width: calc(50% - 30px);
    }
    footer .menu-privacy-e-credits-container {
        float: left;
        margin-top: 36px;
        font-size: 15px;
    }
    footer .menu-privacy-e-credits-container ul {
        float: left;
    }

    #gallery_home .wp-block-button {
        display: none;
    }
    #gallery_home {
        margin-bottom: 10px;
    }

    .single-product .button-accordion {
        padding: 0 20px;
    }

    #designer .wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    #designer .txt {
        grid-column: span 1;
    }
    #designer figure {
        margin-bottom: 0px;
        line-height: 0;
        width: 50%;
    }

    #results {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .page-template-page-pseudo-carrello #pseudocart,
    .page-template-page-pseudo-carrello #quote {
        float: none;
        width: 100%;
    }
}

@media (max-width: 540px) {
    body,
    h1,
    h2,
    h3,
    .single-product .button-accordion {
        font-size: 22px;
        line-height: 26px;
    }
    body :where(.wp-block-columns.is-layout-flex) {
        gap: 0px;
    }
    h1,
    h2 {
        margin-bottom: 26px;
    }
    #moduloContatti {
        transform: translateY(-300vw);
    }

    #moduloContatti.open {
        top: 0px;
        padding: 30px 0;
        width: 100%;
    }
    .chiudi {
        top: 20px;
    }

    #moduloContatti .container-fluid {
        height: calc(100dvh - 30px);
        overflow: scroll;
        padding: 0 30px;
        padding-bottom: 30px;
    }

    .has-medium-font-size {
        font-size: 22px !important;
        line-height: 26px;
    }

    #top #logo img {
        width: 75px;
        height: 20px;
    }
    #top #logo {
        margin: 18px;
        width: 50%;
    }
    .navbar-toggler {
        top: 18px;
        right: 18px;
    }
    #top {
        height: 56px;
        max-height: 56px;
        transition: all 0.3s;
        overflow: hidden;
    }
    #top #navbarSite .menu-header span,
    #top #navbarSite .menu-header a {
        padding: 0 18px;
    }
    #top #navbarSite .wpml-ls-legacy-list-horizontal,
    #top #navbarSite .menu-header.menu-even {
        margin-left: 18px;
    }
    #top #navbarSite .menu-header.menu-even li {
        margin-right: 18px;
    }
    #moduloSearch {
        padding-left: 18px;
    }

    #gallery_home {
        height: auto;
        padding-top: 115px;
    }
    #gallery_home .txt_home {
        order: 1;
        position: static;
        padding: 18px;
        width: calc(100% - 36px);
    }
    #gallery_home picture {
        order: 2;
        position: static;
    }
    #gallery_home h1,
    .block-testata h1 {
        font-size: 30px;
        line-height: 33px;
    }
    #gallery_home img,
    #gallery_home picture {
        height: 60dvh;
    }
    .contenuto-pagina {
        padding: 0 18px;
    }

    a.wp-block-button__link,
    .column-link .contenuti a,
    #cmade a,
    footer .social li a,
    footer .menu-due .menu-footer-3-container .menu .btn a,
    #form-request a,
    #materiali a,
    #download-list button {
        padding: 0 5px;
        width: calc(100% - 10px);
        text-align: center;
    }
    #prodotti,
    #collezioni {
        display: block;
    }

    #filters {
        top: 55px;
    }
    #filters h1 {
        display: none;
        margin-top: 10px;
    }
    #filters button {
        font-size: 15px;
        height: 18px;
        line-height: 18px;
        margin-bottom: 10px;
        color: var(--dark);
    }
    #filters button::after {
        height: 18px;
    }
    #filters .content-collapse ul {
        column-gap: 18px;
        padding-left: 0px;
        font-size: 15px;
        line-height: 24px;
    }
    #filters #box-type li a::before {
        height: 13px;
        width: 13px;
        position: relative;
        top: 3px;
    }
    #filters .content-collapse ul {
        display: grid;
        grid-template-rows: repeat(2, 1fr);
        grid-auto-flow: row;
    }

    #wrapper {
        padding-top: 86px;
    }

    .rank-math-breadcrumb,
    .arrow-back {
        display: none;
    }
    #prodotti article h3,
    #collezioni article h2,
    #prodotti-collezione h3 {
        margin: 0px;
        padding-bottom: 18px;
    }
    .tax-collection .descrizione {
        width: 100%;
    }

    .single-product .gallery-product,
    .single-product .gallery-product .slick-slide {
        height: auto;
    }
    .single-product .gallery-product img {
        width: 100vw;
        height: 100vw;
        object-fit: contain;
    }
    .single-product .testo {
        padding: 18px;
        width: calc(100% - 36px);
    }
    .single-product #form-request {
        position: static;
        margin: 0px 18px 36px 18px;
    }
    .single-product .button-accordion h2 {
        font-size: 22px;
    }
    #informazioni .dimensioni {
        padding: 36px 18px;
    }
    #informazioni .dimensioni table span {
        display: block;
    }
    #informazioni .dimensioni table {
        line-height: 20px;
    }
    #informazioni .dimensioni table td {
        padding: 5px 0;
    }
    #materiali .content {
        display: block;
    }
    #download #download-list,
    .page-template-page-download #prodotti {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    #download-list .buttonset {
        grid-column: span 2;
    }
    #download {
        padding: 36px 18px;
    }
    .single-product #prodotti-collezione .content,
    .single-product #correlati .content {
        gap: 18px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 36px 18px;
    }

    #materials {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
    #modale {
        top: 56px;
    }
    #modale figure {
        max-height: 200px;
        overflow: hidden;
    }
    #modale .content {
        display: block;
    }
    #modale #content {
        padding: 60px 18px 36px 18px;
        font-size: 15px;
        line-height: 20px;
    }
    #modale .chiudi {
        top: 18px;
        right: 18px;
    }
    a.wp-block-button__link,
    .column-link .contenuti a,
    #cmade a,
    footer .social li a,
    footer .menu-due .menu-footer-3-container .menu .btn a,
    #form-request a,
    #materiali a,
    #download-list button {
        font-size: 18px;
        color: var(--dark);
    }

    .wp-block-group {
        display: block;
        width: 100%;
    }
    .wp-block-group .wp-block-buttons {
        display: block;
        width: 100%;
    }
    .wp-block-buttons > .wp-block-button {
        display: block;
        margin-bottom: 9px;
    }
    body .wp-block-buttons.is-layout-flex {
        display: block;
    }

    footer {
        display: block;
    }
    footer h2.wp-block-heading {
        margin-bottom: 10px;
    }
    footer .menu-uno,
    footer .menu-due {
        column-gap: 18x;
        margin-bottom: 36px;
    }
    footer .menu-due .menu-footer-3-container .menu .btn a {
        display: inline-block;
        margin-top: 18px;
        width: auto;
        padding: 0 18px;
        font-size: 15px;
    }
    footer .social li a {
        padding: 0 18px;
        font-size: 15px;
        width: calc(100% - 36px);
    }
    footer .social {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 10px;
    }
    footer .social li {
        margin: 0px;
    }
    footer {
        padding: 54px 18px;
    }
    footer .loghi-footer img {
        max-width: 100%;
    }

    #claim a {
        padding-left: 18px;
    }
    #cmade {
        padding: 36px 18px;
    }
    .wp-block-spacer {
        max-height: 36px;
    }

    .loginreg {
        display: block;
    }

    .menu-sec-lvl {
        transition: all 0.3s;
    }
    .menu-sec-lvl.open {
        background-color: white;
    }
    #top #navbarSite .menu-header span.open {
        font-family: var(--bold);
    }

    #filters button {
        margin: 10px 0px;
        width: 40%;
        margin-right: 10%;
        float: left;
    }
    #filters .button-group {
        border-bottom: 1px solid black;
        margin-bottom: -1px;
    }
    #filters .content-collapse ul#ordinamento {
        float: left;
        text-align: left;
    }
    #filters .content-collapse {
        padding-top: 20px;
    }
    #filters button:last-child {
        float: left;
    }

    .designers {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .single-product #gallery-cont,
    .single-product #gallery-cont img,
    .case-studies .slick-collezioni .slick-slide,
    .case-studies .slick-collezioni .slick-slide img {
        height: 200px;
    }
    #designer h3,
    #designer p,
    #designer {
        font-size: 22px;
    }
    .wrapper {
        padding: 0 18px;
    }

    .tax-collection #prodotti-collezione,
    .single-download #prodotti-collezione {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #top .social {
        position: fixed;
        right: 60px;
        top: 10px;
    }
    #top .social li,
    #top .social li a {
        width: 30px;
        height: 30px;
    }
    #top .social li img {
        width: 15px;
    }
    #results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #openCart {
        top: 8px;
        right: 60px;
        width: 28px;
        height: 30px;
    }
    #navbarSite {
        height: calc(100dvh - 120px);
        max-height: calc(100dvh - 120px);
    }
    #moduloSearch {
        height: 40px;
    }
}
.single-post .content {
    width: calc(75% - 90px);
    float: right;
    margin-bottom: 120px;
    padding-right: 30px;
}

.block-testata {
    padding-left: 30px;
    position: relative;
    display: flex;
    align-items: center;
}
.block-testata h1 {
    width: 25%;
    margin-bottom: 60px;
}
.block-testata figure {
    width: calc(75% - 30px);
    padding-left: 30px;
    height: calc(100vh - 185px);
    margin-bottom: 60px;
    overflow: hidden;
}
.block-testata figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1240px) {
    .block-testata {
        flex-wrap: wrap;
        padding: 0px;
    }
    .block-testata figure {
        width: 100%;
        padding: 0px;
    }

    .single-post .content {
        width: calc(100% - 60px);
        float: none;
        padding: 0 30px;
    }
    .block-testata h1 {
        padding-left: 30px;
        width: 50%;
    }
}
@media (max-width: 820px) {
    .block-testata h1 {
        width: 70%;
    }
}
@media (max-width: 540px) {
    .block-testata figure {
        height: 60vh;
        margin-bottom: 36px;
    }

    .block-testata h1 {
        width: calc(100% - 36px);
        padding: 0 18px;
        margin-bottom: 54px;
    }
    .single-post .content {
        width: calc(100% - 36px);
        padding: 0 18px;
    }
    .pannello h2 {
        margin-top: 5px;
    }
    .pannello .buttonset {
        display: block;
    }
    .pannello .buttonset button,
    .pannello .buttonset a {
        width: 100%;
        height: 38px;
        line-height: 38px;
        display: block;
        margin-bottom: 10px;
    }

    .pannello .contenuto {
        max-height: calc(100dvh - 30px);
    }
}
