/*
Theme Name: Pintdecor
Author: Studio Azione S.r.l.
Author URI: https://studioazione.it/
Version: 2023.4
Text Domain: saz
Template: azione5

*/

a,
a:hover,
a:focus,
a:active {
    outline: none;
}

b,
strong {
    font-weight: 600;
}

body {
    font-weight: 300;
}

body.editor-styles-wrapper {
    background: #FFF;
}

a:hover {
    text-decoration: none;
}

a,
a:hover,
a:focus,
a:active {
    outline: none !important;
}

input:focus {
    outline: none;
}

*:focus {
    outline: 0;
}

button:focus {
    outline: none;
}

.navbar-brand {
    line-height: 0;
}

.wp-block-gallery.is-layout-flex {
    display: block;
}

.navbar,
.navbar-brand,
.navbar-brand svg,
body.nav-scroll .navbar,
.icon-scroll,
.navbar-nav>li,
.menu-secondario li,
.menu-secondario li a,
.menu-principale-homepage li a,
.intestazione .background-colore-verde:before,
.intestazione .background-colore-blu:before,
.intestazione .background-colore-marrone:before,
.header-image img {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.navbar-nav>li:hover>a,
.navbar-nav>li.menu-item-has-children:hover>a,
.navbar-nav li.current-page-ancestor>a,
.navbar-nav li.current-menu-item>a {
    color: #997f68 !important;
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive-9by16::before {
    padding-top: 177.77%;
}

.embed-responsive-custom::before {
    padding-top: 124%;
}

.t-soleil {
    font-family: "soleil", sans-serif;
    font-weight: 300;
}

/* Hamburger */

.navbar-toggler {
    padding: 0;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent !important;
    border-radius: 0;
}

#nav-icon4 {
    width: 30px;
    height: 20px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    margin: 0 auto;
}

#nav-icon4 span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    border-radius: 0;
    opacity: 1;
    right: 0;
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#nav-icon4 span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 10px;
    left: 0;
}

#nav-icon4 span:nth-child(2) {
    opacity: 1;
    top: 10px;
    right: 0;
    left: initial;
}

#nav-icon4 span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 10px;
    left: 0;
    opacity: 1;
}

.collapsed #nav-icon4 span {
    opacity: 1;
    right: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
}

.collapsed #nav-icon4 span:nth-child(1) {
    top: 2px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
    width: 20px;
}

.collapsed #nav-icon4 span:nth-child(2) {
    top: 11px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.collapsed #nav-icon4 span:nth-child(3) {
    top: 20px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
    width: 20px;
    right: 0;
    left: inherit;
}

#navbarContenutoMenu {
    display: none;
}

.intestazione .contenuto-intestazione {
    position: relative;
    z-index: 10;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: start;
}

.intestazione .contenuto-intestazione:before {
    content: "";
    position: absolute;
    z-index: 10;
    height: 100%;
    width: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.4) 100%);
    top: 0;
    left: 0;
}

.contenitore-contenuto {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    z-index: 100;
}

.contenitore-contenuto h2,
.contenitore-contenuto .h2 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 0;
    color: #fff;
}

#carousel-intestazione {
    background: #3f444a;
    position: relative;
    margin: 0 120px;
}

#carousel-intestazione .carousel-inner,
#carousel-intestazione .carousel-item,
.c-intro-img-bg,
.intestazione {
    height: 70vh;
}

.t-u {
    border-bottom: 1px solid;
}

/*serch & filter */

form.searchandfilter {
    font-family: "soleil", sans-serif;
}

form.searchandfilter h4 {
    font-family: "soleil", sans-serif;
    padding: 0;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1em;
    font-size: .925rem;
}

.searchandfilter ul {
    padding: 0;
}

.searchandfilter ul li {
    list-style: none;
    display: block;
    padding: 10px 0;
    margin: 0;
}

form.searchandfilter>ul {
    margin: 0;
    padding: 0;
}

form.searchandfilter>ul>li {
    text-transform: uppercase;
    cursor: pointer;
}

.pager,
#saz_posts_navigation {
    display: none;
}

/* Single product carousel */

.carousel-main .carousel-cell {
    width: 100%;
    display: flex;
    align-items: center;
    height: 700px;
    margin: 0;
}

.carousel-cell .img-orizzontale {
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
    margin: 0 auto;
}

.carousel-cell .img-quadrata {
    width: auto;
    height: 100%;
    mix-blend-mode: multiply;
    margin: 0;
}

.carousel-cell .img-verticale {
    width: auto;
    height: 100%;
    mix-blend-mode: multiply;
    margin: 0 auto;
}

.carousel-preview {
    display: flex;
    padding: 20px 0;
}

.carousel-preview .carousel-cell {
    height: 80px;
    width: 80px;
    margin: 0 5px 0 0;
    cursor: pointer;
    overflow: hidden;
    background: #f4f4f4;
}

.carousel-preview .carousel-cell img {
    object-fit: cover;
    height: 100%;
    display: flex;
    align-items: center;
    margin: 0 auto;
    mix-blend-mode: multiply;
}

#searchModal button.close {
    position: absolute;
    top: 70px;
    right: 20px;
    opacity: .9;
    text-shadow: none;
}

#searchModal .search-form-modale .form-control {
    font-size: 1.125rem;
}

.img-designer {
    width: 250px;
}

.container-immagini {
    position: relative;
    width: 100%;
    padding-top: 66.7%;
    border: none;
    margin: 0 auto;
    overflow: hidden;
}

.container-immagini .img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.container-immagini .slider {
    position: absolute;
    top: 0;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    margin: 0;
    transition: all .2s;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none !important;
}

.container-immagini .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 4px;
    height: 2000px;
    background: white;
    cursor: pointer;
    border: none !important;
}

.container-immagini .slider::-moz-range-thumb {
    width: 4px;
    height: 2000px;
    background: white;
    cursor: pointer;
    border: none !important;
}

.container-immagini .slider-button {
    pointer-events: none;
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    left: calc(50% - 16px);
    top: calc(50% - 16px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-immagini .slider-button:after {
    content: '';
    padding: 3px;
    display: inline-block;
    border: solid #2f3b40;
    border-width: 0 2px 2px 0;
    transform: rotate(-45deg);
}

.container-immagini .slider-button:before {
    content: '';
    padding: 3px;
    display: inline-block;
    border: solid #2f3b40;
    border-width: 0 2px 2px 0;
    transform: rotate(135deg);
}

html[lang="en-US"] form.searchandfilter>ul::before {
    content: 'Filter by:';
}

html[lang="es-ES"] form.searchandfilter>ul::before {
    content: 'Filtrado por:';
}

html[lang="fr-FR"] form.searchandfilter>ul::before {
    content: 'Filtrer par:';
}

#searchModal .modal-content {
    width: 95%;
}


ul.menu-lingue li {
    position: relative;
    width: 100%;
}

ul.menu-lingue li .sub-menu {
    visibility: hidden;
    background: #272727;
    position: absolute;
    top: 29px;
    left: 0;
    border-top: none;
    z-index: 12;
    text-align: left;
    padding-bottom: 0.75rem;
    border-radius: 0;
    margin: 0;
    padding: 0;
    box-shadow: 0 0.25rem 1rem 0 rgba(0, 0, 0, 0.1);
}

ul.menu-lingue li:hover .sub-menu {
    display: block;
    visibility: visible;
}

ul.menu-lingue li .sub-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.menu-lingue li .sub-menu li a {
    padding: 0.25rem 0 !important;
    font-size: 0.875rem;
    background: transparent;
    letter-spacing: .15px;
    text-align: center;
    color: #272727;
    background: #fff;
}

ul.menu-lingue li .sub-menu li.current-menu-item a,
ul.sub-menu li.lang-item.current-lang a,
ul.menu-lingue li .sub-menu li a.nav-link:hover {
    color: #fff !important;
    background: #272727 !important;
    text-decoration: none !important;
}

ul.menu-lingue li.pll-parent-menu-item>a {
    font-size: 0.875rem;
    text-align: left;
    font-weight: 400;
    border: 1px solid;
    letter-spacing: .15px;
    text-transform: uppercase;
    color: #282828;
    padding: .25rem 1.25rem .25rem .5rem;
}
ul.menu-lingue li.pll-parent-menu-item>a:after {
    font-family: "Font Awesome 5 Pro";
    display: inline-block;
    right: 6px;
    position: absolute;
    font-size: 0.875rem;
    top: 50%;
    color: #282828;
    font-weight: 400;
    margin-top: -8px;
    content: '\f107';
}
ul.menu-lingue:hover li.pll-parent-menu-item>a,
ul.menu-lingue:hover li.pll-parent-menu-item>a:hover {
    color: #282828 !important;
}

ul.menu-lingue:hover li.pll-parent-menu-item>a:after {
    color: #282828;
    content: '\f106';
}

body.menu-mobile-open ul.menu-lingue:hover li.pll-parent-menu-item>a,
body.menu-mobile-open ul.menu-lingue:hover li.pll-parent-menu-item>a:hover,
body.menu-mobile-open ul.menu-lingue li.pll-parent-menu-item>a,
body.menu-mobile-open ul.menu-lingue li.pll-parent-menu-item>a:after {
    color: #fff !important;
}

@media (min-width: 992px) {

    .contenitore-contenuto h2,
    .contenitore-contenuto .h2 {
        font-size: 48px;
    }

    .intestazione .contenuto-intestazione:before {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.6) 100%);
    }
    .intestazione .contenuto-intestazione {
        align-items: end;
    }

    #searchModal .modal-content {
        width: 50%;
    }

    #searchModal .search-form-modale .form-control {
        font-size: 2rem;
    }

    .mt-100 {
        margin-top: 98px;
    }

    #searchModal button.close {
        top: 70px;
        right: 60px;
    }

    /*serch & filter */

    form.searchandfilter>ul {
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
    }

    form.searchandfilter h4 {
        margin-bottom: 0;
    }

    form.searchandfilter>ul::before {
        content: 'Filtra per:';
        padding: 0 15px;
        top: 12px;
        font-size: 14px;
    }

    form.searchandfilter>ul>li {
        display: inline-block;
        vertical-align: top;
        padding: 12px 15px;
        margin-right: 10px;
        position: relative;
        border: 1px solid rgba(0, 0, 0, 0.1);
        text-transform: uppercase;
        cursor: pointer;
    }

    form.searchandfilter>ul>li:hover>ul {
        display: block;
    }

    form.searchandfilter>ul>li:hover {
        border: 1px solid #997f68;
        background: #997f68;
        color: #FFF;
    }

    form.searchandfilter>ul>li>ul {
        position: absolute;
        display: none;
        top: 40px;
        left: -1px;
        margin: 0;
        padding: 0;
        background: #FFF;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        width: 240px;
        z-index: 10;
        padding: 15px;
        border: 1px solid rgba(0, 0, 0, 0.3);
    }

    form.searchandfilter>ul>li>ul>li {
        color: #000;
        text-transform: none;
        cursor: pointer;
    }

    form.searchandfilter>ul>li>ul>li[data-sf-count="0"] {
        opacity: 0.5;
        pointer-events: none;
        cursor: default !important;
    }

    body.admin-bar header.fixed-top {
        top: 32px !important;
    }

    #carousel-intestazione .carousel-inner,
    #carousel-intestazione .carousel-item,
    .c-intro-img-bg,
    .intestazione {
        height: 750px;
    }

    .contenitore-contenuto {
        margin: 6rem;
        width: 40%;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {

    .bg-light-product:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 20%;
        background: #eae6e2;
        top: 0;
        left: 0;
    }

    .navbar .menu-categorie li a{
        padding: 0 0.25rem;
    }

    .modal-scheda-tecnica .modal-content {
        width: 80%;
    }
    body.menu-mobile-open .card-diamanti .header-image img {
        width: 100%!important;
        height: auto;
    }
    .carousel-main .carousel-cell img {
        margin: 0 auto;
    }

    .carousel-main .carousel-cell {
        width: 100%;
        display: flex;
        height: 600px;
    }
    #carousel-intestazione {
        margin: 0 100px;
    }
    .contenitore-contenuto {
        margin: 5rem;
        width: 50%;
    }
    .contenitore-contenuto h2, .contenitore-contenuto .h2 {
        font-size: 36px;
    }

    /*serch & filter */

    form.searchandfilter>ul {
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
    }

    form.searchandfilter h4 {
        margin-bottom: 0;
    }

    form.searchandfilter>ul::before {
        content: 'Filtra per:';
        padding: 0 15px;
        top: 12px;
        font-size: 14px;
    }

    form.searchandfilter>ul>li {
        display: inline-block;
        vertical-align: top;
        padding: 12px 15px;
        margin-right: 10px;
        position: relative;
        border: 1px solid rgba(0, 0, 0, 0.1);
        text-transform: uppercase;
        cursor: pointer;
    }

    form.searchandfilter>ul>li:hover>ul {
        display: block;
    }

    form.searchandfilter>ul>li:hover {
        border: 1px solid #997f68;
        background: #997f68;
        color: #FFF;
    }

    form.searchandfilter>ul>li>ul {
        position: absolute;
        display: none;
        top: 40px;
        left: -1px;
        margin: 0;
        padding: 0;
        background: #FFF;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        width: 200px;
        z-index: 10;
        padding: 15px;
        border: 1px solid rgba(0, 0, 0, 0.3);
    }

    form.searchandfilter>ul>li>ul>li {
        color: #000;
        text-transform: none;
        cursor: pointer;
    }

    form.searchandfilter>ul>li>ul>li[data-sf-count="0"] {
        opacity: 0.5;
        pointer-events: none;
        cursor: default !important;
    }

    #carousel-intestazione .carousel-inner,
    #carousel-intestazione .carousel-item,
    .c-intro-img-bg,
    .intestazione {
        height: 550px;
    }
}

@media (max-width: 991px) {
    .carousel-main .carousel-cell img {
        margin: 0 auto;
    }
    body.menu-mobile-open .navbar .card-diamanti .header-image img {
        width:55px;
        height: auto;
    }
    body.menu-mobile-open .card-diamanti .header-image {
        display: flex;
        align-items: center;
    }
    .text-center-mobile {
        text-align: center;
    }
    .carousel-main .carousel-cell {
        width: 100%;
        display: flex;
        height: 400px;
    }

    .carousel-preview .carousel-cell {
        height: 60px;
        width: 60px;
    }

    .icone-single .circle-dark {
        width: 40px;
        height: 40px;
    }

    .fixed-top {
        position: relative;
    }

    .contenitore-contenuto {
        margin: 30px;
    }

    .contenitore-contenuto h2 {
        font-size: 26px;
    }

    #carousel-intestazione {
        margin: 0;
    }

    .searchandfilter ul li {
        font-size: .875rem;
    }

    .searchandfilter ul li li {
        padding: 2px 0;
    }

    .filtri-mobile .fa-filter {
        background: #3d5059;
        color: #fff;
        padding: 8px;
        border-radius: 50rem;
    }
}


@media (max-width: 782px) {

    /* NB questo breakpoint è definito in WP, non in Bootstrap */
    body.admin-bar header.fixed-top {
        top: 0 !important;
    }
}

@media (max-width: 600px) {
    #wpadminbar {
        position: fixed;
    }
}

@media (min-width: 1600px) {
    .intestazione .background-colore-verde:before {
        background: linear-gradient(90deg, rgba(0, 0, 0, 0) 5%, #575b50 5%);
    }

    .intestazione .background-colore-blu:before {
        background: linear-gradient(90deg, rgba(0, 0, 0, 0) 5%, #3d5059 5%);
    }

    .intestazione .background-colore-marrone:before {
        background: linear-gradient(90deg, rgba(0, 0, 0, 0) 5%, #997f68 5%);
    }

    /* NB questo breakpoint è definito in WP, non in Bootstrap */
    .container-fluid {
        max-width: 1600px;
    }
}

@keyframes blink {
    0% {
        opacity: .2;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: .2;
    }
}

.infinite-scroll-request span {
    animation-name: blink;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    color: #414f58;
    font-size: 0.625rem;
    margin: 0 0.2rem;
}

.infinite-scroll-request span:nth-child(2) {
    animation-delay: .2s;
}

.infinite-scroll-request span:nth-child(3) {
    animation-delay: .4s;
}

a.iubenda-tp-btn.iubenda-cs-preferences-link {
    display: none !important;
}

/* rivenditori */

.leaflet-popup-content {
    padding: 1.5rem;
    margin: 0!important;
    line-height: 1.4;
    font-size: 1rem;
    min-height: 1px;
    font-weight: 400;
    font-size: 1rem;
}
.leaflet-container a, .rivenditore-card a {
    color: #0078A8;
  }
.leaflet-popup-content h4, .rivenditore-card h4 {
    line-height: 1em;
}
.prodotto-rivenditori{
    font-size: 1rem;
    font-weight: bold;
    color: #FFF;
    display: inline-block;
    margin-right: 0.25rem;
    padding: 0.25rem 0.5rem 0.5rem;
}
.prodotto-rivenditori.wallpanel{
    background: #3d5059;
}
.prodotto-rivenditori.wallpaper{
    background: #997f68;
}

@media (max-width: 991px) {
    .map-test-openstreetmap {
        height: 100vh;
    }
    body.admin-bar .map-test-openstreetmap {
        height: calc(100vh - 46px);
    }
}

@media (min-width: 992px) {
    .map-test-openstreetmap, .lista-rivenditori {
        height: calc(100vh - 99px);
        width: 100%;
    }
    body.admin-bar .map-test-openstreetmap, body.admin-bar .lista-rivenditori {
        height: calc(100vh - 131px);
    }
    .lista-rivenditori{
        overflow-y: hidden;
        overflow: scroll;
    }
}


/* ==========================================================================
   FIX ALLINEAMENTO - pulsanti delle card prodotto (home e pagine categoria)
   Il pulsante "Scopri di piu" seguiva la lunghezza del testo, quindi nelle
   colonne affiancate finiva a quote diverse. Ora resta ancorato al fondo
   della card e i pulsanti risultano allineati fra loro.
   Aggiunto: 08/09/2026
   ========================================================================== */
@media (min-width: 768px) {

    .card-diamanti {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .card-diamanti > .content-product {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
    }

    .card-diamanti > .content-product > .btn {
        margin-top: auto !important;
        align-self: flex-start;
    }
}