/*------------------------
--- TABLE OF CONTENTS: ---
--------------------------
# Accessibility
# Reset
# Typography
# General
# Responsive
	## 1399-1200px (XL)
	## 1199-992px (LG)
	## 991-768px (MD)
	## 767 & below
--------------------------------------------------------------*/

/*-----------------------*/
/*--- # Accessibility ---*/
/*-----------------------*/

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f0f0f1;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    -webkit-clip-path: none;
    clip-path: none;
    color: #0b3279;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}

/*-----------------------*/
/*--- # Reset         ---*/
/*-----------------------*/

/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

body {
  /* 3. Add accessible line-height */
  line-height: 1.5;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 7. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/*
  9. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

/*-----------------------*/
/*--- # Typography    ---*/
/*-----------------------*/

@font-face {
    font-family: 'Istok';
    src: url('../fonts/hinted-Istok-BoldItalic.woff2') format('woff2'),
        url('../fonts/hinted-Istok-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Istok';
    src: url('../fonts/hinted-Istok-Bold.woff2') format('woff2'),
        url('../fonts/hinted-Istok-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Istok';
    src: url('../fonts/hinted-Istok-Italic.woff2') format('woff2'),
        url('../fonts/hinted-Istok-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Istok';
    src: url('../fonts/hinted-Istok-Regular.woff2') format('woff2'),
        url('../fonts/hinted-Istok-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
	font-size: 20px;
	scroll-behavior: smooth;
}

body {
	font-family: 'Istok', sans-serif;
	font-size: 1rem;
	line-height: 1.2;
	color: #393939;
	overflow-x: hidden;
}

p {
	font-size: .95rem;
	font-weight: bold;
	margin-bottom: 10px;
}

p:empty {
	display: none;
}

h1, h2, h3 {
	font-weight: bold;
}

h1 {
	font-size: 2.25rem;
	color: #E22726;
}

h2 {
	font-size: 1.75rem;
	color: #E22726;
}

h3 {
	font-size: 1.25rem;
	margin-bottom: 10px;
}

.small {
	font-size: .75rem;
}

.text-uppercase {
	text-transform: uppercase;
}

.text-end {
	text-align: right;
}

a {
	color: #393939;
	border-bottom: 1px solid transparent;
	transition: all .4s ease-out;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: #E22726;
	border-color: #E22726;
}

/*-----------------------*/
/*--- # General       ---*/
/*-----------------------*/
.page-wrap {
	overflow: hidden;
	background-image: url('../images/toronto-bg.jpg');
	background-size: cover;
	position: relative;
}

.page-wrap:before {
	content: '';
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background: linear-gradient(to left, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 45%);
}

.top-banner {
	background-color: black;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding-top: 10px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

.banner-pic {
	margin-left: 50px;
	width: 140px;
}

.banner-pic img {
	max-width: 100%;
}

.banner-text {
	width: calc(100% - 190px);
	padding-left: 50px;
	padding-right: 50px;
	text-align: center;
}

.banner-text p {
	color: white;
	font-weight: bold;
	text-transform: none;
	margin-bottom: 0;
	font-size: 24px;
}

.banner-text a {
	color: #e22726;
	text-decoration: none !important;
	border: none !important;
}

.banner-text a:hover {
	color: #C4D7E5;
	text-decoration: none !important;
	border: none !important;
}

.page-inner-mobile {
	display: none;
}

.page-inner {
	min-height: 100vh;
	display: flex;
	justify-content: space-between;
	padding-top: 130px;
	padding-right: 40px;
	margin: 0 -15px;
}

.page-left,
.page-middle,
.page-right {
	padding: 0 15px;
	position: relative;
	z-index: 1;
}

.page-left {
	width: 40%;
	min-width: 40%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding-top: 200px;
}

.page-middle {
	width: 30%;
	min-width: 30%;
	display: flex;
	align-items: flex-end;
}

.page-right {
	padding-top: 200px;
	width: 30%;
	min-width: 30%;
}

.page-left h1 {
	padding-left: 40px;
	margin-bottom: 90px;
}

.landing-logo {
	position: relative;
	z-index: 1;;
}

.landing-logo:before {
	content: '';
	position: absolute;
	width: 75%;
	aspect-ratio: 1/1;
	border-radius: 100%;
	background-color: #e22726;
	z-index: -1;
	left: -80px;
}

.landing-logo img {
	height: auto;
	width: 100%;
}

.landing-brokerage {
	margin-top: 150px;
	text-align: right;
	display: flex;
	justify-content: flex-end;
	margin-bottom: 15px;
}

.landing-brokerage img {
	height: 100px;
	width: auto;
}


/* Responsive */
@media (max-width: 1500px) {
	p span {
		display: block;
	}

	.delim {
		display: none;
	}
}

@media (max-width: 1199px) {
	.page-inner {
		padding-right: 0;
	}

	h1 {
		font-size: 1.75rem;
		padding-left: 15px !important;
	}

	h2 {
		font-size: 1.5rem;
	}

	.page-right {
		padding-right: 30px;
	}
}

@media (max-width: 991px) {
	.page-wrap:before {
		background: none;
		background-color: rgba(255, 255, 255, .5);
	}

	.page-inner {
		display: none;
	}

	.page-inner-mobile {
		display: block;
		text-align: center;
		position: relative;
		padding: 165px 45px 0;
	}

	.kate-img {
		border-bottom: 2px solid #e22726;
		width: 50%;
		margin: 30px auto 20px;
	}

	.kate-img img {
		width: 80%;
		height: auto;
		margin: 0 auto;
	}

	.page-bottom {
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
		margin-top: 70px;
	}

	.landing-logo {
		width: 65%;
		min-width: 65%;
		padding-right: 15px;
	}

	.landing-brokerage {
		margin-bottom: 30px;
		margin-top: 0;
	}
}

@media (max-width: 767px) {
	.page-inner-mobile {
		padding: 33px 15px 0;
	}

	h1 {
		display: none;
	}

	.mobile-top-wrap {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.kate-img {
		width: 80%;
		order: 2;
		margin-top: 45px;
	}

	.page-bottom {
		margin-top: 50px;
	}

	.landing-logo {
		width: 70%;
		min-width: 70%;
	}

	.landing-brokerage {
		margin-bottom: 20px;
	}

	.top-banner {
		position: relative;
		z-index: 2;
		flex-direction: column-reverse;
	}

	.banner-pic {
		width: 100px;
		margin-left: 0px;
	}

	.banner-text {
		padding-left: 15px;
		padding-right: 15px;
		width: 100%;
	}

	.banner-text p {
		font-size: 20px;
		margin-bottom: 10px;
	}
}