
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;900&family=Open+Sans:ital,wght@1,300&&family=Montserrat:wght@300;400;600&display=swap');
@import url('https://network.2percentrealty.ca/themes/2023_3per_franchise_realtor_usa/../../css/css_assets/2per/2023/stellarnav.css');
@import url('https://network.2percentrealty.ca/themes/2023_3per_franchise_realtor_usa/css/themeNav.css');
/* Globals
----------------------------------------------- */	
:root {/*hsl values */
	--primaryColor: 286, 54%, 34%; 
	--secondaryColor: 28, 76%, 54%;
	--thirdColor: 48, 96%, 61%;
	
	/* Generic hsl color names - adjust to match your brand needs*/  
	--orange: 27, 92%, 58%;
	--red: 1, 62%, 50%;
	--blue: 199, 100%, 33%;
	--green: 95, 47%, 50%;
	--yellow: 40, 100%, 60%;
	--darkBlue: 200, 100%, 11%;
	--purple: 270, 61%, 24%;
	--darkPurple: 270, 62%, 25%; 
	

}
body {
	font-family: 'Open Sans', sans-serif;
	font-size: 1em;
	line-height: 110%;
	color: rgb(6,38,58);
	}
address {
	font-style: normal;
	color: hsl(var(--primaryColor));
	font-weight: 400;

}	
.mobile {
	display: block;
	}
		
.container {
	width: 100%;
	}
	
.content {
	max-width: 1700px;
	margin: 0 auto;
	padding: 0 2em;
	overflow: hidden;
	position: relative;
	}
	
.content.overflow {
	overflow: visible;
	}
	
.dropShadow {
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	}
	
.main {
	min-height: 500px;
	/*margin-top: 120px;*/
	margin-top: 14vw;
	}

p {
	margin: 0 0 1em 0;
	}
	
h1,
h2 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	color: hsl(var(--primaryColor));
	}

a,
a:visited {	
	color: rgb(255,255,255);
	}
		
a:hover {
	color: hsl(var(--primaryColor));
	}
	
a.button.yellowButton,
input.button.yellowButton {
	height: auto;
	font-family: 'Lato', sans-serif;
	font-size: 1.2em;
	font-weight: 400;
	color: hsl(var(--primaryColor));
	background: hsla(var(--thirdColor),1);
	border-radius: 16px;
	padding: 0.2em 1em;
	}
	
a.button.yellowButton:hover,
input.button.yellowButton:hover {
	color: rgb(255,255,255);
	background: hsla(var(--primaryColor),1);
	}
	
a.button.blueButton {
	height: auto;
	font-family: 'Lato', sans-serif;
	font-size: 1em;
	font-weight: 400;
	color: rgb(255,255,255);
	background: hsla(var(--primaryColor),1);
	border-radius: 16px;
	padding: 0.2em 1em;
	}
	
a.button.blueButton:hover {
	color: rgb(255,255,255);
	background: hsla(var(--secondaryColor),1);
	}

	a.button.orangeButton {
	height: auto;
	font-family: 'Lato', sans-serif;
	font-size: 1em;
	font-weight: 400;
	color: rgb(255,255,255);
	background: hsla(var(--secondaryColor),1);
	border-radius: 16px;
	padding: 0.2em 1em;
	}
	
a.button.orangeButton:hover {
	color: rgb(255,255,255);
	background: hsla(var(--primaryColor),1);
	}
	
a.buttonCenter,
input.buttonCenter {
	display: block;
	margin: 1em auto;
	}
	
a.buttonMed,
input.buttonCenter {
	width: 220px;
	}
	
a.buttonAuto,
input.buttonAuto {
	width: auto;
	}
	
.sec50 {
	display: grid;
	grid-template-rows: auto;
	justify-content: space-evenly;
	grid-template-columns: 50% 50%;
	}
	
.blueGrad {
	background: hsl(var(--primaryColor));
	background: linear-gradient(0deg, hsla(var(--secondaryColor),1) 35%, hsla(var(--darkPurple),1) 100%);
	}	
	
.2perBlue {
	color: rgb(6,38,58);
	}
	
.2perGreen {
	color: rgb(122,192,65);
	}
	
.indicator,
.indicator.tActive {
	width: 32px;
	height: 32px;
	text-align: center;
	line-height: 100%;
	color: hsl(var(--primaryColor));
	background: rgb(255,255,255);
	background-image: none;
	border-radius: 50%;
	margin: 0;
	}
	
.indicator::after {
	content: '\002B';
	}

.indicator.tActive::after {
	content: '\2212';
	}
	
.pageTitle {
	text-align: center;
	margin: 0 0 1.2em 0;
	}
	
.whiteBG {
	background: rgb(255,255,255);
	}
	
		
/* Header
----------------------------------------------- */
.header {
	/*height: 120px;*/
	padding: 1em 0;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	background: #fff;
	}
	
.headerGrid {
	display: grid;
	grid-template-rows: auto;
	justify-content: space-evenly;
	grid-template-columns: 15% 70% 15%;
  	grid-template-areas: 
    	"headLogo nav contact";
	position: relative;
	}

.headerGrid .logo {
	grid-area: headLogo;
	}
		
.headerGrid .logo img {
	width: 40%;
	}

.headerGrid .nav {
	grid-area: nav;
	}
	
.headerGrid .contact {
	grid-area: contact;
	}
			
a.button.contact {
	width: 150px;
	height: 40px;
	padding: 3px 5px;
 	position: absolute;
 	top: 50%;
 	right: 0;
	transform: translateY(-50%);
	margin: 0;
	z-index: 3;
	}

	/*Content
	---------------------------------------------*/
	.content-frame {
  margin: 0 auto;
	box-sizing: border-box;
  border: 1px solid hsl(var(--darkPurple));
  border-radius: 10px;
  padding: 20px;
  display: flex;
	flex-wrap: wrap; 
  align-items: flex-start; 
  justify-content: flex-start;
	margin-bottom: 20px; 
}


@media only screen and (max-width: 767px) {
  .content-frame {
    flex-direction: column;  /* Vertical stacking for mobile */
  }
}
/* Footer
----------------------------------------------- */
.hiring {
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	}
	
.innovative,
.hiringLink {
	padding: 1.2em 0;
	}
	
.innovative {
	font-family: 'Lato', sans-serif;
	color: hsla(var(--primaryColor), 1);
	font-weight: 400;
	font-size: 2.5vw;
	line-height: 110%;
	}

.hiringLink {
	text-align: right;
	}

.canLarge {
	width: 55%;
	}
		
.footerGrid {
	display: grid;
	grid-template-rows: auto;
	justify-content: space-evenly;
	grid-template-columns: 8% 60% 30%;
	grid-gap: 1%;
	padding: 1em;
  	grid-template-areas: 
    	"footerLogo revolution footAddy";
	}

.footLogo {
	grid-area: footerLogo;
	}
	
.footerLogo img {
	width: 100%;
	}
	
.footAddy {
	text-align: right;
	font-family: 'Lato', sans-serif;
	color: hsl(var(--primaryColor));
	font-weight: 400;
	font-size: 1em;
	line-height: 110%;
	grid-area: footAddy;
	}
	
.revolution {
	width: 50%;
	grid-area: revolution;
	}

.logo img,	
.revolution img {
	bottom: 7%;
	}
	
.tm {
	font-size: 0.6em;
	line-height: 110%;
	padding-bottom: 3em;
	}

	/* Footer USA / Canada 
------------------------------------------------*/
footer {
  width: 100%;
  padding: 20px;
	background: White;
	box-sizing: border-box; 
	box-shadow: 0 -20px 20px -20px rgba(0, 0, 0, 0.4);
}
footer a {
	color: hsl(var(--darkPurple));
	text-decoration: none;
	line-height: 2em;
	font-weight: 400;
}
footer a:hover {
	color: hsl(var(--secondaryColor));
	text-decoration: underline;
}

footer a:visited {
	color: hsl(var(--darkPurple));
}
footer h1 {
	font-size: calc(42px + (38 - 20) * ((100vw - 1366px) / (2560 - 1366))); /* min-max calcuation to scale from base 20px to max 36px, between 1366px viewport up to 2560viewport*/
  color: hsl(var(--primaryColor));
}
footer h2, h3 {
	color: hsl(var(--primaryColor));
}
/* icon links */
a.fb-link {
  padding-left: 24px;  /* Make room for the icon */
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
	text-align: center;
}
a.fb-link::before {
  content: "";  /* This is necessary for the pseudo-element to work */
  position: absolute;
  left: 0;
  width: 16px;
  height: 16px;
  background-image: url("https://network.2percentrealty.ca/themes/2023_3per_corporate/structure/icon_purple_facebook.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
a.x-link {
  padding-left: 24px;  /* Make room for the icon */
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
a.x-link::before {
  content: "";  /* This is necessary for the pseudo-element to work */
  position: absolute;
  left: 0;
  width: 16px;
  height: 16px;
  background-image: url("https://network.2percentrealty.ca/themes/2023_3per_corporate/structure/icon_purple_twitter.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
a.insta-link {
  padding-left: 24px;  /* Make room for the icon */
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
a.insta-link::before {
  content: "";  /* This is necessary for the pseudo-element to work */
  position: absolute;
  left: 0;
  width: 16px;
  height: 16px;
  background-image: url("https://network.2percentrealty.ca/themes/2023_3per_corporate_usa/structure/icon_purple_insta.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Rows */
.footer-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1700px;
}

/* Columns */
.footer-col {
  flex-direction: column;
  display: flex;
  justify-content: flex-start;
	box-sizing: border-box;
}

/* Row 1 Styles */

.footer-row1 .first-three-cols {
	display: flex;
	width: 40%;
	margin: 0 auto;
}
.footer-row1 .column {
	width: 30%;
	margin: 0 5px;
	
}

.footer-row1 .footer-col4 {
  width: 50%;
	display: flex;
	flex-direction: column;
  text-align: center;
	align-items: center;
}
/* Button Wrapper */
.footer-row1 .button-wrapper {
  display: flex;
  justify-content: center;
}
@media screen and (max-width: 768px) {
.footer-row1 h2 {
	font-size: 18px;
}
.footer-row1 a {
	line-height: 20px;
	margin-bottom: 20px;
}
	.footer-row1 .button-wrapper {
	flex-direction: column;
	width: 80%;
	align-items: center;
}
.footer-row1 .first-three-cols {
	display: flex;
	flex-direction: row;
	width: 100vw;
	text-align: center;
	
}
.footer-row1 .footer-col4 {
  width: 100vw;
	display: flex;
	flex-direction: column;
  text-align: center;
	align-items: center;
}
}

/* Row 2 Styles */
.footer-row2 {
	width: 100%;
}
.footer-row2 .footer-col5 {
  width: 75%;
}
.footer-row2 .footer-col6 {
  width: 25%;
  text-align: right;
}
/* SVG Wrapper */
.svg-wrapper {
  display: flex;
  flex-wrap: wrap;
}
.three-percent-footer-logo {
	width: 50%;
	min-width: 100px;
	max-width: 150px;
	margin-right: 20px;
	margin-top: 20px;
}

.three-percent-footer-tag {
	width: 30%;
	min-width: 200px;
	max-width: 500px;
}

@media screen and (max-width: 768px) {
 .svg-wrapper {
    align-items: center;
		flex-direction: column;
  }
	.footer-row1 .column {
		width: 100%;
	}
	.footer-row2 .footer-col5 {
  width: 100%;
  }
	.footer-row2 .footer-col6 {
  width: 100%;
  text-align: center;
}
.three-percent-footer-logo {
	margin: 20px;
}
.three-percent-footer-tag {
	width: 100%;
 }
address {
	margin: 20px;
} 
}
.canadas-largest-logo {
	width: 50%;
}
@media screen and (max-width: 768px) {
	.canadas-largest-logo {
	width: 80%;
}
}

/* Row 3 Styles */
.footer-row3 .footer-col7 {
  
  width: 100%;
  text-align: left;
}

/* Forms
----------------------------------------------- */	

	
@media handheld, only screen and (min-width: 1200px) {
.main {
	margin-top: 180px;
	}	
}

@media handheld, only screen and (max-width: 1023px) {
/* Global
----------------------------------------------- */
.sec50 {
	grid-template-columns: 1fr;
	}

/* Header
----------------------------------------------- */
.headerGrid {
  	grid-template-areas: 
    	"headLogo contact nav";
	}
		
/* Footer
----------------------------------------------- */
.hiring,
.hiringLink {   
	text-align: center;
	}
	
.innovative {
	font-size: 4vw;
	padding: 1em 0;
	}
	
.footerGrid {
	grid-template-columns: 12% 56% 30%;
	}	

.revolution {
	width: 70%;
	}
	

}

@media handheld, only screen and (max-width: 900px) {
/* Global
----------------------------------------------- */
.content {
	padding: 0 4vw;
	}
	

	
.main {
	margin-top: 20vw;
	}


	
/* Header
----------------------------------------------- */
.headerGrid {
    grid-template-columns: 28% 44% 28%;
    }
    
a.button.contact {
	width: 120px;
	margin: 0 auto;
	position: relative;
	right: auto;
	font-size: 0.8em;
	height: 25px;
	line-height: 25px;
	padding: 3px 5px;
	}

/* Homepage template styles */

	

