/*
Theme Name: EasyGates Network Child Theme
Theme URI: https://www.easygates.co.uk
Version: v5.26.0
Description: EasyGates Network Theme - Child of Beaver Builder Theme
Author: EasyGates Ltd.
Author URI: https://www.easygates.co.uk
template: bb-theme
*/

/* NETWORK WIDE STYLES
   ===================
   Unless styles will apply network-wide and to a majority
   of pages within, you should enqueue a new stylesheet. */

/* WooCommerce Tweaks
   - Increase quantity picker width */
.woocommerce .quantity .qty { width: 5em; }

/* - Product Price Tweaks
   -- Bold product price */
.woocommerce-Price-amount.amount { font-weight: bold; }

/* - [product_categories] shortcode tweaks */
/* -- Optional class to reduce margins and padding for [product_category] shortcode */
.category-shortcode li.product-category, .category-shortcode .fl-module-content { margin-bottom: 0px !important; }
.category-shortcode ul.products { padding-top: 0px !important; }

/* - Use two columns for product_categories shortcode on mobile
     https://generatepress.com/forums/topic/still-having-woo-shortcode-issues/#post-366339 */
@media (max-width: 768px) {
	.mobile-two-col .woocommerce[class*=columns-] ul.products li.product {
		max-width: 44% !important;
		float: left !important;
		margin: 0 3% 1em !important;
	}
}

/* - Add left margin to "View Cart / Basket" text that is added to the right of
     "Add to Cart" button whens ajax add to cart is enabled. */
.added_to_cart.wc-forward { margin-left: 12px; }

/* - Fix vertical alignment of cog / spinner while adding product to cart
     (was previously stuck to the bottom of the button) */
.woocommerce a.button.loading::after,
.woocommerce button.button.loading:after { top: 0.4em !important; }

/* Beaver Builder Tweaks
   - Display £ symbol inline inside [cart_total] shortcode
     (Beaver builder applies display: block to spans inside icon text) */
.woocommerce-Price-currencySymbol { display: inline !important; }

/* FacetWP Tweaks
   - Remove minimum width from sidebar search box */
.facetwp-facet input.facetwp-search { min-width: 0px !important; }

/* Responsive video wrapper class
   http://alistapart.com/article/creating-intrinsic-ratios-for-video */
.responsive-video { position: relative; padding-bottom: 56.25%; height: 0; padding-right: 20px; }
.responsive-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Contact Form 7 tweaks
   - Bring CF7 5.4's new loading spinner in line with submit button */
.wpcf7 .ajax-loader { margin: 0px 24px -6px; }

/* Header Tweaks
   - Increase header z-index to bring it above the following elements:
      • cart update overlay (.blockUI.blockOverlay, z-index 1000)
      • FacetWP Dropdown (.fs-dropdown, z-index 1000)
*/
header.fl-theme-builder-header-sticky { z-index: 1001 !important; }

#cookie-consent-launch-button {

	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 1000;
	background: #ffffff;
	border: none;
	box-shadow: 0px 0px 15px 5px rgb(0 0 0 / 12%);
	color: #939393;
	padding: 10px;
	margin-right: 10px;
	border-radius: 10px 10px 0px 0px;

}

/* - Hide cookie script button when editing inside Beaver Builder */
.fl-builder-edit #cookie-consent-launch-button {

	display: none;

}

/* - Shift "back to top button" to above Tawk.to / cookie script widget on desktop, tablet and mobile */
#fl-to-top {

	bottom: 50px;
	right: 10px;

}

/* Search WP Live Ajax Search Overrides */
/* Fixes live search result box being too wide on mobile as of plugin v1.8.0 onwards */
.searchwp-live-search-results {
	min-width: 0px !important;
}
