/* headings */
h1 {
	text-transform: capitalize;
	word-spacing: .1em;
}

h2 {
	padding: 30px 0 10px;
}

h3 {
	padding: 10px 0 10px;
	color: #406D91;
}

h4 {
	padding: 10px 0;
	color: #2E2E2E;
	font-weight: bold !important;
	font-size: 1.2em;
}

/* text */
p {
	color: #2E2E2E;
}

.entry-wrapper p {
	color: #fff !important;
}

/* the hero banner */
.has-header-image #hero-header .site-description {
	color: #F8F4ED;
}

.has-header-image .site-title a, .has-header-image .site-title a:visited, .has-header-image #hero-header .site-title {
	color: #F8F4ED;
}

/* images */
.wp-block-image {
	padding-top: 15px;
}

/* separator */
hr {
	background-color: #E07A5F;
	height: 3px;
	max-width: 200px !important;
}

/* create a class for a borderless table */
.my-borderless-table table,
.my-borderless-table td,
.my-borderless-table tr,
.my-borderless-table th {
	border: none;
	font-size: 100%;
	line-height: 1.2em;
	padding: .75em 0 0 2em;
}

.my-borderless-table th:nth-child(1),
.my-borderless-table td:nth-child(1) {
	min-width: 25%;
}

/* extra padding on father/sone VC table */
.my-vc-table table tr td {
   padding: 20px !important;
}

/* reduce line spacing in VC entry */
.my-vc-entry table tr td {
   line-height:1.4 !important;
}
.my-vc-entry p {
   line-height:1.4 !important;
}


/* timeline */
.my-time-line-header {
	background: #406D91 !important;
}

.my-time-line-element {
	background: #F8F4ED !important;
}

/* main navigation */
.wf-active .main-navigation {
	font-family: "Lato", sans-serif;
}

/* block of highlighted text */
.wp-block-preformatted {
	background: #E6AE48;
}

/* forms */
.has-light-gray-background-color, .has-light-gray-background-color:hover {
	background: #E6AE48;
}

.has-dark-gray-background-color, .has-dark-gray-background-color:hover {
	background: #406D91;
}

/* buttons */
button:hover {
	background: #83a9c9;
	color: #2E2E2E;
}

.wp-block-button__link,
.wp-block-button__link:visited {
	background: #406D91;
}

.entry-content .wp-block-button .wp-block-button__link:hover {
	background: #83a9c9;
	color: #2E2E2E;
}

/* download file button */
.wp-block-file .wp-block-file__button, .wp-block-file__button:visited {
	background: #406D91;
}

.wp-block-file .wp-block-file__button:hover {
	background: #83a9c9;
	color: #2E2E2E;
}

/* blockquote */
wf-active blockquote {
	color: blue;
	background-color: red !important;
}

/* breadcrumb */
.breadcrumb,
.breadcrumbs,
#breadcrumbs {
	font-size: .8em;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #83a9c9;
	margin: 20px 0;
	line-height: 0;
	overflow-wrap: break-word;
}

@media screen and (max-width:800px) {
	.breadcrumb,
		.breadcrumbs,
		#breadcrumbs {
		font-size: .7em;
	}
}

.breadcrumb a {
	color: #777;
	text-decoration: none;
}

.breadcrumb a:hover {
	color: #000;
	text-decoration: underline;
}

.breadcrumb,
.breadcrumbs,
#breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: .5em;
}

.breadcrumb li + li::before,
.breadcrumb a + a::before,
.breadcrumb a + span::before,
.breadcrumb span + span::before {
	content: ">";
	color: #406D91;
}

/* Yoast Breadcrumb Styling */
.yoast-breadcrumbs,
.yoast-breadcrumbs span,
.yoast-breadcrumbs a {
    font-size: 0.95em !important;
}



/****************/
/*Details Block */
/****************/

.wp-block-details {
    border: 1px solid #406D91;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.wp-block-details summary {
    font-weight: 600;
    cursor: pointer;
	  font-size: 1.4rem;
}

.wp-block-details[open] {
    background: floralwhite;
}

.wp-block-details[open] summary {
    padding-bottom: 1rem;
}

.wp-block-details .wp-block-paragraph {
	font-size: 1.1rem !important;
}

.wp-block-details2 summary {
    font-size: 1.6rem;
    font-weight: 400;
}

@media (max-width: 900px) {
    .wp-block-details summary {
        font-size: 1.4rem;
        line-height: 1.5;
			  font-weight: 600;
    }
	  .wp-block-details p,
    .wp-block-details li {
        font-size: 1.1 rem;
        line-height: 1.5;
    }
}

@media (max-width: 600px) {
    .wp-block-details summary {
        font-size: 1.1rem;
        line-height: 1.5;
			  font-weight: 600;
    }
	  .wp-block-details p,
    .wp-block-details li {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Remove native Details arrows, including iOS Safari */
.wp-block-details summary,
.wp-block-details summary::-webkit-details-marker {
    list-style: none !important;
}

.wp-block-details summary::marker {
    content: "" !important;
}

.wp-block-details summary::-webkit-details-marker {
    display: none;
}

.wp-block-details summary::before {
    content: "► ";
}

.wp-block-details[open] summary::before {
    content: "▼ ";
}

.details-close-button {
    display: block;
    margin: 1rem 0 0 auto;
    padding: 0.4rem 0.8rem;
    border: 1px solid #ccc;
    background: #f7f7f7;
    cursor: pointer;
    font-size: 0.9rem;
	  color: #2E2E2E
}

.details-close-button:hover {
    background: #83a9c9;
}
details .details-close-button {
    display: none;
}

details[open] .details-close-button {
    display: block;
}


/**************************/
/*        Lozenge         */
/**************************/

.lozenge a {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin: 0.2rem 0.4rem 0 0;
    border: 1px solid #e2e0db;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    color: #2f4f4f;
}

.lozenge a:hover {
    border-color: #7a2f2f;
    color: #7a2f2f;
}


/****************************/
/*      A -Z of Pubs        */
/****************************/

.pub-az-list {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}