/******************************************************************

					CONNORS STYLE STUFF (OOSHT!)
										
******************************************************************/


/******************************************************************
                 		   HOME INDEX 
*******************************************************************/

/* Totaliser - 1.1 */
/* Formula - 1.2 */
/* Portfolio - 1.3 */
/* Calls To Actions - 1.4 */


/*****************************************************************
                 		  Totaliser 1.1
******************************************************************/


#totaliser {
	height: auto;
	width: 100%;
	display: block;
	float: left;
	background: url('../../img/headers/carbonizerbg.jpg') no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	-webkit-border-image: url('../../img/custom/totaliserBorder.png') 0 0 27px 0 stretch stretch;
	-moz-border-image: url('../../img/custom/totaliserBorder.png') 0 0 27px 0 stretch stretch;
	-o-border-image: url('../../img/custom/totaliserBorder.png') 0 0 27px 0 stretch stretch;
	border-image: url('../../img/custom/totaliserBorder.png') 0 0 27px 0 stretch stretch;
}

#totaliser:after {
	clear: both;
	content: "";
	display: table;
}

#totaliser .trees-primary-content {
	color: #91c46c;
	padding: 1em 0 0 0;
}

#totaliser .trees-primary-content h2 {
	margin: 0 0 0.2em 0;
}

#totaliser .trees-primary-content span {
	font-family: "futura-pt", sans-serif;
	font-size: 3em;
	font-weight: bold;
}

#totaliser .trees-primary-content p {
	font-size: 1.2em;
	margin-bottom: 0;
}

#totaliser .trees-secondary-content {
	padding-right: 50px;
	color: #91c46c;
	font-size: 1.2em;
}

/*#totaliser .trees-primary-content p:last-of-type {
	color: #a3472e;
}*/

#totaliser .trees-and-content .trees div {
	position: relative;
	width: 100%;
	max-width: 500px;
	height: 149px;
	overflow: hidden;
}

#totaliser .trees-and-content .trees img {
	position: absolute;
	top: -147px;
}

#totaliser .btn {
	margin: 1em auto;
	float: left;
}

#totaliserBorder {
	display: block;
	width: 100%;
	height: 37px;
	float: left;
	background: url('../../img/custom/totaliserBorder.png') no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}


@media all and (max-width: 1100px) {
	#totaliser {
		text-align: center;
		padding: 2em 0;
	}

	#totaliser .trees-and-content .trees {
		width: 500px;
		margin: 0 auto;
	}


	#totaliser .trees-secondary-content {
	}

	#totaliser .trees-secondary-content h2 {
		margin-bottom: 0.7em;
	}

	#totaliser .btn {
		float: none;
	}
}

@media all and (min-width: 1287px) {

}

@media all and (max-width: 1286px) and (min-width: 1100px) {

}


/*****************************************************************
                 		  Formula 1.2
******************************************************************/


#formula {
	padding: 2em 0;
	text-align: center;
	color: #5b6369;
}

#formula p {
	margin: 0 0 2em 0;
}


/*****************************************************************
                 		Portfolio 1.3
******************************************************************/


#portfolio {
	padding: 2em 0;
	text-align: center;
	color: #fff;
	background: url('../../img/headers/bluewood.jpg') no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#portfolio p {
	margin: 0 0 2em 0;
}


/*****************************************************************
                      Calls To Actions - 1.4
******************************************************************/

/* Universal for all Calls to Actions */
.CTA {
	padding: 2em 0;
}

.CTA p {
	margin: 0 0 2em 0;

}

.CTA h2 {
	font-size: 1.5em;
	margin-top: 0.5em;
}

.CTA .btnBlue {
	text-transform: none;
}


/* Calls to Action EVEN Styles */
.CTA:nth-of-type(even) > div {
	color: #878787;
}

.CTA:nth-of-type(even) > div > img {
	float: left;
	padding: 0 2em 1em 0;
}

.CTA:nth-of-type(even) > div > .btn {
	float: right;
}


/* Calls to Action ODD Styles */
.CTA:nth-of-type(odd) {
	background: url('../../img/headers/CTA1-2015-flipped.jpg') no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	color: #fff;
	text-shadow: 2px 2px 3px #242424;
	text-shadow: 2px 2px 3px rgba(0, 0, 0, .5);
}

.CTA:nth-of-type(odd) > div > img {
	float: right;
	padding: 0 0 1em 2em;
}

.CTA:nth-of-type(odd) > div > .btn {
	float: left;
	text-shadow: none;
}

.CTA-with-video iframe {
	float: left;
	max-width: 48%;
	margin-right: 2%;
}


/* Media Queries */
@media all and (max-width: 940px) {
	.CTA {
		text-align: center;
	}

	.CTA:nth-of-type(even) > div > img, .CTA:nth-of-type(odd) > div > img {
		display: block;
		float: none;
		margin: 0 auto;
		padding: 0 0 2em 0;
	}

	.CTA:nth-of-type(even) > div > .btn, .CTA:nth-of-type(odd) > div > .btn  {
		float: none;
	}
}





/*****************************************************************
                 		  	HERO
******************************************************************/

#hero {
	position: relative;
    height: auto;
    display: block;
    float: left;
    background: url('/assets/img/headers/hero.jpg') no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding: 4em 0;
    text-align: center;
}

#hero > div:first-of-type {
	position: relative;
}

#hero > div:first-of-type img:first-of-type {
	position: relative;
	z-index: 999;
}

#hero > div:first-of-type img {
	width: 100% !important;
	height: 100% !important;
}

#hero > div:first-of-type iframe {
	width: 100% !important;
	height: 100% !important;
	padding: 3.5em;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 999;
}

#hero > div:last-of-type p {
    font-family: "futura-pt", sans-serif;
    font-size: 1.7em;
    color: #fff;
    line-height: 1.5em;
    margin: 0 0 3em 0;
    text-shadow: 2px 2px 3px #242424;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, .7);
 	background-color: rgba(40, 125, 125, .5);
    font-size: 19px;
    border-radius: 5px;
    padding: 10px;
}

#hero > div .btnClear {
    margin: 0 auto;
    display: block !important;
    font-weight: bold;
}

@media all and (max-width: 1100px) {
    #hero > div {
        text-align: center;
    }

    #hero > div:last-of-type p {
        font-size: 1.3em;
    }

    #hero > div:last-of-type > p span {
        top: 1px;
        height: 15px;
    }
}



@media all and (max-width: 1600px) {
	#hero > div:first-of-type iframe {
		padding: 2.7em;
	}
}

@media all and (max-width: 1100px) {
	#hero > div:first-of-type iframe {
		padding: 4em 5em;
	}
}

@media all and (max-width: 800px) {
	#hero > div:first-of-type iframe {
		padding: 3.5em 4em;
	}
}

@media all and (max-width: 700px) {
	#hero > div:first-of-type iframe {
		padding: 3.5em;
	}
}

@media all and (max-width: 600px) {
	#hero > div:first-of-type iframe {
		padding: 2.5em;
	}
}

@media all and (max-width: 480px) {
	#hero > div:first-of-type img {
		height: 300px !important;
	}

	#hero > div:first-of-type iframe {
		padding: 2em;
		height: 300px !important;
		width: 100%;
	}
}

@media all and (max-width: 400px) {
	#hero > div:first-of-type img {
		height: 200px !important;
	}

	#hero > div:first-of-type iframe {
		padding: 1.5em;
		height: 200px !important;
	}
}