/*
 Theme Name:   biovital-italia
 Theme URI:    https://biovital-italia.com//
 Description:  Use this for biovital-italia.
 Author:       biovital-italia
 Author URI:   https://biovital-italia.com/
 Template:     bricks
 Version:      1.1
 Text Domain:  biovital-italia
*/

/* Barra prezzo scontato */
s, strike{text-decoration:none;position:relative;}
s::before, strike::before {
    top: 50%; /*tweak this to adjust the vertical position if it's off a bit due to your font family */
    background:red; /*this is the color of the line*/
    opacity:.7;
    content: '';
    width: 110%;
    position: absolute;
    height:.1em;
    border-radius:.1em;
    left: -5%;
    white-space:nowrap;
    display: block;
    transform: rotate(-15deg);  
}
s.straight::before, strike.straight::before{transform: rotate(0deg);left:-1%;width:102%;}



/* Product page gallery */
.woocommerce-product-gallery .flex-control-thumbs {
    top: 80% !important;
 }

.woocommerce-product-gallery .flex-control-thumbs {
    width: 50% !important;
}

.brxe-product-gallery.thumbnail-slider .brx-product-gallery-thumbnail-slider {
    overflow: hidden;
    position: absolute;
    bottom: 90px !important;
    padding: 0px 40px !important;
    align-self: center;
}



/* Nascondi quantity field dal bottone aggiungi al carrello
.brxe-bu-atc form.cart .quantity, .brxe-bu-atc form.woocommerce-cart-form .quantity {
    display: none !important;
} */

       /* Container for the typewriter effect 
        .typewriter-container {
            font-family: monospace;
            font-size: 24px;
            white-space: nowrap;
            overflow: hidden;
            border-right: none; /*  Remove border from container 
        }*/

        /* Typewriter effect for individual letters with blinking caret 
        .typewriter-text {
            display: inline-block;
            animation: typewriter 8s steps(40, end) infinite, blink-caret 0.75s step-end infinite;
            white-space: nowrap;
            overflow: hidden;
            border-right: 3px solid rgba(0, 0, 0, 0.75); /* Blinking cursor effect 
        }*/

        /* Animation for typing each letter 
        @keyframes typewriter {
            0% { width: 0; }
            50% { width: 100%; }
            100% { width: 0; }
        }*/

        /* Blinking cursor effect 
        @keyframes blink-caret {
            0%, 100% { border-color: transparent; }
            50% { border-color: black; }
        }*/

 /* Container for the typewriter effect */
        .typewriter-container {
            font-family: monospace;
            font-size: 24px;
            white-space: nowrap;
            overflow: hidden;
            border-right: none; /* Remove border from container */
        }

        /* Typewriter effect for individual letters with blinking caret */
        .typewriter-text {
            display: inline-block;
            border-right: 3px solid rgba(0, 0, 0, 0.75); /* Blinking cursor effect */
            white-space: nowrap;
            overflow: hidden;
            animation: blink-caret 0.75s step-end infinite;
        }

        /* Blinking cursor effect */
        @keyframes blink-caret {
            0%, 100% { border-color: transparent; }
            50% { border-color: black; }
        }

 /* Stilizzazione bottoni woocommerce */
.woocommerce .button {
    min-height: 20px !important;
}
 
/* Stilizzazione payment box */

ul.wc_payment_methods .payment_box {
    border-top: 0px solid var(--bricks-border-color) !important;
}

/* Nascondi metodi di pagamento dalla pagina paga ordine */
.woocommerce-checkout #payment .payment_methods {
    display: none;
}



/* Bullets */

ol.disc {
    list-style:none;  
	  position: relative;
    margin: 2em 0px 2em;
    list-style: outside none none;
    counter-reset: big-numba;
    padding-left: 0px;
}

ol.disc li {
    position: relative;
    margin: 1em 0px 0px 2.5em;
	line-height: 1.3em;
    list-style: outside none none;
}

ol.disc li:before {
    content: counter(big-numba, decimal);
    counter-increment: big-numba;
    position: absolute;
	top: 2px;
    font-size: 14px;
    left: -2.3em;
    box-sizing: border-box;
    width: 1.2em;
    height: 1.2em;
    line-height: 1.2;
    color: #fff;
    background: #424242 none repeat scroll 0% 0%;
    font-weight: 400;
    text-align: center;
    border-radius: 50%;
}



ul.check-nero {
	margin: 20px 0px 20px -25px;
	line-height: 1.5em;
	list-style-image: url('https://staging3.biovital-italia.com/wp-content/uploads/2024/09/bullet-nero.svg');
}



/* change scroll offset because I have a sticky header now */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
}
/* adjust scroll offset for mobile header */
@media( max-width: 767px){
    html {
        scroll-padding-top: 80px;
    }  
}




#content-wrapper, #brx-content {
  min-height: calc(100vh - 400px); /* Ensures the content takes up at least the full screen height */
   /* display: flex;
    flex-direction: column;
	*/
}


.revx-campaign-item__image img {
    border-radius: inherit;
    box-shadow: none !important;
    width: 150px;
}

.revx-normal-discount-list .revx-campaign-add-to-cart-btn {
    height: fit-content;
    align-self: center;
    width: 140px !important;
}

.revx-campaign-view__title {
	font-weight: 600 !important;
}


.revx-campaign-item__regular-price, .revx-campaign-item__sale-price {
    line-height: 1.4 !important;
    color: #424242 !important;
}

.revx-builder-atc-btn, .revx-builder-noThanks-btn {
    width: 200px !important;
}


/* bordo slider */
:where(.brxe-slider) .image {
    border-radius: 5px;
}

/* Live blinking */
.blinking-text-live {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

/* zoom effect perché acquistare */
.zoom {
  transition: transform 0.5s; /* Animation */
}

.zoom:hover {
  transform: scale(1.05); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */}


/* Sposta video background HP */
#brxe-euekff .bricks-background-video-wrapper video {
    left: 25% !important;
}

.bw_image
img {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}


/* Cambia colore al numero di ordine lista ordini area riservata */
.woocommerce-orders-table__cell-order-number {
	color: #2196f3 !important;
}


.sw-reset-button {
    display: none !important;
}

/* Bullets con icone */
ul.check-azzurro {
	margin: 20px 20px 20px -15px;
	line-height: 1.5em;
	list-style-image: url('https://staging3.biovital-italia.com/wp-content/uploads/2025/04/Check_Azzuro.svg');
}




