/*
 Theme Name:   Flatsome Child
 Description:  Flatsome Child Theme
 Author:       EHD
 Author URI:   https://energyhousedigital.co.uk
 Template:     flatsome
 Version:      1.0.0
*/

#logo {
    padding: 0 50px;
}
.home .flickity-viewport .box-image img {
    display: block;
    margin: auto;
    max-width: 200px;
}
.container-width, 
.full-width .ubermenu-nav, 
.container, 
.row {
    max-width: 1400px;
}
.shop-container .box-image {
    min-height: 200px;
}
.shop-container .box-image img {
    display: block;
    max-width: 150px;
}
.cookiePolicyPopup {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    background: #fff;
    
    width: 100%;
    color: #000;
    font-size: 12px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .15);
}
.cookiePolicyPopup-wrapper {
    margin: auto;
    padding: 10px;
    max-width: 620px;
}
.cookiePolicyPopup.isHidden {
    display: none;
}
.cookiePolicyPopup-btn--accept{
    float: right;
    border: 0;
    background-color: #008C95;
    color: #fff;
}
.banner h2 {
   font-size: 3.5em;
}
@media screen and (min-width: 550px) {
    .header-main {
        height: 80px !important;
    }
    #logo {
        padding: 0 20px;
        width: 150px !important;
    }
    .header-wrapper.stuck #logo {
        /* padding: 0 10px; */
        width: auto !important;
    }
    .stuck #logo img {
        padding: 15px 0;
        /* max-height: auto !important; */
    }
}
@media screen and (min-width: 850px) {
    #logo {
        margin-top: 0;
        padding: 0;
    }
}

/** NWM CRO fixes **/
.basket-footer-mobile, .basket-header-mobile {
	position: relative;
    margin: 0;
    padding: 0 15px 30px;
    width: 100%;
}
.basket-footer-mobile > .cross-sells, 
.basket-header-mobile, 
.basket-header-mobile .cart_totals th.product-name, 
.basket-header-mobile h2, 
.basket-header-mobile .shop_table tr.cart-subtotal, 
.basket-header-mobile .shop_table tr.shipping, 
.basket-header-mobile .wc-proceed-to-checkout .wcppec-checkout-buttons, 
.product-footer .widget.widget-upsell, 
.page-checkout .woocommerce-form-coupon-toggle {
	display: none;
}
.product-lightbox-inner .cwginstock-subscribe-form {
	display: none !important;
}
.btn-clash {
	background-color: #fbbd00 !important;
}
.flickity-slider .product.featured .badge-container {
	display: none;
	position: absolute !important;
    top: 0;
    left: 50%;
    margin: 0;
    padding: 0;
    margin-left: -19%;
}
.flickity-slider .product.featured:first-child .badge-container {
	display: block;
}
.flickity-slider .product.featured:first-child .badge-container .badge {
	width: auto;
	height: auto;
}
.flickity-slider .product.featured:first-child .badge-container .badge .badge-inner.new-bubble {
	background-color: #fbbd00;
    padding: 10px;
}
form.checkout_coupon .coupon .widget-title {
	cursor: pointer;
}
form.checkout_coupon .coupon .widget-title:hover {
	color: grey;
}
form.checkout_coupon .coupon .coupon-container {
	display: none;
}
.cart .single_add_to_cart_button.button, 
.cart .buttons_added input, 
.cart .buttons_added .button {
	font-size: 1.3em;
}
.cart-sidebar .ssl-badge {
	margin: 10px auto;
    display: block;
    height: 50px;
}
.product-info .product-short-description ul {
	list-style: none;
}
.product-info .product-short-description ul li img.emoji {
	filter: invert(49%) sepia(86%) saturate(2687%) hue-rotate(87deg) brightness(105%) contrast(114%);
}
.woocommerce-mini-cart__buttons.buttons {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
}
.woocommerce-mini-cart__buttons.buttons > a {
	width: 100%;
}
.woocommerce-mini-cart__buttons.buttons > a.checkout { 
	order: 1;
}
.woocommerce-mini-cart__buttons.buttons > a:first-child {
	order: 2;
	background-color: white !important;
    border-color: #008C95;
    color: #008C95;
}
.single-product .woocommerce-message .success-color {
	border: 1px solid #3bde3b;
}
.single-product .woocommerce-message .success-color i {
	color: #3bde3b;
}
.product .product-small > .quick-view {
	color: white;
    background: #008C95;
    text-align: center;
	width: 80%;
    float: right;
    margin-top: 5px;
}
.product .product-small > .quick-view:hover {
	background: #33b7bf;
}
.product .product-small > .added_to_cart {
	display: none;
}
.checkout-boxes-cart {
    width: 100%;
    clear: both;
    padding-top: 25px;
}
.checkout-boxes-cart figure {
    width: 33.33333%;
    float: left;
    text-align: center;
}
.checkout-boxes-cart figure h3 {
    font-size: 16px;
    font-weight: 700;
    color: #008C95;
    margin: 15px 0 2px 0;
    line-height: 20px;
}
.checkout-boxes-cart figure p {
    color: #008C95;
    margin: 0;
    line-height: 20px;
}
.checkout-boxes-cart figure img {
    max-height: 60px;
}
form.checkout .woocommerce-additional-fields {
	display: block;
	clear: both;
}
form.checkout .woocommerce-validated input, 
form.checkout .woocommerce-validated select {
	border-color: #4abd4a;
}
.product-lightbox-inner .view-full {
	margin: -20px 0 20px 0;
    font-size: 0.8rem;
}
.product-lightbox-inner .view-full a {
	color: #676767;
}
.product-lightbox-inner .view-full a:hover {
	color: black;
}
.product-info.summary > .view-full {
	display: none;
}
#wide-nav {
	background-color: transparent;
}
#wide-nav .header-bottom-nav .header-box {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    font-size: 0.9rem;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: 10px 0 0;
}
#wide-nav .header-bottom-nav .header-box span {
	display: block;
	font-family: "Lora", sans-serif;
    font-weight: normal;
    color: #008C95;
}
#wide-nav .header-bottom-nav .header-box img {
    max-width: 30px;
	margin-right: 10px;
}
input.search-field {
    width: 250px;
    -webkit-border-top-left-radius: 30px;
    -webkit-border-bottom-left-radius: 30px;
    -moz-border-radius-topleft: 30px;
    -moz-border-radius-bottomleft: 30px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    box-shadow: none;
    border: none;
    padding: 0 14px;
}
.searchform .button.icon {
    -webkit-border-top-right-radius: 30px;
    -webkit-border-bottom-right-radius: 30px;
    -moz-border-radius-topright: 30px;
    -moz-border-radius-bottomright: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}
.woocommerce-page.woocommerce-checkout p.form-row-first, 
.woocommerce-page.woocommerce-checkout p.form-row-last, 
.woocommerce-page.woocommerce-checkout p.form-row-wide {
    float: none !important;
    width: 50% !important;
}
#billing_address_2_field>label {
	display: none;
}
body.woocommerce-checkout #wide-nav, 
body.woocommerce-cart #wide-nav {
	display: none !important;
}
.cwginstock-subscribe-form:first-child {
	display: block !important;
}
.product-info.summary .cwginstock-subscribe-form:last-child {
	display: none !important;
}
@media screen and (max-width: 850px) {
	.cart-wrapper > .cross-sells, 
    .product-info .next-prev-thumbs {
		display: none;
	}
	.basket-footer-mobile > .cross-sells, 
	.basket-header-mobile	{
		display: block;
	}
	.basket-footer-mobile > .cross-sells .products .product-small {
		display: none;
	}
	.basket-footer-mobile > .cross-sells .products .product-small:nth-child(1), 
	.basket-footer-mobile > .cross-sells .products .product-small:nth-child(2), 
	.basket-footer-mobile > .cross-sells .products .product-small:nth-child(3) {
		display: block;
	}
}
@media screen and (max-width: 550px) {
	.woocommerce-page.woocommerce-checkout p.form-row-first, 
	.woocommerce-page.woocommerce-checkout p.form-row-last, 
	.woocommerce-page.woocommerce-checkout p.form-row-wide {
		float: none !important;
		width: 100% !important;
	}
	.basket-footer-mobile > .cross-sells .products .product-small, 
	.basket-footer-mobile > .cross-sells .products .product-small:nth-child(3)	{
		display: none;
	}
	.basket-footer-mobile > .cross-sells .products .product-small:nth-child(1), 
	.basket-footer-mobile > .cross-sells .products .product-small:nth-child(2) {
		display: block;
	}
	.checkout-boxes-cart figure {
		width: 100%;
		float: none;
	}
}
