
/* FREE SHIPPING & Shop Settings PROMO WIDGET */

body.free-shipping-not-enabled .BKE-free-shipping-threshold-widget{
	display:none;
}

/* Hide the widget Title and we'll make our own titles */

.widget_bke_free_ship_widget>h3.widgettitle{
	display: none;
}


/* Unused Close Box from Widget Days
span.BKEFS-close-box {
	display: block;
	float:right;
	width:1.4em;
	height:1.4em;
	background:transparent url(images/close-box-alpha.png) center center no-repeat;
	background-size:100% 100%;
}
*/


div.BKE-free-shipping-threshold-widget{
	margin-bottom:1em;
}


span.BKEFS-close-box:hover{
	cursor: pointer;
}

.FreeShippingPromo img{
	width:48%;
	height:auto;
	display:inline-block;
}

.FreeShippingPromo img.ShippingIconTruck{
	display: none!important;
}
.FreeShippingPromo img.ShippingIconBox{
	display: inline-block;
}


/* --------- Free Shipping Promo Banner ---------*/

.FreeShippingPromo{
	display:block;
	padding:1em 0.5em 2em 0.5em;
	text-align: center;
	color:white;
	font-size:16px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	background: rgb(255,89,73); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(255,89,73,1) 1%, rgba(255,48,25,1) 3%, rgba(207,4,4,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(255,89,73,1)), color-stop(3%,rgba(255,48,25,1)), color-stop(100%,rgba(207,4,4,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(255,89,73,1) 1%,rgba(255,48,25,1) 3%,rgba(207,4,4,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(255,89,73,1) 1%,rgba(255,48,25,1) 3%,rgba(207,4,4,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(255,89,73,1) 1%,rgba(255,48,25,1) 3%,rgba(207,4,4,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(255,89,73,1) 1%,rgba(255,48,25,1) 3%,rgba(207,4,4,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff5949', endColorstr='#cf0404',GradientType=0 ); /* IE6-9 */
}

.FreeShippingPromo.BKE-Free-Ship-Yellow{
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#efc389+0,e39a3b+100 */
	background: rgb(255,200,91);
    background: -moz-linear-gradient(top, rgba(255,200,91,1) 0%, rgba(255,181,33,1) 100%);
    background: -webkit-linear-gradient(top, rgba(255,200,91,1) 0%,rgba(255,181,33,1) 100%);
    background: linear-gradient(to bottom, rgba(255,200,91,1) 0%,rgba(255,181,33,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffc85b', endColorstr='#ffb521',GradientType=0 );
}

.FreeShippingPromo.hidden{
	display:none;
}



/* Holder for PHP recovered Cart Total - style or make invisible using style below */
.BKE-free-ship-cart-total{
	margin:1em 0 0 0;
}


.FreeShippingPromo h2, .FreeShippingPromo h3, .FreeShippingPromo h4, .FreeShippingPromo p{
	color:white;
	line-height: 1em;
	margin-bottom:0.15em;
	text-align: center;
}

.FreeShippingPromo h3.widgettitle{
	text-align: left;
}

.FreeShippingPromo.BKE-Free-Ship-Yellow h2, .FreeShippingPromo.BKE-Free-Ship-Yellow h3, .FreeShippingPromo.BKE-Free-Ship-Yellow h4, .FreeShippingPromo.BKE-Free-Ship-Yellow p, .FreeShippingPromo p.lube-upsell a{
	color:#2d2d2d!important;
}

.FreeShippingPromo h2{
	font-size:1.4em;
	letter-spacing: -0.08em;
}

.FreeShippingPromo h2 span.BKE-free-ship-required-purchase{
	font-style: italic;
	white-space: nowrap;   
}

.FreeShippingPromo h2 span:before{
	content:"$";
	display:inline-block;
}

.FreeShippingPromo img.ShippingIcon {
	width:75%;
	height:auto;
	--margin-top:1em;
}

.FreeShippingPromo p{
	font-size:0.9em;
}

.FreeShippingPromo p.lube-upsell a{
	color: white!important;
	text-decoration: underline;
}


.FreeShippingPromo a.free-ship-assistant-link{
	display:inline-block;
	clear:both;
	background:white;
	color:rgb(255,89,73);
	padding:0.5em 1.3em;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	margin:1em 0 0em 0;
	text-decoration: none;
	letter-spacing: -0.08em;
	font-weight: bolder;
}

.FreeShippingPromo a.free-ship-assistant-link:hover{
	text-decoration: none;
}

.FreeShippingPromo.BKE-Free-Ship-Yellow a.free-ship-assistant-link{
	background:rgba(0,0,0,0.8)!important;
	color:white!important;
}

.FreeShippingPromo.BKE-Free-Ship-Yellow a.free-ship-assistant-link:hover, .FreeShippingPromo.BKE-Free-Ship-Yellow a.free-ship-assistant-link:focus{
	background:rgba(0,0,0,0.65)!important;
}


.FreeShippingPromo.Free-Ship-Mobile-Mode img{
	width: 20%;
	float:left;
	margin-right:1.5em;
	margin-bottom:1em;
}

.FreeShippingPromo.Free-Ship-Mobile-Mode h2, .FreeShippingPromo.Free-Ship-Mobile-Mode p, .FreeShippingPromo.Free-Ship-Mobile-Mode .BKE-free-ship-cart-total, .FreeShippingPromo.Free-Ship-Mobile-Mode .free-ship-near-notice{
	text-align: left;
}

.FreeShippingPromo.Free-Ship-Mobile-Mode h2{
	clear:both;
}

.FreeShippingPromo.Free-Ship-Mobile-Mode h3.widgettitle{
	display:none;
}

.FreeShippingPromo.Free-Ship-Mobile-Mode{
	display: none;
	padding-top:1.7em;
	-webkit-border-radius: 8px 8px 0 0;
	border-radius: 8px 8px 0 0;
}

body.free-shipping-not-enabled .FreeShippingPromo.Free-Ship-Mobile-Mode{
	display: none;
}

.FreeShippingPromo.Free-Ship-Mobile-Mode p.lube-upsell, .BKE-free-ship-cart-total{
	display:none;
}



body.free-shipping-near .FreeShippingPromo, body.free-shipping-reached .FreeShippingPromo{

}

.FreeShippingPromo div.free-ship-near-notice{
	display:none;
}

.FreeShippingPromo div.free-ship-reached-notice{
	display:none;
}

body.free-shipping-near .FreeShippingPromo div.free-ship-near-notice{
	display:block;
}


body.free-shipping-reached .FreeShippingPromo div.free-ship-reached-notice, body.free-shipping-reached .FreeShippingPromo.Free-Ship-Mobile-Mode div.free-ship-reached-notice{
	display:block;
}

body.free-shipping-near div.BKE-free-shipping-threshold-widget, body.free-shipping-reached div.BKE-free-shipping-threshold-widget{
	display:block!important;
}

body.free-shipping-near .widget_bke_free_ship_widget, body.free-shipping-reached .widget_bke_free_ship_widget{
	display:block;
}


/* NEW WAY TO HIDE FLAT RATE SHIPPING WHEN FREE SHIPPING REACHED. */

body.free-shipping-reached.woocommerce-checkout li.flat_rate1, body.free-shipping-reached.woocommerce-cart li.flat_rate1 {
	display:none!important;
	visibility: hidden!important;
}




@media screen and (max-width:980px){
	.FreeShippingPromo.Free-Ship-Mobile-Mode{
			display:block;
	}
	
	.FreeShippingPromo.Free-Ship-Mobile-Mode h2{
		clear:none;
	}

}
