@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300,400,500,600&family=Poppins:wght@200;300;400;500;600;700&display=swap');


/************************ GENERAL ************************/

html {
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
    font-family: 'Sailec-Regular', Helvetica Neue, Helvetica, Arial, sans-serif;
	overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.main-content {
	padding-top: 70px;
	flex: 1;
}

.padded-row {
	width: 1400px;
	margin-left: auto !important;
	margin-right: auto !important;
}

header .container, footer .container {
	width: 90%;
}

input[type=text], input[type=email], textarea, select {
	outline: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: none;
    border-radius: 0;
    -webkit-border-radius:0;
    -webkit-appearance: button;
}

:focus-visible {
	outline: none;
}

.anchor {
    scroll-margin-top: 150px;
}

.mobile-only {
	display: none !important;
}


/************************ TYPOGRAPHY ************************/

p, ul, li, input, textarea, select, .wpcf7-list-item-label, .wpcf7-response-output, header nav ul li a {
    font-family: Montserrat, Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Poppins, Helvetica, Arial, sans-serif;
}

p, ul, li, input, textarea, select, .wpcf7-list-item-label, .wpcf7-response-output {
	font-size: 17px;
	font-weight: 300;
	line-height: 27px;
	margin-bottom: 20px;
}

p:last-of-type {
	margin-bottom: 0;
}

p:empty {
	display: none;
}

a, a:hover, a:active {
    text-decoration: none;
	overflow-wrap: break-word;
	word-wrap: break-word;
	-ms-word-break: break-all;
	word-break: break-all;
	word-break: break-word;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
}

p a {
	hyphens: auto;
}

p a:hover, footer a:hover {
	text-decoration: underline;
}

b, strong {
	font-weight: 600;
}

h1 {
    font-size: 60px;
    font-weight: 800;
	line-height: 70px;
	margin-bottom: 20px !important;
}

h2 {
	font-size: 45px;
	font-weight: 600;
	line-height: 55px;
	margin-bottom: 30px !important;
}

h3 {
    font-size: 30px;
    line-height: 40px;
	margin-bottom: 30px !important;
}

h4 {
    font-size: 23px;
	line-height: 33px;
	margin-bottom: 12px !important;
}

h5 {
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 25px;
	margin-bottom: 23px !important;
}

input, textarea, select {
	font-size: 18px;
    color: #000;
	font-weight: normal;
}

ul, ol {
	margin: 0 0 1.5em 30px;
}

li {
	margin-bottom: 10px;
}

.fa-facebook-f:before {
    content: "\f39e" !important;
}

button {
	font-size: 17px;
}

span.wpcf7-not-valid-tip {
	font-size: 12px;
    margin-top: -20px;
}

body.error404 h1 {
    font-size: 70px;
    color: #000;
	text-align: center;
    text-transform: uppercase;
    padding-top: 140px;
}


/************************ TEMPLATE ************************/

article {
	margin-bottom: 0;
}

/* Columns (replace the WPBakery rows and columns) */
.cols {
	display: flex;
}

.cols > * {
	box-sizing: border-box;
}

.col-1-2 {
	width: 50%;
}

.col-1-3, .col-4-12 {
	width: 33.333%;
}

.col-2-3, .col-8-12 {
	width: 66.666%;
}

.narrow-row {
	width: 40%;
	margin: auto !important;
}

.padded-inner-col {
	padding: 100px 5% !important;
}

.padding-top-bottom {
	padding: 100px 0;
}

.padding-top {
	padding: 100px 0 0;
}

.padding-bottom {
	padding: 0 0 100px;
}

.padding-top-bottom-small {
	padding: 50px 0;
}

.padding-top-small {
	padding: 50px 0 0;
}

.padding-bottom-small {
	padding: 0 0 50px;
}

.full-height {
	min-height: 100vh;
}

#hero {
	height: 100vh;
}

.background-row {
	background-size: cover !important;
	background-repeat: no-repeat;
	background-position: center;
}

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

.overlay {
	box-shadow: inset 10000px 0 0 0 rgb(12 12 12 / 30%);
}

.grey-background {
	background: #f3f3f3;
}

.dark-grey-background {
	background: #323232;
}

.left-col {
	padding-right: 20px !important;
}

.right-col {
	padding-left: 20px !important;
}


/************************ ELEMENTS ************************/

form p {
	margin-bottom: 0;
}

input[type=text], input[type=email], textarea {
	width: 100% !important;
	border-top: 0 !important;
	border-left: 0 !important;
	border-right: 0 !important;
	border-bottom: 1px solid !important;
	border-radius: 0 !important;
	padding: 0 0 5px !important;
}

input[type="submit"] {
	margin-top: 15px !important;
}

.wpcf7 form .wpcf7-response-output {
    font-size: 14px !important;
    text-transform: uppercase !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 20px 0 0 !important;
}

.button-container {
	text-align: center;
	margin: 40px auto 0 !important;
}

.button, input[type="submit"] {
	text-transform: uppercase;
	border: 2px solid !important;
	border-radius: 0 !important;
}

.button {
	font-size: 14px;
	line-height: 1;
	text-decoration: none !important;
	padding: 14px 20px;
	display: inline-block;
	transition: all 0.2s;
}

.button i {
	font-size: 12px;
	margin-left: 15px;
}

/* Listings and news grid */
.grid-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 30px 0 35px;
}

.grid-filter button {
	font-size: 17px;
	font-weight: 300;
	color: #888;
	background: transparent;
	border: 0;
	padding: 2px 25px;
	cursor: pointer;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.post-card[hidden] {
	display: none;
}

.post-card-img {
	aspect-ratio: 4/3;
	overflow: hidden;
	display: block;
	margin-bottom: 25px;
}

.post-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card h3 {
    font-size: 23px;
    line-height: 33px;
    margin-bottom: 10px !important;
}

.post-card .button {
	margin-top: 25px;
}

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


/************************ HEADER ************************/

header {
    width: 100%;
    height: auto;
	box-shadow: 1px 1px 8px #ececec;
	padding: 0;
    margin: 0 auto;
    position: fixed;
    z-index: 9999;
}

.logo {
	width: 50%;
	text-align: right;
	line-height: 0;
    padding: 20px 0;
	float: right;
}

.logo h1 {
	font-size: 20px;
	font-weight: 400;
	line-height: 30px;
	margin-bottom: 0 !important;
	display: contents;
}

.logo h2 {
    font-size: 20px;
    font-weight: 500;
    padding: 0 5px;
	margin: 0 0 0 10px !important;
	display: inherit;
}

.navigation {
	width: 50%;
    padding: 20px 0;
	float: left;
}

header nav {
    float: left;
}

header nav ul li {
    padding: 0 15px;
    margin: 0 0 0 15px;
}

header nav ul li a {
	text-transform: uppercase;
}


/************************ HOME ************************/

body.home header {
	background: transparent !important;
	box-shadow: none !important;
}

body.home.scrolled header {
	box-shadow: 1px 1px 8px #ececec !important;
}

body.home .logo {
	display: none;
}

body.home.scrolled .logo {
	display: block;
}

body.home .main-content {
	padding-top: 0;
}

#hero h2 {
	font-size: 30px;
	font-weight: 400;
	line-height: 40px;
}

#sold {
	height: 500px !important;
}

.sold-sign img {
	width: 30%;
    margin-bottom: 60px;
    transform: rotate(-3deg);
}

#hero .left {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

#intro {
	text-align: center;
}

.address-box {
	padding: 50px 50px 50px 100px;
}

#find-us .map {
	min-height: 400px;
}


/************************ ABOUT ************************/

#about p {
	text-align: left !important;
}

#about .difference-row .col-1-3 {
	width: calc(33% - 70px);
    margin: 0 70px 0 0;
}

#about .difference-row .number {
    padding: 20px 0 1px !important;
    margin: 0 auto 30px !important;
}

#principles .padded-inner-col {
	text-align: center;
}

#about .number p {
	font-size: 80px;
    font-weight: 500;
    text-align: left !important;
    line-height: 90px;
	padding: 10px 0;
    margin-bottom: 0 !important;
}


/************************ TEAM ************************/


#team .narrow-row {
	text-align: center;
}

#team img {
	width: 70% !important;
	height: auto;
	margin-bottom: 45px !important;
}

#team .right-col .team-photo, #team .right-col h4, #team .right-col h5 {
	text-align: right;
}

#team .padded-row p {
	text-align: justify !important;
}


/************************ BLOG ************************/

.post-meta {
    color: #9b9b9b;
    font-size: 15px !important;
    text-transform: uppercase;
	margin-bottom: 5px;
}

.post-img {
	margin: 10px auto 30px !important;
	aspect-ratio: 16/9;
    overflow: hidden;
}

.post-img img {
	width: 100%;
    max-width: 100% !important;
}


/************************ LISTINGS ************************/

#listings .narrow-row h3, #news .narrow-row h3 {
	text-align: center;
}


/************************ CONTACT ************************/

body.page-id-694 .main-content {
	padding-top: 0;
}

#contact .padded-inner-col {
	padding-top: 120px !important;
	padding-bottom: 50px !important;
}

#contact .left {
	position: relative;
}

#contact .hmapsprem_map_container {
	height: 100vh !important;
	min-height: 100vh !important;
}

#contact .hmapsprem_map_container .gmnoprint {
	top: 45px !important;
	left: 15px !important;
}

#contact .contact-info {
    width: calc(100% - 150px);
	padding: 50px 50px 50px 100px;
	margin: 0 !important;
	position: absolute;
    bottom: 0;
}


/************************ IMPORTANT ************************/

#important h3 {
	font-size: 27px;
	font-weight: 700;
	line-height: 37px;
	margin: 30px 0 15px !important;	
}

#important .page-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
	margin-bottom: 30px;
}

#important .page-header h2 {
	margin-bottom: 0 !important;
}

#important img {
    width: auto;
	height: 50px;
}


/************************ FOOTER ************************/

footer {
    padding: 20px 0;
	z-index: 99;
}

.footer-col {
	width: 50%;
	float: left;
}

.footer-col.left {
	text-align: right;
}

footer p, footer li {
	font-size: 14px;
	line-height: 24px;
	margin-bottom: 0;
}

footer ul {
	text-align: left;
	list-style: none;
	margin: 0 0 10px !important;
}

footer li {
	margin-right: 15px;
	display: inline-block;
}

.footer-col.right {
	text-align: right;
}

footer img {
	width: auto;
	height: 35px !important;
}

.footer-div {
	margin: 0 10px;
}



/************************ MOBILE ************************/

@media only screen and (max-width: 1550px) {
	
	.padded-row {
		width: 1200px;
        margin-left: auto !important;
        margin-right: auto !important;
	}
	
}


@media only screen and (max-width: 1200px) {
	
	.padded-row {
		width: 100%;
		padding: 0 30px;
		box-sizing: border-box;
        margin-left: auto !important;
        margin-right: auto !important;
	}
	
}


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

	/* !important because slideToggle leaves an inline display style */
	.mobile-menu-button, #mobile-menu {
		display: none !important;
	}

}


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

	/* Keep the bar white and 70px tall on the homepage too, even while the logo is hidden.
	   #masthead so it beats body.home header in the Customizer's Additional CSS */
	header#masthead {
		min-height: 70px;
		background: #fff !important;
	}

	/* boots-bones.css makes .container position: relative, which would shift the menu */
	header .container {
		position: static;
	}

	.navigation {
		display: none;
	}

	.mobile-menu-button {
		background: none;
		color: #000;
		border: none;
		padding: 10px;
		margin: 0;
		cursor: pointer;
		position: absolute;
		left: calc(5% - 10px);
		top: 50%;
		transform: translateY(-50%);
		line-height: 0;
		display: block;
		z-index: 1001;
	}

	.mobile-menu-button svg {
		width: 25px;
		height: 25px;
	}

	.mobile-menu-button .icon-close,
	.mobile-menu-button.open .icon-hamburger {
		display: none;
	}

	.mobile-menu-button.open .icon-close {
		display: block;
	}

	/* Full screen below the header bar (dvh so mobile browser toolbars don't cut it off) */
	#mobile-menu {
		width: 100%;
		height: calc(100vh - 70px);
		height: calc(100dvh - 70px);
		overflow-y: auto;
		background: #fff;
		text-align: center;
		box-sizing: border-box;
		padding: 0;
		position: absolute;
		top: 100%;
		left: 0;
		float: none;
		display: none;
	}

	/* Centre the links vertically. Done on the inner div because slideToggle
	   puts an inline display: block on #mobile-menu */
	#mobile-menu .mobile-nav {
		min-height: 100%;
		padding: 30px 0;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	#mobile-menu ul {
		list-style: none;
		margin: 0;
	}

	#mobile-menu ul li {
		text-align: center;
		padding: 0 5%;
		margin: 0;
		float: none;
	}

	#mobile-menu ul li a {
		font-size: 25px;
		line-height: 55px;
		text-transform: none;
		display: block;
	}

	#mobile-menu .sub-menu {
		margin: 0 0 15px !important;
		display: none;
	}

	#mobile-menu .sub-menu li a {
		font-size: 18px;
		line-height: 40px;
		text-transform: none;
	}

	#mobile-menu .menu-item-has-children > a {
		display: inline-block;
	}

	#mobile-menu .submenu-toggle {
		background: none;
		color: inherit;
		font-size: 14px;
		line-height: 1;
		border: none;
		padding: 0;
		margin-left: 10px;
		cursor: pointer;
	}

	#mobile-menu .menu-item.open > .sub-menu {
		display: block;
	}

}


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

	.desktop-only {
		display: none !important;
	}

	.mobile-only {
		display: block !important;
	}
	
	h1 {
    	font-size: 45px;
    	line-height: 55px;
	}
	
	.cols {
		flex-direction: column;
	}

	.col-1-2, .col-1-3, .col-2-3, .col-4-12, .col-8-12 {
		width: 100%;
	}

	.full-height, #principles .background-row {
    	min-height: 250px !important;
	}
	
	.narrow-row {
    	width: 100%;
		padding: 0 30px;
		box-sizing: border-box;
	}

	.left-col, .right-col {
		padding: 0 !important;
	}

	.post-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.padding-top-bottom {
    	padding: 70px 0;
	}
	
	.fixed-background {
		background-attachment: inherit;
	}
	
	body.home .main-content {
    	padding-top: 70px;
	}
	
	#hero {
    	height: auto;
	}
	
	#hero .right {
		display: none !important;
	}
	
	#hero .left {
		background: #000000 var(--hero-image) !important;
    	background-size: cover !important;
		box-shadow: inset 10000px 0 0 0 rgb(12 12 12 / 40%);
		padding: 70px 30px !important;
	}
	
	#hero h2 {
    	font-size: 21px;
    	line-height: 31px;
		margin-bottom: 0 !important;
	}
	
	#sold {
    	height: 150px !important;
	}
	
	.address-box {
    	padding: 50px 30px;
    	position: inherit;
	}
	
	#about .difference-row .col-1-3 {
	    width: 100%;
	    margin: 0 0 50px;
	}
	
	#team .team-photo, #team .right-col .team-photo {
    	text-align: center;
	}
	
	#team .right-col h4, #team .right-col h5 {
		text-align: left;
	}

	#team .col-1-2 + .col-1-2 {
		margin-top: 50px;
	}
	
	body.single .padded-row {
    	width: calc(100% - 60px);
	}
	
	#contact .right {
		order: 1 !important;
	}
	
	#contact .left {
		order: 2 !important;
	}
	
	#contact .left .contact-info {
    	width: calc(100% - 60px);
    	padding: 50px 30px;
    	position: inherit;
	}
	
	#contact .hmapsprem_map_container {
    	height: 300px !important;
    	min-height: 300px !important;
	}
	
	#important {
		padding: 30px 0 50px;
	}
	
	#important h2 {
		font-size: 30px;
    	line-height: 40px;
	}
	
	#important h3 {
	    font-size: 23px;
	    line-height: 33px
	}
	
	#important .page-header {
		flex-direction: column-reverse;
		align-items: flex-start;
	}
	
	.footer-col {
    	width: 100%;
		text-align: center !important;
	}
	
	footer ul, .footer-col .has-text-align-left {
    	text-align: center;
	}
	
	.footer-col.right {
		padding-top: 20px !important;
	}
	
}


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

	.post-grid {
		grid-template-columns: 1fr;
	}

}
