/*
 Theme Name:	Feltazia theme
 description:	Feltazia theme (child of TwentyTwenty)
 Author:		Alexander Byatt
 Template:		twentytwenty
 Version:		1.0.0
*/

body,
p,
div,
ul,
ol,
li {
	font-family: "Roboto", sans-serif !important;
}
h1,
h2,
h3,
h4,
h5 {
	font-family: "Shadows Into Light", serif;
}

#site-header {
	box-shadow: 0 0 29px rgba(0, 0, 0, 0.1);
}
.paypal-button.paypal-button-color-gold {
	background-color: transparent;
	border: 1px solid #555;
}

.contentInner,
.woocommerce .content-area,
.entry-content > .alignwide,
.entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright) {
	max-width: 960px !important;
	width: calc(100% - 4rem);
	margin-left: auto;
	margin-right: auto;
}
#tab-description .entry-content h2,
#tab-description .entry-content h3,
#tab-description .entry-content h4 {
	width: 100% !important;
	margin-bottom: 12px;
}
a:link,
a:visited {
	color: #586f0d !important;
}
a:hover,
a:active {
	color: #7aca3a !important;
}

button:not(.toggle),
.button,
.faux-button,
.wp-block-button__link,
.wp-block-file .wp-block-file__button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.bg-accent,
.bg-accent-hover:hover,
.bg-accent-hover:focus,
:root .has-accent-background-color,
.comment-reply-link,
a.button,
a.wp-block-button__link {
	transition: background-color 0.3s ease-out;
	border-radius: 3px;
	border: 0;
}
button:not(.toggle),
.button,
.faux-button,
.wp-block-button__link,
.wp-block-file .wp-block-file__button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.bg-accent,
.bg-accent-hover:hover,
.bg-accent-hover:focus,
:root .has-accent-background-color,
.comment-reply-link,
a.button:link,
a.button:visited,
a.wp-block-button__link:link,
a.wp-block-button__link:visited {
	background: #e3344d !important;
	color: white !important;
}
button:not(.toggle):hover,
.button:hover,
.faux-button:hover,
.wp-block-button__link:hover,
.wp-block-file .wp-block-file__button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.button:hover,
a.button:active,
a.wp-block-button__link:hover,
a.wp-block-button__link:active {
	background: #ae1a30 !important;
}
.is-vertically-aligned-top .wp-block-media-text__content {
	padding-top: 0;
}
.grecaptcha-badge {
	z-index: -2;
	opacity: 0;
}
.variations,
.variations tr,
.variations td,
.variations th {
	border-color: transparent;
}
#weekday {
	background-color: transparent;
	border: 1px solid #555;
	padding: 6px 3px;
}

.footerColourBlock {
	width: 100%;
	text-align: center;
	margin: 0 auto;
	padding: 60px 0;
}
.footerColourBlockHeader h3 {
	display: inline-block;
	margin-top: 0;
}
.footerColourBlock h3,
.footerColourBlock p {
	text-align: center;
}

/* INSTAGRAM FEED */
.instagramOuter {
	background: #7aca3a;
	background-image: url("images/tile-limes.png");
	background-attachment: fixed;
	margin-bottom: 30px;
}
.instafeedSpinner {
	font-size: 10px;
	text-align: center;
	display: inline-block;
}
.instagramOuter a:hover,
.instagramOuter a:active {
	color: #fff !important;
}

/* FOOTER SIGNUP */
.signupOuter {
	background: #e12641;
	background-image: url("images/tile-limes.png");
	background-attachment: fixed;
	background-size: 100px;
}
.signupOuter h3,
.signupOuter p {
	color: white;
	padding: 12px;
}
#mce-EMAIL {
	border: 0 !important;
	padding: 24px !important;
	border-radius: 4px !important;
}
#mc_embed_signup {
	background: transparent;
	clear: left;
	font: 14px Roboto, sans-serif;
	width: 100%;
}
#mc_embed_signup #mc-embedded-subscribe.button {
	background-color: transparent;
	border: 2px solid white;
	line-height: 30px;
	border-radius: 4px;
	height: 48px;
}
#mc_embed_signup #mc-embedded-subscribe.button:hover {
	background: #ae1a30;
	text-decoration: none;
	border-radius: 3px;
}

/* WOOCOMMERCE */
.woocommerce-result-count,
.woocommerce-ordering,
.tabs.wc-tabs {
	display: none;
}
#tab-description {
	display: block !important;
}
.cart_totals h2 {
	display: none;
}
.shop_table {
	margin-top: 0;
	margin-bottom: 0;
}
.shop_table .actions .coupon {
	display: none;
}
.shop_table .button {
	font-size: 10px !important;
	background-color: #ccc !important;
	color: #555 !important;
}
.shop_table .button:hover {
	color: white !important;
}
.order-total td,
.cart-subtotal td {
	text-align: right;
}
.woocommerce #content div.product div.summary,
.woocommerce div.product div.summary,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.summary {
	/*width: 60%;*/
}
.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images {
	/*width: 36%;*/
}
.woocommerce-variation-add-to-cart,
.woocommerce-variation-availability {
	text-align: right;
}
.woocommerce-breadcrumb {
	display: none;
}
ul.products li.product .button,
.woocommerce-loop-product__link {
	margin: 0 auto;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	margin-right: 2%;
}
ul.products {
	margin-top: 30px;
}
.woocommerce-error li {
	width: 100%;
}
.product-total {
	text-align: right;
}

/* PAGES - HOME */
.home .entry-header {
	display: none;
}

/* CONTACT FORM */
.wpcf7-form p {
	/*display: inline-block;*/
	/*width: 49%;*/
}
.wpcf7-form p:nth-last-child(3) {
	/*width: 100%;*/
}

.wpcf7-form {
	grid-template-columns: 1fr 1fr;
	display: grid;
	gap: 12px;
}
@media all and (max-width: 640px) {
	.wpcf7-form {
		margin-top: 24px;
		grid-template-columns: 1fr;
	}
}

/* INSTAGRAM FOOTER FEED */
#instafeed .instagram_gallery {
	padding-left: 24px;
	padding-right: 24px;
}
#instafeed {
	max-width: 1500px;
	margin: 0 auto;
}
#instafeed a {
	display: inline-block;
	margin: 12px;
	width: 250px;
	/*max-width: calc(20% - 48px);*/
	border: 12px solid white;
	box-shadow: 0 12px 12px rgba(0, 0, 0, 0.2);
	background: white;
	color: #444;
	transition: box-shadow 0.4s ease-out;
}
#instafeed a img {
	max-width: 100%;
}
.#instafeed a:hover {
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
#instafeed a,
#instafeed a:link,
#instafeed a:visited,
#instafeed a:hover {
	color: #444 !important;
	/*text-decoration: none !important;*/
	/*box-shadow: none !important;*/
	font-size: 18px;
	font-family: script;
}
#instafeed a:hover {
	box-shadow: 0 12px 22px rgba(0, 0, 0, 0.6);
}

.products .product a,
.products .product img {
	width: 100%;
}
.outofstock,
.outofstock .woocommerce-LoopProduct-link {
	overflow: hidden;
	position: relative;
}
.outofstock img,
.outofstock h2,
.outofstock > .button,
.outofstock span {
	opacity: 0.3;
}
.outofstock .woocommerce-LoopProduct-link::before {
	position: absolute;
	display: block;
	content: "Workshop fully booked";
	color: #e3344d;
	font-size: 4.5vw;
	z-index: 999;
	left: 50%;
	top: 0;
	width: 200%;
	padding: 24px;
	background: #f6bec6;
	text-align: center;
	transform: translateX(-50%) translateY(120%) rotate(-20deg);
}
@media all and (min-width: 500px) {
	.outofstock .woocommerce-LoopProduct-link::before {
		font-size: 23px;
	}
}

.stock.out-of-stock {
	background: #e3344d;
	color: white;
	font-weight: bold;
	text-align: center;
	padding: 12px;
	border-radius: 2px;
}

.mailchimp-newsletter label {
	display: inline-block !important;
	cursor: pointer;
}
.mailchimp-newsletter input[type="checkbox"] {
	display: none;
}
.mailchimp-newsletter input[type="checkbox"] + label::before {
	content: "";
	width: 28px;
	height: 28px;
	border: 1px solid #ccc;
	border-radius: 4px;
	display: inline-block;
	vertical-align: middle;
	margin-right: 12px;
	text-align: center;
	cursor: pointer;
	font-size: 20px;
}
.mailchimp-newsletter input[type="checkbox"]:checked + label::before {
	content: "✓";
	color: white;
	background-color: #7aca3a;
}

@media all and (max-width: 800px) {
	#instafeed a {
		max-width: calc(33% - 48px) !important;
	}
}
@media all and (max-width: 700px) {
	#instafeed a {
		max-width: calc(50% - 48px) !important;
	}
}
@media all and (max-width: 500px) {
	#instafeed a {
		max-width: calc(100% - 48px) !important;
	}
}

/* MEDIA QUERIES */
@media all and (max-width: 667px) {
	.wp-block-media-text {
		display: block;
	}
	.is-vertically-aligned-top .wp-block-media-text__content {
		padding-top: 3rem;
	}
	.wp-block-media-text__content {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.contentInner,
	.woocommerce .content-area,
	.entry-content > .alignwide,
	.entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright) {
		margin-bottom: 0;
	}
	ul.products li.product .woocommerce-loop-product__link {
		margin-left: auto;
		margin-right: auto;
	}
}
