/**********************************************
Written and designed by Bradley Sutherland
Email: kyrogeneration@gmail.com
Portfolio: http://kyrogen.ca
***********************************************/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	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;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html {overflow-y: scroll; overflow-x: hidden;}


/**********************************************
Font Styles
**********************************************/

body {
	font-family: 'Source Sans Pro', sans-serif;
	color: #808080;
	line-height: 1.3em;
	font-size: 1em;
}

h1 {
	font-size: 3em;
	font-family: "Titillium Web", sans-serif;
	color: #333333;
	line-height: .76em;
	text-transform: uppercase;
}

h2 {
	font-size: 2em;
	font-family: "Titillium Web", sans-serif;
	color: #333333;
	line-height: .9em;
	text-transform: uppercase;
}

a {
	text-decoration: none;
	color: #F2F2F2;
}

.center {
	text-align: center;
}

/*********************************************
General Styles
*********************************************/

.ctabutton {
	color: #F2F2F2;
	text-transform: uppercase;
	border-style: solid;
	border-width: 1px;
	border-color: #F2F2F2;
	text-align: center;
	max-width: 300px;
	padding: 20px 40px;
	margin: 10px auto;
	display: block;
	-webkit-transition: background-color .3s;  /* For Safari 3.1 to 6.0 */
	transition: background-color .3s;
}

.ctabutton:hover{
	background-color: rgb(51, 51, 51);
	background-color: rgba(255, 255, 255, .2);
}


/**********************************************
Header Styles
**********************************************/

header .brand-title {
	font-family: "Titillium Web", sans-serif;
	font-size: 5em;
	margin: 110px 0 0;
	position: relative;
	right: 108px;
	color: #1A1A1A;
}

header .brand-description {
	font-size: 1.1em;
	color: #333333;
	width: 600px;
	margin: 20px 0 0;
	position: relative;
	right: 108px;
}

header .contacts-list a {
	font-size: 1.4em;
	text-decoration: none;
	color: #E6E6E6;
	line-height: 1.7em;
	margin-left: 12px;
}

header .contacts .contacts-list a:hover{
	color: #EF7633;
}

header .contacts-mobile {
	display: none;
}

header {
	background:url(../img/headerBanner.jpg) no-repeat;
	background-position: 0 0;
	background-size: 100%;
	height: 100%;
	max-height: 355px;
}

header .header-content {
	background: #FFFFFF;
	height: 355px;
	max-width: 600px;
	width: 100%;
	float: right;
}

header .contacts {
	float: right;
	position: relative;
	top: 225px;
	width: 50px;
}

header .header-logo {
	margin-top: 40px;
	height: 270px;
	float: left;
	position: relative;
	right: 108px;
}

header .mobile-contacts {
	display: none;
}


/**********************************************
Footer Styles
**********************************************/

footer {
	background-color: #42C4A6;
	color: #F2F2F2;
}

footer .row {
	padding: 70px 9%;
}

footer .footer-content {
	font-size: 2em;
	line-height: 1.1em;
	padding: 40px 0 0 50px;
	width: 100%;
}



/************************************************
Homepage Styles
************************************************/

.home-summary {
	padding: 80px 9%;
	text-align: center;
}

.home-summary img {
	max-width: 100%;
	width: 150px;
	margin-bottom: 10px;
}

.works-wrapper {
	padding: 30px 0;
	background-color: #333333;
}

.home-works {
	padding: 20px 9%;
}

.home-works .one-grid {
	width: 48%;
	margin: 0 auto;
	display: block;
}

.home-works img {
	position: relative;
	display: block;
	max-width: 100%;
}

.home-works figure {
	position: relative;
	text-align: center;
	cursor: pointer;
}

.home-works figure img {
	position: relative;
	display: block;
	opacity: 0.6;
	filter: alpha(opacity=80);
	-webkit-transition: opacity .3s linear;
	transition: opacity .3s linear;
}

.home-works figure figcaption {
	padding: 1.5em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: top .3s ease-in-out;
	transition: top .3s ease-in-out;
}

.home-works figure figcaption h2 {
	color: #FFFFFF;
}

.home-works figure figcaption p {
	color: #FFFFFF;
	opacity: 0;
	-webkit-transition: opacity .3s ease-in-out;
	transition: opacity .3s ease-in-out;
}

.home-works figure figcaption, .home-works figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.home-works figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.home-works figure:hover img {
	opacity: 1;
	filter: alpha(opacity=100);
	-webkit-transition: opacity .3s ease-in-out;
	transition: opacity .3s ease-in-out;
}

.home-works figure:hover figcaption {
	top: 10px;
	-webkit-transition: top .3s ease-in-out;
	transition: top .3s ease-in-out;
}

.home-works figure:hover figcaption p {
	opacity: 1;
	filter: alpha(opacity=100);
	-webkit-transition: opacity .3s ease-in-out;
	transition: opacity .3s ease-in-out;
}

.goals {
	padding: 50px 20%;
}

.goals p {
	text-align: center;
}

.goals h2 {
	text-align: center;
}

.goals img {
	margin: 20px auto;
	display: block;
	max-width: 100%;
	width: 250px;
	border-radius: 100%;
}

.skills {
	padding: 0 20% 30px;
}

.skills h2 {
	font-size: 1.5em;
	text-align: center;
	padding-bottom: 15px;
}

.skills ul li {
	text-align: center;
	margin-bottom: .5em;
}


/************************************************
Project Styles
************************************************/

.projects-wrapper {
	background-color: #333333;
}

.projects-wrapper h2 {
	color: #F2F2F2;
}

.project-header {
	padding: 20px 9%;
}

.project-header h1 {
	color: #F2F2F2;
	padding-bottom: .2em;
}

.project-description h2 {
	margin: .5em 0 0;
}

.project-description a {
	text-decoration: underline;
	color: #333333;
	padding: 20px 0 0;
	display: inline-block;
}

.project-description {
	padding: 20px 9%;
	min-height: 340px;
	overflow: visible;
}

.project-description img {
	position:absolute;
	z-index: 999;
	top: -100px;
	display: block;
}

.project-details {
	padding: 20px 9%;
}

.project-details img {
	max-width: 100%;
}

.project-one-grid {
	margin-bottom: 20px;
}

.project-two-grid img {
	float: left;
	width: 48%;
	margin-bottom: 20px;
}

 .project-two-grid > img:first-of-type {
	float: left;
	margin-right: 2%;
}

 .project-two-grid > img:last-of-type {
	float: left;
	margin-left: 2%;
}

.bottom-menu {
	display: none;
	border-top: solid 1px;
	border-color: #F2F2F2;
}

.top-menu {
	border-bottom: solid 1px;
	border-color: #F2F2F2;
	display: none;
}

.projects-submenu img {
	margin: 0 auto 20px;
	display: block;
	max-width: 80px;
}

.projects-submenu .two {
	padding: 20px 0;
	border: solid 1px;
	border-color: #333333;
}

.projects-submenu .two:hover{
	border: solid 1px;
	background-color: #42C4A6;
	border-color: #F2F2F2;
}

.projects-submenu .selected {
	background-color: #427866;
}


/************************************************
Media Queries
************************************************/

@media all and (max-width: 860px) {
	
	.one, .two, .three, .four, .five, .six, .seven, .eight, .nine, .ten, .eleven {
		float: none;
		width: 100%;
		max-width: 100%;
	}

	.column, .columns {
		padding: 0;
	}

	header {
		background:url(../img/headerBannerMobile.jpg) no-repeat;
		background-position: 0 0;
		background-size: 100%;
		height: auto;
		max-height: 100%;
	}

	header .brand-title {
		margin: 50px 0 0;
		padding-right: 9%;
		right: 0;
	}

	header .brand-description {
		right: 0;
		width: 100%;
		padding-right: 9%;
	}

	header .header-logo {
		padding-left: 9%;
		margin-top: 20px;
		right: 0;
	}

	header .header-content {
		float: left;
		height: auto;
		margin-top: 60px;
		max-width: 100%;
	}

	header .contacts {
		float: left;
		display: none;
	}

	header .mobile-contacts {
		padding: 20px 0;
		display: block;
		text-align: center;
	}

	.projects-submenu img {
		display: none;
	}

	.home-summary {
		display: none;
	}

	.home-works .six {
		float: left;
		width: 100%;
		max-width: 50%;
	}

	.home-works > .column:first-of-type, .home-works > .columns:first-of-type {
		float: left;
		padding-right: 2%;
	}

 	.home-works > .column:last-of-type, .home-works > .columns:last-of-type {
		float: left;
		padding-left: 2%;
	}

	.project-description {
		overflow: hidden;
		height: auto;
	}

	.project-description img {
		position: relative;
		top: 0;
		margin: 20px auto 0;
		max-width: 100%;
	}

	.project-details p {
		margin-bottom: 20px;
	}

	.project-one-grid {
		margin: 0 auto 20px;
		display: block;
	}

	footer .footer-content {
		padding: 0;
		text-align: center;
		max-width: 100%;
		width: 100%;
	}
}

@media all and (max-width: 640px) {


	header {
		background:url(../img/headerBannerMobileSmall.jpg) no-repeat;
		background-position: 0 0;
		background-size: 100%;
		min-height: 710px;
	}

	header .header-logo {
		padding: 0;
		margin: 20px auto 20px;
		float: none;
		display: block;
		top: -70px;
	}

	header .brand-title {
		margin: 0;
		padding: 0;
		text-align: center;
		top: -70px;
	}

	header .brand-description {
		width: 100%;
		padding: 0 9%;
		text-align: center;
		top: -70px;
	}

	header .mobile-contacts {

	}

	.home-works > .column:first-of-type, .home-works > .columns:first-of-type {
		float: none;
		padding-right: 0;
	}

 	.home-works > .column:last-of-type, .home-works > .columns:last-of-type {
		float: none;
		padding-left: 0;
	}

	.home-works .six {
		float: none;
		max-width: 100%;
		width: 100%;
	}

	.home-works .one-grid {
		float: none;
		max-width: 100%;
		width: 100%;
	}

	.home-works img {
		width: auto;
		margin: 0 auto 10px;
		display: block;
	}

	.home-works {
		padding: 0 9%;
	}
}