/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

html,
body {
    scroll-behavior: smooth;
}

#brx-header.brx-sticky.slide-up:not(:has(.cart-detail.off-canvas.active, .brxe-offcanvas.brx-open)) {
    transform: translateY(-33%);
}

#brxe-goqnnh svg,
#brxe-goqnnh .brxe-text-basic {
    transition: all 0.25s ease-in-out;
}

#brxe-goqnnh:hover svg,
#brxe-goqnnh:hover .brxe-text-basic {
    color: var(--colore-primario) !important;
    stroke: var(--colore-primario) !important;
}

#brxe-wmslws svg,
#brxe-wmslws .brxe-text-basic {
    transition: all 0.25s ease-in-out;
}

#brxe-wmslws:hover svg,
#brxe-wmslws:hover .brxe-text-basic {
    color: var(--colore-primario) !important;
    stroke: var(--colore-primario) !important;
}

#brxe-goqnnh:hover svg,
#brxe-goqnnh:hover .brxe-text-basic {
    color: var(--colore-primario) !important;
    stroke: var(--colore-primario) !important;
}

.numero-verde {
    transition: color 0.25s ease-in-out;
}

.numero-verde:hover {
    color: var(--sfondo-chiaro) !important;
}

.telefono-header svg,
.telefono-header .brxe-text-basic {
    transition: all 0.25s ease-in-out;
}

.telefono-header:hover svg,
.telefono-header:hover .brxe-text-basic {
    color: rgba(252, 248, 249, 0.8) !important;
    stroke: rgba(252, 248, 249, 0.8) !important;
}

.link-nav .menu-item a.brxe-text-link:hover {
    color: #000000 !important;
}

.bottone-brochure {
    color: var(--sfondo-chiaro) !important;
}

.bottone-brochure:hover {
    background-color: var(--colore-primario) !important;
}

.bottone-header {
    color: var(--sfondo-chiaro) !important;
}

.bottone-header:hover {
    background-color: var(--testo) !important;
}

.bottone-header i {
    transform: translateX(0);
    transition: transform 0.25s ease-in-out;
}

.bottone-header:hover i {
    transform: translateX(5px);
}

.bottone-rosso-hero {
    transition: background-color 0.25s ease-in-out;
}


.bottone-rosso-hero:hover {
    background-color: #d40c1acc !important;
}

.bottone-rosso-hero i {
    transform: translateX(0);
    transition: transform 0.25s ease-in-out;
}

.bottone-rosso-hero:hover i {
    transform: translateX(5px);
}

.bottone-trasparente {
    transition: background-color 0.25s ease-in-out;
}

.bottone-trasparente:hover {
    background-color: rgba(252, 248, 249, 0.1) !important;
}

.sub-numero-verde ul {
    padding-left: 15px;
}

#brxe-zeuzqf div {
    transition: background-color 0.15s ease-in-out;
}

#brxe-zeuzqf div svg {
    transition: scale 0.15s ease-in-out;
}

#brxe-zeuzqf div:hover svg {
    scale: 1.1;
}

#brxe-zeuzqf div:hover {
    background-color: #f4eef0;
}

.pulsante-sottolineato i {
    transform: translateX(0);
    transition: transform 0.25s ease-in-out;
}

.pulsante-sottolineato:hover i {
    transform: translateX(5px);
}

#brxe-ccsfqi div {

    transition: background-color 0.15s ease-in-out;
}

#brxe-ccsfqi div svg {
    transition: scale 0.15s ease-in-out;
}

#brxe-ccsfqi div:hover svg {
    scale: 1.1;
}

#brxe-ccsfqi div:hover {
    background-color: #f4eef0;
}

.bottone-filtro-galley {
    transition: border-color 0.25s ease-in-out;
}

.bottone-filtro-galley:hover:not(.brx-open) {
    border-color: var(--colore-primario) !important;
}

.numero-grande,
.link-footer {
    transition: color 0.25s ease-in-out;
}

.link-footer:hover {
    color: var(--colore-primario) !important;
}

.numero-grande:hover{
    color: #008000 !important;
}

.bottone-numero-verde{
    transition: background-color 0.25s ease-in-out;
}

.bottone-numero-verde:hover{
    background: #008000cc !important;
}

#brxe-sovrix>div {
    transition: background-color 0.15s ease-in-out;
}

#brxe-sovrix div svg {
    transition: scale 0.15s ease-in-out;
}

#brxe-sovrix div:hover svg {
    scale: 1.1;
}

#brxe-sovrix>div:hover {
    background-color: oklab(0.98 0.000520944 0.00295442 / 0.05);
}

.blocco-contatti .brxe-block:nth-child(2) .brxe-text-basic:nth-child(2),
.blocco-contatti .brxe-block:nth-child(2) .brxe-text-basic:nth-child(3) {
    transition: color 0.25s ease-in-out;
}

.blocco-contatti:hover .brxe-block:nth-child(2) .brxe-text-basic:nth-child(2),
.blocco-contatti:hover .brxe-block:nth-child(2) .brxe-text-basic:nth-child(3) {
    color: var(--colore-primario) !important;
}

form input:focus,
form textarea:focus {
    color: var(--colore-primario) !important;
}

form button[type="submit"] {
    padding: 16px 24px;
    transition: background-color 0.25s ease-in-out;
}

form button[type="submit"] i {
    transform: translateX(0);
    transition: transform 0.25s ease-in-out;
}

form button[type="submit"]:hover {
    background-color: rgba(14, 18, 23, 0.9) !important;
}

form button[type="submit"]:hover i {
    transform: translateX(5px);
}

:where(.brxe-form) .required:after {
    color: var(--colore-primario);
}


form .form-group:nth-child(1),
form .form-group:nth-child(3) {
    margin-right: 20px;
}

form label {
    margin-bottom: 8px;
}

#contenuti-gallery ul li {
    height: 307.5px;
    overflow: hidden;
}

@media(max-width: 991px) {

    form .form-group:nth-child(1),
    form .form-group:nth-child(3) {
        margin-right: 0;
    }
}

@media(max-width: 820px) {
    #contenuti-gallery div ul {
        grid-template-columns: 1fr 1fr;
    }

    #contenuti-gallery .tab-pane>div {
        grid-template-columns: 1fr 1fr;
    }

    .numero-grande {
        font-size: 44px !important;
    }
}

@media(max-width: 768px) {
    h1 {
        font-size: 72px !important;
    }

    form .form-group:nth-child(1),
    form .form-group:nth-child(3) {
        margin-right: 20px;
    }
}

@media(max-width: 480px) {
    h1 {
        font-size: 45px !important;
        line-height: 45.6px !important;
    }

    #brxe-ncnhgp {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    form .form-group:nth-child(1),
    form .form-group:nth-child(2),
    form .form-group:nth-child(3),
    form .form-group:nth-child(4) {
        width: 100% !important;
    }

    form .form-group:nth-child(1),
    form .form-group:nth-child(3) {
        margin-right: 0;
    }

    #brx-header.brx-sticky.slide-up:not(:has(.cart-detail.off-canvas.active, .brxe-offcanvas.brx-open)) {
        transform: translateY(0);
    }

    #contenuti-gallery div ul {
        grid-template-columns: 1fr;
    }

    #contenuti-gallery .tab-pane>div {
        grid-template-columns: 1fr;
    }

    .gradiente {
        height: 307px !important;
    }
}

.gradiente::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,rgba(0, 0, 0, 0) 0%,rgba(14, 18, 23, 0.8) 100%);
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
    z-index: 1;
}

.gradiente:hover::after {
    opacity: 1;
}

.gradiente img {
    display: block;
}

.gradiente .descrizione {
    transform: translateY(8px);
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
}

.gradiente:hover .descrizione {
    transform: translateY(0);
    opacity: 1;
}

.gradiente img {
    transition: transform .4s ease;
}

.gradiente:hover img {
    transform: scale(1.05);
}

.grecaptcha-badge{
	visibility: visible !important;
}