
/* Fonts
------------------------------------------------------------*/
@font-face {
    font-family: 'avantgarde_medium';
    src: url('../fonts/avantgarde_md_bt_medium-webfont.eot');
    src: url('../fonts/avantgarde_md_bt_medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/avantgarde_md_bt_medium-webfont.woff2') format('woff2'),
         url('../fonts/avantgarde_md_bt_medium-webfont.woff') format('woff'),
         url('../fonts/avantgarde_md_bt_medium-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'avantgarde_regular';
    src: url('../fonts/avantgardemditc_regular-webfont.eot');
    src: url('../fonts/avantgardemditc_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/avantgardemditc_regular-webfont.woff2') format('woff2'),
         url('../fonts/avantgardemditc_regular-webfont.woff') format('woff'),
         url('../fonts/avantgardemditc_regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Global Settings
------------------------------------------------------------*/
body {
	font-family: "avantgarde_medium", arial, sans-serif;
	font-size: 20px;
	line-height: 30px;
	color: #000;
}

.container-fluid {
	max-width: 1272px;	
}

.container-limit {
	max-width: 840px;	
}

section {
	position: relative;
	padding: 110px 0;
}

.section-title {
	margin: 0 0 25px 0;
	font-family: "avantgarde_regular", arial, sans-serif;
	font-size: 80px;
	line-height: 1;
	letter-spacing: -3px;
	text-align: center;
}

.section-description {
	margin: 0 auto 80px auto;
	font-size: 30px;
	line-height: 40px;
	text-align: center;
}

@media (max-width: 782px) {
	body { font-size: 16px; line-height: 24px; }
	.container-limit { max-width: 80%; }
	section { padding: 70px 0; }
	.section-title { margin-bottom: 20px; font-size: 60px; letter-spacing: -2px; }	
	.section-description { margin-bottom: 65px; font-size: 24px; line-height: 34px; }                  
}

@media (max-width: 576px) {
	body { font-size: 16px; line-height: 24px; }
	.container-limit { max-width: 100%; }
	section { padding: 40px 0 50px; }
	.section-title { margin-bottom: 5px; font-size: 32px; line-height: 38px; letter-spacing: -1px; }	
	.section-description { margin-bottom: 40px; font-size: 18px; line-height: 24px; }                  
}

/* Header
------------------------------------------------------------*/
.site-header { z-index: 100; position: absolute; top: 0; left: 0; width: 100%; height: 105px; background: transparent; transition: all linear .3s; }
#logo { position: absolute; top: 15px; left: 25px; }
#logo-be,
#logo-housing,
#logo-icon { fill: #fff; transition: all linear .3s; }
.site-header .home { position: absolute; top: 38px; right: 85px; }
.site-header .home path { opacity: 0; fill: #fff; transition: all linear .3s;}
.site-header .mail { position: absolute; top: 40px; right: 40px; }
.site-header .mail path { fill: #fff; transition: all linear .3s;}

.site-header.video-playing { top: -110px; opacity: 0; transition: all linear .3s; }
.site-header.video-playing.sticky { top: 0; opacity: 1; }

.site-header.sticky { position: fixed; background: #fff; transition: all linear .3s; animation: slidedown .3s; }
.site-header.sticky #logo-be,
.site-header.sticky #logo-icon { fill: #51A246; transition: all linear .3s; }
.site-header.sticky #logo-housing { fill: #58595B; transition: all linear .3s; }
.site-header.sticky .home path { opacity: 1; fill: #51A246; transition: all linear .3s; }
.site-header.sticky .mail path { fill: #51A246; transition: all linear .3s; }

@media (max-width: 782px) {
	#logo { width: 200px; }
}

@media (max-width: 576px) {
	body { padding-top: 73px; }
	.site-header { position: fixed; height: 73px; }
	#logo { width: 150px; top: 0; left: 12px; }
	.site-header .home { top: 24px; right: 60px; }
	.site-header .mail { top: 26px; right: 12px; }
	.site-header { position: fixed; background: #fff; transition: all linear .3s; }
	.site-header #logo-be,
	.site-header #logo-icon { fill: #51A246; transition: all linear .3s; }
	.site-header #logo-housing { fill: #58595B; transition: all linear .3s; }
	.site-header .mail path { fill: #58595B; transition: all linear .3s; }
}

@-webkit-keyframes slidedown {
	from { top: -110px; }
	to {top: 0; }
}

@keyframes slidedown {
	from { top: -110px; }
	to {top: 0; }
}


/* Footer
------------------------------------------------------------*/
.site-footer { padding: 38px 0; background: #31363A; color: #fff; text-align: center; font-size: 14px; line-height: 16px; }
.site-footer br { display: none; }

@media (max-width: 576px) {
	.site-footer { padding: 28px 0; }
	.site-footer br { display: inline-block; }
}

/* Video
------------------------------------------------------------*/
.section-video { position: relative; padding: 0; }
.section-video .video { position: relative; width: 100%; background: #000; overflow: hidden; }
.section-video .video:before { content: ''; display: block; padding-top: 56.25%; }
.section-video .video { background: #000 url(../img/video-bg.jpg) center center no-repeat; background-size: cover; }
.section-video .text { position: absolute; left: 0; bottom: 0; width: 100%; display: flex; align-items:center; justify-content: center; padding-bottom: 50px; }
.section-video .text .wrapper { max-width: 780px; font-family: 'avantgarde_regular', arial, sans-serif; font-size: 54px; line-height: 59px; letter-spacing: -1px; color: #fff; text-shadow: 0 8px 8px rgba(0, 0, 0, .3); text-align: center; }

.no-flexbox .section-video .text .wrapper { margin: 0 auto; }

@media (max-width: 782px) {
	.section-video .video:before { padding-bottom: 105px; }
	.section-video .text { padding-bottom: 40px; }
	.section-video .text .wrapper { max-width: 80%; font-size: 40px; line-height: 45px; }
}

@media (max-width: 576px) {
	.section-video .video:before { padding-top: 277px; padding-bottom: 0; }
	.section-video .text { padding-bottom: 30px; }
	.section-video .text .wrapper { max-width: 90%; font-size: 20px; line-height: 25px; }
}

/* What we do
------------------------------------------------------------*/
.section-what { background: #F7F8F9; color: #404040; }
.section-what p { font-size: 28px; line-height: 40px; text-align: center; }

@media (max-width: 782px) {
	.section-what p { font-size: 24px; line-height: 34px; }
}

@media (max-width: 576px) {
	.section-what p { font-size: 18px; line-height: 24px; }
}

/* Be Housing Building System
------------------------------------------------------------*/
.section-building { background: #51A246; color: #fff; }
.section-building .section-description { margin-bottom: 60px; }
.section-building .text { margin-bottom: 60px; font-size: 20px; line-height: 34px; text-align: center; }
.section-building .thumbnail { display: flex; align-items: center; justify-content: center; height: 105px; margin-bottom: 20px; background: #31363A; }
.section-building .item p { font-size: 16px; line-height: 24px; text-align: center; }

.no-flexbox .section-building .thumbnail { padding-top: 20px; text-align: center; }

@media (max-width: 782px) {
	.section-building .item { margin-bottom: 20px; }
	.section-building .item:nth-child(4) { clear: left; } 
}

@media (max-width: 576px) {
	.section-building .section-description { margin-bottom: 40px; }
	.section-building .item { margin-bottom: 10px; }
	.section-building .item:last-child { margin-bottom: 0; }
	.section-building .thumbnail { margin-bottom: 10px; }
	.section-building .text { margin-bottom: 40px; font-size: 18px; line-height: 30px; }
}

/* Patented Technology
------------------------------------------------------------*/
.section-patented { background: #F7F8F9; color: #404040; }
.section-patented .section-description { font-size: 20px; line-height: 34px; }
.section-patented .item img { max-width: 100%; margin-bottom: 20px; border: 1px solid #979797; }
.section-patented .item p { font-size: 20px; line-height: 30px; color: #000; text-align: center; }

@media (max-width: 782px) {
	.section-patented .item { margin-bottom: 20px; }
	.section-patented .item:last-child { margin-bottom: 0; } 
	.section-patented .item img { display: block; margin-left: auto; margin-right: auto; }
	.section-patented .item p { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 576px) {
	.section-patented .section-description { font-size: 18px; line-height: 24px; }
	.section-patented .item p { font-size: 16px; line-height: 24px; }
	.section-patented .item img { margin-bottom: 10px; }
}

/* Antimicrobial & Mold Killing Paint
------------------------------------------------------------*/
.section-antimicrobial { background: #fff; color: #404040; }
.section-antimicrobial h2 { margin: 60px 0 25px; font-size: 30px; line-height: 1; font-weight: normal; text-align: center; }
.section-antimicrobial p { font-size: 20px; line-height: 34px; text-align: center; }
.section-antimicrobial h2.alignleft { margin-top: 80px; text-align: left; }
.section-antimicrobial .alignright { float: right; margin: -50px -100px 0 100px; max-width: 100%; }
.section-antimicrobial ul { margin: 0; padding: 0 0 0 20px; font-size: 20px; line-height: 34px; }

@media (max-width: 1024px) {
	.section-antimicrobial .alignright { display: block; float: none; margin: 0 auto 20px; }
}

@media (max-width: 576px) {
	.section-antimicrobial h2 { margin: 30px 0 15px; font-size: 22px; }
	.section-antimicrobial p { font-size: 18px; line-height: 30px; }
	.section-antimicrobial h2.alignleft { margin-top: 30px; font-size: 20px; }
	.section-antimicrobial ul { font-size: 18px; line-height: 30px; } 
}

/* Stay updated
------------------------------------------------------------*/
.section-mailling { background: #FAAA60; color: #fff; text-align: center; }
.section-mailling img { }
.section-mailling .section-title { margin-top: 15px; margin-bottom: 10px; font-size: 48px; }
.section-mailling .section-description { margin-bottom: 30px; }
.section-mailling .button { display: inline-block; width: 290px; padding: 15px 0; margin: 0 auto; font-size: 22px; background: #31363A; color: #fff; text-decoration: none; border-radius: 8px; transition: all linear .3s; }
.section-mailling .button:hover { background: #fff; color: #31363A; transition: all linear .3s; }

@media (max-width: 782px) {

}

@media (max-width: 576px) {
	.section-mailling img { max-width: 80px; }	
	.section-mailling .section-title { margin-top: 10px; margin-bottom: 15px; font-size: 42px; }
	.section-mailling .section-description { max-width: 85%; font-size: 22px; line-height: 24px; }
	.section-mailling .button { width: 100%; font-size: 18px; font-weight: bold; }
}

/* Bio Thermal Coating Insulations 
------------------------------------------------------------*/
.section-thermal { background: #EBF7FE; color: #404040; }
.section-thermal .section-title { margin-bottom: 80px; } 
.section-thermal p { margin-bottom: 40px; font-size: 20px; line-height: 34px; }
.section-thermal ul { margin: 0; padding: 0 0 0 20px; color: #000; font-size: 20px; line-height: 34px; }
.section-thermal .text { padding-right: 40px; }
.section-thermal img { max-width: 100%; }

@media (max-width: 782px) {
	.section-thermal .container-fluid { max-width: 80%; }
	.section-thermal img { display: block; margin: 40px auto 0; }
}

@media (max-width: 576px) {
	.section-thermal .container-fluid { max-width: 100%; }
	.section-thermal .section-title { margin-bottom: 30px; } 
	.section-thermal .text { padding-right: 12px; }
	.section-thermal p { margin-bottom: 20px; font-size: 16px; line-height: 24px; }
	.section-thermal ul { font-size: 16px; line-height: 24px; }
}

/* First Nations Housing Movement Labour Force
------------------------------------------------------------*/
.section-nations { background: #F7F8F9; color: #404040; }
.section-nations .section-title { margin-bottom: 60px; color: #51A246; }
.section-nations .text { margin-bottom: 60px; font-size: 20px; line-height: 34px; text-align: center; }
.section-nations .thumbnail { display: flex; align-items: center; justify-content: center; height: 105px; margin-bottom: 20px; background: #51A246; }
.section-nations .item p { margin: 0; font-size: 16px; line-height: 24px; text-align: center; }

.no-flexbox .section-nations .thumbnail { padding-top: 20px; text-align: center; }

@media (max-width: 782px) {
	.section-nations .item { margin-bottom: 20px; }
	.section-nations .item:nth-child(4) { clear: left; } 
}

@media (max-width: 576px) {
	.section-nations .section-title { margin-bottom: 30px; }
	.section-nations .text { margin-bottom: 40px; font-size: 18px; line-height: 30px; }
	.section-nations .item { margin-bottom: 10px; }
	.section-nations .thumbnail { margin-bottom: 10px; }
	.section-nations .item:last-child { margin-bottom: 0; }
}

.section-nations-2 { background: #fff; color: #404040; }
.section-nations-2 p { margin-bottom: 40px; font-size: 20px; line-height: 34px; text-align: center; }
.section-nations-2 .thumbnail { margin: 15px auto 15px; width: 160px; height: 160px; display: flex; align-items: center; justify-content: center; color: #EBF7FE; font-family: "avantgarde_regular", arial, sans-serif; font-size: 44px; line-height: 1; letter-spacing: -1px; border-radius: 100%; }
.section-nations-2 .item .red { background: #D0021B; }
.section-nations-2 .item .gray { background: #31363A; }
.section-nations-2 .item .yellow { background: #FACD05; }
.section-nations-2 .item .green { background: #51A246; }
.section-nations-2 .item h2 { margin-bottom: 5px; font-family: "avantgarde_regular", arial, sans-serif; font-size: 24px; line-height: 30px; letter-spacing: -1px; color: #000; text-align: center; }
.section-nations-2 .item p { margin: 0; font-size: 16px; line-height: 24px; text-align: center; }

.no-flexbox .section-nations-2 .thumbnail { padding-top: 55px; text-align: center; }

@media (max-width: 782px) {
	.section-nations-2 .item { margin-top: 20px; }
}

@media (max-width: 576px) {
	.section-nations-2 p { margin-bottom: 20px; font-size: 18px; line-height: 30px; }
}

/* Contact us
------------------------------------------------------------*/
.section-contact { background: #51A246; color: #fff; }
.section-contact .section-description { margin-bottom: 30px; }

form.contact { max-width: 612px; margin: 0 auto; }
form.contact p { position: relative; padding-top: 34px; margin-bottom: 18px; }
form.contact label { position: absolute; top: 56px; left: 24px; display: block; font-size: 18px; line-height: 1; color: #80D075; transition: all linear .2s; }
form.contact label.out { top: 0; color: #fff; transition: all linear .2s; }
form.contact input[type=text],
form.contact input[type=email] { display: block; width: 100%; padding: 20px; margin: 0; font-size: 18px; line-height: 1; color: #64B40D; background: #439039; border: 1px solid #64B40D; border-radius: 4px; outline: none; -webkit-appearance: none; appearance: none; transition: all linear .3s; }
form.contact input[type=text]:focus,
form.contact input[type=email]:focus { color: #80D075; background: #31363A; transition: all linear .3s; }
form.contact .message { margin-top: 40px; }
form.contact textarea { display: block; width: 100%; padding: 20px; margin: 0; font-size: 18px; line-height: 28px; color: #64B40D; background: #439039; border: 1px solid #64B40D; border-radius: 4px; outline: none; -webkit-appearance: none; appearance: none; transition: all linear .3s; }
form.contact textarea:focus { color: #80D075; background: #31363A; transition: all linear .3s; }
form.contact input[type=submit] { cursor: pointer; display: block; width: 290px; padding: 20px; margin: 0 auto; font-size: 22px; line-height: 1; color: #fff; text-align: center; background: #31363A; border: 1px solid #64B40D; border-radius: 4px; outline: none; -webkit-appearance: none; appearance: none;  transition: all linear .3s; }
form.contact .submit { padding-top: 20px; margin: 0; }
form.contact input[type=submit]:hover { background: #fff; color: #31363A; transition: all linear .3s; }

form.contact .error label { color: #F8E71C; transition: all linear .3s; }
form.contact .error input[type=text],
form.contact .error input[type=email],
form.contact .error textarea { border-color: #F8E71C; transition: all linear .3s; }

form.contact .return { display: none; padding: 20px; margin-top: 24px; border-radius: 4px; }
form.contact .return.success { background: #439039; color: #fff; }
form.contact .return.error { background: #F8E71C; color: #333; }

@media (max-width: 782px) {
	form.contact { max-width: 490px; }
}

@media (max-width: 576px) {
	form.contact p { padding-top: 26px; }
	form.contact label { top: 46px; left: 18px; font-size: 16px; }
	form.contact input[type=text],
	form.contact input[type=email] { padding: 18px; font-size: 16px; }
	form.contact .message { margin-top: 0; }
	form.contact textarea { font-size: 16px; line-height: 24px; }
	form.contact p.submit { padding-top: 0; }
	form.contact input[type=submit] { width: 100%; }
	form.contact .return { padding: 18px; }
}
