/* 
Version: indextwo 3.1
Author: (c) David Trang, All rights reserved. 
Last edit: June 15, 2010 
*/

/* Reset
------------------------------------------------------- */
html, body, div, span, object, iframe, img, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, a, blockquote, pre, form, fieldset, table, tr, td, sup, strong, small { margin: 0; padding: 0; border: 0; outline: 0; vertical-align: baseline; background: transparent; }

html { height: 100%; padding-bottom: 1px; }
:focus { outline: 0; }

/* Standard styles
------------------------------------------------------- */

body {
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 12px;
	line-height: 20px;
	color: #494949;
	background: #f6f6f6 url(../images/bg.gif) repeat-x top center;
	min-width: 930px;
	height: 100%;
}

a { font-weight: bold; }
a:link { color: #323132; text-decoration: none; }
a:visited { color: #323132; text-decoration: none; }
a:active { color: #323132; text-decoration: none; }
a:hover { color: #ab6ad9; text-decoration: none; }

p { margin: 0 12px 20px 0; }

ol, ul { margin: 0 0 20px 0; }
ol li, ul li { line-height: 20px; list-style-type: none; }

h1, h2, h3, h4, h5 { color: #323132; font-weight: normal; }

h1 { 
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 34px; 
	line-height: 34px;
	font-weight: bold; 
	letter-spacing: -1px;
}

h2 { text-transform: uppercase; }
h2, h3 { 
	font-family: "Hoefler Text", "Palatino Linotype", Georgia, "Times New Roman", serif;
	font-size: 13px;
	line-height: 21px;
	letter-spacing: 1px;
}

h2 a, h3 a { font-weight: normal; }
h1 a:hover, h2 a:hover, h3 a:hover { color: #323132; }

blockquote p { margin: 0; }
cite { font-family: "Hoefler Text", "Palatino Linotype", Georgia, "Times New Roman", serif; }

/* Text specific styles
------------------------------------------------------- */

span.amp {
	font-family: Baskerville, "Goudy Old Style", "Palatino", "Book Antiqua", serif;
	font-weight: normal;
	font-style: italic;
}

span.drop {
	font-family: Arial, sans-serif;
	font-size: 66px;
	line-height: 56px;
	color: #5e5b5e;
	margin: 4px 4px 0 -4px;
	float: left;
}

p.more { margin: -20px 0 20px 0; font-size: 12px; }

span.left-quote-mark {
	position: relative;
	left: -8px;
	margin: 0 -6px 0 0;
}

/* Grid styles
------------------------------------------------------- */

#content { width: 930px; margin: 0 auto; }

/* 5 col - Home, Notebook, Contact */
.grid-5-1 { width: 186px; float: left; }
.grid-5-2 { width: 372px; float: left; }
.grid-5-3 { width: 558px; float: left; } 

/* 4 col - About, Portfolio, Portfolio detail, Notebook posts */
.grid-4-1 { width: 232px; float: left; }
.grid-4-3 { width: 697px; float: left; }

/* 3 col */
.grid-3-1 { width: 310px; float: left; }
.grid-3-2 { width: 600px; float: left; }

.grid-5-1:hover { color: #7b7b7b; }

/* Search bar styles
------------------------------------------------------- */

/* tab */
#search-tab {
	float: right;
	background-color: #363535;
	width: 70px;
	height: 22px;
	text-align: center;
	line-height: 22px;
}

#search-tab a {
	display: block;
	font-size: 9px;
	font-weight: normal;
	text-transform: uppercase;
	color: #ffffff;
	margin: 1px 0 0 0;
}

#search-tab a:hover { text-decoration: none; }

/* box transparency */
#search-box {
	background: url(../images/bg-search.png);
	height: 20px;
	width: 100%; /*ie6*/
	float: right; /*ie6*/
	padding: 10px;
	line-height: 10px;
}

#search-box form {
	font-size: 11px;
 	font-weight: bold;
	color: #ffffff;
	text-align: center;
}

/* form fields */
form#searchform input#search {
 	background: #fdfdfd url(../images/bg-formfield.png) repeat-x scroll left top;
 	font-size: 12px;
  	width: 215px;	
 	margin: 0 2px 0 8px;
 	padding: 3px;
 	border: #c3c3c3 1px solid;
    color: #7b7b7b;
}

form#searchform input#searchsubmit {
	font-size: 11px;
	width: 40px;
	padding: 2px 0 2px 0;
	background-color: #3e3e3e;
	color: #ffffff;
	cursor: pointer;
	border: none;
}

/* Header styles
------------------------------------------------------- */
#header {
	width: 930px;
	height: 205px;
	margin: 0 auto;
}

/* logo */
#logo {	padding: 56px 0 0 0; }
#logo a {
	float: left;
	width: 96px;
	height: 96px;
	text-indent: -9999px;
	background: url(../images/logo.png) 0 0 no-repeat;
}

#logo a:hover { background-position: 0px -96px; }
#logo a:active { background-position: 0px -192px; }

/* navigation */
#nav {  margin: 44px 0 0 0; float: right; }
#nav li { float: left; list-style-type: none; }

#nav li a {
	font-family: "Hoefler Text", "Palatino Linotype", Georgia, "Times New Roman", serif;
	text-transform: uppercase;
	font-weight: normal;
	font-size: 11px;
	letter-spacing: 1px;
	margin: -3px 0 0 24px;
	padding: 6px 0 0 0;
	display: block;
	position: relative;
	top: 1px;
	float: left;
	}
	
#nav li a:hover, #nav li#current a { 
	border-top: 1px solid #ab6ad9; 
	color: #494949;	
	position: relative;
	top: 0;
	float: left;
}

/* intro */
#intro { 
	border-bottom: #dadada 1px solid; 
	background: url(../images/bg-hash.png) 100% 0 repeat-x;
	margin: 0 0 50px 0; 
	padding: 60px 0 60px 0; 
	float: left; 
}

#intro .grid-3-2 h2, #intro .grid-3-1 h2 { margin: 0 0 4px 0; }
#intro .grid-3-1 { width: 300px; margin: 0 0 -20px 0; }
#intro .grid-3-1 p { font-family: Georgia, "Times New Roman", serif; padding: 0 4px 0 0; }

#intro #note { width: 310px; background:url(../images/bg-note.png); padding: 10px 5px 10px 15px; margin: -10px 0 -10px 0; }
#intro #note p { font-family: "Helvetica Neue", Arial, sans-serif; font-style: normal; }
#intro #note p.more { margin: -20px 0 0 0 }

#intro-sub { 
	background: url(../images/bg-hash.png) 0 100% repeat-x; 
	margin: 0 0 40px 0; 
	float: left; 
	width: 930px; 
}
#intro-sub p { font-family: Georgia, "Times New Roman", serif; font-size: 13px; margin: 0 0 40px 0; }

/* work */
#work { 
	background: url(../images/bg-hash.png) 0 100% repeat-x; 
	margin: 0 0 50px 0; 
	padding: 0 0 30px 0;
	color: #7b7b7b;  
	float: left; 
}
#work h2 { margin: 0 0 4px 0; }
#work p { padding: 0 30px 0 0; }
#work p.more { padding: 2px 0 0 0; }
#work .grid-5-2 p { margin: 24px 0 0 0; }

#work #testimonials {
	position: relative;
	overflow: hidden;
	width: 372px;
	height: 150px;
	background: #f6f6f6;
}

#work #testimonials-content {
	position: absolute;
	margin-top: -10px;
	left: -6px;
}

#work .testimonial {
	padding: 5px;
	height: 162px;
	background: #f6f6f6;
	text-align: left;
}

#work .testimonial p {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 12px;
	line-height: 20px;
	color: #7b7b7b;
	padding: 0 4px 0 8px;
	text-indent: -5px;
}

#work .testimonial cite {
	padding: 0 0 0 15px;
	font-size: 12px;
	font-style: normal;
	color: #9c9c9c;
	float: left;
}

#work .testimonial cite a { color: #9c9c9c; font-weight: normal; text-decoration: underline; }
#work .testimonial cite a:hover { color: #ab6ad9; }

#work ul#testimonial-nav { position: relative; float: right; width: 10px; margin: -60px 10px 0 0; }
#work ul#testimonial-nav li { list-style-type: none; margin: -10px 0 0 0; }	

/* Page specific styles
------------------------------------------------------- */

/* Home */
#home h3 { height: 60px; margin: 0 12px 0 0; }

/* About */
#about h1 { margin: 4px 0 24px 0; }
#about h2 { margin: 0 0 14px 0; }
#about #sidebar h1 { font-size: 24px; line-height: 24px; margin: -24px 0 24px 0; }
#about #sidebar h2 { margin: 0; }
#about #diagram { text-align: center; }

#about-me p { margin: 0 30px 20px 0; }
#about-intro { border-top: #dadada 1px solid; border-bottom: #dadada 1px solid; width: 664px; float: left; margin: 0 0 20px 0; }
#about-intro p { font-family: Georgia, serif; font-size: 16px; line-height: 23px; margin: 20px 8px 20px 0; }
#about-intro img { float: left; margin: 18px 18px 18px 0; }

/* Portfolio */
#portfolio .grid-4-1 { min-height: 310px; margin: 4px 0 0 0; }
#portfolio .grid-4-1:hover { color: #7b7b7b; }
#portfolio h1 { margin: 4px 0 24px 0; }
#portfolio h2 { margin: 0 0 30px 0; }
#portfolio h3 { margin: 0 0 20px 0; }

#portfolio-detail h1 { margin: 0 0 20px -1px; }
#portfolio-detail #sidebar h2 { margin: 0; }
#portfolio-detail #sidebar blockquote { font-family: Georgia, serif; font-style: italic; margin: 0 14px 0 0; }
#portfolio-detail #sidebar blockquote.testimonial { text-indent: -5px; }
#portfolio-detail #sidebar { border-top: 1px solid #dadada; width: 211px; padding: 20px 0 0 0; }
#portfolio-detail #main { border-top: 1px solid #dadada; width: 697px; padding: 20px 0 0 0; margin: 0 0 0 22px; }

/* Notebook */
#notebook .grid-5-1 { min-height: 410px; margin: 4px 0 0 0; }
#notebook h1 { margin: 4px 0 24px 0; }
#notebook h2 { margin: 0 0 30px 0; }
#notebook h3 { height: 60px; margin: 0 12px 0 0; }
#notebook #featured { margin: 20px 0 20px 0; float:left; }
#notebook #featured h1 { margin: 0 0 0 20px; }
#notebook #featured h2 { margin: 0 0 0 20px; }
#notebook #featured h3 { height: 24px; margin: 0 0 0 20px; }
#notebook #featured p { margin: 0 0 0 20px; }

#notebook-entry .grid-5-1 { min-height: 410px; margin: 4px 0 0 0; } /* for archives */
#notebook-entry h1 { margin: 0 0 10px -1px; }
#notebook-entry h2 { margin: 0 0 30px 0; }
#notebook-entry h3 { height: 60px; margin: 0 4px 0 0; }
#notebook-entry #sidebar { border-top: 1px solid #dadada; width: 211px; padding: 20px 0 0 0; }
#notebook-entry #sidebar h2 { margin: 0; }
#notebook-entry #sidebar blockquote { font-family: Georgia, serif; font-style: italic; margin: 0 14px 20px 0; }
#notebook-entry #main { border-top: 1px solid #dadada; width: 697px; padding: 20px 0 0 0; margin: 0 0 0 22px; }
#notebook-entry #main h2 { margin: 0 0 14px 0; }
#notebook-entry #main h3 { height: 21px; margin: 0 0 12px 0; }
#notebook-entry #main blockquote { text-indent: -7px; }
#notebook-entry #main blockquote.full { background-color: #e8e8e8; padding: 14px 16px 14px 18px; margin: 0 0 20px 0; width: 650px; float: left; }
#notebook-entry #main blockquote.left { background-color: #363535; color: white; float: left; margin: 5px 20px 20px -20px; padding: 20px; width: 200px; }
#notebook-entry #main blockquote.right { background-color: #363535; color: white; float: right; margin: 5px -20px 20px 20px; padding: 20px; width: 200px; }
#notebook-entry #main blockquote h2 { font-family: Georgia, serif; font-style: italic; font-size: 14px; line-height: 22px; margin: 0; height: auto; text-transform: none;  color: #ffffff; }
#notebook-entry #main blockquote h3 { font-family: Georgia, serif; font-style: italic; font-size: 14px; line-height: 22px; margin: 0; height: auto; text-transform: none; }
#notebook-entry #main cite { color: #7b7b7b; font-size: 12px; font-style: normal; margin: 4px 0 -8px 0; text-transform: uppercase; float: right; }
#notebook-entry #main ul { margin: 0 0 20px 20px; }
#notebook-entry #main ul li { margin: 0 0 20px 0; list-style-type: square; }
#notebook-entry .right { margin: 0 14px 0 20px; float: right; }
#notebook-entry .left { margin: 0 20px 0 0; float: left; }
#notebook-entry .center p, #notebook-entry .right p, #notebook-entry .left p { text-align: center; font-size: 12px; color: #7d7d7d; margin: 0 0 6px 0; }
#notebook-entry .snapshot { margin: 0 0 20px 0; }

#comments { clear: both; }
#comments h2 { margin: 0 0 0 233px; padding: 20px 0 0 0; }
#comments h3 { height: 21px; margin: 0 0 12px 0; }
#comments .date { border-top: 1px solid #dadada; width: 211px; padding: 20px 0 0 0; margin: 14px 0 0 0; }
#comments .comment-text { border-top: 1px solid #dadada; width: 697px; padding: 20px 0 0 0; margin: 14px 0 0 22px; }
#comments .comment-text #comment-form { width: 372px; }
#comments .subscribe-to-comments { position: relative; top: -20px; left: 75px; }
#comments .subscribe-to-comments input  { float: left; }
#comments .subscribe-to-comments label { width: auto; }
#comments .byuser { border-top: 1px solid #ab6ad9; }
#comments h3 a.url { background: url(../images/icon-author-link.gif) no-repeat right; padding: 2px 14px 0 0; }

#entry-nav span { display: none; }
#entry-nav { margin: 0 0 14px 0; float: left; width: 211px; }
#entry-nav li { float: left; list-style-type: none; margin: 0 6px 0 0; }
#entry-nav li a { height: 25px; display: block; }
#entry-nav li#next a { width: 25px; background: url(../images/button-entry-nav.png) 0px 0px no-repeat; }
#entry-nav li#previous a { width: 25px; background: url(../images/button-entry-nav.png) -32px 0px no-repeat; }
#entry-nav li#all a { width: 30px; background: url(../images/button-entry-nav.png) -65px 0px no-repeat; }
#entry-nav li#next a:hover { width: 25px; background: url(../images/button-entry-nav.png) 0px -25px no-repeat; }
#entry-nav li#previous a:hover { width: 25px; background: url(../images/button-entry-nav.png) -32px -25px no-repeat; }
#entry-nav li#all a:hover { width: 30px; background: url(../images/button-entry-nav.png) -65px -25px no-repeat; }

#meta { width: 930px; margin: 20px 0 0 0; padding: 20px 0 0 0; border-top: #dadada 1px solid; clear: both; float: left; }
#meta h2 { margin: 0; }
#meta #topics { width: 465px; float: left; }
#meta #topics ul li { font-size: 13px; margin: 0 20px 0 0; float: left; }
#meta #archive { width: 465px; float: left; }
#meta #archive ul li { font-size: 13px; margin: 0 20px 0 0; float: left; }

#pagination { clear: both; }
#older-entries p a, #newer-entries p a { font-family: Georgia, serif; font-style: italic; font-weight: normal; color: #ffffff; background-color: #494949; padding: 4px 8px; margin: 0; }
#older-entries p a { float: left; }
#newer-entries p a { float: right; }
#newer-entries p a:hover, #older-entries p a:hover { background-color:#ab6ad9; }

/* Contact */
#contact h1 { margin: 4px 0 24px 0; }
#contact h2 { margin: 0 0 30px 0; }
#contact #sidebar h2 { margin: 0 0 30px 0; }
#contact #sidebar h3 { margin: 20px 0 0 0; }
#contact p { margin: 0 20px 20px 0; }
#contact ul#inquiries { margin: 0 20px 20px 20px; }
#contact ul#inquiries li { margin: 0 0 20px 0; list-style-type: square; }

/* Form styles
------------------------------------------------------- */

/* contact form */
form#form label { 
	font-family: "Hoefler Text", "Palatino Linotype", Georgia, "Times New Roman", serif;
	font-size: 13px;
	line-height: 21px;
	letter-spacing: 1px;
	float: left;
	width: 75px;
}

form#form input#name, form#form input#email, form#form input#website {
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 12px;
	background: #fdfdfd url(../images/bg-formfield.png) repeat-x scroll left top;
	width: 285px;
	padding: 3px;
 	border: #c3c3c3 1px solid;
    color: #7b7b7b;
 	margin: 0 0 28px 0;
 	float: left;
}

form#form textarea#contact-message {
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 12px;
	background: #fdfdfd url(../images/bg-formfield.png) repeat-x scroll left top;
	width: 285px;
	height: 124px; 
	overflow: auto;
	padding: 3px;
 	border: #c3c3c3 1px solid;
    color: #7b7b7b;
 	margin: 0 0 28px 0;
}

form#form input#submitter {	
	font-size: 11px;
	width: 40px;
	padding: 2px 0 2px 0;
	background-color: #3e3e3e;
	color: #ffffff;
	cursor: pointer;
	border: none;
	margin: 0 0 0 75px;
}
 
#validate {
	width: 372px;
	margin: 14px 0 0 0;
	color: #ab6ad9;
}
 
#validate.loading {
	padding: 14px 0 0 0;
	background: url(/contact-form/loader.gif) no-repeat center;
}

/* notebook comment form */
form#commentform label { 
	font-family: "Hoefler Text", "Palatino Linotype", Georgia, "Times New Roman", serif;
	font-size: 13px;
	line-height: 21px;
	letter-spacing: 1px;
	float: left;
	width: 75px;
}

form#commentform input#author, form#commentform input#email, form#commentform input#url {
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 12px;
	background: #fdfdfd url(../images/bg-formfield.png) repeat-x scroll left top;
	width: 285px;
	padding: 3px;
 	border: #c3c3c3 1px solid;
    color: #7b7b7b;
 	margin: 0 0 28px 0;
 	float: left;
}

form#commentform textarea#comment {
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 12px;
	background: #fdfdfd url(../images/bg-formfield.png) repeat-x scroll left top;
	width: 360px;
	height: 124px; 
	overflow: auto;
	padding: 3px;
 	border: #c3c3c3 1px solid;
    color: #7b7b7b;
 	margin: 0 0 28px 0;
 	clear: both;
}

form#commentform input#submit {	
	font-size: 11px;
	width: 54px;
	padding: 2px 0 2px 0;
	background-color: #3e3e3e;
	color: #ffffff;
	cursor: pointer;
	border: none;
}

/* Footer styles
------------------------------------------------------- */

#footer {
	width: 100%;
	margin: 30px 0 0 0;
	padding: 0 0 30px 0;
	border-top: #dadada 1px solid;
	clear: both;
	float: left;
}

#footer p {
	font-size: 12px;
	color: #7b7b7b;
	margin: 30px 0 0 0;
	width: 245px;
	float: left;
}

#social {
	font-size: 12px;
	margin: 30px 0 0 0;
	float: right;
}
