#page-wrap { 
  max-width: 500px; 
  margin: 1rem auto;
  padding: 1rem;
}

h1, h2 {
  line-height: 1.2;
}

p, ul, h1 { 
  margin: 0 0 1rem 0; 
}
p {
text-align:justify;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}
hr {
    border-bottom: 1px solid #000;
}
##animated text
.animated-heading .headline-wrapper > * > span > span:after {
    text-shadow: 16px 0px 16px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}
 
.animated-heading .headline-wrapper > * > span > span {
    display: inline-block;
    position: relative;
    transform-style: preserve-3d;
    perspective: 550px;
    z-index: 1;
    opacity: 1;
    white-space: pre-wrap;
}
 
.animated-heading .headline-wrapper > * > span {
    white-space: normal;
}
 
.animated-heading .headline-wrapper > * > span > span:before,
.animated-heading .headline-wrapper > * > span > span:after {
    position: absolute;
    content: attr(data-letter);
    line-height: inherit;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    transition: all 0.3s;
}
 
.animated-heading .headline-wrapper > * > span > span:before {
    color: rgba(0, 0, 0, 0.12);
}
 
.animated-heading .headline-wrapper > * > span > span:before,
.animated-heading .headline-wrapper > * > span > span:after {
    transform-origin: var(--origin);
}
 
.animated-heading .headline-wrapper > * > span > span:hover:before {
    transform: var(--hover-before);
}
 
.animated-heading .headline-wrapper > * > span > span:hover:after {
    transform: var(--hover-after);
}
/*CODICE CAPOLETTERA CLASSE DROPCAP*/
.dropcap 
p::first-letter{

font-size : 250%;
font-weight : bold;
float : left;
width : 1em;
margin-top:-5px;
}

/*bordo slider*/
.ba-item-recent-posts-slider .ba-slideset.carousel-type .slideshow-content > li:before {
    border: 1px solid var(--primary);
    bottom: 0;
    content: "";
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10;
}
 /*INIZIO CODICE BACKGROUND PRODOTTI SINGLE POST LAYOUT*
.ba-item-recent-posts-slider .slideshow-type li .ba-slideshow-img,
ul.ba-slideshow > .slideshow-content > li > .ba-slideshow-img {
    background-color: #fff;
}
/*FINE CODICEBACKGROUND PRODOTTI SINGLE POST LAYOUT*/


/*PROVA CODICE PER SPOSTARE I FLAG DEL CALENDARIO
#member-registration .msg {
    float: left !important;
    margin-left:-58px !important;
    margin-bottom: 0;
    text-indent: 16px;
    height: 18px;
    font-size: 13px;
    line-height: normal;
    display: inline-block;
    padding-top: 1px;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
*/
/* codice per testo scorrevole*/
.marquee-text-effect {
    display: inline-flex !important;
    overflow: hidden;
}
@keyframes marquee-text-effect {
    0% { transform:translateX(0%);}
    100% { transform:translateX(-100%);}
}
.marquee-text-effect .content-text {
    display: inline-flex;
    justify-content: space-around;
}
.marquee-text-effect .content-text > * {
    display: inline-block;
    padding: 0 10px;
    white-space: nowrap;
}
/* fine codice per testo scorrevole*/

/* Menu item highlight pubblico */

li.nav-item.item-322 a{
    position: relative;
    color: #ffc700 !important;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(255,199,0,.35);
    transition: color .35s ease;
}

/* Linea dorata animata */

li.nav-item.item-322 a::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 40%;
    height: 2px;
    background: #ffc700;
    border-radius: 20px;
    transform: translateX(-50%);
    box-shadow: 0 0 6px rgba(255,199,0,.5);
    animation: goldLine 2.8s ease-in-out infinite;
}

li.nav-item.item-322 a:hover{
    color: #ffe57a !important;
}

@keyframes goldLine{

    0%,100%{
        width:40%;
        opacity:.5;
        box-shadow:0 0 4px rgba(255,199,0,.3);
    }

    50%{
        width:95%;
        opacity:1;
        box-shadow:
            0 0 10px rgba(255,199,0,.9),
            0 0 18px rgba(255,199,0,.6);
    }

}	li.nav-item.item-139 {
/*background: #cc0000;*/
	}
	li.nav-item.item-139 a {
	color: #0b9f1a	 !important;
	}
/*menu item highlight investitori*/
	li.nav-item.item-323 a{
    position: relative;
    color: #ffc700 !important;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(255,199,0,.35);
    transition: color .35s ease;
}

/* Linea dorata animata */

li.nav-item.item-323 a::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 40%;
    height: 2px;
    background: #ffc700;
    border-radius: 20px;
    transform: translateX(-50%);
    box-shadow: 0 0 6px rgba(255,199,0,.5);
    animation: goldLine 2.8s ease-in-out infinite;
}

li.nav-item.item-323 a:hover{
    color: #ffe57a !important;
}

@keyframes goldLine{

    0%,100%{
        width:40%;
        opacity:.5;
        box-shadow:0 0 4px rgba(255,199,0,.3);
    }

    50%{
        width:95%;
        opacity:1;
        box-shadow:
            0 0 10px rgba(255,199,0,.9),
            0 0 18px rgba(255,199,0,.6);
    }

}
/*CODICE PER CENTRARE MODULO ARTICOLI*/
.mod-articleslatest .latestnews {
    text-align: center;
list-style-type: none;
  margin: auto;

}

/*FINE CODICE PER CENTRARE MODULO ARTICOLI*/



/*codice per fare il popup con il thanks message del form*/
#ba-forms-notification {
    animation: none !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: max-content;
    padding: 50px;
}

#ba-forms-notification.notification-in {
	animation: none !important;
}
#ba-forms-notification.animation-out {
    animation: notification-animation-out .4s cubic-bezier(.25,.98,.26,.99) both !important;
}

@keyframes notification-animation-out {
    to {opacity: 0;}
}
/*fine codice per fare il popup con il thanks message del form*/


/* INIZIO CODICE COLORE FONT PAGINA REGISTRAZIONE*/

.ba-checkout-authentication-links a:hover, .ba-checkout-authentication-links a, .mod-login[id*="login-form-"] .list-unstyled li a, #login-form .unstyled li a {
    color: rgb(255 255 255);
    transition: .3s;
    opacity: 1;
}
/* FINE CODICE COLORE FONT PAGINA REGISTRAZIONE*/

/*CODICE PER BACKGROUND LIVE SEARCH*
.ba-live-search-add-to-cart-cell > span, .ba-wishlist-add-to-cart-cell > span:not(.ba-wishlist-empty-stock), .modal.ba-modal-sm .modal-footer a.ba-btn-primary.active-button {
    background: var(--primary) !important;
    
    background-color: rgb(205, 164, 52);
    color: #000 !important;https://www.bancodellorodivrea.it/index.php?option=com_gridbox&view=editor&tmpl=component&id=17#code-edit-css
    
}
.ba-live-search-show-all-btn {
   
    background: var(--primary) !important;
    color: #000 !important;
     
}
/*INZIO CODICE PER COLORE CATEGORIA NEL CARRELLO*/
body a {
    color: rgb(0 0 0);
}
/*FINE CODICE PER COLORE CATEGORIA NEL CARRELLO*/
.ora {
  color: #000000;
  text-align: center;
}
/*cambia colore al titolo sitemap*/

/*CODICE CAPOLETTERA CLASSE DROPCAPMONETE*/
.dropcapmonete
p::first-letter{

font-size : 200%;
font-weight : bold;
float : left;
width : 1em;
margin-top:-5px;
}
/* icona lightbox*/
.close-lightbox i {
    color: inherit;
    cursor: pointer;
    font-size: 4.25rem;
    margin-top: 10px;
  font-weight: bold; !important;
}

/*CODICE PER IL PROBLEMA DELLO SLIDESHOW PRODUCT OVERLAY IMAGE*/
.slideshow-content > li > .ba-slideshow-img {
background-color: #212121;
}
/*FINE CODICE PER IL PROBLEMA DELLO SLIDESHOW PRODUCT OVERLAY IMAGE*/

/*METTE IL PULSANTE SOTTO, ALLA CLASSE LINGOTTI*/
.lingotti .ba-blog-post-add-to-cart-wrapper {
    display: block !important;
}

.lingotti .ba-blog-post-add-to-cart-price {
    text-align: center !important;
}

/* contenitore pulsante */
.lingotti .ba-blog-post-add-to-cart-button {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 20px !important;
}

/* pulsante vero */
.lingotti .ba-blog-post-add-to-cart {
    display: inline-flex !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
}

.lingotti .ba-blog-post-add-to-cart {
    transform: translateX(-25px);
}

/*PER DOPPIO GRAFICO BILLION VAULT*/
#graficoOro,
#graficoArgento {
    width:100%;
    height:400px;
}

/*AGGIUNGE /g al prezzo banner quotazioni*/
.prezzogrammoquadratini .ba-blog-post-add-to-cart-price-value::after {
    content: " /g";
    font-size: 0.85em;
    font-weight: normal;
}
.prezzogrammoquadratini a{
    pointer-events: none !important;
}
.prezzoalpezzo .ba-blog-post-add-to-cart-price-value::after {
    content: " /pz";
    font-size: 0.85em;
    font-weight: normal;
}
/*AGGIUNGE /g al prezzo tabella quotazioni*/
.prezzogrammotabquot .ba-blog-post-add-to-cart-price-value::after {
    content: " /g";
    font-size: 0.85em;
    font-weight: normal;
}

/*AGGIUNGE /g al prezzo tabella vendi pubblico*/
.prezzogrammovendi .ba-blog-post-add-to-cart-price-value::after {
    content: " /g";
    font-size: 0.85em;
    font-weight: normal;
}


/*SISTEMA VIDEO NELLA SEZIONE VENDI METALLI*/
.video-vendi .ba-video-background{
    overflow:hidden;
}

.video-vendi .ba-video-background video{
    position:absolute;
    top:-5px;
    left:-5px;
    width:calc(100% + 10px);
    height:calc(100% + 10px);
    object-fit:cover;
}

/*EVIDENZIA SEZIONE IN AGGIORNAMENTO*/
.aggiornamento {
    background: linear-gradient(135deg, #eef6ff, #ffffff);
    border: 2px solid #4da3ff;
    border-left: 8px solid #0d6efd;
    border-radius: 12px;
    padding: 20px;
    color: #123b75;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    transition: transform .3s ease;
    animation: aggiornamentoPulse 2.2s ease-in-out infinite;
}

.aggiornamento:hover {
    animation-play-state: paused;
    transform: translateY(-3px);
}

@keyframes aggiornamentoPulse {
    0%, 100% {
        transform: scale(1);
        border-color: #efc23f;        /* Bordo */
        border-left-color: #00613a;   /* Bordo sinistro */
        box-shadow: 0 4px 12px rgba(0,0,0,.08);
    }

    50% {
        transform: scale(1.02);
        border-color: #ffd700;        /* Bordo durante il lampeggio */
        border-left-color: #d4af37;   /* Bordo sinistro durante il lampeggio */
        box-shadow: 0 0 24px rgba(212,175,55,.45);
    }
}

/*METTIAMO IL BLOCCA SOTTO IL PREZZO*/
/*.ba-blog-post-add-to-cart-wrapper{
    display:flex !important;
    flex-direction:column !important;
}

.ba-blog-post-add-to-cart-price{
    width:100% !important;
    margin-bottom:25px;
}

.ba-blog-post-add-to-cart-button{
    width:100% !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
}

.ba-blog-post-add-to-cart{
    margin:0 auto !important;

}

/*EVIDENZIAMO IL TESTO PER L'IMPEGNO AL RIACQUISTO*/
.impegno{
    border: 2px solid #efc241;
    border-radius: 0px;
    padding: 20px;
    background: rgba(255,255,255,.02);
    animation: bordoGlow 3.5s ease-in-out infinite;
}

@keyframes bordoGlow{
    0%,100%{
        box-shadow:
            0 0 0 rgba(239,194,65,0);
        border-color:#d4ae35;
    }

    50%{
        border-color:#efc241;
        box-shadow:
            0 0 10px rgba(239,194,65,.35),
            0 0 20px rgba(239,194,65,.20);
    }
}

/*SCROLLA CON IL BOTTONE NELL'IMMAGINE IN PAGINA LINGOTTI ORO*/
html {
    scroll-behavior: smooth;
}


    margin-top: auto !important;
}

/*ALLINEA FEATUREBOX NELLA PAGINA LINGOTTI ORO*/
.comefunziona .ba-feature-title-wrapper{
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*NASCONDO OVERLAY SECTION BLOCCA PREZZO DAL FOOTER*/
/*#item-17859252614170 .ba-button-wrapper {
    display: none !important;
}

/*PAGINA LINGOTTI ORO METTE LE SPUNTE AL TESTO SOTTO */
/* ===== LISTA CON SPUNTE DORATE ===== */


.lista-check ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.lista-check li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: #000;
}

.lista-check li::before {
    content: "✓";
    color: #d4af37;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    flex-shrink: 0;
}

.lista-check li p {
    margin: 0;
    flex: 1;
}

/*FORZA ALTEZZA COLONNA FAQ IN VENDI METALLI--HA ANCHE JAVA*/
/* ==========================================================
   ACCORDION FAQ
   ========================================================== */

#item-17861160221940{

    --faq-arrow-color: #0b6d43;
    --faq-arrow-size: 18px;
    --faq-arrow-thickness: 4px;
    --faq-arrow-right: 18px;
}

/* Nasconde l'icona originale */
#item-17861160221940 .accordion-icon{
    display: none !important;
}

/* Titolo */
#item-17861160221940 .accordion-toggle{
    position: relative;
    padding-right: 55px;
}

/* Freccia */
#item-17861160221940 .accordion-toggle::after{

    content: "";

    position: absolute;
    top: 50%;
    right: var(--faq-arrow-right);

    width: var(--faq-arrow-size);
    height: var(--faq-arrow-size);

    border-right: var(--faq-arrow-thickness) solid var(--faq-arrow-color);
    border-bottom: var(--faq-arrow-thickness) solid var(--faq-arrow-color);

    transform: translateY(-65%) rotate(var(--faq-rotate,45deg));

    transition: transform .25s ease;

    box-sizing: border-box;
}

/*LISTA CHECK 2*/
.lista-check-2 {
    --check-color: #ffffff;
}

.lista-check-2 ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.lista-check-2 li {
    display: grid;
    grid-template-columns: 24px 1fr;
    column-gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.lista-check-2 li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--check-color);
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

/*HIGHLIGHT MENU DELLE BANDIERE*/
img.menu-moneta {
  display: block;
  border-radius: 10px;
}

/*TESTO NELLA PAGINA SPREAD*/
.oggi {
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #202020;
}

.numero {
    font-family: Georgia, serif;
    font-size: 35px;
    color: #164f43;
}

.descrizione {
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #202020;
}

.percentuale {
    font-family: Arial, sans-serif;
    font-size: 25px;
    color: #164f43;
    font-weight: bold;
}
/*per mobile*/
@media (max-width: 600px) {
    .testo-monete {
        white-space: normal;
        text-align: center;
        font-size: 15px;
        line-height: 1.35;
    }

    .oggi {
        font-size: 11px;
    }

    .numero {
        font-size: 19px;
    }

    .descrizione {
        font-size: 11px;
    }

    .percentuale {
        font-size: 14px;
    }
}

/*VA A CAPO SUL BOTTONE OVERLAY NON TROVI UN PRODOTTO CLASSE bdo-overlay-richiesta*/
.bdo-overlay-richiesta a {
    min-width: 250px !important;
    padding: 17px 22px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #d5aa32 !important;
    color: #000000 !important;
    text-align: center !important;
    box-shadow: none !important;
}

.bdo-overlay-richiesta a span {
    display4block !important;
    font-size: 0 !important;
    line-height: 1.3 !important;
}

.bdo-overlay-richiesta a span::before {
    content: "NON TROVI UN PRODOTTO?";
    display:block;
    color: #000000;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
}

.bdo-overlay-richiesta a span::after {
    content: "TE LO TROVIAMO NOI!!";
    display: block;
    margin-top: 4px;
    color: #000000;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
}

.bdo-overlay-richiesta a:hover {
    background: #bd9224 !important;
    color: #000000 !important;
}

/*SFONDO PASSWORD RESET - RECUPERO USER E REGISTRAZIONE*/
/* =========================================
   SFONDO: PASSWORD, USERNAME E REGISTRAZIONE
   ========================================= */

body:is(
    .com_users.reset,
    .com_users.remind,
    .com_rsform:has(#rsform_3_page_0)
) {
    background: #212121 !important;
}

/* Area centrale e fasce sopra e sotto */
body:is(
    .com_users.reset,
    .com_users.remind,
    .com_rsform:has(#rsform_3_page_0)
) > :is(.body, .ba-overlay) {
    background: #212121 !important;
}

/* Spaziatura verticale */
body:is(
    .com_users.reset,
    .com_users.remind,
    .com_rsform:has(#rsform_3_page_0)
) > .body {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

/* =========================================
   TITOLO REGISTRAZIONE UTENTI
   ========================================= */

body.com_rsform #userForm:has(#rsform_3_page_0) > h2 {
    color: #ffffff !important;
    font-size: 30px !important;
    line-height: 1.3 !important;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    /* Testo dei moduli di recupero */
    body.com_users:is(.reset, .remind) #user-registration {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    /* Testo introduttivo */
    body.com_users:is(.reset, .remind) #user-registration legend {
        font-size: 18px !important;
        line-height: 1.4 !important;
    }

    /* Etichette, campi e pulsanti */
    body.com_users:is(.reset, .remind)
    #user-registration :is(label, input, button) {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    /* Titolo registrazione più piccolo */
    body.com_rsform #userForm:has(#rsform_3_page_0) > h2 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }
}
/*TI è STATA INVIATA UN EMAIL BLA BLA BLA RIDUCE FONT*/
/* Conferma recupero password: desktop e mobile */
.com-users-reset-confirm form {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.com-users-reset-confirm legend {
    font-size: 20px !important;
    line-height: 1.4 !important;
}

.com-users-reset-confirm :is(label, input, button) {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

@media (max-width: 767px) {
    .com-users-reset-confirm legend {
        font-size: 18px !important;
    }
}