/*
Theme Name: Honeycomb Zest
Description: Honeycomb Child Theme
Author: Stuart Magog for Superb Digital
Author URI: https://superb.digital
Template: honeycomb
Version: 1.0.0
Text Domain: honeycomb-child
*/

/* -------------------------------------------------------------------------------------------------------------------
Normalize
------------------------------------------------------------------------------------------------------------------- */
html,mark{color:#000}body,figure,form,h1,h2,h3,h4,h5,h6{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{background:#fff;font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}button,html,input,select,textarea{font-family:sans-serif}body{padding:0}a:focus{outline:dotted thin}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:500}blockquote{margin:1em 40px}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0}dl,menu,ol,p,pre,ul{margin:1em 0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:none}q:after,q:before{content:'';content:none}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 30px}nav ol,nav ul{list-style:none}img{border:0;-ms-interpolation-mode:bicubic}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0;white-space:normal}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}.nomargin{margin:0 !important;}

/* -------------------------------------------------------------------------------------------------------------------
Logged-in users
------------------------------------------------------------------------------------------------------------------- */
.logged-in.admin-bar #wpadminbar {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
}
body.logged-in.admin-bar .mainheader { /* Height of admin bar = 46px */
    top: 46px;
}
/*
body.logged-in.admin-bar .nav-btn {
    top: 84px;
}
*/
@media screen and (max-width: 600px) {
	.logged-in.admin-bar #wpadminbar {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
	}
}
@media (min-width:783px) { /* Height of admin bar = 32px */
    body.logged-in.admin-bar .mainheader {
        top: 32px;
    }
/*
	body.logged-in.admin-bar .nav-btn {
		top: 70px;
	}
*/
}

/* -------------------------------------------------------------------------------------------------------------------
Variables
------------------------------------------------------------------------------------------------------------------- */
:root {
    /* Colors */
    --blue: #2E486A; /* RGB: 46, 72, 106 */
	--darkblue: #1E384B; /* RGB 30 56 75 */
	--lightblue: #54647D; /* RGB 84 100 125 */
	--green: #A6BFA0; /* 166 191 160  */
	--lightgreen: #CAD9C7; /* RGB 202 217 199 */
	--yellow: #C4A11B; /* RGB 196 161 27 */
	--lightgrey: #f9f9f9; /* RGB 249 249 249 */
	--text: #000; /* RGB: 74, 74, 73  */

    /* Font sizes */
    --h1: 2em;
    --h2: 1.75em;
    --h3: 1.5em;
	--h4: 1.25em;
	--h5: 1.125em;
	--h6: 1em;
	--p: 1em;
	--button: 1em;
    --small: 1em;
    --nav: 1.35em;
}
@media (min-width: 880px) {
	:root {
		--p: 1.25em;
	}
}
@media (min-width:1280px) {
	:root {
		--h1: 4em;
		--h2: 2em;
		--h3: 1.75em;
		--h4: 1.5em;
		--h5: 1.25em;
		--h6: 1.25em;
		--button: 1.125em;
		--nav: 1.125em;
	}
}
/* -------------------------------------------------------------------------------------------------------------------
Global
------------------------------------------------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
	color: #000;
	max-width: 100%;
	overflow-x: hidden;
}
body {
	overflow: visible;
	overflow-x: hidden;
	color: #000;
}
::-moz-selection {
  background: #C4A11B;
  text-shadow: none;
}
::selection {
  background: #C4A11B;
  text-shadow: none;
}
a {
	color: var(--green);
    border-bottom: 1px solid transparent;
	outline: 0 !important;
    text-decoration: none;
    transition: all 0.25s;
}
a:hover, a:active {
	border-bottom: 1px solid var(--green);
	text-decoration: none;
}
.full-width-image {
	width: 100%;
	height: auto;
	display: block;
	margin: 0;
}
img {
	border-radius: 0;
}
hr, .wp-block-separator {
	border-bottom: none;
	border-top: 1px solid #ccc;
	margin: 40px 0;
}
.float-left {
	float: left;
}
.float-right {
	float: right;
}
/* -------------------------------------------------------------------------------------------------------------------
Typography
------------------------------------------------------------------------------------------------------------------- */
html {
	font-size: 16px;
}
body {
	font-family: gill-sans-nova, sans-serif;
	font-weight: 300;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 500 !important;
	color: #000;
	margin: 0 0 24px;
	line-height: 1.2;
}
h1 {
	font-size: var(--h1);
	font-weight: 300 !important;
	margin-bottom: 16px;
}
h2 {
	font-size: var(--h2);
}
h3 {
	font-size: var(--h3);
}
h4 {
	font-size: var(--h4);
}
h5 {
	font-size: var(--h5);
}
h6 {
	font-size: var(--h6);
}
p, li {
	font-size: var(--p);
	line-height: 1.5;
}
p, ul {
	margin: 0 0 24px;
}
.has-text-small-font-size {
	font-size: 16px;
}
.libreQuote, .full-width-blue p.libreQuote {
	font-family: 'Libre Baskerville', serif;
	font-style: italic;
	font-size: var(--h3);
	color: var(--green) !important;
	margin-top: 48px;
}
.border-header {
	border-bottom: 1px solid var(--green);
	padding-bottom: 16px;
	margin-bottom: 40px;
}
@media (min-width:1280px){
	h1 {
		margin-bottom: 24px;
	}
}
/* -------------------------------------------------------------------------------------------------------------------
Buttons
------------------------------------------------------------------------------------------------------------------- */
a {
	font-weight: inherit;
}
a.button, .wp-block-button__link, button:not(.gm-style *):not(.flickity-button):not(.fancybox-button), input[type="submit"]:not(.adminbar-button), span.button {
	font-family: gill-sans-nova, sans-serif !important;
    font-size: 18px !important;
	line-height: 44px !important;
	height: 48px !important;
	font-weight: 400 !important;
	text-align: center !important;
	text-decoration: none !important;
	color: #fff !important;
	background-color: var(--blue) !important;
	border: 1px solid var(--blue) !important;
	padding: 0 32px !important;
	display: inline-block !important;
	transition: all 0.25s !important;
	border-radius: 5px !important;
/*	margin: 0 !important;*/
	box-shadow: none !important;
}
a.button:hover, a.button:focus, a.button:active,
span.button:hover, span.button:focus, span.button:active,
.wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active,
button:not(.gm-style *):not(.flickity-button):not(.fancybox-button):hover, button:not(.gm-style *):not(.flickity-button):not(.fancybox-button):focus, button:not(.gm-style *):not(.flickity-button):not(.fancybox-button):active,
input[type="submit"]:hover, input[type="submit"]:focus, input[type="submit"]:active
 {
	outline: none !important;
	text-decoration: none !important;
	color: #fff !important;
	background-color: var(--green) !important;
	border-color: var(--green) !important;
	transition: all 0.25s;
}
a.button-small, span.button-small {
	font-size: var(--small) !important;
	line-height: 28px !important;
	height: 30px !important;
	padding: 0 16px !important;
	text-transform: uppercase;
}
a.button-green, span.button-green {
	background-color: var(--green) !important;
	border-color: var(--green) !important;
}
a.button-green:hover, a.button-green:focus, a.button-green:active,
span.button-green:hover, span.button-green:focus, span.button-green:active
{
	background-color: var(--blue) !important;
	border-color: var(--blue) !important;
}
a.button-green-on-blue:hover, a.button-green-on-blue:focus, a.button-green-on-blue:active,
span.button-green-on-blue:hover, span.button-green-on-blue:focus, span.button-green-on-blue:active
{
	background-color: rgba(165, 192, 158, 0.8) !important;
}
.full-width-blue a.button, .full-width-blue .wp-block-button__link, .full-width-blue button:not(.gm-style *):not(.flickity-button), .full-width-blue input[type="submit"] {
	background-color: var(--green) !important;
}
.full-width-blue a.button:hover, .full-width-blue a.button:focus, .full-width-blue a.button:active,
.full-width-blue .wp-block-button__link:hover, .full-width-blue .wp-block-button__link:focus, .full-width-blue .wp-block-button__link:active,
.full-width-blue button:not(.gm-style *):not(.flickity-button):hover, .full-width-blue button:not(.gm-style *):not(.flickity-button):focus, .full-width-blue button:not(.gm-style *):not(.flickity-button):active
{
	background-color: rgba(165, 192, 158, 0.8) !important;
}
.image-banner a.button {
	background-color: #fff !important;
	color: var(--blue) !important;
}
.image-banner a.button:hover, .image-banner a.button:focus, .image-banner a.button:active {
	background-color: var(--green) !important;
	color: #fff !important;
}
.fancybox-button:hover {
	background-color: var(--green);
	border-color: var(--green);
}
a.button-location {
	background-image: url("assets/img/i-location.svg") !important;
	background-size: 24px 30px !important;
	background-position: left 16px center !important;
	background-repeat: no-repeat !important;
	width: 100% !important;
	text-align: left !important;
	padding-left: 56px !important;
	font-size: var(--h6) !important;
	line-height: 60px !important;
	height: 64px !important;
	border-radius: 9px !important;
}
a.button-location:hover, a.button-location:focus, a.button-location:active {
	background-color: var(--darkblue) !important;
}
@media (max-width:767px){
	.image-banner a.button {
		line-height: 31px !important;
		height: 36px !important;
		width: 100% !important;
		display: block !important;
		margin: 0 0 8px !important;
	}
	a.button-small, span.button-small {
		font-size: 0.75em !important;
/*		min-width: 180px;*/
	}
}
/* -------------------------------------------------------------------------------------------------------------------
Layout
------------------------------------------------------------------------------------------------------------------- */
.main {
    padding: 0;
    box-sizing: border-box;
}
.content-area {
	max-width: 1200px !important;
	margin: 0 auto !important;
	float: none !important;
}
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	clear: both;
	box-sizing: border-box;
}
.container-wide {
	max-width: 1524px;
}
.row {
	padding: 40px 0 0;
	padding: 0;
	clear: both;
	width: 100%;
    box-sizing: border-box;
}
.slimrow {
	padding: 0;
	clear: both;
}
@media (min-width:768px){
    .main {
        padding: 0;
    }
    .container {
        padding: 0 40px;
    }
}
@media (min-width:1024px){
    .row {
	    padding: 64px 0 0;
		padding: 0;
    }
}
@media (min-width:1280px){
    .container {
        padding: 0;
    }
	.container-wide {
		padding: 0 40px;
	}
}
@media (min-width:1600px){
	.row {
		padding: 80px 0 0;
		padding: 0;
	}
	.container-wide {
		padding: 0;
	}
}


/* -------------------------------------------------------------------------------------------------------------------
Gutenberg
------------------------------------------------------------------------------------------------------------------- */
@media (max-width:781px){
	.wp-block-columns {
		gap: 0 !important;
	}
}
@media (min-width:782px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		padding: 0 12px;
	}
}


/* -------------------------------------------------------------------------------------------------------------------
Full Width ** EDIT **
------------------------------------------------------------------------------------------------------------------- */
.full-width {
	background-color: #fff;
	box-sizing: border-box;
	width: 100vw;
	margin: 64px 0;
	margin-left: calc(-100vw + (100vw - 24px));
	margin-left: calc(-50vw + 50%);
}
.full-width-color {
	padding: 56px 0;
}
.full-width-grey {
	background-color: var(--lightgrey);
	padding: 56px 0;
}
.full-width-green {
	background-color: var(--lightgreen);
	padding: 56px 0;
}
.full-width-green-dark {
	background-color: var(--green);
	padding: 56px 0;
}
.full-width-blue {
	background-color: var(--blue);
	padding: 56px 0;
}
.full-width-white {
	padding: 0 !important;
}
.full-width-bg {
	background-color: #fff;
	background-image: url("assets/img/royal-crescent-bath-white.jpg");
/*	background-size: 100% auto;*/
	background-size: cover;
	background-position: top 0 left 0;
	background-repeat: no-repeat;
	padding-top: 0 !important;
}
.full-width-blue h1, .full-width-blue h2, .full-width-blue h3, .full-width-blue h4, .full-width-blue h5, .full-width-blue h6, .full-width-blue p, .full-width-blue li, .full-width-blue label, .full-width-blue span  {
	color: #fff !important;
}
.full-width-blue table * {
	color: #000 !important;
}
/* BG images */
.full-width-grey.fwbg-royal-crescent {
	background-image: url("assets/img/royal-crescent-bath-grey.jpg");
	background-position: bottom left;
	background-repeat: no-repeat;
	background-size: 100% auto;
}
@media (min-width:768px) {
	.full-width {
/*		margin-left: calc(-100vw + (100vw - 58px));*/
		margin-left: calc(-50vw + 50%);
	}
}
@media (min-width:1024px) {
	.full-width {
		padding: 50px 0;
	}
}
@media (min-width:1200px) {
	
}
@media (min-width:1280px) {
	.full-width {
		margin: 160px 0;
		margin-left: calc((-100vw + 1200px) + ((100vw - 1200px)/2));
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Flexible Column Layouts ** REMOVE UNUSED AT END OF DEV **
------------------------------------------------------------------------------------------------------------------- */
.flexcols, .flexcols1024, .flexcols1280{
	width: 100%;
	clear: both;
}
.flexcols > div, .flexcols1024 > div, .flexcols1280 > div{
    box-sizing: border-box;
	margin-bottom: 24px;
}
@media (min-width:768px){
	.flexcols{
		display: flex;
		flex-wrap: wrap;
        justify-content: flex-start;
	}
	.flexcols-reverse {
		flex-direction: row-reverse;
	}
	.col1of2, .col1of4 {
		width: 48%;
        margin: 0 4% 2% 0;
	}
    .col1of2:nth-child(even), .col1of4:nth-child(even){
        margin-right: 0;
    }
    .col1of2tight, .col1of4tight{
        width: 50%;
    }
    .col1of3{
        width: 31.3333%;
        margin: 0 3% 2% 0;
    }
    .col1of3:nth-child(3n+0){
        margin-right: 0;
    }
    .col1of3tight{
        width: 33.3333%;
    }
	/* Sub columns */
	.flexcols .flexcols {
		display: block;
	}
	.flexcols .flexcols .col1of2 {
		width: 100%;
		margin: 0 0 2%;
	}
	.cols-thirds-col1{
		width: 48.5%;
		margin-right: 3%;
	}
	.cols-thirds-col2{
		width: 48.5%;
	}
}
@media (min-width:1024px){
    .flexcols1024{
		display: flex;
		flex-wrap: wrap;
        justify-content: center;
	}
	.col1of4 {
		width: 23.5%;
		margin-right: 2%;
	}
	.col1of4:nth-child(even) {
		margin-right: 2%;
	}
	.col1of4:nth-child(4n+0) {
		margin-right: 0;
	}
	/* Sub columns */
	.flexcols .flexcols {
		display: flex;
	}
	.flexcols .flexcols .col1of2{
		width: 48%;
		margin: 0 2% 2% 0;
	}
	.flexcols .flexcols .col1of2:nth-child(even){
		margin-right: 0;
	}
	.cols-thirds-col1{
		width: 31%;
	}
	.cols-thirds-col2{
		width: 66%;
	}
}
@media (min-width:1280px){
    .flexcols1280{
		display: flex;
		flex-wrap: wrap;
        justify-content: center;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Mobile Navigation Button
------------------------------------------------------------------------------------------------------------------- */
.nav-btn{
	width: 24px;
	height: 22px;
	position: absolute;
	top: 40px;
	right: 24px;
    left: auto;
	z-index: 99;
	cursor: pointer;
	transition: all 0.25s;
}
.line1, .line2, .line3{
	width: 24px;
	height: 2px;
	display: block;
	margin-bottom: 5px;
	background: var(--blue);
	opacity: 1;
	transition: all 0.25s;
	border-radius: 50px;
}
#student-page .line1,
#student-page .line2,
#student-page .line3
{
	background: #fff;
}
.line3{
	margin-bottom: 0;
}
.line1-alt{
	transform: rotate(45deg);
	position: absolute;
	top: 7px;
}
.line2-alt{
	opacity: 0;
}
.line3-alt{
	transform: rotate(-45deg);
	position: absolute;
	top: 7px;
}
@media (min-width:768px){
    .nav-btn{
	    right: 40px;
    }
}
@media (min-width:1280px){
	.nav-btn{
		display: none;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Mobile Navigation Overlay
------------------------------------------------------------------------------------------------------------------- */
.navslide {
	width: 0;
	height: 100%;
    background: var(--blue);
	top: 0;
	left: 0;
	transition: all 0.25s;
	z-index: 98;
	position: fixed;
}
.navslide-active {
	width: 100%;
}

/* -------------------------------------------------------------------------------------------------------------------
Navigation Menu
------------------------------------------------------------------------------------------------------------------- */
.nav-elements {
	position: absolute;
	top: 120px;
	left: -3000px;
	opacity: 0;
}
.nav-elements.nav-active {
	left: 24px;
    right: 24px;
	opacity: 1;
	transition: all 0.25s;
	overflow-y: auto;
	height: 100vh;
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}
.nav-elements.nav-active::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}
.nav-elements .nav {
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}
.nav-elements ul.menu {
	margin: 0;
	padding: 0;
}
.nav-elements ul.menu li, .nav-elements p {
	font-weight: 400;
	margin: 0 0 0.5em;
}
.nav-elements ul.menu li {
    margin: 0;
	border-bottom: 1px solid rgba(255,255,255,0.25);
}
.nav-elements ul.menu li a {
    color: #fff;
    text-decoration: none;
    border: none;
    display: block;
    padding: 12px 0;
}
.nav-elements ul.menu li a:hover {
    color: var(--green);
}
.nav-elements ul.sub-menu{
    margin: 0;
	padding-bottom: 16px;
}
.nav-elements ul.sub-menu li{
    font-size: 1em;
    border: none;
}
.nav-elements ul.sub-menu li a{
    padding: 0 0 0.5em 0;
}
.nav-elements ul.sub-menu li a::before{
    content: '- ';
}
@media (min-width:1280px){
	.navslide {
		display: none;
	}
	.nav-elements {
		position: initial;
		top: auto;
		left: auto;
		opacity: 1;
	}
	.nav-elements ul.menu {
		margin: 0;
		text-align: right;
		position: absolute;
		top: 44px;
		right: 0;
		display: flex;
	}
	.nav-elements ul.menu li {
		font-size: var(--nav);
		margin: 0 24px;
		padding: 0;
		border: none;
		transition: background-color 0.25s;
		position: relative; /* required for dropdown */
	}
	.nav-elements ul.menu li:last-child {
		margin-right: 0 !important;
	}
	.nav-elements ul.menu li a {
		border: none;
		color: #000;
		display: inline-block;
		padding: 0;
		height: 40px;
		line-height: 40px;
		position: relative;
		display: -webkit-inline-box;
		-webkit-box-pack: center;
		-webkit-box-align: center;
	}
	.nav-elements ul.menu li a::before{
		content: '';
		background: var(--green);
		display: block;
		position: absolute;
		bottom: 0;
		left: 0;
		width: 0;
		height: 1px;
		transition: all 0.3s ease-in-out;
	}
	.nav-elements ul.menu li a:hover {
		color: var(--green);
	}
	.nav-elements ul.menu li:hover a::before{
		width: 100%;
	}
	.nav-elements ul.menu li.current-menu-item a::before,
	.nav-elements ul.menu li.current-page-ancestor a::before{
	 	width: 100%;
	}
	/* Students */
	#student-page .nav-elements ul.menu li a {
		color: #fff;
	}#student-page .nav-elements ul.menu li a:hover {
		color: var(--green);
	}
	/* ----- Dropdowns ----- */
    .nav-elements ul.menu ul.sub-menu{
        visibility: hidden;
        opacity: 0;
        padding: 16px 16px 24px;
        position: absolute;
        top: 49px;
        left: -20px;
        width: 240px;
		display: block;
		background-color: var(--lightgrey);
		text-align: left;
		border-top: 18px solid #fff;
    }
	.nav-elements ul.menu .sub-menu li {
		font-size: 0.9em !important;
		background: none !important;
        display: block;
        margin: 0 !important;
		padding: 0;
        border: none;
		height: 36px;
    }
    .nav-elements ul.menu li:hover .sub-menu{
        visibility: visible;
        opacity: 0.99;
		top: 40px;
		transition: all 0.35s;
    }
	.nav-elements ul.menu .sub-menu li a{
		padding: 0 5px;
		height: 36px;
		line-height: 36px;
		color: #000;
		background-color: none;
		display: block;
		transition: all 0.25s;
	}
	.nav-elements ul.menu .sub-menu li a:hover{
		color: var(--green);
	}
    .nav-elements ul.menu .sub-menu li a::before{
		width: 0 !important;
    }
	.nav-elements ul.menu .sub-menu li:hover a::before {
/*		width: 100% !important;*/
	}
}
/*
@media (min-width:1380px) {
	.nav-elements ul.menu li {
		margin: 0 16px;
	}
}
*/
@media (min-width:1570px){
	.nav-elements ul.menu li {
		margin: 0 28px;
	}
}
@media (min-width:1740px) {
	.nav-elements ul.menu {
		right: 0;
	}
}
@media (min-width:1780px) {
	.nav-elements ul.menu li:last-of-type {
		margin-right: 0;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Mega Menu
------------------------------------------------------------------------------------------------------------------- */
@media(min-width:1280px) {
.nav-elements ul.menu li.mega-menu > ul.sub-menu {
    border-top:23px solid #fff;
    display: flex;
    flex-flow: row;
    left: 0;
    margin-left: 0;
    opacity: 0;
    padding: 20px 10px;
    position: absolute;
    top: 35px;
    visibility: hidden;
    width: 600px;
}

.nav-elements ul.menu li.mega-menu > ul.sub-menu > li {
    border-bottom: 0;
    float: none;
	height:auto;
    text-align: left;
}

.nav-elements ul.menu li.mega-menu > ul.sub-menu > li span {
    display: none;
}

.nav-elements ul.menu li.mega-menu > ul.sub-menu > li a {
    font-weight: 700;
    height: auto;
    padding: 5px 20px 5px 25px;
    width: 100%;
}

.nav-elements ul.menu li.mega-menu > ul.sub-menu > li a:hover {
}

.nav-elements ul.menu li.mega-menu > ul.sub-menu > li:after {
    content: none;
}

.nav-elements ul.menu li.mega-menu > ul.sub-menu > li > ul.sub-menu {
    background: #f9f9f9;
    border:0;
	flex-flow: column;
    left:0;
	padding: 0;
    position: static;
    top: 0;
    width: 100%;
}

.nav-elements ul.menu li.mega-menu > ul.sub-menu > li > ul.sub-menu > li a {
    font-weight: 400;
}

.nav-elements ul.menu li.mega-menu > ul.sub-menu > li > ul.sub-menu:after {
    background: rgba(27, 79, 147, 0.20);
    content: "";
    height:100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 2px;
}

.nav-elements ul.menu li.mega-menu > ul.sub-menu > li:last-child > ul.sub-menu:after {
    content: none;
}

.nav-elements ul.menu li.mega-menu.menu-item-has-children:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
}

}


/* -------------------------------------------------------------------------------------------------------------------
Social Media Icons
------------------------------------------------------------------------------------------------------------------- */
.media-icons {
	display: flex;
}
.media-icons a {
	border: none !important;
	height: 16px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-left: 16px;
}
.media-icons svg {
	width: 16px;
	height: auto;
}
.media-icons svg:hover path {
	transition: all 0.25s;
	fill: var(--green);
}
#student-page .media-icons svg:hover path {
	fill: var(--blue);
}

/* -------------------------------------------------------------------------------------------------------------------
Preheader
------------------------------------------------------------------------------------------------------------------- */
.preheader {
	background-color: var(--lightgrey);
	color: #fff;
	box-sizing: border-box;
	padding: 12px 0 16px;
	position: relative;
	z-index: 99;
	width: 100%;
}

.preheader span {
	color:#000;
	font-weight:400;
}

.preheader .container {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	position: relative;
	padding: 0 8px;
}
.preheader-icons {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-top: 2px;
}
.preheader-buttons {
	width: 100%;
	text-align: center;
}
.preheader-buttons > span {
	margin-top: 4px;
	display: block;
}
.preheader-icons .media-icons {
	padding-top: 5px;
}
.preheader a{
	color: var(--text);
    border-bottom: 1px solid transparent;
	text-decoration: none;
}
.preheader a:hover {
	border-color: inherit;
}
/* Shortlist */
.shortlist-link {
/*
	position: absolute;
	top: 0;
	right: 8px;
	margin-left: 0 !important;
*/
	position: relative;
	top: -2px;
	margin-left: 16px;
}
.shortlist-link a.button-small {
	text-transform: none;
}
#student-page .shortlist-link a.button:hover {
	background-color: var(--darkblue) !important;
	border-color: var(--darkblue) !important;
}
/* Students */
#student-page .preheader {
	background-color: var(--green);
}
@media (min-width:360px) {
	.preheader-buttons > span {
		display: inline;
	}
}
@media (min-width:768px) {
	.preheader {
		height: 60px;
		padding: 12px 0 0;
	}
	.preheader .container > *  {
		width: auto;
		margin-left: 4px;
	}
	.preheader-buttons > * {
		margin-left: 4px;
	}
	.preheader-icons {
		padding-top: 6px;
	}
	.shortlist-link {
/*
		top: 2px;
		left: 8px;
		right: auto;
*/
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Header
------------------------------------------------------------------------------------------------------------------- */
.mainheader {
    position: sticky;
	width: 100%;
	clear: both;
	top: 0;
	z-index: 999;
	height: 94px;
	box-sizing: border-box;
    background: #fff;
}
.mainheader .container {
/*	max-width: var(--fullwidth);*/
    position: relative;
    /*overflow: visible;*/ /* required for dropdown menu */
}
.mainheader .logo {
    position: absolute;
    top: 32px;
    left: 24px;
	width: 220px;
	height: 40px;
}
.mainheader .logo a {
	border: 0;
}
.mainheader .logo svg {
	width: 75% !important;
	height: auto;
	color:#2E486A !important;
}
/* Students */
#student-page .mainheader {
	background: var(--blue);
	border-bottom: 1px solid var(--green);
}
@media (min-width:768px) {
    .mainheader .logo {
		top: 30px;
		left: 40px;
    }
}
@media (min-width:1280px) {
	.mainheader {
		height: 112px;
	}
    .mainheader .logo{
		top: 37px;
        left: 0;
    }
}

/* -------------------------------------------------------------------------------------------------------------------
Fixed Header
------------------------------------------------------------------------------------------------------------------- */
header.fixed-header {
    box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.05);
}

/* -------------------------------------------------------------------------------------------------------------------
Footer
------------------------------------------------------------------------------------------------------------------- */
.mainfooter {
    width: 100%;
	clear: both;
	padding: 40px 0 32px;
	background-color: var(--blue);
	color: #fff;
	position: relative;
}
.mainfooter h4 {
	color: #fff;
	font-weight: 400 !important;
	border-bottom: 1px solid var(--green);
	padding: 24px 0;
}
.mainfooter ul {
	list-style: none;
	padding: 0;
}
.mainfooter p, .mainfooter li {
	font-size: var(--small);
}
.mainfooter a {
	color: #fff;
	border-color: transparent;
}
.mainfooter a:hover {
	border-color: inherit;
}
/* ----- Flexcols ----- */
.mainfooter .flexcols > div {
	margin-bottom: 48px;
}
/* ----- Menu ----- */
.mainfooter ul.menu li a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}
.mainfooter ul.menu li a:hover {
	border-color: inherit;
}
/* ----- Social Media ----- */
.mainfooter .media-icons a {
	margin-left: 0;
	margin-right: 16px;
}
.mainfooter .media-icons svg path {
	fill: var(--green);
}
.mainfooter .media-icons svg:hover path {
	fill: rgba(165, 192, 158, 0.8) !important;
}
/* ----- Accreditations ----- */
.accreditations{
	margin: 32px 0;
	display: flex;
	flex-wrap: wrap;
}
.accreditation {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0 32px 32px 0;
	max-height: 80px;
	max-width: 230px;
}
.accreditation img {
	max-height: 100%;
	max-width: 100%;
}
.accreditations a{
	border: none;
}
@media (max-width:767px) {
	.accreditation {
		max-height: 40px;
		max-width: 115px;
		margin: 0 16px 32px 0;
	}
}
@media (min-width:768px) {
	.mainfooter {
		padding: 80px 0 32px;
	}
}
/* ----- Footer Credit Text ----- */
.footer-credits {
	border-top: 1px solid var(--green);
	width: 100%;
	padding-top: 24px;
}


/* -------------------------------------------------------------------------------------------------------------------
Banner
------------------------------------------------------------------------------------------------------------------- */
.banner {
	width: 100%;
}
.image-banner {
	height: 560px;
	position: relative;
	overflow: hidden;
	margin-bottom: 80px;
}
.image-banner img {
	object-fit: cover;
	position: absolute;
	top: 0;
/*
	left: 0;
	min-width: 100%;
	width: auto;
	height: 100%;
*/
	right: 0;
	height: 100%;
/*	min-width: fit-content;*/
}
.image-banner video {
	height:100%;
	object-fit:cover;
	width:100%;
}
.image-banner .container {
	//position: relative;
}
.image-banner .pagetitles {
	position: absolute;
	top: 64px;
	z-index: 1;
	background: rgba(46, 72, 106, 0.86);
	padding: 40px;
	max-width: 90%;
	box-sizing: border-box;
}
body.home .image-banner .pagetitles,
body.page-id-667 .image-banner .pagetitles {
	top: 40px;
}
.image-banner .pagetitles * {
	color: #fff !important;
}
.image-banner .pagetitles p:last-of-type {
	margin-bottom: 0;
}
/* No image */
.plain-banner {
	margin-top: 56px;
}
.plain-banner h1 {
	font-weight: 500 !important;
}
.plain-banner p {
	max-width: 1008px;
}
.banner-buttons {
	display:flex;
	gap:5px;
	margin: 32px 0 0;
}
/* Home page */
/*
body.home .image-banner,
body.page-id-667 .image-banner{
	height: 776px;
}
*/
.banner + .row {
	margin-top: 64px;
}
@media (min-width:768px) {
	.image-banner .pagetitles,
	body.home .image-banner .pagetitles,
	body.page-id-667 .image-banner .pagetitles {
		top: 120px;
	}
}
@media (min-width:1024px) {
	.image-banner {
		height: 676px;
	}
	/* Home page */
	body.home .image-banner,
	body.page-id-667 .image-banner{
		height: 776px;
	}
	.image-banner .pagetitles {
		max-width:1200px;
		//min-width:fit-content;
		width: 740px;
		width:calc(100% - 153px);
	}
	.plain-banner {
		margin-top: 80px;
/*		margin-bottom: -80px;*/
	}
	.banner + .row {
		margin-top: 120px;
	}
}
@media (min-width:1280px) {
	.banner + .row {
		margin-top: 160px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Banner Search Form
------------------------------------------------------------------------------------------------------------------- */
.plain-banner + .banner-search-form {
	margin-top: 120px;
}
/*
.image-banner + .banner-search-form {
	margin-top: -80px;
}
*/
/*
body:not(.page-id-667).image-banner + .banner-search-form {
	margin-bottom: 80px;
}
*/
.banner-search-form {
	background-color: var(--blue);
/*	margin-bottom: 80px;*/
}
.banner-search-form .property-search-form {
	background-color: var(--blue);
	color: #fff;
	padding: 20px 0;
	margin: 0;
}
.banner-search-form .container {
	max-width: 1400px;
	padding: 0 16px;
}
.banner-search-form .property-search-form .control {
	min-width: 110px;
	padding: 0 1px;
}
.banner-search-form .property-search-form label {
	color: #fff;
}
.banner-search-form select {
	font-family: gill-sans-nova, sans-serif;
}
.banner-search-form input[type="submit"] {
	background-color: var(--green) !important;
	height: 46px !important;
	margin-left: 2px !important;
}
.banner-search-form input[type="submit"]:hover {
	border-color: var(--blue) !important;
	background-color: rgba(166, 191, 160, 0.8) !important;
}
.banner-search-form select {
	border-radius: 3px;
}
.autocomplete-results ul {
	color: var(--text);
}

/* Students */
.property-search-form-students .control-department{
	display: none;
}
@media (min-width:769px) {
/*
	.banner-search-form .property-search-form {
		display: flex;
		justify-content: center;
	}
*/
	.banner-search-form .property-search-form .control-department {
		min-width: 88px !important;
/*
		display: flex;
		flex-direction: column;
		justify-content: center;
		position: relative;
		margin-top: -6px;
*/
	}
	.banner-search-form input[type="submit"] {
		position: relative;
		top: 25px;
		margin: 0 !important;
	}
	.banner-search-form .property-search-form-sales input[type="submit"],
	.banner-search-form .property-search-form-lettings input[type="submit"]
	{
		top: 25px;
	}
	.banner-search-form .property-search-form-home input[type="submit"],
	.banner-search-form .property-search-form-default input[type="submit"] {
		top: 29px;
	}
	.banner-search-form .property-search-form .control.control-exclude-sold-stc {
		padding: 25px 0 0 10px;
	}
}
@media (min-width:1280px) {
	.banner-search-form .property-search-form .control {
		min-width: 160px;
	}
	.property-search-form .control {
		padding: 0 4px;
	}
	.banner-search-form input[type="submit"] {
		margin-left: 8px !important;
	}
}
/* -------------------------------------------------------------------------------------------------------------------
Forms
------------------------------------------------------------------------------------------------------------------- */
input[type="text"], input[type="email"], textarea, select {
	font-family: gill-sans-nova, sans-serif;
	border: 1px solid var(--blue);
	background: #fff;
	color: var(--text) !important;
	border-radius: 3px;
	box-shadow: none !important;
}
label {
	font-weight: 400;
}
select {
	padding: 8px;
}

/* -------------------------------------------------------------------------------------------------------------------
Property Enquiry Form
------------------------------------------------------------------------------------------------------------------- */
.property-enquiry-form input[type="submit"] {
	margin-top: 40px;
}

/* -------------------------------------------------------------------------------------------------------------------
ACF Blocks
------------------------------------------------------------------------------------------------------------------- */
.acf-block {
	margin-top: 56px;
	margin-bottom: 64px;
}
.entry-content > .acf-block:first-of-type {
	margin-top: 0;
}
@media (min-width:1024px){
	.acf-block {
/*		margin-top: 120px;*/
		margin-bottom: 120px;
	}
}
@media (min-width:1280px){
	.acf-block {
/*		margin-top: 160px;*/
		margin-bottom: 160px;
	}
}
.row .acf-block:last-of-type {
	margin-bottom: 0 !important;
}
/* -------------------------------------------------------------------------------------------------------------------
BLOCK: FAQ Accordions
------------------------------------------------------------------------------------------------------------------- */
.acf_faqs_container{
	margin-top: 48px;
	padding: 0;
	box-sizing: border-box;
}
.acf_faqs_accordion {
    border-top: 1px solid var(--green);
}
.acf_faqs_accordion:last-of-type{
    border-bottom: 1px solid var(--green);
    margin-bottom: 60px;
}
.acf_faqs_title{
	padding: 16px 0;
	margin-bottom: 0;
	cursor: pointer;
	transition: all 0.25s;
	position: relative;
}
.acf_faqs_title h4{
	font-size: var(--h4);
    margin: 0 20px 0 0;
}
.acf_faqs_title h4::after{
    content: '';
    width: 17px;
    height: 1px;
    display: block;
    background: var(--green);
    position: absolute;
    top: 25px;
    right: 0;
}
.acf_faqs_answer{
	padding: 0 0 16px; 
	margin-top: 0;
	display: none;
}
.acf_faqs_answer p, .acf_faqs_answer li{
	max-width: 740px;
}
.acf_faqs_icon{
	position: absolute;
	top: 17px;
	right: 8px;
    opacity: 1;
	transition: all 0.25s;
}
.acf_faqs_icon img{
	width: 1px;
	height: 17px;
}
.acf_faqs_icon-rotate{
	transform: rotate(-270deg);
    opacity: 0;
	transform-origin: 50% 50%;
}
/* Students */
body.page-id-667 .acf-faqs {
	background-color: var(--blue);
	color: #fff;
	padding: 56px 0 !important;
}
body.page-id-667 .acf-faqs h2 {
	color: var(--green) !important;
}
body.page-id-667 .acf-faqs h4 {
	color: #fff !important;
}
@media (min-width:768px){
    .acf_faqs_accordion:last-of-type{
        margin-bottom: 120px;
    }
}
@media (min-width:1024px){
    .acf_faqs_title{
	    padding: 24px 0;
    }
	.acf_faqs_title h4 {
		font-size: var(--h4);
	}
    .acf_faqs_title h4::after{
        width: 24px;
        top: 44px;
		height: 2px;
    }
    .acf_faqs_icon{
        top: 33px;
        right: 11px;
        height: 24px;
        width: 2px;
    }
    .acf_faqs_icon img{
        height: 24px;
        width: 2px;
    }
    .acf_faqs_answer{
	    padding: 0 0 24px;
    }
	body.page-id-667 .acf-faqs {
		padding: 120px 0 !important;
	}
}
@media (min-width:1280px) {
	body.page-id-667 .acf-faqs {
		padding: 160px 0 !important;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
BLOCK: Testimonials Slider
------------------------------------------------------------------------------------------------------------------- */
.testimonial-slider .container {
	max-width: 1040px;
}
.testimonial-slider .carousel {
	margin-bottom: 60px;
}
.testimonial-slider .carousel-cell {
	width: 100%;
}
.testimonial-quote {
	font-family: 'Libre Baskerville', serif;
	font-style: italic;
	padding: 0 4px;
}
.testimonial-slider .flickity-prev-next-button {
	bottom: -64px;
	top: auto;
}
.testimonial-slider .flickity-prev-next-button.previous {
	left: 0;
}
.testimonial-slider .flickity-prev-next-button.next {
	left: 56px;
	right: auto;
}
.testimonial-slider .flickity-button {
	background: #DAE4D7;
	color: var(--blue);
	transition: color 0.25s;
}
.testimonial-slider .flickity-button:hover {
	color: var(--lightblue);
}
@media (min-width:768px) {
	.testimonial-slider .google-business-reviews-rating {
		background-image: url("assets/img/quote-left.svg"), url("assets/img/quote-right.svg");
		background-size: 233px 166px;
		background-position: top 0 left 60px, bottom 0 right 60px;
		background-repeat: no-repeat;
	}
}
@media (min-width:1180px) {
	.testimonial-slider .flickity-prev-next-button {
		top: 30%;
		bottom: auto;
	}
	.testimonial-slider .flickity-prev-next-button.previous {	
		left: -80px;
	}
	.testimonial-slider .flickity-prev-next-button.next {
		top: 30%;
		right: -80px;
		left: auto;
	}
	.testimonial-slider .carousel {
		margin-bottom: 24px;
	}
}
@media (min-width:1400px) {
	.testimonial-slider .container {
		max-width: 1200px;
	}
}
@media (min-width:1600px) {
	.testimonial-slider .flickity-prev-next-button.previous {
		left: -136px;
	}
	.testimonial-slider .flickity-prev-next-button.next {
		right: -136px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
BLOCK: Icon Boxes
------------------------------------------------------------------------------------------------------------------- */
.icon-boxes {
	
}
.icon-box {
	background-color: var(--lightgrey);
	border-radius: 9px;
	text-align: center;
	padding: 56px 24px 24px;
}
.icon-box img {
	width: 96px;
	height: 96px;
	margin: 0 auto 8px;
}
.icon-box h4 {
	font-weight: 400 !important;
}
@media (min-width:768px) {
	.icon-box{
        width: 32%;
        margin: 0 2% 2% 0;
    }
}

/* -------------------------------------------------------------------------------------------------------------------
BLOCK: Split Panel & Media Grid
------------------------------------------------------------------------------------------------------------------- */
/* Background Images */
.split-panel, .media-grid {
	position: relative;
}
.split-panel::after, .media-grid::after {
	content: '';
	position: absolute;
	opacity: 0.05;
	transition: opacity 0.25s;
	background-size: cover;
	background-repeat: no-repeat;
}
.split-panel.full-width-blue::after {
	opacity: 0.1;
}
.sp-bg-finger::after {
	left: 0;
	top: 130px;
	width: 300px;
	height: 513px;
	background-image: url("assets/img/sp-bg-finger.png");
	background-position: top 0 left 0;
}
.sp-bg-finger-right::after {
	right: 0;
	top: 130px;
	width: 300px;
	height: 513px;
	background-image: url("assets/img/sp-bg-finger-right.png");
	background-position: top 0 right 0;
}
.sp-bg-quill::after {
	left: 0;
	bottom: 120px;
	width: 300px;
	height: 435px;
	background-image: url("assets/img/sp-bg-quill.png");
	background-position: bottom 0 left 0;	
}
.sp-bg-quill-right::after {
	right: 0;
	bottom: 120px;
	width: 300px;
	height: 435px;
	background-image: url("assets/img/sp-bg-quill-right.png");
	background-position: bottom 0 right 0;	
}
.sp-bg-keys::after {
	left: 0;
	bottom: 120px;
	width: 300px;
	height: 457px;
	background-image: url("assets/img/sp-bg-keys.png");
	background-position: bottom 0 left 0;	
}
.sp-bg-keys-right::after {
	right: 0;
	bottom: 120px;
	width: 300px;
	height: 457px;
	background-image: url("assets/img/sp-bg-keys-right.png");
	background-position: bottom 0 right 0;
}
.media-grid {
	padding-bottom: 8px;
}
.media-grid .flexcols > div {
	margin-bottom: 48px;
	position: relative;
	z-index: 1;
}
.media-grid img {
	margin-bottom: 24px;
}
.media-grid h4 {
	margin-bottom: 8px;
}
.media-grid p {
	line-height: 1.4;
}
.split-panel.full-width-blue h2 {
	color: var(--green) !important;
}
@media (min-width: 1860px) {
	.split-panel::after, .media-grid::after {
		opacity: 0.11;
	}
	.split-panel.full-width-blue::after {
		opacity: 0.3;
	}
}
.split-panel-text {
	margin: 0 0 40px !important;
}
.readmore {
	margin-top: 40px;
	position: relative;
	z-index: 2;
}
@media (min-width: 768px) {
	.split-panel-text {
		max-width: 522px;
		width: 43.5%;
		margin: 0 6.5% 0 0 !important;
	}
	.split-panel .flexcols-reverse .split-panel-text {
		margin: 0 0 0 6.5% !important;
	}
	.split-panel-image {
		max-width: 600px;
		width: 50%;
		margin-bottom: 0 !important;
		position: relative;
	}
	.split-panel-image img {
		position: relative;
		z-index: 1;
	}
	.sp-img-border {
		border: 1px solid var(--green);
		width: 100%;
		transform: translateX(20px) translateY(20px);
		position: absolute;
		top: 0;
		left: 0;
		aspect-ratio: 1/1;
	}
	.flexcols-reverse .sp-img-border {
		transform: translateX(-20px) translateY(20px);
	}
}
@media (min-width:1024px) {
	.media-grid {
		padding-bottom: 72px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
BLOCK: Split Panel Slideshow
------------------------------------------------------------------------------------------------------------------- */
.split-panel-slideshow .carousel-cell {
	width: 100%;
}

/* -------------------------------------------------------------------------------------------------------------------
BLOCK: Team Members
------------------------------------------------------------------------------------------------------------------- */
.team-members {
	background-image: url("assets/img/royal-crescent-bath-grey.jpg");
	background-size: 100% auto;
	background-position: bottom left;
	background-repeat: no-repeat;
}
.team-members .flexcols {
	margin: 56px 0;
}
.team-member-inner {
	position: relative;
}
.team-member-pic::after {
	content: '';
	background-image: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 33%;
	z-index: 1;
}
.team-member-meta {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 24px;
	z-index: 2;
	color: #fff;
}
.team-member-meta > * {
	margin-bottom: 0;
	line-height: 1.3;
}
.team-member-meta h5 {
	color: #fff !important;
}
@media (min-width:768px) {
	.team-member {
		max-width: 380px;
		width: 31.66666666666%;
		margin-right: 2.5%;
		margin-bottom: 2.5% !important;
	}
	.team-member:nth-child(3n+0) {
		margin-right: 0;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
ABOUT PAGE: Team Member Pop Ups
------------------------------------------------------------------------------------------------------------------- */
.page-id-11 .team-member,
.popup-close
{
	cursor: pointer;
}
.page-id-11 .modal .team-member {
	cursor: default;
}
.team-member-bio {
	display: none;
}
.modal, .valuation-modal {
	display: none;
	position: fixed;
	z-index: 999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(84,100,125,0.82);
}
.team-popup, .valuation-popup {
	background: #fff;
	padding: 80px 40px 40px;
	position: relative;
	margin: auto;
	box-sizing: border-box;
	z-index: 9999;
}
.popup-close {
	position: absolute;
	top: 40px;
	right: 40px;
}
.team-popup .team-member-bio {
	display: block;
	padding-top: 24px;
}
.team-popup-inner .team-member-pic::after,
.team-popup .team-member-meta
{
	display: none;
}
.team-popup-inner .col1of3 {
	width: 100% !important;
}
.team-member-inner {
	margin-bottom: 40px;
}
.team-member-bio h3 {
	margin-bottom: 4px;
}
.team-member-bio h5 {
	font-weight: 400 !important;
}
.team-member-bio svg {
	width: 16px;
	height: auto;
}
.team-member-bio a {
	color: #000;
	border: none;
}
.team-member-bio a:hover {
	color: var(--green);
}
.team-popup-inner .team-member {
	max-width: 100%;
}
@media (min-width:540px) {
	.team-popup, .valuation-popup {
		max-width: 80%;
	}
}
@media (min-width:768px) {
	#team .flexcols {
		margin-bottom: 80px;
	}
	.team-member-inner {
		margin-bottom: 0;
	}
}
@media (min-width:1024px) {
	.team-popup, .valuation-popup {
		padding: 40px;
	}
	.team-popup-inner .team-member {
		display: flex;
		margin: 0 !important;
	}
	.team-popup .team-member-inner {
		max-width: 380px;
		margin: 0 40px 0 0;
	}
}
@media (min-width:1280px) {
	.team-popup, .valuation-popup {
		max-width: 1200px;
	}
}
@media (max-width:1023px) {
	.team-popup, .valuation-popup {
		margin-top: 0 !important;
	}
	body.admin-bar .team-popup, body.admin-bar .valuation-popup {
		margin-top: 20px !important;
	}
}
/* -------------------------------------------------------------------------------------------------------------------
EDIT
------------------------------------------------------------------------------------------------------------------- */
.propertyhive-featured-properties-shortcode {
	margin: 56px 0;
}

/* -------------------------------------------------------------------------------------------------------------------
BLOCK: Enquiry Form
------------------------------------------------------------------------------------------------------------------- */
.enquiry-form {
	position: relative;
}
.enquiry-form::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 80px;
	width: 500px;
	height: 500px;
	background-image: url("assets/img/sp-bg-phone.png");
	background-size: 500px 410px;
	background-position: bottom 80px right 0;
	background-repeat: no-repeat;
	opacity: 0.05;
	transition: opacity 0.25s;
}
@media (min-width: 1860px) {
	.enquiry-form::after {
		opacity: 0.11;
	}
}
.wpcf7 {
	margin-top: 32px;
	position: relative;
	z-index: 2;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"]
{
	width: 100%;
	height: 48px;
}
.wpcf7 textarea {
	height: 170px;
}
.wpcf7 input[type="checkbox"] {
	width: 24px;
    height: 24px;
    vertical-align: sub;
}
.wpcf7-list-item {
	margin-left: 0;
}
.wpcf7-list-item-label {
	margin-right: 12px;
}
.wpcf7 .red {
	color: red;
}
.wpcf7 form .wpcf7-response-output {
	border: none;
	color: #fff;
	font-weight: 500;
	font-size: 20px;
	padding: 24px;
	background-color: var(--blue);
	margin: 48px 0 0;
}
.wpcf7 form.failed .wpcf7-response-output {
	background-color: red;
}

/* -------------------------------------------------------------------------------------------------------------------
Contact Form 7
------------------------------------------------------------------------------------------------------------------- */
.wpcf7-form select {
	width: 100%;
}
.modal .wpcf7-form .col1of2 label {
	font-size: var(--p);
}
@media (min-width:1024px) {
	.wpcf7-form .col1of2 label {
		font-size: 0.9em;
	}
}
/* -------------------------------------------------------------------------------------------------------------------
Valuation Form Popup
------------------------------------------------------------------------------------------------------------------- */
.valuation-popup {
	max-width: 760px !important;
}
.valuation-popup .wpcf7-form p label,
.valuation-popup .wpcf7-form p label,
.valuation-popup .wpcf7-form .col1of2 label
{
	font-size: 18px !important;
}

/* -------------------------------------------------------------------------------------------------------------------
BLOCK: Locations
------------------------------------------------------------------------------------------------------------------- */

.locations h2 {
	margin-bottom: 40px;
	color: var(--darkblue) !important;
}
@media (min-width: 600px) {
	.locations {
		background-image: url("assets/img/locations.png");
		background-size: 608px 454px;
		background-position: top 100px right -32px;
		background-repeat: no-repeat;
	}
}
@media (min-width: 600px) and (max-width: 1023px) {
	.locations .flexcols {
		display: flex;
		flex-wrap: wrap;
	}
	.locations .col1of4 {
		width: 48%;
        margin: 0 4% 2% 0;
	}
    .locations .col1of4:nth-child(even){
        margin-right: 0;
    }
}

/* -------------------------------------------------------------------------------------------------------------------
BLOCK: Packages
------------------------------------------------------------------------------------------------------------------- */
.packages {}
.packages .col1of3 {
	background-color: var(--lightgrey);
	border-radius: 9px;
	padding: 32px 32px 8px;
	border-bottom: 8px solid var(--blue);
}
.packages .col1of3:nth-child(2) {
	border-bottom: 8px solid var(--green);
}
.packages .col1of3:nth-child(3) {
	border-bottom: 8px solid var(--yellow);
}
.packages .col1of3 h4 {
	margin: 12px 0;
}

/* -------------------------------------------------------------------------------------------------------------------
BLOCK: Packages Table
------------------------------------------------------------------------------------------------------------------- */
table.packages-table {
	border: 1px solid #D5D5D5;
	border-collapse: collapse;
}
table.packages-table th, table.packages-table td {
	border: 1px solid #D5D5D5;
	background: #fff !important;
	font-size: 20px;
	line-height: 1.2;
	padding: 12px 24px;
}
table.packages-table th {
	text-transform: none;
	font-weight: 500;
	padding: 12px 8px;
	position: relative;
}
table.packages-table td {
	vertical-align: middle;
}
table.packages-table th::before {
	content: '';
	width: 100%;
	height: 4px;
	background: #fff;
	display: block;
	position: absolute;
	top: -5px;
	left: 0;
}
table.packages-table th:nth-child(2)::before {
	background: var(--blue);
}
table.packages-table th:nth-child(3)::before {
	background: var(--green);
}
table.packages-table th:nth-child(4)::before {
	background: var(--yellow);
}
table.packages-table .pt-inc, table.packages-table th {
	text-align: center;
}
.table-tick, .table-tick svg {
	width: 20px;
	height: 13px;
}
.table-cross, .table-cross svg {
	width: 13px;
	height: 13px;
}
.table-tick svg path {
	fill: var(--blue);
}
.table-cross svg path {
	fill: #ED1C24;
}
@media (min-width:1280px){
	table.packages-table .pt-inc {
		width: 200px;
	}
}
@media screen and (max-width: 768px) {
	table.packages-table,
	table.packages-table th {
		border: 1px solid #666;
	}
	table.packages-table tr {
		display: flex;
		flex-flow: row wrap;
		justify-content: space-around;
	}
	table.packages-table td,
	table.packages-table th {
		display: block;
		width: 33.33%;
		font-size: 16px;
		padding: 8px;
		border-bottom: none;
		border-right: none;
	}
	table.packages-table th:first-child,
	table.packages-table td:first-child {
		background: var(--lightgrey) !important;
		width: 100%;
		padding-top: 12px;
		border-top: 1px solid #666;
	}
	table.packages-table th:first-child {
		display: none;
	}
	table.packages-table td {
		font-weight: 400;
		
	}
}

/* -------------------------------------------------------------------------------------------------------------------
BLOCK: Mortgage Calculator
------------------------------------------------------------------------------------------------------------------- */
.acf-block.mortgage-calculator {
	background-image: url("assets/img/the-circus-bath-green.jpg");
	background-size: 100% auto;
	background-position: top left;
	background-repeat: no-repeat;
}

/* -------------------------------------------------------------------------------------------------------------------
BLOCK: Stamp Duty Calculator
------------------------------------------------------------------------------------------------------------------- */
.acf-block.stamp-duty-calculator {
	background-image: url("assets/img/royal-crescent-bath-green.jpg");
	background-size: 100% auto;
	background-position: bottom left;
	background-repeat: no-repeat;
}
.acf-block.stamp-duty-calculator select,
.acf-block.stamp-duty-calculator input[type=number],
.acf-block.stamp-duty-calculator input[type=text]
{
	max-width: 480px;
	padding: 8px;
}
.stamp-duty-calculator > button {
	margin-top: 24px;
}
.stamp-duty-calculator-results {
	margin-top: 24px;
}

/* -------------------------------------------------------------------------------------------------------------------
BLOCK: Cost of Moving Calculator
------------------------------------------------------------------------------------------------------------------- */
.moving-calculator {}
#mcc-page-buying-selling h2 {
	font-size: var(--h4);
}
.moving-calculator .propertyhive-form .control label:first-child {
	width: auto;
	min-width: 15%;
}
.moving-calculator .propertyhive-form .control select,
.moving-calculator .propertyhive-form .control input[type=text],
.moving-calculator .propertyhive-form .control input[type=number],
.moving-calculator .propertyhive-form .control textarea
{
	width: auto;
	min-width: 240px;
}

@media (min-width:768px) {
	.moving-calculator .propertyhive-form .control select,
	.moving-calculator .propertyhive-form .control input[type=text],
	.moving-calculator .propertyhive-form .control input[type=number],
	.moving-calculator .propertyhive-form .control textarea
	{
		min-width: 400px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
BLOCK: Rental Affordability Calculator
------------------------------------------------------------------------------------------------------------------- */
.acf-block.rental-calculator {
	background-image: url("assets/img/royal-crescent-bath-green.jpg");
	background-size: 100% auto;
	background-position: bottom left;
	background-repeat: no-repeat;
}
.rental-affordability-calculator select,
.rental-affordability-calculator input[type=number],
.rental-affordability-calculator input[type=text]
{
	max-width: 480px;
	padding: 8px;
}
.rental-affordability-calculator label,
.rental-affordability-results
{
	font-size: var(--p);
	font-weight: 400;
}
.rental-affordability-calculator #results_rent {
	margin-top: 48px;
}
.rental-affordability-calculator > button {
	margin: 24px 0;
}

/* -------------------------------------------------------------------------------------------------------------------
BLOCK: Key Text Boxes
------------------------------------------------------------------------------------------------------------------- */
.key-text-boxes .flexcols {
	margin-top: 48px;
}
.key-text-boxes .col1of2 {
	background-color: #EBF1EA;
	border: 1px dashed var(--blue);
	padding: 24px 24px 12px;
	max-width: 588px;
}
.key-text-boxes h4 {
	margin-bottom: 12px;
}
@media (min-width:768px) {
	.key-text-boxes .col1of2 {
		width: 49%;
        margin: 0 2% 2% 0;
	}
    .key-text-boxes .col1of2:nth-child(even) {
        margin-right: 0;
    }
}

/* -------------------------------------------------------------------------------------------------------------------
BLOCK: Info Blocks
------------------------------------------------------------------------------------------------------------------- */
.info-blocks {
	margin-top: 48px;
}
.info-block {
	margin-bottom: 48px;
}
.info-block--img {
	margin-bottom: 24px;
	position: relative;
}
@media (min-width: 768px){
	.info-block {
		display: flex;
	}
	.info-block--img {
		width: 31.66666667%;
		max-width: 380px;
		margin-right: 3.33333%;
	}
	.info-block--img img {
		z-index: 1;
		position: relative;
	}
	.info-block--text {
		width: 65%;
	}
	.info-blocks .sp-img-border {
		border: 1px solid #E2EBE0;
		transform: translateX(-20px) translateY(20px);
		aspect-ratio: 4/3;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Generic Form Elements
------------------------------------------------------------------------------------------------------------------- */
.required {
	color: red !important;
}
.full-width-blue .required {
	color: hotpink !important;
}
.input-text:focus, input[type=text]:focus, input[type=email]:focus, input[type=url]:focus, input[type=password]:focus, input[type=number]:focus, input[type=search]:focus, textarea:focus {
	background-color: #eef2ed;
}
::placeholder {
	color: #ccc;
	font-weight: 300;
}

/* -------------------------------------------------------------------------------------------------------------------
Page Text
------------------------------------------------------------------------------------------------------------------- */
.page-template-default .entry-content > p,
.text-column-wide {
	max-width: 1008px;
}

/* -------------------------------------------------------------------------------------------------------------------
PAGE: Testimonials
------------------------------------------------------------------------------------------------------------------- */
.testimonial-boxes {
	margin: 48px 0;
}
.testimonial-boxes .col1of3 {
	background-color: #EBF1EA;
	border: 1px dashed var(--blue);
	padding: 32px 20px 8px;
}
.testimonial-excerpt {
	font-size: var(--h4);
	font-family: 'Libre Baskerville', serif;
	font-style: italic;
}
@media (min-width:768px) {
	.testimonial-boxes .col1of3{
        width: 49%;
        margin: 0 2% 2% 0;
		max-width: 486px;
    }
    .testimonial-boxes .col1of3:nth-child(2n+0){
        margin-right: 0;
    }
}
@media (min-width:1024px) {
	.testimonial-boxes .col1of3{
        width: 31.88976%;
        margin: 0 2.16536% 2.16536% 0;
    }
	.testimonial-boxes .col1of3:nth-child(2n+0){
        margin-right: 2.16536%;
    }
    .testimonial-boxes .col1of3:nth-child(3n+0){
        margin-right: 0;
    }
}
@media (min-width:1280px) {
	.testimonial-boxes {
		margin: 48px 0 120px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
ARCHIVE: Property
------------------------------------------------------------------------------------------------------------------- */
body.archive h1.page-title {
	display: none;
}
body.archive .content-area {
	margin-top: 80px !important;
	padding: 0 24px;
}
body.archive .properties {
	padding-top: 56px !important;
	margin-bottom: 120px;
}
.propertyhive-result-count {
	font-weight: 400;
}
.propertyhive-views ul li {
	background-color: #D4D4D4;
	border-radius: 3px;
	transition: background-color 0.25s;
}
.propertyhive-views ul li.active {
	background-color: var(--green);
}
.propertyhive-views ul li:hover {
	background-color: var(--blue);
}
.propertyhive-info {
	margin-bottom: 80px;
}
.propertyhive-info, p.no-comments {
	background-color: var(--blue);
}
@media (min-width:768px) {
	body.archive .content-area {
		padding: 0 40px;
	}
}
@media (min-width:1280px) {
	body.archive .content-area {
		padding: 0;
	}
}
@media (max-width:769px) {
	body.archive .propertyhive-result-count {
		text-align: center;
	}
	body.archive .propertyhive-ordering {
		text-align: center;
	}
	body.archive .propertyhive-ordering select {
		padding: 8px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Property Map
------------------------------------------------------------------------------------------------------------------- */
.propertyhive-map-canvas-wrapper {
	margin-bottom: 80px;
}
.propertyhive-draw-a-search-controls a#ph_draw_a_search_draw,
.propertyhive-draw-a-search-controls a#ph_draw_a_search_view
{
	background: var(--blue) !important;
}
.propertyhive-map-canvas .properties-map-popup .properties {
	padding-top: 20px !important;
	margin-bottom: 0 !important;
}
 .gm-style-iw{
	 padding: 0 !important;
	 height: auto !important;
	 max-width: 1px !important;
	 max-height: 1px !important;
}
.gm-control-active>img {
	top:calc(50% - 6px);
}
.gm-fullscreen-control>img {
	top:calc(50% - 10px);
}
@media (min-height:1000px){
	.propertyhive-map-canvas-wrapper {
		height: 700px !important;
	}
}
@media (min-height:1200px){
	.propertyhive-map-canvas-wrapper {
		height: 900px !important;
	}
}
/* -------------------------------------------------------------------------------------------------------------------
Property Listings
------------------------------------------------------------------------------------------------------------------- */
ul.properties li.property .flickity-prev-next-button {
	width: 24px;
	height: 24px;
	border-radius: 2px;
	opacity: 1;
	background: rgba(255,255,255,0.8);
	padding: 2px 4px 0;
}
ul.properties li.property .flickity-button:hover,
ul.properties li.property .flickity-button:active {
	background: var(--green);
	transition: background 0.25s;
	opacity: 1;
}
ul.properties li.property .details h4 {
	margin-bottom: 4px;
	line-height: 1;
}
ul.properties li.property .details h4 span {
	display: block;
}
ul.properties li.property .details h4 span:last-of-type {
	padding-top: 8px;
}
ul.properties li.property .details .icons .icon {
	margin-right: 16px;
	display: inline;
}
ul.properties li.property .details .icons .icon span {
	font-size: var(--p);
	font-weight: 400;
	position: relative;
	top: -15px;
}
ul.properties li.property .details .icons svg {
	width: 48px;
	height: 48px;
	margin-right: 4px;
}

.propertyhive  ul.properties {
	display: flex;
	flex-wrap: wrap;
}
ul.properties li.property .thumbnail {
	width: 100%;
	float: none;
	margin: 0;
	height: 53vw;
	overflow: hidden;
}

ul.properties li.property .thumbnail img {
    height: 100%;
}

ul.properties li.property .details {
	width: 100%;
	float: none;
	margin: 0;
	padding: 16px 16px 0;
	display: block;
	color: #000;
	border-bottom: none;
}
ul.properties li.property .thumbnail .carousel-cell {
	width: 100%;
	height:100%;
}
.propertyhive  ul.properties > li {
	padding-top: 0;
	margin-bottom: 24px;
	border: 1px solid #ccc;
	width: 100%;
}
ul.properties li.property {
	position: relative;
}
ul.properties li.property .availability {
	box-sizing: border-box;
	padding: 8px 24px;
	background-color: var(--blue);
	color: #fff;
	text-transform: uppercase;
	font-size: 16px;
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
@media (min-width: 600px) {
	ul.properties li.property .details {
		padding: 24px 24px 16px;
	}
	.propertyhive  ul.properties > li {
		width: 48% !important;
		margin-right: 2% !important;
		margin-bottom: 2% !important;
		border: 1px solid #ccc !important;
		padding: 0 !important;
		text-align: left !important;
	}
	.propertyhive  ul.properties > li.last {
		margin-right: 2% !important;
	}
	.propertyhive  ul.properties > li:nth-child(2n+0) {
		margin-right: 0 !important;
	}
	ul.properties li.property .thumbnail {
		height: 28vw;
	}
}
@media (min-width: 1024px) {
	.propertyhive  ul.properties > li {
		width: 31.66667% !important;
		max-width: 380px !important;
		margin-right: 2.5% !important;
		margin-bottom: 2.5% !important;
		border: 1px solid #ccc !important;
		padding: 0 !important;
		text-align: left !important;
	}
	.propertyhive  ul.properties > li.last,
	.propertyhive  ul.properties > li:nth-child(2n+0)
	{
		margin-right: 2.5% !important;
	}
	.propertyhive  ul.properties > li:nth-child(3n+0) {
		margin-right: 0 !important;
	}
	ul.properties li.property .thumbnail {
		height: 18vw;
	}
	ul.properties li.property .details h4 {
		display: flex;
	}
	ul.properties li.property .details h4 span {
		flex-grow: 1;
		display: inline;
	}
	ul.properties li.property .details h4 span:first-of-type {
		padding-right: 8px;
	}
	ul.properties li.property .details h4 span:last-of-type {
		text-align: right;
		padding: 0;
	}
}
@media (min-width:1440px) {
	ul.properties li.property .thumbnail {
		height: 251px;
	}
}

ul.properties li.promo {
	border-color: var(--blue);
	background-color: var(--blue);
	color: #fff;
	text-align: center !important;
	box-sizing: border-box;
	padding: 56px 20px 32px !important;
}
ul.properties li.promo h2 {
	color: #fff !important;
}


/* -------------------------------------------------------------------------------------------------------------------
SINGLE: Property
------------------------------------------------------------------------------------------------------------------- */
.single-property {
	background-image: url("assets/img/royal-crescent-bath-white.jpg");
	background-size: 100% auto;
	background-position: bottom 600px left 0;
	background-repeat: no-repeat;
}
.single-property .content-area {
	padding: 0 24px;
}
@media (min-width:768px) {
	.single-property .content-area {
		padding: 0 24px;
	}
}
.single-property #main {
	padding-bottom: 160px;
}
/* Top of page details */
.single-property div.property h1 {
	display: none;
}
.single-property div.property h3 {
	font-weight: 400 !important;
}
.single-property div.property .status {
	color: #fff;
	padding: 8px 16px;
	background-color: var(--yellow);
	font-size: var(--p);
	font-weight: 400;
	text-transform: uppercase;
	margin: 8px 0 16px;
	display: inline-block;
}
.single-property div.property .price {
	font-weight: 400 !important;
	font-size: var(--h2);
	margin: 0 0 16px !important;
}
@media (min-width:768px) {
	.single-property div.property .status {
		margin: 24px 0;
		padding: 14px 28px;
	}
	.single-property div.property .price {
		margin: 0 0 40px !important;
	}
}
/* Gallery */
.single-property div.property .images .thumbnails {
	margin-top: 4px;
}
@media (max-width:768px) {
	.single-property div.property .images .thumbnails ul {
		display: none;		
	}
}
/* Sidebar */
.single-property-sidebar .icons .icon {
	margin-bottom: 8px;
}
.single-property-sidemeta .icons {
	margin-bottom: 32px;	
}
.single-property-sidebar .icons svg {
	width: 48px;
	height: 48px;
	margin-right: 4px;
}
.single-property-sidebar .icons .icon span {
	font-size: var(--small);
	font-weight: 400;
	position: relative;
	top: -15px;
}
.single-property-sidebar .icons .icon span div{
		display: inline;
	}
.property_actions li a {
	text-align: center;
	background-color: var(--blue);
	border: none !important;
	font-weight: 400;
	font-size: 18px;
	border-radius: 5px;
	line-height: 1.2;
}
.property_actions li a:hover {
	background-color: var(--green);
	border: none !important;
}
.single-property-sidebar .media-icons span {
	position: relative;
	top: -6px;
	font-weight: 400;
}
@media (max-width:768px) {
	.property_actions li a, .property_actions li a.button {	
		font-size: 16px !important;
		padding: 0 !important;
		background: none !important;
		color: var(--text) !important;
		border-bottom: 1px solid !important;
		border-radius: 0 !important;
		text-decoration: none !important;
		box-shadow: none !important;
		height: auto !important;
		line-height: 1.2 !important;
	}
	.single-property-sidebar .icons .icon span {
	}
	.property_actions li a:hover {
		color: var(--green) !important;
		border-bottom: 1px solid var(--green) !important;
	}
	.single-property-sidebar .icons .icon span div{
		display: none;
	}
	.single-property div.property .property_actions ul li {
		margin: 0 8px 8px 0;
	}
}
@media (max-width:1023px) {
	.single-property-sidemeta .icons {
		margin-top: 24px;
	}
	.single-property-sidebar .icons .icon {
		display: inline;
		margin-right: 8px;
	}
}
/* Content */
.single-property div.property .summary {
	margin-top: 80px;
}
.single-property .summary-contents {
	font-size: var(--p);
	margin-bottom: 80px;
	max-width: 1008px;
}
.single-property .description-contents {
	max-width: 1008px;
}
.single-property #property_map_canvas {
	margin-bottom: 120px;
	height: 600px !important;
}
.single-property .description h4:first-child {
	display: none;
}
@media (min-width:1024px){
	.single-property div.property .images {
		position: relative;
	}
	.single-property div.property .images .flexslider {
		border: none !important;
		width: 80%;
		max-width: 960px;
	}
	.single-property div.property .images .single-property-sidebar {
		position: absolute;
		top: 0;
		right: 0;
		margin-left: 3.333333%;
		width: 16.666667%;
	}
	.single-property div.property .property_actions ul li {
		float: none;
		margin-right: 0;
	}
	.property_actions li a {
		width: 100%;
	}
}
@media (min-width:1280px) {
	.single-property .content-area {
		padding: 0;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Blog Archive
------------------------------------------------------------------------------------------------------------------- */
.category-filter {
	margin-bottom: 80px;
}
.category-filter select {
	width: 100%;
	max-width: 374px;
	border: 1px solid #d4d4d4;
	height: 48px;
	margin-bottom: 24px;
}
/*
.blog-previews {
	margin-bottom: 160px;
}
*/
.blog-preview {
	border: 1px solid #d4d4d4;
	background-color: #fff;
}
.blog-preview-image {
	margin-bottom: 0;
}
.blog-preview-text {
	padding: 24px;
}
.blog-preview-text h4 {
	margin-bottom: 8px;
}
.blog-preview-text h4 a {
	color: #000;
	font-weight: 500;
}
.blog-preview-text h4 a:hover {
	color: var(--green);
}
.blog-preview-text a.button-small {
	text-transform: none;
}

/* -------------------------------------------------------------------------------------------------------------------
Blog Post
------------------------------------------------------------------------------------------------------------------- */
.blog-post {
	position: relative;
}
.blog-post::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 300px;
	height: 513px;
	background-image: url("assets/img/sp-bg-finger.png");
	background-position: 0 0;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0.06;
}
.blog-post::after {
	content: '';
	position: absolute;
	top: 460px;
	right: 0;
	width: 300px;
	height: 457px;
	background-image: url("assets/img/sp-bg-keys-right.png");
	background-position: 0 0;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0.06;
}
.post-meta {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 64px;
}
.post-meta p {
	font-size: var(--small);
}
.post-meta a {
	color: #000;
}
.post-meta a:hover {
	color: var(--green);
}
.post-meta .media-icons {
	display: block;
}
.post-meta .media-icons a {
	display: inline-block;
}
.post-meta-left ul {
	display: inline;
	list-style: none;
}
.post-meta-left ul li {
	display: inline;
	margin: 0;
}
body.single-post .single-related-block {
	margin-bottom: 0 !important;
	background-color: var(--lightgrey);
	padding: 80px 0;
}
@media (min-width:768px) {
	.blog-post {
		padding: 32px 0 80px;
	}
	.post-meta > div {
		width: 50%;
	}
	.post-meta-right {
		text-align: right;
	}
}
@media (min-width:1024px) {
	.blog-post {
		padding: 32px 0 160px;
	}
	body.single-post .single-related-block {
		padding: 120px 0;
	}
}
@media (min-width:1560px) {
	.blog-post::after,
	.blog-post::before
	{
		opacity: 0.1;
	}
}
.blog-post .container {
	max-width: 940px;
	margin-left: auto;
	margin-right: auto;
}
/* -------------------------------------------------------------------------------------------------------------------
Small Calculators
------------------------------------------------------------------------------------------------------------------- */
.calculator-small {
	background-color: #E2EAE0;
	padding: 40px;
	max-width: 1008px;
	box-sizing: border-box;
	margin-bottom: 64px;
}

/* -------------------------------------------------------------------------------------------------------------------
404
------------------------------------------------------------------------------------------------------------------- */
body.error404 .message404{
	padding: 0 0 80px;
}
@media (min-width:1280px) {
	body.error404 .message404{
		padding: 80px 0 160px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Logo Scroller
------------------------------------------------------------------------------------------------------------------- */
.logo-scroller {
	overflow: hidden;
	margin-bottom: 80px;
}
.logo-scroller .bx-slide{
	max-height: 92px;
}
.wp-spaios-slider-wrap * {
	max-height: 92px;
}
.page-id-667 .logo-scroller {
	margin-bottom: 40px !important;
}
/*
@media (min-width:768px){
	.logo-scroller {
		margin-bottom: 40px;
	}
}
*/
@media (min-width: 1280px){
	.logo-scroller {
		margin-bottom: 120px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Gutenberg Videos & Images
------------------------------------------------------------------------------------------------------------------- */
.wp-block-video {
	margin-top: 64px;
}
.wp-block-image {
	margin-top: 48px;
	margin-bottom: 48px;
}
@media (min-width:1024px){
	.wp-block-video {
		margin-top: 120px;
	}
}
@media (min-width:1280px){
	.wp-block-video {
		margin-top: 120px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Shortlist
------------------------------------------------------------------------------------------------------------------- */
.propertyhive-shortlist {
	margin-top: 40px;
}

/* -------------------------------------------------------------------------------------------------------------------
Collapse margins between certain blocks
------------------------------------------------------------------------------------------------------------------- */
.full-width-color + .full-width-color,
.full-width-color + .full-width-blue,
.full-width-blue + .full-width-color
{
	margin-top: -64px;
}
.full-width-grey + .full-width-grey {
	padding-top: 0 !important;
}
@media (min-width:1024px){
	.full-width-color + .full-width-color,
	.full-width-color + .full-width-blue,
	.full-width-blue + .full-width-color
	{
		margin-top: -120px;
	}
}
@media (min-width:1280px){
	.full-width-color + .full-width-color,
	.full-width-color + .full-width-blue,
	.full-width-blue + .full-width-color
	{
		margin-top: -160px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Flickity General
------------------------------------------------------------------------------------------------------------------- */
.flickity-button {
	box-shadow: none !important;
}
.flickity-button:focus {
	outline: none !important;
}
.flickity-button:disabled {
	display: none;
}
.flickity-button:hover .flickity-button-icon {
	fill: #000;
}
.flex-direction-nav a {
	border: none !important;
}

/* -------------------------------------------------------------------------------------------------------------------
Property Hive map
------------------------------------------------------------------------------------------------------------------- */
.propertyhive-draw-a-search-controls {
	z-index: 1 !important;
}

/* -------------------------------------------------------------------------------------------------------------------
ReCAPTCHA
------------------------------------------------------------------------------------------------------------------- */
.grecaptcha-badge {
	bottom: 50px !important;
}
/*
@media (max-width:768px) {
	.grecaptcha-badge {
		bottom: 100px !important;
	}
}
*/

/* -------------------------------------------------------------------------------------------------------------------
Search Banner - Mobile
------------------------------------------------------------------------------------------------------------------- */
.bsf-header {
	display: none;
}
@media (max-width:768px) {
	.bsf-header {
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding: 8px 24px;
		font-size: var(--p);
		color: #fff;
		text-align: center;
		font-weight: 500;
		cursor: pointer;
		background-color: var(--green);
		margin-left: -16px;
		width: 100vw;
	}
	.bsf-header + form {
		display: none;
	}
	.bsf-header span {
		position: relative;
		padding-right: 24px;
	}
	.bsf-header span::after{
		content: '';
		width: 14px;
		height: 8px;
		background-image: url("assets/img/arrow-down.svg");
		background-size: cover;
		background-repeat: no-repeat;
		background-position: 0 0;
		position: absolute;
		top: 9px;
		right: 0;
		transition: all 0.25s;
	}
	.bsf-header.bsf-active span::after {
		transform: rotateX(180deg);
		transition: all 0.25s;
	}
}

@media (min-width:769px) {
	.bsf-header + form {
		display: table !important;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Willow Brook Mortgages
------------------------------------------------------------------------------------------------------------------- */
body.page-id-8771 .image-banner {
	height: 300px !important;
	background: #00414c;
}
body.page-id-8771 .image-banner .container {
	display: none !important;
}
body.page-id-8771 .image-banner img {
	max-width: 1920px !important;
	margin: auto;
	position: unset;
}
body.page-id-8771 .entry-content > .acf-block:first-of-type {
	margin-top: 56px;
}
@media (min-width:1024px) {
body.page-id-8771 .image-banner {
	height: 480px !important;
}
	body.page-id-8771 .entry-content > .acf-block:first-of-type {
	margin-top: 80px;
}
}

.split-panel.google-business-reviews-rating {
	background-image: url("assets/img/sp-bg-finger-right.png");
	background-position: top 0 right 0;
	background-repeat: no-repeat;
}

/* -------------------------------------------------------------------------------------------------------------------
Awards
------------------------------------------------------------------------------------------------------------------- */
.awards {
	margin-bottom:80px;
}

.awards .container .items {
	display:flex;
	flex-flow:wrap;
	justify-content:center;
	gap:10px;
}

.awards .container .items .item img {
	height:90px;
	object-fit:contain;
	width:90px;
}

@media(min-width:768px) {

	.awards .container .items {
		justify-content:space-between;
	}

}

@media(min-width:992px) {

	.awards .container .items .item img {
		height:100px;
		width:100px;
	}

}

@media(min-width:1280px) {

	.awards {
		margin-bottom:120px;
	}

}

/* -------------------------------------------------------------------------------------------------------------------
Pagination
------------------------------------------------------------------------------------------------------------------- */

.pagination {
	border:0;
	display:flex;
	flex-flow:wrap;
	justify-content:center;
	gap:15px;
	padding:2em 0 3em 0;
}
.pagination .prev {
	margin-right:20px;
}
.pagination .next {
	margin-left:20px;
}
@media(min-width:768px) {
	.pagination	.prev {
		margin-right:40px;
	}
	.pagination	.next {
		margin-left:40px;
	}
}

/* -------------------------------------------------------------------------------------------------------------------
Market Report
------------------------------------------------------------------------------------------------------------------- */

.market-report .container .top {
	align-items:center;
	display:flex;
	flex-flow:column;
	gap:60px;
	justify-content:space-between;
}
.market-report .container .top .left {
	display:flex;
	flex-flow:column;
	gap:20px;
	order:2;
	width:100%;
}
.market-report .container .top .right {
	order:1;
	width:100%;
}
.market-report .container .top .right .property-toggle {
	display:flex;
	flex-flow:row;
	gap:20px;
}
.market-report .container .top .right .property-toggle {
    position: relative;
    font-family: sans-serif;
    margin-bottom: 1em;
}

.market-report .container .top .right .property-toggle .toggle-switch {
    position: relative;
    display: flex;
    border: 1px solid #ccc;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
	width:220px;
}

.market-report .container .top .right .property-toggle .toggle-label {
    flex: 1;
    text-align: center;
    padding: 0.5em 0;
    z-index: 2;
    transition: color 0.3s;
}

.market-report .container .top .right .property-toggle .toggle-label.active {
    color: white;
}

.market-report .container .top .right .property-toggle .toggle-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: #2E486A;
    border-radius: 30px;
    transition: left 0.3s;
}

.market-report .container .top .right .read-more a.button-transparent {
	background:transparent !important;
	color:var(--blue) !important;
	margin-top:20px;
}
.market-report .container .top .right .read-more a.button-transparent:hover {
	background:var(--blue) !important;
	color:#fff !important;
}

/* Property items */
.sales-item, .lettings-item {
    display: none;
}
.sales-item.active, .lettings-item.active {
    display: block;
    margin: 0.5em 0;
}

.market-report .container .top .left .item {
	background:#f2f2f2;
	display:none;
	flex:1;
	font-size:20px;
	line-height:1.3;
	opacity:0;
	padding:20px;
	text-align:center;
	visibility:hidden;
	transition:all 0.2s ease-in-out;
}
.market-report .container .top .left .sales-item.active,
.market-report .container .top .left .lettings-item.active {
	display:flex;
	flex-flow:column;
	gap:20px;
	opacity:1;
	visibility:visible;
}
.market-report .container .top .left .item .icon img {
	height:80px;
	margin:0 auto;
	max-width:80px;
	object-fit:contain;
}
.market-report .container .top .left .item .data {
	display:flex;
	flex-flow:column;
}
.market-report .container .table-data {
	margin-top:40px;
}
.market-report .container .table-data .inner {
	display:none;
}
.market-report .container .table-data .item {
	display:none;
	opacity:0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
	transition:all 0.2s ease-in-out;
	visibility:hidden;
	width: 100%;
}
.market-report .container .table-data .item table {
    border-collapse: collapse;
	min-width:800px;
	width: 100%;
}
.market-report .container .table-data .item table thead tr th {
	background:#2E486A;
	color:#FFFFFF;
}
.market-report .container .table-data .item table th {
	font-size:14px;
	text-transform:none;
}
.market-report .container .table-data .item table tbody tr:nth-child(even) td {
	background:#f4f4f4;
}
.market-report .container .table-data .sales-item.active,
.market-report .container .table-data .lettings-item.active {
	display:block;
	opacity:1;
	visibility:visible;
}
.market-report .container .bottom {
	margin-top:40px;
	text-align:center;
}

@media(min-width:768px) {

	.market-report .container .top .left {
		flex-flow:row;
	}
	.market-report .container .top .left .item {
		flex:1;
		padding:30px 40px;
	}
	.market-report .container .top .right .property-toggle {
		margin-top:20px;
	}

}

@media(min-width:992px) {

	.market-report .container .top {
		flex-flow:row;
		gap:40px;
		margin-top:40px;
	}
	.market-report .container .top .left {
		gap:30px;
		order:1;
		width:750px;
	}
	.market-report .container .top .left .item {
		height:260px;
		padding:30px 30px;
	}
	.market-report .container .top .right {
		flex:1;
		order:2;
	}
	.market-report .container .top .right .property-toggle {
		justify-content:center;
	}
	.market-report .container .top .right .read-more {
		display:flex;
		justify-content:center;
	}
	.market-report .container .table-data .item table th {
		font-size:16px;
	}

}

@media(min-width:1280px) {

	.market-report .container .top .left {
		width:850px;
	}
	.market-report .container .top .left .item .data {
		font-size:20px;
	}
	.market-report .container .top .left .item .data strong {
		font-size:30px;
		margin-bottom:10px;
	}
	.market-report .container .table-data .item table th,
	.market-report .container .table-data .item table td {
		font-size:18px;
	}

}