/*
Theme Name: North Huish Parish Press
Author: TTA Grevatt
Author URI: http://www.tristramgrevatt.co.uk
Description: A bespoke theme for a parish council.
Version: B1.3
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

/* 
Colours
Dark green: #2a4603
Mid Green: #636e2b
Light green: #eff0e3
Acid green: #85de09
Beige: #f3ede5 
Light Grey: #ededed;
Mid Grey: #ccc;
Dark Grey: #444;
*/

/* Import local fonts */
/* sarabun-500 - latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Sarabun";
    font-style: normal;
    font-weight: 500;
    src:
        url("fonts/sarabun-v15-latin-ext-500.woff2") format("woff2"),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url("fonts/sarabun-v15-latin-ext-500.ttf")
            format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* sarabun-500italic - latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Sarabun";
    font-style: italic;
    font-weight: 500;
    src:
        url("fonts/sarabun-v15-latin-ext-500italic.woff2") format("woff2"),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url("fonts/sarabun-v15-latin-ext-500italic.ttf")
            format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* sarabun-800 - latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Sarabun";
    font-style: normal;
    font-weight: 800;
    src:
        url("fonts/sarabun-v15-latin-ext-800.woff2") format("woff2"),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url("fonts/sarabun-v15-latin-ext-800.ttf")
            format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* sarabun-800italic - latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Sarabun";
    font-style: italic;
    font-weight: 800;
    src:
        url("fonts/sarabun-v15-latin-ext-800italic.woff2") format("woff2"),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url("fonts/sarabun-v15-latin-ext-800italic.ttf")
            format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

:root {
    --darkgreen: #2a4603;
    --midgreen: #636e2b;
    --lightgreen: #eff0e3;
    --acidgreen: #85de09;
    --acidgreen70: #bce357;
    --beige: #f3ede5;
    --lightgrey: #ededed;
    --midgrey: #ccc;
    --darkgrey: #444;
}

html {
    font-size: 1rem;
    letter-spacing: 0.02em;
    word-break: break-word;
}

@media (min-width: 40.0625em) {
    html {
        font-size: 1.125em;
    }
}

* {
    box-sizing: border-box;
}

* {
    font-family: "Sarabun", sans-serif;
}

#skip a {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#skip a:focus {
    position: static;
    width: auto;
    height: auto;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    position: absolute;
}

.row > * {
    font-size: 1rem;
}

a {
    color: var(--midgreen);
}

a:hover {
    text-decoration-thickness: 0.2em;
}

a:active,
a:focus {
    background: var(--acidgreen);
    color: #000;
}

a[href$=".pdf"]::after {
    content: " (PDF)";
}

.nhpc-meeting-main__details a[href$=".pdf"]::after {
    content: none;
}

button,
.button,
input[type="submit"] {
    background-color: var(--midgreen);
    border: none;
    border-radius: 2px;
    padding: 0.5em;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
}

button:hover,
.button:hover,
input[type="submit"]:hover {
    background-color: var(--darkgreen);
}

button:active,
.button:active,
input[type="submit"]:active {
    background-color: var(--acidgreen);
}

input[type="text"],
input[type="password"],
input[type="textarea"] {
    font-size: 1rem;
    padding: 0.25em;
    border: 2px solid #000;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="textarea"]:focus {
    outline: 3px solid var(--acidgreen);
    outline-offset: 0;
}

input[type="checkbox"] {
    width: 2em;
    height: 2em;
    border: 2px solid #000;
    border-radius: 0;
    margin-left: 0;
}

label {
    display: block;
}

.nhpc-body {
    margin: 0;
    background-color: #fff;
}

.nhpc-header {
    border-top: 20px solid var(--darkgreen);
    background-color: var(--lightgreen);
}

.nhpc-top-nav {
    background-color: #fff;
}

.nhpc-main {
    border-top: 4px solid var(--midgreen);
    padding-bottom: 2rem;
}

.nhpc-footer {
    border-top: 4px solid var(--midgreen);
    background-color: var(--lightgreen);
    /*color: #fff;*/
}

.nhpc-header__logo {
    height: 90px;
}

.nhpc-header__logo .nhpc-logotype {
    margin: 10px 0;
}

.nhpc-logotype path {
    fill: var(--darkgreen);
    fill-rule: evenodd;
}

.nhpc-logotype:hover path {
    fill: var(--midgreen);
    fill-rule: evenodd;
}

.nhpc-header__logo a {
    height: 90px;
    display: inline-block;
    margin: 0 -1em;
    padding: 0 1em;
}

/* Main menu */

#topmenu h2 {
    border-bottom: 1px solid var(--midgrey);
    padding-bottom: 1rem;
}

.nhpc-header-menu ul {
    list-style: none;
    padding: 0;
}

.nhpc-header-menu ul li {
    padding: 0 1em 1em 0;
    width: 100%;
    display: flex;
}

.nhpc-header-menu-1 ul {
    column-count: 1;
}

.bar1,
.bar2,
.bar3 {
    width: 21px;
    height: 3px;
    background-color: var(--darkgreen);
    margin: 4px 0;
    transition: 0.4s;
    display: block;
}

.open .bar1 {
    transform: translate(0, 7px) rotate(-45deg);
}

.open .bar2 {
    opacity: 0;
}

.open .bar3 {
    transform: translate(0, -7px) rotate(45deg);
}

.toggle-symbol,
toggle-title {
    display: block;
    float: left;
}

.toggle-title {
    font-size: 1em;
    margin-left: 0.5em;
}

.nhpc-nav__toggle {
    position: relative;
}

.nhpc-nav__button,
.nhpc-nav__button:hover,
.nhpc-nav__button:active {
    height: 70px;
    margin: 0;
    border-radius: 0;
    background: none;
    color: var(--darkgreen);
    padding: 0.5em 1em;
}

.button-space {
    height: 70px;
}

#icon-search {
    margin-bottom: -7px;
}

.nhpc-nav__button.search {
    width: 60px;
}

.nhpc-nav__button.open {
    background-color: #fff;
}

.nhpc-top-nav #topmenu,
.nhpc-top-nav #searchblock {
    display: none;
}

.nhpc-top-nav #searchblock {
    border-bottom: 1px solid var(--midgrey);
    margin-bottom: -1px;
}

@media screen and (min-width: 530px) {
    .nhpc-header-menu-1 ul {
        column-count: 2;
    }

    .nhpc-nav__button.search,
    .nhpc-nav__button.search:hover,
    .nhpc-nav__button.search:active {
        width: 60px;
        height: 90px;
        position: absolute;
        right: 20px;
        top: -90px;
    }

    .nhpc-nav__button.menu,
    .nhpc-nav__button.menu:hover,
    .nhpc-nav__button.menu:active {
        height: 90px;
        position: absolute;
        right: 81px;
        top: -90px;
    }

    .button-space {
        height: 50px;
        border-left: 1px solid var(--midgrey);
        position: absolute;
        right: 80px;
        top: -70px;
    }

    .nhpc-nav__button.search .search-symbol svg {
        margin-top: 3px;
    }

    #icon-search {
        margin-bottom: 0;
    }
}

.nhpc-nav__button.search .search-symbol path {
    fill: var(--darkgreen);
    fill-rule: evenodd;
}

@media (hover: hover) {
    #menutoggle:hover,
    #searchtoggle:hover {
        background-color: #fff;
    }
}

/*Footer menus */

.nhpc-footer .row > * {
    font-size: 1rem;
}

.nhpc-footer__menu ul {
    padding: 0;
    list-style: none;
}

.nhpc-footer__menu ul li {
    line-height: 1.25;
    padding: 0.4em 0;
}

.nhpc-footer .nhpc-footer__copyright p:first-child {
    border-top: 1px solid var(--midgreen);
    padding-top: 1em;
}

.nhpc-footer .nhpc-footer__copyright .footer-credit {
    margin-left: 1em;
    display: inline-block;
}

/*Page styles */

pre,
pre > * {
    font-family: monospace;
    letter-spacing: 0;
}

.nhpc-alert-row {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #b1b4b6;
}

.nhpc-tag {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.25;
    display: inline-block;
    max-width: 160px;
    margin-top: -2px;
    margin-bottom: -3px;
    margin-right: 10px;
    padding: 2px 8px 3px;
    color: var(--darkgreen);
    background-color: var(--lightgreen);
    text-decoration: none;
    overflow-wrap: break-word;
}

/* - Headings */
h1 {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.0416666667;
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
}

@media (min-width: 40.0625em) {
    h1 {
        font-size: 2rem;
        line-height: 1.1111111111;
    }
}

h2 {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.1111111111;
    display: block;
    margin-top: 2em;
    margin-bottom: 0;
}

h2:first-child,
summary + h2 {
    margin-top: 1rem;
}

@media (min-width: 40.0625em) {
    h2 {
        font-size: 1.5rem;
        line-height: 1.25;
        margin-bottom: 0;
    }
}

h3 {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.25;
    display: block;
    margin-top: 2em;
    margin-bottom: 0;
}

h3:first-child,
summary + h3 {
    margin-top: 1rem;
}

@media (min-width: 40.0625em) {
    h3 {
        font-size: 1.1875rem;
        line-height: 1.3157894737;
        margin-bottom: 0;
    }
}

h4 {
    font-style: italic;
}

.nhpc-title--subhead {
    font-size: 0.75em;
    color: var(--darkgrey);
    display: block;
    font-weight: normal;
}

.nhpc-title-strip {
    background-color: var(--beige);
}

/* - Accordion */
details {
    border-top: 1px solid var(--darkgrey);
    border-right: none;
    border-bottom: 1px solid var(--darkgrey);
    border-left: none;
    padding: 0;
    background: white;
}

details + details {
    border-top: none;
}

details[open] {
    padding-bottom: 1em;
}

summary::-webkit-details-marker {
    display: none;
}

summary {
    list-style: none;
    padding: 1rem 4em 1rem 0;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}

details[open] summary {
    border-bottom: 1px solid var(--midgrey);
}

summary:focus {
    font-style: italic;
}

summary:focus-visible {
    font-style: italic;
}

details[open] > summary::after {
    transform: rotate(-135deg) translatey(-0.3em);
}

details > div {
    padding: 1em;
    border: 1px solid;
    border-top: 0;
}

.nhpc-chevron {
    box-sizing: border-box;
    display: inline-block;
    position: absolute;
    top: 1em;
    right: 0;
    width: 1.25rem;
    height: 1.25rem;
    border: 0.0625rem solid var(--midgreen);
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 0;
}

.nhpc-chevron::before {
    content: "";
    box-sizing: border-box;
    display: block;
    position: absolute;
    bottom: 0.3125rem;
    left: 0.375rem;
    width: 0.375rem;
    height: 0.375rem;
    transform: rotate(-45deg);
    border-top: 0.125rem solid;
    border-right: 0.125rem solid;
    border-color: var(--midgreen);
}

.nhpc-accordion-show {
    position: absolute;
    right: 1.5rem;
    font-weight: normal;
    color: var(--midgreen);
    font-size: 0.8em;
    line-height: 1.75em;
    margin-right: 0.25em;
}

details summary:hover {
    background-color: var(--lightgrey);
}

details .nhpc-chevron {
    transform: rotate(180deg);
}

details[open] .nhpc-chevron {
    transform: rotate(0);
}

details .nhpc-accordion-show::before {
    content: "Show";
}

details[open] .nhpc-accordion-show::before {
    content: "Hide";
}

.nhpc-audio audio {
    margin-top: 1em;
}

.nhpc-meeting-main {
    padding-bottom: 1rem;
}

.section-toc {
    list-style: none;
    padding: 0 0 1em 0;
    columns: 3;
    font-size: 0.8em;
    border-bottom: 1px solid var(--midgrey);
    margin-bottom: 0;
}

.section-toc li {
    margin-bottom: 0.5em;
}

.section-toc li a {
    min-height: 24px;
    display: inline-block;
}

/* Meeting archive pages and loop */
.nhpc-archive-meetings__section {
    border-top: 4px solid var(--midgreen);
}

.nhpc-archive-meetings__section:first-of-type {
    border-top: none;
}

.nhpc-archive-meetings__section__docs {
    padding: 0;
    list-style: none;
}

.nhpc-archive-meetings__section__docs li {
    padding: 0 0 1em 0;
}

ul.tax-values {
    list-style: none;
    font-size: 24px;
    font-weight: 700;
    display: block;
    clear: right;
    float: left;
}

ul.tax-values {
    margin: 0px;
    padding: 0px;
    width: 100%;
}

ul.tax-values li {
    list-style: none;
    font-size: 0.8em;
    font-weight: normal;
    display: block;
    float: left;
    line-height: 3rem;
    margin-right: 1em;
}

ul.tax-values li a {
    background-color: var(--lightgreen);
    color: #000;
    padding: 10px 10px;
    margin: 0px;
    transition-duration: 0.25s, 0.25s, 0.25s;
    transition-property: border, color, background-color;
}

ul.tax-values li a:hover,
ul.tax-values li a:active,
ul.tax-values li.current-tax a {
    background-color: var(--midgreen);
    color: #fff;
}

.row.nhpc-archive-meetings__tags > *:last-child > *:last-child {
    border-bottom: 1px solid var(--darkgrey);
    padding-bottom: 1em;
}

/* Pagination */

.navigation.pagination h2 {
    display: none;
}

#pagination {
    padding: 1em 0;
}

.pagination .page-numbers {
    display: inline-block;
    min-width: 45px;
    min-height: 45px;
    padding: 0.5rem 0.8rem;
    border: none;
    text-align: center;
}

.page-numbers.current {
    background-color: var(--midgreen);
    color: #fff;
    font-weight: bold;
}
.pagination .page-numbers:hover {
    background-color: #ddd;
    color: inherit;
}

.page-numbers.current:hover {
    background-color: var(--midgreen);
    color: #fff;
    font-weight: bold;
}

.pagination .page-numbers.prev::before {
    content: "";
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23555" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><path d="m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z"></path></svg>');
    background-size: cover;
    width: 18px;
    height: 18px;
    display: inline-block;
    margin: 0.2em 0.5em -0.3em 0.2em;
}

.pagination .page-numbers.next::after {
    content: "";
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23555" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><path d="m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z"></path></svg>');
    background-size: cover;
    width: 18px;
    height: 18px;
    display: inline-block;
    margin: 0.2em 0.2em -0.3em 0.5em;
}

.pagination .page-numbers.prev {
    font-weight: bold;
    padding: 0.5rem 0.8rem 0.5rem 0;
}

.pagination .page-numbers.next {
    font-weight: bold;
    padding: 0.5rem 0 0.5rem 0.8rem;
}

/* Person */

.nhpc-people__person {
    background: var(--beige);
    text-align: center;
    padding: 1em;
    margin: 1em 0;
}

.council-pic {
    border-radius: 75px;
    max-width: 100%;
}

dl.nhpc-people__person {
    margin: 0;
}

dl.nhpc-people__person .name {
    font-size: 1.5rem;
    font-weight: bold;
}

dl.nhpc-people__person .position {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 1em;
}

dl.nhpc-people__person dd {
    margin: 0;
}

dl.nhpc-people__person .responsibilities {
    margin-top: -1em;
    margin-bottom: 1em;
}

.nhpc-people__person__roi {
    text-align: left;
}

.nhpc-people__person__roi summary {
    font-size: 1rem;
    font-weight: normal;
}

.nhpc-people__person__roi {
    background: inherit;
}

.nhpc-people__group h2 {
    border-top: 4px solid var(--midgreen);
    padding-top: 1rem;
}

/* Home page links as menus */

#menu-parish-council-home-page-links {
    padding: 0;
    font-size: 0;
}

.nhpc-home-links__list .menu-description {
    margin-top: 0.5em;
}

#menu-parish-council-home-page-links h3 {
    border-top: 1px solid #ccc;
    padding-top: 1rem;
    margin: 0 0 0.5em 0;
}

#menu-parish-council-home-page-links li {
    margin-bottom: 2rem;
    font-size: 1rem;
}

#menu-county-council-links,
#menu-district-council-links {
    list-style: none;
    padding: 0;
}

#menu-district-council-links li,
#menu-county-council-links li {
    font-weight: bold;
    line-height: 1.25em;
    padding: 0.5em 0;
}

@media (min-width: 40.0625rem) {
    #menu-county-council-links,
    #menu-district-council-links {
        columns: 3;
    }
}

/* Home page styles */

.nhpc-home h2 {
    margin: 1rem 0;
}

.parish-council__intro p:first-child {
    margin-top: 0;
}

.nhpc-home #parish-council {
    margin-top: 1em;
}

img.parish-council__featured-img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    aspect-ratio: 6/4;
    object-fit: cover;
}

.parish-council__key-section h2,
.parish_council__notices-section .nhpc-notices h2 {
    border-top: 4px solid var(--midgrey);
    margin-top: 0;
    padding-top: 1rem;
}

.nhpc-notices {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 30px;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 40.0625rem) {
    .home-page .nhpc-notices {
        grid-template-columns: 1fr 1fr;
    }
}

.nhpc-notices__single {
    border-top: 1px solid #ccc;
}

.nhpc-notices__single h3 {
    margin: 0.77778rem 0;
}

.nhpc-notices h2 {
    grid-column: 1/-1;
    margin: 1rem 0 -12px 0;
}

.nhpc-notices .notice-dates,
.nhpc-notices .notice-context {
    font-size: 0.888889em;
    color: var(--darkgrey);
    display: block;
}

.nhpc-notices .notice-context {
    margin-top: 0.77778rem;
    margin-bottom: -0.77778rem;
}

/* Single notice page */

#main-content.nhpc-notice .notice-intro {
    border-bottom: 1px solid var(--darkgrey);
    width: 100%;
    display: block;
    padding: 1rem 0;
}

#main-content.nhpc-notice .notice-context {
    font-weight: bold;
}

/* Single Person page */

.nhpc-people__person-page .nhpc-people__person {
    background: none;
    text-align: left;
    padding: 0;
    margin: 0;
}

.nhpc-people__person-page .inline-title {
    display: inline-block;
    min-width: 7.5rem;
}

.nhpc-people__person-page section {
    padding: 1rem 0;
}

.nhpc-people__person-page .council-pic {
    border-radius: 0;
    max-width: 100%;
}

/* dividers */

hr,
.light-divider {
    border: solid #ccc;
    border-width: 1px 0 0 0;
}

.light-divider-thick {
    border: solid var(--midgrey);
    border-width: 4px 0 0 0;
}

.border-divider {
    border: solid var(--midgreen);
    border-width: 4px 0 0 0;
    margin-top: 2rem;
}

.bright-divider {
    border: solid var(--lightgreen);
    border-width: 4px 0 0 0;
    margin-top: 2rem;
}

/* Blockquotes */
blockquote {
    margin: 1em 0;
    padding: 1em;
    background: var(--lightgreen);
}

blockquote p:first-child {
    margin-top: 0;
}

blockquote p:last-child {
    margin-bottom: 0;
}

/* tables */
.nhpc-main table {
    color: #0b0c0c;
    border-spacing: 0;
    border-collapse: collapse;
    border: 0;
    width: 100% !important;
}

.nhpc-main table td,
.nhpc-main table th {
    padding: 10px 20px 10px 0;
    border: 0;
    border-bottom: 1px solid var(--midgrey);
    text-align: left;
    vertical-align: top;
    min-width: 4rem;
}

.nhpc-main table td p:first-child,
.nhpc-main table th p:first-child {
    margin: 0;
}

.nhpc-main table td:last-child,
.nhpc-main table th:last-child {
    padding: 10px 0 10px 0;
}

/* Finance tables in minutes wrapped in <blockquote> */

.nhpc-meeting-main__details blockquote {
    background: none;
    padding: 0;
    margin: 0;
}

.nhpc-meeting-main__details blockquote table td:last-child {
    min-width: 6em;
    width: 6em;
    text-align: right;
}

.nhpc-meeting-main__details blockquote table td:last-child::before {
    content: "£";
    display: block;
    float: left;
}

.nhpc-meeting-main__details blockquote table td:first-child::before {
    content: "";
    display: block;
    float: left;
}

.nhpc-meeting-main__details blockquote table td,
.nhpc-meeting-main__details blockquote table td:first-child {
    width: auto;
    text-align: left;
}

/*Fudge blockquotes containing empty p */
.nhpc-meeting-main__details h4 + blockquote > p {
    margin: 0;
    height: 0;
}

/* Format all blockquote-wrapped tables as finance tables with last column as currency */

blockquote:has(table) {
    background: none;
    padding: 0;
}
blockquote:has(table) td {
    width: auto;
}

blockquote:has(table) td:last-child {
    text-align: right;
    min-width: 6em;
    width: 6em;
}
blockquote:has(table) td:last-child::before {
    content: "£";
    display: block;
    float: left;
}

blockquote:has(table) td:first-child {
    text-align: left;
    width: auto;
}

blockquote:has(table) td:first-child::before {
    content: "";
    display: none;
}

/* Cookie consent */

#consent {
    display: none;
}

.show--consent #consent {
    display: inherit;
}

/* Search box */

/* Inline #13 | http://localhost:8888/wpgov/ */

#searchform #s {
    width: calc(100% - 136px);
    border: 1px solid var(--darkgrey);
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 0;
}

#searchform {
    padding: 1.5rem 0;
    font-size: 1rem;
}

#searchform .screen-reader-text {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

#searchform #searchsubmit {
    border: 1px solid var(--midgreen);
    padding: 0.8rem;
    font-size: 1rem;
    width: 130px;
    margin: 0;
    background: var(--midgreen);
    color: #fff;
    border-radius: 0;
}

#searchform #searchsubmit:hover {
    border: 1px solid var(--darkgreen);
    background: var(--darkgreen);
    color: #fff;
    cursor: pointer;
}

/* Target blank hidden label */

a[target="_blank"]::after {
    content: "(opens in new tab or page)";
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    position: absolute;
}

/* Planning */

.nhpc-planning-list__application .planning__id {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.nhpc-planning-list__application .planning__status.nhpc-tag {
    color: black;
    background: var(--lightgrey);
    max-width: unset;
}

.nhpc-planning-list__application.Undecided .planning__status.nhpc-tag {
    color: var(--darkgreen);
    background: var(--lightgreen);
}

.nhpc-planning-list__application dd {
    margin: 0;
}

.nhpc-planning-list__application .planning__description {
    margin: 1em 0 2em 0;
}

dl.nhpc-planning-list__application {
    border-top: 1px solid var(--midgrey);
    padding-top: 1em;
}

/* Sub pages shortcode */

ul.nhpc-subpage-index__child-pages {
    list-style: none;
    padding: 0;
}

ul.nhpc-subpage-index__child-pages li {
    padding: 0 0 1em 0;
}

.nhpc-subpage-index__child-pages h3 {
    border-top: 1px solid #ccc;
    padding-top: 1rem;
    margin: 0 0 0.5em 0;
}

/*Stop wp inserted images breaking the columns*/
[class*="col-"] img {
    max-width: 100%;
    height: auto;
}

/* List styles */

details.nhpc-meeting-main__details.alpha ol {
    list-style-type: lower-alpha;
}

details.nhpc-meeting-main__details.alpha ol ol {
    list-style-type: decimal;
}

@media print {
    /* All your print styles go here */

    .no-print {
        display: none;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
        font-size: 11pt;
        line-height: 1.2;
    }
    header,
    footer,
    nav.nhpc-top-nav {
        display: none !important;
    }

    html {
        font-size: 11pt;
        letter-spacing: 0.02em;
        word-break: break-word;
    }
    p {
        margin-bottom: 0;
        margin-top: 6pt;
    }

    h1 {
        font-size: 16pt;
        border-bottom: 1pt solid #000;
        padding-bottom: 8pt;
        margin-bottom: 0;
        text-wrap: balance;
        page-break-after: avoid;
        break-after: avoid;
        string-set: page_title content();
    }

    h2 {
        font-size: 13pt;
        font-weight: bold;
        text-decoration: underline;
        margin-bottom: 0;
        margin-top: 10pt;
        text-wrap: balance;
        page-break-after: avoid;
        break-after: avoid;
    }

    h3 {
        font-size: 11pt;
        font-style: italic;
        font-weight: bold;
        margin-top: 1em;
        margin-bottom: 0;
        margin-top: 8pt;
        page-break-after: avoid;
        break-after: avoid;
    }

    h4 {
        font-size: 11pt;
        font-style: italic;
        font-weight: normal;
        text-decoration: underline;
        margin-bottom: 0;
        margin-top: 6pt;
        page-break-after: avoid;
        break-after: avoid;
    }

    h3 + p,
    h4 + p {
        margin-top: 0;
    }

    .nhpc-title-strip {
        background-color: white;
    }
    .nhpc-main {
        border: none;
    }

    h1:before {
        content: "North Huish Parish Council";
        display: block;
    }

    .annual-parish-meeting h1:before {
        content: "North Huish Parish";
        display: block;
    }

    .container {
        max-width: 100%;
    }

    #main-content a {
        text-decoration: none;
        color: #000;
    }

    #main-content a:not(.meeting-plan-link):link::after,
    #main-content a:not(.meeting-plan-link):visited::after {
        line-height: 1;
        font-weight: normal;
        color: #000;
        content: " (" attr(href) ") ";
    }

    .nhpc-body {
        margin: 0;
    }

    [class^="col-"],
    [class*=" col-"] {
        width: 100%;
        display: inline;
        padding: 0;
    }

    blockquote {
        background: none;
        border: 1pt solid #000;
    }

    blockquote:has(table) {
        border: none;
    }

    .nhpc-people__group h2 {
        border-top: none;
        padding-top: inherit;
    }

    .nhpc-people__person {
        background: none;
        text-align: left;
        padding: 0;
        margin: 0;
    }

    .council-pic {
        display: none;
    }

    dl.nhpc-people__person .name {
        font-size: 11pt;
        font-style: italic;
        margin-top: 11pt;
    }

    dl.nhpc-people__person .position {
        font-weight: normal;
        font-size: 11pt;
        font-style: italic;
    }
    .nhpc-accordion-show,
    .nhpc-chevron,
    summary {
        display: none;
    }

    details {
        border: none;
    }

    dl.nhpc-people__person .position {
        margin-bottom: 8pt;
    }

    dl.nhpc-people__person .responsibilities {
        margin-top: -8pt;
        margin-bottom: 8pt;
    }

    #main-content .nhpc-people__person a:link::after,
    #main-content .nhpc-people__person a:visited::after {
        display: none;
    }

    .nhpc-archive-meetings__tags.row,
    .navigation.pagination {
        display: none;
    }

    .nhpc-archive-meetings__section {
        border-top: none;
    }

    .nhpc-archive-meetings__section h2 a:link::after,
    .nhpc-archive-meetings__section h2 a:visited::after {
        display: none;
    }
    .nhpc-title--subhead {
        font-size: inherit;
        color: inherit;
        font-weight: inherit;
    }

    .nhpc-title .nhpc-title--subhead {
        display: none;
    }

    #main-content.nhpc-single-meeting .nhpc-title .nhpc-title--subhead {
        display: inline;
    }

    .nhpc-tag {
        font-weight: bold;
        font-size: inherit;
        line-height: inherit;
        display: inline;
        max-width: inherit;
        margin-top: inherit;
        margin-bottom: inherit;
        margin-right: 0;
        padding: inherit;
        color: inherit;
        background: none;
        text-decoration: none;
        overflow-wrap: break-word;
    }

    .nhpc-tag::after {
        content: ": ";
        font-weight: bold;
    }
    .nhpc-planning-list__application .nhpc-tag {
        background: none !important;
        color: #000 !important;
        font-weight: normal;
    }

    .nhpc-planning-list__application .nhpc-tag::before {
        content: "(";
        font-weight: normal;
    }

    .nhpc-planning-list__application .nhpc-tag::after {
        content: ")";
        font-weight: normal;
    }

    .nhpc-planning-list__application .planning__address a {
        display: none;
    }

    details.nhpc-audio,
    .nhpc-meeting-main.row nav {
        display: none;
    }

    .page-layouts.home-page .featured.image {
        display: none;
    }

    .page-layouts.home-page h1:before {
        display: none;
    }

    .parish-council__key-section h2,
    .parish-council__key-section .nhpc-notices h2 {
        border-top: none;
    }

    .nhpc-notices {
        display: inline;
    }

    .nhpc-notices .nhpc-notices__single {
        border: none;
    }

    #menu-parish-council-home-page-links h3 {
        border-top: none;
    }

    hr {
        border: solid #000 !important;
        border-width: 1pt 0 0 0 !important;
    }

    #menu-county-council-links,
    #menu-district-council-links {
        columns: 1;
        columns: 1;
    }

    img,
    [class*="col-"] img {
        max-width: 6cm;
        max-height: 4cm;
        display: block;
    }

    .nhpc-main table td,
    .nhpc-main table th {
        padding: 0.2cm 0.2cm 0.25cm 0;
        border: 0;
        border-bottom: 0.2pt solid black;
        text-align: left;
        vertical-align: top;
        min-width: 4rem;
    }

    .nhpc-main table td:last-child,
    .nhpc-main table th:last-child {
        padding: 0.2cm 0 0.25cm 0;
    }

    .nhpc-main .nhpc-meeting-main__details table td,
    .nhpc-main blockquote table th {
        padding: 0 0.2cm 0.1cm 0;
        border: 0;
        border-bottom: 0;
        text-align: left;
        vertical-align: bottom;
        min-width: 4rem;
    }

    .nhpc-main .nhpc-meeting-main__details table td:last-child,
    .nhpc-main blockquote table th:last-child {
        padding: 0 0 0.1cm 0;
    }

    ul,
    ol {
        margin: 4pt 0;
    }

    details:not([open]) {
        display: none;
    }

    .nhpc-meeting-main__details ol,
    .nhpc-meeting-main__details ul {
        padding: 0 0 0 5mm;
    }

    .nhpc-meeting-main__details {
        columns: 2;
        margin-top: 10pt;
    }

    .nhpc-meeting-main__details h2 {
        margin-top: 0;
        column-span: all;
        margin-bottom: 6pt;
    }

    .nhpc-meeting-main__details h2 + p,
    .nhpc-meeting-main__details h2 + h3 {
        margin-top: 0;
    }

    @page {
        @bottom-left {
            content: "North Huish Parish Council " string(page_title);
        }
        @bottom-right {
            content: "Page " counter(page) " of " counter(pages);
        }
    }

    /* End print styles */
}

#map {
    height: 500px;
    width: 100%;
}

#map.parish-map {
    height: 800px;
    width: 100%;
}

/* Alert bar */

.site-wide-alert {
    border-top: 4px solid var(--midgreen);
    margin-bottom: -4px;
    z-index: 30;
    background: var(--acidgreen70);
    position: relative;
}
