/*
Theme Name: Spectra One Child
Author: Ne.W.S. Newebsolutions S.r.l.
Author URI: https://www.newebsolutions.com/
Description: Spectra One Child Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spectra-one-child
Template: spectra-one
*/

/* ============================================ *
 * Layout
 * ============================================ */
.swt-scroll-top {
    bottom: 100px !important;
}
.uag-blocks-common-selector.header-sticky-row {
	z-index:9999 !important;
}
.container-feature {
    position: relative !important;
}
.container-feature h1 {
    width: auto !important;
    position: absolute !important;
    color: #fff !important;
    text-align: left !important;
    background-color: rgba(0, 0, 0, 0.60) !important;
    border-bottom-width: 3px !important;
    border-bottom-color: #007aff !important;
    border-bottom-style: solid !important;
    padding: 2px 3rem;
}
.breadcrumb {
    color: #fff !important;
}
.img-archive-category img {
    height:400px !important;
}

/* ============================================ *
 * Header Title
 * ============================================ */
.container-title figure.featured-image-title {
    position:absolute !important;
    z-index: -1;
}
#mega-menu-wrap-max_mega_menu_2 #mega-menu-max_mega_menu_2 > li.mega-menu-item {
    width: 100%;
}

/* ============================================ *
 * Prodotti
 * ============================================ */
.breadcrumb .wp-block-navigation-item__content::after {
    content: "|";
    padding-left: 1.5rem;
    padding-right: 0;
}
.breadcrumb ul {
    margin: 0;
    padding: 0;
}
.breadcrumb .wp-block-navigation-item__content .last {
    font-size:1rem;
    padding-left: 0rem;
}
.postid-667 .tag-box,
.postid-644 .tag-box {
    display:none;
}
.prodotto-tabs .t-btn {
    min-height:90px;
}

/*.bkg-logo {
    background-image: url("/wp-content/uploads/2025/04/Buffetti-Soluzioni-Retail-Olivetti-Gray.png") !important;
    box-shadow: 0px 0px #00000070;
    overflow: visible;
    order: initial;
    border-color: inherit;
    background-repeat: no-repeat;
    background-position: 65% 65%;
    background-size: 40%;
    background-attachment: fixed;
    background-clip: padding-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    row-gap: 0px;
    column-gap: 0px;
}*/

.wpcf7-form input,
.wpcf7-formselect, 
.wpcf7-form textarea {
    width: 100% !important;
}


/* ============================================ *
 * Form Contatti
 * ============================================ */
.footer-form form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: start;
    align-items: flex-start;
}
.footer-form form .inline {
    padding-right: 3rem;
    width: 50%;
}
.footer-form form .inline input,
.footer-form form .inline select, 
.footer-form form .inline textarea {
    width: 100%;
}

/********RESPONSIVE**********/

/* Mobile Small screen 768px */
@media only screen and (max-width: 48em) {
    /*Header top*/
	.uagb-position__sticky.wp-block-uagb-container.header-sticky-row {
		top:0px !important;
	}
    h1 {
        font-size:1.5rem !important;
    }
    .container-title .uagb-container-inner-blocks-wrap {
        padding-top:3rem !important;
    }
    .container-title .uagb-container-inner-blocks-wrap h1 {
        font-size:2.2rem !important;
    }
    /*Category*/
    .img-archive-category img {
        height:auto !important;
    }
    .mobile-column {
        display:block !important
    }
    .mobile-column > div {
        padding-bottom:1rem !important
    }
    /*Prodotto*/
    .wp-block-uagb-container .wp-block-greenshift-blocks-tabs.gspb-tabs.prodotto-tabs > .t-btn-container,
    .wp-block-uagb-container .wp-block-greenshift-blocks-tabs.gspb-tabs.prodotto-tabs > .t-btn-container > button.t-btn {
        width:100% !important;
        max-width:100% !important;
        min-height:auto;
    }
    /*Prodotto*/
    .footer-form form {
        flex-wrap:nowrap;
    }
    .footer-form form .inline {
        width: 100%;
    }
}