/*
Theme Name: Pilton Community Health Project
Description: The WordPress theme built by <a href="https://cazinc.com">Cazinc</a>.
Version: 1.0
Author: Cazinc
Author URI: https://cazinc.co.uk
*/


html,
body {
	font-family: 'Quicksand', sans-serif;
	border: none;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	background: #fff;
	box-sizing: border-box;
	color: #404040;
}

*,
*::before,
*::after {
	box-sizing: inherit;
	-webkit-font-smoothing: antialiased;
	word-break: break-word;
	word-wrap: break-word;
}

/* Screen Reader Text ------------------------ */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
	word-break: normal;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	right: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;

}

/* Skip Link --------------------------------- */

.skip-link {
	left: -9999rem;
	top: 2.5rem;
	z-index: 999999999;
	text-decoration: underline;
}

.skip-link:focus {
	display: block;
	left: 6px;
	top: 7px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	line-height: normal;
	padding: 15px 23px 14px;
	z-index: 100000;
	right: auto;
}


/* Accessibility Settings -------------------- */

@media ( prefers-reduced-motion: reduce ) {

	* {

		animation-duration: 0s !important;

		transition-duration: 0s !important;

	}

}

main {
	display: block;
}
hr {
	border-style: solid;
	border-width: 0.1rem 0 0 0;
	border-color: #dcd7ca;
	margin: 4rem 0;
}

figure {
	display: block;
	margin: 0;
}

iframe {
	display: block;
	max-width: 100%;
}

video {
	display: block;
}

svg,
img,
embed,
object {
	display: block;
	height: auto;
	width: 100%;
	max-width: 100%;
}

.bg-image {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 320px;
}

.bg-attachment-fixed {
	background-attachment: fixed;
}



@supports ( -webkit-overflow-scrolling: touch ) {
	.bg-attachment-fixed {
		background-attachment: scroll;
	}
}



@media ( prefers-reduced-motion: reduce ) {
	.bg-attachment-fixed {
		background-attachment: scroll;
	}
}


/* Site generic styles ---------------------------- */
.email-place {
	background: #fff;
	margin-bottom: 40px;
}

#wp-admin-bar-customize {
    display: none;
}
.flex {
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.flex-center {
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
}
.flex-col {
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}
.align-bottom {
	-webkit-align-items: flex-end;
	-ms-align-items: flex-end;
	align-items: flex-end;
}
.align-start {
	-webkit-align-items: flex-start;
	-ms-align-items: flex-start;
	align-items: flex-start;
}
.j-space-between {
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
}
.equal {
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
}
.half {
	-ms-flex: 0 0 50%;
	flex: 0 0 50%;
	max-width: 50%;
}
.third {
	-ms-flex: 0 0 33.333333%;
	flex: 0 0 33.333333%;
	max-width: 33.333333%;
}
.quarter {
	-ms-flex: 0 0 25%;
	flex: 0 0 25%;
	max-width: 25%;
}
.grow {
	-webkit-flex-grow: 1;
	-ms-flex-grow: 1;
	flex-grow: 1;
}
.full-width {
	width: 100%;
}
.bg-tree {
	background-image: url(assets/images/bg-tree.svg) !important;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: 85% bottom;
}
.max-width {
	max-width: 1220px;
	margin: auto;
	padding: 0 20px;
}
.max-width-reduced-padding {
	max-width: 1220px;
	margin: auto;
	padding: 0 10px;
}
.entry-content.max-width {
	max-width: 950px;
}
.green_bg .max-width,
.green_bg p,
.green_bg p a,
.green_bg ul {
	color: #fff;
}
.content-thin {
	max-width: 660px;
	margin: auto;
}
.green_bg {
	background-color: #679700;
	color: #fff;
}
.grey_bg {
	background-color: #F5F5F5;
}
.grey_bg h2 {
	color: #164078;
}
.white_tree_bg {
	background-image: url(assets/images/bg_white_tree.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right bottom;
}
.maps.tree_bg,
.half.tree_bg {
	background-position: center right;
}
.maps .equal h2,
.half  .equal h2 {
	margin: 15px 0px 0px 0;
}
.half p:last-of-type {
	-webkit-flex-grow: 1;
	-ms-flex-grow: 1;
	flex-grow: 1;
}
.half h2 {
	margin: 10px 0 0;
}
#site-footer.tree_bg {
	background-position: center center;
}
.btn {
	padding: 10px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 700;
	display: inline-block;
}
.btn::after {
	content: "";
	display: inline-block;
	width: 0.55em;
	height: 0.85em;
	margin-left: 12px;
	vertical-align: -0.1em;
	background-color: currentColor;
	-webkit-mask: url(assets/icons/chevron-right.svg) no-repeat center / contain;
	mask: url(assets/icons/chevron-right.svg) no-repeat center / contain;
}
.btn.white {
	background: #fff;
	color: #164078;
}
.btn.blue {
	background: #164078;
	color: #fff;
}
.green_bg .btn {
	background-color: #fff;
}
.grey_bg .btn {
	background-color: #164078;
	color: #fff;
}
.btn:hover,
.btn:hover {
	color: #164078;
	background-color: #FFCE48;
	text-decoration: none;
}
.ml-40 {
	margin-left: 40px;
}
.mb-30 {
	margin-bottom: 30px;
}
.mb-50 {
	margin-bottom: 50px;
}
.p-10 {
	padding: 10px;
}
.p-20 {
	padding: 20px;
}
.pt-20 {
	padding-top: 20px;
}
.pb-20 {
	padding-bottom: 20px;
}
.pb-30 {
	padding-bottom: 30px;
}
.pb-50 {
	padding-bottom: 50px
}
h1 {
	font-size: 48px;
	font-weight: 700;
	color: #164078;
	margin: 25px auto;
}
h2 {
	font-size: 30px;
	font-weight: 700;
}
h3 {
	font-size: 25px;
	font-weight: 700;
	margin-bottom: 20px;
}
p, ul {
	font-size: 15px;
	line-height: 25px;
	font-weight: 500;
	color: #1a1a1a;
}
.parent-page h3 {
	margin: 0;
	font-size: 25px;
}
.parent-page .grey_bg p {
	-webkit-flex-grow: 1;
	-ms-flex-grow: 1;
	flex-grow: 1;
}
.curved-corners {
	border-radius: 15px;
}
.bottom-corners {
	border-radius: 0 0 15px 15px;
}
a,
a.btn,
a img,
a i {
	transition: .35s all ease;
	text-decoration: none;
}
a {
	color:#164078;
	font-weight: bold;
}
a:hover {
	text-decoration: underline;
}
.center {
	text-align: center;
}
.header-logo {
	margin-bottom: -1px;
	max-width: 300px;
	margin-top: 10px;
}
.header-logo:hover,
.footer-logo:hover {
	opacity: 0.8;
}
.attachment-featured {
	border-radius: 15px;
}
.size-child-page {
	border-radius: 15px 15px 0 0;
}
.breadcrumbs {
	background: #F5F5F5;
	font-size: 12px;
	border-radius: 15px;
	padding: 10px;
	margin-bottom: 10px;
	margin-top: -10px;
}
.breadcrumbs a:hover {
	text-decoration: underline;
}
.notice-banner {
	background-color: #FFE879;
	max-height: 0;
    overflow: hidden;
}
.slide-down {
	-webkit-animation: slide 2s 1s 1 forwards; 
	-moz-animation:    slide 2s 1s 1 forwards; 
	-o-animation:      slide 2s 1s 1 forwards; 
	animation:         slide 2s 1s 1 forwards; 
}
@-webkit-keyframes slide {
	0%   { max-height: 0; }
	100% { max-height: 550px; }
}
@-moz-keyframes slide {
	0%   { max-height: 0; }
	100% { max-height: 550px; }
}
@-o-keyframes slide {
	0%   { max-height: 0; }
	100% { max-height: 550px; }
}
@keyframes slide {
	0%   { max-height: 0; }
	100% { max-height: 550px; }
}
.pchp-icon {
	width: 1em;
	height: 1em;
	fill: currentColor;
	display: inline-block;
	vertical-align: -0.125em;
}
.page-contact .pchp-icon,
.page-contact-us .pchp-icon {
	width: 30px;
	height: 30px;
	margin-right: 8px;
	vertical-align: -6px;
}
.page-contact .third h3,
.page-contact-us .third h3 {
	margin-top: 0;
}
.a-person:nth-child(odd) {
	background-color: #F5F5F5;
}
.a-person img {
	border-radius: 100%;
	margin: 15px auto 0;
	width: 170px;
	height: auto;
}
.a-person h3 {
	margin-top: 0;
	margin-bottom: 0;
}
blockquote {
	background: #FFE879;
	padding: 10px 30px;
	margin: 0 auto 30px;
	border-radius: 10px;
	position: relative;
}
blockquote::after {
	content: "";
	border-top: 15px solid rgb(255, 232, 121);
	border-right: 15px solid transparent;
	border-bottom: 0;
	border-left: 15px solid transparent;
	position: absolute;
	bottom: -15px;
}
.call-too h3 { 
	margin-top: 0;
}
.call-too p a {
	text-decoration: underline;
}
.call-too p a:hover {
	color: #FFCE48;
}
.call-too hr {
	margin: 5px 0;
	border-color: #fff;
	border-style: dotted;
}
.aligncenter {
	margin: 0 auto;
}
.wpcf7 {
	margin-top: 30px;
}
.wpcf7-text,
.wpcf7-textarea {
	border: 1px solid #164078;
	width: 100%;
	border-radius: 10px;
	padding: 10px;
}
.wpcf7-submit {
	border: 0;
	border-radius: 10px;
	max-width: 200px;
  	width: 100%;
	padding: 15px;
	color: #fff;
	background: #164078;
}
.wpcf7-submit:hover {
	background-color: #0f2e57;
	cursor: pointer;
}
.url-303-wrap {
	display: none;
}
.grass {
	background-image: url(./assets/images/grass.svg);
	background-repeat: repeat-x;
	background-size: 90px;
}
header.grass {
	background-position: left 111%;
}
footer.grass {
	background-position: left 101%;
}
/* Footer ---------------------------- */

.footer-logo {
	max-width: 250px;
}
.footer-copyright {
	text-align: center;
	font-size: 12px;
}
.partner-logo {
  max-height: 50px;
  width: auto;
  margin: 30px 20px;
  transition: all .35s ease;
}
.logos a:hover .partner-logo {
	opacity: .5;
}
#site-footer .social-icon {
	color: #fff;
	font-size: 25px;
	margin: 0 5px;
	display: inline-flex;
	align-items: center;
	line-height: 1;
}
#site-footer .social-icon:hover {
	color: #FFCE48;
	text-decoration: none;
}
.signup input {
	flex-grow: 1;
	-webkit-flex-grow: 1;
	-ms-flex-grow: 1;
	border-radius: 10px 0 0 10px;
	padding: 15px;
	border: 1px solid #164078;
	margin: 0;
}
.signup .btn-submit {
	background-color: #164078;
	border: 0;
	border-radius: 0 10px 10px 0;
	max-width: 200px;
	padding: 15px;
	color: #fff;
}
.signup .btn-submit:hover {
	background-color: #0f2e57;
	cursor: pointer;
}
.mc4wp-response {
	text-align: center !important;
}
.socail-icons-mobile {
	display: none;
}

/* Menus ---------------------------- */

ul.primary-menu {
	display: flex;
	font-size: 18px;
	font-weight: 700;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.primary-menu li {
	list-style: none;
	margin-right: 20px;
}
.primary-menu li:last-of-type {
	margin-right: 0;
}
.primary-menu li a,
.mobile-menu li a {
	color: #fff;
	text-decoration: none;
	background-position: center -20px;
}
.primary-menu li a:hover,
.footer-menu li a:hover,
.mobile-menu li a:hover,
.primary-menu li.current_page_item a ,
.footer-menu li.current_page_item a,
.mobile-menu li.current_page_item a {
	color: #FFCE48;
}
.primary-menu li a:hover,
.primary-menu li.current_page_item a {
	background-image: url(assets/images/pilton-leaves.svg);
	background-repeat: no-repeat;
	background-position: center 10px;
	padding-top: 30px;
}
ul.footer-menu {
	padding-left: 0;	
	list-style: none;
}
ul.footer-menu li {
	margin-bottom: 6px;
}
ul.footer-menu a {
	color: #fff;
	text-decoration: none;
}


/* Mobile menu */
button.hamburger {
	background: transparent;
	border:0;
}
#mob-icon {
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 30px;
	height: 40px;
	width: 60px;
	display: none;
}
.burger-line {
    width: 27px;
    height: 2px;
    background-color: #679700;
    transition: all .35s ease;
}
.burger-line.top,
.burger-line.middle {
	margin-bottom: 5px;
}
.navbar-toggler-icon-2021.close-twist .burger-line.middle {
	opacity: 0;
}
.navbar-toggler-icon-2021.close-twist .burger-line.top {
	transform: rotate(45deg);
}
.navbar-toggler-icon-2021.close-twist .burger-line.bottom {
	transform: rotate(-45deg);
	margin-top: -14px;
}
.mobile-menu li {
	list-style: none;
	margin-bottom: 5px;
}
.hamburger {
	display: none;
	position: relative;
	z-index: 99;
	font-weight: 700;
	margin-bottom: 15px;
	cursor: pointer;
}
.mobile-navigation {
	position: fixed;
	background: #164078;
	height: 100%;
	width: 300px;
	top: 0;
	right: -310px;
	transition: all 0.35s ease;
	padding-top: 200px;
	background-image: url(assets/images/pilton-leaves-mob-menu.svg);
	display: none;
}
.mobile-navigation.show-menu {
	right: 0;
}

/* Repeat previous rules for IE11 (when JS enabled for polyfill). */

body.touch-enabled .primary-menu > li.menu-item-has-children > a {
	padding-right: 0;
	margin-right: 2rem;
}



body.touch-enabled .primary-menu ul li.menu-item-has-children > a {
	margin-right: 4.5rem;
	padding-right: 0;
	width: unset;
}


/**
 * Responsive styles
 */

 @media (max-width:1080px) {
	.header-logo {
		max-width: 240px;
	}
	ul.primary-menu {
		font-size: 16px;
	}
	h3 {
		font-size: 26px;
	}
	.flex.two_column {
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
	}
	.two_column .ml-40 {
		margin-left: 0;
	}
 }

 @media (max-width:910px) {
	.main-navigation {
		display: none;
	}
	.mobile-navigation,
	#mob-icon {
		display: flex;
	}
	.equal.half {
		-webkit-flex: 1 100%;
		-ms-flex: 1 100%;
		flex: 1 100%;
		max-width: none;
	}
	.third {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	h1 {
		font-size: 38px;
	}
	h2 {
		font-size: 25px;
	}
	h3 {
		font-size: 22px;
	}
	.header-logo {
		max-width: 240px;
	}
	ul.primary-menu {
		font-size: 16px;
	}
	.socail-icons {
		display: none;
	}
	.socail-icons-mobile {
		display: block;
		margin-top: 30px;
	}
	footer .third:first-of-type {
		-ms-flex: 0 0 1000%;
		flex: 0 0 100%;
		max-width: 100%;
	}
	footer .third {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
 }

 @media (max-width:596px) {
	h1 {
		font-size: 28px;
	}
	h2 {
		font-size: 20px;
	}
	h3 {
		font-size: 18px;
	}
	.equal.third {
		-webkit-flex: 1 100%;
		-ms-flex: 1 100%;
		flex: 1 100%;
	}
	.third {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
	#site-footer.tree_bg {
		background-position: center right;
	}
	.breadcrumbs {
		display: none;
	}
	.two_column .bg-image {
		min-height: 150px;
	}
	.a-person.flex .quarter {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
	footer .third {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
 }

 @media (max-width:410px) {
	.header-logo {
		max-width: 190px;
	}
}

/**
 * Print
 */

 @media print {
	form,
	button,
	input,
	select,
	textarea,
	.navigation,
	.main-navigation,
	.social-navigation,
	.sidebar,
	.content-bottom-widgets,
	.header-image,
	.page-links,
	.edit-link,
	.comment-respond,
	.comment-edit-link,
	.comment-reply-link,
	.comment-metadata .edit-link,
	.pingback .edit-link {
		display: none;
	}

	body,
	blockquote cite,
	blockquote small,
	pre,
	.entry-content h4,
	.entry-content h5,
	.entry-content h6,
	.entry-summary h4,
	.entry-summary h5,
	.entry-summary h6,
	.comment-content h4,
	.comment-content h5,
	.comment-content h6,
	.entry-content .author-title {
		font-size: 12pt;
	}

	blockquote {
		font-size: 14.25pt;
	}

	.site-title,
	.page-title,
	.comments-title,
	.entry-content h2,
	.entry-summary h2,
	.comment-content h2,
	.widecolumn h2 {
		font-size: 17.25pt;
	}

	.site-description {
		display: block;
	}

	.entry-title {
		font-size: 24.75pt;
		line-height: 1.2727272727;
		margin-bottom: 1.696969697em;
	}

	.format-aside .entry-title,
	.format-image .entry-title,
	.format-video .entry-title,
	.format-quote .entry-title,
	.format-gallery .entry-title,
	.format-status .entry-title,
	.format-link .entry-title,
	.format-audio .entry-title,
	.format-chat .entry-title {
		font-size: 17.25pt;
		line-height: 1.304347826;
		margin-bottom: 1.826086957em;
	}

	.entry-content h1,
	.entry-summary h1,
	.comment-content h1 {
		font-size: 21pt;
	}

	.entry-content h3,
	.entry-summary h3,
	.comment-content h3,
	body:not(.search-results) .entry-summary {
		font-size: 14.25pt;
	}

	.site-description,
	.author-bio,
	.entry-footer,
	.sticky-post,
	.taxonomy-description,
	.entry-caption,
	.comment-metadata,
	.comment-notes,
	.comment-awaiting-moderation,
	.site-info,
	.wp-caption .wp-caption-text,
	.gallery-caption {
		font-size: 9.75pt;
	}

	body,
	.site {
		background: none !important; /* Brute force since user agents all print differently. */
	}

	body,
	blockquote cite,
	blockquote small,
	.site-branding .site-title a,
	.entry-title a,
	.comment-author {
		color: #1a1a1a !important; /* Make sure color schemes don't affect to print */
	}

	blockquote,
	.page-header,
	.comments-title {
		border-color: #1a1a1a !important; /* Make sure color schemes don't affect to print */
	}

	blockquote,
	.site-description,
	body:not(.search-results) .entry-summary,
	body:not(.search-results) .entry-summary blockquote,
	.author-bio,
	.entry-footer,
	.entry-footer a,
	.sticky-post,
	.taxonomy-description,
	.entry-caption,
	.comment-author,
	.comment-metadata a,
	.comment-notes,
	.comment-awaiting-moderation,
	.site-info,
	.site-info a,
	.wp-caption .wp-caption-text,
	.gallery-caption {
		color: #686868 !important; /* Make sure color schemes don't affect to print */
	}

	code,
	hr {
		background-color: #d1d1d1 !important; /* Make sure color schemes don't affect to print */
	}

	pre,
	abbr,
	acronym,
	table,
	th,
	td,
	.author-info,
	.comment-list article,
	.comment-list .pingback,
	.comment-list .trackback,
	.no-comments {
		border-color: #d1d1d1 !important; /* Make sure color schemes don't affect to print */
	}

	a {
		color: #007acc !important; /* Make sure color schemes don't affect to print */
	}

	.entry-content a,
	.entry-summary a,
	.taxonomy-description a,
	.comment-content a,
	.pingback .comment-body > a {
		box-shadow: none;
		border-bottom: 1px solid #007acc !important; /* Make sure color schemes don't affect to print */
	}

	.site {
		margin: 5%;
	}

	.site-inner {
		max-width: none;
	}

	.site-header {
		padding: 0 0 1.75em;
	}

	.site-branding {
		margin-top: 0;
		margin-bottom: 1.75em;
	}

	.site-main {
		margin-bottom: 3.5em;
	}

	.entry-header,
	.entry-footer,
	.page-header,
	.page-content,
	.entry-content,
	.entry-summary,
	.post-thumbnail,
	.comments-area {
		margin-right: 0;
		margin-left: 0;
	}

	.post-thumbnail,
	.site-main > article {
		margin-bottom: 3.5em;
	}

	.entry-content blockquote.alignleft,
	.entry-content blockquote.alignright {
		border-width: 4px 0 0 0;
		padding: 0.9473684211em 0 0;
		width: -webkit-calc(50% - 0.736842105em);
		width: calc(50% - 0.736842105em);
	}

	body:not(.search-results) .entry-header + .entry-summary {
		margin-top: -1.473684211em;
	}

	.site-footer,
	.widecolumn {
		padding: 0;
	}
}