/* @override http://clevercode.net/assets/css/style.css */

/* ====================================
cleverCode LLC v4.0 (CSS3)
Authors: Zachary Nicoll & Olivier Lacan
==================================== */

/* Thining Text in WebKit (Safari/Chrome) */
body { -webkit-font-smoothing: antialiased; -moz-text-stroke:1px transparent; }

/* ===== RESETS ====== */
* { border: none; margin: 0; padding: 0; text-decoration: none; outline: none; }

/* Getting rid of Mozilla's stupid dotted line inside active buttons */
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner { border: none; }

/* ===== HTML5 ===== */
section, article, footer, header { display: block; }

/* ===== STRUCTURE ====== */
html { overflow-y: scroll; background: #fffbe5; }
body { 
	background: #fffbe5 url("../../../assets/img/bg.png") repeat-x left top; 
	font: 62.5% Verdana, sans-serif; 
  margin: 0;
  padding: 2em 0;
}
#wrapper { margin: 0 auto; width: 850px; }
#header {
	height: 130px; 
	width: 848px;
	margin: 0 auto;
	background: #d8dce5;
	background: url("../../../assets/img/header_bg3.png") repeat-x center center;
	border-bottom: 1px solid #666;
	box-shadow: #bbb 1px 0 0, #bbb -1px -1px 0;
	-moz-box-shadow: #bbb 1px 0 0, #bbb -1px -1px 0;
	-webkit-box-shadow: #bbb 1px 0 0, #bbb -1px -1px 0;
	border-radius: 10px 10px 0 0;
	-moz-border-radius-topleft: 10px; 
	-moz-border-radius-topright: 10px; 
	-webkit-border-top-right-radius:10px; 
	-webkit-border-top-left-radius: 10px; 
}
/* ===== GLOBALS ===== */
a:link, a:visited { 
	color: #fff; 
	font-weight: bold; 
}
a:hover, a:focus { 
	color: #abbb58; 
}
a:active { 
	color:#fff; 
}
a.zach, a.oli, a.andrew, a.tyler { 
	-webkit-transition: all 200ms linear; 
}
a.zach:hover, a.zach:focus { 
	color: #79a0b8; 
}
a.oli:hover, a.oli:focus { 
	color: #BDCA62; 
}
a.andrew:hover, a.andrew:focus { 
	color: #e50000; 
}
a.tyler:hover, a.tyler:focus { 
	color:  #f70; 
}
h1 { 
	height: 130px; 
	width: 848px;
	background: url("../../../assets/img/clevercode.png") no-repeat 70px center; 
	text-indent: -20000px;
	padding: 0 0 0;
}
h1 a { height: 100%; width: 848px; display: block; }
#header p {
  float: left;
  display: block;
  font-size: 2em;
  margin: -89px 0 0 490px;
  border-left: 1px solid black;
  padding: 10px 0 10px 35px;
}

/* ===== MAIN NAVIGATION ===== */
nav ul { 
	list-style: none; 
	margin: 0 2px 0 0; 
	padding: 0; 
	display: block;
	width: 850px;
	height: 31px; 
	background: #729137;
	background: -moz-linear-gradient(top, #c4d45d, #729137);
	background: -webkit-gradient(linear,left top,left bottom,from(#c4d45d),to(#729137));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = "#c4d45d", endColorstr = "#729137");
	border-top: 1px solid #CEDB95;  
}
nav ul li { 
	float: left; 
	width: 282px;
	height: 32px;
	margin-top: -1px;
	font: 1.4em Verdana, sans-serif; 
	text-align: center; 
	display: block;
	border-right: 1px solid #444; 
	border-left: 1px solid #BDCA84; 
}
nav ul li.first { border-left: none; }
nav ul li.last { border-right: none; }
nav ul li a { 
	display: block;
	width: 100%;
	margin: 0; 
	padding: 0; 
	float: left;
	line-height: 31px; 
	font-weight: normal;
	text-shadow: rgba(0, 0, 0, .6) 0 -1px 0, rgba(255, 255, 255, .3) 0 1px 0;
	color: #fff; 
	border-top: 1px solid #CEDB95;  
	-webkit-transition: all 50ms linear;
}
nav ul li a:link, nav ul li a:visited { color: #fff; -webkit-transition: all 50ms linear; }
nav ul li a:hover, nav ul li a:focus {
	color: #fff;
	border-top-color: #dbed68;
	border-bottom-color: #729137;
	background: #5F792E;
	background: -moz-linear-gradient(top, #ACB951, #5F792E);
	background: -webkit-gradient(linear,left top,left bottom,from(#ACB951),to(#5F792E));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = "#ACB951", endColorstr = "#5F792E");
}
nav ul li.current a, nav ul li:active a {
	border-left-color: #b7cc58;
	border-right-color: #444;
}
nav ul li.first.current a, nav ul li.first a:active {
	border-left: none;
	margin-left: 1px;
	width: 281px;
}
nav ul li.last.current, nav ul li.last a:active  {
	border-right: none;
	margin-right: 1px;
	width: 281px;
}
nav ul li a:active, nav ul li.current a {
  -webkit-transition: all 50ms linear;
	border-top-color: #bdcc5c;
	border-bottom-color: #a5b350;
	background: #9cbf56	;
	background: -moz-linear-gradient(top, #94ab55, #9cbf56);
	background: -webkit-gradient(linear,left top,left bottom,from(#94ab55),to(#9cbf56));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = "#94ab55", endColorstr = "#9cbf56");
}
nav ul li.current a, nav ul li a:active {
  -webkit-transition: all 50ms ease-in;
	color: #000;
	text-shadow: rgba(255, 255, 255, .2) 0 -1px 0, rgba(255, 255, 255, .6) 0 1px 0;
}

/* ===== CONTENT ===== */
#content { 
	clear: left;
	width: 708px;
	margin: 0 auto;
	border-top: 1px solid #444;
	box-shadow: #bbb -1px 1px 0, #bbb 1px 1px 0;
	-moz-box-shadow: #bbb -1px 1px 0, #bbb 1px 1px 0;
	-webkit-box-shadow: #bbb -1px 1px 0, #bbb 1px 1px 0;
	background: #708899;
	background: -moz-linear-gradient(top, #587385, #708899, #698496);
	background: -webkit-gradient(linear,left top,left bottom,from(#587385),to(#698496), color-stop(0.5, #708899));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = "#587385", endColorstr = "#708899");
	padding: 0 70px 0; 
	overflow: hidden;
	color: #000; 
	text-shadow: rgba(255,255,255,.3) 0 1px 0px;
}
#content h2 {
  clear: both;
	text-align: left;
	font-size: 1.9em;
	padding: 30px 0 10px;
	border-bottom: 1px solid #476274;
	color: #fff;
	text-shadow: #222 1px 1px 1px;
}

/* ===== FOOTER ===== */
p#footer { 
  width: 808px;
  margin: 0 auto;
	clear: both;
	background: #fff url("../../../assets/img/header_bg3.png") repeat-x center -90px;  
	box-shadow: #bbb -1px 1px 0, #bbb 1px 1px 0;
	-moz-box-shadow: #bbb -1px 1px 0, #bbb 1px 1px 0;
	-webkit-box-shadow: #bbb -1px 1px 0, #bbb 1px 1px 0;
	border-radius: 0 0 3px 3px;
	-moz-border-radius-bottomleft: 3px; 
	-moz-border-radius-bottomright: 3px; 
	-webkit-border-bottom-left-radius: 3px; 
	-webkit-border-bottom-right-radius: 3px; 
	font: 1.4em Verdana, sans-serif;
	padding: 1em 20px; 
	text-align: right; 
	color: #222; 
	border-top: 1px solid #555;
}	
p#footer a:link, p#footer a:visited { 
	font-weight: bold; 
	color: #000;
}

/* === Combos === */
#wrapper, .home  h3.image, .portfolio div dl dd a { -moz-border-radius: 10px; -webkit-border-radius: 10px; }
.emp:link, .emp:visited { text-shadow: 1px 1px 0 #364519; }
#postForm label, #postForm input { float: left; }

/* === HOME === */
.home  { padding-bottom: 2em; }
.home h2 { font-size: 2.1em; letter-spacing: 2px; margin: 0 0 1em; }
.home h3 { 
	display: block;
	width: 100%; 
	font-size: 2em; 
	padding: 0 0 0 0; 
	letter-spacing: 2px; 
	border-top: 1px solid #333; 
}
.home h3.image { 
	float: right;
	width: 100px; 
	margin: 0 0 0 30px;
	width: 270px;
	height: 263px;
	background: url("../../../assets/img/fsfh.png") no-repeat;
	text-indent: -9999px;
	border-radius: 5px; 
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow: rgba(0, 0, 0, .6) -1px -1px 1px, rgba(255,255,255,.5) 1px 1px 1px;
	-moz-box-shadow: rgba(0, 0, 0, .6) -1px -1px 1px, rgba(255,255,255,.5) 1px 1px 1px;
	-webkit-box-shadow: rgba(0, 0, 0, .6) -1px -1px 1px, rgba(255,255,255,.5) 1px 1px 1px;
	
}
.home h3.image a { 
	display: block; 
	height: 100%; 
	text-indent: -9999px;
	width: auto;
	height: 120px; 
}
.home p { 
	margin-top: 20px; 
	width: 400px;
	display: block; 
	font-size: 1.5em; 
	text-align: left; 
	line-height: 1.6em; 
}
.home p#cta { 
	width: auto;
	margin: -2.3em 30px 20px 0; 
	font-weight: bold; 
	font-size: 2.1em; 
	display: block;
	float: right; 
	border-top: 1px solid #8BA6B8;
	background: #475d6b;
	background: -moz-linear-gradient(top, #587385, #475d6b);
	background: -webkit-gradient(linear,left top,left bottom,from(#587385),to(#475d6b));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = "#587385", endColorstr = "#475d6b");
	border-bottom: 1px solid #444; 
	border-right: 1px solid rgba(0,0,0,.2); 
	border-left: 1px solid rgba(255,255,255,.2); 
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px; 
}
.home p#cta a:link, .home p#cta a:visited { 
	display: block;
	color: #fff; 
	text-shadow: rgba(0,0,0,.4) 0 -1px 0; 
	height: 100%;
	padding: 5px 25px;
	-webkit-transition: all 100ms linear;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px; 
} 
.home p#cta a:hover, .home p#cta a:focus {
	background: #587385;
	background: -moz-linear-gradient(top,#68899e,#587385);
	background: -webkit-gradient(linear,left top,left bottom,from(#68899e),to(#587385));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = "#68899e", endColorstr = "#587385");
}
.home p#cta a:active { 
	color: #000; 
	text-shadow: rgba(0,0,0, .7) 0 -1px 0, rgba(255, 255, 255, .4) 0 1px 0; 
	background: #587385;
	background: -moz-linear-gradient(top, #475d6b, #587385);
	background: -webkit-gradient(linear,left top,left bottom,from(#475d6b),to(#587385));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = "#475d6b", endColorstr = "#587385");
}

/* === ABOUT === */
.about {
	margin-bottom: 20px;
}
.about h2 { 
	font-weight: normal; 
	font-size: 1.75em; 
	letter-spacing: .07em; 
	line-height: 1.5;
	text-align: justify; 
	width: 710px;
	display: block;
	margin: 0 auto;
}
.about h3 {
	padding-top: 20px;
	padding-bottom: 10px;
	font-size: 1.9em;
	color: #fff;
	letter-spacing: .06em;
	text-shadow: #222 1px 1px 1px;
}
.about p { font-size: 1.8em; line-height: 1.4; }
.about .team { padding: 20px 0 0; float: left; }
.about div img { 
	float: left;
	margin: 5px 20px 15px 5px; 
	border: 6px solid #364652; 
	border-radius: 2px; 
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	box-shadow: rgba(0, 0, 0, .6) -1px -1px 1px, rgba(255,255,255,.5) 1px 1px 1px;
	-moz-box-shadow: rgba(0, 0, 0, .6) -1px -1px 1px, rgba(255,255,255,.5) 1px 1px 1px;
	-webkit-box-shadow: rgba(0, 0, 0, .6) -1px -1px 1px, rgba(255,255,255,.5) 1px 1px 1px;
}
.about div p {
	font-size: 1.5em; 
	color: #111; 
	letter-spacing: normal; 
	line-height: 1.6; 
	//text-shadow: rgba(255,255,255,.2) 0 -1px 0; 
}
.about div p a{ text-shadow: rgba(0, 0, 0, .7) 1px 1px 1px; }
.about #zach, .about #andrew { margin-right: 10px; margin-bottom: -50px; }
.about #oli { margin-right: 10px; margin-bottom: -30px; }
.about #oli p, .about #oli h3, .about #tyler p, .about #tyler h3 { text-align: right; }
.about #oli img, .about #tyler img { float: right; margin: 5px 5px 5px 20px; }
.about #oli h3 { padding-top: 30px; }
.about div p { margin-top: 2px; }

/* === PORTFOLIO === */
.portfolio #recent { clear: both; margin: 0; width: 710px; }
.portfolio #recent > p {
  margin 2em 0 1em;
  padding: 1em 0;
  line-height: 1.4;
  font-size: 1.8em;
}
.portfolio #old { clear: both; margin: 0; width: 710px; }
.portfolio dl { 
	width: 158px; 
	margin: 10px 19px 2em 0; 
	float: left; 
	overflow: visible;
	background: #333;
	background: rgba(0,0,0,.6);
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 3px;  
	-webkit-border-top-left-radius: 10px; 
	-webkit-border-top-right-radius: 3px; 
	border-radius: 10px 3px 0 0;
}
.portfolio #row2 { clear: left; }
.portfolio dl dt { 
	font-size: 1.2em;  
	color: #fff;
	text-shadow: none;
	padding: 0 0 7px 10px;
	margin: 5px 0 -2px 0; 
	letter-spacing: normal; 
	font-weight: normal; 
}
.portfolio dl dt a { font-weight: normal; -webkit-transition: all 200ms linear; }
.portfolio dl dd { display: block; }
.portfolio dl dd a img { height: 150px; width: 150px; }
.portfolio dl dd a {
	display: block;
	border: 6px solid #364652;
	height: 150px;
	width: 150px; 
	margin: 0 0 10px 0;
	box-shadow: 1px 1px 4px #000;
	-moz-box-shadow: 1px 1px 4px #000;
	-webkit-box-shadow: 1px 1px 4px #000;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-webkit-transition: all 200ms linear;
}
.portfolio dl dd a:last-child { 
	margin-bottom: 0; 
}
.portfolio dl dd a:hover, .portfolio dl dd a:focus { 
	border: 6px solid #abbb58; 
}
.portfolio .feature { 
	float: left; 
	display: block; 
	margin: 0; 
	width: 235px;
}
.portfolio .shot { 
	float: left; 
	display: block; 
	width: 165px; 
	margin: 0 10px 0 0; 
}
.portfolio h4 { 
	display: block;
	width: 200px;
	clear: left;
	font-size: 1.2em;
	font-weight: normal; 
	margin: 1em 0 -10px 0; 
	padding: 4px 10px 4px 17px; 
	background: #333; 
	background: rgba(0,0,0,.6);
	text-shadow: none;
}
.portfolio h4 a { 
	line-height: 2em;
	-webkit-transition: all 200ms linear; 
}
.portfolio a.showcase {
  margin: 20px 0 0 15px;
  display: block;
}
.portfolio a.showcase img { 
	clear: left;
	width: 150px;
	border: 6px solid #2F3C41; 
	box-shadow: 1px 1px 4px #000;
	border-radius: 5px 0 5px 5px ;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomleft: 5px; 
	-moz-border-radius-bottomright: 5px; 
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px; 
	-webkit-border-bottom-right-radius: 5px; 

	-webkit-transition: all 200ms linear;
}
.portfolio a.showcase img:hover, .portfolio a.showcase img:focus { 
	border-color: #abbb58; 
}
.portfolio a.showcase img {
}
.portfolio p.recent { 
	margin-top: -.5em;
	margin-bottom: 1em;
	font-size: 1.3em; 
	padding: 1em 0 0 0; 
}
.portfolio h4, .portfolio dl dt {
	-webkit-border-top-left-radius: 10px; 
	-webkit-border-top-right-radius: 3px; 
	-moz-border-radius-topright: 3px;  
	-moz-border-radius-topleft: 10px; 
	border-radius: 10px 7px 100px 10px; 
	-moz-border-radius: 10px 7px 100px 10px;
}

/* === CONTACT === */
.contact h2 { letter-spacing: 1px; margin-bottom: 1em; }
.contact aside {
	margin-top: 10em;
	float: left;
	line-height: 1.5; 
	color: #111; 
	text-shadow: rgba(255, 255, 255, .4) 0 1px 0; 
}
.contact aside h3 { clear: left; font-size: 1.5em; }
.contact aside address {
	clear: both; 
	font-size: 1.4em; 
	font-style: normal; 
	margin: .25em 0 1em 0; 
}
.contact aside a:link, .contact aside a:visited {
	color: #000;
	font-weight: normal;
	-webkit-transition: all 200ms linear;
}
.contact aside a:hover, .contact aside a:focus {
	color: #FFF;
	text-shadow: rgba(0,0,0, .4) 0 1px 0; 
}
.contact fieldset { 
	float: right; 
	width: 400px; 
	margin: 0 auto 20px; 
	padding: 5px 20px; 
	font-size: 1.4em; 
	background: #364652;
	border: 1px solid #587185;
	border: 1px solid rgba(255,255,255,.2);  
	outline: 1px solid #475c6b;
	outline: 1px solid rgba(0,0,0,.2);
}
.contact fieldset form { padding: 0 10px; margin: -10px 0 0 0; }
.contact fieldset legend { padding: 0 10px; font-size: 1.2em; }
.contact fieldset label { 
	display: block; 
	margin: 1em 0 0 0; 
	font-size: 1em;
	color: #fff;
	text-shadow: rgba(0,0,0,.3) 1px 1px 0;	
}
.contact fieldset input { display: block; margin: 0 0 1em 0; font-size: 1.4em; }
.contact input.text, .contact textarea { 
	width: 100%; 
	color: #333;
	padding: 3px 0 5px 5px;
	margin: 3px 0 10px 0;
	border: 1px solid #ccc; 
	font: 1em Verdana, sans-serif;
	border: 1px solid #7999a5;
	outline: 1px solid #475c6b; 
}
.contact input.text:focus, .contact textarea:focus { background: #fff5c4; }
.contact input.submit { 
	display: block;
	float: right; 
	padding: 5px 10px; 
	margin: -5px 0 10px 263px; 
	border-top: 1px solid #e6f5a6;
	background: #729137;
	background: -moz-linear-gradient(top, #c4d45d, #729137);
	background: -webkit-gradient(linear,left top,left bottom,from(#c4d45d),to(#729137));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = "#c4d45d", endColorstr = "#729137");
	border-bottom: 1px solid #444; 
	border-right: 1px solid rgba(0,0,0,.2); 
	border-left: 1px solid rgba(255,255,255,.2); 
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	text-shadow: rgba(255,255,255,.5) 0 1px 0;
}
.contact input.submit:hover, .contact input.submit:focus {
  cursor: pointer;
  background: #a8b360;
  background: -moz-linear-gradient(top, #dfed80, #a8b360);
  background: -webkit-gradient(linear,left top,left bottom,from(#dfed80),to(#a8b360));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = "#dfed80", endColorstr = "#a8b360");
  
}
.contact input.submit:active {
	color: #fff;
	text-shadow: rgba(0,0,0,.8) 1px 1px 0px;
	border: 1px solid rgba(0,0,0,.2);
	background: #c4d45d;
	background: -moz-linear-gradient(top, #729137, #c4d45d);
	background: -webkit-gradient(linear,left top,left bottom,from(#729137),to(#c4d45d));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = "#729137", endColorstr = "#c4d45d");
}
.contact #postForm label { font-size: .8em; }
.contact #selfCC { margin: 1px 10px 0 0; }
.contact #contactFormArea { margin: 1em 0 0 1em; float: right; clear: right; }
.contact .note { margin: 0 0 2em 1em; font-size:.8em; }
.contact #loadBar img { display: block; clear: left; }
.contact #emailSuccess, .contact #loadBar { float: right; font-size: 1.4em; }
.contact #emailSuccess strong { color: #849D3E; text-shadow: rgba(0,0,0,.6) 0 1px 0; }