/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/** B2B w menu */
.computy_copyright div {
    display: none;
}

div.tooltipster-base {
    --tooltip-color: #ffffff;
    --tooltip-bg-color: #3dbcab;
}

.b2bking_tiered_price_table td {
    padding: 5px;
}

.product-main .b2bking_b2b_price_text,
.product-main .b2bking_b2b_price_price {
    display: none;
}

.price-wrapper .b2bking_both_prices_price .woocommerce-price-suffix {
    /* display: none; */
    padding-left: 5px;
}

.product-small .price-wrapper .b2bking_b2b_price_price,
.product-small .price-wrapper .b2bking_b2b_price_text {
    display: none;
}

.badge-frame {
    background: #fff;
}

.col-inner .badge-container {
    left: 4px;
}

#b2bking_checkout_registration_validate_vat_button {
    color: #fff;
    background-color: var(--fs-color-secondary);
    margin-bottom: 30px;
}

.woocommerce-product-attributes-item--attribute_pa_brand {
    display: none;
}


.image-box-item.col img,
.image-box-item.col .text {
    transition: 0.3s ease;
}

.image-box-item.col:hover img {
    transform: scale(1.1);
}

.image-box-item.col .text {
    color: var(--fs-experimental-link-color-hover);
}

@media screen and (max-width: 576px) {
    .image-box-item.col {
        padding: 0 5px;
    }
}

/*  */

.menu-item .toggle {
    width: 150px;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}

.active>.toggle {
    transform: rotate(-0);
}

.active>.toggle i {
    transform: rotate(-180deg);
}

/* Checkout */
.woocommerce-checkout #billing_phone_field,
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #billing_city_field,
.woocommerce-checkout #billing_invoice_yes_no_field {
    width: 48%;
    margin-right: 4%;
}

.woocommerce-checkout #billing_email_field,
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_postcode_field,
.woocommerce-checkout #b2bking_custom_field_37411_field {
    width: 48%;
}

.woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.woocommerce-billing-fields .form-row-first,
.woocommerce-billing-fields .form-row-last {
    width: 48%;
}

#billing_company_field{
    width: 100%;
}

@media screen and (max-width: 849px) {
    .woocommerce-checkout #billing_address_1_field, .woocommerce-checkout #billing_country_field {
        width: 100%;
        margin-right: 0;
    }

    .woocommerce-billing-fields .form-row-first{
        margin-right: 2%;
    }
}

/* Same height image */

.product-small .box-image img{
    height: 100%;
    object-fit: contain;
}

.product-small .box-image img + img{
    object-fit: cover;
}

.product-small .box-image{
    height: 240px;
}

.product-small .image-fade_in_back,
.product-small .box-image>div>a{
    height: 100%;
}


@media screen and (max-width: 576px) {
    .product-small .box-image{
    height: 160px;
}
}

a:where(:not(.wp-element-button)) {
    text-decoration: none;
}



/* New Menu */
div.header-main {
	height: 90px;
}

.header-under>.container {
	display: flex;
	align-items: center;
	gap: 20px;
}

.header-under__cats {
	width: 270px;
	position: relative;
}

.header-under__cats-menu {
	background-color: var(--fs-experimental-link-color-hover);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: #fff;
	padding: 10px 15px;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.6px;
}

.header-under__cats-menu .icon {
	display: flex;
	align-items: center;
	flex: none;
}

.header-under__cats-menu--text {
	width: 100%;
}

.header-under {
	position: relative;
	z-index: 9;
}

.header-bottom {
	z-index: 8 !important;
}

.header-under__cats-list {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	width: 100%;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.4s cubic-bezier(0.19, 1, 0.22, 1), visibility 0.4s cubic-bezier(0.19, 1, 0.22, 1), transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
	transform: translateY(15px) translateZ(0);
	pointer-events: none;
}

.header-under__cats-list nav.categories-menu-class li a {
	width: 100%;
	padding: 12px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #fff;
	gap: 10px;
	color: #000;
	transition: 0.3s ease;
}

.categories-menu-class ul.menu{
    height: calc(100vh - 200px);
    overflow-y: auto;
}

.header-under__cats-list nav.categories-menu-class li>a:hover {
	background-color: #f7f7f7;
}

.header-under__cats-list nav.categories-menu-class li>a svg {
	flex: none;
}

.header-under__cats-list nav.categories-menu-class li>a span {
	width: 100%;
	font-weight: 600;
}

.cat-icon {
	width: 18px;
	height: 18px;
	object-fit: contain;
	flex: none;
}

.category_list {
	position: absolute;
	top: 0;
	left: 100%;
	width: 735px;
	display: block;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 20px;
	padding: 30px 35px 0 35px;
	background-color: #fff;
	height: calc(100% - 19px);
	overflow-y: auto;
	pointer-events: none;
	opacity: 0;
	transition: 0.3s ease;
	transform: translateX(-15px) translateY(0) translateZ(0);
}

.category-list__item {
	transition: 0.3s ease;
}

.header-under__cats-list nav.categories-menu-class li a.category-list__item:hover {
	background-color: rgba(26, 182, 146, .2)
}

.header-under__cats-list nav.categories-menu-class .category-list__item {
	width: calc(20% - 20px);
	display: inline-flex;
	margin-right: 10px;
	align-items: center;
	flex-direction: column;
	gap: 15px;
	height: max-content;
}

.category-list__item img {
	width: 95px;
	height: 95px;
	object-fit: contain;
}

.category-list__item span {
	color: rgb(84, 89, 95);
	text-align: center;
	text-decoration: none;
	line-height: 1.1;
}


.header-under__cats-list nav.categories-menu-class .category_list a:not(.category-list__item) {
	display: none;
}

.menu-item-type-custom:hover .category_list,
/* .header-under__cats:not(.frontpage-menu):hover .header-under__cats-list, */
.header-under__cats.opened .header-under__cats-list {
	opacity: 1;
	visibility: visible;
	pointer-events: unset;
	transform: none !important;
}

.header-under__cats-menu {
	cursor: pointer;
	transition: 0.3s ease;
}

.header-under__cats-menu .icon-arrow {
	transition: 0.3s ease;
}

.header-under__cats-menu:hover {
	background-color: #1ab692;
}

.header-under__cats.opened .header-under__cats-menu .icon-arrow {
	transform: rotate(180deg);
}

.menu-item-type-custom:hover .category_list {
	transform: translateX(-15px) !important;
}

.category_list::before {
	content: '';
	height: 100%;
	width: 10px;
	background-color: transparent;
}

.button.icon i.icon-menu {
	font-size: 2.3em;
	color: #000;
}

.button span.menu-title {
	color: #000;
	font-size: 14px;
}

.header-button .button.icon.is-small {
	border: none;
}

.nav-sidebar .menu-item-type-custom a {
	gap: 5px;
}

.category_list-mobile {
	position: absolute;
	top: 0;
	bottom: 0;
	left: -100%;
	z-index: 9;
	opacity: 1;
	visibility: unset;
	pointer-events: unset;
	transform: none;
	padding: 30px 10px 30px;
	display: block;
	transition: 0.3s ease;
}

.category_list-mobile.active {
	left: 0;
}

.category_list-mobile .category-list__item {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	padding: 0 10px;
	width: 49%;
	margin-top: 20px;
}

.category_list-mobile>a:not(.category-list__item) {
	display: none;
}

.category_list-close {
	position: absolute;
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	top: 15px;
	left: 10px;
	border: solid 2px #000;
	z-index: 1;
	cursor: pointer;
	opacity: 0.8;
}

@media screen and (max-width: 850px) {
	.header-under {
		display: none;
	}

	div.header-main {
		height: 60px;
	}

	.nav>li.menu-item-type-custom {
		position: static;
	}

	.category_list {
		width: 100%;
	}
}

.sidebar-inner .woocommerce-widget-layered-nav-list__item a:before,
.sidebar-inner .widget li.chosen.woocommerce-widget-layered-nav-list__item a:before {
	content: '';
	display: inline-block;
	position: relative;
	top: 2px;
	margin-right: 4px;
	width: 15px;
	height: 15px;
	border: solid 1px #787878;
}

.sidebar-inner .widget li.chosen.woocommerce-widget-layered-nav-list__item a:before {
	background-color: #1ab692;
	border-color: #1ab692;
	border-radius: 0;
	opacity: 1;
}

.toggle-filters {
	background-color: #1ab692;
	color: #fff;
	font-size: 12px;
	margin-top: 10px;
}

.header-top .social-icons.follow-icons a,
.header-top .nav>li>span {
	color: #fff;
}

.nav li.menu-item-21522 {
	display: none;
}

/* Cart */
.cart__after--mob {
	display: none;
	padding-top: 40px;
}

@media screen and (max-width: 849px) {
	.cart__after--desc {
		display: none;
	}

	.cart__after--mob {
		display: block;
	}
}
