/*

Theme Name: Molly Karloff Child Theme
Theme URI: https://www.aardvarky.com
Author: Aardvarky
Author URI: https://www.aardvarky.com
Description: Custom WP Theme for Molly Karloff
Version: 1.0.0
Template: pro

*/
@keyframes icon-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#album-headline {
	position: absolute !important;
}
.mk-album-front-slider {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}
.mk-tkt-dets-button {
	position: absolute;
	left: calc( 50% - (173px / 2));
	top: calc( 50% - 20px );
}
.bundled_product_title_link {display: none;}
#gform_wrapper_2 #gform_2 {
	display: flex;
	flex-wrap: wrap;
}
#gform_fields_2 {
	width: 100%;
}
#gform_wrapper_2 .gform_body > ul#gform_fields_2 {
	width: 100%;
}
#gform_wrapper_2 .gform_footer input.button, #gform_wrapper_2 .gform_footer input[type="submit"] {
	width: 100%;
	min-height: 2.8em;
}
#field_2_1 label, #field_2_2 label {
	display: none !important;
}
#field_2_2 	{
	margin-top: 0.75em !important;
}
ul.list-unstyled {
	list-style-type: none;
}
ul.band-members-list li {
	margin-bottom: 1em;
}
li span.band-member {
	display: block;
}
#gform_fields_3 {
	color: #fff;
}
#gform_fields_3 li label {
	color: #fff;
}
#gform_fields_3 .gsection_title {
	color: #fff;
}

#gform_wrapper_4 form.gf_simple_horizontal div.gform_footer.top_label input[type="submit"] { width: 100%; margin: 0;}
#gform_wrapper_4 form.gf_simple_horizontal div.gform_footer.top_label { display: flex; width: 24%; flex: 1 0 auto; max-height: 3em; margin-top: 0; align-items: center;}

#gform_4 {
    display: flex;
    flex-wrap: wrap;
}
#gform_wrapper_4 form.gf_simple_horizontal div.gform_body {
	display: flex;
	flex: 1 0 75%;
	flex-wrap: wrap;
	width: auto;
    max-width: 100%;
}
#gform_wrapper_4 form.gf_simple_horizontal div.gform_footer.top_label input[type="submit"] {
	width: 100%; margin: 0;
}
#gform_wrapper_4 form.gf_simple_horizontal div.gform_footer.top_label {
	display: flex;
	width: auto;
	flex: 1 0 190px;
	max-height: 2.8em;
	margin-top: 0;
	align-items: center;
	overflow: hidden;
	max-width: none;
    margin: 5px 0 5px 0 !important;
}
#gform_fields_4 {
	display: flex;
	flex-wrap: wrap;
	grid-template-columns: none;
    grid-template-rows: none;
    grid-column-gap: unset;
    grid-row-gap: unset;
}
#gform_fields_4 .field {
	padding-right: 0;
}
#field_4_1 {
	flex: 2 0 400px;
	padding-right: 0;
    margin: 5px 0 5px 0 !important;
    max-width: 100%;
}
#field_4_1 .ginput_container {
	display: flex;
	justify-content: space-between;
}
#field_4_1 legend.gfield_label.gfield_label_before_complex {
	clip: unset;
	height: 0px !important;
	width: 0px !important;
	padding: 0px !important;
	margin: 0;
	clip-path: none;
	line-height: 0;
	border-image-width: 0;
	border-color: transparent;
	position: relative;
}
#field_4_2 {
	flex: 1 0 200px;
    padding-right: 0;
    margin: 5px 0 5px 0 !important;
}
#field_4_3 {
	padding: 0;
}
/***** Password Protected Content Form *****/
form.post-password-form {
	text-align: center;
	margin: 10em 0;
	font-size: 20px;
	font-weight: 300;
	color: #000;
}
form.post-password-form P {
	max-width: 88%;
	margin: 0 auto;
}
form.post-password-form label {
	display: inline-block;
}
form.post-password-form input[type="submit"] {
	vertical-align: top;
	padding: 0.5em 1.125em 0.25em;
}
.products.cols-4.x-iso-container.x-iso-container-posts {
	display: flex;
	flex-wrap: wrap;
	width: 95%;
	margin: auto;
}
/*.woocommerce li.product.isoflex {
	/*margin: 0 auto 4.5% auto;*/
	/*width: 230px;
	margin: 2%;
	max-width: 395px;
	flex: 0 0 230px;
	height: 360px;
	list-style: none;
}*/
.woocommerce li.product.isoflex > div {
	height: 100%;
}
.woocommerce li.product.isoflex > div > div.entry-product {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}
.woocommerce-form-coupon-toggle {
	/*display: none;*/
}
form.checkout.woocommerce-checkout {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
form.checkout.woocommerce-checkout > .molly-customer-details {
	flex: 1 0 250px;
	margin: 1em;
}
form.checkout.woocommerce-checkout > .molly-order-review {
	flex: 1 0 250px;
	margin: 1em;
}
.woocommerce-checkout form .payment_methods li.wc_payment_method.payment_method_paypal {
	min-height: 48px;
	margin-bottom: 0;
}
.wc_payment_method.payment_method_paypal > label > img {
	margin-top: -20px;
}
.special-offer-banner {
	margin: 0em 0em 1em 0em;
	border-radius: 3px 3px 3px 3px;
	padding: 0.75em 0em 0.75em 0em;
	font-size: 2em;
	background-color: rgb(255,255,255);
}
/*************** Mini Cart Styling *****************/
.molly-cartdowndown:not(.x-mini-cart) {
	/*width: 45px;*/
}
.molly-cartdowndown {
	overflow: visible;
}
.x-anchor-toggle.molly-cartdowndown {
	overflow: visible;
}
.x-anchor-toggle.molly-cartdowndown .x-anchor-text {
	position: absolute;
	right: 0;
	display: flex;
	flex-direction: column;
	height: 50px;
	justify-content: space-between;
	align-items: flex-end;
}
.x-anchor-toggle.molly-cartdowndown .x-anchor-content {
	overflow: visible;
}
.x-anchor-toggle.molly-cartdowndown  > .x-anchor-content > .x-anchor-text .x-anchor-text-secondary {
	width: 100%;
	height: 20px;
	bottom: -10px;
}
.x-anchor-toggle.molly-cartdowndown > .x-anchor-content > .x-anchor-text .x-anchor-text-primary {
	width: 20px;
    border-radius: 100%;
    background-color: rgb(210,32,39);
    padding: 1px 5px 2px 5px;
    height: 20px;
    display: block;
    text-align: center;
    padding-top: 2px;
    right: -10px;
}

/*************** Events Page Message Styling *****************/
.molly-events-message {
	margin: 1em 0em 0em 0em;
	border-width: 2px;
	border-style: solid;
	border-color: rgb(255,255,255);
	border-radius: 0.125em 0.125em 0.125em 0.125em;
	padding: 1em 1em 1em 1em;
	font-family: "Lato",sans-serif;
	font-size: 2em;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0em;
	text-align: center;
	text-transform: none;
	color: rgb(255,255,255);
	background-color: rgba(0,0,0,0.5);
}
section#molly-events-page {
	background-image: url(https://mollykarloff.co.uk/wp-content/uploads/2020/01/super_tour_bg.jpg);
	background-repeat: no-repeat;
	background-position: 50% 10%;
	background-size: cover;
}
.molly-footer-tiles > .x-bg > .x-bg-layer-lower-image, .molly-footer-tiles > .x-bg > [class*="x-bg-layer-lower"] {
	transition: all .5s;
}
.molly-footer-tiles:hover > .x-bg > .x-bg-layer-lower-image, .molly-footer-tiles:focus > .x-bg > .x-bg-layer-lower-image, .molly-footer-tiles:hover > .x-bg > [class*="x-bg-layer-lower"], .molly-footer-tiles:focus > .x-bg > [class*="x-bg-layer-lower"] {
	transform: scale(1.2);
	transition: all .5s;
}
.molly-footer-tiles .x-text-headline {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
/*************** Product Page ********************/

.wp-block-woocommerce-empty-cart-block .wp-block-image img {
	filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
}

.products.columns-4.x-iso-container.x-iso-container-posts {
	justify-content: space-around;
}
[class*="woocommerce"] ul.products.columns-4 li.product {
	margin: 0 1% 20px 1% !important;
}
.products.columns-4.isotope li.product {
	margin: 0 !important;
}
.woocommerce:not(.superEPPage) li.product.isoflex {
	margin:  5px auto;
    flex: 0 0 270px;
    width: 270px;
    list-style: none;
}
.woocommerce:not(.superEPPage) li.product .entry-wrap {
	display: flex;
	min-height: 10em;
}
.woocommerce:not(.superEPPage) li.product .entry-header {
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1 0 auto;
    max-width: 100%;
}
.woocommerce-account form .payment_methods label img, .woocommerce-checkout form .payment_methods label img {
	max-width: 160px;
	margin-right: 0;
}

.woocommerce.molly-music-page > .products {
	display: flex;
	flex-wrap: wrap;
}
.woocommerce.molly-music-page > .products > li.product {
	 margin: 15px auto;
 }
.frovi-filter-btn.option-set.unstyled {
	margin-bottom: 1em;
}

a.band-member-tile img {
	filter: grayscale(100%);
	transition-duration: 0.3s;
	transition-timing-function: cubic-bezier(0.4,0,0.2,1);
}
a.band-member-tile:hover img {
	filter: grayscale(0%);
	transition-duration: 0.3s;
	transition-timing-function: cubic-bezier(0.4,0,0.2,1);
}
.bundled_product_summary .bundled_product_optional_checkbox {
	padding: 1em !important;
    background: #f0f0f0;
    width: 100%;
    color: #000000;
    border: 1px solid #000000;
}
.bundle_sells_title span {
	color: #d22027;
}
div.bundled_product_summary, .woocommerce div.product.bundled_product_summary {
	margin: 1em 0 1em 0;
	padding: 1em;
	box-shadow: 0 .15em .65em 0 rgba(0,0,0,.25);
}
[class*="woocommerce"] div.product .summary .woocommerce-variation-availability > .out-of-stock {
	color: #b80000;
	font-weight: bold;
	font-size: 1.5em;
}
/******************* Cal Grid ********************/
/*.mec-wrap .row {
	display: flex;
	flex-wrap: wrap;
}
/*.mec-wrap .col-md-4 {
	display: flex;
	flex: 1 0 270px;
}*/
/*.mec-event-grid-modern .mec-event-article {
	width: 100%;
}

*/

.widget_shopping_cart_content a.wc-stripe-applepay-mini-cart, .widget_shopping_cart_content a.wc-stripe-gpay-mini-cart, .widget_shopping_cart_content a.wc-stripe-payment-request-mini-cart {
	width: 100% !important;
	margin-bottom: 0.5em !important;
}

[class^="icon-"], [class*=" icon-"], [data-x-icon-b], [data-x-icon], [data-x-icon-s], [data-x-icon-o] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[style*="--aspect-ratio"] > :first-child {
  width: 100%;
}
[style*="--aspect-ratio"] > img {  
  height: auto;
} 
.mk-logo img {
	height: 100% !important;
}
.x-iso-container.x-iso-container-posts > article.type-post > .entry-featured {
	display: block;
	position: relative;
}
@supports (--custom:property) {
  [style*="--aspect-ratio"] {
    position: relative;
  }
  [style*="--aspect-ratio"]::before {
    content: "";
    display: block;
    padding-bottom: calc( 100% / var(--aspect-ratio) );
  }  
  [style*="--aspect-ratio"] > :first-child {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }
}

[class*="woocommerce"] li.product .onsale {
	top: 30px;
	left: -45px;
	width: 200px;
	border-radius: 0 !important;
	transform: rotate(-45deg);
}
@media (min-width: 979px) {
	#field_4_2 {
		padding-right: 1%;
	}
}
@media (max-width: 978.98px) {
	[class*="woocommerce"] ul.products.columns-3 li.product, [class*="woocommerce"] ul.products.columns-4 li.product {
		width: 43%;
	}
	#gform_wrapper_4 form.gf_simple_horizontal div.gform_body {
		flex: 2 0 100%;
	}
	#gform_fields_4 {
		width: 100%;
	}
	#gform_wrapper_4 form.gf_simple_horizontal div.gform_footer.top_label {
		display: inline;
		width: auto;
		flex: 1 0 190px;
		max-height: none;
		align-items: center;
		overflow: visible;
		max-width: none;
	    margin: 5px 0 5px 0 !important;
	}
}
@media only screen and (max-width: 640px) {
	#field_4_1 {
		margin: 5px 0 0px 0 !important;
	}
	#field_4_2 {
		margin: 0px 0 5px 0 !important;
	}
}
@media (min-width: 700px) {
	#input_4_1_6_container {
		padding-right: 2%;
	}
}
@media (max-width: 479.98px) {
	[class*=woocommerce] ul.products.columns-2 li.product,
	[class*=woocommerce] ul.products.columns-3 li.product,
	[class*=woocommerce] ul.products.columns-4 li.product {
		width: 98%;
	}
}
.x-cart-notification-icon.loading {
	animation: icon-spinner 1.2s linear infinite !important;
}
.x-cart-notification.added .x-cart-notification-icon.loading {
	opacity: 0 !important;
	transform: scale(0);
}
.x-cart-notification.added .x-cart-notification-icon.added {
	opacity: 1 !important;
}

.ilightbox-holder.ilightbox-next, .ilightbox-holder.ilightbox-prev {
	z-index: 100001 !important;
}
/***** Product Page Dark Color Changes *****/
[class*=woocommerce] .quantity input[type=number], [class*=woocommerce] div.product .summary .variations select#pa_size, select#pa_size {
	color: #ffffff !important;
}