/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

.elementor-panel .elementor-element .icon .ecw:after {
	position: absolute;
	top: 5px;
	right: -15px;
	content: "ECW";
	font-size: 16px;
	opacity: .3;
	background-image: url(../assets/favicon-wpe.png );
	background-size: 16px;
	background-repeat: no-repeat;
	color: transparent;
}

.ecw-extra {
	opacity: 0.3;
	background-image: url(../assets/favicon-wpe.png);
	background-size: 20px;
	background-repeat: no-repeat;
	width: 20px;
	height: 20px;
	top: 20%;
	position: absolute;
	right: 3%;
}

/* ----> WooCommerce Measurement Price Calculator Fixes */
.woocommerce div.product.elementor form.cart {
	flex-wrap: wrap !important;
}

#price_calculator tbody tr td,
#price_calculator .dashicons {
	vertical-align: middle;
}

/* ----> WooCommerce Bookings Fixes */
.elementor-widget-ecwb-booking-form form {
	display: block !important;
}

#wc-bookings-booking-form fieldset,
#wc-bookings-booking-form table {
	border: none;
	width: 100%;
}

#wc-bookings-booking-form .form-field input[type=number] {
	width: auto;
}

.elementor-widget-ecwb-booking-form table:not(.has-background) tbody tr:nth-child(2n) td,
.elementor-widget-ecwb-booking-form fieldset,
.elementor-widget-ecwb-booking-form fieldset legend {
	background: transparent;
}

#wc-bookings-booking-form {
	flex-wrap: wrap;
}

#wc-bookings-booking-form p[class*="wc_bookings_field_person"] {
	order: 0;
}

#wc-bookings-booking-form> {
	order: 1;
}

/* ----> WooCommerce Product Addons Fixes */
.elementor-editor-active .wc-pao-addons-container:before {
	visibility: hidden;
}

.elementor-editor-active .elementor-add-to-cart:hover .wc-pao-addons-container:before {
	visibility: visible;
}

.elementor-editor-active .wc-pao-addons-container:before {
	background: var(--e-p-border-widget);
	color: #000 !important;
	position: absolute;
	content: "Static demo widget only. Calculated prices shown on front-end only.";
	font-size: 12px;
	color: #fff;
	top: 0;
	left: 0;
	width: 100%;
	height: 25px;
	padding: 0 0.7em;
	line-height: 25px;
}

.wc-pao-addons-container {
	width: 100%;
}

.wc-pao-addon-image-swatch:hover,
.wc-pao-addon-image-swatch:active,
.wc-pao-addon-image-swatch:focus {
	outline: none !important;
}

/* ----> WooCommerce Brands Fixes */
.elementor-editor-active .elementor-widget-container:before {
	visibility: hidden;
}

.elementor-editor-active .elementor-widget-ecw-woocommerce-brands:hover .elementor-widget-container:before {
	visibility: visible;
}

.elementor-editor-active .elementor-widget-ecw-woocommerce-brands .elementor-widget-container:before {
	background: var(--e-p-border-widget);
	color: #000 !important;
	position: absolute;
	content: "Static demo widget only. Refresh page to see image size updates.";
	font-size: 12px;
	color: #fff;
	top: 0;
	left: 0;
	width: 100%;
	height: 25px;
	padding: 0 0.7em;
	line-height: 25px;
}

.elementor-widget-ecw-woocommerce-brands-list ul.products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.elementor-widget-ecw-woocommerce-brands-list ul.products li {
	width: auto !important;
}

.elementor-widget-ecw-woocommerce-brands-thumbnails ul.brand-thumbnails {
	padding: 0;
}

.elementor-widget-ecw-woocommerce-brands-thumbnails-description ul.brand-thumbnails-description {
	margin-left: 0;
	margin-bottom: 0;
	clear: both;
	list-style: none;
}

.elementor-widget-ecw-woocommerce-brands-thumbnails-description ul.brand-thumbnails-description:before {
	clear: both;
	content: "";
	display: table;
}

.elementor-widget-ecw-woocommerce-brands-thumbnails-description ul.brand-thumbnails-description:after {
	clear: both;
	content: "";
	display: table;
}

.elementor-widget-ecw-woocommerce-brands-thumbnails-description ul.brand-thumbnails-description li {
	float: left;
	margin: 0 3.8% 1em 0;
	padding: 0;
	position: relative;
	width: 22.05%
}

.elementor-widget-ecw-woocommerce-brands-thumbnails-description ul.brand-thumbnails-description.columns-1 li {
	width: 100%;
	margin-right: 0;
}

.elementor-widget-ecw-woocommerce-brands-thumbnails-description ul.brand-thumbnails-description.columns-2 li {
	width: 48%
}

.elementor-widget-ecw-woocommerce-brands-thumbnails-description ul.brand-thumbnails-description.columns-3 li {
	width: 30.75%
}

.elementor-widget-ecw-woocommerce-brands-thumbnails-description ul.brand-thumbnails-description.columns-5 li {
	width: 16.95%
}

.elementor-widget-ecw-woocommerce-brands-thumbnails-description ul.brand-thumbnails-description.columns-6 li {
	width: 13.5%
}

.elementor-widget-ecw-woocommerce-brands-thumbnails-description ul.brand-thumbnails-description li img {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	height: auto;
	margin: 0;
}

@media screen and (max-width:768px) {
	.elementor-widget-ecw-woocommerce-brands-thumbnails-description ul.brand-thumbnails-description:not(.fluid-columns) li {
		width: 48% !important;
	}

	.elementor-widget-ecw-woocommerce-brands-thumbnails-description ul.brand-thumbnails-description:not(.fluid-columns) li.first {
		clear: none;
	}

	.elementor-widget-ecw-woocommerce-brands-thumbnails-description ul.brand-thumbnails-description:not(.fluid-columns) li.last {
		margin-right: 3.8%
	}

	.elementor-widget-ecw-woocommerce-brands-thumbnails-description ul.brand-thumbnails-description:not(.fluid-columns) li:nth-of-type(odd) {
		clear: both;
	}

	.elementor-widget-ecw-woocommerce-brands-thumbnails-description ul.brand-thumbnails-description:not(.fluid-columns) li:nth-of-type(even) {
		margin-right: 0;
	}
}

/* WooCommerce Gift Card Fixes */
.woocommerce_gc_giftcard_form {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.woocommerce_gc_giftcard_form .form-row {
	width: 48%;
}

.woocommerce_gc_giftcard_form .wc_gc_giftcard_message {
	width: 100%;
	order: 2;
}

.woocommerce_gc_giftcard_form .wc_gc_giftcard_delivery {
	order: 1;
}

.woocommerce_gc_giftcard_form input[type="text"],
.woocommerce_gc_giftcard_form textarea {
	width: 100%;
}

.elementor-widget-woocommerce-product-add-to-cart .wc-gc-edit-code {
	display: none;
}

/* WooCommerce Smart Coupons Fixes */
#sc-cc *,
#sc-cc :after,
#sc-cc :before {
	box-sizing: content-box !important;
}

.elementor-editor-active .elementor-widget-ecw_woocommerce_available_coupons .elementor-widget-container:before {
	visibility: hidden;
}

.elementor-editor-active .elementor-widget-ecw_woocommerce_available_coupons:hover .elementor-widget-container:before {
	visibility: visible;
}

.elementor-editor-active .elementor-widget-ecw_woocommerce_available_coupons .elementor-widget-container:before {
	background: var(--e-p-border-widget);
	color: #000 !important;
	position: absolute;
	content: "Static demo widget only. Correct coupons shown on front-end only.";
	font-size: 12px;
	color: #fff;
	top: 0;
	left: 0;
	width: 100%;
	height: 25px;
	padding: 0 0.7em;
	line-height: 25px;
}

/* WooCommerce Name Your Price Fixes */
.elementor-editor-active.woocommerce div.product.elementor form.cart {
	display: block !important;
}

.nyp .woocommerce-nyp-message .wc-nyp-error:before {
	content: "";
}

/* WooCommerce PDF Invoices & Packing Slips Fixes */
.elementor-widget-ecw_woocommerce_pdf_invoices_packing_slips .woocommerce-MyAccount-content {
	width: 100%;
}

.elementor-editor-active .elementor-widget-ecw_woocommerce_pdf_invoices_packing_slips tr:not(:first-child) .woocommerce-orders-table__cell-order-actions .button,
.elementor-editor-preview .elementor-widget-ecw_woocommerce_pdf_invoices_packing_slips tr:not(:first-child) .woocommerce-orders-table__cell-order-actions .button {
	opacity: 1;
}

/* YITH Wishlists */
.elementor-widget-ecw_woocommerce_yith_add_to_wishlist .yith-wcwl-add-to-wishlist {
	margin-top: 0px;
}

.elementor-widget-ecw_woocommerce_yith_add_to_wishlist .yith-wcwl-add-to-wishlist a {
	display: inline-block;
}

.elementor-widget-ecw_woocommerce_yith_add_to_wishlist .yith-wcwl-wishlistexistsbrowse,
.elementor-widget-ecw_woocommerce_yith_add_to_wishlist .yith-wcwl-wishlistaddedbrowse {
	display: flex;
	justify-content: space-between;
}

.elementor-widget-ecw_woocommerce_yith_wishlist #yith-wcwl-form .product-add-to-cart .button {
	display: inline-block !important;
}

.elementor-widget-ecw_woocommerce_yith_wishlist #yith-wcwl-form .wishlist-title {
	margin-bottom: 0;
}

/* FiboSearch */
.ecw-fibosearch-el-edit-container {
	display: flex;
	flex-wrap: wrap;
}

.dgwt-wcas-search-wrapp {
	width: 100%;
	order: 1;
}

.dgwt-wcas-suggestions-wrapp,
.dgwt-wcas-details-wrapp {
	position: static;
	/* Override the absolute positioning */
	width: 50%;
	/* Each div will take up half the width */
	order: 2;
	height: auto;
}
