/************************************************************
 *
 * BACKEND LABS, INC.
 * www.backendlabs.com
 *
 * Copyright 2010. All Rights Reserved.
 * This file may not be redistributed in whole or part.
 *
 * Main CSS Rules
 *
 ************************************************************/

html, body, div, span, applet, object, iframe,
header, footer, nav, section, article, aside,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, font, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin:0;
	padding:0;
	border:0;
	outline:0;
	font-weight:inherit;
	font-style:inherit;
	font-size:100%;
	font-family:inherit;
	vertical-align:baseline;
}

strong, em {
	margin:0;
	padding:0;
	border:0;
	outline:0;
}

:focus {
	outline:0;
}

ol, ul {
	list-style:none;
}

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

caption, th, td {
	text-align:left;
	font-weight:normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content:"";
}

blockquote, q {
	quotes:"" "";
}

/****************************************
 * General
 ****************************************/
body {
	background:#111 url(/i/images/layout/header.jpg) top center repeat-x;
	color:#333;
	font-family:Arial, Helvetica, sans-serif;
	font-size:14px;
}

::selection {
	background:#95c339;
	color:#eff5dc;
	text-shadow:none;
}

::-moz-selection {
	background:#95c339;
	color:#eff5dc;
	text-shadow:none;
}

::-webkit-selection {
	background:#95c339;
	color:#eff5dc;
	text-shadow:none;
}

/****************************************
 * Header
 ****************************************/
#header {
	width:100%;
	height:512px;
	float:left;
	margin:0;
}

#header .container {
	width:960px;
	height:512px;
	margin:0 auto;
	position:relative;
}

/* Bar */
#bar {
	width:960px;
	height:32px;
	float:left;
	text-align:right;
}

#bar a {
	font-size:11px;
	color:#888;
	float:right;
	margin:10px 0 0;
}

#bar a:hover {
	color:#ccc;
}

/* Logo */
#logo {
	width:300px;
	height:64px;
	float:left;
	margin:64px 0 0;
}

#logo a {
	width:270px;
	height:36px;
	float:left;
	margin:16px 0 0;
	text-decoration:none;
	background:url(/i/images/layout/logo.png) no-repeat top left;
}

#logo h1 a span {
	position:absolute;
	top:-9999px;
	left:-9999px;
}

/* Nav */
#nav {
	width:600px;
	height:64px;
	float:right;
	margin:64px 0 0;
}

#nav ul {
	float:right;
	margin:24px 0 0;
	list-style:none;
}

#nav ul li {
	float:left;
	margin-left:48px;
	list-style:none;
}

#nav ul li a, #nav ul li span {
	font-size:14px;
	font-weight:bold;
	text-transform:uppercase;
	color:#bbb;
	text-decoration:none;
}

#nav ul li a:hover {
	color:#fff;
}

#nav ul li span {
	color:#97ca33;
}

/* Intro */
#intro {
	width:608px;
	height:224px;
	float:left;
	margin:64px 0 0;
	background:url(/i/images/layout/intro.png) top left no-repeat;
}

#intro span {
	position:absolute;
	top:-9999px;
	left:-9999px;
}

/* Image */
#image {
	width:223px;
	height:403px;
	position:absolute;
	top:212px;
	right:40px;
	z-index:100;
}

/****************************************
 * Work
 ****************************************/
#work {
	width:100%;
	height:608px;
	float:left;
	margin:0;
	background:#e8e8e8 url(/i/images/layout/bar.png) top center repeat-x;
}

#work .container {
	width:980px;
	height:608px;
	margin:0 auto;
	background:url(/i/images/titles/work.png) 10px 58px no-repeat;
}

#work h3 {
	text-indent:-9999px;
}

#projects {
	width:960px;
	height:352px;
	float:left;
	margin:176px 0 0;
	padding:0 10px;
}

#projects .box {
	width:288px;
	height:352px;
	float:left;
	margin-right:48px;
}

#projects .box.clear {
	margin-right:0;
}

#projects .box .image {
	width:288px;
	height:192px;
	float:left;
	margin:0;
	box-shadow:0px 0px 12px #ccc;
	-moz-box-shadow:0px 0px 12px #ccc;
	-webkit-box-shadow:0px 0px 12px #ccc;
}

#projects .box .description {
	width:288px;
	height:128px;
	float:left;
	margin:32px 0 0;
}

#projects .box .description .codename {
	width:288px;
	height:32px;
	float:left;
	font-size:16px;
	color:#222;
	font-weight:bold;
}

#projects .box .description p {
	width:288px;
	height:96px;
	float:left;
	font-size:12px;
	line-height:20px;
	color:#555;
}

/****************************************
 * About
 ****************************************/
#about {
	width:100%;
	height:569px;
	float:left;
	margin:0;
	background:#f2f2f2;
	border-top:1px solid #fff;
}

#about .container {
	width:980px;
	height:569px;
	margin:0 auto;
	background:url(/i/images/titles/about.png) 10px 64px no-repeat;
}

#about h3 {
	text-indent:-9999px;
}

#company {
	width:960px;
	height:176px;
	float:left;
	margin:176px 0 0;
	padding:0 10px;
	background:url(/i/images/layout/company.png) 10px 0 no-repeat;
}

#company h4 {
	text-indent:-9999px;
}

#team {
	width:960px;
	height:128px;
	float:left;
	margin:0;
	padding:0 10px;
}

#team .member {
	width:480px;
	height:128px;
	float:left;
}

#team .member .photo {
	width:128px;
	height:128px;
	float:left;
	box-shadow:0px 0px 12px #ccc;
	-moz-box-shadow:0px 0px 12px #ccc;
	-webkit-box-shadow:0px 0px 12px #ccc;
}

#team .member .bio {
	width:320px;
	height:128px;
	float:left;
	margin-left:16px;
}

#team .member .bio h5 {
	width:320px;
	height:18px;
	float:left;
	margin:0;
	font-size:16px;
	font-weight:bold;
	color:#111;
	line-height:18px;
	padding:2px 0 0;
}

#team .member .bio .title {
	width:320px;
	height:48px;
	float:left;
	margin:0;
	font-size:14px;
	color:#555;
	line-height:18px;
}

#team .member .bio p {
	width:320px;
	height:60px;
	float:left;
	margin:0;
	font-size:12px;
	color:#777;
	line-height:20px;
}

/****************************************
 * Contact
 ****************************************/
#contact {
	width:100%;
	height:420px;
	float:left;
	margin:0;
	background:#e8e8e8 url(/i/images/layout/shadow.png) top center repeat-x;
}

#contact .container {
	width:960px;
	height:420px;
	margin:0 auto;
	background:url(/i/images/titles/contact.png) 0 64px no-repeat;
}

#contact h3 {
	text-indent:-9999px;
}

#details {
	width:480px;
	height:150px;
	float:left;
	margin:176px 0 0;
	position:relative;
}

#details p {
	width:480px;
	float:left;
	margin:0;
	font-size:14px;
	color:#333;
	line-height:26px;
}

#details p.preaddress {
	width:72px;
	float:left;
}

#details p.address {
	width:406px;
	float:right;
	line-height:20px;
}

#details p.note {
	width:400px;
	margin:0;
	position:absolute;
	bottom:0;
	left:0;
	font-size:14px;
	color:#555;
	line-height:26px;
}

#form, #info {
	width:448px;
	height:150px;
	float:right;
	margin:176px 0 0;
}

#form form {
	width:448px;
	float:left;
	margin:0;
}

#form input {
	width:184px;
	max-width:184px;
	float:left;
	margin-bottom:16px;
}

#form #email {
	float:right;
}

#form textarea {
	width:424px;
	max-width:424px;
	height:174px;
	max-height:174px;
	float:left;
	margin-bottom:16px;
}

#form button {
	float:right;
	width:104px;
}

#info p.note {
	width:440px;
	float:right;
	margin:0;
	text-align:right;
	font-size:14px;
	color:#555;
	line-height:26px;
}

/****************************************
 * Footer
 ****************************************/
#footer {
	width:100%;
	height:96px;
	float:left;
	background:#111;
}

#footer .container {
	width:960px;
	height:16px;
	margin:43px auto 0;
	font-size:14px;
	color:#888;
}

#footer #back {
	width:475px;
	float:left;
	margin:0;
	text-align:left;
}

#footer #copyright {
	width:475px;
	float:right;
	margin:0;
	text-align:right;
}

/* Legal */
#legal {
	width:100%;
	float:left;
	margin:0;
	background:#1a1a1a url(/i/images/layout/shadow.png) top center repeat-x;
	display:none;
}

#legal .container {
	width:960px;
	margin:32px auto 0;
	padding-bottom:16px;
	font-size:12px;
	color:#555;
}

#legal p {
	width:960px;
	line-height:20px;
	margin:0 0 16px;
	text-align:center;
}

#legal p.copy {
	font-size:14px;
	line-height:22px;
	font-weight:bold;
}

#footer a {
	color:#627738;
}

#legal a {
	color:#777;
}

#footer a:hover, #legal a:hover {
	color:#fff;
}

/****************************************
 * Forms
 ****************************************/
input, textarea {
	background:#fff;
	padding:10px 12px 12px;
	margin:0;
	font-size:18px;
	line-height:20px;
	font-family:Arial, Helvetica, sans-serif;
	color:#999;
	border:1px solid #fff;
	outline:none;
	text-decoration:none;
	resize:none;
}

button {
	background:#333;
	padding:12px 0 10px;
	margin:0;
	font-size:18px;
	font-family:Arial, Helvetica, sans-serif;
	color:#ccc;
	cursor:pointer;
	border:none;
	outline:none;
	text-align:center;
	text-decoration:none;
}

button:hover {
	background:#444 !important;
	color:#fff !important;
}

button.oops:hover {
	background:#af0000 !important;
}

button.done:hover {
	background:#72ac00 !important;
}

.error {
	border-color:#e00000;
}

/****************************************
 * Images
 ****************************************/
img {
    border:none;
}

/****************************************
 * Links
 ****************************************/
a, a:visited {
 	color:#72ac00;
 	text-decoration:none;
	outline:none;
}

a:hover, a:active {
	color:#95c339;
	text-decoration:underline;
}
