/* New-theme compatibility and accessibility rules layered over the parity CSS. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus,
.skip-link:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	left: 8px;
	top: 8px;
	width: auto;
	z-index: 100000;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid #ccd200;
	outline-offset: 2px;
}

main {
	display: block;
}

/*
 * Firefox renders a placeholder at 54 per cent opacity, which drops it below
 * the contrast the colours were chosen for. The shop stylesheet used to correct
 * this for the whole site; it only loads on shop pages now, so the rule that
 * was never about the shop lives here.
 */
::placeholder {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

header nav ul.menu > li:focus-within > ul.sub-menu {
	top: 42px !important;
	opacity: 1 !important;
}

header nav ul.menu > li:focus-within > ul.sub-menu > li:focus-within > ul.sub-menu {
	top: -3px !important;
	opacity: 1 !important;
}
/* Preserve the recent-post widget spacing after the theme stylesheet loads. */
.rpwwt-widget ul li {
    margin: 0 0 1.5em;
}

.rpwwt-widget ul li:last-child {
    margin: 0;
}

@media only screen and (min-width: 760px) and (max-width: 1024px) {
    header .header_wrapper {
        padding-bottom: 65px;
    }
}
