/*
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: #1f273a9b !important;
    border-bottom-width: 3px !important;
    border-bottom-color: #fde400 !important;
    border-bottom-style: solid !important;
    padding: 2px 3rem;
    border-radius: 10px;
}
.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%;
}

.h1-home {
    position: absolute;
    z-index: 2;
    top: 150px;
    background: #da3a348c;
}
.h1-home h1 {
    color:#fff;
}

h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    width: fit-content;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #fde400;
    animation: lineGrow 1.5s ease-out forwards;
}

@keyframes lineGrow {
    from {
        width: 0;
    }
    to {
        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-category, .bkg-product {
    background:rgba(230, 233, 240, 0.41);
    background:#fff;
}

.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;
    }
    .h1-home {
        top: 80px;
    }
    .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%;
    }
}