/*
Theme Name: AHO Full Site
Text Domain: ahofse
Version: 0.8
Description: AHO theme using the Site Editor
Update URI: false
*/

/**
 * Base
 * - Reset the browser
 */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

pre {

}
a,
a:link,
a:visited,
input[type=submit] {
    transition: all 0.25s;
}
a {
   /*	text-underline-position: under;*/
}

/* Forms */
input.wp-block-search__input,
input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
input[type=file],
textarea,
select {
	background: var(--wp--custom--form--color--background);
	border: var(--wp--custom--form--border--width) var(--wp--custom--form--border--style) var(--wp--custom--form--border--color);
	border-radius: var(--wp--custom--form--border--radius);
	box-shadow: var(--wp--custom--form--color--box-shadow);
	color: var(--wp--custom--form--color--text);
	font-family: var(--wp--custom--form--typography--font-family);
	font-size: var(--wp--custom--form--typography--font-size);
	line-height: var(--wp--custom--form--typography--line-height);
	padding: calc( 0.3 * var(--wp--preset--spacing--small) ) calc( 0.5 * var(--wp--preset--spacing--small) );
	width: 100%;
}
input[type=file] {
	padding: 30px;
}
input.wp-block-search__input:focus,
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
input[type=file]:focus,
textarea:focus,
select:focus {
	background: transparent;
	border-color: var(--wp--custom--form--border--color);
	color: var(--wp--custom--form--color--text);
}
input[type="submit"] {
	border-radius: 0;
	border: none;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
	padding: calc(0.667em + 2px) calc(1.333em + 2px);
	-webkit-appearance: none;
	-webkit-border-radius: 0;
}
input[type="submit"]:hover {
	background: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--base);
}
input[type="reset"] {
	border-radius: 0;
	border: none;
	background: var(--wp--custom--color--grey);
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
	padding: calc(0.667em + 2px) calc(1.333em + 2px);
	-webkit-appearance: none;
	-webkit-border-radius: 0;
}
label {
	font-weight: var(--wp--custom--form--label--typography--font-weight);
	text-transform: var(--wp--custom--form--label--typography--text-transform);
}
input[type=checkbox]:focus,
input[type=submit]:focus,
button:focus {
	outline: 1px dotted currentcolor;
	outline-offset: 2px;
}
input::placeholder,
textarea::placeholder {
	color: var(--wp--custom--form--color--text);
	opacity: 0.66;
}
input[type=checkbox]::placeholder,
input[type=submit]::placeholder,
button::placeholder {
	color: var(--wp--custom--form--color--text);
	opacity: 0.66;
}
select {
	font-size: 100%;
}
textarea {
	width: 100%;
}
input[type=checkbox] + label {
	display: inline;
	margin-left: 0.5em;
	line-height: 1em;
}

.clear:before {
    content: "";
    display: table;
    clear: both;
}
.clear:after, .entry-content:after {
    content: "";
    display: table;
    clear: both;
}
.wp-block-latest-posts:after {
    content: "";
    display: table;
    clear: both;
}

footer a {
	text-decoration: none;
}
footer a:hover {
	text-decoration: underline;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration: none;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
	text-decoration: underline;
}

@media (max-width: 599px) {
	body .is-layout-constrained > .alignleft,
	body .is-layout-constrained > .alignright {
	    float: none;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: var(--wp--preset--spacing--normal);
	}
}

/*** End Reset ***/

/* Classic compensation styling */
img.alignleft {
	float: left;
	margin: 0.5em 1em 0.5em 0;
}
img.alignright {
	float: right;
	margin: 0.5em 0 0.5em 1em;
}
.is-layout-constrained > .wp-block-image.alignleft,
.is-layout-constrained > .wp-block-image.alignright {
	margin-bottom: 1em;
}

dl.gallery-item, div.gallery .gallery-item {
	width: 20%;
	box-sizing: border-box;
	float: left;
	margin: 0;
	padding: 6px;
	text-align: center;
}
div.gallery:after {
    content: "";
    display: table;
    clear: both;
}
@media (max-width: 599px) {
	img.alignleft, img.alignright {
	    float: none;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: var(--wp--preset--spacing--normal);
		display: block;
	}
}
/* end classic */

/* Smaller gap when two headings together */
main h1 + h2,
main h1 + h3,
main h2 + h3,
main h1 + h4,
main h2 + h4,
main h3 + h4,
main h1 + h5,
main h2 + h5,
main h3 + h5,
main h4 + h5,
main h1 + h6,
main h2 + h6,
main h3 + h6,
main h4 + h6,
main h5 + h6 {
	margin-top: var(--wp--preset--spacing--normal);
}

/* Post Nav */
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous {
	margin-right: 6px;
}
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next {
	margin-left: 6px;
}
@media (max-width: 599px) {
	.wp-block-group.navwrap {
	    flex-wrap: wrap;
	}
	.navwrap .wp-block-post-navigation-link {
	    width: 100%;
	}
}

/* Buttons - secondary and manually chosen colours */
.wp-block-button.secondary .wp-element-button {
	background: var(--wp--preset--color--secondary);
}
.wp-block-button.secondary .wp-element-button:hover {
    background-color: var(--wp--custom--color--grey);
    color: var(--wp--preset--color--contrast);
}
.wp-element-button.has-background:hover {
    background-color: var(--wp--custom--color--grey) !important;
    color: var(--wp--preset--color--contrast) !important;
}

/* Site Nav */
.wp-block-loginout.logged-out {
    display: none;
}
.loggedout-pop,
.logged-in .loggedin-pop {
    display: none !important;
}
.logged-in .loggedout-pop {
    display: flex !important;
}
@media (min-width:920px) {
	/* only if showing submenu icon
	   and padding-right of submenu top text is calc(var(--wp--preset--spacing--small) * 0.5);
	.wp-block-navigation .has-child a {
		padding-right: calc(var(--wp--preset--spacing--small));
	}
	.wp-block-navigation .wp-block-navigation__submenu-icon {
		margin-left: calc(var(--wp--preset--spacing--small) * -0.75);
		padding-right: calc(var(--wp--preset--spacing--small) * 0.25);
	} */
	.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
		z-index: 6;
	}
	.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
		border: solid 1px var(--wp--preset--color--primary);
	}
	.wp-block-navigation {
		background-color: var(--wp--preset--color--primary);
	}
	.wp-block-navigation a,
	.wp-block-navigation li {
    	color: var(--wp--preset--color--base);
		background-color: var(--wp--preset--color--primary);
	}
	.wp-block-navigation a:hover {
    	color: var(--wp--preset--color--primary) !important;
		background-color: var(--wp--preset--color--base);
	}
	.wp-block-navigation__container > li > a {
		border-top: solid 1px var(--wp--preset--color--primary);
		border-bottom: solid 1px var(--wp--preset--color--primary);
		border-left: solid 1px white;
	}
	.wp-block-navigation__container > li:first-child > a {
		border-left: none;
	}
	.wp-block-navigation__submenu-container a {
	    border-top: solid 1px white;
	}
	.wp-block-navigation__submenu-container > li:first-child > a {
	    border-width: 0;
	}
	.site-header .wp-block-loginout > a {
	    border-left: solid 1px white;
	}
}

/* Mobile Nav */
/* change mobile menu breakpoint */
@media screen and (max-width: 919px) {
	.site-header .wp-block-navigation {
		background-color: transparent !important;
	}
	/* hamburger button */
	.wp-block-navigation__responsive-container-open  {
		display: block !important;
		padding: 6px 10px;
	    /*font-size: 16px;
	    line-height: 1.4;
	    font-weight: normal;*/
	    color: var(--wp--preset--color--base);
	    background-color: var(--wp--preset--color--primary);
	    border: 1px solid var(--wp--custom--color--shade);
	    border-radius: 3px;
	    box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
	}
	/* full menu */
	.wp-block-navigation__responsive-container:not(.is-menu-open.has-modal-open) {
		display: none !important;
	}
}
/* maybe colour secondary, background contrast  or colour base, background primary */
.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
}
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open a:where(:not(.wp-element-button)) {
    background-color: transparent;
    color: var(--wp--preset--color--base);
}
.wp-block-navigation__responsive-container.is-menu-open {
	padding: 2rem;
}
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container >li > a,
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-loginout > a {
	font-size: 1rem;
	padding: 0;
}
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open li {
	border-top: solid 1px white;
	padding-top: calc( var(--wp--preset--spacing--small) * 0.5 );
}
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-loginout {
	border-top: solid 1px white;
	padding-top: calc( var(--wp--preset--spacing--small) * 0.5 );
	margin-top: calc( var(--wp--preset--spacing--small) * 0.5 );
}
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > li:first-child {
	border-top: none;
	padding-top: 0;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
	padding-top: calc( var(--wp--preset--spacing--small) * 0.5 );
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container, .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
	gap: calc( var(--wp--preset--spacing--small) * 0.5 );
}
/*
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
    padding-top: 0;
} */

/* Close button and hamburger size and left-justify the menu */
.wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg {
    width: 30px;
    height: 30px;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    padding-top: calc(2rem + 30px);
}
.wp-block-navigation.items-justified-center .wp-block-navigation__responsive-container.is-menu-open,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation.items-justified-center {
    --navigation-layout-justification-setting: left;
    --navigation-layout-justify: left;
}
/* end mobile menu */

/* Handle in-between browser width */
@media (min-width:920px) and (max-width: 1079px) {
	.wp-block-navigation a:where(:not(.wp-element-button)) {
	    padding-right: calc(var(--wp--preset--spacing--small) * 0.5);
	    padding-left: calc(var(--wp--preset--spacing--small) * 0.5);
	}
}

/* Current menu item styling */
.site-header .wp-block-navigation .current-menu-item > a,
.site-header .wp-block-navigation .current-menu-ancestor {
   	color: var(--wp--preset--color--primary);
	background-color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--primary);
}


/* Extra Header styles */
.mobile-only {
	display: block;
}
.desktop-only {
	display: none;
}
@media (min-width:768px){
	.mobile-only {
		display: none;
	}
	.desktop-only {
		display: block;
	}
}
@media (max-width: 499px) {
	.wp-block-site-logo {
		display: none;
	}
}
.site-header .councils a {
	text-decoration: none;
	color: var(--wp--preset--color--contrast);
}
.site-header .councils a:hover {
	color: var(--wp--preset--color--secondary);
}
@media (max-width: 479px) {
	.site-header .councils p:not(:first-child) {
		display: none;
	}
	.site-header .councils {
		gap: 20px;
	}
}

/* Slide-in Navigation */
@keyframes overlay-menu__slide-in-animation {
    from {
        opacity: 0;
        transform: translateX(75%);
    }
    25% {
        opacity: 1;
    }
    to {
        transform: translateX(0);
    }
}
.wp-block-navigation__responsive-container {
	right: -75%;
	width: 75%;
}
.wp-block-navigation__responsive-container.is-menu-open {
	right: 0;
	left: 25%;
	animation: overlay-menu__slide-in-animation 1s ease-out;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
	min-width: 0;
	padding-right: 0;
}
.submenu-btn {
	position: absolute;
    right: 0;
    width: 24px;
    height: 24px;
    display: block;
	border: none;
	background: transparent;
	color: white;
}
.submenu-btn:focus {
	outline: none;
}
.submenu-btn.open {
	transform: rotate(180deg);
}

/* Footer Search */
.wp-block-search__button-inside .wp-block-search__inside-wrapper {
	padding: 0;
	border: none;
}
.wp-block-search .wp-element-button.wp-block-search__button {
    margin-left: 0;
	padding: calc( 0.5 * var(--wp--preset--spacing--small) ) calc( 0.5 * var(--wp--preset--spacing--small) );
	border-radius: 0;
}
input[type="search"]::placeholder {
	font-style: italic;
	opacity: 0.8;
}
input[type="search"] {
	background: var(--wp--custom--color--light);
	padding: calc( 0.5 * var(--wp--preset--spacing--small) ) calc( 0.5 * var(--wp--preset--spacing--small) );
}
/* Footer Archives Dropdown */
.wp-block-archives-dropdown select {
	padding: calc( 0.5 * var(--wp--preset--spacing--small) ) calc( 0.5 * var(--wp--preset--spacing--small) );
	appearance: none;
    background-color: transparent;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTAwMCAxMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KICA8cGF0aCBmaWxsPSJncmF5IiBkPSJNMTAsMjMyLjdsNDkwLDUzNC41bDQ5MC01MzQuNUgxMHoiIC8+DQo8L3N2Zz4=);
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 10px;
}

/* Site Counter */
#counter img {
	vertical-align: middle;
}

/* CF7 */
.wpcf7 {
	width: 480px;
	max-width: 100%;
}
.wpcf7 p {
    margin-block-start: var(--wp--preset--spacing--normal);
    margin-block-end: 0;
}
.wpcf7 p:first-of-type {
	margin-top: 0;
}

/* Tables */
.wp-block-table table {
    background: #eee;
}
.wp-block-table table th {
	font-weight: 700;
    background: white;
    border-top: 1px solid #fafafa;
    border-bottom: 1px solid #e0e0e0;
    padding: 21px 25px 22px 25px;
}
.wp-block-table table th:first-child {
    text-align: left;
    padding-left: 20px;
}
.wp-block-table table tr {
    text-align: left;
    padding-left: 20px;
}
.wp-block-table table td:first-child {
    text-align: left;
    padding-left: 20px;
    border-left: 0;
}
.wp-block-table table td {
    background: #fafafa;
    padding: 18px;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    padding: 18px;
}
.wp-block-table td {
    border: 1px solid #e0e0e0;
}
.wp-block-table table tr:nth-child(2n) td {
    background: #f6f6f6;
}
.wp-block-table table tr:last-child td {
    border-bottom: 0;
}
.wp-block-table table tr:hover td {
    background: #f2f2f2;
}

/*** Standard Blocks ***/
.wp-block-verse {
	background: var(--wp--custom--color--light);
	padding: var(--wp--preset--spacing--normal);
}
.comment-reply-title {
	font-size: var(--wp--preset--font-size--medium);
}
/* Author Bio */
.wp-block-avatar img {
	border-radius: 50%;
}
.wp-block-post-author__name {
	font-family: var(--wp--custom--font-heading);
	line-height: 1.5;
}
@media (max-width:991px) {
	.is-layout-flex.author-credit {
		display: block;
	}
}

/* Blockquote
.wp-block-quote, blockquote {
    border-left: 0;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
    font-style: italic;
	color: var(--wp--preset--color--accent);
    padding-left: var(--wp--preset--spacing--medium);
	padding-left: var(--wp--preset--spacing--medium);
}
.wp-block-quote.is-style-plain {
    border-left: 0.2em solid;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
    font-style: normal;
	color: inherit;
    padding-left: var(--wp--preset--spacing--medium);
	padding-left: var(--wp--preset--spacing--medium);
} */

.wp-block-categories-list {
	list-style-type: none;
	padding-left: 0;
}

/* Blog; Block-post; Query Loop Pagination */
.wp-block-query-pagination-previous, .wp-block-query-pagination-next {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	padding: 15px;
	padding: calc(0.667em + 2px) calc(1.333em + 2px);
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.2;
	font-family: var(--wp--custom--font-heading);
	letter-spacing: 0.1em;
	/*width: 13em;
}
.wp-block-query-pagination-next {
	text-align: right; */
}
.wp-block-query-pagination-previous:hover, .wp-block-query-pagination-next:hover {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}
.wp-block-query-pagination>.wp-block-query-pagination-numbers a {
	text-decoration: underline;
}
.wp-block-query-pagination>.wp-block-query-pagination-numbers a:hover {
	text-decoration: none;
}

@media (max-width: 767px) {
	/* Smaller font sizes for Blog titles on very small screens */
	.wp-block-post .wp-block-post-title {
		font-size: calc( var(--wp--preset--font-size--xx-large) * 0.7 );
	}
	/* Ensure query loop grids turn are not too narrow on small screens */
	.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li,
	.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li,
	.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li,
	.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li   {
	    width: 100%;
	}
}
@media (min-width: 768px) {
	/* Smaller font sizes for Blog titles in columns */
	.wp-block-post-template.is-flex-container:not(.columns-2) .wp-block-post .wp-block-post-title {
		font-size: var(--wp--preset--font-size--large);
	}
}

/* Headings with Icon */
h1 img, h2 img, h3 img, h4 img {
	vertical-align: middle;
}

/* Page Titles */
.page-title {
	border-bottom: solid 2px var(--wp--custom--color--shade);
	padding-bottom: calc( var(--wp--preset--spacing--normal) * 0.5 );
}

/*** Additional classes ***/
/* Restrict width of content */
.content-width {
	width: var(--wp--style--global--content-size);
}
.sidebar .wp-block-latest-posts__list a,
.sidebar .wp-block-categories-list a,
.sidebar .wp-block-tag-cloud a {
	text-decoration: none;
}
.sidebar .wp-block-latest-posts__list a:hover,
.sidebar .wp-block-categories-list a:hover,
.sidebar .wp-block-tag-cloud a:hover {
	text-decoration: underline;
}

.wp-block-gallery img {
    border: 2px solid #cfcfcf;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.shadow img {
	-moz-box-shadow: 3px 4px 5px rgba(1,2,2,.16);
    -webkit-box-shadow: 3px 4px 5px rgba(1,2,2,.16);
    box-shadow: 3px 4px 5px rgba(1,2,2,.16);
}
.boxed {
    text-align: center;
    padding: 10px;
    background-color: #fff;
    border: solid 1px #d9e0e6;
    border-bottom-color: #c8cdd2;
    border-right-color: #c8cdd2;
}

/* 842 = content-width + root-padding x 2 ie 824 + 18 x 2 */
@media (min-width: 860px) {
	/* Handling floating images outside of a group */
	.entry-content.is-layout-constrained > .wp-block-image.alignleft {
		margin-left: calc(50% - var(--wp--style--global--content-size) / 2);
	}
	.entry-content.is-layout-constrained > .wp-block-image.alignright {
	    margin-right: calc(50% - var(--wp--style--global--content-size) / 2);
	}
}

/*** Patterns ***/

/* Blog; Block-post; Query Loop */
.pretty-posts .wp-block-post .wp-block-post-title {
	font-family: var(--wp--custom--font-body);
	font-weight: 400;
}
.pretty-posts .wp-block-post a {
    transition: all 0s;
}
.pretty-posts .wp-block-post:hover .wp-block-cover__background {
	background-color: rgba(102, 102, 102, 0.5)!important;
}
.pretty-posts .wp-block-post .entry-meta,
.pretty-posts .wp-block-post .wp-block-post-terms__separator {
	color: var(--wp--preset--color--primary);
	font-weight: 400;
}
.pretty-posts .wp-block-post:hover a, .pretty-posts .wp-block-post:hover .entry-meta,
.pretty-posts .wp-block-post:hover .wp-block-post-terms__separator {
	color: white;
}
.pretty-posts .wp-block-post {
	position: relative;
	overflow: hidden;
}
.pretty-posts .wp-block-read-more {
	font-family: var(--wp--custom--font-heading);
    font-weight: 300;
	font-size: 0.8rem;
	line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
	background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    display: block;
    padding: 10px;
    z-index: 1;
	margin: 0 !important;
    position: absolute;
    bottom: 0;
    right: 0;
}
/* Whole cover image as link */
.wp-block-read-more.coverlink {
	position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
	max-width: var(--wp--style--global--wide-size);
    color: transparent !important;
    background: transparent;
}
@media (min-width: 1200px) {
	.pretty-posts .wp-block-read-more:not(.coverlink) {
	    background: rgba(0, 0, 0, 0.6);
	    color: #f6f7f7;
	    font-weight: 400;
		font-size: 0.75rem;
	    line-height: 2;
	    display: flex;
	    flex-direction: column;
	    justify-content: center;
		text-align: center;
	    padding: 5px 20px;
	    position: absolute;
	    height: 100%;
	    top: 0;
	    left: -100px;
		bottom: auto;
		right: auto;
	    transition: left 0.25s ease-in-out;
	    width: 100px;
	}
	.pretty-posts .wp-block-post:hover .wp-block-read-more {
	    left: 0;
	    transition: left 0.25s ease-in-out;
	}
	.pretty-posts .wp-block-post .wp-block-post-terms, .pretty-posts .wp-block-post .wp-block-post-title {
		position: relative;
	    top: 15px;
	    transition: all 0.25s ease-in-out;
	}
	.pretty-posts .wp-block-post:hover .wp-block-post-terms, .pretty-posts .wp-block-post:hover .wp-block-post-title {
		position: relative;
	    top: 0;
	    transition: all 0.25s ease-in-out;
	}
	.pretty-posts .wp-block-post .entry-meta {
		opacity: 0;
		position: relative;
		top: 20px;
		transition: all 0.35s ease-in-out;
	}
	.pretty-posts .wp-block-post:hover .entry-meta {
		opacity: 1;
	    top: -10px;
	    transition: all 0.35s ease-in-out 0.1s;
	}
	.pretty-posts .wp-block-post .wp-block-cover__inner-container {
		padding-left: var(--wp--preset--spacing--large);
	}
	/* No left-padding when posts are in columns */
	.pretty-posts.wp-block-post-template.is-flex-container:not(.columns-2) .wp-block-post .wp-block-cover__inner-container {
		padding-left: 0;
	}
	/* Reposition read-more when posts are in columns */
	.pretty-posts.wp-block-post-template.is-flex-container .wp-block-read-more:not(.coverlink) {
	    height: 40px;
	    top: auto;
	    left: -0;
		bottom: -40px;
		right: auto;
        transition: bottom 0.25s ease-in-out;
    	width: 100%;
	}
	.pretty-posts.wp-block-post-template.is-flex-container .wp-block-post:hover .wp-block-read-more:not(.coverlink) {
	    bottom: 0;
        transition: bottom 0.25s ease-in-out;
	}
}


/* Subtitle */
.entry-subtitle {
	color: var(--wp--preset--color--primary);
	/*font-size: clamp(1.3rem, 1.3rem + ((1vw - 0.48rem) * 0.769), 1.6rem);
	font-size: var(--wp--preset--font-size--medium);  */
}

/* Entry Meta */
.entry-meta {
	font-family: var(--wp--custom--font-heading);
	color: var(--wp--preset--color--secondary);
	font-weight: 600;
}

/* Lead Para */
.lead-para {
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
	font-family: var(--wp--custom--font-heading);
}

/* Override for mobile header
@media (max-width:599px) {
	header div:last-child {
		margin-top: var(--wp--preset--spacing--small) !important;
	}
}
*/

/* Page Specific Styles */
/* Sitemap */
.sitemap, .sitemap ul {
	list-style: none;
}
.sitemap > li > a {
	font-weight: 600;
	font-size: var(--wp--preset--font-size--medium);
}
.sitemap > li {
	margin-top: 6px;
	margin-bottom: 6px;
}
/* FAQs */
.qa-faq-title {
    font-family: Open Sans, Arial, sans-serif;
	margin-top: var(--wp--preset--spacing--normal);
}
.qa-faq-title a {
    text-decoration: underline;
}
.qa-faq-title a:hover {
    text-decoration: none;
}
.page-faq #main h2, .page-faq-2 #main h2 {
	margin-top: var(--wp--preset--spacing--medium);
}
.wp-block-details :nth-child(2) {
	margin-top: calc( var(--wp--preset--spacing--normal) * 0.5 );
}

/* Remove these styles when page is redone in block editor */
.top, a[href="#page"]  {
	text-align: right;
	font-size: 80%;
	clear: both;
	display: block;
	padding-right: 16px;
	background: url(images/up.gif) 100% center no-repeat;
}
.page-yarnupings-newsletter h2 {
	clear: both;
	padding-top: var(--wp--preset--spacing--normal);
}
.page-yarnupings-newsletter .entry-content {
	max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
}
.page-yarnupings-newsletter .entry-content:after {
    content: "";
    display: table;
    clear: both;
}
#apology {
	clear: both;
	width: 700px;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 30px 30px 10px;
	margin-top: 2em;
	color: #0e0e0e;
	border: solid 1px #bbb;
	font-style: italic;
}
#apology h3 {
	margin-bottom: 20px;
}
#apology h3 {
	text-align: center;
	font-size: 120%;
}
/* Reading List */
.page-readinglist .entry-content cite {
    font-weight: bold;
    }
.page-readinglist .entry-content ul {
    list-style: none;
    margin-left: 0;
    }
.page-readinglist .entry-content li {
    margin-bottom: 20px;
    padding-left: 26px;
    background: url(images/book.gif) 0 4px no-repeat;
    }
.page-readinglist .entry-content li img {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    }
/* Links */
.page-links .entry-content ul {
	   list-style: none;
	   }
.page-links .entry-content li {
	   margin-top: 1em;
 	   padding: 0 0 0 90px;
	   min-height: 50px;
	   display: block;
	   }
.page-links .entry-content li#nswalc {
		background: url(/images/logonswalc.jpg) 0 0 no-repeat;
		}
.page-links .entry-content li#metrolalc {
		background: url(/images/logometrolalc.jpg) 0 0 no-repeat;
		}
.page-links .entry-content li#daa {
		background: url(/images/logobndaa.gif) 0 0 no-repeat;
		}
.page-links .entry-content li#npws {
		background: url(/images/logonpws.jpg) 6px 0 no-repeat;
		}
.page-links .entry-content li#asg {
		background: url(/images/logoasg.gif) 0 0 no-repeat;
		}
.page-links .entry-content li#myths {
		background: url(/images/myths.gif) 0 10px no-repeat;
		}
.page-links .entry-content li#duffysforest {
		background: url(/images/logoduffysforest.jpg) 0 6px no-repeat;
		}
.page-links .entry-content li#cam {
		background: url(/images/Cameraygal.jpg) 15px 0 no-repeat;
		}
.page-links .entry-content li#adobe {
		background: url(/images/getacro.gif) 0 15px no-repeat;
		}
.page-links .entry-content td {
		text-align: center;
      vertical-align: middle;
		}
.page-downloads1 .entry-content ul {
    list-style: none;
    margin-left: 0;
    }
.page-downloads1 .entry-content li {
    padding-bottom: 10px;
    padding-left: 26px;
    background: url(/images/pdf_logo.gif) 0 6px no-repeat;
    }
/* Sites Identification */
.page-identification .entry-content {
	max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
}
@media (min-width:768px) {
	#sitelist {
		float: right;
	    border: solid 2px #ea8f00;
	    border-right: solid 2px #da7f00;
	    border-bottom: solid 2px #da7f00;
		padding: 10px 10px 0;
		margin-bottom: 20px;
		margin-left: 40px !important;
		}
}
ul.sites {
	list-style-type: circle;
	list-style-image : url(images/minifeet.gif);
	vertical-align: bottom;
	margin-left: 1.5em;
	margin-right: 2em;
	font-size: 95%;
 	}
.sites li {
	padding-left: 0.5em;
	margin-top: 0.5em;
	}
.page-legislation .entry-content h2,
.page-legislation .entry-content h3 {
	font-family: var(--wp--custom--font-body);
}
.page-history .entry-content {
	max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
}
.page-history .entry-content h6 {
	text-transform: none;
	font-size: 12px;
}
.page-clans-of-sydney .entry-content {
	overflow: auto;
}

/* Language */
.page-language td {
	vertical-align: top;
}
.page-language dl {
    margin-left: 30px;
	margin-bottom: 40px;
    }
.page-language dt {
    float: left;
    font-style: italic;
    font-weight: normal;
    clear: both;
    }
.page-language dd {
    margin-left: 120px;
    }
.page-language h3 {
    padding-left: 30px;
    padding-top: 2px;
    }
.page-language h3#elements {
    background: url(/images/sunshine_orange_24.gif) top left no-repeat;
    }
.page-language h3#location {
    background: url(/images/moon_242.gif) top left no-repeat;
    }
.page-language h3#physical {
    background: url(/images/physical_24.gif) top left no-repeat;
    }
.page-language h3#flag {
    background: url(/images/aboriginalflag.gif) center left no-repeat;
    }
.page-language h3#places {
    background: url(/images/megalith_green_24.gif) top left no-repeat;
    }
@media (max-width: 599px) {
	.page-language td {
		display: block;
	    }
	.page-language td ul {
		margin: 0;
	    }
}
/* What's On */
table#what td, table#what th {
	padding: 10px 6px;
}
table#what td {
	font-size: 0.875rem;
	line-height: 1.5;
    word-break: break-word;
}
table#what h3 {
	font-size: clamp(1rem, 1rem + ((1vw - 0.2rem) * 1.07), 1.3rem);
	margin: 6px 0 10px;
}
table#what td:first-child {
	width: 100px;
}
table#what td:last-child {
	width: 130px;
}
table#what {
	border-color: var(--wp--preset--color--primary);
	border-collapse: collapse;
}
h1.whatson {
	margin-top: 0;
}

@media(max-width:699px) {
	table#what td {
	    display: block;
	    border: none;
	    width: 100%;
	}
	table#what td:first-child {
	    border-top: solid 1px grey;
	    width: 100%;
	}
	table#what tbody tr:first-child td:first-child {
	    border-top: none;
	}
	table#what td:last-child {
	    width: 100%;
	}
	table#what thead {
	    display: none;
	}
}
@media(max-width:479px) {
	.whatson-select {
		display: none;
	}
}

.wp-caption {
    text-align: center;
    padding: 10px;
    background-color: #fff;
    border: solid 1px #d9e0e6;
    border-bottom-color: #c8cdd2;
    border-right-color: #c8cdd2;
	max-width: 100%;
}
.wp-caption-text {
	font-size: 14px;
}

#timelist {
	float: right;
	padding: 10px 10px 0;
    border: solid 2px #ddd;
    border-right: solid 2px #bbb;
    border-bottom: solid 2px #bbb;
	margin: 0 -20px 20px 40px;
	}
/*

ul.years 	{
		list-style-type: circle;
		list-style-image : url(/images/minifeet.gif);
		vertical-align: bottom;
		margin-left: 1.5em;
		margin-right: 2em;
		font-size: 95%;
	 	}
ul.years 	{
		margin-right: 0;
	 	}
.years li {
		padding-left: 0.5em;
		margin-top: 0.5em;
		}  ^/

/* Shadows by default */
.page-identification .entry-content img,
.page-museum .entry-content img,
.page-yarnupings-newsletter .entry-content img,
.page-services .entry-content img,
.page-staff .entry-content img,
.page-volunteers .entry-content img {
	-moz-box-shadow: 3px 4px 5px rgba(1,2,2,.16);
    -webkit-box-shadow: 3px 4px 5px rgba(1,2,2,.16);
    box-shadow: 3px 4px 5px rgba(1,2,2,.16);
}

/* Classic editor corrections */
iframe {
	display: block;
}
@media (max-width: 639px) {
	iframe {
		max-width: 100% !important;
	}
}
p img, li img {
    max-width: 100%;
	height: auto;
}
figure.wp-caption {
	max-width: 100%;
}
p .aligncenter, p > iframe, .vid > iframe {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
blockquote:not(.wp-block-quote) {
    font-style: oblique;
	padding-left: 40px;
	padding-right: 40px;
}
/*
p .alignleft, p .alignright,
h2 > .alignleft, h2 > .alignright,
h3 > .alignleft, h3 > .alignright,
li .alignleft, li .alignright  {
	display: block;
	margin-bottom: var(--wp--preset--spacing--normal);
}

@media (min-width: 600px) {
	p .alignleft,
	p > a > .alignleft,
	h2 > .alignleft,
	h3 > .alignleft,
	li .alignleft {
		display: inline;
	    float: left;
	    margin-right: 20px;
		margin-bottom: 6px;
	}
	p .alignright,
	p > a > .alignright,
	h2 > .alignright,
	h3 > .alignright,
	li .alignright {
		display: inline;
	    float: right;
	    margin-left: 20px;
		margin-bottom: 6px;
	}
}
*/

/* Fix for Meow Gallery Mobile */
@media (max-width:460px) {
	.mgl-tiles .mgl-row .mgl-box .mgl-item .mgl-icon,
	.mgl-tiles .mgl-row .mgl-box .mgl-item .mgl-icon img {
		position: relative !important;
	}
	.mgl-row {
		display: block !important;
		height: auto !important;
	}
}

/* Classic Menu styles */
.menu-toggle, .nav-close {
	display: none;
}
.wp-classic-menu-block.top-menu {
    margin-top: 0;
	width: 100%;
	background-color: #EA8F00;
	padding-left: 25px;
}
.wp-classic-menu-block.top-menu > .menu li {
	padding-right: 0;
}
.wp-classic-menu-block.top-menu > ul:after {
    content: "";
    display: table;
    clear: both;
}
.top-menu li {
	background-color: #EA8F00;
	border-left: solid 1px #ffffff;
	border-top: solid 1px #EA8F00;
	border-bottom: solid 1px #EA8F00;
    float: left;
    margin: 0;
    padding: 0;
}
.top-menu li:first-child {
	border-left: 0;
}
.top-menu a	{
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 6px 15px;
	font-size: var(--wp--preset--font-size--x-small);
    font-weight: 600;
}
.top-menu a:hover,
.top-menu .current-menu-item a,
.top-menu .current-menu-ancestor a {
    background: #ffffff;
    color: #EA8F00
}
.home .top-menu .current-menu-item a,
.home .top-menu .current-menu-ancestor a {
    background-color: #EA8F00;
    color: #ffffff;
}
.top-menu .current-menu-item .sub-menu a,
.top-menu .current-menu-parent .sub-menu a,
.top-menu .current-menu-ancestor .sub-menu a {
    background-color: #EA8F00;
    color: #ffffff;
}
.top-menu .current-menu-item .sub-menu a:hover,
.top-menu .current-menu-parent .sub-menu a:hover,
.top-menu .current-menu-ancestor .sub-menu a:hover,
.top-menu .current-menu-parent .sub-menu .current-menu-item a,
.top-menu .current-menu-ancestor .sub-menu .current-menu-item a {
  	background: #ffffff;
    color: #EA8F00;
}
.top-menu li ul, .top-menu li ul ul  {
	background-color: #EA8F00;
	height: auto;
	width: 15em;
	font-weight: normal;
}
.top-menu li li  {
	float: none;
	border-left: 0;
}
@media (max-width: 1023px) {
	.wp-classic-menu-block.top-menu {
		padding-left: 0;
	}
}
@media (min-width: 920px) and (max-width: 999px) {
    .wp-classic-menu-block.top-menu a {
		padding-right: calc(var(--wp--preset--spacing--small) * 0.5);
    	padding-left: calc(var(--wp--preset--spacing--small) * 0.5);
    }
}
@media (min-width:920px) {
	.wp-classic-menu-block.top-menu .sub-menu {
		z-index: 6;
	}
}
@media only screen and (max-width: 919px) {
   .menu-toggle {
	   	padding: 6px 10px;
	   	font-size: 14px;
	   	line-height: 1.4;
	   	font-weight: normal;
	   	color: #fff;
	    background-color: #EA8F00;
	   	border: 1px solid #d2d2d2;
	   	border-radius: 3px;
	   	box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
	    cursor: pointer;
	    display: inline-block;
		margin-top: 0;
   }
   .menu-toggle:hover,
   .menu-toggle.toggled-on {
	   	color: #fff;
	   	background-color: #444;
   }
   #nav {
      text-align: center;
      background: none;
   }
   .top-menu {
      text-align: left;
      background-color: #EA8F00;
   }
   .wp-classic-menu-block.top-menu li {
      line-height: 1.4;
      float: none;
      border: none;
      display: list-item;
      border-top: solid 1px #ffffff;
   }
    .wp-classic-menu-block.top-menu > .menu > li:first-child {
        border-top: 0;
    }
    .top-menu a {
        font-size: 16px;
		padding-left: 0;
    }
    .wp-classic-menu-block {
    	display: none;
        padding: 0;
    }
    .wp-classic-menu-block.toggled-on {
    	display: block;
    	position: absolute;
		width: 90%;
		top: 0;
		right: 0;
		padding: 80px 20px 20px;
		z-index: 1;
    }
    .wp-classic-menu-block.top-menu.toggled-on .menu,
	.wp-classic-menu-block.top-menu.toggled-on .sub-menu {
    	display: block;
		position: relative;
		width: auto;
		left: auto;
    }
    .wp-classic-menu-block.top-menu .menu ul {
        margin-left: 30px;
    }
	.wp-classic-menu-block.toggled-on .nav-close {
		display: block;
		text-align: right;
		color: #ffffff;
		cursor: pointer;
	}
}