/* apply a natural box layout model to all elements, but allowing components to change */
html {
	box-sizing: border-box;
	font-size: 16px;
}

*, *:before, *:after {
	box-sizing: inherit;
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

* {
	scroll-margin-top: 5rem;
	scroll-margin-bottom: 5rem;
}

body {
	font-family: var(--fonts-default);
	font-size: 0.875rem;
	line-height: 1.4285714285714286em;
	color: var(--colors-dark-gray);
	background: white;
	margin: 0;
	padding: 0;
	max-width: 100%;
	overflow-x: hidden;
}

body.admin-bar {
	/*padding-top: 73px;*/
}

body.admin-bar header { top: 32px; }

body.filtersOpen,
body.modal--open {
	overflow: hidden;
}

.hide-on-mobile {
	display: none !important;
}

@media all and (min-width: 1024px) {
	.hide-on-mobile {
		display: initial !important;
	}
}

/* Menu hamburger */

header {
	background: white;
	display: grid;
	grid-template-columns: 23px 211px 23px;
	align-items: center;
	justify-content: space-between;
	padding: 0 1.1875rem;
	height: 73px;
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 15;
}

header > * {
	position: relative;
	z-index: 2;
}

.header__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.header__logo svg { width: 100%; height: 100%; object-fit: contain; }

.header__touch-login { width: 23px; height: 23px; }

.header__touch-trigger {
	display: block;
	width: 22px;
	height: 18px;
	cursor: pointer;
}

.header__touch-trigger .menu-link {
	width: 100%;
	height: 100%;
}

.header__touch-trigger .lines {
	-moz-transition: background 0.2s ease 0.4s;
	-o-transition: background 0.2s ease 0.4s;
	-webkit-transition: background 0.2s ease;
	-webkit-transition-delay: 0.4s;
	transition: background 0.2s ease 0.4s;
	display: block;
	width: 100%;
	height: 1px;
	background: #aaa;
	-moz-transform-origin: 50% 50%;
	-ms-transform-origin: 50% 50%;
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
	width: 100%;
	margin: 0 0;
	position: relative;
	background: #000;
	top: 10px;
}

.header__touch-trigger .lines::before,
.header__touch-trigger .lines::after {
	display: block;
	width: 100%;
	height: 1px;
	background: #aaa;
	-moz-transform-origin: 50% 50%;
	-ms-transform-origin: 50% 50%;
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
	position: absolute;
	left: 0;
	content: '';
	background: #000;
	-moz-transition: -moz-transform 0.2s ease 0s, width 0.2s ease 0.2s, top 0.2s ease 0.4s;
	-o-transition: -o-transform 0.2s ease 0s, width 0.2s ease 0.2s, top 0.2s ease 0.4s;
	-webkit-transition: -webkit-transform 0.2s ease, width 0.2s ease, top 0.2s ease;
	-webkit-transition-delay: 0s, 0.2s, 0.4s;
	transition: transform 0.2s ease 0s, width 0.2s ease 0.2s, top 0.2s ease 0.4s;
	-moz-transform-origin: 0 50%;
	-ms-transform-origin: 0 50%;
	-webkit-transform-origin: 0 50%;
	transform-origin: 0 50%;
}

.header__touch-trigger .lines::before {
	top: -6px;
}

.header__touch-trigger .lines::after {
	top: 6px;
}

body.touch-menu-open {
	overflow: hidden;
}

header nav.header__nav {
	position: absolute;
	top: 73px;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100dvw;
	height: 100dvh;
	background: white;
	transform: translate3d(-100%,0,0);
	transition: all .2s ease-in;

	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 10;
}

@media screen and (max-width: 600px) {
	#wpadminbar {
		position: fixed !important;
		top: 0;
		left: 0;
		right: 0;
	}
}

body.touch-menu-open header nav.header__nav {
	transform: translate3d(0,0,0);
}

nav.header__nav ul + .header__nav-button {
	margin-top: 1rem;
	padding: 0 1.25rem;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

nav.header__nav ul {
	margin: 0;
	padding: 0 1.25rem;
	list-style-type: none;
	width: 100%;
}

nav.header__nav > ul > li {
	padding: .65rem 0.625rem .65rem;
	border-bottom: 1px solid var(--colors-light-gray);
	position: relative;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
}

nav.header__nav > ul > li:focus,
nav.header__nav > ul > li:active {
	background: none !important;
	outline: none;
}

nav.header__nav > ul > li.menu-item-has-children {
	cursor: pointer;
}

nav.header__nav > ul > li.menu-item-has-children > a {
	display: block;
 	position: relative;
	padding-right: 1rem;
}

nav.header__nav > ul > li.menu-item-has-children > a::after {
	content: "";
	display: block;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7.347' height='13.693' viewBox='0 0 7.347 13.693'%3E%3Cpath id='Icon_akar-chevron-down-small' data-name='Icon akar-chevron-down-small' d='M0,0,6.14,6.14,12.279,0' transform='translate(0.707 12.986) rotate(-90)' fill='none' stroke='%23555' stroke-linecap='round' stroke-linejoin='round' stroke-width='1'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	width: 7px;
	height: 13px;
	position: absolute;
	top: 50%;
	right: 0;
	transition: all .2s ease;
	transform: translate3d(0,-50%,0);
}

nav.header__nav > ul > li.submenu--open.menu-item-has-children > a::after {
	transform: rotate(90deg);
}

nav.header__nav > ul > li.submenu--open.menu-item-has-children > a {
	/*font-weight: 600;*/
}

nav.header__nav > ul > li a {
	color: var(--colors-dark-gray);
	font-size: 1.125em;
	font-weight: 400;
	text-decoration: none;
	display: block;
	background: none;
}

nav.header__nav > ul > li .submenu-container {
	display: grid; /* 1 */
	grid-template-rows: 0fr; /* 2 */
	transition: grid-template-rows 0.5s ease-in-out .4s;
}

nav.header__nav > ul > li .submenu-container .submenu-container__inner {
	overflow: hidden; /* 4 */
}

nav.header__nav > ul > li.submenu--open .submenu-container {
	grid-template-rows: 1fr;
	transition: grid-template-rows 0.5s ease-in-out 0s;
}

nav.header__nav > ul > li .submenu-container ul {
	padding: .75rem 0 .75rem 0.8125rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

nav.header__nav > ul > li .submenu-container ul li {

}

nav.header__nav > ul > li .submenu-container ul li.pin-left {
	display: none;
}

body.touch-menu-open .header__touch-trigger .lines {
	-moz-transition: background 0.2s ease 0s;
	-o-transition: background 0.2s ease 0s;
	-webkit-transition: background 0.2s ease;
	-webkit-transition-delay: 0s;
	transition: background 0.2s ease 0s;
}

body.touch-menu-open .header__touch-trigger .lines::before,
body.touch-menu-open .header__touch-trigger .lines::after {
	-moz-transition: top 0.2s ease 0s, width 0.2s ease 0.2s, -moz-transform 0.2s ease 0.4s;
	-o-transition: top 0.2s ease 0s, width 0.2s ease 0.2s, -o-transform 0.2s ease 0.4s;
	-webkit-transition: top 0.2s ease, width 0.2s ease, -webkit-transform 0.2s ease;
	-webkit-transition-delay: 0s, 0.2s, 0.4s;
	transition: top 0.2s ease 0s, width 0.2s ease 0.2s, transform 0.2s ease 0.4s;
	top: 0;
	width: 50%;
}

body.touch-menu-open .header__touch-trigger .lines::before {
	-moz-transform: rotate3d(0, 0, 1, 45deg);
	-webkit-transform: rotate3d(0, 0, 1, 45deg);
	transform: rotate3d(0, 0, 1, 45deg);
}

body.touch-menu-open .header__touch-trigger .lines::after {
	-moz-transform: rotate3d(0, 0, 1, -45deg);
	-webkit-transform: rotate3d(0, 0, 1, -45deg);
	transform: rotate3d(0, 0, 1, -45deg);
}


@media all and (min-width: 768px) {
	header {
		padding: 0 2.375rem;
	}
}

@media all and (min-width: 1024px) {

	body {
		padding-top: 73px;
	}
	body.admin-bar {
		padding-top: 73px;
	}

	header {
		padding: 0 2.375rem;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		position: fixed;
		top: 0;
		z-index: 10;
		left: 0;
		right: 0;
		width: 100%;
		max-width: var(--container-main);
		margin: 0 auto;
	}

	body.admin-bar header { top: 32px; }

	header::before {
		content: "";
		display: block;
		background: white;
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
		z-index: 1;
		width: 100dvw;
		height: 100%;
		left: 50%;
		transform: translate(-50%);
	}

	.header__touch-login,
	.header__touch-trigger { display: none; }

	header nav.header__nav {
		left: 2.375rem;
		right: 2.375rem;
		top: auto;
		transform: translate3d(0,0,0);
		flex-direction: row;
		justify-content: end;
		width: auto;
		gap: 1rem;
		height: 73px;
	}

	header .header__logo {
		z-index: 20;
	}

	header nav.header__nav > ul {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 0;
		margin: 0;
		padding: 0;
		width: auto;
		height: 100%;
	}

	nav.header__nav > ul > li {
		border-bottom: 0;
		width: auto;
		padding: 0;
		height: 100%;
		display: flex;
		align-items: center;
	}

	nav.header__nav > ul > li.menu-item-has-children {

	}

	nav.header__nav > ul > li.menu-item-has-children > a {
		padding-right: .85rem;
	}

	nav.header__nav > ul > li.menu-item-has-children > a::after {
		top: 5px;
		transform: rotate(90deg);
		height: 12px;
		width: 6px;
	}

	nav.header__nav > ul > li a {
		font-size: 0.875rem;
		width: auto;
		display: inline-block;
	}

	nav.header__nav ul + .header__nav-button {
		width: auto; margin: 0;
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 1rem;
	}

	nav.header__nav ul + .header__nav-button .wp-block-button__link {
		white-space: nowrap;
		padding: 0.214em 1em;
		min-width: auto;
	}

	nav.header__nav > ul > li .submenu-container {
		background: white;
		position: absolute;
		top: 60px;
		left: 50%;
		right: 0;
		z-index: 10;
		width: 100dvw;
		transform: translate3d(-50%,0,0);
	}

	nav.header__nav > ul > li .submenu-container .submenu-container__inner {
		max-width: var(--container-main);
		margin: 0 auto;
		width: 100%;
		transition: opacity .2s ease 0s;
		opacity: 0;
		padding: 0 1.25rem;
	}

	nav.header__nav > ul > li.submenu--open .submenu-container .submenu-container__inner {
		opacity: 1;
	}

	nav.header__nav > ul > li .submenu-container .submenu-container__inner ul {

	}

	nav.header__nav ul + .header__nav-button {
		padding: 0;
	}

	nav.header__nav > ul > li.menu-item-has-children {
		padding-right: 1.5rem;
		position: static;
	}

	nav.header__nav > ul > li.menu-item-has-children:last-of-type { padding-right: 1rem; }

	nav.header__nav > ul > li.menu-item-has-children a {
		height: 100%;
		display: flex;
		align-items: center;
	}

	nav.header__nav > ul > li.menu-item-has-children a::after {
		top: 50%;
		transform: translateY(-50%) rotate(90deg);
	}



	nav.header__nav > ul > li.submenu--open.menu-item-has-children > a::after {
		transform: translateY(-50%) rotate(90deg);
	}

	nav.header__nav > ul > li.menu-item-has-children:hover > a {
		font-weight: normal;
		color: var(--colors-brand-gold);
	}

	nav.header__nav > ul > li.menu-item-has-children:active { }

	nav.header__nav > ul > li.menu-item-has-children:hover .submenu-container {
		/*width: 100dvw;
		position: absolute;
		top: 100%;
		left: auto;
		right: -1.25rem;*/
	}

	nav.header__nav > ul > li.menu-item-has-children:hover .submenu-container {
		grid-template-rows: 1fr; /* 5 */
		transition: grid-template-rows 0.5s ease-in-out 0s;
	}

	nav.header__nav > ul > li.menu-item-has-children:hover .submenu-container .submenu-container__inner {
		opacity: 1;
		transition: opacity .2s ease .5s;
	}

	nav.header__nav > ul > li.menu-item-has-children .submenu-container ul {
		padding: 2rem 1.25rem 1rem 1.25rem;
		flex-direction: row;
		justify-content: end;
		gap: 1.5rem;
		position: relative;
	}

	nav.header__nav > ul > li.menu-item-has-children .submenu-container ul::before {
		content: "";
		display: block;
		position: absolute;
		top: 1rem;
		left: 1.25rem;
		right: 1.25rem;
		border-top: 1px solid var(--colors-brand-green);
	}

	nav.header__nav > ul > li.menu-item-has-children .submenu-container ul::after {
		content: "";
		display: block;
		position: absolute;
		top: calc(1rem - 2px);
		right: 1.275rem;
		border-radius: 999px;
		height: 5px;
		width: 5px;
		background-color: var(--colors-brand-green);
		z-index: 2;
	}

	nav.header__nav > ul > li.menu-item-has-children .submenu-container ul li a:hover {
		color: var(--colors-brand-gold);
	}

	nav.header__nav > ul > li .submenu-container ul li.pin-left {
		display: block;
		font-family: var(--fonts-heading);
		font-size: 1.25rem;
		color: var(--colors-brand-green);
		margin-right: auto;
	}

}

@media all and (min-width: 1119px) {
	nav.header__nav > ul > li.menu-item-has-children {
		padding-right: 2.5rem;
	}

	header nav.header__nav {
		gap: 2rem;
	}
}

/* Container */
.main-container {
	width: 100%;
	margin: 0 auto;
	padding: 0 1.1875rem;
}

.site-container {
	margin: 0 auto;
}

.template-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.1875rem;
}

/* Alternate Nav */
.mg-block-alternate-nav {
	display: flex;
	flex-direction: row;
	justify-content: center;
	position: absolute;
	top: 73px;
	left: 0;
	right: 0;
	margin: 0 auto;
	z-index: 5;
	list-style-type: none;
	padding: 0;
}

body.admin-bar .mg-block-alternate-nav {
	top: 119px;
}

@media all and (min-width: 783px) {
	body.admin-bar .mg-block-alternate-nav {
		top: 105px;
	}
}

.mg-block-alternate-nav li {
	background: rgba(255,255,255,0.8);
	line-height: 1.5rem;
	text-align: center;
	transition: all .2s ease;
}

.mg-block-alternate-nav li.page-active {
	background: white;
	font-weight: 600;
	border-bottom: 3px solid var(--colors-brand-darkgreen);
}

.mg-block-alternate-nav li:not(.page-active):hover {
	background: #f8f8f8;
}

.mg-block-alternate-nav li a {
	color: var(--colors-dark-gray);
	display: block;
	text-decoration: none;
	padding: .5rem 1.5rem;
}

@media all and (min-width: 1024px) {
	body.admin-bar .mg-block-alternate-nav {
		top: 105px;
	}
}

/* inputs */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
	background: #fafafa;
	border: 1px solid #D5D5D5;
	color: var(--colors-dark-gray);
	font-family: var(--fonts-default);
	display: inline-block;
	font-size: 0.875rem;
	line-height: 1.4285714285714286em;
	padding: .5714285714285714em 1.25rem .7142857142857143em;
	border-radius: 3px;
}

input::placeholder {
	color: var(--colors-dark-gray);
}

input[type="submit"],
form button {
	background: transparent;
	border-radius: 3px;
	border: 1px solid var(--colors-dark-gray);
	color: var(--colors-dark-gray);
	display: inline-block;
	font-size: 0.875rem;
	line-height: 1.4285714285714286em;
	padding: .5714285714285714em 1.25rem .7142857142857143em;
}

/* Custom Styled Select */
.custom-styled-select {
	background: var(--colors-brand-blue);
	color: white;
}

.custom-styled-select__container {
	position: absolute;
	top: 2.1rem;
	right: 0;
	width: 130px;
	text-align: right;
}

.custom-styled-select__current {}

.custom-styled-select__options {
	display: grid; /* 1 */
	grid-template-rows: 0fr; /* 2 */
	transition: grid-template-rows 0.25s ease-in-out; /* 3 */
}

.custom-styled-select label span { display: none; }

.custom-styled-select.open .custom-styled-select__options {
	grid-template-rows: 1fr;
}

.custom-styled-select__options-container {
	overflow: hidden;
}

.custom-styled-select__options-list {
	background: var(--colors-brand-blue);
	border-radius: 3px;
	border: 1px solid white;
	display: flex;
	flex-direction: column;
	gap: .25rem;
	padding: .75rem 1rem;
	cursor: pointer;
}

.custom-styled-select__options span {}
.custom-styled-select__options span.current-selected { font-weight: bold; }
.custom-styled-select__options span:hover {
	text-decoration: underline;
}


/* Property Single Page */

.mg-single-property-media {
	position: relative;
	max-width: 1356px;
	margin: 0 auto;
	overflow: hidden;
}

.mg-single-property-media::before {
	display: block;
	content: "";
	width: 100%;
	padding-top: 66.92307692307692%;
}

.mg-single-property-media__inner {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	height: 100%;
	width: 100%;

}

@media all and (min-width: 768px) {
	.mg-single-property-media .mg-block-property-card__status {
		font-size: 1rem;
		min-width: 140px;
		padding: 0.5rem 1rem;
		bottom: 2rem;
	}
}

@media all and (min-width: 1024px) {
	.mg-single-property-media__inner {
		padding-right: 2.375rem;
		padding-left: 2.375rem;
	}
}

@media all and (min-width: 1280px) {
	.mg-single-property-media .mg-block-property-card__status {
		font-size: 1.35rem;
		min-width: 160px;
		padding: 0.75rem 1.25rem;
		bottom: 2rem;
	}
}

.mg-single-property-media__container {
	position: relative;
	width: 100%;
	height: 100%;
}

.mg-single-property-media__container > * { height: 100%; }

.mg-single-property-media__slider .slick-list { height: 100%; }
.mg-single-property-media__slider .slick-track
{
	display: flex !important;
	height: 100%;
}

.mg-single-property-media__slider .slick-slide
{
	height: inherit !important;
}

.mg-single-property-floorplan {
	background: white;
	z-index: -1;
	height: 100%;
	width: 100%;
}

.mg-single-property-floorplan__image { position: relative; width: 100%; height: 100%; }
.mg-single-property-floorplan__image img {
	position: absolute;
	top: 2.5%;
	left: 0;
	right: 0;
	bottom: 2.5%;
	width: 100%;
	height: 95%;
	object-fit: contain;
}

.mg-single-property__locationmap {
	position: relative;
	width: 100%;
	height: 100%;
}

@media all and (min-width: 1920px) {

}

/* Gallery */

.mg-single-property-gallery {
	background: white;
	height: 100%;
	width: 100%;
	display: block;
	position: relative;
	z-index: 2;
}

.mg-single-property-gallery .slick-list,
.mg-single-property-gallery .slick-track {
	height: 100%;
}

.mg-single-property-gallery__slider-container {
	position: relative;
	width: 100%;
	height: 100%;
}

.mg-single-property-gallery__slider { height: 100%; }
.mg-single-property-gallery__slider .slick-slide,
.mg-single-property-gallery__slider .mg-single-property-gallery__item-inner { height: 100%; }

.mg-single-property-gallery__arrow {
	position: absolute;
	top: 50%;
	height: 28px;
	width: 14px;
	z-index: 15;
	transform: translate3d(0,-50%,0);
}

.mg-single-property-gallery__arrow svg {
	filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.8));
}

.mg-single-property-gallery__prev {
	left: 1.25rem;
}
.mg-single-property-gallery__next {
	right: 1.25rem;
}

.mg-single-property-gallery__item {
	position: relative;
	height: 100%;
}

.mg-single-property-gallery__item-inner {
	position: relative;
}

.mg-single-property-gallery__item-inner--floorPlan {
	padding: 1.25rem 0;
}

.mg-single-property-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mg-single-property-gallery__item-inner.mg-single-property-gallery__item-inner--epc img,
.mg-single-property-gallery__item-inner.mg-single-property-gallery__item-inner--floorPlan img {
	bottom: auto;
	width: auto;
	object-fit: contain;
	margin: 0 auto;
}

/* thumbnail gallery */
.mg-single-property-thumbnails {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.5s ease-in-out .4s;
	margin: 0 auto 0;
	padding: 0 0;
	max-width: 1356px;
	position: relative;
	z-index: 4;
	transform: translateY(-1.25rem);
}


@media all and (min-width: 1024px) {
	.mg-single-property-thumbnails {
		padding-right: 2.375rem;
		padding-left: 2.375rem;
	}
}
.mg-single-property-thumbnails.show-thumbnails {
	grid-template-rows: 1fr;
	transition: grid-template-rows 0.5s ease-in-out;
}

.mg-single-property-thumbnails__container {
	overflow: hidden;
}

.mg-single-property-thumbnails__slider {
	position: relative;
	opacity: 0;
	transition: opacity .4s ease 0s;
}

.mg-single-property-thumbnails.show-thumbnails .mg-single-property-thumbnails__slider {
	opacity: 1;
	transition: opacity .4s ease .5s;
}

/* the slides */
.mg-single-property-thumbnails .slick-slide {
	margin: .5rem;
	cursor: pointer;
	border: 2px solid white;
	transform: translateY(1.25rem);
	transition: all .2s ease;
}

.mg-single-property-thumbnails .slick-slide.slick-current {
	transform: translateY(0);
}

/* the parent */
.mg-single-property-thumbnails .slick-list {
	margin: 0 -.5rem;
}

.mg-single-property-thumbnails__slider .mg-single-property-thumbnails__item {
	max-width: 213px;
	max-height: 141px;
	border: 2px solid white;
	cursor: pointer;
}

.mg-single-property-thumbnails__slider .mg-single-property-thumbnails__item-inner img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

@media all and (min-width: 1280px) {
	.mg-single-property-thumbnails__slider .mg-single-property-thumbnails__item {
		max-width: 251px;
		max-height: 167px;
	}
}


.mg-single-property-media-controls {
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 2.375rem;
	max-width: 1356px;
	margin: 0 auto;
}

.mg-single-property-media-controls a.gallery-strip__icon {
	display: inline-block;
	text-decoration: none;
	color: black;
	font-weight: 500;
}
.mg-single-property-media-controls a.gallery-strip__icon span { display: none; font-weight: 500; }
.mg-single-property-media-controls a.gallery-strip__icon svg { display: block; }

.mg-single-property-media-controls .mg-single-property__heart {
	display: none;
}

.mg-single-property-media-controls .mg-block-property-card__favourite {
	bottom: 0;
	position: relative;
	top: 0;
	left: 0;
	right: 0;
}

.mg-single-property__information {
	margin: 2rem auto 0;
	max-width: 1280px;
}

.mg-single-property__title {
	font-size: 1.875rem;
	margin-bottom: .25rem;
}

.mg-single-property__address {
	font-size: 0.875rem;
	line-height: 1.2857142857142858em;
}

.mg-single-property-price {
	margin: 3rem 0;
}
.mg-single-property-price__text { color: #555555; font-weight: 600; font-size: 0.875rem; }
.mg-single-property-price__num {
	color: black;
	margin-top: .875rem;
	font-size: 1.875rem;
	font-weight: 500;
	font-family: var(--fonts-heading);
}

.mg-single-property-price__num a.lettings-fees {
	font-family: var(--fonts-default);
	font-size: 0.8rem;
	display: table;
	line-height: 1.5em;
	margin: 1em 0 0;
}

@media (min-width: 768px) {
	.mg-single-property-price__num a.lettings-fees {
		display: inline-block;
		margin: 0 0 0 1em;
	}
}

.mg-single-property__rooms-icons {
	display: flex;
	gap: 1.25rem;
	margin: 2.5rem 0;
}

.mg-single-property__room-icon {
	display: flex;
	font-size: 1rem;
	font-weight: bold;
	gap: .5rem;
	align-items: center;
}

.mg-single-property__highlights {
	background: var(--colors-off-gray);
	padding: 3rem 0;
	position: relative;
	margin: 0 0 4rem;
}

.mg-single-property__highlights::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 50%;
	right: 0;
	bottom: 0;
	background: inherit;
	width: 100dvw;
	transform: translate3d(-50%,0,0);
}

.mg-single-property__highlights__inner {
	position: relative;
	z-index: 3;
}

.mg-single-property__highlights ul {
	margin: 0;
	padding-left: 0;
	list-style-type: none;
}

.mg-single-property__highlights ul li {
	display: flex;
	align-items: start;
	gap: .25rem;
	margin-bottom: .5rem;
}

.mg-single-property__highlights ul li::before {
	background: #555555;
	width: 4px;
	height: 4px;
	display: inline-block;
	content: "";
	border-radius: 999px;
	transform: translateY(7px);
}

.mg-single-property__highlights__readmore {
	color: inherit;
	font-weight: 600;
	display: block;
	margin-top: .25rem;
}

.mg-single-property__highlights__links {
	display: flex;
	gap: 1rem;
	align-items: end;
	margin-top: 3rem;
}

.mg-single-property__highlights__links h4 {
	flex-shrink: 0;
	margin: 0;
}
.mg-single-property__highlights__linksline {
	flex-grow: 1;
	width: 100%;
	background: #D5D5D5;
	height: 2px;
	margin-bottom: 8px;
	position: relative;
}

.mg-single-property__highlights__linksline::after {
	content: "";
	display: block;
	width: 4px;
	height: 4px;
	border-radius: 9999px;
	background: #d5d5d5;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate3d(0,-50%,0);
}

.mg-single-property__linksRow {
	display: flex;
	flex-wrap: wrap;
	margin: 1rem 0;
	gap: 2rem;
	align-items: center;
}

a.mg-single-property__linksLink {
	display: flex;
	font-size: .875rem;
	font-weight: 400 !important;
	line-height: 24px;
	gap: .675rem;
	height: 24px;
}

a.mg-single-property__linksLink.mg-single-property__asFeatured {
	height: auto;
	border: 1px solid #D5D5D5;
	border-radius: 4px;
	margin-left: auto;
	gap: .25rem;
	padding: .5rem 1.25rem;
	flex-basis: 100%;
	text-align: center;
}

@media all and (min-width: 768px) {
	a.mg-single-property__linksRow {
		flex-wrap: nowrap;
	}
	a.mg-single-property__linksLink.mg-single-property__asFeatured {
		flex-basis: auto;
		text-align: left;
	}
}


a.mg-single-property__linksLink svg {
	height: 22px;
	width: auto;
	object-fit: contain;
}


.mg-single-property__information-right {
	margin-top: 3rem;
}
.mg-single-property__office-info tr {
	height: 26px;
}

.mg-single-property__office-info td {
	vertical-align: middle;
	line-height: 1;
	height: 26px;
	padding-bottom: .75rem;
}

.mg-single-property__office-info td img {
	display: inline;
}

.mg-single-property__office-info td:last-of-type {
	padding-left: .25rem;
	font-weight: 600;
}

.mg-single-property__roomsContainer {
	margin: 1rem 0 0;
}
.mg-single-property__rooms {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.5s ease-in-out;
}
.mg-single-property__rooms.rooms-open {
	grid-template-rows: 1fr;
}

.mg-single-property__roomsInner { overflow: hidden; }

.mg-single-property__readMore {}

.mg-single-property__bottom-line {
	position: relative;
	padding: 1.625rem 0;
}

.mg-single-property__viewing.mg-single-property__bottom-line {
	padding: 0 0 3.75rem;
}

.mg-single-property__bottom-line::before {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: #d5d5d5;
}
.mg-single-property__bottom-line::after {
	content: "";
	display: block;
	position: absolute;
	right: 0;
	bottom: -1px;
	height: 4px;
	width: 4px;
	border-radius: 9999px;
	background: #d5d5d5;
}

.mg-single-property__share {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.mg-single-property__shareLinks { display: flex; gap: 1rem; }

.mg-single-property__share span {
	font-size: 1.125rem;
	font-weight: 600;
}


.mg-single-property__calculator {
	margin: 3.375rem 0 0;
}

.mg-single-property__calculator h4 {
	margin-bottom: .5rem;
}

.mg-single-property__calculator a {
	font-weight: normal !important;
	cursor: pointer;
	display: inline-block;
}
.mg-single-property__calculator a svg {
	margin-left: .325rem;
	transform: translateY(3px);
}

@media all and (min-width: 1024px) {

	.mg-single-property-media-controls .mg-block-property-card__favourite {
		margin-left: auto;
	}

	.mg-single-property-gallery__item img {
		object-fit: cover;
	}

	.mg-single-property-media-controls {
		justify-content: start;
		gap: 1.25rem;
	}
	.mg-single-property-media-controls a.gallery-strip__icon span { display: block; }
	.mg-single-property-media-controls a.gallery-strip__icon svg { display: none; }
	.mg-single-property-media-controls .mg-single-property__heart {
		display: block;
		margin-left: auto;
	}

	.mg-single-property__information {
		display: flex;
		margin-top: 4.625rem;
	}

	.mg-single-property__highlights {
		padding: 3.125rem 3.625rem;
	}
	.mg-single-property__highlights::before {
		display: none;
	}

	.mg-single-property__information-left {
		padding-right: 3rem;
		flex: 0 0 65%;
	}
	.mg-single-property__information-right {
		margin-top: 0;
		padding-left: 3rem;
		flex: 1 1 35%;
		max-width: 476px;
		position: relative;

	}

	.mg-single-property__information-right::before {
		content: "";
		display: block;
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0;
		height: 100%;
		width: 2px;
		background: #d5d5d5;
	}
	.mg-single-property__information-right::after {
		content: "";
		display: block;
		position: absolute;
		left: -1px;
		bottom: 0;
		height: 4px;
		width: 4px;
		border-radius: 9999px;
		background: #d5d5d5;
	}

	.mg-single-property__highlights__readmore { display: none; }

	.mg-single-property__title {
		font-size: 3.125rem;
		margin-bottom: .25rem;
	}

	.mg-single-property-price__num {
		font-size: 2.5rem;
	}

	.mg-single-property__address {
		font-size: 1.875rem;
	}

	.mg-single-property__room-icon {
		font-size: 1.25rem;
	}

	.mg-single-property__rooms-icons {
		gap: 2rem;
	}
	.mg-single-property__room-icon i {
		font-size: 1.865rem;
	}


}





/* New Search and Filters */
.mg-search-container {
	background: var(--colors-brand-blue);
	position: relative;
	margin: 0 auto;
	max-width: var(--container-main);
	padding-left: 1.1875rem;
	padding-right: 1.1875rem;
	z-index: 4;
}

.mg-search-container::before {
	content: "";
	display: block;
	position: absolute;
	background: inherit;
	width: 100vw;
	top: 0;
	left: 50%;
	right: 0;
	bottom: 0;
	height: 100%;
	transform: translate3d(-50%,0,0);
}

.mg-search-container form {
	position: relative;
	padding: 2rem 0;
	z-index: 3;
}

.mg-search-container--mobile {

}
.mg-search-container--desktop {
	display: none;
	visibility: hidden;
}

.mg-search-container input[type="text"] {
	background: #ffffff;
}

.mg-mobile-search-info {
	grid-area: filters;
	display: grid;
	grid-auto-columns: 1fr;
	grid-template-columns: 1.4fr .6fr;
	gap: 0px 0px;
	grid-template-areas:
    "view-all count"
    "filters filters";
	padding: 0 0;
}

.mg-mobile-search-info__view-all {
	grid-area: view-all;
	color: white;
	margin: 1rem 0;
}

.mg-mobile-search-info__view-all a {
	color: white;
	text-decoration: none;
}

.mg-mobile-search-info__property-count {
	color: white;
	grid-area: count;
	margin: 1rem 0;
	text-align: right;
}

.mg-mobile-search-info__filters-panel {
	grid-area: filters;
	border-top: 1px solid white;
	padding-top: 1rem;
	display: flex;
	justify-content: start;
	align-items: center;
	gap: .75rem;
	position: relative;
}

.mg-mobile-search-info__filters-panel::before {
	content: "";
	display: block;
	position: absolute;
	top: -2px;
	right: 0;
	border-radius: 999px;
	height: 4px;
	width: 4px;
	background-color: white;
	z-index: 2;
}

.mg-mobile-search-info__filters-panel a {
	color: white !important;
	display: block;
	height: 100%;
	text-decoration: none;
}

.mg-mobile-search-info__filters-panel--extra a {
	height: 75%;
}

.mg-mobile-search-info__actions {
	display: flex;
	align-items: center;
	margin-left: auto;
	gap: 1rem;
}

.mg-mobile-search-info__filters-panel.mg-mobile-search-info__filters-panel--extra {
	gap: 0 .75rem;
	align-items: flex-start;
	flex-wrap: wrap;
}
.mg-mobile-search-info__filters-panel .extra-fields {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-basis: 100%;
	margin-bottom: 1rem;
}

.mg-mobile-search-info__icons span {
	display: none;
}



.mg-block-search-filters__mobile-filters__show-filters { font-weight: 600; }

@media all and (min-width: 1024px) {
	.mg-search-container--mobile { display: none; visibility: hidden; }
	.mg-search-container--desktop { display: block; visibility: visible; }
}

/* Mobile drawer */
.mg-mobile-search-drawer {
	background: var(--colors-brand-blue);
	position: absolute;
	top: 0;
	left: 50%;
	right: 0;
	bottom: 0;
	height: calc(100dvh - 73px);
	width: 100dvw;
	z-index: 4;
	transform: translate3d(-200dvw,0,0);
	transition: all .25s linear;
}

body.filtersOpen .mg-mobile-search-drawer {
	transform: translate3d(-50%,0,0);
}

.mg-mobile-search-drawer__inner {
	padding: 1rem 1.25rem;
}

.mg-mobile-search-drawer__hide {
	color: white !important;
	font-weight: 600;
	text-decoration: none;
	position: relative;
	z-index: 5;
}


.mg-mobile-search-drawer__inner {
	position: relative;
	background: var(--colors-brand-blue);
	z-index: 3;
	width: 100%;
	min-height: 100px;
	opacity: 0;
	transition: opacity .2s ease 0s;
}

.mg-mobile-search-drawer__inner::before {
	content: "";
	display: block;
	background: var(--colors-brand-blue);
	position: absolute;
	top: 0;
	left: 50%;
	right: 0;
	transform: translate3d(-50%,0,0);
	height: 100%;
	width: 100dvw;
	z-index: 4;
}

body.filtersOpen .mg-mobile-search-drawer__inner {
	opacity: 1;
	transition: opacity .2s ease .35s;
}

.mg-mobile-search-drawer__filters {
	margin: 1rem 0;
	position: relative;
	z-index: 5;
}

.mg-mobile-search-drawer__filter {
	position: relative;
	border-top: 1px solid white;
	padding: 1rem 0;
}

.mg-mobile-search-drawer__buttons {
	border-top: 1px solid white;
	padding-top: 1rem;
	position: relative;
	display: flex;
	gap: 1.25rem;
	justify-content: space-between;
}

.mg-mobile-search-drawer__filter::before {
	content: "";
	display: block;
	position: absolute;
	top: -2.25px;
	right: 0;
	border-radius: 999px;
	height: 4px;
	width: 4px;
	background-color: white;
	z-index: 2;
}

.mg-mobile-search-drawer__buttons::after {
	content: "";
	display: block;
	position: absolute;
	top: -2px;
	right: 0;
	border-radius: 999px;
	height: 4px;
	width: 4px;
	background-color: white;
	z-index: 2;
}


.mg-mobile-search-drawer__buttons .wp-block-button { flex: 1; }
.mg-mobile-search-drawer__buttons .wp-block-button .wp-block-button__link {
	min-width: 140px;
}

.mg-mobile-search-drawer__filter-title {
	color: white;
	display: block;
	position: relative;
	width: 100%;
	cursor: pointer;
}

.filter--open .mg-mobile-search-drawer__filter-title {
	font-weight: 600;
}

.mg-mobile-search-drawer__filter-title::after {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	right: 0;
	z-index: 2;
	height: 12px;
	width: 8px;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="7.347" height="13.693" viewBox="0 0 7.347 13.693"><path id="Icon_akar-chevron-down-small" data-name="Icon akar-chevron-down-small" d="M0,0,6.14,6.14,12.279,0" transform="translate(0.707 12.986) rotate(-90)" fill="none" stroke="%23fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/></svg>') top left no-repeat;
	background-size: contain;
	transform: translate3d(0,-50%,0);
}

.filter--open .mg-mobile-search-drawer__filter-title::after {
	transform: translate3d(0,-50%,0) rotate(90deg);
}

.mg-mobile-search-drawer__filter-box {
	display: grid; /* 1 */
	grid-template-rows: 0fr; /* 2 */
	transition: grid-template-rows 0.5s ease-in-out; /* 3 */
}

.filter--open .mg-mobile-search-drawer__filter-box {
	grid-template-rows: 1fr;
}

.mg-mobile-search-drawer__filter-box-inner {
	overflow: hidden; /* 4 */
}

.search-filter-halves {
	margin: 1rem 0 .25rem;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 1rem;
}

.search-filter-half {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.search-filter-half label {
	color: white;
	display: block;
	margin-bottom: .25rem;
}

.search-filter-half select {
	font-family: var(--fonts-default), serif;
}

.mg-mobile-search-drawer__checkboxes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .35rem 1rem;
	margin: 1rem 0 .25rem;
}

.mg-mobile-search-drawer__checkbox {}
.mg-mobile-search-drawer__checkbox label {
	color: white;
}
.mg-mobile-search-drawer__checkbox input[type="checkbox"] {

}

.mg-mobile-search-drawer__buttons {
	display: flex;
	gap: 1rem;
}

/* Desktop Filters */

.mg-desktop-search-info {
	padding: .875rem 0 0;
}
.mg-desktop-search-info__view-all {
	position: absolute;
	top: 2rem;
	right: 0;
	color: white;
}

.mg-desktop-search--hero .mg-desktop-search-info__view-all {
	top: .65rem;
}

.mg-desktop-search-info__view-all a { color: white; text-decoration: none; }

.mg-desktop-search-info,
.mg-desktop-search-info__panel,
.mg-desktop-search-info__actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.25rem;
}

.mg-desktop-search-info__show {
	 font-weight: 600;
}

.mg-desktop-search-info__panel,
.mg-desktop-search-info__panel a,
.mg-desktop-search-info__actions,
.mg-desktop-search-info__actions a {
	color: white;
	text-decoration: none;
}


.mg-desktop-search-info__property-count,
.mg-desktop-search-info__viewChange {
	display: flex;
	align-items: center;
}


/**/

/*.mg-block-search-filters__sort .select2-container--default .select2-selection--single {
	background-color: transparent;
	border-color: white;
}

.mg-block-search-filters__sort  .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: white;
}

.mg-block-search-filters__sort .select2-container .select2-selection--single .select2-selection__rendered {
	padding-left: 10px;
	padding-right: 20px;
}

.mg-block-search-filters__sort .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 28px !important;
}

.mg-block-search-filters__sort .select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: white transparent transparent transparent
}*/

.mg-block-search-filters__sort {
	position: relative;
}

/**/

.mg-block-search-filters__sort label {
	cursor: pointer;
}

.mg-block-search-filters__sort select {
	display: none;
}

/* Desktop search drawer */

.mg-desktop-search-drawer-container {
	display: none;
}

@media all and (min-width: 1024px) {

	.custom-styled-select label {
		border: 1px solid white;
		border-radius: 4px;
		padding: .25rem .5rem .25rem .75rem;
		position: relative;
	}

	.custom-styled-select label span {
		display: inline-block;
		padding-right: .5rem;
	}

	/* Desktop search drawer */
	.mg-desktop-search-drawer-container { display: block; position: relative; }

	.mg-desktop-search-container__main {
		display: grid;
		grid-template-rows: 0fr;
		transition: grid-template-rows 0.25s ease-in-out .4s;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		z-index: 3;

		/*grid-template-rows: 1fr;*//* for dev */
	}

	body.filtersOpen .mg-desktop-search-container__main {
		grid-template-rows: 1fr;
		transition: grid-template-rows 0.25s ease-in-out 0s;
	}


	.mg-desktop-search-drawer-container__inner {
		overflow: hidden;
		/*border-bottom-left-radius: 4px;
		border-bottom-right-radius: 4px;*/
	}

	.mg-desktop-search-drawer {
		background: #F5F5F5;
		padding: 1rem 0 0;
	}

	.mg-desktop-search-drawer > * {
		opacity: 0;
		transition: all .25s ease 0s;

		/*opacity: 1;*/ /* for dev */
	}

	body.filtersOpen .mg-desktop-search-drawer > * {
		opacity: 1;
		transition: all .25s ease .25s;
	}

	.mg-desktop-search-drawer__hide {
		color: black;
		font-size: .875rem;
		font-weight: 500;
		text-decoration: none;
		display: inline-block;
		margin-left: 1.25rem;
	}

	.mg-desktop-search-drawer__filters {
		display: flex;
		flex-direction: column;
		margin-top: 1rem;
	}

	.mg-desktop-search-drawer__actions {
		min-width: 260px;
		display: flex;
		gap: 1rem;
		visibility: hidden;
		pointer-events: none;
		margin-left: auto;
	}

	body.filtersOpen .mg-desktop-search-drawer__actions {
		pointer-events: all;
		visibility: visible;
		justify-content: end;
	}

	.mg-desktop-search-drawer__row {
		display: flex;
		padding: .75rem 1.25rem .75rem;
		align-items: center;
		min-height: 70px;
	}

	.mg-desktop-search-drawer__row:nth-child(odd) {
		background: #F0F0F0;
	}

	.mg-desktop-search-drawer__row-label {
		color: var(--colors-brand-green);
		display: block;
		font-family: var(--fonts-heading);
		font-weight: 500;
		font-size: 1rem;
		line-height: 1rem;
		margin-top: .15rem;
		width: 110px;
	}

	.mg-desktop-search-drawer__group
	{
		position: relative;
		flex: 0 1 auto;
		height: 100%;
		padding: .5rem 1rem;
		display: flex;
		gap: 2rem;
	}

	.mg-desktop-search-drawer__group .price-type-switch > div:not(.price-type-switch--hidden) {
		display: flex;
		flex-direction: row;
		gap: 2rem;
	}

	.mg-desktop-search-drawer__checkboxes {
		display: flex;
		gap: 1.25rem;
	}

	.mg-desktop-search-drawer__checkboxes label {
		cursor: pointer;
	}

	.mg-desktop-search-drawer__group::before {
		content: "";
		display: block;
		position: absolute;
		top: 50%;
		left: 0;
		height: 75%;
		width: 1px;
		transform: translate3d(0,-50%,0);
		background: #AAAAAA;
	}

	.mg-filter-block {
		display: flex;
		flex-direction: column;
	}

	.mg-filter-block label {
		font-size: 0.875rem;
		font-weight: 500;
		color: black;
	}

	.mg-filter-block-multiple {
		min-width: 160px;
	}

	.mg-block-search-filters__sort .select2-results__option {
		color: black;
	}

	/*.select2-results__option--selected {
		background-color: var(--colors-dark-gray) !important;
		color: white !important;
	}
	.select2-results__option--highlighted {
		background-color: var(--colors-brand-green) !important;
		color: white !important;
	}

	.mg-filter-block .select2-container--default .select2-selection--single {
		background-color: transparent;
		border: 0;
		border-radius: 0;
		height: 20px !important;
	}

	.mg-filter-block  .select2-container--default .select2-selection--single .select2-selection__rendered {
		color: var(--colors-brand-darkgreen);
		line-height: 20px !important;
	}

	.mg-filter-block .select2-container .select2-selection--single .select2-selection__rendered {
		padding-left: 0;
		padding-right: 20px;
	}

	.select2-container--default .select2-selection--single .select2-selection__arrow {
		height: 18px !important;
	}

	.select2-dropdown {
		background-color: #f5f5f5 !important;
		border: 0 !important;
		min-width: 150px !important;
	}

	.select2-results__option {
		font-size: 0.875rem !important;
	}*/

	/* Custom dropdown for desktop filters */
	/*.mg-filter-select {
		display: flex;
		flex-direction: column;
		position: relative;
	}

	.mg-filter-select label {
		cursor: pointer;
		position: relative;
		font-size: .875rem;
		line-height: 1.4285714285714286rem;
	}

	.mg-filter-select i {
		font-size: 0.75rem;
	}

	.mg-filter-select__custom {
		position: absolute;
		top: 100%;
		left: 50%;
		transform: translate3d(-50%,0,0);
		right: 0;
		display: grid;
		grid-template-rows: 0fr;
		transition: grid-template-rows 0.25s ease-in-out .4s;
		z-index: 5;
		width: 20ch;
		overflow-y: scroll;
	}

	.mg-filter-select__custom.mg-filter-select__custom--open {
		grid-template-rows: 1fr;
	}

	.mg-filter-select__custom-inner {
		overflow: hidden;
	}

	.mg-filter-select__options {
		background: #F5F5F5;
		display: flex;
		flex-direction: column;
		width: 240px;
		padding: 0;
		cursor: pointer;
	}

	.mg-filter-select__option {
		cursor: pointer;
		padding: .25rem 1rem;
	}

	.mg-filter-select__option:hover {
		background: var(--colors-light-gray);
	}*/

}

/* Modal */


.modal__overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999999;
	max-width: 100vw;
}

.modal__container {
	background-color: var(--colors-brand-blue);
	padding: 1.25rem;
	max-height: 100vh;
	max-width: 100vw;
	border-radius: 4px;
	overflow-y: auto;
	box-sizing: border-box;
	position: relative;
}

.micromodal-locrating .modal__container {
	background-color: white;
	padding: 0;
	height: 100dvh;
	width: 100dvw;
}

.modal__btn {
	position: absolute;
	top: 0;
	right: 0;
	width: 2.5rem;
	height: 2.5rem;
	background: var(--colors-brand-gold);
	border: 0;
	transition: background-color .25s ease;
	cursor: pointer;
}

.modal__btn:hover {
	background: var(--colors-brand-blue);
}

.modal__btn:focus,
.modal__btn:focus-visible {
	border: 0;
	outline: 0;
}

.modal__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal__close {
	background: transparent;
	border: 0;
}

.modal__content {
	color: white;
	margin-top: 2rem;
}

.micromodal-locrating .modal__content {
	height: 100%;
	margin-top: 0;
}

.modal__content iframe {
	width: 100%;
	height: 100%;
}

.micromodal-slide {
	display: none;
}

.micromodal-slide.is-open {
	display: block;
}

@media all and (min-width: 768px) {
	.modal__container {
		padding-right: 2.375rem;
		padding-left: 2.375rem;
	}
	.micromodal-locrating .modal__container {
		padding-right: 0;
		padding-left: 0;
	}
}

@media all and (min-width: 1024px) {
	.modal__container {
		max-width: 1062px;
	}
	.micromodal-locrating .modal__container {
		max-width: none;
	}

}

/* Mortgage Calculator */

.mg-mortgage-calculator {}
.mg-mortgage-calculator__content { margin-bottom: 1.5625rem; padding-bottom: 1.5625rem; border-bottom: 1px solid white; }
.mg-mortgage-calculator__content .wp-block-buttons { display: flex; flex-direction: column; gap: 1.125rem; }
.mg-mortgage-calculator__heading { color: inherit; }

.mg-mortgage-calculator form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	max-width: 550px;
}

.mg-mortgage-calculator .form-field {
	width: 100%;
}

.mg-mortgage-calculator .form-field label.label-hide {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.mg-mortgage-calculator .form-field input:not([type="checkbox"]) {
	border: 1px solid #D5D5D5;
	border-radius: 3px;
	font-size: .875rem;
	width: 100%;
	padding: 0.6428571428571429em 1.2857142857142858em;
}

.mg-mortgage-calculator .form-field input.error {
	border: 1px solid #ff0000;
}

.mg-mortgage-calculator .form-field input:focus,
.mg-mortgage-calculator .form-field input:focus-within {
	outline: 0;
	border-color: var(--colors-brand-gold);
}

.mg-mortgage-calculator .form-field-checkboxes {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.mg-mortgage-calculator label.form-checkbox {
	display: flex;
	gap: .5rem;
}

.mg-mortgage-calculator label.form-checkbox input {
	border-radius: 3px;
	border: 1px solid #D5D5D5;
	width: 17px;
	height: 17px;
}

.mg-mortgage-calculator-results {
	padding: 1.5625rem 0;
}

.mg-mortgage-calculator-results__figures {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto;
	gap: 1rem;
}

.mg-mortgage-calculator-results__figure {
}

.mg-mortgage-calculator-results__figure span {
	display: block;
	font-weight: 600;
}

.stamp-duty-table th,
.stamp-duty-table td {
	color: white !important;
}

.mg-mortgage-calculator-results__stampduty {
	margin: 1.5625rem 0;
	width:100%;
	border-collapse: collapse;
	border-spacing: 0;
}

.stamp-duty-table td, .stamp-duty-table th {
	padding: 5px 5px 5px 5px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	text-align:center;
}

.stamp-duty-table th {
	padding-top: 0;
}

.stamp-duty-table .col0 {
	text-align: left;
}


@media only screen and (min-width: 767px) {
	.show_mobile {
		display:none !important;
	}
}

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

.stamp-duty-table td {
	font-size: .875rem;
}

.stamp-duty-table .col0 {
	width: 35%;
}

.stamp-duty-table .col1 {
	width: 10%;
}

.stamp-duty-table .col2 {
	width: 30%
}

.mg-mortgage-calculator__disclaimer {
	margin-top: 1.25rem;
	font-size: .75rem;
}


@media only screen and (min-width: 767px) {
	.show_mobile {
		display:none !important;
	}
}

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

/* Responsive calcualtor styles */
@media all and (min-width: 768px) {

	.mg-mortgage-calculator form {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
		gap: 1.25rem;
		max-width: none;
	}

	.mg-mortgage-calculator-results  {
		display: flex;
		align-items: start;
		position: relative;
		border-top: 1px solid white;
		padding-top: 1.875rem;
		margin-top: 1.25rem;
	}

	.mg-mortgage-calculator-results::after {
		content: "";
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		width: 4px;
		height: 4px;
		background: white;
		border-radius: 9999px;
		overflow: hidden;
		transform: translateY(-2px);
	}

	.mg-mortgage-calculator-results__figures {
		display: flex;
		flex-direction: column;
		min-width: 11rem;
		margin-right: 3.375rem;
		padding-right: 3.375rem;
		border-right: 1px solid white;
		position: relative;
	}


	.mg-mortgage-calculator-results__figures::after {
		content: "";
		display: block;
		position: absolute;
		bottom: 0;
		right: 0;
		width: 4px;
		height: 4px;
		background: white;
		border-radius: 9999px;
		overflow: hidden;
		transform: translateX(3px);
	}

	.mg-mortgage-calculator-results__stampduty {
		margin: 0;
	}

}

@media all and (min-width: 768px) {

}

@media all and (min-width: 1024px) {

	.mg-mortgage-calculator .form-field-checkboxes {
		flex-direction: row;
		align-items: center;
		justify-content: start;
		gap: 1rem;
	}

	.mg-mortgage-calculator .form-field-checkboxes label {

	}

}

@media all and (min-width: 1280px) {

	.modal__container {
		padding: 3rem 4.125rem;
	}

	.mg-mortgage-calculator {
		display: flex;
		gap: 5rem;
	}

	.mg-mortgage-calculator__content {
		max-width: 220px;
		border-bottom: 0;
	}

	.mg-mortgage-calculator__calc {
		flex: 1 0 auto;
	}

	.mg-mortgage-calculator form {
		gap: 1.25rem 2.625rem;
		grid-template-columns: 1fr 1fr 0.5fr 1.5fr;
		grid-template-rows: 1fr 1fr 1fr;
		grid-template-areas:
    "field-1 field-1 field-2 field-2"
    "field-3 field-3 field-4 field-4"
    "field-5 field-5 field-5 field-6";
	}

	.mg-mortgage-calculator form .field-1 { grid-area: field-1; }
	.mg-mortgage-calculator form .field-2 { grid-area: field-2; }
	.mg-mortgage-calculator form .field-3 { grid-area: field-3; }
	.mg-mortgage-calculator form .field-4 { grid-area: field-4; }
	.mg-mortgage-calculator form .field-5 { grid-area: field-5; }
	.mg-mortgage-calculator form .field-6 { grid-area: field-6; }

	.form-field-submit {  }

}

.mg-single-property-recommended {
	background: var(--colors-off-gray);
	margin: 3.75rem auto;
	padding: 3.75rem 0;
}

@media all and (min-width: 1024px) {
	.mg-single-property-recommended {
		margin: 8.75rem auto;
		padding: 8.75rem 0;
	}
}


/* Office Page */

.mg-office-template .wp-block-group.is-style-narrow-width > * {
	max-width: 626px;
}

.mg-office-map {
	background: var(--colors-brand-blue);
	margin: 3.75rem auto;
	max-width: 1280px;
	padding: 0;
}

.mg-office-map__content {
	color: white;
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
	justify-content: space-between;
	gap: 2.25rem;
	padding: 2.5rem 1.1875rem;
}

.mg-office-map__content h3 { margin: 0; }

.mg-office-map__form {
	max-width: 380px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 0.9375rem;
	width: 100%;
}

.mg-office-map__form select,
.mg-office-map__form input {
	width: 100%;
	text-align: left;
}

.mg-office-map__form h2,
.mg-office-map__form h3,
.mg-office-map__form h4 {
	color: white;
}

.mg-office-map__form p:last-of-type {
	margin-top: 1rem;
}

.mg-office-map__form .wp-block-button {
	max-width: 179px;
	margin: 0 auto;
}


.mg-office-map__map {
	position: relative;
}

.mg-office-map__map::before {
	padding-top: 100%;
	width: 100%;
	content: "";
	display: block;
}

.mg-office-map__map #mgOfficeMap {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	z-index: 3;
}

@media all and (min-width: 768px) {

	.mg-office-map { display: flex; justify-content: space-between; min-height: 600px; }
	.mg-office-map__content {
		flex-shrink: 1;
		flex-grow: 1;
		align-items: start;
		text-align: left;
		padding: 3rem;
	}

	.mg-office-map__content h3 {
		padding-right: 20%;
	}

	.mg-office-map__map {
		flex: 1 0 50%;
		max-width: 844px;
	}

	.mg-office-map__map::before {
		padding-top: 70.92198581560282%
	}

	.mg-office-map__form { width: 100%;
		max-width: none;
		margin: 0 auto;
	}


	.mg-office-map__form .wp-block-button {
		margin-left: 0;
	}


	.mg-office-map__form input[type="text"] {
		width: 100%;
	}

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

	.mg-office-map__content h3 {
		padding-right: 40%;
	}
}
@media all and (min-width: 1280px) {

	.mg-office-map__content h3 {
		padding-right: 45%;
	}
}

.mg-office-template-container {
	max-width: 1100px;
	margin: 5rem auto;
	padding: 0 1.1875rem;
}

.mg-office-template-container h2 {
	text-align: center;
}

.mg-office-accordion {
	margin-top: 2rem;
}

.mg-office-accordion__office {
	position: relative;
}

.mg-office-accordion__title {
	color: #000000;
	display: block;
	font-size: 1.125rem;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
	padding: 1.5rem 0;
	position: relative;
}

.mg-office-accordion__title::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: #D5D5D5;
	height: 2px;
	width: 100%;
}

.mg-office-accordion__title::after {
	content: "";
	display: block;
	position: absolute;
	top: -1px;
	right: 0;
	border-radius: 9999px;
	height: 4px;
	width: 4px;
	background: #d5d5d5;
}


.mg-office-accordion__title i {
	position: absolute;
	top: 50%;
	right: 2px;
	width: 11px;
	height: 22px;
	transform: translateY(-50%);
	transition: all .25s ease;
}

.mg-office-accordion__title.accordion--open i {
	transform: translateY(-50%) rotate(90deg);
}

.mg-office-accordion__content-container {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.5s ease-in-out;
}

.mg-office-accordion__title.accordion--open + .mg-office-accordion__content-container {
	grid-template-rows: 1fr;
}

.mg-office-accordion__content-inner {
	overflow: hidden;
}

.mg-office-accordion__content {
	display: flex;
	flex-direction: column;
	gap: 1.5625rem;
	padding-bottom: 3.75rem;
}

.mg-office-accordion__content h4 {
	margin-bottom: 0;
}

/* Office inside */
.mg-office-accordion__image {
	position: relative;
	width: 100%;
}

.mg-office-accordion__image::before {
	display: block;
	content: "";
	padding-top: 56.980056980056986%;
}

.mg-office-accordion__image img {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	object-fit: cover;
}

.mg-office-accordion__details {
	display: flex;
	flex-direction: column;
	gap: 1.1875rem;
	padding-bottom: 1.5625rem;
}

.mg-office-accordion__detail {
	display: flex;
	align-items: center;
	gap: 1.3125rem;
}

.mg-office-accordion__detail-icon {
	display: flex;
	align-items: center;
	width: 25px;
}
.mg-office-accordion__detail-icon svg {}
.mg-office-accordion__detail a {
	color: var(--colors-dark-gray);
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 600;
}

.mg-office-accordion__description {
	margin-bottom: 0;
}

.mg-office-accordion__buttons {
	display: flex;
	flex-direction: column;
	gap: 0.9375rem;
}

.mg-office-accordion__team {
	margin-top: 2.1875rem;

}

.mg-office-accordion__team-title {
	color: #000000;
	display: block;
	font-size: 1.125rem;
	font-weight: 600;
	text-align: center;
}


.mg-office-accordion__team-slider-container {
	margin-top: 1.625rem;
	position: relative;
}

.mg-office-accordion__team-slider__arrows {
	position: absolute;
	top: 106px;
	width: 14px;
	height: 28px;
	z-index: 4;
}

.mg-office-accordion__team-slider__arrows--prev {
	left: 50%;
	transform: translate3d(-160px,0,0);
}
.mg-office-accordion__team-slider__arrows--next {
	right: 50%;
	transform: translate3d(158px,0,0);
}

@media all and (min-width: 768px) {
	.mg-office-accordion__team-slider__arrows--prev {
		left: 0;
		transform: translate3d(0,0,0);
	}
	.mg-office-accordion__team-slider__arrows--next {
		right: 0;
		transform: translate3d(0,0,0);
	}

	.mg-office-accordion__team-slider-slide {
		width: 239px;
	}

	.mg-office-accordion__team-slider {
		padding-left: 5rem;
		padding-right: 5rem;
	}
}



@media all and (min-width: 1024px) {
	.mg-office-accordion__team-title {
		text-align: left;
	}

	.mg-office-accordion__team-slider-container {
		padding-bottom: 2.1875rem;
	}

}

@media all and (min-width: 1062px) {

	.mg-office-accordion__team-slider {
		padding-left: 0;
		padding-right: 0;
		display: grid;
		grid-template-columns: repeat(4,1fr);
		gap: 35px;
		justify-content: space-between;
	}

	.mg-office-accordion__team-slider__arrows {
		display: none;
	}

	.mg-office-accordion__team-slider-container {
		padding-bottom: 0;
	}

}



.mg-office-accordion__team-slider .slick-dots {
	list-style-type: none;
	margin: 1.25rem auto 0;
	padding: 0;
	display: flex;
	flex-wrap: Wrap;
	justify-content: center;
	gap: 1rem;
	z-index: 3;
}
.mg-office-accordion__team-slider .slick-dots li {
	overflow: hidden;
	border: 1px solid var(--colors-medium-gray);
	background: transparent;
	height: 9px;
	width: 9px;
	font-size: 12px;
	cursor: pointer;
}

.mg-office-accordion__team-slider .slick-dots li button {
	visibility: hidden;
	display: none;
}

.mg-office-accordion__team-slider .slick-dots li.slick-active {
	background: var(--colors-medium-gray);
}

.mg-office-accordion__team-slider-container .slick-slide {
	margin: 0 1rem;
}
/* the parent */
.mg-office-accordion__team-slider-container .slick-list {
	margin: 0 -1rem;
}

.mg-office-accordion__team-slider {
	overflow: hidden;
}


.mg-office-team-member {
	position: relative;
	height: 239px;
	width: 239px;
	margin: 0 auto;
}

.mg-office-team-member a {
	display: block;
	width: 100%;
	position: relative;
}

.mg-office-team-member__image {
	position: relative;
}

.mg-office-team-member__image::before {
	content: "";
	display: block;
	width: 100%;
	padding-top: 100%;
}

.mg-office-team-member__image::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	display: block;
	background: var(--colors-brand-green);
	opacity: 0;
	transition: opacity .2s ease .2s;
	z-index: 2;
}

.mg-office-team-member:hover .mg-office-team-member__image::after {
	opacity: .48;
	transition: opacity .2s ease;
}

.mg-office-team-member__image img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
	height: 100%;
	width: 100%;
}

.mg-office-team-member__details {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	width: 100%;

	display: flex;
	flex-direction: column;
	justify-content: end;
	align-items: center;
	padding: 0 .25rem 1.1875rem .25rem;
	color: white;
	z-index: 3;
	opacity: 0;
	transition: all .2s ease 0s;
	transform: translateY(1rem);
	text-align: center;
}

.mg-office-team-member:hover .mg-office-team-member__details {
	opacity: 1;
	transform: translateY(0);
	transition: all .2s ease .2s;
}

.mg-office-accordion__team-slider-container .mg-office-accordion__team-slider-slide.memberSelected .mg-office-team-member__image::after {
	opacity: .48;
}
.mg-office-accordion__team-slider-container .mg-office-accordion__team-slider-slide.memberSelected .mg-office-team-member__details {
	opacity: 1;
	transform: translateY(0);
}

@media (pointer: coarse) {
	.mg-office-team-member__image::after {
		opacity: .48;
	}
	.mg-office-team-member__details {
		opacity: 1;
		transform: translateY(0);
	}
}


/* Inner Team Member */

.mg-office-team-member__name {
	font-family: var(--fonts-heading);
	font-size: 1.25rem;
	font-weight: 500;
}

.mg-office-team-member__email-address,
.mg-office-team-member__job-title {
	color: white;
	text-decoration: none;
}

.mg-office-team-member__job-title {
	font-size: 0.875rem;
}

.mg-office-team-member__email-address {
	font-size: 0.75rem;
	display: block;
	margin-top: 1.3125rem;
}

.mg-office-map__form .select2-container--default .select2-selection--single .select2-selection__clear {
	float: none !important;
	display: none;
}

.mg-office-map__form .select2-container { width: 100% !important; }

.mg-office-map__form .select2-container .select2-selection--single {
	height: 38px;
}

.mg-office-map__form .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 38px;
}

.mg-office-map__form .select2-selection__placeholder {
	color: var(--colors-dark-gray) !important;
}

.mg-office-map__form .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0 1.25rem 0;
	text-align: left;
}

.mg-office-map__form .select2-selection__arrow {
	height: 38px !important;
}

@media all and (min-width: 420px) {
	.mg-office-accordion__buttons {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.9375rem;
	}
}

@media all and (min-width: 768px) {

	.mg-office-accordion__content {
		display: grid;
		grid-template-columns: 1fr 0.1fr 2fr;
		gap: 2.0625rem 3.4375rem;
		grid-template-areas:
    "image image details"
    "buttons buttons buttons"
    "team team team";
	}

	.mg-office-accordion__image { grid-area: image;  }
	.mg-office-accordion__details { grid-area: details; padding-bottom: 0; }
	.mg-office-accordion__buttons {
		grid-area: buttons;
	}
	.mg-office-accordion__team { grid-area: team; margin-top: 0; }

}

@media all and (min-width: 820px) {
	.mg-office-accordion__buttons {
		display: flex;
		flex-direction: row;
	}
}

@media all and (min-width: 1062px) {
	.mg-office-accordion__image { grid-area: image; width: 408px; }
	.mg-office-accordion__image::before {
		padding-top: 68.13725%;
	}
}

/* Google Maps Infowindow Styles */
.gm-style-iw-chr { position: relative; }
.gm-ui-hover-effect { position: absolute !important; top: .75rem; right: .75rem; z-index: 25; width: 25px !important; height: 25px !important; padding: 0; margin: 0; }
.gm-style-iw-ch { padding-top: 0 !important; }
.gm-ui-hover-effect span {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13.414' height='13.414'%3E%3Cg data-name='Group 475' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath data-name='Line 132' d='m12.707.707-12 12'/%3E%3Cpath data-name='Line 133' d='m.707.707 12 12'/%3E%3C/g%3E%3C/svg%3E%0A") !important;
	width: 13px !important;
	height: 13px !important;
	margin: 0 !important;
}

.gm-ui-hover-effect { background: black !important; border-radius: 9999px !important;  display: flex !important; align-items: center; justify-content: center; }

.gm-ui-hover-effect > span { background-color: white !important; }

.gm-style-iw-d {
	position: relative;
	z-index: 5;
}

.gm-style-iw.gm-style-iw-c {
	background-color: var(--colors-brand-blue);
	border-radius: 4px;
	padding: 0;
}

.gm-style .gm-style-iw-tc::after {
	background: var(--colors-brand-blue);
}

.mg-map-infowindow {
	color: white;
	width: 249px;
	max-height: 282px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.mg-map-infowindow__image {
	position: relative;
	width: 100%;
}
.mg-map-infowindow__image::before {
	content: "";
	display: block;
	padding-top: 67.40196078431373%;
}
.mg-map-infowindow__image img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mg-map-infowindow__details {
	padding: 0.875rem;
	flex: 1 1 40%;
}

.mg-map-infowindow .mg-map-infowindow_price { font-family: var(--fonts-heading); font-weight: 500; font-size: 1rem; letter-spacing: 1px; }
.mg-map-infowindow h5 { color: white; margin: 0; font-size: .865rem; }
.mg-map-infowindow a {
	color: white;
	text-decoration: none;
	font-size: .75rem;
}


/* MG viewing form */
.mg-single-viewing-form {

}

.mg-viewing-form__dateTimeContainer {
	text-align: center;
	margin: 0 auto;
	max-width: 600px;
}

.mg-viewing-form__dates {
	grid-template-columns: repeat(3,1fr);
	display: grid;
	gap: 0.875rem;
	margin-top: 1.125rem;
}

@media all and (min-width: 768px) {
	.mg-viewing-form__dates {
		grid-template-columns: repeat(4, 1fr);
	}
}

.mg-viewing-form__date {
	border: 1px solid #707070;
	border-radius: 4px;
	display: flex;
	font-size: .875rem;
	line-height: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .25em;
	padding: 0.65em 1em;
}

.mg-viewing-form__dates a.mg-viewing-form__date--selected,
.mg-viewing-form__times a.mg-viewing-form__time--selected,
.mg-viewing-form__dates a.mg-viewing-form__date:hover,
.mg-viewing-form__times a.mg-viewing-form__time:hover {
	background-color: var(--colors-brand-blue);
	color: white;
	text-decoration: none;
}

.mg-viewing-form__date span {
	font-weight: 300;
}

.mg-viewing-form__times-container {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .2s ease;
}
.mg-viewing-form__times-container.mg-viewing-form__times-container--open { grid-template-rows: 1fr; }
.mg-viewing-form__times-container-inner {
	overflow: hidden;
}

.mg-viewing-form__times-container .multistep-form__field {
	margin-top: 1.875rem;
}

.mg-viewing-form__times {
	display: flex;
	flex-wrap: wrap;
	gap: 0.575rem;
	justify-content: center;
	margin: 1.125rem 0 0;
}

.mg-viewing-form__time {
	border: 1px solid #707070;
	border-radius: 4px;
	display: flex;
	font-size: 0.875rem;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .2rem;
	padding: 0.4071em 0.6071em;
}

.mg-single-form__continue {
	display: none;
}
.mg-single-form__continue.mg-single-form__continue--open {
	display: block;
}


/* Property Alerts Form */

.mg-property-alerts-form__type {
	background: var(--colors-off-gray);
	padding: 1.375rem 1.75rem;
	max-width: 844px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1.375rem;
}

.mg-property-alerts-form__type > span {
	font-size: 0.875rem;
	font-weight: 600;
}

.mg-property-alerts__type-radios {
	display: flex;
	flex-direction: column;
	gap: 1.5625rem;
}

.mg-property-alerts__radio {
	display: flex;
	flex-direction: column;
}

.mg-property-alerts__radio span {
	display: block;
	margin-top: .5rem;
}

.mg-property-alerts__fields {
	display: flex;
	flex-direction: column;
	gap: 1rem; /* Adds spacing between rows */
	padding: 1.375rem 1.75rem;
	max-width: 844px;
	margin: 0 auto;
}

.mg-property-alerts__fields-radio {
	display: flex;
	justify-content: start;
	gap: 1.375rem;
	flex: 1;
	align-items: center;
}

.mg-property-alerts__fields-row {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}


.mg-property-alerts__field {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.mg-property-alerts__field-submit {
	margin: 1.25rem auto;
}

.mg-property-alerts__disclaimer {
	color: #555555;
	font-size: 0.75rem;
	text-align: center;
}

.mg-property-alerts__field > label,
.mg-property-alerts__pricetype label{
	font-weight: 600;
}

.mg-property-alerts__field input[type="text"] {
	background: #fafafa;
	border: 1px solid #D5D5D5;
	font-size: 0.875rem;
	padding: 0.6428571428571429rem 1.2857142857142858rem;
	width: 100%;
	color: #555555;
}

.mg-property-alerts__field input[type="text"]::placeholder {
	color: #555555;
}


.price-type-switch {
	width: 100%;
}
.price-type-switch > div {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.price-type-switch .price-type-switch--hidden { display: none; }

@media all and (min-width: 860px) {

	.mg-property-alerts-form__type,
	.mg-property-alerts__type-radios {
		flex-direction: row;
	}

	.mg-property-alerts__type-radios {
		gap: 3.1875rem;
	}

	.mg-property-alerts-form__type {
		justify-content: space-between;
	}

	.mg-property-alerts__radio {
		max-width: 210px;
	}


	.mg-property-alerts__fields {
		padding: 1.375rem 1.75rem;
		max-width: 900px;
		margin: 0 auto;
	}


	.mg-property-alerts__fields-row {
		display: grid;
		grid-template-columns: repeat(4, 1fr); /* Creates a 4-column grid */
		gap: 1.75rem; /* Adds spacing between columns */
	}

	/* Column Sizing */
	.mg-property-alerts__field--half { grid-column: span 2; /* Takes up 2 of 4 columns (50%) */ }
	.mg-property-alerts__field--quarter { grid-column: span 1; /* Takes up 1 of 4 columns (25%) */ }
	.mg-property-alerts__field--three-quarters { grid-column: span 3; /* Takes up 3 of 4 columns (75%) */ }
}

.mg-property-alerts__errors {
	background: #fadddd;
	color: #000000;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.mg-property-alerts__fields {}

.mg-property-alerts__fields-radio .select2-container { width: 100% !important; }

.mg-property-alerts-form .select2-container .select2-selection--single {
	height: 42px;
}

.mg-property-alerts-form .select2-container--default .select2-selection--single {
	background: #fafafa;
	border-color: #D5D5D5 !important;
}

.mg-property-alerts-form .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 42px;
}

.mg-property-alerts-form .select2-selection__placeholder {
	color: var(--colors-dark-gray) !important;
}

.mg-property-alerts-form .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0 1.25rem 0;
}
.mg-property-alerts-form .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 42px !important;
}

.locationRadius {
	display: flex;
}
.locationRadius input {
	flex: 0 1 auto;
}

.locationRadius select { flex: 1 0 200px; }

.mg-property-alerts__success {
	background: var(--colors-off-gray);
	padding: 1.375rem 1.75rem;
	max-width: 844px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1.5625rem;
	text-align: center;
	justify-content: center;
}

.mg-property-alerts__success h3 {
	margin-bottom: 0;
}

/* Custom radio */

.mg-custom-radio {
	position: relative;
}


.mg-custom-radio-input {
	opacity: 0;
	position: absolute;
}

.mg-custom-radio-input, .mg-custom-radio-label {
	display: inline-block;
	vertical-align: middle;
	cursor: pointer;
}

.mg-custom-radio-label {
	position: relative;
	padding-right: 30px;
	color: #555555;
}

.mg-custom-radio-input + .mg-custom-radio-label:before {
	content: '';
	background: #FAFAFA;
	border: 2px solid #D5D5D5;
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	padding: 2px;
	text-align: center;
	position: absolute;
	right: 0;
}

.mg-custom-radio-input + .mg-custom-radio-label:before {
	border-radius: 50%;
}

.mg-custom-radio-input:checked + .mg-custom-radio-label:before {
	content: "";
	background: #AAAAAA;
}

.mg-custom-radio-input:focus + .mg-custom-radio-label {
	outline: 1px solid #ddd; /* focus style */
}



/* viewing form */

.multistep-form {
	/*padding: 0 1.1875rem;*/
}

.multistep-form__nav-container {
	display: flex;
	justify-items: center;
}

.multistep-form__nav {
	display: flex;
	gap: 2.1875rem;
	justify-content: center;
	margin: 0 auto 1.875rem;
	position: relative;
}

@media all and (min-width: 1024px) {
	.multistep-form__nav {
		margin: 0 auto 3.125rem;
	}
}

.multistep-form__nav::after {
	content: "";
	display: block;
	width: calc(100% - 20px);
	height: 1px;
	position: absolute;
	top: 50%;
	left: 10px;
	right: 10px;
	background: var(--colors-brand-darkgreen);
	z-index: 2;
}

.multistep-form__nav-item {
	background: white;
	border: 1px solid var(--colors-brand-darkgreen);
	border-radius: 9999px;
	color: var(--colors-brand-darkgreen);
	width: 40px;
	height: 40px;
	flex-basis: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9375rem;
	position: relative;
	z-index: 3;
}

.multistep-form__nav-item--active {
	background-color: var(--colors-brand-darkgreen);
	color: white;
}

.multistep-form__step {
	border: none;
	padding: 0;
}

.multistep-form__step hr {
	margin: 2rem auto;
	border: 0;
	border-top: 1px solid #d5d5d5;
	opacity: .5;
}

.multistep-form__errors-container {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	margin-bottom: 1.125rem;
}
.multistep-form__errors-container p {
	color: var(--colors-brand-red);
	margin: 0;
	text-align: center;
}

.multistep-form__step legend { visibility: hidden; display: none; }

.multistep-form__fields-row {
	display: grid;
	grid-template-columns: repeat(12, 1fr); /* 12 equal columns */
	gap: 1.125rem;
	margin-bottom: 1.125rem;
}

.multistep-form__subscribe-container { margin-top: 1.25rem; }

.multistep-form__field {}

.multistep-form__valuationType {
	height: 100%;
	display: flex;
	align-items: end;
	padding-bottom: .5rem;
	gap: 1.125rem;
}
.multistep-form__valuationType label {
	font-weight: normal !important;
	flex-basis: auto;
	width: auto;
}

.multistep-form__field label {
	font-weight: 600;
	font-size: .875rem;
	padding-left: .5rem;
	display: block;
	margin-bottom: .25rem;
}

.multistep-form__subscribe label {
	font-weight: 400;
}

.multistep-form__field input[type="text"],
.multistep-form__field input[type="email"],
.multistep-form__field input[type="tel"],
.multistep-form__field select,
.multistep-form__field textarea
{
	width: 100%;
}

.multistep-form__field textarea {
	background: #fafafa;
	border: 1px solid #d5d5d5;
	border-radius: 3px;
	padding: .525rem 1.25rem .525rem;
	min-height: 120px;
}

.multistep-form__field select {
	background: #fafafa;
	border: 1px solid #D5D5D5;
	color: var(--colors-dark-gray);
	font-family: var(--fonts-default);
	display: inline-block;
	font-size: 0.875rem;
	line-height: 1.4285714285714286em;
	padding: .5714285714285714em 1.25rem .7142857142857143em;
	border-radius: 3px;
}

.multistep-form__field--invalid input[type="text"],
.multistep-form__field--invalid input[type="email"],
.multistep-form__field--invalid input[type="tel"],
.multistep-form__field--invalid select,
.multistep-form__field--invalid textarea
{
	border-color: var(--colors-brand-red);
}


.multistep-form__buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.125rem;
	margin-top: 1.875rem;
}

.multistep-form__summary {
	margin-bottom: 1.125rem;
}

.multistep-form__summary,
.multistep-form__summary-top {
	display: flex;
	gap: 1.125rem;
	flex-direction: column;
	align-items: center;
}

.multistep-form__summary-top {
	max-width: 500px;
	align-items: center;
}

.multistep-form-summary-property { display: flex; gap: 1.125rem; align-items: center; }
.multistep-form-summary-property__image {
	overflow: hidden;
	position: relative;
	flex: 0 0 30%;
}

.multistep-form-summary-property__image img { width: 100%; }

.multistep-form-summary-property__details { display: flex; flex-direction: column; gap: .25rem; justify-content: center; flex: 0 0 70%; }
.multistep-form-summary-property__details h5 { margin: 0; }
.multistep-form-summary-property__details p { margin: 0; }

.multistep-form-summary-datetime {
	background: #F8F7F4;
	display: flex;
	align-items: center;
	padding: .5rem .75rem;
	gap: .75rem;
}

.multistep-form-summary-datetime svg { width: 24px; }

.multistep-form-summary-contact {
	text-align: center;
	margin: 1.25rem auto 0;
	max-width: 650px;
}

.multistep-form-summary-finance {
	background: var(--colors-brand-blue);
	color: white;
	padding: 1.875rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	align-items: center;
}

.multistep-form-summary-finance p {
	margin-bottom: 0;
}

.multistep-form-summary-finance__disclaimer {
	font-size: 0.75rem;
}

.multistep-form__complete {
	text-align: center;
}

.multistep-form__complete .wp-block-button {
	margin-bottom: 1.5rem;
}

@media all and (min-width: 768px) {
	.multistep-form-summary-finance {
		padding: 1.875rem 3.75rem;
		margin-top: 1rem;
	}
}

.multistep-form-summary-finance h4 { color: inherit; margin-bottom: .5rem; }
.multistep-form-summary-finance__radios { display: flex; align-items: center; gap: 1.125rem; margin: 0 auto; }
.multistep-form-summary-finance__radios label { color: white; }

@media all and (min-width: 768px) {
	.multistep-form__buttons {
		flex-direction: row;
	}
}

.multistep-form__field .select2-selection__arrow {
	top: 50% !important;
	transform: translateY(-50%);
}

.multistep-form__field .select2-container--default .select2-selection--single {
	background: #fafafa;
	color: #555555;
	border: 1px solid #d5d5d5;
	border-radius: 3px;
}

.multistep-form__field .select2-container .select2-selection--single {
	height: 41px;
}

.multistep-form__field .select2-container--default .select2-selection--single .select2-selection__rendered {
	font-size: 0.875rem;
	line-height: 41px;
	padding: 0 1.25rem 0;
}

.multistep-form__step .wp-block-button {
	display: flex;
	justify-content: center;
}
.multistep-form__step .wp-block-button .wp-block-button__link {
	width: auto;
}

/* Column Sizes */
.multistep-form__field-1 { grid-column: span 1; }
.multistep-form__field-2 { grid-column: span 2; }
.multistep-form__field-3 { grid-column: span 3; }
.multistep-form__field-4 { grid-column: span 4; }
.multistep-form__field-5 { grid-column: span 5; }
.multistep-form__field-6 { grid-column: span 6; }
.multistep-form__field-7 { grid-column: span 7; }
.multistep-form__field-8 { grid-column: span 8; }
.multistep-form__field-9 { grid-column: span 9; }
.multistep-form__field-10 { grid-column: span 10; }
.multistep-form__field-11 { grid-column: span 11; }
.multistep-form__field-12 { grid-column: span 12; }

/* Responsive Grid */
@media (max-width: 1024px) { /* Tablet */
	.multistep-form__fields-row {
		grid-template-columns: repeat(6, 1fr); /* 6 columns */
	}
}

@media (max-width: 768px) { /* Small tablets & large phones */
	.multistep-form__fields-row {
		grid-template-columns: repeat(4, 1fr); /* 4 columns */
	}
}

@media (max-width: 480px) { /* Mobile */
	.multistep-form__fields-row {
		grid-template-columns: repeat(1, 1fr); /* 1 column */
	}
}


/* Auctions iframe */
.site-container.wp-site-blocks .auctions-iframe {
	max-width: 1333px;
	width: 100%;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-block-start: 1.25rem !important;
}

.site-container.wp-site-blocks .auctions-iframe iframe {
	width: 100%;
}

.wpcf7-form {}
.wpcf7-form .wpcf7-form-control-wrap {
	display: inline-block;
	margin-bottom: 1.125rem;
	width: 100%;
}
.wpcf7-form .wpcf7-form-control {
	background: #FAFAFA;
	border-radius: 4px;
	border: 1px solid #D5D5D5;
	font-size: .875rem;
	width: 100%;
}

.wpcf7-form-control.wpcf7-radio {
	background: none;
	border-radius: 0;
	border: 0;
}

.wpcf7-form select.wpcf7-form-control {
	line-height: 1.4285714285714286em;
	padding: .5714285714285714em 1.25rem .7142857142857143em;
}

.wpcf7-form textarea.wpcf7-form-control {
	color: var(--colors-dark-gray);
	font-size: .875rem;
	font-family: var(--fonts-default);
	min-height: 112px;
	width: 100%;
	line-height: 1.4285714285714286em;
	padding: .5714285714285714em 1.25rem .7142857142857143em;
}
.wpcf7-form .wpcf7-form-control.wpcf7-not-valid {
	border-color: var(--colors-brand-red);
}

.wpcf7-form textarea.wpcf7-form-control::placeholder {
	color: var(--colors-dark-gray);
}

.wpcf7-form .wp-block-button .wp-block-button__link {
	width: auto;
}

.wpcf7-form .wpcf7-not-valid-tip {
	color: var(--colors-brand-red);
	font-size: 0.75rem;
	margin-top: .25rem;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	margin: 1.25rem 0 0;
	font-size: 0.75rem;
	padding: 0;
	border: 0;
}

/* MG Lifestyle Blog */

.mg-blog-filters {
	position: relative;
	padding-top: 1.1875rem;
	padding-bottom: 1.1875rem;
}

.mg-blog-filters__filters {
	position: relative;
}

.mg-blog-filters__desktopTitle {
	display: none;
}

.mg-blog-filters__list {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .25s ease-in;
}

.mg-blog-filters__showHide {
	display: block;
	text-align: right;
	position: relative;
}

.mg-blog-filters__showHide b {
	font-size: 0.875rem;
	font-weight: 500;
	transition: rotate .25s ease;
	display: inline-block;
	width: 10px;
	height: 10px;
	position: relative;
}

.mg-blog-filters__showHide b:before , .mg-blog-filters__showHide b:after {
	content: "";
	display: block;
	background-color: #333;
	position: absolute;
	top: 50%; left: 0;
	transition: .35s;
	width: 100%;
	height: 1px;
}

.mg-blog-filters__showHide b:before {
	transform: translatey(-50%);
}

.mg-blog-filters__showHide b:after {
	transform: translatey(-50%) rotate(90deg);
}

.mg-blog-filters__showHide.open b:before {
	transform: translatey(-50%) rotate(-90deg);
	opacity: 0;
}
.mg-blog-filters__showHide.open b::after {
	transform: translatey(-50%) rotate(0);
}

.mg-blog-filters__showHide.open + .mg-blog-filters__list {
	grid-template-rows: 1fr;
}

.mg-blog-filters__list-inner {
	overflow: hidden;
}

.mg-blog-filters__list-inner ul {
	margin: 1.1875rem 0 0 0;
	padding: 0;
	text-align: right;
	list-style-type: none;
}

.mg-blog-filters__list-inner ul li {
	font-size: 0.875rem;
	margin-bottom: .25rem;
}

.mg-blog-filters__list-inner ul li a:hover {
	color: var(--colors-brand-green);
	text-decoration: underline;
}

.mg-blog-filters__list-inner ul li.mg-blog-filters__current a {
	color: var(--colors-brand-green);
}

.mg-blog-filters__line { display: none; }

@media all and (min-width: 1024px) {

	.mg-blog-filters {

	}

	.mg-blog-filters__filters {
		display: flex;
		justify-content: space-between;
		align-items: start;
		position: relative;
		width: 100%;
		overflow: visible;
	}

	.mg-blog-filters__line { display: block; position: relative; width: 100%; height: 4px; padding-top: 1.25rem; overflow: visible; }
	.mg-blog-filters__line::before,
	.mg-blog-filters__line::after
	{
		content: "";
		display: block;
		position: absolute;
	}

	.mg-blog-filters__line::before {
		height: 1px;
		background-color: #D5D5D5;
		top: 1px;
		left: 0;
		right: 0;
	}

	.mg-blog-filters__line::after {
		width: 3px;
		height: 3px;
		border-radius: 999px;
		background-color: #d5d5d5;
		top: 0;
		right: 0;
		z-index: 4;
	}

	.mg-blog-filters__desktopTitle {
		display: block;
		font-family: var(--fonts-heading);
		color: var(--colors-brand-green);
		font-size: 1.25rem;
		line-height: 1.2rem;
		max-width: 130px;
	}
	.mg-blog-filters__showHide { display: none; }

	.mg-blog-filters__list-inner ul {
		display: flex;
		gap: 1.25rem;
		align-items: center;
		margin-top: 0;
	}

	.mg-blog-filters__list {
		grid-template-rows: 1fr;
	}

	.mg-blog-filters__list-inner ul li {
		margin-bottom: 0;
	}

}

.mg-blog-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3.75rem;
	justify-content: center;
}

.mg-blog-list-loadmore .wp-block-button .wp-block-button__link { width: auto; margin: 0 auto; }

.mg-blog-no-posts { width: 100%; }
.mg-blog-no-posts p { text-align: center; }

@media all and (min-width: 1024px) {
	:where(.wp-site-blocks) > #blogNoPosts { margin-block-start: 2.5rem !important; }
}

#blogList {
	margin-block-start: 1.375rem !important;
}

.mg-blog-item {
	width: 100%;
	max-width: 351px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
}
.mg-blog-item h3 { font-size: 1.25rem; margin: 0; line-height: 1.2em; }

.mg-blog-item__image { display: block; position: relative; }
.mg-blog-item__image::before {
	content: "";
	display: block;
	padding-top: 66.578%;
}
.mg-blog-item__image img {
	width: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	object-fit: cover;
}

.mg-blog-item__details {
	background: var(--colors-off-gray);
	padding: 1.75rem 1.875rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	flex-grow: 1;
}

.mg-blog-item__details a {
	font-weight: 400 !important;
	margin-top: auto;
}

@media all and (min-width: 640px) {
	.mg-blog-list {
		grid-template-columns: repeat(2,1fr);
	}
}
@media all and (min-width: 1024px) {
	.mg-blog-list {
		grid-template-columns: repeat(3,1fr);
		gap: 4.6875rem;
	}

	#blogList {
		margin-block-start: 3.4375rem !important;
	}

	.mg-blog-item { max-width: 377px; }
}

.mg-blog-hero {

}

.mg-blog-hero + #blogArticle {
	margin-block-start: 1.25rem !important;
}

.mg-blog-hero__image {
	position: relative;
}

.mg-blog-hero__image::before {
	content: "";
	display: block;
	width: 100%;
	padding-top: 66.666%;
}

.mg-blog-hero__image img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.mg-sidebar {
	position: relative;
}

.mg-sidebar__showHide {
	display: block;
	margin-bottom: 1.25rem;
	position: relative;
	text-align: right;
	cursor: pointer;
	font-weight: 600;
}

.mg-sidebar-boxes { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease-in; }
.mg-sidebar__showHide.open + .mg-sidebar-boxes { grid-template-rows: 1fr; }
.mg-sidebar-boxes__inner {overflow: hidden; }

.mg-sidebar-box {
	margin-bottom: 3.75rem;
}

.mg-sidebar-box__heading {
	position: relative;
	padding-bottom: .25rem;
	margin-bottom: 1rem;
}

.mg-sidebar-box__heading h4 { margin: 0; }

.mg-sidebar-box__heading::before {
	content: "";
	display: block;
	position: absolute;
	bottom: 1px;
	left: 0;
	right: 0;
	border-top: 1px solid #D5D5D5;
}

.mg-sidebar-box__heading::after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	right: 0;
	border-radius: 999px;
	height: 4px;
	width: 4px;
	background-color: #D5D5D5;
	z-index: 2;
}

.mg-sidebar-box ul { list-style-type: none; margin-left: 0; padding: 0; }
.mg-sidebar-box ul li { position: relative; padding-left: .75rem; margin-bottom: 1rem; }
.mg-sidebar-box ul.less-margin li { margin-bottom: .25rem; }
.mg-sidebar-box ul li::before {
	content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="4.755" height="8.511" viewBox="0 0 4.755 8.511"><path id="Icon_akar-chevron-down-small" data-name="Icon akar-chevron-down-small" d="M9,15l3.548,3.548L16.1,15" transform="translate(-14.293 16.804) rotate(-90)" fill="none" stroke="%23555" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/></svg>');
	height: 9px;
	width: 5px;
	position: absolute;
	top: 0;
	left: 0;
}

.mg-sidebar-box ul li a { font-weight: normal; }

	.mg-sidebar-box #st-1 { text-align: left; }



.mg-single-terms {
	margin: 0 0 .35rem 0;
}
.mg-single-terms a {
	color: var(--colors-brand-gold);
	font-size: 1.25rem;
	font-family: var(--fonts-heading);
	font-weight: 500;
}

.mg-single-title {
	margin-bottom: .5rem;
}

.mg-single-info {
	color: var(--colors-dark-gray);
	font-size: .875rem;
	margin: 0 0 3.125rem 0;
}

#singlePost p.has-medium-font-size {
	font-weight: 400;
	font-size: 1.125rem !important;
	line-height: 1.3333333333333333rem;
}


.mg-single-post .wp-block-quote { position: relative; border-left: 1px solid var(--colors-brand-green); margin: 2.75rem 0; }
.mg-single-post .wp-block-quote::before {
	background-color: var(--colors-brand-green);
	border: 0;
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: -2px;
	border-radius: 999px;
	width: 3px;
	height: 3px;
	z-index: 2;
}

.mg-single-post .wp-block-quote p {
	font-family: var(--fonts-heading);
	font-size: 1.25rem;
	line-height: 1.4em;
	max-width: 575px;
}

.mg-single-post h3 {
	font-family: var(--fonts-default);
	font-size: 1.125rem;
}

@media all and (min-width: 1024px) {

	.mg-blog-hero__image::before {
		padding-top: 45.78125%;
	}

	.mg-blog-single {
		display: flex;
		flex-direction: row-reverse;
		padding-top: 3.125rem;
	}

	.mg-sidebar { flex: 1 0 369px; padding-left: 1.875rem; position: relative;  border-left: 1px solid #D5D5D5; }
	.mg-sidebar::before {
		background-color: #D5D5D5;
		border: 0;
		content: "";
		display: block;
		position: absolute;
		top: 0;
		left: -2px;
		border-radius: 999px;
		width: 3px;
		height: 3px;
		z-index: 2;
	}
	.mg-single-post { flex: 0 1 auto; padding-right: 1.875rem; }
	.mg-sidebar-boxes { grid-template-rows: 1fr; }

	.mg-sidebar__showHide { display: none; }

}

@media all and (min-width: 1280px) {
	.mg-blog-single { padding-top: 3.75rem; }
	.mg-sidebar { padding-left: 3.75rem; }
	.mg-single-post { padding-right: 3.75rem; }
}


.mg-single-next-post {
	position: relative;
	border-top: 1px solid #d5d5d5;
	margin-top: 3.75rem;
	padding-top: 1rem;
	max-width: 407px;
}

.mg-single-next-post::before {
	background-color: #D5D5D5;
	border: 0;
	content: "";
	display: block;
	position: absolute;
	top: -2px;
	right: 0;
	border-radius: 999px;
	width: 3px;
	height: 3px;
	z-index: 2;
}

.mg-single-next-post h4 { color: var(--colors-brand-blue); margin: 0 0 .25rem; }
.mg-single-next-post__title { font-weight: 600; }
.mg-single-next-post a { position: relative; display: block; padding-left: .65rem; font-weight: 400 !important; }
.mg-single-next-post a::before {
	content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="4.755" height="8.511" viewBox="0 0 4.755 8.511"><path id="Icon_akar-chevron-down-small" data-name="Icon akar-chevron-down-small" d="M9,15l3.548,3.548L16.1,15" transform="translate(-14.293 16.804) rotate(-90)" fill="none" stroke="%23555" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/></svg>');
	display: block;
	width: 5px;
	height: 9px;
	position: absolute;
	top: 0;
	left: 0;
}


#select2-officeSelector-results .select2-results__option--highlighted {
	background: #ffffff !important;
	color: black !important;
}
#select2-officeSelector-results .select2-results__option--selected {
	background: #cfcfcf !important;
	color: black !important;
}

/* Recruitment Single */

.mg-recruitment-single {
	display: flex;
	flex-direction: column;
	gap: 1.875rem;
}

.mg-recruitment-single__side {
	background: var(--colors-brand-blue);
	color: white;
	padding: 1.875rem;
}

.mg-recruitment-single__side h3,
.mg-recruitment-single__side h5 {
	color: inherit;
}

.mg-recruitment-form__title {
	position: relative;
	border-top: 1px solid #D5D5D5;
	padding: 1.25rem 0;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.mg-recruitment-form__title svg { transition: transform .3s ease; }
.mg-recruitment-form__title.active svg {
	transform: rotate(90deg);
}

.mg-recruitment-form__title::before {
	content: "";
	display: block;
	border-radius: 999px;
	height: 5px;
	width: 5px;
	background: #d5d5d5;
	position: absolute;
	top: -3px;
	right: 0;
	z-index: 2;
}

.wpcf7-form .mg-recruitment-form__panel .wpcf7-not-valid-tip {
	color: #ff4141;
}

.wpcf7-form .mg-recruitment-form__panel .wpcf7-form-control.wpcf7-not-valid {
	border-color: #ff4141;
}

.mg-recruitment-form__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s ease; }
.mg-recruitment-form__panelInner { overflow: hidden; }

.mg-recruitment-form__title.active + .mg-recruitment-form__panel { grid-template-rows: 1fr; }

.mg-recruitment-single__side h5 {
	margin: 0;
}

.mg-recruitment-form__fields + .wp-block-button {
	margin-bottom: 1.25rem;
}

@media all and (min-width: 1024px) {

	.mg-recruitment-single {
		flex-direction: row;
		align-items: start;
	}
	.mg-recruitment-single__main { flex: 1; }
	.mg-recruitment-single__side {
		padding: 2.5rem;
		width: 450px;
		flex-shrink: 0;
	}
}

@media all and (min-width: 1280px) {
	.mg-recruitment-single__side {
		width: 589px;
	}
}

.wp-block-recruitment-list-container {
	padding: 3.75rem 0;
}

.mg-recruitment-list {
	display: flex;
	flex-direction: column;
	position: relative;
	border-top: 1px solid #d5d5d5;
}
.mg-recruitment-list::before {
	content: "";
	display: block;
	border-radius: 999px;
	height: 5px;
	width: 5px;
	background: #d5d5d5;
	position: absolute;
	top: -3px;
	right: 0;
	z-index: 2;
}

.mg-recruitment-list__item {
	position: relative;
	padding: 1.3125rem 0;
	border-bottom: 1px solid #d5d5d5;
	display: flex;
	flex-direction: column;
}

.mg-recruitment-list__item::before {
	content: "";
	display: block;
	border-radius: 999px;
	height: 5px;
	width: 5px;
	background: #d5d5d5;
	position: absolute;
	bottom: -3px;
	right: 0;
	z-index: 2;
}

.mg-recruitment-list__item h5 {
	margin: 0 0 1rem;
}

.mg-recruitment-list__item svg { display: none; }

@media all and (min-width: 768px) {
	.mg-recruitment-list__item {
		flex-direction: row;
		justify-content: start;
		align-items: center;
		text-decoration: none;
	}
	.mg-recruitment-list__item:hover { text-decoration: none; }
	.mg-recruitment-list__item h5 { margin: 0; }
	.mg-recruitment-list__item svg { display: inline-block; margin-left: auto; }
	.mg-recruitment-list__item h5 {
		width: 300px;
		flex-shrink: 0;
	}
	.mg-recruitment-list__item span { text-align: left; font-weight: 400; }
}
@media all and (min-width: 1024px) {
	.mg-recruitment-list__item h5 { width: 520px; }
}

/* active filters */

.mg-active-filters {
	display: flex;
	flex-direction: column;
	justify-content: start;
	margin-top: 1.25em;
	position: relative;
}

.mg-active-filters__title {
	font-family: var(--fonts-heading);
	font-size: 1.1428571428571428em;
	color: var(--colors-brand-darkgreen);
	display: inline-block;
	padding: .25em 0 .25em 0;
	white-space: nowrap;
}

.mg-active-filters__filters {
	list-style-type: none;
	margin: 1rem 0 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 2em;
}

.mg-active-filters__filters li a {
	font-size: 1em;
	font-weight: 400;
	color: var(--colors-brand-darkgreen);
	display: block;
	position: relative;
	padding-right: 1rem;
	text-wrap: nowrap;
}

.mg-active-filters__filters li a::after {
	content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="9.214" height="9.362" viewBox="0 0 9.214 9.362"><g id="Group_617" data-name="Group 617" transform="translate(-265.643 -332.481)"><line id="Line_171" data-name="Line 171" x1="8.5" y2="8.662" transform="translate(266 332.831)" fill="none" stroke="%23487861" stroke-width="1"/><line id="Line_172" data-name="Line 172" x2="8.5" y2="8.662" transform="translate(266 332.831)" fill="none" stroke="%23487861" stroke-width="1"/></g></svg>');
	position: absolute;
	top: 50%;
	right: 0;
	width: 9px;
	height: 9px;
	transform: translateY(-10px);
}

.mg-active-filters > a {
	color: var(--colors-brand-darkgreen);
	display: inline-block;
	font-weight: 400;
	margin-left: auto;
	position: absolute;
	top: 0;
	right: 0;
	white-space: nowrap;
}

@media all and (min-width: 768px) {
	.mg-active-filters {
		flex-direction: row;
		align-items: center;
		justify-items: center;
		gap: 1.5em;
	}

	.mg-active-filters__title {
		padding: .25em 1.5em .25em 0;
		border-right: 1px solid #AAAAAA;
	}

	.mg-active-filters__filters {
		margin: 0;
	}

	.mg-active-filters > a {
		position: relative;
	}

}