@import url("reset.css");
@import url("animate.css");
@import url("http://fonts.googleapis.com/css?family=Roboto:400,300,700,300italic,700italic,400italic");

/* ------------------------------------
Common
------------------------------------ */
body {
	background-color: #fafafa;
	color: #777;
	font-family: 'Roboto', Helvetica, Arial, sans-serif;
	font-size: 16px;
}
h1 {
	font-size: 4em;
	font-weight: 700;
	padding: 0 0 80px;
}
h1.wrap {
	padding: 80px 0 40px;
}
h2 {
	font-size: 2em;
	font-weight: 700;
	padding: 0 0 20px;
}
h3 {
	font-weight: 700;
}
a {
	color: #39bba1;
	text-decoration: none;
	-o-transition: color .2s ease-out;
	-ms-transition: color .2s ease-out;
	-moz-transition: color .2s ease-out;
	-webkit-transition: color .2s ease-out;
	transition:color .2s ease-out;
}
a:hover, a:active {
	color: #333;
	text-decoration: none;
}
a.button {
	border: 1px solid #39bba1;
	background: #39bba1;
	color: #111;
	font-size: 16px;
	text-decoration: none;
	display: inline-block;
	border-radius: 20px;
	line-height: 2.5em;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	padding: 0 2em;
	
	-o-transition: background .2s ease-in, border .2s ease-in;
	-ms-transition: background .2s ease-in, border .2s ease-in;
	-moz-transition: background .2s ease-in, border .2s ease-in;
	-webkit-transition: background .2s ease-in, border .2s ease-in;
	transition: background .2s ease-in, border .2s ease-in;
}
a.button:hover {
	background: #fff;
	border: 1px solid #fff;
	color: #111;
}
.clear:after {
	content: "";
	display: table;
	clear: both;
}
.wrap {
	margin: 0 auto;
	padding: 0 20px 0;
	width: 980px;
}
.section {
	padding: 4em 20px 10em;
}
#work.section {
	padding: 4em 0 0;
}
#work .wrap p {
	padding: 0 0 6em;
}
em {
	font-weight: 700;
}
#container {
	position: relative;
	margin: 0 1% 0 0;
	width: auto;
	padding: 0 0 4em;
}
#container:first-child {
	margin-left: 0;
}
/* ------------------------------------
Common - Navigation
------------------------------------ */
#header {
	height: 80px;
	padding: 4em 20px 4em;
}
#header img, #header h1 {
	float: left;
}
#header h1 {
	font-size: 2em;
	font-weight: 700;
	padding: 0.15em 0 0 0.5em;
	text-transform: lowercase;
}
#header h1 em {
	font-weight: 300;
}
a#logo {
	color: #777;
}
#nav {
	float: right;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#nav li {
	display: inline;
}
#nav li a {
	color: #333;
	display: inline-block;
	font-size: 1.5em;
	line-height: 80px;
	padding: 0 0 0 1em;
	text-decoration: none;

	-o-transition: color .2s ease-out;
	-ms-transition: color .2s ease-out;
	-moz-transition: color .2s ease-out;
	-webkit-transition: color .2s ease-out;
	transition:color .2s ease-out;
}
#nav li a:hover, #nav li a:active {
	color: #39bba1;
}
#nav li a.current {
	font-weight: 700;
	text-decoration: underline;
}
/* ------------------------------------
Common - Project Elements
------------------------------------ */
.project .wrap {
	position: relative;
	height: 600px;
}
.project h2 {
	font-size: 2em;
	padding: 0 0 20px;
	font-weight: 700;
}
.project p {
	line-height: 1.5em;
	padding: 0 0 1.5em;
}
#project-twb .project-copy {
	width: 400px;
	position: absolute;
	top: 200px;
	left: 20px;
}
#project-ctv .project-copy {
	padding: 4em 10em 0;
	text-align: center;
}
#project-smartplay .project-copy {
	padding: 340px 10em 0;
	text-align: center;
}
a.project-button {
	border: 1px solid #fff;
	background: rgba(255,255,255,0.1);
	color: #fff;
	font-size: .9em;
	text-decoration: none;
	display: inline-block;
	border-radius: 20px;
	line-height: 2.5em;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	padding: 0 2em;
	-o-transition: color .2s ease-out, background .2s ease-in, border .2s ease-in;
	-ms-transition: color .2s ease-out, background .2s ease-in, border .2s ease-in;
	-moz-transition: color .2s ease-out, background .2s ease-in, border .2s ease-in;
	-webkit-transition: color .2s ease-out, background .2s ease-in, border .2s ease-in;
	transition:color .2s ease-out, background .2s ease-in, border .2s ease-in;
}
a.project-button:hover {
	background: #39bba1;
	border: 1px solid #39bba1;
}
#project-twb a.project-button:hover { color: #415a68; }
#project-smartplay a.project-button:hover { color: #070707; }
#project-ctv a.project-button:hover { color: #0d1826; }
#project-twb img {
	position: absolute;
	right: -40%;
	top: 40px;
}
#project-smartplay img {
	left: 50%;
	margin: 0 0 0 -400px;
	position: absolute;
	top: -200px;
}
#project-ctv img {
	bottom: -140px;
	left: 50%;
	margin: 0 0 0 -300px;
	position: absolute;
}
/* ------------------------------------
Common - Masonry Elements
------------------------------------ */
.item {
	color: #999;
	float: left;
	width: 24%;
	margin: 0 0 1% 1%;
	background-color:#e1e1e1;
	border: 1px solid #e1e1e1;
	border-radius: 5px;
	border-width: 0;
	overflow: hidden;
	padding: 0 0 0.5em;
	border-bottom: 1px solid #c2c2c2;
	opacity: 0.8;
	text-decoration: none;
	-o-transition: margin .1s ease-out, background .2s ease-in, opacity .25s ease-in-out;
	-ms-transition: margin .1s ease-out, background .2s ease-in, opacity .25s ease-in-out;
	-moz-transition: margin .1s ease-out, background .2s ease-in, opacity .25s ease-in-out;
	-webkit-transition: margin .1s ease-out, background .2s ease-in, opacity .25s ease-in-out;
	transition: margin .1s ease-out, background .2s ease-in, opacity .25s ease-in-out;
}
.item img {
	width: 100%;
}
.item:hover {
	margin-top: -4px;
	opacity: 1;
}
.item h2 {
	color: #39bba1;
	font-size: 1em;
	font-weight: 700;
	padding: 0 20px;
	-o-transition: color .2s ease-out;
	-ms-transition: color .2s ease-out;
	-moz-transition: color .2s ease-out;
	-webkit-transition: color .2s ease-out;
	transition: color .2s ease-out;
}
.item:hover h2 {
	color: #333;
}
.item h3 {
	font-size: 0.8em;
	padding: 0 20px 10px;
}
.item p {
	font-size: 0.8em;
	padding: 0 20px 10px;
}
.item img {
	margin: 0 0 1em;
}
/* ------------------------------------
Home - Intro
------------------------------------ */
#intro h2 {
	font-size: 10em;
}
#intro p {
	font-size: 1.5em;
	line-height: 1.5em;
}
/* ------------------------------------
Home - Featured Projects
------------------------------------ */
.project {
	background-size: cover;
	height: 600px;
	position: relative;
	overflow: hidden;
	color: #fafafa;
	font-weight: 300;
}
#project-twb {
	background-color: #415a68;
}
#project-smartplay {
	background-color: #070707;
}
#project-ctv {
	background-color: #000;
	background-image: url("../images/project-cover-cognotv.jpg");
}
/* ------------------------------------
Home - Project Cards
------------------------------------ */
#work .project-copy h2 {
	font-size: 2em;
	font-weight: 700;
}
#project-card h1 {
	font-size: 8em;
	font-weight: 700;
}
#project-card h2 {
	font-weight: 700;
}
#project-card ul {
	list-style-type: none;
}
#project-card ul li {
	display: block;
	float: left;
}
#project-card ul li#overview { width: 300px; padding-right: 80px; }
#project-card ul li#involvement { width: 600px; }
/* ------------------------------------
Home - Quote
------------------------------------ */
#quote {
	background: url("../images/bg-quote.jpg");
	background-position: center;
	background-size: cover;
}
#quote h1 {
	font-size: 2.8em;
	font-weight: 300;
	padding: 6em 0;
}

#quote h1 em {
	color: #333;
	font-weight: 700;
}
/* ------------------------------------
About
------------------------------------ */
#aboutme h3 {
	padding: 0 0 10px;
}
#aboutme p {
	font-size: 1.5em;
	line-height: 1.5em;
	padding: 0 0 1em;
}
#aboutme p:nth-of-type(3) {
	padding: 0 0 8em;
}
#aboutme-columns {
	position: relative;
	padding: 0 0 8em;
}
#aboutme-columns li {
	float: left;
	margin-right: 40px;
	width: 300px;
}
#aboutme-columns .art {
	color: #fff;
	font-size: 60px;
	font-weight: 700;
	height: 150px;
	line-height: 150px;
	margin: 0 0 10px;
	text-align: center;
	text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
	width: 300px;
}
#aboutme-columns li p {
	font-size: 1em;
	padding: 0 0 2em;
}
#aboutme-columns li:nth-of-type(3n+0) {
	margin-right: 0;
}
#aboutme-photo {
	border: 10px solid #efefef;
	border-radius: 200px;
	display: block;
	height: 200px;
	width: 200px;
	margin: 0 auto 2em;
}
#aboutme-airports .art {
	background-image: url("../images/aboutme-qf-airports.jpg");
	background-size: cover;
	font-size: 30px;
}
#aboutme-media .art {
	background: #000000;
}
#aboutme-media .art p {
	display: block;
	color: #efefef;
	font-size: 30px;
	font-weight: 700;
	line-height: 30px;
	padding: 40px 0 0;
	text-align: center;
}
#aboutme-balboa .art {
	background: #000000;
}
#aboutme-comics .art {
	background-image: url("../images/aboutme-qf-comics.jpg");
	background-position: center;
	background-size: cover;
}
#aboutme-books .art {
	background: #000000;

}
#aboutme-animal .art {
	background: #000000;
}
#container.quote-blocks {
	margin: 0;
}
#container.quote-blocks .item {
	background-color: #fff;
	border: none;
	border-radius: 0;
	color: #999;
	cursor: default;
	float: left;
	width: 25%;
	margin: 0;
	-o-transition: color .2s ease-out, background .2s ease-in;
	-ms-transition: color .2s ease-out, background .2s ease-in;
	-moz-transition: color .2s ease-out, background .2s ease-in;
	-webkit-transition: color .2s ease-out, background .2s ease-in;
	transition:color .2s ease-out, background .2s ease-in;
}
#container.quote-blocks .item:hover {
	background-color: #d9d9d9;
	color: #333;
}
#container.quote-blocks .item p {
	font-size: 1.5em;
	padding: 20px;
}
#container.quote-blocks .item p span {
	display: block;
	font-size: 0.75em;
	font-style: italic;
	line-height: 1em;
	padding: 0.5em 0 0;
}
/* ------------------------------------
Works
------------------------------------ */
#project-twb {
	background-color: ;
}
#twb-description.project-description {
	padding: 2em 0;
}
#twb-description.project-description h2 {
	padding: 40px 0 20px 0;
}
#twb-ports {
	text-align: center;
	padding: 0 0 2em;
}
#twb-ports img {
	margin: 0 10px 0 0;
}
.project-cover {
	background-color: #fafafa;
	background-position: center;
	background-size: cover;
	height: 300px;
	overflow: hidden;
	position: relative;

	-webkit-box-shadow: inset 0px 2px 0px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: inset 0px 2px 0px 0px rgba(0,0,0,0.2);
	box-shadow: inset 0px 2px 0px 0px rgba(0,0,0,0.2);
}
.project-description {
	padding: 2em 0 20em;
}
.project-description.featured {
	padding: 2em 0 4em;
}
.project-cover-featured {
	color: #fff;
	height: auto;
	overflow: visible;	
	padding: 4em 0;
}
.project-cover-featured .project-copy {
	font-size: 1.5em;
	text-align: center;
}
.project-cover-featured .project-copy p {
	font-weight: 300;
	padding: 2em 8em;
}
.project-deliverables .button {
	border: 1px solid #39bba1;
	background: #fff;
	color: #39bba1;
	font-size: 12px;
}
.project-deliverables .button:hover {
	background: #39bba1;
	border: 1px solid #39bba1;
	color: #fff;
}
.project-description h3 {
	padding: 1em 0 0.5em;
}
.project-description p {
	padding: 0 0 1.5em;
}
.project-overview {
	float: left;
	width: 540px;
	padding: 0 60px 0 0;
}
.project-info {
	float: left;
	width: 380px;
}
.project-tags ul {
	display: block;
	list-style-type: none;
}
.project-tags li {
	background-color: #ccc;
	border: 1px solid #ccc;
	border-radius: 50px;
	border-width: 0;
	float: left;
	font-size: 0.75em;
	line-height: 2em;
	margin: 0 0.5em 0.5em 0;
	padding: 0 1em;
}
.popup-gallery {
	padding: 0 0 1.5em;
}
.gallery-centered {
	text-align: center;
	padding: 0 0 4em;
}
.gallery-centered a {
	display: inline-block;
	margin: 0 5px 5px 0;
}
.gallery-centered a:nth-of-type(3n+0) {
	margin: 0;
}
.gallery-centered.col2 a {
	display: inline-block;
	margin: 0 5px 5px 0;
}
.gallery-centered.col2 a:nth-of-type(2n+0) {
	margin: 0 0 5px;
}
.description-col div.col {
	float: left;
	margin: 0 80px 40px 0;
	width: 450px;
}
.description-col div.col:nth-of-type(2n+0) {
	margin: 0;
}
.description-col div.col p {
	line-height: 1.5em;
}
.app-links {
	text-align: center;
}
.app-links p {
	font-size: 1em;
	font-weight: 700;
	padding: 2em 0 1em;
}
/* ------------------------------------ 
Contact/Email Form
------------------------------------ */
#contact {
	background: #111;
	text-align: center;
}
#contact .wrap {
	padding: 0;
}
#contact h2 {
	font-size: 2em;
	font-weight: 300;
	padding: 0 0 80px;
}
#contact h3 {
	font-weight: 700;
	padding: 0 0 20px;
}
.contact-col {
	float: left;
	width: 480px;
	margin: 0 20px 0 0;
}
.contact-col:nth-of-type(2) {
	margin: 0;
}
form {
	margin: 0;
	text-align: left;
}
form label {
	color: #777;
	display: block;
	font-weight: 700;
	line-height: 1em;
	margin-bottom: .4em;
	text-align: left;
	text-shadow: 0px -1px #202020;
}
form label.error {
	color: #c0392b;
	font-size:1em;
	line-height:1em;
	margin: -16px 0 20px 0;
}
form label em {
	color: #e9266d;
}
form input[type="text"], form textarea {
	background: #111;
	border: 1px solid #191919;
	-moz-border-radius: 0.2em;
	-webkit-border-radius: 0.2em;
	border-radius: 0.2em;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	color: #777;
	display: block;
	font-family: 'Roboto', Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5em;
	margin-bottom: 20px;
	outline: none;
	padding: 0.4em;
	width: 400px;
}
form input[type="text"]:focus, form textarea:focus {
	background:#1a1a1a;
	border-color: #39bba1;
	color: #fff;
	box-shadow:none;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
}
form input[type="text"][disabled], form textarea[disabled] {
	background:#0a0a0a;
}
form input[type="text"].error, form textarea.error {
	background:#281a1a;
	border-color: #c0392b;
}
form input[type="submit"] {
	background: #39bba1;
	border: none;
	color: #fff;
	font-size: 1em;
	font-weight: 700;
	padding: 0.8em 1.5em;
}
fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}
.required {
	color: #e9266d;
}
#success, #error {
	display: none;
}
#success p, #error p {
	display: block;
	margin-top: 2em;
	text-align: left;
}
#success p {
	color: #39bba1;
}
#error p {
	color: #c0392b;
}
.contact-links {
	padding: 0 0 4em;
}
.contact-links li {
	display: inline-block;
	margin: 0 10px 0 0;
}
.contact-links a {
	background: rgba(57, 187, 161, 0.2);
	border: 2px solid #39bba1;
	display: inline-block;
	font-size: 2em;
	line-height: 100px;
	height: 100px;
	width: 100px;
	-o-transition: color .2s ease-out, background .2s ease-in, border .2s ease-in;
	-ms-transition: color .2s ease-out, background .2s ease-in, border .2s ease-in;
	-moz-transition: color .2s ease-out, background .2s ease-in, border .2s ease-in;
	-webkit-transition: color .2s ease-out, background .2s ease-in, border .2s ease-in;
	transition: color .2s ease-out, background .2s ease-in, border .2s ease-in;
}
.contact-links li:last-of-type {
	margin: 0;
}
.contact-col a.button {
	background: rgba(57, 187, 161, 0.2);
	border: 2px solid #39bba1;
	color: #39bba1;
	margin: 0 0 4em;
	-o-transition: color .2s ease-out, background .2s ease-in, border .2s ease-in;
	-ms-transition: color .2s ease-out, background .2s ease-in, border .2s ease-in;
	-moz-transition: color .2s ease-out, background .2s ease-in, border .2s ease-in;
	-webkit-transition: color .2s ease-out, background .2s ease-in, border .2s ease-in;
	transition: color .2s ease-out, background .2s ease-in, border .2s ease-in;
}
.contact-links a:hover, .contact-col a.button:hover {
	background: #fff;
	border-color: #fff;
	color: #111;
}
.contact-links a:hover {
	margin: -4px 0 0;
}
/* ------------------------------------ 
Back To Top (Scroll element)
http://codyhouse.co/gem/back-to-top/
------------------------------------ */
.cd-top {
	display: inline-block;
	height: 40px;
	width: 40px;
	position: fixed;
	bottom: 40px;
	right: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	/* image replacement properties */
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background: rgba(57, 187, 161, 0.8) url(../images/cd-top-arrow.svg) no-repeat center 50%;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	-moz-transition: opacity .3s 0s, visibility 0s .3s;
	transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
	-webkit-transition: opacity .3s 0s, visibility 0s 0s;
	-moz-transition: opacity .3s 0s, visibility 0s 0s;
	transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
	/* the button becomes visible */
	visibility: visible;
	opacity: 1;
}
.cd-top.cd-fade-out {
	/* if the user keeps scrolling down, the button is out of focus and becomes less visible */
	opacity: .5;
}
.no-touch .cd-top:hover {
	background-color: #39bba1;
	opacity: 1;
}
@media only screen and (min-width: 768px) {
	.cd-top {
		right: 20px;
		bottom: 20px;
	}
}
@media only screen and (min-width: 1024px) {
	.cd-top {
		height: 60px;
		width: 60px;
		right: 30px;
		bottom: 30px;
	}
}