/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

/* Nascondi l'elemento con ID "text-2" nel footer in modalità mobile */
@media only screen and (max-width: 767px) {
    footer #text-2 {
        display: none;
    }
        footer #text-4 {
        display: none;
    }
        footer #text-5 {
        display: none;
    }
        footer #text-8 {
        display: none;
    }
    footer .mini-nav {
        display: none;
    }
}

@media (max-width: 1530px) {
    #rigacontatto .colonna-affiancataContatti {
        width: 50% !important;
        display: inline-block !important;
        float: left !important;
    }
}


@media (max-width: 767px) {
    #rigapopup .colonna-affiancata {
        width: 50% !important;
        display: inline-block !important;
        float: left !important;
    }
}


@media (max-width: 767px) {
    #rigapopup .colonna-affiancata1 {
        width: 50% !important;
        display: inline-block !important;
        vertical-align: top; /* Aggiunge allineamento verticale */
    }

    #rigapopup .wpb_single_image img,
    #rigapopup .label-container-display .image img {
        max-height: 63px; /* Imposta la stessa altezza massima per tutte le immagini */
        display: block;
        margin: 0 auto; /* Centra l'immagine orizzontalmente */
    }

    #rigapopup .label-container-display {
        padding: 12px 0px 0px 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Centra verticalmente */
    }
}


/****************************** PAGINA PRODOTTO ************************/
.cart-btn-below-img .woo-buttons a:not(.elementor-button) {
    border-radius: var(--the7-btn-s-border-radius);
    padding: var(--the7-btn-s-padding);
    font-size: var(--the7-btn-s-font-size);
    background: grey;
}


/* css per le select del prodotto*/
#scegli-la-struttura  {
 		display: inline-block;
    width: 100% !important;
    max-width: 100% !important;
    height: unset !important; 
    min-height: var(--the7-input-height);
    /* line-height: 1 !important; */
    margin-bottom: 10px !important;
	  padding: 5px 10px !important;
}

/* tasto svuota cancellato */
.reset_variations {
    display: none !important;
}

/* linea del select lunga 100% */
.product:not(.elementor-location-single) table.variations, .the7-elementor-widget table.variations {
    position: relative;
    display: -ms-inline-flexbox;
    display: -ms-inline-flex;
    width: 100%;
    display: grid;
    margin-bottom: 10px;
    margin-top: 15px !important;
}

/* Trasformare in h5 la label del titolo della select nella pagina prodotto */
.variations .label label {
    color: var(--the7-h5-color);
    font: var(--the7-h5-font);
    text-transform: var(--the7-h5-text-transform);
    letter-spacing: var(--the7-h5-letter-spacing);
    word-spacing: var(--the7-h5-word-spacing);
    text-decoration: var(--the7-h5-text-decoration);
    display: block; /* Mostra la label su una nuova riga */
    margin-bottom: 5px; /* Spazio sotto la label */
}


/* Stile del prezzo basato su yith */
.woocommerce-variation.single_variation::before {
    content: "Ricordiamo che a causa dell’elevato costo dei metalli, ogni fede avrà un piccolo sovrapprezzo di 16,00 € per ogni misura oltre la numero 20. Le corrette misure delle fedi vi verranno prese dai nostri designers specializzati durante l’appuntamento.";
    font-style: italic; /* Per mantenere lo stile in corsivo */
    display: block; /* Rendi il contenuto un blocco per iniziare su una nuova riga */
    margin-bottom: 10px; /* Margine inferiore per distanziarlo dal prezzo */
    margin-top: 20px;
}

.woocommerce-variation-price {
    position: relative;
}

.woocommerce-variation-price::before {
    content: "Totale ordine:"; /* Testo prima del prezzo */
    font-weight: bold;
    display: inline-block;
    margin-right: 10px; /* Spazio tra il testo e il prezzo */
    width: auto;
    font-size: 20px;
    line-height: 40px;
}

.woocommerce-variation-description,
.woocommerce-variation-availability {
    display: none; /* Nascondi gli elementi non necessari */
}

.woocommerce-variation-price {
    display: table; /* Per simulare il layout tabellare */
    color: var(--yith-wapo-price-box-colors-text);
    font-size: 20px;
    line-height: 45px;
    border-bottom: 1px solid transparent;
    border-top: 1px solid transparent;
    margin: 0 0 10px;
    margin-top: 40px;
    border-color: var(--the7-divider-color);
}

.woocommerce-variation-price .price {
    display: table-cell;
}


.woocommerce div.product .single_variation .price, .woocommerce div.product .single_variation > p, .woocommerce div.product .single_variation .woocommerce-variation-description > p, .woocommerce div.product .single_variation .woocommerce-variation-availability > p {
    display: contents;
    margin-bottom: 5px;
}


.woocommerce-variation.single_variation {
    margin-bottom: 20px;
}


/* Allineamento Prezzi per archivio prodotti */
.related-product .product-title, .woocom-list-content .entry-title {
    font: var(--the7-woo-title-font);
    text-transform: var(--the7-woo-title-text-transform);
    min-height: 10px;
}


.popup-message-style div:not(.wc-coupon-wrap):not(.wc-login-wrap):not(.woocommerce-MyAccount-content) > .woocommerce-info .woocommerce-error-text {
{
  display: none !important;
}
.woocommerce-message {
    display: none !important;
}












