/*
	Theme Name: Housing Justice
	Description: Custom WordPress Theme for Housing Justice
	Version: 1.0
	Author: Direction Forward (@direction4ward)
	Author URI: https://directionforward.com
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box; 
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: "Helvetica Now Text Regular", Helvetica, Arial, sans-serif;
	font-weight: normal;
	--main-font-size: 18px;
	font-size: var(--main-font-size);
	line-height: 1.5em;
	color: #000000;

	overscroll-behavior: none;
	
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    body {
		font-size: 18px; 
	}
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color: inherit;
	text-decoration:none;
}
a:hover {

}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus,
textarea:focus,
select:focus {
	outline:0;
}

hr {
	background-color: #d5d5d5;
	height: 1px;
	width: 100%;
	margin: 2em 0 2em 0;
	border: none;
}


/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

#switcher {
	display: none;
}

/* banner */
.bruce-banner {
	width: 100%;
    position: absolute;
    left: 0;
	top: 0;
    z-index: 99;
	text-align: center;
	letter-spacing: 0.033em;
}
.bruce-banner > a {
	display: block;
}
.bruce-banner p {
    margin: 0 auto 0 auto;
    text-transform: uppercase;
    font-family: "Helvetica Now Micro Medium";
    font-size: 14px;
    line-height: 1.0em;
    white-space: nowrap;
    width: auto;
    padding: 1em 5% 1em 5%;
    overflow-x: auto;
    display: inline-block;
    vertical-align: middle;
}
.bruce-banner-arrow {
    position: absolute;
    height: 100%;
    width: 7.5%;
    right: 0;
    top: 0;
    background-image: url(img/right.svg);
    background-repeat: no-repeat;
    background-position: 60% center;
    opacity: 1;
    z-index: 100;
    background-size: auto 50%;
    background-color: #30273c;
	box-shadow: #30273c -15px 0px 15px 0px;
	display: none;
}



/* header */
.header {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 100vh;
    padding: 2.5% 5% 0 5%;
	width: 100%;
	position: relative;
	background-color: black;
	max-height: 100vh;
    overflow: hidden;
}
body.error404 .header {
	height: unset;
	padding-bottom: 2.5%;
    background-color: #F07E77;
}
body.error404 .header .header-fader {
	display: none;
}
body.error404 .wrapper {
	margin-bottom: 5%;
}
.header-fader {
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0.36;
	background-color: black;
	top: 0;
	left: 0;
}
.header svg,
.header img.svglike {
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 0;
}
.header img.svglike {
	z-index: -1;
}
.header-title {
	position: absolute;
    bottom: 10%;
	width: 45%;
	color: white;
	line-height: 1.5em;
}
.header-title strong {
	color: #F07E77;
}
.header-title h1 {
	margin: 0;
}

/* logo */
.logo {
	float: left;
	z-index: 10;
    position: relative;
}
.logo-img {
	width: 200px;
	max-height: 102px;
}

/* donate */
.donate-now {
    font-family: "Futura PT Bold";
    text-transform: uppercase;
    color: #F07E77;
	border: 3px #F37D74 solid !important;
    float: right;
    padding: 1% 3% 2% 1%;
	line-height: 1.25em;
	z-index: 10;
	position: relative;
	margin-right: calc(50px + 5%);
}
body.page-template-template-landing .header {
	height:auto;
	background-color:#1c1827;
	padding-bottom: 2.5%;
}

/* switch */
.switch-now {
	font-family: "Futura PT Bold";
    text-transform: uppercase;
    color: #F07E77;
	border: 3px #F37D74 solid !important;
    float: right;
    padding: 1% 3% 2% 1%;
	line-height: 1.25em;
	z-index: 10;
	position: relative;
	margin-right: 5%;
}
.switch-now.england {
	/*background-image: url('img/england.svg');*/
}
.switch-now.wales {
	/*background-image: url('img/wales.svg');*/
}

/* menu button */
.menu-button {
	color: white;
	cursor: pointer;
    z-index: 50;
	position: absolute;
	right: 5%;
	height: 50px;
	transition: 0.5s;
}
.closenav {
    position: fixed;
    right: 5%;
    top: 2.5%;
    width: 50px;
	height: 50px;
	display: none;
	z-index: 100;
}
.closenav:before,
.closenav:after {
	position: absolute;
	left: 25px;
	content: ' ';
    height: 50px;
	width: 2px;
	background-color: white;
}
.closenav:before {
	transform: rotate(45deg);
}
.closenav:after {
	transform: rotate(-45deg);
}
.menu-button.changed {
	transform: scale(0.8);
	position: fixed;
	right: 5%;
}
.menu-button .bar {
	width: 50px;
	height: 2px;
	background-color: white;
	margin-bottom: 10px;
	transition: 0.5s;
}
.menu-button.changed .bar:nth-of-type(1) {
	-webkit-transform: rotate(45deg) scalex(1.3) translate(14px, 12px);
	transform: rotate(45deg) scalex(1.3) translate(14px, 12px);
}
.menu-button.changed .bar:nth-of-type(2) {
	-webkit-transform: rotate(-45deg) scalex(1.3) translate(-4px, 8px);
	transform: rotate(-45deg) scalex(1.3) translate(-4px, 8px);
}

/* buttons */
a.custombutton {
	padding: 1em 2em 1em 2em;
	border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 1em 1em 3em 0;
    display: inline-block;
	position: relative;
	z-index: 1;
	background: rgb(75,56,101);
	background: linear-gradient(270deg, rgba(75,56,101,1) 0%, rgba(48,39,60,1) 100%);
	color: white;
}
a.custombutton.purple {
	background: rgb(75,56,101);
	background: linear-gradient(270deg, rgba(75,56,101,1) 0%, rgba(48,39,60,1) 100%);
	color: white;
}
a.custombutton.pink {
	background: rgb(240,126,119);
	background: linear-gradient(270deg, rgba(240,126,119,1) 0%, rgba(249,140,134,1) 100%);
	color: #000000;
}
a.custombutton.black {
	background: #000000;
	color: white;
}
a.custombutton::before {
	position: absolute;
	content: "";
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	transition: opacity 0.5s linear;
	opacity: 0;
	border-radius: 100px;
	background: rgb(75,56,101);
	background: linear-gradient(90deg, rgba(75,56,101,1) 0%, rgba(48,39,60,1) 100%);
}
a.custombutton.purple::before {
	background: rgb(75,56,101);
	background: linear-gradient(90deg, rgba(75,56,101,1) 0%, rgba(48,39,60,1) 100%);
}
a.custombutton.pink::before {
	background: rgb(240,126,119);
	background: linear-gradient(90deg, rgba(240,126,119,1) 0%, rgba(249,140,134,1) 100%);
}
a.custombutton.black::before {
	background: #000000;
}
a.custombutton:hover::before {
	opacity: 1;
}
.page-intro a.custombutton {
	font-size: 0.75em;
    line-height: 1.5em;
}
a.go-reveal {
	border-bottom: none !important;
}
div.christmas a.custombutton::after,
body.christmas a.custombutton::after {
	content: "";
	background-image: url('https://housingjustice.org.uk/wp-content/uploads/2022/11/mistletoe.svg');
	width: 40px;
    height: 40px;
    position: absolute;
    bottom: -20px;
    right: 20px;
}


/* nav */
.nav {
	display: flex;
    flex-wrap: wrap;
	position: fixed;
	background-color: #F07E77;
	--menu-width: 30%;
	width: var(--menu-width);
	right: calc(var(--menu-width) * -1);
	top: 0;
	height: 100vh;
	overflow-y: scroll;
	z-index: 100;
	padding: 2.5% 5% 2.5% 2.5%;
	font-size: 1.4em;
	line-height: 1.4em;
	font-family:"Helvetica Now Text Medium";
	box-shadow: none;
-webkit-transition: right 0.50s ease-in-out, box-shadow 0.50s ease-in-out;
-moz-transition: right 0.50s ease-in-out, box-shadow 0.50s ease-in-out;
-ms-transition: right 0.50s ease-in-out, box-shadow 0.50s ease-in-out;
-o-transition: right 0.50s ease-in-out, box-shadow 0.50s ease-in-out;
transition: right 0.50s ease-in-out, box-shadow 0.50s ease-in-out;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .nav {
		width: 25%;
		right: -25%;
		-ms-overflow-style: none;
	}
}
.nav ul {
	list-style: none;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	/*position: absolute;
	bottom: 10%;*/
    width: 100%;
	flex-basis: 100%;
    align-self: flex-end;
}
.nav > ul a {
	color: #F4CFCD;
-webkit-transition: color 0.10s ease-in-out;
-moz-transition: color 0.10s ease-in-out;
-ms-transition: color 0.10s ease-in-out;
-o-transition: color 0.10s ease-in-out;
transition: color 0.10s ease-in-out;
}
.nav > ul a:hover {
	color: #30273C;
}
.sub-menu-wrapper {
	position: fixed;
    width: var(--menu-width);
    background: #F09691;
    height: 100vh;
	top: 0;
	display: flex;
	overflow-y: scroll;
	padding: 2.5% 2.5% 2.5% 2.5%;
	right: calc(var(--menu-width) * -2);
-webkit-transition: right 0.50s ease-in-out;
-moz-transition: right 0.50s ease-in-out;
-ms-transition: right 0.50s ease-in-out;
-o-transition: right 0.50s ease-in-out;
transition: right 0.50s ease-in-out;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .sub-menu-wrapper {
		width: 25%;
		right: -50%;
	}
}
.nav ul.sub-menu a {
	color: white;
-webkit-transition: color 0.10s ease-in-out;
-moz-transition: color 0.10s ease-in-out;
-ms-transition: color 0.10s ease-in-out;
-o-transition: color 0.10s ease-in-out;
transition: color 0.10s ease-in-out;
}
.nav ul.sub-menu a:hover {
	color: #594c69;
}
.opened-minusthirty {
	right: calc(var(--menu-width) * -1);
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .opened-minusthirty {
		right: -25%;
	}
}
.opened-zero {
	right: 0;
}
.nav.opened-zero {
	box-shadow: #0000004a -10px 0px 20px 0px;
}
.opened-thirty {
	right: var(--menu-width);
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .opened-thirty {
		right: 25%;
	}
}
.nav li.inactive a {
	pointer-events: none;
	color: #825050;
}
.nav > ul a.opened-dark {
	color: #30273C;
} 


.nav-login {
	flex-basis: 100%;
	font-size: var(--main-font-size);
	color: white;
	line-height: 1.0em;
}
.nav-login a.startlogin {
	display: inline-block;
	margin-bottom: 2em;
	margin-top: 2.5%;
}
.nav-login a {
	color: white;
-webkit-transition: color 0.10s ease-in-out;
-moz-transition: color 0.10s ease-in-out;
-ms-transition: color 0.10s ease-in-out;
-o-transition: color 0.10s ease-in-out;
transition: color 0.10s ease-in-out;
}
.nav-login a:hover {
	color: #30273C;
}
.nav-login ul {
	position: relative;
	margin-bottom: 1em;
}
.nav-login form label { 
	display: none; 
}
.outsidelink,
.registerlink,
.resetpassword {
	font-size: 0.8em;
	opacity: 0.7;
}
.nav-password,
.nav-gologin,
.nav-gosearch {
	display: none;
	margin: 1em auto 2em auto;
}
.wppb-logout-url {
	display: inline-block;
	color: #30273C;
}



/* wrapper */
.wrapper {
	/*max-width:1280px;*/
	width: 90%;
    margin: 5% auto 0 auto;
	position: relative;
}
/* main */
main {
	float: right;
    width: 75%;
}
main.forcefullwidth {
	width: 100%;
	margin-bottom: 5%;
}
/* sidebar */
.sidebar {
	width: 20%;
	margin-right: 5%;
}
.sidebar a.slide-away {
	font-family: "Futura PT Bold";
	display: block;
	text-transform: uppercase;
	margin: 0 0 0.3em 0;
	line-height: 1.25em;
}

/* pagination */
.pagination {
    display: block;
    width: 100%;
    background-color: #f07e7738;
}

/* sub nav */
.sub-nav {
	width: 100%;
	padding: 0 5% 0 5%;
	background-color: #30273C;
	font-family: "Futura PT Bold";
	text-transform: uppercase;
	position: relative;
	display: flex;
}
.sub-nav ul {
	margin: 0 0 0 0;
	list-style: none;
	padding: 0 0 0 0;
}
.sub-nav ul li {
	display: inline-block;
    margin-right: 2em;
}
.sub-nav ul li:last-of-type {
	margin-right: 0;
}
.sub-nav ul li a {
	color: white;
}
.sub-nav ul li.current-menu-item a {
	color: #F17E77;
}
.sub-nav ul.menu > li {
	display: none;
}
.sub-nav ul.menu > li.current-menu-parent {
	display: block;
}
.sub-nav ul.menu > li.current-menu-parent > a {
	visibility: hidden;
}
.sub-nav .sub-menu-wrapper {
    position: relative;
    width: auto;
    background: transparent;
    height: auto;
    top: unset;
    right: unset;
	padding: 1.5em 0 1.5em 0;
	overflow-y: visible;
}
/* the title */
.the-title {
	position: relative;
	background-color: #F07E77;
	width: 100%;
	padding: 4em 5% 2em 5%;
	display: flex;
}
.the-title h1 {
	color: #30273C;
	margin: 0 0 0 0;
	max-width: 65%;
}
.the-title h1 span {
	color: white;
}

/* footer */
.footer {
	background-color: #F07E77;
	width: 100%;
	position: relative;
	color: #000000;
	padding: 2.5% 5% 2.5% 5%;
	font-family: "Helvetica Now Text Medium", Helvetica, Arial, sans-serif;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	line-height: 1.25em;
}
.footer a {
	color: #000000;
}
.footer div {
	flex-basis: 25%;
}
.footer-logo img {
	width: 200px;
}
.footer ul {
	list-style: none;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}
.footer ul.social-icons li {
	display: inline;
}
.footer ul.social-icons li img {
    max-width: 38px;
    max-height: 32px;
    vertical-align: middle;
    margin-right: 16px;
}
.footer-social small a,
.footer-contact ul li a {
	text-decoration: underline;
}



.footer-engage {
	background-color: #30273C;
	display: flex;
	color: white;
}
.footer-engage .engage-left {
	padding: 5% 10% 5% 5%;
}
.footer-engage .landing-left,
.footer-engage .landing-right {
	padding: 5% 10% 5% 5%;
}
.footer-engage .engage-left-holder {
	margin-top: 10vh;
	display: flex;
	justify-content: space-between;
}
.footer-engage .engage-right {
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
}
.footer-engage > div {
	flex-basis: 50%;
}
.footer-engage .boxes {
	border: 3px #F37D74 solid !important;
	flex-basis: 45%;
    padding: 5% 4% 2.5% 5%;
}
.footer-engage .boxes a {
	font-family: "Futura PT Bold";
    text-transform: uppercase;
	color: #F07E77;
	margin-bottom: 2em;
	display: block;
}
.landing-left-button,
.landing-right-button {
	font-family: "Futura PT Bold";
    text-transform: uppercase;
    padding: 5% 4% 5% 5%;
    line-height: 1.25em;
    display: inline-block;
    margin: 2em 0 0 0;
    min-width: 200px;
}
.landing-left-button {
	color: #F07E77;
    border: 3px #F37D74 solid;
}
.landing-right-button {
	color: #000000;
    border: 3px #000000 solid;
}
.landing-left-holder,
.landing-right-holder {
	display: none;
	padding-top: 3em;
}



.footer-news {
	padding: 5% 5% 5% 5%;
	
}
.footer-news-holder {
	display: flex;
}	
.footer-news-go {
	font-family: "Futura PT Bold";
    text-transform: uppercase;
    color: #F07E77;
	border: 3px #F37D74 solid !important;
    padding: 1% 3% 2% 1%;
	line-height: 1.25em;
	display: inline-block;
	margin: 2em 0 0 0;
	max-width: 250px;
}
.footer-news h2 {
	color: #F07E77;
	margin: 0 0 2em 0;
}
.footer-news .news {
	flex-basis: 75%;
}
.footer-news .news .news-items {
	display: flex;
	list-style: none;
	justify-content: space-between;
}
.news-items > div {
	flex-basis: 33.3%;
	padding-right: 2%;
}
.news-items .news-thumb {
	aspect-ratio: 4 / 3;
	min-height: 300px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	position: relative;
}
.news-thumb {
	position: relative;
}
.footer-news .twitter {
	flex-basis: 25%;
}
#sb_instagram #sbi_images {
	padding: 0 !important;
}
#sb_instagram .sbi_photo {
	height: 100% !important;
}
#sb_instagram .sbi_photo_wrap {
	aspect-ratio: 4 / 3;
}
#ctf {
	overflow-y: scroll;
	background-color: rgb(242, 242, 242);
	padding: 0 5%;
}
#ctf .ctf-author-name {
	display: block;
}
#ctf .ctf-header-type-text {
	font-size: 1.33em !important;
	font-family: "Helvetica Now Display Bold";
    font-weight: normal;
	padding-top: 20px;

}
#ctf #ctf-more {
	margin-bottom: 20px;
}

/*------------------------------------*\
    MAPS
\*------------------------------------*/

body.page-template-template-map .wrapper {
	width: 100%;
	margin: 0 0 0 0;
}
.acf-map {
	height:100vh;
}
#mylocation {
	min-width: 320px;
	margin-right: 1em;
	width: 33.3%;
}
.map-searchform {
	width: 75%;
}
.map-searchbox {
	position: relative;
	width: 100%;
    padding: 4em 5% 2em 5%;
    display: flex;
	background-color: #30273C;
}
.a-shelter {
	margin: 3em 0 3em 0;
	line-height: 1.0em;
	padding: 0 0 2em 0;
	border-bottom: #F07E77 2px solid;
}
.a-shelter:first-of-type {
	margin: 0 0 3em 0;
}
.a-shelter h2 {
	color: #F07E77;
}
.shelters-listings {
	width: 50%;
	float: left;
	padding: 5% 5% 5% 5%;
	height: 100vh;
    overflow-y: scroll;
}
.shelters-listings .a-shelter .address {
	display: none;
}

/*------------------------------------*\
    DOWNLOADS
\*------------------------------------*/
.downloads-listings {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 5em 0;
	justify-content: flex-start;
}
.a-download {
	position: relative;
	flex-basis: 30%;
	margin-right: 2%;
	border-radius: 10px;
	border: #F17E77 0.05em solid;
	padding: 1% 2% 1% 2%;
	background-image: url('img/donwload.svg');
	background-repeat: no-repeat;
	background-position: 90% 90%;
	background-size: 60px auto;
	margin-bottom: 3em;
}
.a-download h2 {
	font-size: 1.33em;
	min-height: 46px;
}
.a-download .year {
	font-family:"Futura PT Bold";
    font-size: 3.0em;
	margin: 2em 0 0 0;
	width: 70%;
	color: #F37D74;
	line-height: 1.0em;
}

/*------------------------------------*\
    TEAM
\*------------------------------------*/

.team-reveal {
	color: white;
	position: fixed;
	width: 75%;
	padding: 5% 30% 5% 5%;
	background-color: #30273C;
	height: 100vh;
	top: 0;
	z-index: 200;
	overflow-y: scroll;
	box-shadow: none;
	right: -100%;
-webkit-transition: right 0.50s ease-in-out, box-shadow 0.50s ease-in-out;
-moz-transition: right 0.50s ease-in-out, box-shadow 0.50s ease-in-out;
-ms-transition: right 0.50s ease-in-out, box-shadow 0.50s ease-in-out;
-o-transition: right 0.50s ease-in-out, box-shadow 0.50s ease-in-out;
transition: right 0.50s ease-in-out, box-shadow 0.50s ease-in-out;
}
.team-listings {
	display: flex;
	margin: 0 0 5em 0;
	flex-wrap: wrap;
}
.a-team {
	flex-basis: 33.3%;
	padding-right: 2%;
	margin-bottom: 3em;
}
.team-thumb {
	position: relative;
    height: 30vh;
    min-height: 340px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.team-reveal h2 {
	color: #F07E77;
}
.team-reveal.opened {
	right: 0;
	box-shadow: #0000004a -10px 0px 20px 0px;
}
.team-reveal.opened img {
	max-width: 420px;
	height: auto;
}
.team-close {
	position: absolute;
	opacity: 0;
	right: 5%;
	font-size: 4em;
	font-family: 'Times New Roman', Times, serif;
	font-weight: lighter;
-webkit-transition: opacity 0.50s ease-in-out 0.50s;
-moz-transition: opacity 0.50s ease-in-out 0.50s;
-ms-transition: opacity 0.50s ease-in-out 0.50s;
-o-transition: opacity 0.50s ease-in-out 0.50s;
transition: opacity 0.50s ease-in-out 0.50s;
}
.team-reveal.opened .team-close {
	position: fixed;
	opacity: 1;
}

/*------------------------------------*\
    FORMS
\*------------------------------------*/

.grecaptcha-badge {
	display: none !important;
}

.page-intro input {
	display: block;
}

input[type=search] {
	appearance: textfield;
	-webkit-appearance: textfield;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.mailchimp-container a.button,
form input,
form textarea,
form button {
	background-color: #F4F4F4;
	border: none;
	border-radius: 8px;
	color: #30273C;
	padding: 10px 15px;
	text-align: left;
}
form textarea {
	width: 100%;
}
.wrapper form .holder {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.wrapper form .holder span {
	flex-basis: 49%;
}
span.wpcf7-not-valid-tip {
	margin: -0.75em 0 1em 0;
}
#mc_embed_signup form input,
.wrapper form .holder span input {
    width: 100%;
	margin-bottom: 1em;
}
.footer form input {
	width: 100%;
}
form input[type=submit],
form button[type=submit] {
	background-color: #F07E77;
	font-family:"Helvetica Now Text Medium";
	color: white;
}
.nav form input,
.nav form button {
	width: 100%;
}
.nav form input[type=submit],
.nav form button[type=submit] {
	background-color: #CC5851;
}
.nav form button[type=submit] {
	margin-top: 1em;
}
#mc_embed_signup form input[type=submit],
.wrapper form input[type=submit] {
	width: 49%;
}
.mailchimp-container a.button,
.mailchimp-container form input[type=submit],
.footer form input[type=submit] {
	background-color: #CC5851;
	text-transform: uppercase;
	font-family: "Helvetica Now Display Bold";
    letter-spacing: 0.05em;
}
#mailchimp {
	width: 75%;
	margin: 0.5em 0 0.5em 0;
}
#newsletterfe {
	width: 75%;
	border-radius: 8px 0 0 8px;
}
#newsletterfs {
	width: 22.5%;
	border-radius: 0 8px 8px 0;
    left: -2%;
	position: relative;
	text-align: center;
}
form select {
    padding: 10px 15px;
    border: none;
	background-color: #F4F4F4;
	color: #757575;
	width: 100%;
    border-radius: 8px;
}
#CreditCardForm select,
#DirectDebitForm select {
	height: 46px;
}
#CreditCardForm input[type=text],
#CreditCardForm select,
#DirectDebitForm input[type=text],
#DirectDebitForm select {
	display: inline-block;
    width: 49%;
    margin: 0 0 1em 0;
}
#CreditCardForm input[type=radio],
#CreditCardForm input[type=checkbox],
#DirectDebitForm input[type=radio],
#DirectDebitForm input[type=checkbox] {
    margin: 0.5em 0.5em 0.5em 0;
    height: 15px;
}
#CreditCardForm label,
#DirectDebitForm label {
	display: block;
	margin: 0 0 1em 0;
}
#CreditCardForm label.error,
#DirectDebitForm label.error {
	position: absolute;
	box-shadow: none;
	margin: calc(-2em + 2px) 0 0 0.25em;
    font-size: small;
}
#CreditCardForm .ErrorContainer,
#DirectDebitForm .ErrorContainer {
	color: #96534f;
	font-family:"Helvetica Now Text Bold";
}
.card-holder-stripe {
	width: 100%;
	margin: 0 auto 1em auto;
}
.card-div-stripe {
	margin: 0 auto 1em auto;
	background-color: #F4F4F4;
	padding: 10px 15px;
	border-radius: 8px;
}

#mc_embed_signup form span.mce-list-item  {
	position: relative;
	cursor: pointer;
	width: calc(1em + 3em);
	display: inline-block;
	height: 30px;
    vertical-align: top;
    margin-bottom: 1em;
}
#mc_embed_signup form input[type=checkbox] {
	position: absolute;
	margin: 0;
	width: 30px;
	height: 30px;
	visibility: hidden;
}
#mc_embed_signup form span.mce-list-item + label {
	cursor: pointer;
}


.wpcf7-form span.wpcf7-list-item {
	margin: 0 0 0 0;
}
.wpcf7-form .wpcf7-checkbox label,
.wpcf7-form .wpcf7-acceptance label {
	position: relative;
	cursor: pointer;
}
.wpcf7-form .wpcf7-checkbox input[type=checkbox],
.wpcf7-form .wpcf7-acceptance input[type=checkbox] {
	position: relative;
	visibility: hidden;
	width: 0;
}
.wpcf7-form .wpcf7-checkbox input[type=checkbox] + span,
.wpcf7-form .wpcf7-acceptance input[type=checkbox] + span {
	vertical-align: middle;
	position: relative;
	padding-left: calc(1em + 30px);
}
#mc_embed_signup form span.mce-list-item:before,
.wpcf7-form .wpcf7-checkbox input[type=checkbox] + span:before,
.wpcf7-form .wpcf7-acceptance input[type=checkbox] + span:before {
	display: block;
	position: absolute;
	content: '';
	border-radius: 5px;
	height: 30px;
	width: 30px;
	top: -4px;
	left: 0px;
    background-color: #F4F4F4;
}
#mc_embed_signup form span.mce-list-item:after,
.wpcf7-form .wpcf7-checkbox input[type=checkbox] + span:after,
.wpcf7-form .wpcf7-acceptance input[type=checkbox] + span:after {
	display: block;
	position: absolute;
	content: '\2714';
	border-radius: 100%;
	height: 30px;
	width: 30px;
	top: -2px;
	left: 4px;
	visibility: hidden;
	font-size: 26px;
    font-weight: 100;
	opacity: 0.75;
}
#mc_embed_signup form input[type=checkbox]:checked + span.mce-list-item:after,
.wpcf7-form .wpcf7-checkbox input[type=checkbox]:checked + span:after,
.wpcf7-form .wpcf7-acceptance input[type=checkbox]:checked + span:after {
	visibility: visible;
}


.wppb-register-user input,
.wppb-register-user select {
	height: auto;
	width: 100%;
}
.wppb-register-user select {
	height: 59px;
}
#wppb-loginform .login-remember,
.wppb-input-hidden {
	display: none;
}
.wppb-description-delimiter {
	font-size: small;
}
.wppb-register-user ul {
	list-style: none;
	padding: 0 0 0 0;
	margin: 0 0 0 0;
}
.wppb-register-user ul li {
	padding: 0 0 0 0;
	margin: 0 0 1em 0;
}
.wppb-register-user ul li::before {
	content: "";
}

#wppb-loginform .login-password {
	position: relative;
}
#wppb-loginform .wppb-toggle-pw {
    position: absolute;
    right: 0;
    width: 50px;
    background: none;
	height: 100%;
}
#wppb-loginform .wppb-toggle-pw img {
	vertical-align: middle;
}

.wppb-field-error label img {
	width: 20px;
    vertical-align: middle;
}
.wppb-alert {
	line-height: 1.25em;
}

form fieldset {
	border: none;
	margin: 0;
	padding: 0;
}
label.hidden_sub_label {
	display: none;
}
form fieldset legend {
	font-weight: 600;
}
form fieldset.hidden_label legend {
	display: none;
}
.footer-engage input,
.footer-engage select,
.footer-engage textarea {
	width: 100%;
	margin-bottom: 1em;
}
.footer-engage input[type="radio"],
.footer-engage input[type="checkbox"] {
	width: auto;
	margin: 0 1em 0 0;
}
.footer-engage input[type=submit] {
	width: calc(50% - 3px);
	margin: 2em 0 0 0;
}
.footer-engage .name_first input,
.footer-engage .name_last input {
    width: calc(50% - 3px);
}
.footer-engage .ginput_container_radio,
.footer-engage .ginput_container_consent {
	margin-bottom: 1em;
}
.gf_clear_complex,
.gform_required_legend,
.gform_submission_error {
	display: none !important;
}
.footer-engage textarea {
	height: 6em;
}


#gform_9 .gform_fields input {
	width: 100%;
	margin-bottom: 1em;
}
.ginput_complex {
	display: flex;
	flex-wrap: wrap;
	column-gap: 1em;
}
.ginput_complex > span {
	flex: 1;
}
.ginput_complex > span input,
.ginput_complex > span label {
	display: block;
	width: 100% !important;
}
#gform_9 .gform_fields p small {
    opacity: 0.5;
    line-height: 1.25em;
    display: block;
}


/*------------------------------------*\
    PAGES
\*------------------------------------*/

/* home */
.the-stats {
	background-color: #F07E77;
	padding: 2.5% 5% 0 5%;
	color: white;
}
.the-stats h2 {
	margin-bottom: 3em;
}
.the-stats-holder {
	display: flex;
}
.a-stat {
    flex-basis: calc(25% - 3px);
	border-right: 3px black solid;
	padding: 0 5% 5% 2.5%;
}
.a-stat.landing-stat {
    flex-basis: calc(33.3333333333% - 3px);
	padding-bottom: 2.5%;
}
.a-stat.landing-stat i {
	font-size: 2em;
	float: left;
	margin: 5px 1em 1em 0;
	color: black;
}
.a-stat:first-of-type {
	padding-left: 0;
}
.a-stat:last-of-type {
	border-right: none;
	padding-right: 0;
}
.a-stat .icon {
	float: left;
	margin: 5px 1em 1em 0;
	max-width: 50px;
	max-height: 50px;
}
.a-stat p:not(.stats) {
	font-family:"Helvetica Now Text Medium";
}
.a-stat:last-of-type a {
	border: 3px black solid;
	display: inline-block;
	color: black;
	font-family:"Futura PT Bold";
	padding: 2.5% 15% 7.5% 2.5%;
	margin: 3em 0 1em 0;
}


.home-boxes {
	width: 100%;
	padding: 5% 5% 2.5% 5%;
	display: flex;
	justify-content: space-between;
}
.home-boxes.landing-boxes {
	flex-wrap: wrap;
}
.home-boxes h2 {
	color: #F07E77;
}
.home-boxes p {
	margin: 0 0 0 0;
}
.home-boxes .boxes {
	flex-basis: 32%;
}
.home-boxes.landing-boxes .boxes {
	margin-bottom: 3em;
}
.home-boxes .boxes .image {
	width: 100%;
	margin-bottom: 3em;
	height: 35vh;
	min-height: 250px;
	position: relative;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.home-boxes .boxes .youtube {
	height: 35vh;
	min-height: 250px;
	overflow: hidden;
	margin-bottom: 3em;
} 
.video-container {
	position: relative;
	/*padding-bottom: 56.25%;*/
    /*padding-top: 12.5%;*/
	height: 100%;
	overflow: hidden;
}
article .video-container.normal-aspect {
	padding-bottom: 56.25%;
}
article .video-container.normal-aspect .video-container.normal-aspect {
	padding-bottom: 56.25%;
}
.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.page-intro {
	font-size: 1.33em;
	line-height: 1.5em;
	width: 65%;
	margin: 0 0 2em 0;
}
body.page-template-template-fullwidth .page-intro {
	width: 100%;
}

.content-blocks {
	margin: 0 0 5em 0;
	width: 65%;
}
body.page-template-template-fullwidth .content-blocks {
	width: 100%;
}
.content-blocks h2 {
	color: #F07E77;
}
.content-blocks h2:first-of-type {
	margin-top: 0 !important;
} 
.content-blocks h3 {
	color: #000000;
}
.content-blocks img {
    max-width: 100%;
    margin-top: 2em;
    font-size: 1.66em;
    height: auto;
}
.content-blocks table {
	margin: 2em 0 2em 0;
    width: 100%;
    border: 1px solid;
}
.content-blocks table tr:nth-of-type(odd) {
	background-color: #f6f6f6;
}
.content-blocks table tr td {
    padding: 1em 1em 1em 1em;
}


.video-block {
	margin: 3em 0 3em 0;
    width: 100%;
}

.quote-block {
	margin: 3em 0 3em 0;
    width: 100%;
}
.quote-block blockquote {
	margin: 0 0 10px 0;
}
.quote-block p {
	margin: 0 0 0 0;
}


.callout {
    padding: 3em;
	color: white;
	font-size: 1.2em;
    line-height: 1.5em;
	margin: 1em 0 0 0;
}
.callout.light {
	background-color: #F07E77;
	background: radial-gradient(circle, rgba(240,126,119,1) 0%, rgb(204 88 81) 100%);
}
.callout.dark {
	background-color: #30273C;
	background: radial-gradient(circle, rgba(65,39,75,1) 0%, rgba(48,39,60,1) 100%);
}
.callout h2 {
	color: white;
}
.callout .source {
	margin: 3em 0 0 0;
    font-size: 0.666em;
    opacity: 0.666;
	line-height: 1.333em;
}

.image-set {
	margin: 3em 0 3em 0;
}
.image-set-holder {
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	grid-template-rows: auto;
	column-gap: 1em;
	row-gap: 1em;
	justify-items: center;
	align-items: center;
}
.image-set img {
	margin: 0 0 0 0;
}

.boxes-items {
    margin: 2em 0 2em 0;
	width: 150%;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}
.boxes-items > div {
	flex-basis: 33.3%;
	padding-right: 2%;
	margin-bottom: 2em;
}
.boxes-items h3 {
	color: #F07E77;
}
.boxes-thumb {
	position: relative;
	height: 25vh;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	background-color: #f9f9f9;
}



/*------------------------------------*\
    POSTS
\*------------------------------------*/


#loading-animation { 
	margin: 0 auto 2em auto;
    width: auto;
    text-align: center;
}
#category-post-content {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin: 0 0 5em 0;
}
#category-post-content article {
	flex-basis: 33.3%;
	padding-right: 2%;
	margin: 0 0 2em 0;
}
#category-post-content .news-thumb {
	position: relative;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	height: 30vh;
	background-color: #f9f9f9;
	border: #F17E77 0.05em solid;
}
.search-results article {
	margin: 0 0 2em 0;
}
.search-results .news-thumb {
	height: 100px;
    width: 100px;
    background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
    float: left;
    margin: 0 1em 0.5em 0;
}
.search-results .date {
	font-size: 0.75em;
	display: inline-block;
	margin: 0 0 0 0;
}
.search-results span.category,
#category-post-content span.category {
	border-radius: 22px;
	color: #30263C;
	border: 2px solid #30263C;
	margin: 0 0 0.5em 0;
	line-height: 1.0em;
	display: inline-block;
	padding: 0.75em 1.5em calc(0.75em + 1px) 1.5em;
	font-family:"Helvetica Now Display Bold";
	font-weight: normal;
	font-size: 0.9em;
}
.search-results span.category {
	padding: 10px 15px;
}
.sidebar ul.cat-filters {
	list-style: none;
	margin: 0 0 2em 0;
	padding: 0 0 0 0;
	font-family:"Helvetica Now Display Bold";
	font-weight: normal;
	font-size: 0.9em;
}
.sidebar ul.cat-filters li a {
	border-radius: 22px;
	color: #30263C;
	border: 2px solid #30263C;
	margin: 0 0 0.5em 0;
	line-height: 1.0em;
	display: inline-block;
	padding: 2.5% 5% calc(2.5% + 1px) 5%;
}
.sidebar ul.cat-filters li a.current {
	border: 2px solid #F07E77;
	color: #F07E77;
}

body.single article {
	width: 65%;
	margin: 0 0 5em 0;
}
body.single .footer-news {
	background-color: #F5F5F5;
}
body.single .footer-news .news {
	flex-basis: 100%;
}


/*------------------------------------*\
	ONLINE RESOURCES
\*------------------------------------*/

body.page-template-template-onlineresources .wrapper .sidebar,
body.page-template-template-onlineresourcewales .wrapper .sidebar {
	float: left;
    display: unset;
}

.onlineresources-listings {
	display: flex;
    justify-content: flex-start;
	flex-wrap: wrap;
	margin-top: -0.5em;
	margin-bottom: 5em;
	align-items: stretch;
}
.a-onlineresource {
	flex-basis: 31.5%;
	background-color: #F07E77;
	border-bottom-left-radius: 11px;
	border-bottom-right-radius: 11px;
	margin-bottom: 2.5%;
	margin-right: 1.75%;
	opacity: 1;
	transition: opacity 250ms ease-out;
}
.orfaded {
	opacity: 0.5;
}
.orfaded > div {
	pointer-events: none;
}
.onlineresource-featuredimage {
	height: 20vh;
	/*min-height: 200px;*/
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	position: relative;
	border: 1px solid #efefef;
}
.onlineresource-featuredimage a {
	width: 100%;
	height: 100%;
	position: absolute;
}
.a-onlineresource-inner {
	display: flex;
	flex-wrap: wrap;
	height: calc(100% - 20vh);
}
.onlineresource-titles {
	flex-basis: 100%;
	padding: 5% 5% 0 5%;
}
.onlineresource-summary {
	flex-basis: 100%;
	align-self: flex-end;
	position: relative;
	z-index: 1;
}

.onlineresource-summary-holder {
	position: absolute;
    top: 0;
	width: 100%;
	padding: 0 5% 5% 5%;
	background-color: #F07E77;
	border-bottom-left-radius: 11px;
	border-bottom-right-radius: 11px;

	display: none;

}
.onlineresource-summary-inner {
	background-color: #ffffff;
	border-radius: 4px;
	/*padding: 0.4em 1em 1.25em 0.6em;*/
	padding: 0.5em 0.6em 1em 0.6em
}
.onlineresource-summary-close {
	display: flex;
	justify-content: space-between;
}
.reveal-onlineresource {
	color: #30273C;
	background-color: #ffffff;
	border-radius: 4px;
	width: 90%;
	display: block;
	padding: 0.5em 0.75em;
	background-image: url('img/down.svg');
	background-repeat: no-repeat;
	background-position: 95% center;
    margin: 0 5% 5% 5%;
	font-size: 0.85em;
	font-family:"Helvetica Now Text Bold";
	font-weight: normal;
	letter-spacing: -0.02em;
}
.go-onlineresource-pdf {
	background-color: #97929d;
	border-radius: 27px;
	letter-spacing: -0.02em;
	font-size: 0.85em;
	color: #ffffff;
	font-family:"Helvetica Now Text Bold";
	font-weight: normal;
	width: 100%;
	display: block;
	text-align: center;
	padding: 1em 0.75em;
	margin-top: 1.25em;
}

.onlineresource-summary-close {
	font-family:"Helvetica Now Text Bold";
	font-weight: normal;
	letter-spacing: -0.02em;
	font-size: 0.85em;
	margin-bottom: 1.25em;
}
.close-onlineresource {
	font-family:"Helvetica Now Text Medium";
	font-weight: normal;
}
.close-onlineresource img {
	vertical-align: middle;
    margin-top: -2.5px;
    margin-left: 5px;
    width: 15px;
    height: 15px;
}

.onlineresources-content {
	display: none;
	margin-bottom: 7em;
}
.onlineresources-content h3 {
	margin: 1em 0 5px 0;
	font-size: 1.5em;
}
.onlineresources-content h4 {
	margin: 0 0 0 0;
	text-transform: none;
	font-size: 1.2em;
	font-family: "Helvetica Now Display Bold";
    font-weight: normal;
}
.onlineresources-content blockquote {
    font-family: "Helvetica Now Text Medium";
    font-style: italic;
    font-size: 1.2em;
    line-height: 1.4em;
    margin: 0 0 2em 0;
}
.onlineresources-content blockquote a {
	border-bottom: 0;
	text-decoration: underline;
}
.onlineresources-content ul {
	margin-bottom: 1em;
}
.onlineresources-content ul a,
.onlineresources-content ol a {
	text-decoration: underline;
}
body.single div.read-more,
.onlineresources-content div.read-more {
    margin: 2em 0 0 0;
    border-top: #E1847B 1px solid;
    padding: 1em 0 0 0;
}
.onlineresources-content-inner {
	display: flex;
	flex-direction: row-reverse;
}
.onlineresources-content-main {
	flex: 2;
}
.onlineresources-content-main img {
	height: auto;
}
.onlineresources-content .download-pdf {
	flex: 1;
	margin: 1em 0 3em 0;
}
.onlineresources-content .download-pdf img {
	max-height: 94px;
	margin-bottom: 0.5em;
}
.download-onlineresource {
	width: 50%;
    display: block;
	margin: 0 auto 0 auto;
	font-family:"Helvetica Now Text Bold";
	font-weight: normal;
	font-size: 1.33em;
	color: #F07E77;
}

.back-onlineresource {
	color: #f7beba;
	text-transform: uppercase;
}
.back-onlineresource span {
    font-size: 19px;
    vertical-align: baseline;
}

.res-filters {
	list-style: none;
	padding: 0 0 0 0;
	margin: 0 0 3em 0;
	font-family: "Futura PT Bold";
    display: block;
    text-transform: uppercase;
}
.res-filters li {
	padding: 0 0 0 0;
	margin: 0 0 0.5em 0;
	line-height: 1.25em;
	transition: opacity 100ms linear;
}
.res-filters li a {
	opacity: 0.3;
}
.res-filters li.current a {
	opacity: 1.0;
}
.res-filters li a:hover {
	opacity: 1.0;
}
.res-filters-border {
	border-top: #E1847B 1px solid;
	padding-top: 0.5em !important;
}

.catsnames-spacer:not(:last-of-type)::after {
	content: ", ";
}

a.externallink {
	position: relative;
	margin: 2em 0 2em 0;
    display: block;
}
a.externallink:after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	margin-left: 10px;
	background-image: url('img/externallink.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}
a.lettingsnetwork {
	font-family: "Futura PT Bold";
    text-transform: uppercase;
	letter-spacing: -0.01em;
	white-space: nowrap;
}
a.lettingsnetwork img {
	max-height: 1em;
	width: auto;
    vertical-align: text-top;
    margin-left: 0.25em;
	line-height: 1em;
}

/*------------------------------------*\
	MAILCHIMP
\*------------------------------------*/

.mailchimp-container {
	display: block;
	visibility: hidden;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 99;
    color: white;
    background: linear-gradient(#30273C,#1c1827);
	box-shadow: 0 0 1em #00000080;
    width: 30vw;
	min-width: 460px;
    max-width: 520px;
	padding: 2.5%;
	border-radius: 8px 0 0 0;
	font-size: 0.9em;
	line-height: 1.33em;
	border: unset;
    left: unset;
	max-height: 0;
	transition: max-height 500ms ease-in-out;
}
.mailchimp-container h4 {
	color: white;
	margin: 0 0 0.33em 0;
}
.mailchimp-container a.button {
	display: block;
    font-family: "Helvetica Now Text Medium";
    color: white;
	font-weight: 400;
}
.mailchimp-container a.button,
.mailchimp-container input {
	width: 85%;
	margin: 0 0 5px 0;
}
.gfield.hidden_label label {
	display: none;
}
.gfield.gform_hidden {
	display: none;
}
.gfield .validation_message {
	color: #F2F2F2;
	margin: 0 0 1em 0;
	font-weight: 600;
	font-size: 0.8em;
}
.gform_wrapper .validation_error {
	display: none !important;
}
.gform_fields {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mailchimp-dismiss {
	color: #F2F2F2;
	position: absolute;
	top: 7.5%;
	right: 5%;
	font-family: Times New Roman;
	font-size: 3em;
}
.gform_validation_container {
	display: none !important;
}
.hiderecaptcha {
	/*display: none !important;*/
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
	border: none;
}
.wpcf7 form .wpcf7-response-output {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	color: #dc3232;
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/


@font-face{
	font-family:"Compacta Light";
	src:url("fonts/da2a2109-6203-46d9-b662-d4ef96c5d29a.eot?#iefix");
	src:url("fonts/da2a2109-6203-46d9-b662-d4ef96c5d29a.eot?#iefix") format("eot"),url("fonts/b9671da6-5f64-4a56-bc49-68944df72a35.woff2") format("woff2"),url("fonts/deb7b938-ce64-4f7b-9004-f3803a06417a.woff") format("woff"),url("fonts/512ff991-f9b7-4a55-934e-fdbc2433cf0e.ttf") format("truetype");
}
@font-face{
	font-family:"Futura PT Bold";
	src:url("fonts/88a061c2-3303-401d-85e9-619b5ea5f5af.eot?#iefix");
	src:url("fonts/88a061c2-3303-401d-85e9-619b5ea5f5af.eot?#iefix") format("eot"),url("fonts/1a34942e-33ed-43bb-b229-7460d55b49f7.woff2") format("woff2"),url("fonts/baecea54-cfd3-4578-8717-abf89eba62b6.woff") format("woff"),url("fonts/f275eebe-30f5-4068-9294-51dc44c8409e.ttf") format("truetype");
}
@font-face{
	font-family:"Helvetica Now Text Regular";
	src:url("fonts/34aa1526-948d-4e18-9bf7-fd91b4eae796.eot?#iefix");
	src:url("fonts/34aa1526-948d-4e18-9bf7-fd91b4eae796.eot?#iefix") format("eot"),url("fonts/5eec4451-e90c-42e7-b4d8-9b8654a65568.woff2") format("woff2"),url("fonts/f7cf763b-e79b-4c28-af92-803e0c3f16d4.woff") format("woff"),url("fonts/4f32bc08-77d9-4675-bb6a-93ac6cc69cc7.ttf") format("truetype");
}
@font-face{
	font-family:"Helvetica Now Text Medium";
	src:url("fonts/3785b819-f218-40fd-a3bc-9ec69749b7bf.eot?#iefix");
	src:url("fonts/3785b819-f218-40fd-a3bc-9ec69749b7bf.eot?#iefix") format("eot"),url("fonts/2fd3ef81-07ed-45b4-a344-7a0defbdadcf.woff2") format("woff2"),url("fonts/52492279-0374-4238-ba8b-751b50089cf0.woff") format("woff"),url("fonts/2f2d2a98-c303-4af0-8b3d-9f4a757b1a16.ttf") format("truetype");
}
@font-face{
	font-family:"Helvetica Now Text Bold";
	src:url("fonts/c193c18d-e4dc-4120-8e8a-09aeccba0d45.eot?#iefix");
	src:url("fonts/c193c18d-e4dc-4120-8e8a-09aeccba0d45.eot?#iefix") format("eot"),url("fonts/2a13627f-dba8-48e1-935c-a404f5293139.woff2") format("woff2"),url("fonts/ce7a1fe7-2605-427a-b064-a01ebce69295.woff") format("woff"),url("fonts/30856021-7394-4e14-b917-357ff12e6ebf.ttf") format("truetype");
} 
@font-face{
	font-family:"Helvetica Now Micro Regular";
	src:url("fonts/210b13cb-f660-4bd6-80aa-cf9acff0f560.eot?#iefix");
	src:url("fonts/210b13cb-f660-4bd6-80aa-cf9acff0f560.eot?#iefix") format("eot"),url("fonts/20adf2a3-ba10-4dc2-ae3c-c33cfb47164e.woff2") format("woff2"),url("fonts/09d434d9-4e07-43d4-b159-c00c93148ba5.woff") format("woff"),url("fonts/b9897917-a88d-4bc2-823b-f1d59fb11989.ttf") format("truetype");
}
@font-face{
	font-family:"Helvetica Now Micro Medium";
	src:url("fonts/d87d0801-f06d-4885-a43f-35903e5c91df.eot?#iefix");
	src:url("fonts/d87d0801-f06d-4885-a43f-35903e5c91df.eot?#iefix") format("eot"),url("fonts/22b7397b-8bc0-4fb2-8f41-aeffdbf3fa6c.woff2") format("woff2"),url("fonts/6ebe2e12-616d-4b8f-bede-1804e8f73516.woff") format("woff"),url("fonts/70ff34b2-a315-4847-a1e5-279f1be1e910.ttf") format("truetype");
}
@font-face{
	font-family:"Helvetica Now Micro Bold";
	src:url("fonts/d6790c12-4a85-4e1b-89c2-de8f5991a9db.eot?#iefix");
	src:url("fonts/d6790c12-4a85-4e1b-89c2-de8f5991a9db.eot?#iefix") format("eot"),url("fonts/edec36be-f5fa-4fc9-9edd-cb4d0e454290.woff2") format("woff2"),url("fonts/14139f86-d73e-4f4f-889f-55a0901642ff.woff") format("woff"),url("fonts/5cf8f64b-2acb-413f-b378-7abb987c4aa6.ttf") format("truetype");
}
@font-face{
	font-family:"Helvetica Now Display Rg";
	src:url("fonts/7041e293-6939-475f-9676-52a35ae6a2cd.eot?#iefix");
	src:url("fonts/7041e293-6939-475f-9676-52a35ae6a2cd.eot?#iefix") format("eot"),url("fonts/644d8155-d6f1-42bb-8c90-2c98b785b510.woff2") format("woff2"),url("fonts/4b0db5c8-a742-4486-9214-fe8eee4ede3d.woff") format("woff"),url("fonts/8b9eb78a-973a-4378-b402-7403c03b80c9.ttf") format("truetype");
}
@font-face{
	font-family:"Helvetica Now Display Md";
	src:url("fonts/0b79f038-2e61-4cd0-8510-006f5a38ef59.eot?#iefix");
	src:url("fonts/0b79f038-2e61-4cd0-8510-006f5a38ef59.eot?#iefix") format("eot"),url("fonts/effd846d-39d3-439a-a81b-14b26fd5fb7e.woff2") format("woff2"),url("fonts/c2e2103e-7e6b-4248-b080-0100c5896596.woff") format("woff"),url("fonts/20c7e9b1-72ed-4212-9954-bdc80fc89d08.ttf") format("truetype");
}
@font-face{
	font-family:"Helvetica Now Display Bold";
	src:url("fonts/b1beb284-0fa8-4df5-b871-28c2145b773c.eot?#iefix");
	src:url("fonts/b1beb284-0fa8-4df5-b871-28c2145b773c.eot?#iefix") format("eot"),url("fonts/081486f6-ae1e-4fc6-8ab9-6a939e96bbdc.woff2") format("woff2"),url("fonts/2acf5951-bff6-44e3-949f-a3fa4de57397.woff") format("woff"),url("fonts/ce707be6-c86a-448d-b511-8462ad86b628.ttf") format("truetype");
}

h1 {
	font-family:"Futura PT Bold";
	text-transform: uppercase;
	font-size: 2.75em;
	line-height: 1.0em;
}
h2 {
	font-family:"Futura PT Bold";
	text-transform: uppercase;
	font-size: 1.66em;
	line-height: 1.33em;
}
.onlineresources-listings-holder > h2 {
	margin-bottom: 1.75em;
}
h3 {
	color: #F07E77;
	font-size: 1.33em;
	line-height: 1.5em;
	font-family:"Helvetica Now Display Bold";
	font-weight: normal;
}
.search-results article h3 {
	margin: 1em 0 0.25em 0;
}
h4 {
	color: #30273C;
	font-size: 1.25em;
	line-height: 1.5em;
	font-family:"Futura PT Bold";
	text-transform: uppercase;
}
h5 {
	font-weight: normal;
    font-size: 1.33em;
    line-height: 1.33em;
}
.a-onlineresource h5 {
	font-family:"Helvetica Now Display Bold";
	font-weight: normal;
	color: #ffffff;
	letter-spacing: -0.01em;
    margin: 0 0 1.25em 0;
}
h6 {
	font-size: 0.8em;
	line-height: 1.0em;
	font-family:"Futura PT Bold";
	text-transform: uppercase;
}
.a-onlineresource h6 {
	opacity: 0.5;
	color: #ffffff;
	margin: 0 0 0.5em 0;
}

.stats {
	font-family: "Compacta Light";
    font-size: 10em;
    line-height: 1.0em;
	margin: -0.15em 0 0.15em 0;
    color: black;
}
.wrapped li a,
main article ul li a,
main article ol li a,
main article p a,
main article h3 a,
main article h4 a {
	border-bottom: 1px solid !important
}
p {
	margin: 0 0 1em 0;
}
p strong {
	font-family:"Helvetica Now Text Bold";
	font-weight: normal;
}
.date {
	opacity: 0.5;
    font-size: 0.9em;
    margin: -1em 0 2em 0;
}
.readmore {
	color: #F07E77;
	text-decoration: underline;
	font-family:"Helvetica Now Text Medium";
	font-size: 1.10em;
	margin: 1em 0 1em 0;
	display: block;
}
blockquote {
    font-family: "Helvetica Now Text Bold";
    font-weight: normal;
    font-size: 1.5em;
    line-height: 1.25em;
    margin: 2em 0 2em 0;
}
blockquote strong {
	font-family: "Helvetica Now Text Regular";
	font-weight: normal;
	display: block;
	color: #F07E77;
	font-size: 0.66em;
}

main ul {
	list-style: none;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}
main ul li {
    padding: 0 0 0 2em;
}
main ul li:before {
	content: "\2022";
	color: #F07E77;
	display: inline-block; 
    margin-left: -0.75em;
    width: 0.75em;
	font-family: Arial, Helvetica, sans-serif;
    font-size: 40px;
    vertical-align: middle;
}
.list-outline {
	border: 1px solid black;
    display: inline-block;
    padding: 1em 1em 1em 1em;
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

a[href*='http']  {
	border-bottom: none;
}

.mobile-back,
.sub-nav ul li.mobile-back {
	display: none;
}

@media only screen and (max-width:1400px) {
	.header-title {
		width: 75%;
	}


}

@media only screen and (max-width:1140px) {
	#mailchimp {
		width: 90%;
	}
	.a-download {
		flex-basis: 48%;
	}
	.a-team {
		flex-basis: 48%;
	}



}

@media only screen and (max-width:1024px) {
	.the-stats-holder {
		flex-wrap: wrap;
	}
	.a-stat {
		flex-basis: calc(50% - 3px);
		margin: 0 0 2em 0;
	}
	.a-stat.landing-stat {
		flex-basis: 100%;
		border-right: none;
		padding-left: 0;
	}
	.a-stat:nth-child(even) {
		border-right: none;
	}

	.logo-img {
		width: 125px;
	}
	.header-title {
		width: 75%;
	}
	.header-title h1 {
		font-size: 2em;
	}
	.home-boxes {
		flex-wrap: wrap;
	}
	.home-boxes .boxes {
		flex-basis: 47.5%;
	}
	.home-boxes .boxes .image {
		min-height: 200px;
		height: 20vh;
	}
	.home-boxes .boxes .youtube {
		min-height: 200px;
		height: 20vh;
	}

	.nav {
		--menu-width: 50%;
	}


	body.single article {
		width: 100%;
	}
	.footer-news .news .news-items {
		flex-wrap: wrap;
	}
	.news-items > div {
		flex-basis: 50%
	}
	.content-blocks {
		width: 100%
	}
	.content-blocks img {
		max-width: 100%;
	}

	.shelters-listings,
	.acf-map {
		height: 60vh;
	}

	#category-post-content {
		margin: 0 0 0 0;
	}
	#category-post-content article {
		flex-basis: 50%;
	}
	#category-post-content .news-thumb {
		height: 20vh;
		min-height: 200px;
	}
	
	.footer-logo img {
		width: 125px;
	}
	.footer {
		flex-wrap: wrap;
	}
	.footer div {
		flex-basis: 50%;
	}
	.footer-social {
		margin-top: -6em;
	}
	.footer ul.menu {
		margin-top: 0;
    	margin-bottom: 2em;
	}
	.footer-news-holder {
		display: contents;
	}
	.footer-engage .engage-left {
		padding: 5% 5% 5% 5%;
	}
	

	h3 {
		font-size: 1.2em;
	}

	.wrapper form .holder span {
		flex-basis: 100%;
	}
	#CreditCardForm input[type=text], #CreditCardForm select, #DirectDebitForm input[type=text], #DirectDebitForm select {
		width: 100%;
	}
	#CreditCardForm #Amount,
	#DirectDebitForm #Amount {
		width: calc(100% - 30px);
	}

	.a-download {
		flex-basis: 98%;
	}
	.a-team {
		flex-basis: 98%;
	}


	body.page-template-template-onlineresources .sidebar,
	body.page-template-template-onlineresourcewales .sidebar {
		font-size: 0.85em;
	}
	.a-onlineresource {
		flex-basis: 47%;
		margin-right: 3%;
	}
	.onlineresources-content-inner {
		flex-wrap: wrap;
		flex-direction: column-reverse;
	}
	.onlineresources-content .download-pdf {
		margin: 3em 0 1em 0;
	}

	.callout {
		padding: 1.5em;
	}


}

@media only screen and (max-width:760px) {
	.switch-now {
		display: none !important;
	}


}

@media only screen and (max-width:480px) {



	.shelters-listings {
		float: none;
		width: 100%;
	}


	.the-stats-holder {
		flex-wrap: wrap;
	}
	.a-stat {
		border-right: none;
		flex-basis: 100%;
		margin: 0 0 3em 0;
	}
	.home-boxes .boxes {
		flex-basis: 100%;
	}


	.header {
		height: calc(10vh + 315px + 160px);
	}
	.the-title {
		margin-top: 0 !important;
	}
	.the-title h1 {
		max-width: 100%;
	}
	.sub-nav {
		margin-top: 0 !important;
	}
	.sub-nav ul.menu > li {
		margin-right: 0;
	}
	.header-title {
		width: 90%;
		bottom: 5%;
	}
	.header-title h1 {
		font-size: 1.5em;
	}
	.logo-img {
		width: 100px;
	}
	.header .donate-now {
		display: none;
	}
	.header svg {
		width: 150%;
    	left: -50%;
	}



	.nav {
		--menu-width: 100%;
		padding: 5% 5% 5% 5%;
	}
	.nav ul {
		width: 90%;
		/*bottom: 20%;*/
	}
	.nav .sub-menu {
		font-size: 0.725em;
	}
	.mobile-back {
		display: block;
	}
	.mobile-back img {
		width: 40px;
		opacity: 0.9;
		margin-bottom: 20px;
	}
	.sub-menu-wrapper {
		padding: 5% 5% 0 5%;
	}
	.menu-button {
		margin-top: 25px;
	}
	.menu-button.changed {
		margin-top: 10px;
	}



	main {
		width: 100%;
		float: none;
	}
	.sidebar {
		display: none;
	}
	.content-blocks {
		width: 100%;
	}
	.content-blocks img {
		max-width: 100%;
		height: auto;
	}
	.boxes-items {
		width: 100%;
	}
	.boxes-items > div {
		flex-basis: 100%;
		padding-right: 0;
	}
	.page-intro {
		width: 100%;
	}



	#category-post-content article {
		flex-basis: 100%;
		padding: 0;
	}


	.footer-engage {
		flex-wrap: wrap;
	}
	.footer-engage > div {
		flex-basis: 100%;
	}
	.footer-engage .engage-left {
		padding: 5% 10% 5% 5%;
	}
	.footer-engage .engage-left-holder {
		flex-wrap: wrap;
	}
	.footer-engage .boxes {
		flex-basis: 85%;
		margin-bottom: 1.5em;
	}
	.footer-engage .engage-right {
		min-height: 300px;
	}

  
	.footer-news-go {
		padding: 5% 10% 10% 5%;
	}
	.footer-news .news {
		flex-basis: 100%;
	}
	.news-items {
		flex-wrap: wrap;
	}
	.news-items > div {
		flex-basis: 100%;
	}
	.footer-news .twitter {
		flex-basis: 100%;
		margin: 2em 0 0 0;
	}
	.footer-news h2 {
		margin: 0 0 1em 0;
	}

	.footer-news-holder {
	    flex-wrap: wrap;
	}
	

	.footer {
		flex-wrap: wrap;
		padding: 10% 5% 5% 5%;
		font-size: 0.9em;
	}
	.footer div {
		flex-basis: 100%;
		margin-bottom: 2em;
	}
	.footer-social {
		margin-top: 0;
	}
	.footer-logo img {
		width: 100px;
	}
	.footer #mailchimp {
		width: 100%;
	}



	h1 {
		font-size: 2.0em;
	}


	.a-onlineresource {
		flex-basis: 100%;
		margin-right: 0;
		margin-bottom: 10%;
	}
	.a-onlineresource-inner {
		display: unset;
	}
	body.page-template-template-onlineresources .wrapper .sidebar,
	body.page-template-template-onlineresourcewales .wrapper .sidebar {
		width: 100%;
		margin-right: 0;
	}

	.mailchimp-container {
		width: 100%;
		max-width: unset;
		min-width: unset;
		padding: 5%;
		border-radius: 8px 8px 0 0;
		font-size: 0.8em;
	}
	.mailchimp-container input {
		width: 100%;
	}
	.mailchimp-container h4 {
		width: 85%;
	}

	.callout {
		font-size: unset;
		padding: 1em;
	}
	.callout .source {
		margin-right: 10%;
	}

	a.custombutton {
		width: 100%;
		text-align: center;
		margin: 1em auto 1em auto;
	}

}



@media only screen and (max-height:768px) {
	.nav {
		font-size: 1.2em;
		padding: 2.5% 2.5% 2.5% 2.5%;
		overflow-y: scroll;
	}
	@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
		.nav {
			overflow-y: scroll;
		}
	}
	.nav form input {
		padding: 5px 15px;
	}
	.nav ul {
		bottom: 0;
		position: relative;
		margin: 5% 0 5% 0;
	}
	.nav #wppb-login-wrap p {
			margin: 0 0 0.5em 0;
	}
	.header-title {
		width: 75%;
	}



}





@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#F07E77;
	color:#000;
	text-shadow:none;
}
::-webkit-selection {
	background:#F07E77;
	color:#000;
	text-shadow:none;
}
::-moz-selection {
	background:#F07E77;
	color:#000;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin: 5px 20px 20px 0;
    height: auto;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.content-blocks img.alignright,
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
