/* 
Theme Name: BrainPress
Theme URI: https://github.com/BrainTurnassi/BrainPress.git
Description: BrainPress è un tema customizzato da Brain Computing S.p.A.
Author: Brain Computing s.p.A.
Author URI: https://www.braincomputing.com/
Template: hello-elementor
Version: 0.0.5
Text Domain: brainpress-theme-main
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.evidenziato, .testo-slide b {
    color: var(--e-global-color-accent);
}

/*Animazione pulsante*/
.hover-arrow .elementor-button-icon, .elementor-field-type-submit .elementor-button-content-wrapper .elementor-button-icon {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hover-arrow  .elementor-button:hover .elementor-button-icon, .elementor-field-type-submit .elementor-button:hover .elementor-button-icon {
    opacity: 1;
    transform: translateX(0);
}

/*Animazione loop prodotti*/

body:not(.elementor-editor-active)  .prodotto-item .vedi-altro, body:not(.elementor-editor-active)  .articolo-item .vedi-altro {
    opacity: 0;
    transform: translateY(-10px); /* Spostamento iniziale verso il basso */
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

body:not(.elementor-editor-active) .prodotto-item:hover .vedi-altro, body:not(.elementor-editor-active) .articolo-item:hover .vedi-altro {
    opacity: 1;
    transform: translateY(0); /* Ritorno alla posizione originale */
    pointer-events: auto;
}

/* Prodotto singolo */

.locked {
    display: flex;
    align-items: center;
    column-gap: 5px;
    cursor: pointer;
}

.locked .b2bking_lock_icon {
    fill: var(--e-global-color-accent);
    width: 30px;
    height: 30px;
    margin-top: -8px;
}

/*
* Loader woocommerce
*/
.woocommerce .blockUI.blockOverlay:before,.woocommerce .loader:before {
    height: 3em;
    width: 3em;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -.5em;
    margin-top: -.5em;
    display: block;
    content: "";
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
    background: url('/wp-content/themes/brainpress-theme-main/assets/rolling.svg') center center;
    background-size: cover;
    line-height: 1;
    text-align: center;
    font-size: 2em;
}


