/*   
Author: Tom Rose (tom@slurve.com)
Author URI: http://slurve.com
Date: 1 Aug 2010
*/

/* -------------------------------------------------------------------------- global */

body { margin: 0; padding: 0; background-color: #fff; font-size: 14px; line-height: 21px; font-family: "ff-dagny-web-pro-1", "ff-dagny-web-pro-2", "Verdana", sans-serif; overflow-y: scroll; color: #444; }
html, body, #wrap { min-height: 100%; width: 100%; height: 100%; }
html>body, html>body #wrap { height: auto; }
a img { border: none; }
p { margin: 0 0 15px 0; }
p em { font-family: "ff-meta-serif-web-pro-1", "ff-meta-serif-web-pro-2"; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; font-style: normal; color: #999; text-shadow: 1px 1px 1px #eee; }
.js #portfolio0, .js #portfolio1, .js #portfolio2, .js #portfolio3, .js #portfolio4, .js #testimonials, .js #about, .js #contact, .js #clients, .js h2.title { display: none; }

/* -------------------------------------------------------------------------- bars */

#bar { width: 100%; height: 25px; }
#bar.portfolioBg, footer.portfolioBg { background-color: rgba(0,0,0,0.4); }
footer.portfolioBg p, footer.portfolioBg p strong { color: #fff; }
#bar.testimonialsBg, footer.testimonialsBg { background-color: rgba(0,0,0,0.6); }
footer.testimonialsBg p, footer.testimonialsBg p strong { color: #fff; }
#bar.aboutBg, footer.aboutBg { background-color: rgba(0,0,0,0.4); }
footer.aboutBg p, footer.aboutBg p strong { color: #fff; }
#bar.contactBg, footer.contactBg { background-color: rgba(0,0,0,0.6); }
footer.contactBg p, footer.contactBg p strong { color: #fff; }

/* -------------------------------------------------------------------------- links */

a, a:visited { color: #d48c16; text-decoration: none; outline: none; }
a:hover, a:active { color: #444; text-decoration: underline; -webkit-transition: all .4s ease-in-out; -o-transition: all .4s ease-in-out; }

/* -------------------------------------------------------------------------- header */

header { height: 110px; display: block; }
header h1 { position: absolute; top: 50px; left: 45px; font-size: 14px; margin: 0; }
header h1 a, header h1 a:visited { height: 0px !important; overflow: hidden; width: 183px; padding: 55px 0 0 0; background: url(images/logo.png) 0 0 no-repeat; display: block; opacity: .9; }
header h1 a:hover { text-decoration: none; opacity: 1.0; }
header p { position: absolute; top: 52px; left: 320px; width: 620px; font-size: 26px; line-height: 32px; text-shadow: 1px 1px 0 #f2f2f2; color: #999; font-weight: bold; }

/* -------------------------------------------------------------------------- wrap */

#wrap { position: absolute; top: 0; left: 0; background: #f2f2f2 url(images/bg-body.png); }
#container { position: relative; margin: 0 auto; width: 960px; height: auto; padding: 0 0 50px 0; }
#main { float: left; display: inline; width: 640px; margin: -50px 0 40px 0; }
#portfolio, #about, #testimonials, #clients, #contact, #thanks, #error { margin: 0 0 40px 0; display: none; }
#portfolio { margin-bottom: 0; position: relative; }

/* -------------------------------------------------------------------------- sidebar */

nav { float: left; display: inline; width: 225px; padding: 55px 45px 0 0; text-align: right; }
nav a, nav a:visited { display: block; font-size: 20px; text-transform: uppercase; font-weight: bold; margin: 0 0 15px 0; color: #ccc; text-shadow: 1px 1px 0 #f2f2f2; }
nav a:hover { color: #666; text-decoration: none; }
nav a.navOn { color: #666; }

/* -------------------------------------------------------------------------- aside */

aside { float: right; display: inline; width: 200px; padding: 0 0 5px 15px; margin: 0 0 330px 30px; }
aside ul#links { margin: 0 0 20px 0; padding: 0; }
aside ul#links li { margin: 0 0 15px 0; padding: 0; list-style-type: none; }
aside ul#links li a img { margin: -4px 8px 0 0; vertical-align: middle; -webkit-box-shadow: 2px 2px 3px rgba(135, 139, 144, 0.4); -moz-box-shadow: 2px 2px 3px rgba(135, 139, 144, 0.4); box-shadow: 2px 2px 3px rgba(135, 139, 144, 0.4); -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
aside ul#links li a:hover img { -webkit-box-shadow: 2px 2px 3px rgba(135, 139, 144, 0.6); -moz-box-shadow: 2px 2px 3px rgba(135, 139, 144, 0.6); box-shadow: 2px 2px 3px rgba(135, 139, 144, 0.6); }
aside ul#links li a:hover { text-decoration: none; }
aside h2 { margin: 0 0 10px 0; font-family: "ff-meta-serif-web-pro-1", "ff-meta-serif-web-pro-2"; text-transform: uppercase; font-size: 13px; font-weight: normal; letter-spacing: 1px; font-style: normal; color: #999; text-shadow: 1px 1px 1px #eee; }

/* -------------------------------------------------------------------------- about */

#about strong { color: #999; text-shadow: 1px 1px 0 #f2f2f2; }
#about strong small { color: #b0afaf; text-shadow: 1px 1px 0 #f2f2f2; font-size: 12px; font-family: "ff-meta-serif-web-pro-1", "ff-meta-serif-web-pro-2"; text-transform: uppercase; letter-spacing: 2px; }

/* -------------------------------------------------------------------------- portfolio & clients */

.clients { border-top: 1px dotted #ccc; padding: 10px 0 20px 0; color: #777; margin: 50px 0 0 0; clear: both; }
#clients { position: relative; }
#clients p { margin-bottom: 25px; }
#clients .colA { margin: 0 20px 0 0; padding: 0; float: left; display: inline; width: 310px; }
#clients .colA.featured, #clients .colB.featured { margin-bottom: 25px; }
#clients .colB { margin: 0; padding: 0; float: left; display: inline; width: 310px; }
#clients .colA.featured li, #clients .colB.featured li { margin: 0; padding: 10px 0; list-style-type: none; border-bottom: 1px dotted #ccc; font-size: 14px; }
#clients .colA.featured li img, #clients .colB.featured li img { width: 35px; height: 35px; vertical-align: middle; margin: -5px 10px 0 0; -webkit-box-shadow: 3px 3px 3px rgba(135, 139, 144, 0.4); -moz-box-shadow: 3px 3px 3px rgba(135, 139, 144, 0.4); box-shadow: 3px 3px 3px rgba(135, 139, 144, 0.4); -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
#clients .colA.featured li a:hover, #clients .colB.featured li a:hover { text-decoration: none; }
#clients .colA li, #clients .colB li { margin: 0; padding: 3px 0; list-style-type: none; border-bottom: 1px dotted #ccc; font-size: 12px; }
#clients h2 { font-size: 24px; color: #666; }
.clickNav { margin: 20px 0 0 0; }
.clickNav a.prev, .clickNav a.prev:visited, .clickNav a.next, .clickNav a.next:visited { margin: 0 10px 0 0; background-color: #888; -webkit-box-shadow: 3px 3px 3px rgba(135, 139, 144, 0.4); padding: 1px 10px; -moz-box-shadow: 3px 3px 3px rgba(135, 139, 144, 0.4); box-shadow: 3px 3px 3px rgba(135, 139, 144, 0.4); border: 3px solid #888; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; color: #fff; font-size: 11px; }
.clickNav a.prev:hover, .clickNav a.next:hover { background-color: #999; border: 3px solid #999; text-decoration: none; }
div#items { margin: 0 0 30px 0; position: relative; min-height: 330px; height: auto !important; height: 330px; }
section h1 { display: none; }
#items article { margin: 0 0 30px 0; width: 640px; }
#items article h1 { display: block; margin: 0 0 10px 0; font-size: 18px; font-weight: bold; color: #999; text-shadow: 1px 1px 0 #f2f2f2; }
#items article h2 { margin: 0 0 2px 0; font-size: 13px; font-weight: normal; font-family: "ff-meta-serif-web-pro-1", "ff-meta-serif-web-pro-2"; text-transform: uppercase; color: #999; text-shadow: 1px 1px 0 #f2f2f2; letter-spacing: 1px; }
#items a.screenshot { float: left; display: inline; width: 380px; height: 330px; margin-bottom: 20px; }
#items a.screenshot img { width: 380px; height: 330px; -webkit-box-shadow: 3px 3px 3px rgba(135, 139, 144, 0.4); -moz-box-shadow: 3px 3px 3px rgba(135, 139, 144, 0.4); box-shadow: 3px 3px 3px rgba(135, 139, 144, 0.4); -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
#items article section { width: 216px; float: left; display: inline !important; margin: 0 0 0 30px; }
#items article section small { font-size: 11px; color: #999; }
.portfolioNav { margin: -22px 0 40px 0; padding: 0; height: 90px; overflow: hidden; }
.portfolioNav li { margin: 0 15px 0 0; padding: 0; list-style-type: none; float: left; display: inline; height: 80px; }
.portfolioNav a, .portfolioNav a:visited { padding: 4px; display: block; width: 75px; height: 65px; opacity: .50; }
.portfolioNav a:hover { -webkit-transition: all .2s ease-in-out; -o-transition: all .2s ease-in-out; opacity: 1.0; }
.portfolioNav a.activeSlide { opacity: 1.0; }
.portfolioNav img { width: 75px; height: 65px; -webkit-box-shadow: 3px 3px 3px rgba(135, 139, 144, 0.4); -moz-box-shadow: 3px 3px 3px rgba(135, 139, 144, 0.4); box-shadow: 3px 3px 3px rgba(135, 139, 144, 0.4); border: 3px solid #f2f2f2; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;  }
.itemPop { padding: 10px 0; margin: 0; }

/* -------------------------------------------------------------------------- testimonials */

p.quote { margin: 0; }
p.attribute { margin: 3px 0 25px 0; display: block; font-style: normal; font-family: "ff-meta-serif-web-pro-1", "ff-meta-serif-web-pro-2"; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; color: #999; }
p.attribute em { font-weight: bold; font-style: normal; margin: 0 3px 0 0; }

/* -------------------------------------------------------------------------- contact */

.contactInfo { line-height: 20px; width: 95%; height: 38px; padding-bottom: 30px; margin: 0 0 20px 0; border-bottom: 1px dotted #ccc; font-size: 18px; line-height: 24px; }
.contactInfo .colA { width: 150px; float: left; display: inline; margin: 0 20px 0 5px; }
.contactInfo .colB { width: 150px; float: left; display: inline; margin: 0 20px 0 0; }
.contactInfo .colC { width: 150px;  float: left; display: inline; margin: 0; }
#worksheetForm p { margin: 0 0 20px 0; }
#worksheetForm p label { width: 100%; float: none; display: block; margin: 0 0 10px 0; font-weight: bold; }
#worksheetForm p input, #worksheetForm p textarea { width: 95%; border: none; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; padding: 6px; color: #444; font: normal 13px "ff-dagny-web-pro-1", "ff-dagny-web-pro-2", sans-serif; -webkit-box-shadow: 3px 3px 3px rgba(135, 139, 144, 0.4); }
#worksheetForm h3 { margin: 40px 0 15px 0; color: #999; font-size: 18px; }
#worksheetForm .email2 { display: none; }
#worksheetForm p.narrow label { display: block; margin: 0 0 4px 0; width: 247px; }
#worksheetForm p.narrow input, #worksheetForm p.narrow textarea { width: 335px; }
#worksheetForm p.narrow textarea { width: 243px; height: 100px; margin-bottom: 30px; }
#worksheetForm p.buttons { margin-bottom: 25px; }
#worksheetForm p.buttons label { display: inline; margin: 1px 20px 0 0; width: auto; cursor: pointer; font-weight: normal; }
#worksheetForm p.buttons label.labelTitle { display: block; margin: 0 0 8px 0; font-weight: bold; line-height: 18px; }
#worksheetForm p.buttons label.labelTitle small { font-size: 12px; display: block; color: #999; font-weight: normal; margin: -4px 0 10px 0; }
#worksheetForm p.buttons input { display: inline; margin: 0 2px 0 0; width: auto; cursor: pointer; }
#worksheetForm label.error { text-transform: none; font-size: 12px; font-weight: normal; line-height: 14px; margin: 4px 0 0 0; color: #930; }
#worksheetForm .required { font-style: italic; font-family: Georgia, serif; font-size: 11px; margin: 20px 0; color: #ccc; }
#worksheetForm .submit { margin-top: 30px; }
#worksheetForm .submit input { width: 90px; height: 26px; background-color: #d48c16; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; color: #fff; border: none; font-size: 12px; }
#worksheetForm .submit input:hover { background-color: #444; cursor: pointer; border: none; -webkit-transition: all .4s ease-in-out; -o-transition: all .4s ease-in-out; }
#worksheetForm p.error { margin: 5px 0 10px 0; color: #930; font-size: 11px; }
#worksheetForm #worksheetExtra { display: none; border-top: 1px dotted #ccc; padding: 20px 0 0 0; margin: 40px 0 0 0; }

/* -------------------------------------------------------------------------- utility */

.clear { clear: both; }
.lastItem { border-bottom: none !important; }
div.label { position: relative; margin: 0 0 10px 0; }
label.over-apply { font-size: 13px; color: #999; position: absolute; top: 5px; left: 6px; padding: 0; margin: 0; }

/* -------------------------------------------------------------------------- footer */

footer { position: absolute; bottom: 0; width: 100%; padding: 20px 0; font-size: 12px; color: #ccc; z-index: 9999; }
footer p { margin: 0 auto; width: 500px; text-shadow: 1px 1px 0 #777; } 
footer strong { margin: 0 5px 0 0; color: #999; } 
footer a, footer a:visited { color: #ffdead; }
footer a:hover { color: #ffdead; text-decoration: underline; }

/* -------------------------------------------------------------------------- for itelephones */

@media screen and (max-device-width: 480px) {
	body { -webkit-text-size-adjust: none; padding: 10px; font-size: 80%; line-height: 140%; background-color: #f2f2f2; }
	#wrap { background: none; }
	img { max-width: 100%; height: 80%; }
	#container { width: 100%; margin: 0; padding: 0 0 20px 0; }
	header { height: auto; padding: 15px 12px 15px 12px; }
	header h1 { position: relative !important; margin: 0; padding: 0 15px 15px 5px; top: auto; left: auto; font-size: 200%; line-height: 100%; }
	header p { position: relative !important; margin: 0; padding: 0 15px 0 5px; width: auto; top: auto; left: auto; font-size: 95%; line-height: 160%; }
	header p.siteView { margin: 0 0 14px 8px; font-size: 80%; color: #555; border-bottom: 1px dotted #999; padding: 0 0 2px 0; display: none; }
	header p.siteView strong { margin: 0 4px 0 0; color: #999; }
	nav { text-align: left; padding: 0 15px 10px 18px; width: 100%; float: none; display: block; }
	nav a, nav a:visited { font-size: 90%; display: inline; text-transform: none; color: #d48c16; margin: 0 6px 0 0; font-weight: normal; }
	nav a.navOn { color: #666; border-bottom: 1px dotted; }
	div#main { width: auto; display: block; float: none; margin: 0; padding: 12px 12px 20px 16px; }
	aside, footer { display: none; }
	p.attribute { margin: 10px 0 25px 0; border-bottom: 1px dotted; padding: 0 0 25px 0; display: block; font-style: normal; font-family: "ff-dagny-web-pro-1", "ff-dagny-web-pro-2", "Lucide Grande", "Lucide Sans Unicode", sans-serif; text-transform: none; font-size: 100%; letter-spacing: 0; line-height: 130%; color: #999; }
	p.attribute em { font-family: "ff-dagny-web-pro-1", "ff-dagny-web-pro-2", "Lucide Grande", "Lucide Sans Unicode", sans-serif; text-transform: none; font-size: auto; letter-spacing: 0; font-style: normal; }
	div#items { margin: 0 0 30px 0; position: relative; min-height: auto; height: auto !important; height: auto; }
	#items article { margin: 0 0 30px 0; width: 100%; }
	#items a.screenshot { float: none; display: block; width: 100%; height: auto; }
	#items a.screenshot img { width: 100%; height: auto; }
	#items article section { width: 100%; float: none !important; display: block !important; margin: 0 0 40px 0; }
	.portfolioNav { display: none; }
	p.clients { display: none !important; }
	.contactInfo { line-height: 20px; width: 95%; height: auto; padding: 0; margin: 0 0 25px 0; border-bottom: none; font-size: 90%; }
	.contactInfo .colA { width: auto; float: none; display: block; margin: 0; }
	.contactInfo .colB { width: auto; float: none; display: block; margin: 10px 0 0 0; }
	p#worksheetRequest, p#vCard { display: none !important; }
	#worksheetForm { width: 100%; }
	#worksheetForm p input, #worksheetForm p.narrow input, #worksheetForm p textarea, #worksheetForm p.narrow textarea, #worksheetForm p label { width: 90%; height: auto; }
}
