* { 
	margin: 0; padding: 0; 
} 
 
html {
	background-color: #FFF;
	background-image: url(images/bg.jpg);
	background-repeat: repeat;
	background-position: center 0;
}

input, select, textarea, body {
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-size: 14px;
}

body {
	text-align: center;
	border: 0;
	color: #7c7c7b;
	background: url(images/bg-top.png) center 8px no-repeat;
	line-height: 22px;
}

body#blog {	
	background: url(../_pix/bg-blog-top.jpg) center 0 no-repeat;
}

#outer {	
	background: url(../_pix/bg-top2.jpg) center 151px no-repeat;
	border-top: 8px solid #000;
}	

body#blog #outer {	
	background: url(../_pix/bg-blog-top2.jpg) center 181px no-repeat;
}

body#work, body#work #outer {
	background-image: none;
	border: none;
	background-color: #000;
}

div.wrap {
	margin: 0 auto;
	width: 960px;
	text-align:left;
	z-index: 5;
}

div#nav {
	position: relative;
}

#home div#nav {
	position: fixed;
	z-index: 10;
	top: 170px;
}

#work div#nav {
	position: fixed;
	top: 0px;
	width: 940px;
	height: 100px;
	padding: 0 10px;
	z-index: 25;
}

#work .intro {
	padding: 100px 0 0 10px;
}

.section {
	padding: 60px 0 100px 170px;
	position: relative;
	clear: both;
}

#work .section {
	padding: 30px 0 30px 10px;
	clear: both;
	position: static;
	border-bottom: 1px dotted #434d4e;
}

#work .section .columns-6 {
	position: relative;
}	


div.section-intro {
	padding-top: 160px;
	padding-bottom: 200px;
}	

div.section-work div.portfolio {
	background: url(../_pix/bg-work.jpg) 0 0 no-repeat;
	width: 490px;
	height: 464px;
	float: right;
	margin: 30px 0 0 0;
}

div.article {
	margin-left: 90px;
}

div.section-blog {
	background: url(../_pix/bg-blog.jpg) 100px 210px no-repeat;	
}

div.section-about {
	background: url(../_pix/bg-about.gif) 843px 220px no-repeat;	
}

div.section-projects {
	background: url(../_pix/bg-projects.jpg) 463px 175px no-repeat;	
}

div.section-contact {
	background: url(images/contact_bg.png) 75px 85px no-repeat;
	padding-bottom: 25px;
    height: 575px;
}

div.section-about div.last {
	margin-top: 308px;
}

div.columns-1 {
	width: 60px;
}

div.columns-2 {
	width: 140px;
}

div.columns-3 {
	width: 220px;
}

div.columns-4 {
	width: 300px;
}

div.columns-5 {
	width: 380px;
	z-index: 5;
}

div.columns-6 {
	width: 460px;
}

div.margin-20-left {
	margin-left: 20px;
}

div.margin-10-left {
	margin-left: 10px;
}

div.margin-20-right {
	margin-right: 20px;
}

/* FOOTER CODE */
#footer {
	color:#FFF;
	height: 70px;
	width: 100%;
	position:fixed;
	left: 0px;
	bottom: 0px;
	z-index: 11000;
	background-color: #000;
}

#footer div {
	width: 950px;
	margin: 0 auto;
	padding: 13px 0 0 10px;
	color: #000;
	position: relative;
}

#inlinefooter, .article blockquote {
	padding: 18px 0 0 0;
	font-style: italic;
	margin: 0 0 170px 0;
	text-align: center;
	clear: both;
	font-family: Baskerville, Garamond, Palatino, "Palatino Linotype", "Hoefler Text", "Times New Roman", serif;
	font-size: 16px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #999;
}

.article blockquote {
	padding: 0;
	margin: 0 0 0 -40px;
	border: none;
	text-align: left;
}

#work #inlinefooter {
	margin: 0;
	border-bottom: none;
	color: #333;
}

#blog form div {
	position: relative;
}

/* HEADLINES */		

h1 {
	padding: 0 0 20px 0;
	margin: 0;
	font-size: 40px;
	font-weight:normal;
	line-height: 65px;
	color: #000;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

h2 {
	font-weight: normal;
	padding: 0 0 5px 0;
}

.section-blog .columns-4 h2, .section-projects h2 {
	font-size: 18px;
	line-height: 26px;
}

.section-projects h2 {
	outline: none;
	background: url(../_pix/arrow-accordion.gif) 0px 13px no-repeat;
	padding: 5px 0 9px 13px;
	border-bottom: 1px dotted #d4d4cd;
}

.section-projects  h2.ui-state-active {
	background: url(../_pix/arrow-accordion.gif) 0 -25px no-repeat;
	border: none;
}

.section-blog h2 {
	position: relative;
}

.section-blog .columns-6 h2, #blog .article h2, #blog .comments h2, #work h2 {
	font-size: 30px;
	line-height: 40px;
	padding-bottom: 15px;
}

#blog h1 {
	padding-bottom: 40px;
}

#blog .comments h2 {
	margin-left: -40px;
}

/* Links ######################################################### */	

a:link,  a:visited, a:active {
	color:#000000;
	text-decoration: none;
	outline: none
}
a:hover {
	color:#609;
}

.font-grey a:link, .font-grey a:visited, .font-grey a:active {
	color:#609;
	text-decoration: underline
}
#footer a:link, #footer a:visited, #footer a:active {
	color: #609;
	text-decoration: underline
}
#work #inlinefooter a:link, #work #inlinefooter a:visited, #work #inlinefooter a:active {
	color: #609;
	text-decoration: underline
}

a.button {
	display: inline-block;
	padding: 9px 13px 8px;
	color: #FFF;
	text-decoration: none;
	line-height: 1;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	-moz-box-shadow: 0 1px 5px #999;
	-webkit-box-shadow: 0 1px 5px #999;
	text-shadow: -1px -1px #000;
	position: relative;
	cursor: pointer;
	font-family: Baskerville, Garamond, Palatino, "Palatino Linotype", "Hoefler Text", "Times New Roman", serif;
	background-color: #000000;
}

a.button:active {
	top: 1px;
	background-color: #609;
}	

#work a.button {
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0 1px 3px #609;
	-webkit-box-shadow: 0 1px 3px #609;
	text-shadow: -1px -1px #4d5a5b;
	background-color: #000;
}

#about a.button {
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0 1px 3px #000;
	-webkit-box-shadow: 0 1px 3px #000;
	text-shadow: -1px -1px #4d5a5b;
	background-color: #000;
}

#work a.button:hover {
	background-color: #609;
}

#work #nav a.button {
	margin: 25px 0 0 0;
}	

a.button:hover {
	text-shadow: -1px -1px #000;
	background-color: #609;
	-moz-box-shadow: 0 1px 3px #000;
	-webkit-box-shadow: 0 1px 3px #000;
}	

#footer a.button {
	color: #CCC;
	-moz-box-shadow: 0 1px 3px #609;
	-webkit-box-shadow: 0 1px 3px #609;
	text-shadow: none;
	float: right;
	text-decoration: none;
	margin: 8px 10px 0 0;
	background-color: #609;
}

#footer a.button:hover {
	background-color: #000;
}	

/* WORK */ 

p.date span.com-amount a {
	text-decoration: none;
	color: #fff;
}

#work .section .columns-6 a {
	display: block;
	width: 16px;
	height: 18px;
	padding: 15px;
	text-indent: -1111em;
	position: absolute;
	top: 38px;
	opacity: 0.3;
}	

#work .section .columns-6 a.left {
	background: url(../_pix/go-left.png) center center no-repeat;
	left: -40px;
}

#work .section .columns-6 a.right {
	background: url(../_pix/go-right.png) center center no-repeat;
	left: 631px;
}

#work .section .columns-6 a:hover {
	opacity: 1;	
}	
	
/* FONTS */

.font-grey {color:#afafa6;}

.font-large {
	font-size: 17px;
	line-height: 31px;
	color: #333;
}

.purple {
	font-size: 17px;
	line-height: 22px;
	color: #609;
	font-variant: small-caps;
}

div.article p.font-large {
	position: relative;
	left: -40px;
}

p {
	padding:0 0 22px 0;
}

p.date, div.archive ul li span.post, #work p.details {
	line-height: 1;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 2px;	
	position: relative;
	font-family: Baskerville, Garamond, Palatino, "Palatino Linotype", "Times New Roman", serif;
}	

#work p.details {
	line-height: 20px;
	color: #4e595a;
}	

p.date span, #work p.details span {
	font-style: italic;
	text-transform: none;
}	

#footer div p.tweet {
	width: 900px;
	text-align: left;
	padding: 0 0 0 0px;
	height: 55px;
	float: left;	
	color: #CCC;
	line-height: 20px;
}

#footer div p.tweet span {
	font-style: italic;
	color: #CCC;
	white-space: nowrap;
}	

p.social {
	border-bottom: 1px dotted #d4d4cd;
	margin-bottom: 15px;
}

.section-blog p.block {
	display: block;
	float: right;
	width: 175px;
	height: 75px;
}

#accordion p {
	padding-left: 13px;
}	

/* NAVBAR */

#nav ul {
	width: 90px;
	padding: 0;
	margin: 0;
	list-style-type: none;

}

#nav ul li {
	padding: 0;
	margin: 0;
	display: block;
}	

#nav ul li a {
	text-align: right;
	width: 70px;
	padding: 10px;
	display: block;
	text-decoration: none;
	color: #000;
	line-height: 1;
}

#nav ul li a:hover {
	color: #609;
}	
	
/* IMG SWAP */


div.section-about h1 {
	height: 100px;
	background-color: transparent;
	background-image: url(images/about.png);
	background-repeat: no-repeat;
}

div.section-work h1 {
	height: 100px;
	background-color: transparent;
	background-image: url(images/work.png);
	background-repeat: no-repeat;
}

div.section-projects h1 {
	height: 100px;
	background-color: transparent;
	background-image: url(images/resume.png);
	background-repeat: no-repeat;
}

div.section-contact h1 {
	height: 100px;
	background-color: transparent;
	background-image: url(images/contact.png);
	background-repeat: no-repeat;
}

div.section-intro h1 {
	height: 410px;
	background-color: transparent;
	background-image: url(images/intro.png);
	background-repeat: no-repeat;
}

div.section-projects h1 span,
div.section-work h1 span,
div.section-contact h1 span,
div.section-about h1 span,
div.section-intro h1 span
{ display: none; }

	
/* IMAGES */	

img {
	border:0;
}

div.section img.logo {
	position: absolute;
	top: 78px;
	left: 713px;
}

div.section-intro img.logo {
	top: 160px;
}

div.section-intro img.bird {
	position: absolute;
	top: 170px;
	left: 540px;
}

div.section-work img.deco {
	position: absolute;
	top: -120px;
	left: 400px;
} 

div.section-projects img.deco {
	position: absolute;
	top: 0px;
	left: 540px;
} 

div.section-about img.deco {
	position: absolute;
	top: 0px;
	left: 540px;
}  

div.section-blog img.deco {
	position: absolute;
	top: 100px;
	left: 450px;
}  

#footer div img {
	position: absolute;
	top: -50px;
	left: -150px;
}

#blog form div img {
	position: absolute;
	top: -34px;
	left: 0px;
}	

#blog #nav img.logo {
	position: absolute;
	top: 50px;
	left: 630px;
	padding:0 0 30px 80px;
}


/* changed by Frank */
img.frame, img.avatar { 
	border: 7px solid #fff;	
	-moz-box-shadow: 0 0 3px #609;
	-webkit-box-shadow: 0 0 3px #609;
}

img.shadow {
	-moz-box-shadow: 0 0 3px #609;
	-webkit-box-shadow: 0 0 3px #609;
}

img.avatar-default { 
	display: none;
}

.article img.large {
	margin: 0 0 20px -40px;
}

.article img.small-right, .article img.alignright {
	margin: 0 -80px 20px 20px;
	float: right;
}	

.article img.small-left, .article img.alignleft {
	margin: 0  20px 20px -40px;
	float: left;
}	

.comments .item img {
	float: right;
	margin: 0 0 10px 10px;
	z-index: 15;
	position: relative;
}

#work #nav img {
	margin: 25px 0 0 0;
	float: right;
}

#work .section img {
	-moz-box-shadow: 0 0 8px #000;
	-webkit-box-shadow: 0 0 8px #000;
}

/* LISTS */

div.archive ul {
	margin: 0;
	padding: 30px 30px 30px 100px;
	list-style-type: none;
	border-top: 1px dotted #d4d4cd;
	clear: both;
}

div.archive ul li {
	margin: 0;
	padding: 2px;
	clear: both;
}

/* FORMS */

button {
	font-family: Baskerville, Garamond, Palatino, "Palatino Linotype", "Hoefler Text", "Times New Roman", serif;
	font-size: 16px;
	color: #666;
}

form {
	padding: 17px 0 17px 17px;
	margin: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background-color: none;
	background-image: url(images/contact_bg.png);
	background-repeat: no-repeat;
}

#blog #nav form {
	width: 250px;
	position: fixed;
	top: 570px;
	margin-left: 650px;
	z-index: 50;
}



/* SLIDESHOW FOR WORK */

#slideshow {
    position:relative;
	height: 500px;
	width: 500px;
	margin: 76px 15px 55px 25px;
	overflow: hidden;
}

.slide-show {
	position:relative;
	width: 636px;
	height: 578px;
	overflow: hidden;
}

.slide-panel {
	position:relative;
	left: 0px;
	width: 9999px;
}

.slide-panel img {
	float:left;
	margin:8px;
}


/* FORM-SLIDER */		


.jslider .jslider-bg i, .jslider .jslider-pointer { background: url(../_pix/jslider.png) no-repeat 0 0; }

.jslider { display: block; width: 178px; height: 1em; position: relative; top: 0.6em; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; float: left; }
.jslider table { width: 100%; border-collapse: collapse; border: 0; }
.jslider td, .jslider th { padding: 0; vertical-align: top; text-align: left; border: 0; }

.jslider table,
.jslider table tr,
.jslider table tr td { width: 100%; vertical-align: top; }

.jslider .jslider-bg { position: relative; }
.jslider .jslider-bg i { height: 17px; position: absolute; font-size: 0; top: 0; }
.jslider .jslider-bg .l { width: 50%; background-position: 0 0; left: 0; }
.jslider .jslider-bg .r { width: 50%; left: 50%; background-position: right 0; }
.jslider .jslider-bg .v { position: absolute; width: 60%; left: 20%; top: 0; height: 5px; background-position: 0 -20px; }

.jslider .jslider-pointer { width: 16px; height: 25px; background-position: 0 -30px; position: absolute; left: 20%; top: -4px; margin-left: -6px; cursor: pointer; cursor: hand; }
.jslider .jslider-pointer-hover { background-position: -20px -30px; }
.jslider .jslider-pointer-to { left: 80%; }

.jslider .jslider-label {  line-height: 11px; color: black; opacity: 0.4; white-space: nowrap; padding: 0px 2px; position: absolute; top: -17px; left: 0px; color: #b8c2c3}
.jslider .jslider-label-to { left: auto; right: 0; color: #b8c2c3}

.jslider .jslider-value {  white-space: nowrap; padding: 4px; position: absolute; top: -25px; left: 20%; background: none; line-height: 11px; color: #b8c2c3; -moz-border-radius: 3px;	-webkit-border-radius: 3px; }
.jslider .jslider-value-to { left: 80%; }

.jslider .jslider-label small,
.jslider .jslider-value small { position: relative; top: -0.4em; }

.jslider .jslider-scale { position: relative; top: 9px; }
.jslider .jslider-scale span { position: absolute; height: 5px; border-left: 1px solid #999; font-size: 0; }
.jslider .jslider-scale ins {text-decoration: none; position: absolute; left: 0px; top: 5px; color: #999; }

.jslider-single .jslider-pointer-to,
.jslider-single .jslider-value-to,
.jslider-single .jslider-bg .v,
.jslider-limitless .jslider-label { display: none; }



/* MISC */		

.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

.float-left {
	float:left;
}

.float-right {
	float:right;
}	

.clear {
	clear:both;
}	

.center {
	text-align:center;
}	

/*CONTACT FORM */

.formleftcol {
	float:left;
	position:relative;
	width:300px;
}	
.formrightcol {
	float:left;
	position:relative;
	width:300px;
	text-align:right;
}
.formbottomcol {
	height:120px;
	width:100%;
	clear:both;
}		
.bkg1 {
	width:200px;
	height:22px;
	margin-top:15px;
	padding:8px 20px 8px 5px;
	background-repeat:no-repeat;
	font-size:12px;
	border: 2px inset #000;
}	
.bkg2 {
	width:200px;
	height:22px;
	border:none;
	margin-top:4px;
	padding:8px 20px 8px 5px;
	background-repeat:no-repeat;
	font-size:12px;
		border: 2px inset #000;
}
.bkg3 {
	width:200px;
	height:22px;
	border:none;
	margin-top:4px;
	padding:8px 20px 8px 5px;
	background-repeat:no-repeat;
	font-size:12px;
		border: 2px inset #000;
}
.bkg4 {
	width:200px;
	height:22px;
	border:none;
	margin-top:4px;
	padding:8px 20px 8px 5px;
	background-repeat:no-repeat;
	font-size:12px;
		border: 2px inset #000;
}
.submit {
	width:120px;
	height:25px;
	border:none;
	margin-top:5px;
    display: inline-block;
	padding: 0px 0px 0px;
	color: #FFF;
	text-decoration: none;
	line-height: 1;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	-moz-box-shadow: 0 1px 5px #999;
	-webkit-box-shadow: 0 1px 5px #999;
	text-shadow: -1px -1px #000;
	position: relative;
	cursor: pointer;
	font-family: Baskerville, Garamond, Palatino, "Palatino Linotype", "Hoefler Text", "Times New Roman", serif;
	background-color: #000;
	cursor:pointer;
}
.reset {
	width:120px;
	height:25px;
	border:none;
	margin-top:5px;
	margin-right:5px;
display: inline-block;
	padding: 0px 0px 0px;
	color: #FFF;
	text-decoration: none;
	line-height: 1;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	-moz-box-shadow: 0 1px 5px #999;
	-webkit-box-shadow: 0 1px 5px #999;
	text-shadow: -1px -1px #000;
	position: relative;
	cursor: pointer;
	font-family: Baskerville, Garamond, Palatino, "Palatino Linotype", "Hoefler Text", "Times New Roman", serif;
	background-color: #000;
	cursor:pointer;
}

.reset a.button:active {
	top: 1px;
	background-color: #609;
}	


.comment {
	width:350px;
	height:100px;
	border:none;
	padding:5px;
	margin-top:15px;
	background-image:url(images/comment.jpg);
	background-repeat:no-repeat;
	font-size:12px;
		border: 2px inset #000;
}	
.backlink {
	width:840px;
	position:relative;
	left:50%;
	margin-left:-420px;
	text-align:left;
	padding-top:10px;
}
.backlink a:link {
	color:#777777;
	border-bottom:1px dotted #777777;
	text-decoration:none;
}
.backlink a:visited {
	color:#777777;
	border-bottom:1px dotted #777777;
	text-decoration:none;
}
.backlink a:hover {
	color:#444444;
	border-bottom:1px dotted #444444;
	text-decoration:none;
}
.backlink a:active {
	color:#777777;
	border-bottom:1px dotted #777777;
	text-decoration:none;
}

/*NAVBAR */

.navbar {
	width:42px;
	position:fixed;
	top:20px;
	left:20px;
	float:left;
}	
.navbar img {
	margin-bottom:7px;
}	

.boxgrid{ 
	width: 200px; 
	height: 60px; 
	margin:2px; 
	float:left;
	overflow: hidden; 
	position: relative; 
}
.boxgrid img{ 
	position: absolute; 
	top: 0; 
	left: 0; 
	border: 0; 
}
.boxgrid p{ 
	padding: 0 10px; 
	color:#afafaf; 
	font-weight:bold; 
	font:10pt "Lucida Grande", Arial, sans-serif; 
}			
