/*
Theme Name: HPI
Author: Interpix Design Inc.
Author URI: https://interpixdesign.com/
Description: HPI is a custom theme for Teranet.
Version: 1.8.7
Version Date: 2023-11-03
Text Domain: hpi
*/

/*
	Colours:
	#5A5A5A		Grey - Text
	#0076BF		Blue - Heading, button, link
*/

/* ================================== */

/*
.cc_control_target{ display: none; }
.cc_control_target.selected{ display: block; }
*/

/* TEMP */
#pg-26-1, #pg-562-1,
#pg_reports #block-2,
#pg_pr #block-2,
#pg_blog #block-2{ display: none !important; }
/* TEMP */

.mobile,
.mobile_i,
.mobile_ib{ display: none; }


html, body{
	font-family: "proxima-nova", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.6em;
	background: #f6f6f6;
	color: #5a5a5a;
}


h1,
div.h1{
	margin-bottom: 22px;
	font-size: 21px;
	font-weight: 500;
	line-height: normal;
}
/* changed from #0076BF to #01578c */
h2{
	font-size: 20px;
	line-height: 1.1em;
	color: #01578c;
	font-weight: normal;
}

h3{
	font-size: 18px;
	line-height: 1.1em;
	font-weight: 500;
}
/* changed from #0076BF to #01578c */
div.subheading{
	color: #01578c;
	margin-bottom: 1.2em;
}

strong{
	font-weight: 600;
}

a.screen-reader-text{
	position: relative;
	overflow: hidden;
}

a.screen-reader-text span{
	position: absolute;
	left: -3000px;
}
/* changed from #0076BF to #01578c */
a,
span.eml{ color: #01578c; text-decoration: none; }
a:hover,
span.eml:hover{ text-decoration: underline; }

a.view_all{
	display: block;
	margin-top: 15px;
}

a.button,
input[type='button'].button,
input[type='submit'].button,
form input[type="button"]{
	border-radius: 4px;
	border: none;
	padding: 11px 20px 11px 20px;
	display: inline-block;
	font-size: 16px;
	line-height: 16px;
	text-decoration: none;
	background: #0076bf;
	color: white;
	cursor: pointer;
}

a.button.disabled,
input[type='button'].button.disabled,
input[type='submit'].button.disabled{
	background: #cccccc;
	color: #eeeeee;
	cursor: text;
}

a.button.small{
	padding: 4px 8px 4px 8px;
	font-size: 14px;
	line-height: 14px;
}
/* changed from #0076BF to #01578c */
span.eml{
	display: inline-block;
	color: #01578c;
	cursor: pointer;
}

span.eml span{
	display: inline-block;
}

span.eml span:hover{
	text-decoration: underline;
}

span.eml noscript:after{
	line-height: inherit;
	display: inline-block;
	content: "Enable Javascript";
	color: white;
	background: #dd4444;
	padding: .1em .4em .1em .4em;
	font-size: inherit;
	border-radius: 3px;
}

ol.page_index{ margin: 0 0 50px 30px; }
ol.letter li{ list-style: lower-alpha; }
ol.roman li{ list-style: lower-roman; }

section.privacy div.last_update{ position: relative; top: -1.2em; font-style: italic; }
section.privacy section{ margin-bottom: 30px; }
table.privacy td{ padding: 8px; }
table.privacy thead td{
	color: white;
	background: #0076BF;
}

table.privacy tbody tr:nth-child( even ) td{ background: #f0f0f0; }

table.privacy ul{ margin-bottom: 0; }

article img{
	max-width: 100%;
	height: auto;
}

div.aoFormContainer table{
	width: 100%;
}

div.aoFormContainer td{
	padding: 2px 0 5px 0;
}

div.aoFormContainer table table td:first-child{
	padding-right: 8px;
}

div.aoFormContainer input[type="text"],
div.aoFormContainer input[type="email"],
div.aoFormContainer textarea{
	width: 100%;
	box-sizing: border-box;
}

div.aoFormContainer textarea{
	height: 120px;
	border-color: #d0d0d0;
}


/* PAGE */

#page{
	min-width: 1020px;
	max-width: 1340px;
	overflow: hidden;
	margin: 0 auto 0 auto;
	padding: 0 4% 0 4%;
	border-left: 2px solid #e3e3e3;
	border-right: 2px solid #e3e3e3;
	background: white;
}

/* HEADER */

#page > header{
	height: 90px;
	position: relative;
	padding-top: 1px;
}

header #logo{
	width: 290px; /* Works for E and F */
	display: block;
	margin: 25px 0 0 2px;
	font-weight: bold;
}

header #logo img{
	width: 270px;
	height: auto;
}

img.logo,
img.logo_fr{
	width: 330px;
	margin: 0 0 10px 20px;
}

img.logo_fr{ width: 350px; }

div.alert{
	border: 1px solid rgba(0,0,0,0.2);
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f7931d+0,f7931d+50,e66c1b+51,e66c1b+100 */
	background: #f7931d; /* Old browsers */
	background: -moz-linear-gradient(left, #f7931d 0%, #f7931d 50%, #e66c1b 51%, #e66c1b 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, #f7931d 0%,#f7931d 50%,#e66c1b 51%,#e66c1b 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, #f7931d 0%,#f7931d 50%,#e66c1b 51%,#e66c1b 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7931d', endColorstr='#e66c1b',GradientType=1 ); /* IE6-9 */
}

div.alert div.inset{
	min-width: 1020px;
	max-width: 1340px;
	height: 98px;
	overflow: hidden;
	margin: 0 auto 0 auto;
	padding: 0 calc(4% + 2px) 0 calc(4% + 2px);
	color: white;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f7931d+0,f7931d+7,e66c1b+59,e66c1b+100 */
	background: #f7931d; /* Old browsers */
	background: -moz-linear-gradient(left, #f7931d 0%, #f7931d 7%, #e66c1b 59%, #e66c1b 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, #f7931d 0%,#f7931d 7%,#e66c1b 59%,#e66c1b 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, #f7931d 0%,#f7931d 7%,#e66c1b 59%,#e66c1b 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7931d', endColorstr='#e66c1b',GradientType=1 ); /* IE6-9 */
}


div.alert div.inset:before{
	content: '';
	width: 65px;
	height: 54px;
	display: block;
	float: left;
	margin: 22px 0 0 7px;
	background: no-repeat left -650px url(_img/sprites1.png);
}

div.alert div.inset:after{
	content: '';
	width: 237px;
	height: 78px;
	position: absolute;
	right: 3%;
	bottom: 0;
	background: no-repeat 97% bottom url(_img/alert_bars.png);
	z-index: -1;
}

div.alert div.inset div.text{
	margin-left: 100px;
	font-size: 21px;
	line-height: 1em;
	font-weight: 300;
}

div.alert div.inset div.text div.heading{
	margin: 29px 0 5px 0;
	line-height: 1em;
	font-weight: bold;
}

/*
#next_report div.alert{
	width: 100%;
	height: 170px;
	position: absolute;
	top: 55px;
	left: 0;
}

#next_report div.alert div.inset{
	min-width: 0;
	max-width: none;
	height: 170px;
	width: auto;
	padding: 0;
}

#next_report div.alert div.inset:before{
	margin: 44px 0 0 17px;
}

#next_report div.alert div.text{
	font-size: 16px;
	margin: 0 20px 0 120px;
}
*/

/* Accessibility Nav */

header #accessibility_nav{
	position: absolute;
	left: 760px;
	top: 4px;
	overflow: hidden;
	
}

header #accessibility_nav a{
	position: absolute;
	left: -2000px;
}

header #accessibility_nav a:focus{
	left: auto;
}

/* NAV */

header nav ul li,
footer nav ul li{
	list-style: none;
	margin: 0;
	padding: 0;
}

header nav{
	float: right;
	text-align: right;
}

header ul.menu{
	margin: 50px 0 0 0;
}

header ul.menu > li{
	display: inline-block;
	position: relative;
	margin-left: 50px;
	font-size: 17px;
	font-weight: 500;
}

header ul.menu > li > a{
	color: #666666;
}

header ul.menu li.lang-item{
	position: absolute;
	top: 0;
	right: 0;
}

header ul.menu li.lang-item a{
	display: inline-block;
	padding: 4px 20px 4px 20px;
	border-radius: 0 0 5px 5px;
	font-size: 10px;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 1px;
	background: #f6f6f6;
}

header ul.menu li.menu-item-has-children{
	text-align: left;
	
}

div.dropdown{
	width: 200px;
	display: none;
	min-height: 100px;
	position: absolute;
	top: 18px;
	left: -80px;
	z-index: 100;
}

header ul.menu #sub_newsroom{
	width: 175px;
	left: -35px;
}

header ul.menu #sub_solutions{
	width: 190px;
	left: -60px;
}

div.dropdown.selected,
li.selected div.dropdown{
	display: block;
}

body.no_js header ul.menu ul.sub-menu{
	display: none;
}

div.dropdown > span{
	height: 17px;
	overflow: hidden;
	display: block;
	background: center -210px no-repeat url(_img/sprites1.png);
}

div.dropdown ul{
	padding-top: 5px;
	padding-bottom: 5px;
	box-shadow: 5px 5px 8px 2px rgba(0,0,0,0.2);
	color: white;
	background: #0091d2; /* Old browsers */
	background: linear-gradient(to bottom, #0091d2 0%,#0076bf 100%);
}

div.dropdown li a{
	min-width: 120px;
	padding: 8px 30px 8px 10px;
	display: block;
	color: white;
	font-weight: 400;
	font-size: 13px;
}

div.dropdown li a:hover{
	background: #006eaf;
	text-decoration: none;
}

#main nav.pagination{
	position: relative;
	overflow: hidden;
}

#main nav.pagination h2{
	position: absolute;
	left: -3000px;
}

#main nav.pagination a,
#main nav.pagination span{
	display: inline-block;
	padding: 2px 1px 2px 1px;
	font-size: 12px;
	font-weight: 300;
}

#main nav.pagination a.next{ padding-left: 8px; }
#main nav.pagination a.previous{ padding-right: 8px; }

/* Footer */

#page > footer{
	position: relative;
	padding: 26px 10px 35px 25px;
	border-top: 1px solid #dddddd;
	border-bottom: 1px solid #dddddd;
	overflow: hidden;
	clear: both;
	background: #f6f6f6;
	color: #666666;
}

footer nav a,
#page #subfooter a{ color: #5a5a5a; }

footer nav{
	float: right;
}

/* Subheader */

#subheader{
	overflow: hidden;
	border-top: 1px solid #dddddd;
	border-bottom: 1px solid #dddddd;
	background: #f6f6f6;
	margin-bottom: 4px;
}

#subheader a{
	position: relative;
	overflow: hidden;
}

#subheader a span{
	position: absolute;
	left: -200px;
}

#subheader h1,
#subheader div.h1{
	margin: 14px 0 12px 28px;
	font-size: 24px;
	font-weight: 600;
}

/* Share / Social */

#subheader div.share{
	float: right;
	margin: 16px 20px 0 0;
}

div.share a.soc{
	width: 25px;
	height: 20px;
	display: block;
	float: right;
	margin: 1px 20px 0 10px;
	background: no-repeat url(_img/sprites1.png);
}

div.share a:hover{
	opacity: 0.8;
}

div.share a.share{ background-position: left -110px; }
div.share a.download{ background-position: left -130px; }
div.share a.tweet{ background-position: left -150px; }

div.share a.download{
	float: right;
}

section.report_by div.share{ margin-top: 0; padding-top: 4px; overflow: hidden; }
section.report_by div.share p{ float: left; }
section.report_by div.share a.soc,
section.report_by div.share span.IN-widget{ margin-left: 15px; top: -4px; position: relative; }

#pg_index-history a.download,
#pg_download-data a.download,
#pg_tracking-housing-prices-in-canada-why-methodology-matters a.download,
#pg_tracking-housing-prices-in-canada-why-methodology-matters-download a.download,
#pg_form-test a.download,
#pg_fr-form-test a.download{
	display: none;
}


/* Footer */

footer div.links{
	float: left;
}

footer a.hpi_logo{
	width: 77px;
	height: 68px;
	display: block;
	float: left;
	background: right -110px no-repeat url(_img/sprites1.png);
}

#page > footer a.button{
	margin-top: 15px;
	clear: left;
	float: left;
	color: white;
}


footer ul.primary-menu{
	margin-top: 8px;
	float: right;
	overflow: hidden;
	position: relative;
}

footer ul.primary-menu > li{
	width: 150px;
	height: 110px;
	float: left;
	padding: 2px 0 2px 20px;
	margin-left: 20px;
	border-left: 1px solid #e3e3e3;
}

footer ul.primary-menu > li > a{
	display: block;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 600;
}

footer ul.primary-menu > li.lang-item{
	width: auto;
	left: 614px;
	top: 25px;
	position: absolute;
	border-left: none;
	margin: 0;
	padding: 0;
}

footer ul.primary-menu > li.lang-item a{
}

footer ul.primary-menu ul.sub-menu{
	margin-top: 14px;
}

footer ul.sub-menu li a{
	display: block;
	line-height: 1.5em;
	font-weight: 300;
}

#founding_partners{
	height: 77px;
	position: relative;
	line-height: 82px;
	font-size: 13px;
	font-weight: 500;
	border-bottom: 1px solid #dddddd;
	text-transform: uppercase;
	letter-spacing: 2px;
}

#founding_partners div.icons{
	position: absolute;
	top: 0;
	right: 0;
}

#founding_partners a.teranet,
#founding_partners a.national_bank{
	width: 120px;
	height: 30px;
	display: block;
	float: left;
	margin: 28px 0 0 40px;
	background: left -550px no-repeat url(_img/sprites1.png);
}

#founding_partners a.national_bank{
	width: 105px;
	background-position: left -50px;
}

body.fr #founding_partners a.national_bank{
	width: 125px;
	background-position: left -80px;
}

#subfooter{
	margin: 10px 0 10px 0;
	font-size: 13px;
	font-weight: 600;
}

#subfooter a{
	display: inline-block;
}

#subfooter > a{
	margin-right: 15px;
}


#legal{
	display: inline-block;
	float: right;
	margin-left: 20px;
	font-weight: 300;
}


/* ---------------- */
/* PAGE SPECIFIC */
/* ---------------- */

/* HOME */

#pg_home #main{
	width: 100%;
	position: relative;
}

/* next_report / countdown */
#countdown div span {
    color: #000;
}
#next_report{
	width: 100%;
	padding: 20px 0 0 0;
	position: relative;
}

#next_report h2{
	margin: 0 0 6px 0;
	font-size: 30px;
	line-height: 1.0em;
	color: #5a5a5a;
}

#next_report h2 span{
	font-weight: bold;
	color: #0076BF;
}

#upcoming_dates{
	position: relative;
	z-index: 2;
}

#next_report #upcoming_dates,
#next_report_date{
	position: relative;
	margin-right: 15px;
	float: left;
	font-size: 14px;
}

#next_report #upcoming_dates{
	text-align: center;
}

#next_report #upcoming_dates_trigger{ padding: 3px 8px 3px 8px; }

#next_report #upcoming_dates_trigger:hover,
#upcoming_dates_trigger.selected{
	text-decoration: underline;
}

body.missing_data #upcoming_dates_trigger{
	display: none;
}

#upcoming_dates_list{
	width: 200px;
	position: absolute;
	top: 20px;
	left: -30px;
	text-align: center;
}

#next_report #upcoming_dates_list{ left: -40px; }

#upcoming_dates_list ul{
	padding: 0 0 7px 0;
	background: linear-gradient(to bottom, #009ce2 0%,#0076bf 100%);
}

#upcoming_dates_list ul li{
	margin: 0;
	list-style: none;
	font-size: 13px;
	line-height: 33px;
	font-weight: 500;
}

#upcoming_dates_list ul li.title{
	letter-spacing: 1px;
	line-height: 40px;
	text-transform: uppercase;
	background: #008ed0;
}

article div.callout{
	border-top: 3px solid #dddddd;
	border-bottom: 1px solid #dddddd;
	margin: 10px 0 0 0;
	padding: 14px 0 12px 0;
	overflow: hidden;
	clear: both;
	font-size: 25px;
	font-weight: 300;
	line-height: 39px;
}

article div.callout div.right{
	float: right;
}

#next_report div.callout{
	margin: 10px 0 0 0;
	padding: 8px 0 12px 0;
	overflow: hidden;
	clear: both;
	font-size: 18px;
	line-height: 39px;
}

#next_report div.callout a.button{
	float: right;
}

#countdown{
	padding: 25px 0 14px 0;
	overflow: hidden;
	clear: both;
}

#countdown > div{
	width: 23.33%;
	margin-left: 2%;
	float: left;
	text-align: center;
	font-size: 10px;
	line-height: 10px;
	text-transform: uppercase;
}

#countdown > div:first-child{
	margin-left: 0;
}

#countdown > div > div{
	height: 77px;
	border-radius: 3px;
	font-size: 50px;
	font-weight: 300;
	margin-bottom: 9px;
	line-height: 77px;
	/* background: #dfdfdf; Old browsers */
	/* background: linear-gradient(to bottom, #dfdfdf 0%,#c0c0c0 100%); */
	background: #c0c0c0;
	color: #000000;
}

@media only screen and (max-width: 1250px){
	#next_report h2{ font-size: 25px; }
	#next_report div.callout{ font-size: 15px; }
	#countdown > div > div{ font-size: 40px; }
}

#pg_home div.panel-grid{
	padding: 0;
	margin: 0;
}

#pg_home div.row{
	padding: 25px 0 25px 0;
	border-top: 2px solid #dddddd;
}

#pg_home #row1{ padding: 0; }

#pg_home div.panel-grid-cell{
	width: 34%;
	padding: 0 0 0 30px;
}

#pg_home div.panel-grid-cell:first-child{
	width: 32%;
	padding-left: 0;
}

#pg_home #row1 > div.panel-grid-cell:first-child{
	width: 66%;
	height: 290px;
	padding: 25px 30px 25px 30px;
	overflow: hidden;
	background: #f6f6f6;
}

#pg_home #row2 div.panel-grid-cell{
	height: 185px;
	overflow: hidden;
	border-right: 1px solid #dddddd;
}

@media only screen and (min-device-width: 768px){
	#pg_home #row2 div.panel-grid-cell:first-child{ width: 66%; }
	#pg_home #row2 div.panel-grid-cell:first-child .post div.icon{ padding-left: 20px; width: 12%; }
}

#pg_home #row2 div.panel-grid-cell:last-child{
	border-right: none;
}

#pg_home #solutions_tiles div.tile{
	height: auto;
	padding: 25px 30px 25px 30px;
	background: #f6f6f6;
}

#pg_home #solutions_tiles div.tile header{
	font-size: 28px;
	line-height: 1.1em;
	margin-bottom: 15px;
}

#pg_home #solutions_tiles div.tile:hover header a{
	text-decoration: underline;
}

#pg_home #promo_tiles div.panel-grid-cell{
	width: 50%;
}

#pg_home #promo_tiles div.panel-grid-cell:first-child{
	padding-right: 15px;
}

#pg_home #promo_tiles div.panel-grid-cell:last-child{
	padding-left: 15px;
}

#pg_home #promo_block{
	
}

#pg_home #promo_block div.panel-grid-cell:first-child{
	width: 100%;
}

#pg_home #promo_block div.white_paper{
	min-height: 100px;
	overflow: hidden;
	color: white;
	background: #0076BE right top no-repeat url(/wp-content/uploads/2021/09/HPI-Whitepaper-Banner-Desktop.jpg);
}

#pg_home #promo_block div.white_paper div.heading,
#pg_home #promo_block div.white_paper div.body{
	width: 25%;
	min-width: 300px;
	float: left;
	box-sizing: border-box;
	padding: 25px 30px 25px 30px
}

#pg_home #promo_block div.white_paper div.body{
	width: calc(77% - 300px);
	min-width: 720px;
}

#pg_home #promo_block div.white_paper div.heading div.text{
	font-size: 24px;
	font-weight: bold;
	line-height: 1.2em;
}

#pg_home #promo_block div.white_paper div.body p,
#pg_home #promo_block div.white_paper div.body li{
	font-size: 16px;
	line-height: 1.2em;
	margin-bottom: 12px;
}

#pg_home #promo_block div.white_paper div.body li{
	margin-left: 21px;
}

#pg_home #promo_block div.white_paper a.button,
#promo_block_side a.button,
#promo_dialog a.button{
	margin-top: 15px;
	background: white;
	color: #0076BE;
}


/* Promo Block Side */

#promo_block_side{
	width: 100%;
	position: relative;
	margin-bottom: 20px;
	box-sizing: border-box;
	line-height: 0;
	color: white;
	background: #0C61B1;
}

#promo_block_side > img{
	max-width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
}

#promo_block_side div.en,
#promo_block_side div.fr{
	position: absolute;
	top: 30%;
	left: 0;
	padding: 15px;
	margin-top: -13%;
	line-height: 1em;
}

#promo_block_side div.text{
	width: 80%;
	font-size: 24px;
	line-height: 1.2em;
	font-weight: bold;
}

#promo_block_side a.button{
	margin-top: 30px;
}

#promo_block_side div.fr{
	display: none;
}

body.fr #promo_block_side div.en{ display: none; }
body.fr #promo_block_side div.fr{ display: block; }
body.fr #promo_block_side div.text{ width: 80%; font-size: 22px; line-height: 1.4em; }
body.fr #promo_block_side a.button{ margin-top: 25px; }

@media only screen and (max-width: 1399px){
	body.fr #promo_block_side div.text{ width: 90%;}
}

@media only screen and (max-width: 1299px){
	body.fr #promo_block_side div.text{ width: 100%; font-size: 20px; line-height: 1.4em; }
	#promo_block_side a.button{ margin-top: 15px; }
}


/* Promo Dialog */

#promo_modal{
	width: 100%;
	height: 100%;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba( 0,0,0,0.5 );
	z-index: 1000;
}

#promo_dialog{
	width: 720px;
	height: 384px;
	box-sizing: border-box;
	position: relative;
	opacity: 1;
	margin: 170px auto 0 auto;
	padding: 52px 60px 20px 80px;
	text-align: center;
	color: white;
	background: left bottom no-repeat url(/wp-content/themes/hpi/_img/promo_dialog.jpg);
	background-size: contain;
	background-color: #0076BD;
	box-shadow: 5px 5px 7px 8px rgba(0,0,0,0.1);
}

#promo_dialog div.en,
#promo_dialog div.fr{ display: none; }
body.en #promo_dialog div.en,
body.fr #promo_dialog div.fr{ display: block; }

#promo_dialog header{
	font-size: 24px;
	font-weight: bold;
	line-height: 1.15em;
	margin-bottom: 15px;
}

#promo_dialog div.text{
	text-align: center;
	line-height: 1.4em;
}

#promo_dialog div.text ul{
	text-align: left;
	line-height: 1.4em;
	margin: 20px 0 30px 0;
}

body.fr #promo_dialog div.text ul{
	margin-bottom: 20px;
}

#promo_dialog div.text ul li{
	margin-bottom: 19px;
}

#promo_dialog img{
	box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.4);
}

#promo_dialog button.close{
	width: 31px;
	height: 31px;
	display: block;
	position: absolute;
	top: -14px;
	right: -14px;
	border: none;
	padding: 0;
	background: no-repeat url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAfCAMAAAAocOYLAAAAWlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD////v7+8QEBBgYGAwMDDPz8+fn5/f39+/v7+vr6+Pj4+AgIBQUFByIiO1AAAAEHRSTlMAgDAQv+/fn49AIK9gUM9wNshpoQAAAM1JREFUKM+Fk1kOgzAMRAlhTaF1WAqU9v7XLDSMjCMqz5elN4m8JifZ1uxq0uRKzY2gwriY1gUJGStwRbHuKVPLX7NyNpSSxAZD1ypCDin9U/XjGQX1DBC6vbIjnrsRePCvEJSn5BbfjcB+paAtgxx/PjfDgSc61CaOSBiAkWFN0iAwZcmDpAEYXDSnnz1Sj98jc1QBXks8oQpwJzGq4A7nApM0tOgfcGSw3P9uxzAs6D/Pb3hzmesH81Pmr+yPsn/K/mr7r9+Pfn/a/X4BQM4uH3r35uQAAAAASUVORK5CYII=');
}

/* */


body.section-video article h2{
	margin: 24px 0 12px 0;
	font-weight: bold;
}

#video_tile{
	position: relative;
}

#video_tile .widget-title{
	position: absolute;
	color: white;
	top: 20px;
	left: 11%;
	font-size: 27px;
}
.siteorigin-widget-tinymce section h2, h2.widget-title {
    font-size: 18px;
    line-height: 1.1em;
	font-weight: 500;
	color: #5a5a5a;
}
#video_tile .so-widget-image{
	height: auto;
}

#video_tile a:after{
	content: '';
	display: block;
	width: 45px;
	height: 45px;
	position: absolute;
	top: 75px;
	left: calc( 50% - 22px );
	margin: 0;
	border-radius: 2px;
	background: rgba( 47, 141, 199, 0.75 ) no-repeat right -589px url(_img/sprites1.png);
}

#video_tile:hover:after{
	background-color: rgba( 47, 141, 199, 1 )
}

div.video_teaser{
	margin-bottom: 15px;
	overflow: hidden;
	font-size: 13px;
	line-height: 19px;
	clear: both;
	cursor: pointer;
}

body.section-video div.video_teaser{
	margin-bottom: 20px;
}

div.video_teaser div.heading{
	font-size: 18px;
	line-height: 1em;
	margin: 2px 0 6px 0;
	font-weight: bold;
	color: #01578c;
}

div.video_teaser:hover div.heading{
	text-decoration: underline;
}

div.video_teaser img{
	width: 120px;
	height: auto;
	float: left;
	min-height: 72px;
	background: gray;
}

div.video_teaser a{
	position: relative;
	float: left;
	margin-right: 15px;
	display: block;
}

div.video_teaser a:after{
	content: '';
	display: block;
	width: 37px;
	height: 37px;
	position: absolute;
	top: 18px;
	left: calc(50% - 19px);
	margin: 0;
	border-radius: 2px;
	background: rgba( 47, 141, 199, 0.75 ) no-repeat left -600px url(_img/sprites1.png);
}

/* ARCHIVE / BLOG / REPORTS / PR / RESEARCH */

#content{
	width: 66%;
	margin-right: 2%;
	float: left;
}

#pg_newsletter #content, #pg_infolettre #content,
#pg_contact #content, #pg_nous-contacter #content,
#pg_index-history #content, #pg_historique-de-lindice #content,
#pg_download-data #content, #pg_telechargement-des-donnees #content,
#pg_tracking-housing-prices-in-canada-why-methodology-matters #content,
#pg_les-indices-de-prix-de-maison-au-canada-lincidence-des-methodologies-sur-les-resultats #content,
#pg_tracking-housing-prices-in-canada-why-methodology-matters-download #content,
#pg_les-indices-de-prix-de-maison-au-canada-lincidence-des-methodologies-sur-les-resultats-telechargement #content,
#pg_form-test #content,
#pg_fr-form-test #content{
	width: 100%;
	margin-right: 0;
	float: none;
}

#content .post{
	padding: 20px 28px 20px 28px;
	background: #f6f6f6;
	margin-bottom: 4px;
}

#content .post div.icon{
	width: 13%;
	margin-right: 3.5%;
}

#content .post div.text{
	width: 83.5%;
}

#content footer{
	margin-bottom: 20px;
}

#cat_sidebar,
#sol_sidebar,
#video_sidebar{
	width: 32%;
	float: left;
	padding: 20px 0 20px 0;
}

#cat_sidebar #next_report{
	border-top: 3px solid #dddddd;
	padding-top: 10px;
	margin-bottom: 15px;
}

#cat_sidebar #next_report div.callout{
	border-bottom: 3px solid #dddddd;
}

#cat_sidebar div.cat_heading{
	border-bottom: 1px solid #DDDDDD;
	margin-bottom: 8px;
	padding-bottom: 5px;
	font-size: 28px;
	line-height: 1em;
	font-weight: bold;
}

#cat_sidebar section.widget_sow-image{
	padding-bottom: 15px;
	border-bottom: 1px solid #e2e2e2;
	margin-bottom: 23px;
}

#pg_blog #cat_sidebar section.widget_sow-image,
#pg_le_blog #cat_sidebar section.widget_sow-image{ border-bottom: none; }

/* Hide the widgets for the page the user is currently on. */
body.category-reports #cat_sidebar div.post.reports,
body.category-reports #cat_sidebar div.post.rapports,
body.category-pr #cat_sidebar div.post.pr,
body.category-pr #cat_sidebar div.post.cp,
body.category-research #cat_sidebar div.post.research,
body.category-research #cat_sidebar div.post.recherche,
#pg_blog #cat_sidebar div.post,
#pg_le_blog #cat_sidebar div.post{
	display: none;
}

#cat_sidebar div.cat_heading a{
	display: inline-block;
	margin-left: 5px;
	font-size: 12px;
	font-weight: 300;
}

#cat_sidebar section.widget_siteorigin-panels-postloop{
	margin-bottom: 20px;
}

/* sol_sidebar */

#sol_sidebar{
	padding-top: 20px;
}

#sol_sidebar div.tile{
	padding: 20px 30px 20px 30px;
	background: #f2f2f2;
	margin-bottom: 20px;
}

#sol_sidebar div.tile header{
	font-size: 28px;
	line-height: 1.1em;
	margin-bottom: 15px;
}

#sol_sidebar div.tile:hover a{
	text-decoration: underline;
}

#sol_sidebar a.button{
	width: 88%;
	padding: 11px 6% 11px 6%;
	margin-bottom: 20px;
}

#pg_public-solutions #sol_public_tile,
#pg_commercial-solutions #sol_commercial_tile,
#pg_media-and-partnerships-solutions #sol_media_tile,
#pg_solutions-publiques #sol_public_tile,
#pg_solutions-pour-les-entreprises #sol_commercial_tile,
#pg_medias-et-partenaires #sol_media_tile{
	display: none;
}

/* Blog Posts: Teaser */

.post{
	overflow: hidden;
}

.post div.icon{
	width: 22%;
	margin-right: 5%;
	float: left;
}

.post div.icon img{
	width: 100%;
	height: auto;
	display: block;
	background: no-repeat url(_img/post_icons.png);
	background-size: 200%;
	background-position: left center;
}

.post.category-reports div.icon img{}

.post.category-rapports.tag-down-fr div.icon img,
.post.category-reports.tag-down div.icon img{
	background-position: left bottom;
}

.post.category-rapports.tag-up-fr div.icon img,
.post.category-reports.tag-up div.icon img{
	background-position: left top;
}

.post.category-cp div.icon img,
.post.category-pr div.icon img{
	background-position: right top;
}

.post.category-recherche div.icon img,
.post.category-research div.icon img{
	background-position: right bottom;
}

.post div.text{
	width: 73%;
	float: left;
}

.post div.text div.date{
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 8px;
}

.post div.text a.title{
	display: block;
	margin-bottom: 8px;
	font-size: 21px;
	line-height: 1.2em;
	font-weight: 700;
}

#pg_home .post{
}

#pg_home .post div.icon{
	width: 17%;
	margin-right: 5%;
	float: left;
}

#pg_home .post div.text{
	width: 73%;
}


div.post_nav{
	padding: 0 0 2px 0;
	border-bottom: 1px solid #dddddd;
	margin-bottom: 4px;
	overflow: hidden;
	clear: both;
}

/* Bottom post_nav */
#main + div.post_nav{
	border-top: 1px solid #dddddd;
	border-bottom: none;
	margin-bottom: 0;
	margin-top: 4px;
}

#cat_sidebar + div.post_nav{
	border-top: 1px solid #dddddd;
	border-bottom: none;
}

div.post_nav > div{
	min-height: 34px;
	float: left;
	font-size: 17px;
	font-weight: 500;
	padding-left: 30px;
	background: left -243px no-repeat url(_img/sprites1.png);
	cursor: pointer;
}
div.post_nav > div.none{
	cursor: default;
}

div.post_nav > div:hover a{ text-decoration: underline; }
div.post_nav.none > div:hover a{ text-decoration: none; }

div.post_nav > div.next_post{
	padding: 0 30px 0 0;
	background-position: right -243px;
}
div.post_nav > div.previous_post.none{ background-position: left -293px; }
div.post_nav > div.next_post.none{ background-position: right -293px; }

div.post_nav div.next_post{
	float: right;
	text-align: right;
}

div.post_nav div.heading{
	height: 18px;
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
	background: white;
}

div.post_nav div.heading span,
div.post_nav div.description,
div.post_nav div.description a{
	color: #0076BF;
	background: white;
}

#cat_sidebar .post,
#pg_home .post div.icon,
#pg_home .post div.text{
	cursor: pointer;
}

#cat_sidebar .post:hover div.text a,
#pg_home .post div.text:hover a{
	text-decoration: underline;
}


#cat_sidebar .post div.text,
#pg_home .post div.text{
	width: 73%;
	height: 195px;
	overflow: hidden;
	position: relative;
}

#cat_sidebar .post div.text:after,
#pg_home .post div.text:after{
	width: 100%;
	height: 50px;
	content: "";
	position: absolute;
	bottom: 0;
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 80%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

#pg_home div.monthly_report_feed .post{
	padding: 0;
}

#pg_home div.monthly_report_feed .post div.icon{ width: 13%; margin-right: 3.5%; }
#pg_home div.monthly_report_feed .post div.text{ width: 50%; height: 235px; }

#pg_home div.monthly_report_feed .post div.text:after{
	background: linear-gradient(to bottom, rgba(246,246,246,0) 0%,rgba(246,246,246,1) 80%,rgba(246,246,246,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}


#pg_home #recent_indx_changes{
	width: 30%;
	float: right;
}

#pg_home #recent_indx_changes table{
	width: 100%;
	margin-bottom: 12px;
	font-size: 14px;
	font-weight: 400;
}

#pg_home #recent_indx_changes table td{
	height: 38px;
	padding: 4px 0 8px 0;
	text-align: right;
	vertical-align: bottom;
	border-bottom: 1px solid #dddddd;
}

#pg_home #recent_indx_changes table td:first-child{
	text-align: left;
}
/* changed from #629918 to #4b790e */
#pg_home #recent_indx_changes table td a.change,
#pg_home #recent_indx_changes table td span.change{
	min-width: 55px;
	padding: 6px 9px 6px 9px;
	display: inline-block;
	border-radius: 3px;
	text-align: center;
	font-weight: 500;
	color: white;
	background: #4b790e;
}

#pg_home #recent_indx_changes table td a.change:hover{ text-decoration: none; }
#pg_home #recent_indx_changes table td a.change.down,
#pg_home #recent_indx_changes table td span.change.down{ background: #990000; }
#pg_home #recent_indx_changes table td a.change:after,
#pg_home #recent_indx_changes table td span.change:after{ content: '%'; }
#pg_home #recent_indx_changes table td a.change.no_data,
#pg_home #recent_indx_changes table td span.change.no_data{ background: #e66c1b; }
#pg_home #recent_indx_changes table td a.change.no_data:after{ content: ''; }

#pg_home #recent_indx_changes > a{
	display: block;
	text-align: right;
	font-size: 12px;
	font-weight: 300;
}

/* 404 */

#pg_404 #main{
	text-align: center;
	padding: 100px 0 100px 0;
}

/* WP SINGLE POST */

article.post{
	margin-bottom: 20px;
}

article.post section{
	margin-bottom: 20px;
}

/* Monthly Report */

article.post h1{
	margin-bottom: 0;
}

article section{
	margin-bottom: 20px;
}

article sup{
	font-size: 0.7em;
	vertical-align: baseline;
	position: relative;
	top: -0.5em;
}

article h2 sup{
	font-size: 0.5em;
	top: -0.7em;
}

article div.footnote{
	font-style: italic;
}

article section.intro{
	font-size: 18px;
	font-weight: 300;
	line-height: 1.4em;
}

article ul li{
	line-height: 1.6em;
}

article ul ul{
	margin-bottom: 0;
}
article ul ul li{
	list-style: circle;
}

article p.major{
	font-size: 25px;
	line-height: 1.2em;
}

article p.label_for_next{
	margin-bottom: 0.5em;
}

article div.address{
	margin-left: 30px;
}

article div.footnote::before{
	width: 10%;
	content: ' ';
	display: block;
	margin-bottom: 8px;
	border-bottom: 1px solid #666666;
}

article section.report_by{
	padding-bottom: 10px;
	border-bottom: 1px solid #666666;
	margin-bottom: 10px;
}
article section.report_by header{
	font-weight: bold;
	margin-bottom: 8px;
}

article section.report_by div.body{
	display: inline-block;
	padding: 8px 30px 0 8px;
	margin-bottom: 8px;
	background: white;
}

article section.widget div.disclaimer{
	max-height: 300px;
	overflow-y: scroll;
	display: none;
	margin-bottom: 20px;
	border: 1px solid #666666;
	padding: 15px 25px 15px 15px;
	margin-right: 2px;
}

article section.disclaimer div.widget-title{
	font-size: 20px;
	margin-bottom: 12px;
}

article section.disclaimer div.widget-title::before{
	display: inline-block;
	content: "▶";
	font-size: 13px;
	padding-right: 6px;
	padding-left: 2px;
	position: relative;
	top: -1px;
	transition: 0.4s;
    transform-origin: 33% 40%;
}

article section.disclaimer div.widget-title.open::before{
	transform: rotate(90deg);
}

/* Disclaimer class added by js to accurately id it. */
body.no_js article section.widget div.disclaimer{
	display: block;
}


div.more_info{
	overflow: hidden;
}

article div.more_info div.contact{
	margin: 0 50px 10px 0;
	float: left;
}

#content footer div.more_info{
	margin-top: 30px;
}

#content footer div.more_info div.contact{
	width: 45%;
	padding-right: 5%;
	float: left;
}

/* WP PAGE */

article.page{
	padding: 20px 0 20px 0;
	margin-bottom: 20px;
}

/* NEWSLETTER */

#pg_newsletter #next_report{
	display: none;
}

#pg_newsletter #next_report{
	padding-top: 0;
}

/* ABOUT */

body.section-about #content,
body.section-a-propos #content{
	width: 100%;
	margin-right: 0;
	font-weight: 300;
}

body.section-about article{
	padding-top: 0;
}

body.section-about article p.profile{
	font-size: 18px;
	line-height: 27px;
	font-weight: 300;
}

#about_tabs{
	border-bottom: 1px solid #dddddd;
	overflow: hidden;
}

#about_tabs a{
	width: 25%;
	height: 42px;
	line-height: 44px;
	display: block;
	float: left;
	border-bottom: 3px solid transparent;
	font-size: 16px;
	text-align: center;
	color: #666666;
}

#about_tabs a:hover{
	color: #0076BF;
	text-decoration: none;
}

#about_tabs a.selected{
	color: #0076BF;
	border-color: #0076BF;
}

/* Communities we serve */

#communities_served{
	overflow: hidden;
	background: #f6f6f6;
}

#communities_served > ul.tabs{
	width: 29%;
	min-height: 395px;
	min-width: 300px;
	float: left;
	margin: 0;
	border-right:  10px solid #0076BF;
	padding: 30px 0 30px 0;
	background: white;
}

#communities_served > ul.tabs li{
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: right;
}

#communities_served > ul.tabs a{
	display: block;
	padding: 15px 0 15px 0;
	font-size: 15px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #5a5a5a;
}

#communities_served > ul.tabs a:after{
	content: "◣";
	margin-left: 3%;
	position: relative;
	right: -18px;
	visibility: hidden;
	transform: rotate(45deg);
	font-size: 36px;
	letter-spacing: 0;
	float: right;
}

#communities_served > ul.tabs a:hover,
#communities_served > ul.tabs a.selected{
	color: #0076BF;
}

#communities_served > ul.tabs a.selected:after{
	visibility: visible;
}


#communities_served > div.contents{
	width: 68%;
	overflow-y: auto;
	float: left;
}

@media only screen and (min-width: 500px){
	#cws_consumers{ padding-top: 20px; }
}


/* For mobile version */
#communities_served > div.contents div.tab{ display: none; }

#communities_served div.tab_content{
	margin: 50px 20px 10px 70px;
	display: none;
	overflow: hidden;
	font-size: 18px;
	line-height: 1.6em;
	font-weight: 300;
}

#communities_served div.tab_content.selected{
	display: block;
}

#communities_served div.tab_content div.stat div.number{
	font-size: 60px;
	line-height: 60px;
	font-weight: 200;
}

#communities_served div.tab_content div.stat div.units{
	font-size: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

#communities_served div.service{
	width: 42%;
	margin: 38px 8% 0 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4em;
	float: left;
}

#communities_served div.three_up div.service{
	width: 28%;
}

#communities_served div.three_up div.service:last-child{
	margin-right: 0;
}

#communities_served div.service a.icon{
	height: 40px;
	line-height: 40px;
	margin-bottom: 17px;
	display: block;
}

#communities_served div.service a.icon img{
	max-width: 100%;
	max-height: auto;
}

#communities_served div.service div.title{
	font-weight: 500;
}

#communities_served div.service a.learn_more{
	display: block;
	padding-top: 10px;
}


/* Value Added Solutions */

#value_added_solutions{
	padding: 20px;
	border-top: 1px solid #dddddd;
	border-bottom: 1px solid #dddddd;
	background: #f6f6f6;
}

#value_added_solutions:after{
	display: table;
	content: '';
	clear: both;
}

/* Screen-reader friendly text */
#value_added_solutions span{
	position: absolute;
	left: -2000px;
}

#value_added_solutions a{
	width: 29.33%;
	display: block;
	position: relative;
	float: left;
	margin: 20px 2% 20px 2%;
	overflow: hidden;
}

#value_added_solutions a img{
	width: 100%;
	height: auto;
}

#value_added_solutions a img.hover{
	position: absolute;
	top: 101%;
	left: 0;
	z-index: 2;
	transition: 0.5s;
}

#value_added_solutions a:hover img.hover{
	top: 0;
}

/* Temporary */

#vas_communifi:after{
	content: "(coming soon)";
	width: 100%;
	display: block;
	position: absolute;
	top: 66%;
	text-align: center;
	transition: 0.4s;
	color: #666666;
	z-index: 100;
}

#vas_communifi:hover:after{
	color: white;
	top: 46%;
}

/* Temporary - End */

#pg_national-bank-of-canada div.logo img,
#pg_banque-nationale-du-canada div.logo img{
	width: 68%;
	display: block;
	margin: 10px auto 0 auto;
	height: auto;
}

#pg_banque-nationale-du-canada div.logo img{ width: 73%; }

#pg_teranet-inc article,
#pg_national-bank-of-canada article{
	padding-bottom: 0;
}

#pg_teranet-inc article footer,
#pg_national-bank-of-canada article footer{
	margin-bottom: 0;
}

#pg_teranet-inc article div.callout strong,
#pg_national-bank-of-canada article div.callout strong{
	margin-left: 10px;
	font-weight: bold;
	color: #0076BF;
}

#pg_teranet-inc article div.callout a.button,
#pg_national-bank-of-canada article div.callout a.button{
	font-size: 18px;
	font-weight: 600;
}

#pg_national-bank-of-canada #communities_served div.service{
	font-size: 14px;
}

#pg_national-bank-of-canada #communities_served div.service div.title{
	margin-bottom: 10px;
}

/* quote */

div.hpi_quote{
	min-height: 90px;
	clear: both;
	float: none;
	display: block;
	padding: 20px 0 20px 0;
	font-family: Times, "Times New Roman", serif;
	font-size: 18px;
	font-style: italic;
}
div.hpi_quote div.quote{ display: block;}
div.hpi_quote div.author{ display: block; text-align: right; }

#countdown.serenity{ visibility: hidden; }


/* Contact */

#pg_contact form p,
#pg_contact form div,
#pg_contact form td,
#pg_nous-contacter form p,
#pg_nous-contacter form div,
#pg_nous-contacter form td,
#pg_newsletter form p,
#pg_newsletter form div,
#pg_newsletter form td,
#pg_infolettre form p,
#pg_infolettre form div,
#pg_infolettre form td{
	font-size: 13px;
}

div.contact_name,
div.contact_name{
	width: 40%;
	margin-right: 10%;
	margin-bottom: 12px;
	float: left;
}


/* abbr */

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

/* ---------------------------------- */

.status-publish .share { margin-top: 20px; }
.status-publish .share_header { margin-bottom: 10px; }
.status-publish .share span button
{
	width: 32px !important;
	height: 32px !important;
	float: left;
	position: relative !important;
	top: -1px;
	float: left;
	background-color: #fff !important;
	font-size: 0 !important;
	line-height: 24px !important;
}
.status-publish .share span button:before { content:'\f08c'; font-size: 35px; font-weight: 900; font-family: "FontAwesome"; color: #01578c; position: absolute; left: 0; top:5px; display: inline-block; }
#content .status-publish .share span button:hover { background-color: transparent !important; opacity: 0.7; }
.status-publish .share span button svg { display: none; }
div.share a.soc { float: left !important; font-size: 0; background: none; position: relative; margin: 0 20px 0 0; }
div.share a.soc:before { content:'\f081'; font-size: 35px; font-weight: 900; font-family: "FontAwesome"; color: #01578c; position: absolute; left: 0; top:5px; display: inline-block; }
header ul.menu #sub_newsroom{ left:-70px !important;}

.footer_social { width: 100%; display: block; }
.footer_social a { background: none; color: #0076bf !important; display: inline-block; font-size: 35px; float: none !important; padding: 0 20px 0 0 !important; }

.follow_header { margin-top: 85px; margin-bottom: 0px; }

/* Disable Visibility of left sidbar share buttons */
@media screen and (max-width: 600px) {
	.desktop_only {
		visibility: hidden;
		clear: both;
		float: left;
		display: none;
	}
}
