/*
Theme Name: ManufakturSolutions Child
Theme URI: https://manufaktursolutions.qodeinteractive.com
Description: A child theme of ManufakturSolutions
Author: Select Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: manufaktursolutions
Template: manufaktursolutions
*/

:root {
	--main-color-hover: #f47915;
}

/**
 * Header
 */
#qodef-top-area .qodef--right [data-action="bs-search"] {
	color: white;
	display: flex;
	gap: .5em;
	justify-content: flex-start;
	align-content: center;
}

#qodef-top-area .qodef--right [data-action="bs-search"]:focus,
#qodef-top-area .qodef--right [data-action="bs-search"]:hover {
	color: var(--main-color-hover);
}

.qodef-opener-icon.qodef-source--predefined:hover:after {
	background-color: var(--main-color-hover);
}

body #qodef-page-mobile-header .qodef-mobile-header-opener:hover,
body #qodef-page-mobile-header .qodef-mobile-header-opener.qodef--opened,
body #qodef-page-mobile-header .qodef-fullscreen-menu-opener:hover,
body #qodef-page-mobile-header .qodef-fullscreen-menu-opener.qodef--opened {
	color: white;
}

@media only screen and (min-width: 1024.01px) {
	#qodef-page-header .qodef-header-navigation .wpml-ls-item,
	#qodef-page-header .qodef-header-navigation .menu-item.mobile-search {
		display:none;
	}
}
@media only screen and (max-width: 1024px) {
    #qodef-page-mobile-header {
        display: block;
        position: fixed;
        width: 100%;
        top: 0;
    }
	#qodef-page-mobile-header .qodef-mobile-header-navigation  .menu-item.mobile-search {
		cursor: pointer;
        width: 100%;
        justify-content: flex-start;
        display: flex;
		gap: .5em;
        align-items: center;
	}
	#qodef-page-mobile-header .qodef-mobile-header-navigation  .menu-item.mobile-search a:hover .qodef-menu-item-text:before {
		display: none;
	}
	#qodef-page-mobile-header .qodef-mobile-header-navigation  .menu-item.mobile-search a:hover {
		color: var(--main-color-hover);
	}
}
/**
 * Form di ricerca
 */
.qodef-search-form {
	display: none;
}

.bs-search-wrapper {
	--bs-search-bar-height: 50px;
	--bs-search-gap: 15px;
	display: none;
	position: fixed;
	flex-direction: column;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgb(73, 117, 147, .95);
	z-index: 999999;
	padding: 50px;
	justify-content: space-between;
	align-items: center;
}

.bs-search-wrapper.opened {
	display: flex;
}

.bs-search-wrapper .bs-search-topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: var(--bs-search-bar-height);
}

.bs-search-wrapper .bs-search-topbar .bs-search-img {
	height: var(--bs-search-bar-height);
}
.bs-search-wrapper .bs-search-topbar .bs-search-helper {
	--bs-search-helper-font-size: 22px;
	font-size: var(--bs-search-helper-font-size);
	line-height: var(--bs-search-helper-font-size);
	color: white;
	text-transform: uppercase;
}
.bs-search-wrapper .bs-search-topbar > .bs-search-helper {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: var(--bs-search-gap);	
}

.bs-search-wrapper .bs-search-topbar > .bs-search-helper::before {
	width: var(--bs-search-helper-font-size);
	height: var(--bs-search-helper-font-size);
	content: ' ';
	background-color: var(--qode-main-color)
}

.bs-search-wrapper .bs-search-topbar .bs-search-close {
	background: transparent;
	border: none;
	color: white;
	font-size: 40px;
	padding: 0;
	margin: 0;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: var(--bs-search-gap);
}

.bs-search-wrapper .bs-search-topbar .bs-search-close:focus,
.bs-search-wrapper .bs-search-topbar .bs-search-close:hover,
.bs-search-wrapper .bs-search-topbar .bs-search-close:active {
	color: rgba(255, 255, 255, .87);
}

.bs-search-wrapper .bs-search-content {
	display: flex;
	justify-content: center;
	align-content: center;
	position: relative;
	width: fit-content;
}

.bs-search-wrapper .bs-search-content i,
.bs-search-wrapper .bs-search-content .bs-search-input {
	font-size: 25px;
	line-height: 1em;
	color: #BABABA;
}

.bs-search-wrapper .bs-search-content i {
	position: absolute;
	transform: translate(0px, 50%);
	padding: 0;
	margin: 0;
	right: 30px;
	margin-top: 16px;
}

.bs-search-wrapper .bs-search-content .bs-search-input {
	cursor: unset;
	box-sizing: border-box;
	max-width: 470px;
	border: none;
	background-color: white;
	height: 80px;
	border-radius: 40px;
	padding: 20px 70px 20px 30px;
	margin: 0;
}

.bs-search-wrapper .bs-search-footer {
	height: var(--bs-search-bar-height);
}
@media(max-width: 767px) {
	.bs-search-wrapper .bs-search-topbar {
		justify-content: flex-end;
	}
	.bs-search-wrapper .bs-search-topbar > .bs-search-helper {
		display: none;
	}
}
/**
 * Sidebar
 */
#qodef-side-area #qodef-side-area-inner .qodef-section-title .qodef-m-subtitle {
	display: none;
}

/**
 * Footer
 */
body #qodef-page-footer-top-area-inner .qodef-grid>.qodef-grid-inner {
	padding-top: 130px;
	background-image: url(https://i13a.com/balance-systems/wp-content/uploads/2025/03/logo-white.svg);
	background-position: 15px 0;
	background-repeat: no-repeat;
	background-size: 240px;
}

/**
 * Elementi dei form
 */
.qodef-qi-contact-form-7 .wpcf7-form-control-wrap {
	margin: 0 0 30px;
}

.qodef-qi-contact-form-7 label>.wpcf7-form-control-wrap:has([type="checkbox"]) {
	display: inline-block;
	width: auto;
}

button .qodef-m-button-arrow-holder {
	margin-left: 0.5em;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
.qodef-theme-button:hover,
.qodef-button.qodef-html--link.qodef-layout--filled:hover,
#qodef-woo-page .added_to_cart:hover,
#qodef-woo-page .button:hover,
.qodef-woo-shortcode .added_to_cart:hover,
.qodef-woo-shortcode .button:hover,
.widget.woocommerce .button:hover .qodef-theme-button:hover {
	color: white !important;
	background-color: var(--main-color-hover) !important;
}
/**
 * Pagina Home
 */
body.home .qodef-banner.qodef-layout--link-button .qodef-m-content-inner {
	padding: 25px;
}

/**
 * Griglia prodotti
 * La classe `show` viene aggiunta con jQuery
 */
.qodef-woo-product-list .qodef-woo-product-categories.qodef-e-info * {
	display: none;
}

body:not(.home) .qodef-woo-product-list .qodef-woo-product-categories.qodef-e-info a.show {
	display: block;
}
#qodef-woo-page .added_to_cart.product_type_simple .qodef-m-button-icon-bag-holder,
#qodef-woo-page .button.product_type_simple .qodef-m-button-icon-bag-holder,
#yith-quick-view-modal .added_to_cart.product_type_simple .qodef-m-button-icon-bag-holder,
#yith-quick-view-modal .button.product_type_simple .qodef-m-button-icon-bag-holder,
.qodef-woo-shortcode .added_to_cart.product_type_simple .qodef-m-button-icon-bag-holder,
.qodef-woo-shortcode .button.product_type_simple .qodef-m-button-icon-bag-holder {
	display: none;
}
.qodef-woo-product-list .qodef-e-inner {
	background-color: transparent;
}
.qodef-woo-product-list .qodef-woo-product-image-inner {
	background-color: rgba(249, 249, 249, 0.9);
}

/**
 * Singolo prodotto
 */

body.single.single-product .qodef-title--breadcrumbs {
	display: none !important;
}
body.single.single-product .summary.entry-summary .product_meta .qodef-woo-meta-label {
	font-size: 16px !important;
}
body.single.single-product .woocommerce-tabs .wb_cptb_content>p {
	margin: 0 !important;
	max-width: 100% !important;
}

body.single.single-product .woocommerce-tabs .wb_cptb_content video {
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	background-color: #000000;
}

body.single.single-product .woocommerce-tabs a[href$=".pdf"] {
	align-items: center;
	display: flex;
	flex-direction: row;
	gap: 10px
}

body.single.single-product .woocommerce-tabs a[href$=".pdf"]::before {
	width: 30px;
	height: 30px;
	background-image: url("https://i13a.com/balance-systems/wp-content/uploads/2025/03/PDF_file_icon.png");
	background-size: contain;
	display: block;
	content: ' ';
	background-repeat: no-repeat;
}

body.single.single-product .qodef-shortcode.qodef-social-share {
	display: none;
}

body.single.single-product .advice-container {
	margin-top: 2em;
}

body.single.single-product [data-action="request-advice"] {
	text-transform: uppercase;
}
body.single.single-product .woocommerce-tabs .wc-tabs #tab-title-request-advice a {
	color: var(--qode-main-color);
}
body.single.single-product .woocommerce-tabs .wc-tab#tab-request-advice .qodef-button.qodef-layout--outlined:hover .qodef-m-button-arrow-holder {
	color: white;
}
body.single.single-product .woocommerce-tabs .woocommerce-Tabs-panel .wb_cptb_content :first-child {
	margin-top: 0;
}

/* prodotti correlati */
body.single.single-product .related.products .product .qodef-e-inner {
	padding-bottom: 100px;
}

/**
 * Pagina distributori
 */
.post-type-archive-distributors .qodef-page-title,
.archive.tax-distributors-sector .qodef-page-title,
.archive.tax-distributors-division .qodef-page-title {
	display: none;
}

#qodef-page-inner:has([data-rel="distributors"]) {
	padding: 0;
	width: 100%;
}

[data-rel="distributors"] .distributor-filters {
	background-color: var(--qode-main-color);
	--display: flex;
	--flex-direction: row !important;
	--container-widget-flex-grow: 1;
	--container-widget-align-self: stretch;
	--flex-wrap-mobile: wrap;
	--gap: 10px;
	--row-gap: 10px;
	--column-gap: 10px;
	background: linear-gradient(0deg, rgba(244, 150, 0, 1) 70%, rgba(196, 123, 4, 1) 100%);
}

[data-rel="distributors"] .distributor-filters .e-con-inner {
	gap: var(--gap);
}

[data-rel="distributors"] .distributor-filters .e-con-inner:has(.distributors-list) {
    overflow-x: scroll;
    width: unset;
    max-width: unset;	
}

[data-rel="distributors"] .distributor-filters .elementor-element {
	--display: flex;
	--flex-direction: column;
	--container-widget-width: 100%;
	--container-widget-height: initial;
	--container-widget-flex-grow: 0;
	--container-widget-align-self: initial;
	--flex-wrap-mobile: wrap;
	gap: 10px;
}

@media(min-width: 768px) {
	[data-rel="distributors"] .distributor-filters .elementor-element {
		--width: 25%;
	}
}

@media(max-width: 1024px) {
	[data-rel="distributors"] .distributor-filters .elementor-element {
		padding: 0;
	}
}

@media(min-width: 1300px) {
	[data-rel="distributors"] .distributor-filters .e-con-inner {
		width: 1300px;
		max-width: unset;
	}
}

@media(max-width: 767px) {
	[data-rel="distributors"] .distributor-filters .elementor-element {
	}
}

[data-rel="distributors"] .distributor-filters label {
	color: white;
	margin: 0;
}

[data-rel="distributors"] .distributor-filters select,
[data-rel="distributors"] .distributor-filters input {
	background-color: white;
	border: none;
	outline: none;
	padding: var(--gap);
	font-size: 14px;
	line-height: 1em;
	color: #A7A7A7;
	margin: 0;
	height: 54px;
}

[data-rel="distributors"] .distributors-list {
	margin-top: 15px;
	margin-bottom: 40px;
	--padding:  15px;
}

[data-rel="distributors"] .distributors-list .e-con-inner {
	overflow-x: scroll;
}
[data-rel="distributors"] .distributors-list,
[data-rel="distributors"] .distributors-list .alert {
	display: flex;
	flex-direction: column;
	gap: var(--padding);
}

[data-rel="distributors"] .distributors-list  .alert {
	padding: var(--padding);
	margin-left: var(--padding);
	margin-right: var(--padding);
	background-color: #d9edf7;
    color: #31708f;
    border-left: 5px solid #bcdff1;
	box-sizing: border-box;
	
}

[data-rel="distributors"] .distributors-list  .alert .alert-title {}
[data-rel="distributors"] .distributors-list  .alert .alert-description {}

@media screen and (min-width: 768px) {
	[data-rel="distributors"] .distributors-list .alert {
		display: none;
	}
}

[data-rel="distributors"] .distributors-list table {
}

[data-rel="distributors"] .distributors-list table thead,
[data-rel="distributors"] .distributors-list table tbody {
	display: flex;
	flex-direction: column;
	align-items: center;
}

[data-rel="distributors"] .distributors-list table thead tr,
[data-rel="distributors"] .distributors-list table tbody tr {
	border: none;
	width: 1300px;
	display: flex;
	align-items: start;
	justify-content: space-between;
}

[data-rel="distributors"] .distributors-list table thead tr th,
[data-rel="distributors"] .distributors-list table tbody tr td {
	border: none;
	width: 15%;
	padding: var(--padding);
}
[data-rel="distributors"] .distributors-list table tbody tr[data-rel="empty"] td {
	width: 100%;
	text-align: center;
	color: #cf2e2e;
	font-weight: bold;
	font-size: 18px;
	text-transform: uppercase;
	padding: 2em;
}

[data-rel="distributors"] .distributors-list table thead {
    background-color: #497593;
    color: white;
}
[data-rel="distributors"] .distributors-list table thead tr {}
[data-rel="distributors"] .distributors-list table thead tr th {
    border-right: 1px solid;
	font-size: 18px;
	line-height: 1em;
}
[data-rel="distributors"] .distributors-list table thead tr th:last-of-type {
	border: none;
}

[data-rel="distributors"] .distributors-list table tbody tr[hidden] {
	display: none;
}
[data-rel="distributors"] .distributors-list table tbody tr.odd {
	background-color: #EFEFEF;
}
[data-rel="distributors"] .distributors-list table tbody tr td {
	font-size: 14px;
	color: black;
	line-height: 1.5em;
}


[data-rel="distributors"] .distributors-list table tbody tr td[data-rel] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
[data-rel="distributors"] .distributors-list table tbody tr td[data-rel] > div {
    display: flex;
    flex-direction: column;
}
[data-rel="distributors"] .distributors-list table tbody tr td .section-info {
	line-height: 1em;
	font-weight: 700;
}
[data-rel="distributors"] .distributors-list table tbody tr td .section-info.dark {
	color: white;
	background-color: #808080;
	padding: 5px 15px;
	border-radius: 30px;
	width: fit-content;
	height: fit-content;
	box-sizing: border-box;
	white-space: nowrap;
}
[data-rel="distributors"] .distributors-list table tbody tr td .section-value {}


[data-rel="distributors"] .distributors-list table tbody tr td  a {
	display: flex;
	flex-direction: row;
	align-items: start;
	justify-content: start;
	gap: 10px;
}
[data-rel="distributors"] .distributors-list table tbody tr td  a:last-of-type {
	align-items: center;
}

[data-rel="distributors"] .distributors-list table tbody tr td a i {
	color: var(--qode-main-color);
}


[data-rel="distributors"] .distributors-list table tbody tr td a i.fa-circle {
	font-size: 0.5em;
	margin-top: 1em;
}
/**
 * Singolo distributore
 */
.single-distributors .qodef-page-title {
	display: none;
}
.single-distributors #qodef-page-inner {
	width: 100%;
	margin: 0;
	padding: 0;
}
.single-distributors .distributor-map,
.single-distributors .distributor-map .e-con-inner,
.single-distributors .distributor-map .e-con-inner .elementor-element {
	width: 100%;
	margin: 0;
	padding: 0;
	display: block;
	max-width: unset;
}
.single-distributors .distributor-container {
	margin-top: 100px;
	margin-bottom: 100px;
}
.single-distributors .distributor-name .elementor-heading-title,
.single-distributors .distributor-contact .elementor-heading-title {
	color: #497593;
	text-transform: unset;
	font-size: 35px;
	font-weight: 700;
}
.single-distributors .distributor-address .elementor-heading-title {
	color: #808080;
	text-transform: unset;
	font-size: 16px;
	font-weight: 400;
	text-transform: capitalize;
}

.single-distributors .elementor-icon-list-items {
	display: flex;
	flex-direction: column;
	gap: 15px
}
.single-distributors .elementor-icon-list-items .elementor-icon-list-item {}
.single-distributors .elementor-icon-list-items .elementor-icon-list-item .elementor-icon-list-icon svg {
	fill: var(--qode-main-color);
}
.single-distributors .elementor-icon-list-items .elementor-icon-list-item .elementor-icon-list-text {
	color: #808080;
	font-size: 16px;
}
.single-distributors .elementor-icon-list-items .elementor-icon-list-item:has(.elementor-icon-list-text:empty) {
	display: none;
}

@media(min-width: 1300px) {
	.single-distributors .distributor-content {
		width: 1300px;
		max-width: unset;
	}
}

/**
 * Pagina home
 */
/* schede settori */
body .qodef-banner.qodef-layout--link-button.qodef-enable-top-border--yes .qodef-m-title-wrapper:before {
	max-width: 150px;
}
/**
 * Elenco articoli
 */

.widget_recent_entries a {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #15141c;
    font-size: 20px;
    line-height: 1.2em;
    letter-spacing: -.02em;
    margin: 25px 0 0;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
	display: block;
}
.widget_recent_entries a:hover,
.widget_recent_entries a:focus {
	color: var(--qode-main-color)
}
.widget_search .qodef-search-form {
	display: block;
}

/**
 * Singolo articolo
 */
.single.single-post .qodef-e-inner h1 {
	font-size: 52px;
}
