/**
 * Theme Name: Blocksy - Antique and Candy Store
 * Description: Blocksy Child theme by Abstract Marketing
 * Author: Lance Hammond
 * Version: 1.0.0
 * Template: blocksy
 * Text Domain: blocksy
**/

:root {
	--fancy-shadow: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAAAgCAMAAADt/IAXAAABj1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/mIOgAAAAhXRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+f4CBgoOEnqIwtAAAA6JJREFUeNpEkQWCxTAIRLGka/e/6dcE2IFvEzfe0PLx93PMOcZQG6ZmCpmKibKIMAsTZQZKYoIFQyIR7ut6vmnIz/dUE6EIyuelvsKPl9iP9PCn9t6+Nr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z88ek+vBOeOTk5APrn7gH/c6rQfT7j/SQqGlUlAIOCrFBg6TPs4nEQwQr7Yg+8J38oG0H5iVAAAAABJRU5ErkJggg==");
}

.wp-block-group.has-text-color :is(h1, h2, h3, h4, h5, h6) {
	color: inherit;
}

article .ct-featured-image {
	padding-bottom: 25px;
}

:is(.ct-button, .wp-block-button, .button) .icon {
	margin: 5px;
}

/* Prevent map block from covering header shadow */
body .leaflet-pane {
  z-index: 0;
}

article .entry-content :is(h1, h2, h3, h4, h5, h6) {
	margin-top: calc(var(--has-content-spacing, 1)*(.3em + 10px));
}

@media (max-width: 700px) {
	.entry-content .wp-block-image {
		display: block;
		float: none;
		text-align: center;
	}
}

.text-center {
	text-align: center;
}

ul.text-center {
	list-style-position: inside;
	padding-left: 0;
}

/*
 * Shadows
 * */
.is-style-fancy-shadow {
	position: relative !important;
}

.is-style-fancy-shadow::after {
	--height: 30px;
	
	content: '';
	background-image: var(--fancy-shadow);
	background-size: 140% var(--height, 50px);
	background-position: top center;
	background-repeat: no-repeat;
	position: absolute;
	top: 100%;
	width: 100%;
	left: 0;
	right: 0;
	height: var(--height, 50px);
	opacity: .5;
	z-index: 10;
	pointer-events: none;
	overflow: hidden;
}

.has-backdrop-blur {
	--blur-amount: 5px;
	-webkit-backdrop-filter: blur(var(--blur-amount));
	backdrop-filter: blur(var(--blur-amount));
}
.blur-1  { --blur-amount: 1px  }
.blur-2  { --blur-amount: 2px  }
.blur-3  { --blur-amount: 3px  }
.blur-4  { --blur-amount: 4px  }
.blur-5  { --blur-amount: 5px  }
.blur-6  { --blur-amount: 6px  }
.blur-7  { --blur-amount: 7px  }
.blur-8  { --blur-amount: 8px  }
.blur-9  { --blur-amount: 9px  }
.blur-10 { --blur-amount: 10px }
.blur-11 { --blur-amount: 11px }
.blur-12 { --blur-amount: 12px }
.blur-13 { --blur-amount: 13px }
.blur-14 { --blur-amount: 14px }
.blur-15 { --blur-amount: 15px }
.blur-16 { --blur-amount: 16px }
.blur-17 { --blur-amount: 17px }
.blur-18 { --blur-amount: 18px }
.blur-19 { --blur-amount: 19px }
.blur-20 { --blur-amount: 20px }


[class*="gallery-justify-"] .wp-block-image { flex-grow: 0 !important }
.gallery-justify-start { justify-content: start }
.gallery-justify-center { justify-content: center }
.gallery-justify-end    { justify-content: end }


[class*="gallery-crop"] img { object-fit: cover }
.gallery-crop-1-1 img  { aspect-ratio: 1/1  }
.gallery-crop-3-2 img  { aspect-ratio: 3/2  }
.gallery-crop-4-3 img  { aspect-ratio: 4/3  }
.gallery-crop-16-9 img { aspect-ratio: 16/9 }
.gallery-crop-21-9 img { aspect-ratio: 21/9 }
.gallery-crop-2-1 img  { aspect-ratio: 2/1  }


.gallery-radius-1 img { border-radius: 1px }
.gallery-radius-2 img { border-radius: 2px }
.gallery-radius-3 img { border-radius: 3px }
.gallery-radius-4 img { border-radius: 4px }
.gallery-radius-5 img { border-radius: 5px }
.gallery-radius-6 img { border-radius: 6px }
.gallery-radius-7 img { border-radius: 7px }
.gallery-radius-8 img { border-radius: 8px }
.gallery-radius-9 img { border-radius: 9px }
.gallery-radius-10 img { border-radius: 10px }
.gallery-radius-11 img { border-radius: 11px }
.gallery-radius-12 img { border-radius: 12px }
.gallery-radius-13 img { border-radius: 13px }
.gallery-radius-14 img { border-radius: 14px }
.gallery-radius-15 img { border-radius: 15px }
.gallery-radius-16 img { border-radius: 16px }
.gallery-radius-17 img { border-radius: 17px }
.gallery-radius-18 img { border-radius: 18px }
.gallery-radius-19 img { border-radius: 19px }
.gallery-radius-20 img { border-radius: 20px }


@media (max-width: 580px) {
	.has-1-column-on-mobile { grid-template-columns: 1fr !important }
	.has-2-columns-on-mobile { grid-template-columns: 1fr 1fr !important }
}

@media (max-width: 850px) {
	.has-1-column-on-tablet { grid-template-columns: 1fr !important }
	.has-2-columns-on-tablet { grid-template-columns: 1fr 1fr !important }
}

.has-fancy-shadow {
	position: relative !important;
	overflow: visible;
}

.has-fancy-shadow::after {
	content: '';
	background-image: var(--fancy-shadow);
	background-size: var(--shadow-width, 100%) var(--shadow-height, 50px);
	background-position: top center;
	background-repeat: no-repeat;
	position: absolute;
	top: 100%;
	width: var(--shadow-width, 100%);
	left: 0;
	right: 0;
	height: var(--shadow-height, 50px);
	opacity: var(--shadow-opacity, .5);
	z-index: 10;
	pointer-events: none;
	overflow: overflow;
}

.align-center { text-align: center !important }
.align-center ul { list-style-position: inside; padding-inline-start: 0; }
.align-center .is-layout-flex { justify-content: center; }

@media (max-width: 580px) {
	.align-center-on-mobile { text-align: center !important }
	.align-center-on-mobile ul { list-style-position: inside; padding-inline-start: 0; }
	.align-center-on-mobile .is-layout-flex { justify-content: center; }
}

@media (max-width: 850px) {
	.align-center-on-tablet { text-align: center !important }
	.align-center-on-tablet ul { list-style-position: inside; padding-inline-start: 0; }
	.align-center-on-tablet .is-layout-flex { justify-content: center; }
}

.z1, .zi-1     { z-index: 1; position: relative; }
.z5, .zi-5     { z-index: 5; position: relative; }
.z10, .zi-10   { z-index: 10; position: relative; }
.z100, .zi-100 { z-index: 100; position: relative; }

.zoom-it {
	overflow: scroll !important;
}

.zoom-it img {
	height: auto !important;
	width: auto !important;
	max-width: unset !important;
	max-height: unset !important;
}