/*
Theme Name:   Storefront Child
Description:  Customised for Tablemaker
Template:     storefront
Version:      108
Text Domain:  storefrontchild
*/


/* Hide add to cart and quantity */

body.single-product.postid-73 .entry-summary .single_add_to_cart_button,
body.single-product.postid-73 .entry-summary .quantity {
display: none;
}


body.single-product.postid-3341 .entry-summary .single_add_to_cart_button,
body.single-product.postid-3341 .entry-summary .quantity {
display: none;
}


body.single-product.postid-3340 .entry-summary .single_add_to_cart_button,
body.single-product.postid-3340 .entry-summary .quantity {
display: none;
}


body.single-product.postid-3339 .entry-summary .single_add_to_cart_button,
body.single-product.postid-3339 .entry-summary .quantity {
display: none;
}



body.single-product.postid-3336 .entry-summary .single_add_to_cart_button,
body.single-product.postid-3336 .entry-summary .quantity {
display: none;
}


body.single-product.postid-3248 .entry-summary .single_add_to_cart_button,
body.single-product.postid-3248 .entry-summary .quantity {
display: none;
}



body.single-product.postid-3241 .entry-summary .single_add_to_cart_button,
body.single-product.postid-3241 .entry-summary .quantity {
display: none;
}


body.single-product.postid-3229 .entry-summary .single_add_to_cart_button,
body.single-product.postid-3229 .entry-summary .quantity {
display: none;
}


body.single-product.postid-3220 .entry-summary .single_add_to_cart_button,
body.single-product.postid-3220 .entry-summary .quantity {
display: none;
}


body.single-product.postid-3201 .entry-summary .single_add_to_cart_button,
body.single-product.postid-3201 .entry-summary .quantity {
display: none;
}


body.single-product.postid-2952 .entry-summary .single_add_to_cart_button,
body.single-product.postid-2952 .entry-summary .quantity {
display: none;
}


body.single-product.postid-2909 .entry-summary .single_add_to_cart_button,
body.single-product.postid-2909 .entry-summary .quantity {
display: none;
}


body.single-product.postid-2896 .entry-summary .single_add_to_cart_button,
body.single-product.postid-2896 .entry-summary .quantity {
display: none;
}


body.single-product.postid-2696 .entry-summary .single_add_to_cart_button,
body.single-product.postid-2696 .entry-summary .quantity {
display: none;
}

body.single-product.postid-2246 .entry-summary .single_add_to_cart_button,
body.single-product.postid-73 .entry-summary .quantity {
display: none;
}


body.single-product.postid-1702 .entry-summary .single_add_to_cart_button,
body.single-product.postid-1702 .entry-summary .quantity {
display: none;
}


body.single-product.postid-1700 .entry-summary .single_add_to_cart_button,
body.single-product.postid-1700 .entry-summary .quantity {
display: none;
}


body.single-product.postid-579 .entry-summary .single_add_to_cart_button,
body.single-product.postid-579 .entry-summary .quantity {
display: none;
}



/* Custom styles */


.variation-Thislengthxwidth span.wpo-currency {
font-size: 0;
}
.variation-Thislengthxwidth span.wpo-currency:before {
content: "£";
font-size: 15px;
}

.variation-Price span.wpo-currency {
font-size: 0;
}

.variation-Price span.wpo-currency:before {
content: "£";
font-size: 15px;
}


.single-product.wpo-has-fields.woocommerce div.product p.price {
display: none;
}


.single-product.woocommerce div.product p.price {
font-size: 18px;
font-weight: 700;
}



.woocommerce.single-product div.product div.images .flex-control-thumbs li {
width: auto;
}

.edit-link { display: none; }

.woocommerce-loop-category__title mark.count {
    display: none;
}


.woocommerce-product-gallery .woocommerce-product-gallery__image {
    position: relative;
}
.woocommerce-product-gallery .woocommerce-product-gallery__image:after {
    content: attr(data-thumb-alt);
	position: absolute;
	
	bottom: 0.175em;
	left: 0.7em;
	padding: 4px 4px;
	background-color: ;
	color: #000;
	font-size:1.1em;
	border-radius: 3px;
}

/* Core stuff to override */
body {font-family:"Source Sans Pro","HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;}
h1,.alpha {
    font-size: 2.617924em;
}
h2,.beta {
    font-size: 2em;
}
h3,.gamma {
    font-size: 1.618em
}
h4,.delta {
    font-size: 1.4em
}

.woocommerce .woocommerce-loop-category__title {
    font-size: 1.4em !important;
}


/* Buttons */
button, input[type="button"], input[type="reset"], input[type="submit"], .button, .widget a.button, .wp-block-button__link:not(.has-background) {
    /* original: background-color:#eeeeee;border-color:#eeeeee;color:#333333;*/
    background-color:#333333;border-color:#333333;color:#ffffff;
}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, .widget a.button:hover, .wp-block-button__link:not(.has-background):hover, .wp-block-button__link:not(.has-background):focus, .wp-block-button__link:not(.has-background):active {
    /* original: background-color:#d5d5d5;border-color:#d5d5d5;color:#333333; */
    background-color:#1a1a1a;border-color:#1a1a1a;color:#ffffff;
}

/* Slogan */
.site-header .site-name {font-size:25px;}
.site-header .site-name-mobile {font-size:16px;}

/* Misc */

body {overflow-y:scroll;}

p+h2,p+header h2,p+h3,p+h4,ul+h2,ul+header h2,ul+h3,ul+h4,ol+h2,ol+header h2,ol+h3,ol+h4,table+h2,table+header h2,table+h3,table+h4,blockquote+h2,blockquote+header h2,blockquote+h3,blockquote+h4,form+h2,form+header h2,form+h3,form+h4 {margin-top:1em;}

a:focus {outline:none;}

header.site-header {margin-bottom:0!important;padding:0.5em 0;}

.site-header {padding-bottom:0.5em;}
.storefront-breadcrumb {margin:0;padding:1em 0;}
.site-header .site-branding {margin-bottom:0em;}
.site-header .site-branding img {max-width:100%;}
.site-header .site-name-mobile {margin:1em 0 0;padding:0;}
.site-header .site-name {display:none;}
figcaption {text-align:left!important;}
li.product-category h2, li.product h2 {display:inline-block;text-decoration:underline;}
li.product-category h2:hover, li.product h2:hover {text-decoration:none;}
ul.products li.product img {margin:0 auto 1em;}
.woocommerce-product-details__short-description p:last-of-type {margin-bottom:0;}
.storefront-sorting {display:none;}
.storefront-handheld-footer-bar.empty-cart {position:relative;border:none;box-shadow:none;}
.storefront-handheld-footer-bar.empty-cart li.cart a {background-color:#f0f0f0!important;}
.cart_item dl.variation dd {margin-bottom:0.3em;}
.woocommerce-message, .woocommerce-info, .woocommerce-store-notice {background-color:#A0A0A0;}
.woocommerce_error {background-color:#A0A0A0;}
.site-content>.col-full>.woocommerce>.woocommerce-message:first-child, .site-content>.col-full>.woocommerce>.woocommerce-info:first-child, .site-content>.col-full>.woocommerce>.woocommerce-error:first-child {margin-top:0.5em;}
.storefront-full-width-content.woocommerce-cart .entry-header, .storefront-full-width-content.woocommerce-checkout .entry-header {padding-bottom:2em;}
.storefront-full-width-content .woocommerce-products-header {padding:0 0 2em;}
ul.products li.product {margin-bottom:2em;}
ul.products li.product .button {margin-top:1em;}
ul.products li.product.product-category img, ul.products .wc-block-grid__product.product-category img, .wc-block-grid__products li.product.product-category img, .wc-block-grid__products .wc-block-grid__product.product-category img {margin-bottom:0.6em;}
.pswp__caption__center {text-align:center;}
table.cart {margin-bottom:1em;}
abbr.required {text-decoration:none;}
.single-product div.product form.cart {padding-bottom:0;margin-bottom: 0.5em;}
.single_add_to_cart_button {margin-bottom:1em;}
.wpo-options-container input[type="number"] {max-width:6em!important;}
.wpo-options-container .nice-select {max-width:60%;}
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {width:300px;max-width:75%!important;border:none!important;}
footer.site-footer {padding:2em 0;}
footer .site-info {padding:1em 0;}

.cc_container .cc_btn, .cc_container .cc_btn:visited {background-color:#A0A0A0!important;color:#fff!important;}

/* Desktop overrides */
@media(min-width: 768px) {

.col-full {max-width:55.625em;}
header.site-header {margin-bottom:1.5em!important;padding:1.5em 0 0;}
.main-navigation ul.menu>li>a, .main-navigation ul.nav-menu>li>a {padding:1.7em 0.9em 1em;}
.site-header-cart .cart-contents {padding:1em 0;}
.site-header .site-branding {display:flex;align-items:center;width:100%!important;}
.site-header .site-branding img {width:300px;height:70px;max-width:none;}
.site-header .site-name {display:block;margin:0 auto;}
.site-header .site-name-mobile {display:none;}
.storefront-breadcrumb {margin:0;padding:0em 1em 1em;}
.storefront-full-width-content.single-product div.product .summary {margin-bottom:1em;}
.woocommerce-tabs {padding-top:1em;}
.storefront-full-width-content.single-product div.product .woocommerce-product-gallery {width:55%;}
.storefront-full-width-content.single-product div.product .summary {width:40%;}
ul.products li.product.product-category img, ul.products .wc-block-grid__product.product-category img, .wc-block-grid__products li.product.product-category img, .wc-block-grid__products .wc-block-grid__product.product-category img {margin-bottom:1.618em;}
.woocommerce-active .site-header .site-header-cart {width:auto;}
.woocommerce-active .site-header .site-header-cart .count {margin-right:0.8em;}
.site-header-cart:hover .widget_shopping_cart, .site-header-cart.focus .widget_shopping_cart {display:none;}
table.cart th, table.cart td {padding:0.5em;}
.checkout .woocommerce-additional-fields {width: 41.1764705882%;float: right;margin-right: 0;clear: right} /* Copied from #order_review */

}

/* Mobile overrides */
@media(max-width: 767px) {

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {clear:none!important;margin-right:0.9em!important;}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {width:50px;}

}

/* contact form overrides */
.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
    border: 2px solid #46b450; /* Green */
}
 
.wpcf7 form.init .wpcf7-response-output {
    display: none;
}
 
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450; /* Green */
}
 
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border-color: #dc3232; /* Red */
}
 
.wpcf7 form.spam .wpcf7-response-output {
    border-color: #f56e28; /* Orange */
}
 
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #dc3232; /* Red */
}

.wpcf7-text:focus, .wpcf7-textarea:focus {
outline:none;
}

a:focus,
			button:focus,
			.button.alt:focus,
			input:focus,
			textarea:focus,
			input[type="button"]:focus,
			input[type="reset"]:focus,
			input[type="submit"]:focus,
			input[type="email"]:focus,
			input[type="tel"]:focus,
			input[type="url"]:focus,
			input[type="password"]:focus,
			input[type="search"]:focus {
				
				outline:none;
				
			}

/* hide recaptcha badge */
.grecaptcha-badge { visibility: hidden; }


