/* 
Right Brain People Index page stylesheet By Abhi Nayar for SemiErect Design Co.
Copyright 2016, All Rights belong to Right Brain People
For questions please contact anayar2[at]gmail[dot]com 
*/

/* 
Color Lib:
---------------------
Dark purple: #623c91
Light purple: #beb0d4 b5a2d4
Dull white: #f8f8f8
McD Red: #b64817
Hardie Green: #006634
Corvette Black: #050505
Off black: #1d1f20
*/

/* 
Fonts:
----------------------
Headings and Index: Avenir
Body: Roboto (Google Font)
*/

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

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

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

/* RBP Main Stylesheet */
/* ERIC MYERS CSS RESET */
/* http://meyerweb.com/eric/tools/css/reset/ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 18px;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-size: 85%;
}

.no-pad {
    padding: 0;
}

.fill-button {
    position: relative;
    display:inline-block;
    height: 29px;
    width: 99px;
    color: #fff;
    border: 1px solid #0b1662;
    outline: 0;
    overflow:hidden;
    background: none;
    z-index: 1;
    cursor: pointer;
    transition:         0.08s ease-in;
    -o-transition:      0.08s ease-in;
    -ms-transition:     0.08s ease-in;
    -moz-transition:    0.08s ease-in;
    -webkit-transition: 0.08s ease-in;
}

.fill:hover {
    color: #fff;
    border-color: #0b1162 !important;
}

.fill:before {
    content: "";
    position: absolute;
    background: #0b1662;
    bottom: 0;
    left: 0;
    right: 0;
    top: 100%;
    z-index: -1;
	-webkit-transition: top 0.09s ease-in;
    -moz-transition: top 0.09s ease-in;
    -o-transition: top 0.09s ease-in;
    transition: top 0.09s ease-in;
}

.fill:hover:before {
  top: 0;
}

.fill-alt {
    width: 155px; 
    text-decoration: none !important;
}

.fill-alt:hover {
    color: #0b1162 !important;
    border-color: #fff !important;
}

.fill-alt:before {
    background: #fff !important;
}

.top-pad {
    padding-top: 70px;
}

@media (min-width: 0px) {
    .mobile-top-pad {
        padding-top: 30px;
    }
}

@media (min-width: 600px) {
    .mobile-top-pad {
        padding-top: 70px;
    }
}
/* 
Prim Font: Avenir, Avenir Medium, Avenir Heavy
Sec Font: Roboto, Roboto Bold
*/

/* Template Styles */
.custom-row {
    position: relative;
}

.custom-row.small {
    width: 700px;
    margin: 0 auto;
}

.custom-row.large {
    width: 100%;
    margin: 0 auto;
}

.custom-row.edge {
    width: 925px;
    margin: 0 auto;
}

.custom-row.edge.left {
    float: left;
}

.custom-row.edge.right {
    float: right;
}

@media (min-width: 0px) {
    .custom-row.small {
        width: 100%;
    }
    
    .custom-row.edge {
        width: 100%;
    }
}

@media (min-width: 700px) {
    .custom-row.small {
        width: 700px;
    }
}

@media (min-width: 992px) {
    .custom-row.edge {
        width: 925px;
    }
}

b {
    font-weight: 900;
	font-family: 'Avenir-Heavy';
}

em {
    font-style: italic;
}

.light {
  font-family: 'Avenir-Light';
}

/* Loader CSS */
.loader-wrapper {
  height: 100vh;
  font-family: "Bitstream Vera Sans Mono", "Consolas", "Courier", monospace;
  -webkit-font-smoothing: antialiased;
  background-color: #623c91;
}

.loader-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #623c91 50% 50% no-repeat;
  background-size: cover;
  opacity: 0.25;
}

.loader,
.loader__figure {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.loader {
  overflow: visible;
  padding-top: 2em;
  height: 0;
  width: 2em;
}

.loader__figure {
  height: 0;
  width: 0;
  box-sizing: border-box;
  border: 0 solid #fff;
  border-radius: 50%;
  -webkit-animation: loader-figure 1.15s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  -moz-animation: loader-figure 1.15s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  animation: loader-figure 1.15s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@-webkit-keyframes loader-figure {
  0% {
    height: 0;
    width: 0;
    background-color: #fff;
  }
  29% {
    background-color: #fff;
  }
  30% {
    height: 2em;
    width: 2em;
    background-color: transparent;
    border-width: 1em;
    opacity: 1;
  }
  100% {
    height: 2em;
    width: 2em;
    border-width: 0;
    opacity: 0;
    background-color: transparent;
  }
}
@-moz-keyframes loader-figure {
  0% {
    height: 0;
    width: 0;
    background-color: #fff;
  }
  29% {
    background-color: #fff;
  }
  30% {
    height: 2em;
    width: 2em;
    background-color: transparent;
    border-width: 1em;
    opacity: 1;
  }
  100% {
    height: 2em;
    width: 2em;
    border-width: 0;
    opacity: 0;
    background-color: transparent;
  }
}
@keyframes loader-figure {
  0% {
    height: 0;
    width: 0;
    background-color: #fff;
  }
  29% {
    background-color: #fff;
  }
  30% {
    height: 2em;
    width: 2em;
    background-color: transparent;
    border-width: 1em;
    opacity: 1;
  }
  100% {
    height: 2em;
    width: 2em;
    border-width: 0;
    opacity: 0;
    background-color: transparent;
  }
}

/* Page CSS */
body {
    width: 100%;
    max-width: 100%;
	height: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background-color: #632c91;
    color: #fff;
    font-size: 18px; 
    font-family: 'Roboto', Serif;
	background: #fff;
}

.page-body {
    min-width: 100%;
    overflow-x: hidden;
}

.uppercase {
    text-transform: uppercase;
}

.navigation {
    width: 100%;
    font-family: 'Avenir';
    font-size: 14px;
	-webkit-transition:300ms all ease;
    -moz-transition: 300ms all ease;
    -o-transition: 300ms all ease;
    transition:300ms all ease;
	position: fixed;
	z-index: 999;
}

.navigation.dark {
	background: #1d1d1d;
	height: 110px;
	-webkit-transition:300ms all ease;
    -moz-transition: 300ms all ease;
    -o-transition: 300ms all ease;
    transition:300ms all ease;
}

.navigation .container {
    position: relative;
}

.nav-container {
    position: absolute;
    width: 100%;
    padding-top: 30px;
    z-index: 999;
}

.navigation .nav-items {
    padding-top: 20px;
}

.navigation.dark .nav-items {
    padding-top: 15px;
}

.navigation .nav-item {
    padding: 0 15px;
    display: inline-block;
    text-transform: uppercase;
}

.nav-logo-container {
    width: 165px;
    overflow: hidden;
    cursor: pointer;
}

.navigation.dark .nav-logo-container {
	margin-top: -5px;	
}

.nav-logo-container img {
    margin-left: -128px;
	-webkit-transition: all 500ms cubic-bezier(0.645, 0.045, 0.355, 1);
    -moz-transition: all 500ms cubic-bezier(0.645, 0.045, 0.355, 1);
    -o-transition: all 500ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 500ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.nav-logo-container:hover img {
    margin-left: 0;
}

.nav-items a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    padding-bottom: 3px;
}

.nav-items a.active {
    border-bottom: 1px solid #fff;
}

.nav-items a:hover {
    border-bottom: 1px solid #fff;
}

@media (max-width: 768px) {
	.mobile-hamburger {
		background: red;
	}
	
	.mobile-hamburger i {
		color: #fff;
		font-size: 28px;
		margin-left: -65px;
		margin-top: -5px;
		cursor: pointer;
	}
	
	.mobile-nav {
		display: none;
		opacity: 0;
		background: #623c91;
		width: 100%;
		height: 100%;
		min-height: 100vh;
		position: absolute;
		z-index: -1;
		left: -15px;
		top: 0;
		text-align: center;
		padding-top: 33%;
		line-height: 2em;
		font-size: 18px;
		-webkit-transition: opacity 500ms ease;
		-moz-transition: opacity 500ms ease;
		-o-transition: opacity 500ms ease;
		transition: opacity 500ms ease;
	}
	
	.mobile-nav.show {
		display: block;
		opacity: 1;
		z-index: 998;
		-webkit-transition: opacity 500ms ease;
		-moz-transition: opacity 500ms ease;
		-o-transition: opacity 500ms ease;
		transition: opacity 500ms ease;
	}
	
	.mobile-nav .mob-nav-close i {
		position: absolute;
		z-index: 999;
		right: 12px;
		top: 8px;
		padding-top: 50px;
		-webkit-transform: rotate(45deg);
		-moz-transform:    rotate(45deg);
		-ms-transform:     rotate(45deg);
		-o-transform:      rotate(45deg);
		transform:         rotate(45deg);
	}
	
	.nav-items a {
		padding-bottom: 0;
		margin-bottom: 15px;
		border-bottom: 1px solid transparent;
	}
}

.page-landing {
    height: 620px;
    background-position: center bottom;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    font-family: 'Avenir';
}

#home .page-landing {
    background-image: url(../img/main/landing/bg.jpg);
}

.landing-logo {
    width: 340px;
    margin: 0 auto;
    display: inline-block;
    margin-top: 140px;
}

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

.landing-desc {
    display: inline-block;
    width: 575px;
    margin: 0 auto;
    margin-top: 30px;
    line-height: 1.5em;
    color: #fff;
}

.landing-buttons {
    display: block;
    margin-top: 35px;
}

.landing-buttons>* {
    display: inline-block;
}

.landing-buttons .learn-more {
    margin-right: 15px;
}

.landing-buttons .our-clients {
    margin-left: 15px;
}

.landing-arrow {
    margin-top: 40px;
    color: #fff;
    border: 2px solid #fff;
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-o-border-radius: 50%;
    padding-top: 12px;
    font-size: 21px;
}

.button {
    width: 150px;
    height: 45px;
    font-weight: 500;
	font-family: 'Avenir';
	position: relative;
	overflow: hidden;
}

.button a {
	display: inline-block;
	width: 150px;
	height: 45px;
	text-decoration: none;
	font-family: 'Avenir';
	color: #fff;
	padding-top: 14px;
	position: absolute;
	left: 0;
	z-index: 10;
}

.button.primary {
	color: #fff;
    background: #632c91;
	-webkit-transition: background 200ms ease;
    -moz-transition: background 200ms ease;
    -o-transition: background 200ms ease;
    transition: background 200ms ease;
}

.button.primary:hover {
	background: #7835b0;
	-webkit-transition: background 200ms ease;
    -moz-transition: background 200ms ease;
    -o-transition: background 200ms ease;
    transition: background 200ms ease;
}

.button.secondary {
    border: 1px solid #fff;
}

.button.secondary:after {
	content: '';
	position: absolute;
	width: 151px;
	height: 45px;
	background: #fff;
	left: -1px;
	bottom: -45px;
	z-index: 9;
	-webkit-transition: bottom 100ms ease-out;
    -moz-transition: bottom 100ms ease-out;
    -o-transition: bottom 100ms ease-out;
    transition: bottom 100ms ease-out;
}

.button.secondary:hover:after {
	bottom: 0;
	-webkit-transition: bottom 120ms ease-in;
    -moz-transition: bottom 120ms ease-in;
    -o-transition: bottom 120ms ease-in;
    transition: bottom 120ms ease-in;
}

.button.secondary:hover a {
	color: #632c91;
}

@media (max-width: 640px) {
	.landing-desc {
		width: 90%;
	}
	
	.page-landing {
		height: auto;
		padding-bottom: 45px;
	}
}

@media (max-width: 420px) {
	.landing-logo {
		width: 280px;
	}
}

.page-section {
    padding: 70px 0;
}

.page-section.primary {
    background: #fff;
    color: #777;
}

.page-section.off {
    background: #f8f8f8;
}

.page-section.secondary {
    background: #632c91;
    color: #fff;
}

.page-section.secondary.off {
    background: #e3d3ea;
    color: #777;
}

.page-section .section-title {
    color: #632c91;
    font-family: 'Avenir';
    font-weight: 500;
    font-size: 42px;
}

.page-section.secondary .section-title {
    color: #fff;
}

.page-section.secondary.off .section-title {
    color: #333;    
}

.our-clients .section-title {
    text-align: center;    
}

.section-desc {
    font-family: 'Avenir';
    margin-top: 15px;
    line-height: 1.5em;
}

.section-desc a {
    color: #337ab7;
}

.section-desc.brand-stories {
	color: #333;
}

@media (max-width: 768px) {
	.section-title.brand-stories {
		padding-top: 70px;
	}
	
	.section-desc {
		width: 90%;
		margin: 0 auto;
		margin-top: 15px;
	}
}

.our-clients .section-desc {
    text-align: center;
}

.our-clients .clients-reel {
    height: 450px;
    margin-top: 30px;
    position: relative;
}

.clients-reel .animated-clients {
    height: 100%;
    width: 1037px;
    margin: 0 auto;
    background-position: left center;
    background-size: contain;
    background-repeat: repeat;
    background-attachment: scroll;
    background-image: url(../img/main/client-reel/desktop.jpg);
	image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 1037px) {
	.clients-reel .animated-clients {
		height: 100%;
		width: 98%;
		background-size: contain;
		background-repeat: no-repeat;
	}
}

@media (max-width: 992px) {
	.our-clients .clients-reel {
		height: 800px;
		margin-top: 30px;
		position: relative;
	}
	
	.clients-reel .animated-clients {
		height: 100%;
    	width: 90%;
		background-size: contain;
		background-repeat: no-repeat;
		background-image: url(../img/main/client-reel/tablet.jpg);
		background-attachment: scroll;
		background-position: center center;
	}
}

@media(max-width: 540px) {
	.section-desc {
		max-width: 90%;
		margin: 0 auto;
		margin-top: 15px;
	}
	
	.our-clients .clients-reel {
		height: 800px;
	}
	
	.clients-reel .animated-clients {
		height: 100%;
    	width: 90%;
		background-size: contain;
		background-repeat: no-repeat;
		background-image: url(../img/main/client-reel/mobile.jpg);
		background-attachment: scroll;
		background-position: center center;
	}
}

.section-hr {
    width: 280px;
    margin: 0 auto;
    margin-top: 15px;
    margin-bottom: 0;
}

.page-section.secondary.off .section-hr {
    border-color: #777;
}

.solutions-container {
    margin-top: 45px;
    height: 460px;
}

.solution-card {
    height: 460px;
    position: relative;
    display: block;
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}

.solution-card:before {
    content: 'Learn More';
    height: 460px;
    width: 100%;
    position: absolute;
	left: 0;
	background-color: #fff;
    background-color: rgba(29, 29, 29, 0.95);
    opacity: 0;
    padding-top: 45%;
    font-size: 28px;
    font-weight: 500;
    font-family: 'Avenir';
    text-transform: uppercase;
    display: inline-block;
    -webkit-transition: 180ms all ease;
    -moz-transition: 180ms all ease;
    -o-transition: 180ms all ease;
    transition: 180ms all ease;
}

.solution-card:hover:before {
    opacity: 1;
	-webkit-transition: 180ms all ease;
    -moz-transition: 180ms all ease;
    -o-transition: 180ms all ease;
    transition: 180ms all ease;
}

.solution-card.research {
    background-image: url(../img/main/services/rightBrainResearch.jpg);
}

.solution-card.segmentation {
    background-image: url(../img/main/services/segmentation.jpg);
}

.solution-card.strategy {
    background-image: url(../img/main/services/strategyWorkshop.jpg);
}

.solution-content {
    height: 100%;
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.5em;
    padding-top: 70px;
}

.solution-number, .solution-title, .solution-desc {
    font-family: 'Avenir';
    font-weight: 500;
    font-size: 28px;
    margin-bottom: 30px;
}

.solution-number {
    display: inline-block;
    width: 42px;
    height: 42px;
    padding-top: 7px;
    border: 1px solid #fff;
    margin-bottom: 45px;
}

.solution-desc {
    font-size: 18px;
    font-weight: 300;
	font-family: 'Avenir-Light';
    max-width: 420px;
    width: 80%;
    margin: 0 auto;
}

@media (max-width: 992px) {
	.solution-card:before {
		padding-top: 60%;
	}
}

@media (max-width: 830px) {
	.solution-title {
		max-width: 95%;
		line-height: 1.1em;
	}
	
	.hidden-830 {
		display: none;
	}
	
	.solution-card:before {
		padding-top: 70%;
	}
}

@media (max-width: 768px) {
	.solution-card:before {
		padding-top: 30%;
	}
}

@media (max-width: 540px) {
	.solution-card:before {
		padding-top: 40%;
	}
}

@media (max-width: 420px) {
	.solution-card:before {
		padding-top: 50%;
	}
}

.brand-story-bg {
    height: auto;
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: cover;
}

.brand-story-bg.mcdonalds {
    background-image: url(../img/subpage/landing-bg/mcDonalds.jpg);
}

.brand-story-bg.jamesHardie {
    background-image: url(../img/subpage/landing-bg/hardie.jpg);
}

.brand-story-bg.jareds {
    background-image: url(../img/subpage/landing-bg/jareds.jpg);
}

.brand-story-bg.corvette {
    background-image: url(../img/subpage/landing-bg/corvette.jpg);
}

.brand-story-text-wrapper {
    display: inline-block;
    margin-top: 60px;
}

.jareds .brand-story-text-wrapper {
	margin-top: 15px;
}

.mcdonalds .brand-story-text-wrapper {
    margin-top: 45px;
}

.brand-story-icon img {
    max-width: 120px;
}

.brand-story-title, .brand-story-desc {
    font-family: 'Avenir-Heavy';
    font-size: 28px;
    font-weight: 900;
    color: #fff;
}

.brand-story-title {
    margin-top: 20px;
}

.brand-story-desc {
    font-size: 18px;
    font-weight: 300;
	font-family: 'Avenir';
    line-height: 1.5em;
    width: 280px;
}

.mcdonalds .brand-story-desc, .jareds .brand-story-desc {
    width: 340px;
}

.brand-story-hr {
    width: 100px;
    margin-left: 0;
    border-color: #fff;
    margin-top: 15px;
    margin-bottom: 15px;
}

.brand-story-button {
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 60px;
    text-align: center;
}

.brand-story-button a {
    color: #fff;
    font-family: 'Avenir';
}

.brand-story-image img {
    max-width: 100%;
}

.left-text .brand-story-image img {
    float: right;
}

.right-text .brand-story-image img {
    float: left;
}

.mcdonalds .brand-story-image {
    padding-top: 80px;
}

.jamesHardie .brand-story-image, .jareds .brand-story-image {
    padding-top: 85px;
}

.corvette .brand-story-image {
    padding-top: 140px;
}

@media (max-width: 991px) {
    .left-text .brand-story-image img {
        margin-right: -75px;
    }

    .mcdonalds .brand-story-image {
        padding-top: 145px;
    }
  
    .corvette .brand-story-image {
        padding-top: 170px;
    }
}

@media (max-width: 914px) {
	.jareds .brand-story-desc {
		width: 250px;
	}
	
	.jareds .brand-story-image {
		padding-top: 120px;
	}
}

@media (max-width: 860px) {
	.left-text .brand-story-image img {
		margin-right: -30px;
	}
}

@media (max-width: 767px) {
	.corvette .brand-story-text-wrapper {
		margin-top: 60px;
	}
	
	.brand-story-text {
		text-align: center;
	}
	
	.brand-story-hr {
		margin: 0 auto;
		margin-top: 15px;
		margin-bottom: 15px;
	}
	
	.brand-story-text-wrapper {
		text-align: center;
		margin: 0 auto;
	}	
	
	.jareds .brand-story-desc {
		width: 340px;
	}
}

#company-stats {
    text-align: center;
    font-family: 'Avenir';
    padding: 120px 0;
}

.stat-headline {
    font-size: 28px;
    font-weight: 900;
	font-family: 'Avenir-Heavy';
    color: #333;
}

.stat-subtitle {
    margin-top: 5px;
    font-size: 21px;
}

.stat-desc {
    font-size: 18px;
    line-height: 1.5em;
	width: 85%;
	margin: 0 auto;
	margin-top: 15px;
}

@media (max-width: 768px) {
	#company-stats {
		padding: 90px 0;
	}
	
	.stat {
		margin-bottom: 60px;
	}
	
	.stat:last-of-type {
		margin-bottom: 0;
	}
}

#testimonials-section {
	height: 400px;
	background: #fff;
	font-family: 'Avenir';
}

#testimonials .carousel-inner {
	height: 400px;
	background: #fff;
	text-align: center;
	color: #777;
}

.testimonial-text {
	font-size: 21px;
	font-weight: 500;
	font-family: 'Avenir';
	max-width: 588px;
	width: 90%;
	text-align: center;
	display: inline-block;
	margin: 0 auto;
	height: 280px;
	padding-top: 80px;
	line-height: 1.5em;
	overflow: hidden;
}

#testimonials .testimonial-source {
	line-height: 1.5em;
	font-size: 18px;
	height: 220px;
	overflow: hidden;
	font-weight: 500;
	font-family: 'Avenir';
	color: #333;
}

.testimonial-image {
	height: 400px;
	background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial-image.hughes {
	background-image: url(../img/main/testimonials/hughes.jpg);
}

.testimonial-image.jamesHardie {
	background-image: url(../img/main/testimonials/hardie.jpg);
}

.testimonial-image.maybelline {
	background-image: url(../img/main/testimonials/maybelline.jpg);
}

.testimonial-image.mcdonalds {
	background-image: url(../img/main/testimonials/mcD.jpg);
}

.testimonial-image.mdm {
	background-image: url(../img/main/testimonials/mdm.jpg);
}

.testimonial-image.nissan {
	background-image: url(../img/main/testimonials/nissan.jpg);
}

.testimonial-image.abbot {
	background-image: url(../img/main/testimonials/abbot.jpg);
}


.carousel-control.left, .carousel-control.right {
	font-size: 42px;
    background-image: none !important;
	padding-top: 190px;
	color: #fff;
	opacity: 1;
	visibility: hidden;
	cursor: pointer;
}

.carousel-control.left {
	text-align: left;
	padding-left: 15px;
}

.carousel-control.right {
	text-align: right;
	padding-right: 15px;
}

@media (max-width: 540px) {	
	#testimonials-section {
		height: 420px;
	}
	
	#testimonials .carousel-inner {
		-webkit-transition: all 200ms ease;
		-moz-transition: all 200ms ease;
		-o-transition: all 200ms ease;
		transition: all 200ms ease;
	}
	
	#testimonials .testimonial-source {
		width: 85%;
		margin: 0 auto;
		-webkit-transition: all 200ms ease;
		-moz-transition: all 200ms ease;
		-o-transition: all 200ms ease;
		transition: all 200ms ease;
	}
	
	.testimonial-text {
		font-size: 18px;
		width: 85%;
	}
}

#from-the-blog {
	font-family: 'Avenir';	
}

.blog-row {
	margin-top: 60px;
	margin-bottom: 50px;
}

.blog-post-image {
	height: 200px;
	overflow: hidden;
	position: relative;
}

.blog-post-image img {
	position: absolute;
	top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100%;
}

.blog-post-title {
	margin-top: 25px;
	font-size: 28px;
	font-weight: 600;
	font-family: 'Avenir-Heavy';
}

.blog-post-excerpt {
	line-height: 1.5em;
	font-size: 18px;
	font-weight: 300;
	font-family: 'Avenir-Light';
	margin-top: 15px;
}

.blog-read-more {
	color: #fff;
	margin-top: 45px;
}

.blog-read-more a {
	color: #fff;
	display: inline-block;
	padding-bottom: 2px;
	border-bottom: 1px solid #fff;
	text-decoration: none;
	margin-right: 10px;
}

@media (max-width: 768px) {
	.blog-post {
		margin-bottom: 60px;
	}
	
	.blog-post:last-of-type {
		margin-bottom: 0;
	}
	
	.blog-post-content {
		max-width: 90%;
		margin: 0 auto;
	}
	
	.blog-post-image {
		width: 100%;
		height: 150px;
		overflow: hidden;
	}
	
	.blog-post-image img {
		min-width: 100%;
		position: absolute;
		top: 0;
	}
}

@media (max-width: 540px) {
	.blog-post-image {
		height: 175px;
	}
}

#founder-section {
  min-height: 500px;
  max-height: 520px;
  line-height: 1.4em;
  font-family: 'Avenir';
  overflow: hidden;
} 

.founder-info {
  padding-top: 10%;
  width: 75%;
  margin: 0 auto;
} .founder-desc {
  max-width: 75%;
  padding-bottom: 10%;
  margin: 0 auto;
}

.founder-image {
  height: 520px;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-image: url(../img/main/founder/ctk.jpg);
}

@media (max-width: 1138px) {
  .founder-image {
    height: 600px;
  } #founder-section {
    min-height: 500px;
    max-height: 600px;
  } .founder-info {
    padding-top: 13%;
  }
}

@media (max-width: 768px) {
  #founder-section {
    min-height: none;
    max-height: none;
  } .founder-info {
    padding-top: 15%;
  } .founder-desc {
    padding-bottom: 15%;
  } .founder-image {
    height: 670px;
  }
}


#contact {
	background-position: center bottom;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-image: url(../img/main/bg/contact-bg.jpg);
}

.contact .form-wrapper {
	width: 400px;
	margin: 0 auto;
	margin-top: 45px;
	font-family: 'Avenir';
	font-size: 18px;
}

.form-control {
	height: 50px;
	border-radius: 0;
	background: #fafafa;
	font-size: 18px;
	margin-bottom: 30px;
	border: 0;
}

.form-group textarea {
	height: 140px;
}
	
.form-wrapper button {
	width: 400px;
	border-radius: 0;
	border: 0;
	background: #632c91;
	height: 50px;
	color: #fff;
	font-size: 18px;
	margin-top: -5px;
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	transition: all 200ms ease;
}

.form-wrapper button:hover {
	background: #7835b0;
	color: #fff;
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	transition: all 200ms ease;
}

.icon-option {
	text-align: center;
	font-size: 14px;
	margin-top: 30px;
}

.contact-option {
	margin-top: 7px;
}

@media (max-width: 420px) {
	.contact .form-wrapper {
		width: 320px;
	}
	
	.form-wrapper button {
		width: 320px;
	}
}

footer {
	font-family: 'Avenir';
	font-size: 14px;
	position: relative;
}

footer .right {
	text-align: right;
}

footer .left {
	position: relative;
}

.footer-logo {
	width: 120px;
	margin-top: 45px;
}

.footer-logo img {
	max-width: 100%;
}

.copyright {
	margin-top: 15px;
}

.footer-navigation {
	margin-top: 60px;
}

.footer-navigation .nav-items .nav-item {
	display: inline-block;
	padding: 0 15px;
	border: none;
}

.footer-navigation .nav-items .nav-item a {
	border: none;
}

.footer-navigation .nav-items .nav-item:nth-child(1) {
	padding-left: 0;
}

.footer-social {
	margin-top: 30px;
}

.footer-social>*, .footer-social-icons .social-icon {
	display: inline-block;
}

.footer-social-icons .social-icon {
	padding: 0 15px;
}

.footer-social-icons .social-icon a {
	color: #fff;
	text-decoration: none;
}

.designer {
	text-align: left;
	color: #fff;
	font-size: 10px;	
	opacity: 0.2;
	margin-top: 10px;
}

.designer a {
	color: #fff;
	border-bottom: 1px solid rgba(255,255,255,0.2);
	text-decoration: none;
}

@media (max-width: 768px) {
	footer {
		text-align: center;
	}
	
	.footer-logo {
		width: 120px;
		margin: 0 auto;
		margin-top: 45px;
	}
	
	.footer-navigation {
		margin-top: 0;
		text-align: center;
	}
	
	.footer-navigation .nav-items .nav-item {
		padding: 0 10px;
	}
	
	.footer-social {
		text-align: center;
		margin: 0 auto;
		margin-top: 30px;
	}
	
	.designer {
		text-align: center;
		margin-top: 15px;
	}
}

.carousel-fade .carousel-inner .item {
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  -o-transition-property: opacity;
  transition-property: opacity;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform:    translate3d(0, 0, 0);
  -ms-transform:     translate3d(0, 0, 0);
  -o-transform:      translate3d(0, 0, 0);
  transform:         translate3d(0, 0, 0);
}
.carousel-fade .carousel-control {
  z-index: 2;
}
html,
body,
.carousel,
.carousel-inner,
.carousel-inner .item {
  height: 100%;
}

.no-bottom-pad {
    padding-bottom: 0;
}

.no-pad {
    padding: 0;
}

/* Extra Page CSS */
.extra-page {
	height: 100%;
	background: #632c91;
	color: #ddd;
	font-family: 'Avenir';
}

.extra-page .top-logo {
	float: left;
	margin-left: 45px;
	margin-top: 45px;
}

.extra-page .text-container {
	width: 750px;
	max-width: 90%;
	margin: 0 auto;
	padding-top: 250px;
	text-align: center;
}

.extra-page .heading {
	font-size: 32px;
	color: #fff;
	font-family: 'Avenir-Heavy';
	padding-bottom: 100px;
	line-height: 1.5em;
}

.extra-page .subtext {
	font-size: 18px;
}

.extra-page .subtext a {
	color: #49a2f0;
}