/*
 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
*/

/* CONTENITORE GENERALE */
.gallery-wrapper {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
}

/* SLIDER PRINCIPALE */
.gallery-slider {
    width: 100%;
    overflow: hidden;
    border-radius: 300px 300px 0 0 / 300px 300px 0 0;
}

.gallery-slider .splide__slide {
    overflow: hidden;
}

.gallery-slider .splide__slide img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    display: block;
}

/* CONTROLLI INFERIORI */
.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    margin-top: 20px;
}

/* GRUPPO MINIATURE */
.gallery-thumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
}

/* MINIATURE */
.gallery-thumbs .gallery-thumb {
    width: 46px;
    height: 46px;
    object-fit: cover;
    opacity: 0.35;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

/* MINIATURA ATTIVA */
.gallery-thumbs .gallery-thumb.is-active {
    opacity: 1;
    outline: 1px solid #333;
    outline-offset: -1px;
}

/* HOVER */
.gallery-thumbs .gallery-thumb:hover {
    opacity: 1;
}

/* CONTATORE */
.gallery-counter {
    font-size: 11px;
    white-space: nowrap;
    color: #666;
}

/* FRECCE */
.gallery-prev,
.gallery-next {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: #f5f5f5;
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .gallery-slider .splide__slide img {
        height: 380px;
    }

    .gallery-controls {
        gap: 12px;
    }

    .gallery-thumbs .gallery-thumb {
        width: 36px;
        height: 36px;
    }
}

/* CONTENITORE GENERALE */
.gallery-wrapper {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
}

/* SLIDER PRINCIPALE */
.gallery-slider {
    width: 100%;
    overflow: hidden;
    border-radius: 300px 300px 0 0 / 300px 300px 0 0;
}

.gallery-slider .splide__slide {
    overflow: hidden;
}

.gallery-slider .splide__slide img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    display: block;
}

/* CONTROLLI INFERIORI */
.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    margin-top: 20px;
}

/* GRUPPO MINIATURE */
.gallery-thumbs {
    display: flex;
    align-items: center;
    width: auto;
}

.gallery-thumbs .splide__track .splide__list {
    gap: 7px;
}

/* MINIATURE */
.gallery-thumbs .gallery-thumb {
    width: 46px;
    height: 46px;
    object-fit: cover;
    opacity: 0.35;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

/* MINIATURA ATTIVA */
.gallery-thumbs .gallery-thumb.is-active {
    opacity: 1;
    outline: 1px solid #333;
    outline-offset: -1px;
}

/* HOVER */
.gallery-thumbs .gallery-thumb:hover {
    opacity: 1;
}

/* CONTATORE */
.gallery-counter {
    font-size: 11px;
    white-space: nowrap;
    color: #666;
}

/* FRECCE */
.gallery-prev,
.gallery-next {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: #f5f5f5;
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .gallery-slider .splide__slide img {
        height: 380px;
    }

    .gallery-controls {
        gap: 12px;
    }

    .gallery-thumbs .gallery-thumb {
        width: 36px;
        height: 36px;
    }
}

.btn-verde,
#form .form-group.submit-button-wrapper .bricks-button {
    transition: all 0.3s ease;
}

.btn-verde:hover,
#form .form-group.submit-button-wrapper .bricks-button:hover {
    background: rgba(80, 98, 61, 0.9);
}

.video-popup-trigger,
.btn-trasparente {
    transition: all 0.3s ease;
}

.video-popup-trigger:hover,
.btn-trasparente:hover {
    background: #eef4ec;
}

.col-testo-trattamenti h3 {
    font-size: clamp(35px, 28px + 1vw, 40px);
    line-height: clamp(37px, 30px + 1vw, 42px);
}

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

#form .form-group input:focus,
#form .form-group textarea:focus,
#form .form-group select:focus {
    outline: none !important;
    border: 2px solid var(--oliva) !important;
}

#form .form-group.submit-button-wrapper .bricks-button {
    padding: 13px 23px;
}

.scritta-icona {
    display: flex;
    align-items: center;
}

@media(max-width:862px) {

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

.animazione-img {
    transform: scale(1);
    transition: all 0.5s ease;
}

.animazione-img:hover {
    transform: scale(1.04);
}

.btn-freccia-destra svg,
.col-testo-trattamenti .btn-freccia-destra svg {
    transform: translateX(0);
    transition: all 0.3s ease;
}

.btn-freccia-destra:hover svg,
.col-testo-trattamenti:hover .btn-freccia-destra svg {
    transform: translateX(5px);
}

.btn-freccia-obliqua svg,
.btn-verde svg,
.btn-trasparente svg,
.blocco-freccia-obl svg,
#form .form-group.submit-button-wrapper .bricks-button svg {
    transform: translateX(0) translateY(0);
    transition: all 0.3s ease;
}

.btn-freccia-obliqua:hover svg,
.btn-verde:hover svg,
.btn-trasparente:hover svg,
.blocco-freccia-obl:hover svg,
#form .form-group.submit-button-wrapper .bricks-button:hover svg {
    transform: translateX(5px) translateY(-5px);
}

.col-nav a:hover,
.footer-link:hover {
    color: var(--oliva);
    font-weight: 500;
}

@media(max-width: 700px) {
    .brx-nav-nested-items {
        transform: translateY(90px);
        opacity: 0;
        transition: all 0.5s ease;
    }

    #brxe-pghkqw.brx-open .brx-nav-nested-items {
        transform: translateY(132px);
        opacity: 1;
    }

    .menu-mobile.brx-open .hamburger {
        display: none;
    }

    .menu-mobile.brx-open .chiudi {
        display: contents;
    }
}

.chiudi {
        display: none;
}

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