﻿/* ----- Global Reset ----- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, 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;
}
:focus {
	outline: 0;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
strong {
    font-weight: bold;
}

/* ----- Links ----- */
a:link, a:visited { text-decoration:none; color: #4181bc; }
a:hover { text-decoration:none; color: #000; }
a img { border:none; }

/* ----- Headings ----- */
h3 {
    padding: 0 0 2px 0;
    font: 1.9em Arial;
    font-weight: bold;
    color: #333;
    margin: 0;    
}
h4 {    
    font: 1.5em Arial;
    color: #565656;
    font-weight: bold;
}
h5 {
    color: #981B1E;
    font-size: 1.1em;
    font-weight: bold;
} 

/* ------ Helpers ----- */
.clearer {
	clear: both;
}
#postnavigation{
	height: 20px;
	margin-bottom: 10px;
	text-align: center;
	color: Gray;
}
.small { font-size:0.8em; }
.quiet { color:#9B9C8D; font-weight:normal !important; }
.field { 
    color:#666; 
    padding:0.1em 0.2em 0.1em 0.2em; 
    border-top: solid 1px #B3B5BD;
    border-left: solid 1px #B8BAC2;
    border-right: solid 1px #B8BAC2;
    border-bottom: solid 1px #CFD0D6;
    margin:1px 0pt; 
    background: #fff url(images/input_bg.png) repeat-x top;
}
.field:focus {
    border: solid 1px #95C9DC;
}
.button, .button-small { 
    background:transparent url(images/button_medium.gif) no-repeat scroll 0pt; 
    border:0pt none; 
    color: #fff; 
    cursor:pointer; 
    font-size:0.9em; 
    font-weight:bold; 
    height:22px; 
    letter-spacing:0.05em; 
    margin:1px 0pt 0pt; 
    width:75px; 
    margin-bottom: 2px;
}
.button-small { 
    background-image: url(images/button_small.gif); 
    height:19px; 
    width:28px; 
}

/* ------ Base Look ----- */
body {
    background: #95A9B9 url(images/sky.png) repeat-x top;
    color: #3f3f3f;
    font: 0.8125em/1em Verdana,sans-serif;
}
#wrapper {
    width: 960px;
    margin: 0 auto;
    font-size: 0.88em;  
}

/* ------ Header ----- */
#header {
    height: 200px;
    background: url(images/header.jpg) no-repeat left top;
}

#header h1 span, #header h2 {
    display: none;
}
#header h1 a {
    float: left;
    margin: 45px 0 0 450px;
    height: 120px;
    width: 360px;
}
#content {
	float: left;
	width: 70%;
}

/* ----- Menu ----- */
#menu{
	background: #000 url(images/menu_bg.png) no-repeat left top;
	height: 30px;
	padding: 5px 0 0 15px;
}
#menu ul li{
    display: inline;
}
#menu ul li a {
	float: left;
	width: 60px;
	height: 20px;	
	background: url(images/menu.png) no-repeat 0 0;
}
#menu ul li.blog a { background-position: 0 0; }
#menu ul li.blog a:hover { background-position: 0 -20px; }
#menu ul li.portfolio a { background-position: -60px 0; }
#menu ul li.portfolio a:hover { background-position: -60px -20px; }
#menu ul li.about a { background-position: -120px 0; }
#menu ul li.about a:hover { background-position: -120px -20px; }
#menu ul li.contact a { background-position: -180px 0; }
#menu ul li.contact a:hover { background-position: -180px -20px; }
#menu ul li.feed a { background-position: -240px 0; }
#menu ul li.feed a:hover { background-position: -240px -20px; }
#menu ul li span {
    display: none;
}

/* ----- Body ------ */
#body {
    background: #fff url(images/body_bg.png) repeat-y left;
}
#content {
    width: 595px;
    padding: 20px 15px 0 20px;
    float: left;
}
#sidepanel {
    margin-left: 630px;
}
#footer {
    clear: both;
    background: url(images/footer.png) no-repeat left top;
    height: 30px;
    padding-top: 15px;
    text-align: center;
    color: #3a3a3a;
    font-size: 0.9em;
}


/* ----- Side Panel ----- */
#sidepanel {
    font-family: Tahoma;
}
#sidepanel p {
    line-height: 1.8em;
}
#sidepanel h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #ca3;
}
#sidepanel a {
    color: #8d8d8d;
}
#sidepanel a:hover {
    text-decoration: underline;
}
#sidepanel .box {
	padding: 15px 30px;
	color: #6a6a6a;
	overflow: hidden;
}
#sidepanel .about img {
    float: right;
    margin: 5px 0 0 15px;
}
#sidepanel .archive, #sidepanel .tags, #sidepanel .admin {
    background-color: #111;    
}
#sidepanel table {
    font-size: 0.76em;
}
#sidepanel .archive th {
    text-align:center;
}
#sidepanel .archive td {
    background: url(images/cal_on.png) no-repeat center center;
    width: 20px;
    text-align: center;
    line-height: 22px;
    font-size: 1em;
}
#sidepanel .archive td.empty {
    background-image: url(images/cal_off.png)
}
#sidepanel .archive a {
    color: #000;
    font-weight: bold;
}
#sidepanel .archive th.year {
    padding-right: 5px;
    font-size: 1.1em;
}

/* ----- Blogroll ----- */
#blogroll { padding-left: 5px; }
#blogroll ul {
	list-style-type: none;
	margin: 0 0 3px 0;
	padding: 0px;
}
#blogroll ul li a {
    font-weight: 700;
}
#blogroll ul li ul li a {
	padding-left: 25px;
	color: #666666;
	background: url(images/bullet_black.png) no-repeat 10px -1px;
	font-weight: normal;
	line-height: 16px;
}
#blogroll ul li a img {
	border: none;
	margin-right: 4px;
	vertical-align: text-bottom;
}

/* ------ Post ----- */
.post {
    background: url(images/post_footer.png) no-repeat left bottom;
}
.post {
    margin-bottom: 40px;
    padding: 0 15px;
}
.post p, .post ol, .post ul {
    margin: 0 0 1em;
    line-height: 1.8em;
}
.post h3 {
    font-weight: normal;
    font-size: 2.2em;
}
.post h4 {
    margin-top: 1.5em;
}
.post ul.vlst li {
    padding-left: 20px;
    margin: 0 0 0.5em 0;
    background: url(images/arrow-right.gif) no-repeat .5em .7em;
}
.post p.img {
    text-align: center;
}
.post p.rimg {
    float: right;
    margin: 15px 0 5px 5px;
}
.post span.mnsp {
    font-family: Monospace;
}
.post div.dsrc {
    width: 350px;
    border: solid 3px #CECFD0;
    margin: 10px auto;
    padding: 20px 0;
    text-align: center;
    background-color: #f0f0f0;
}
.post div.dsrc a {
    font: bold 22px Times;
    border-bottom-width: 0px;
}
.post div.dsrc span {
    color: #999;
    font-size: .9em;
}
.post .descr {
    padding: 0px 0 10px 12px;
    font-size: .88em;
    color: #9b9b9b;
    background: url(images/time.gif) no-repeat left 3px;
}
.postcontent a {
    border-bottom: dotted 1px #aaa;
    padding-bottom: 2px;
}
.postcontent a:hover {
    text-decoration: none;
    border-bottom: solid 1px #3B7298;
}
.postcontent {
	margin-bottom: 1em;
}
.postfooter {
	padding: 15px 0;	
	font-size:0.9em;
	height: 16px;
}
.postfooter a{
    float: left;
    padding: 2px 0 2px 18px;
    margin-right: 10px;
    background: url(images/tools.gif) no-repeat left top;
}
.postfooter a.cmnts {
    background-position: left 0;
}
.postfooter a.prmlnk {
    background-position: left -16px;
}
.postfooter a.digg {
    background-position: left -32px;
}
.postfooter a.delicious {
    background-position: left -48px;
}
.postfooter a.email {
    background-position: left -64px;
}
.postfooter a.feed {
    background-position: left -80px;
}

div.post .text a[href^="http:"] {
	background: url(../../pics/remote.gif) right top no-repeat;
	padding-right: 10px;
  white-space: nowrap;
}


/* ----- Recent posts ----- */
ul.recentPosts li{
	padding: 0 0 10px 12px;
	background: url(images/bullet_black.png) no-repeat -4px 0px;
}
ul.recentPosts li span{
	display: block;
	text-indent: 10px;
	text-transform: none;
}

/* ----- Comments ----- */
.comment {
	background: #fff url(images/comment_normal_bg.png) no-repeat left 17px;
	margin-bottom: 20px;
}
.comment .commentfooter {
    clear: both;
    height: 10px;
    background: #fff url(images/comment_normal_bg.png) no-repeat left bottom;
}
.commentbody {
    padding: 10px 15px 0 15px;
}
.comment p {
    line-height: 1.6em;
}
.comment img {
    float: left;
    width: 64px;
    height: 64px;
    padding: 2px;
    background-color: #fff;
    border: solid 1px #eee;
    margin: 0 10px 0 0;
}
.commentheader {
    padding-left: 10px;
    height: 18px;
    font-size: .88em;
    color: #9b9b9b;    
}
.commentauthor {
    padding-right: 14px;
    background: url(images/comment_normal_hdl.png) no-repeat right 8px;
    height: 18px;
    float: left;
    font-size: 1.1em;
    color: #333;
}
.selfcomment {
    background-image: url(images/comment_self_bg.png);
}
.selfcomment .commentfooter {
    background-image: url(images/comment_self_bg.png);
}
.selfcomment .commentauthor {
    background-image: url(images/comment_self_hdl.png);
}
#commentlist {
    padding-bottom: 20px;    
}

/* ------ Comment Form ----- */
.commentForm .bbcode {
	font-size:.9em;
	padding-top: 3px;
	text-align: right;
	width: 90%;
	display: block;
}
.commentForm { padding-bottom: 20px; }

.commentForm label {
	line-height: 18px;
}
.commentForm p {
	padding-top: 10px;
}
.commentForm input.field{
	width: 300px;
}
.commentForm input.button{
	width: 80px;
}
.commentForm textarea{
	display: block;	
	overflow: auto;
	width: 90%;
	height: 200px;
	margin: 0;
}
.commentForm .notif {
    padding-top: 0;
}
.commentForm #ajaxLoader {
    vertical-align: text-bottom;
}
.commentForm #status {
    font: italic 14px Arial;
}
.commentForm .success {
	color: green;
	font-weight: bold;
}

/* ----- Archive ----- */
#archive h4 {

	padding: 0;
	margin-bottom: 5px;
}
#archive ul {
	list-style-type: square;
	margin: 0 10px;
	padding: 10px;
}
#archive ul li {
	margin-right: 20px;
}
#archive table{
	width: 100%;	
	border-collapse: collapse;
	margin-bottom: 20px;
}
#archive table td, #archive table th{
	text-align:left;
	border: 1px solid #D8D8D8;
	text-align:left;
	padding: 2px;	
}
#archive table th {
    font-weight: bold;
    background-color: #c8c8c8;
}
#archive .date{
	width: 70px;
}
#archive .comments{
	width: 70px;
	text-align: center;
}
#archive .rating{
	width: 70px;
	text-align: center;
}

/* ----- Search ----- */

#searchbox {
	margin-top: 5px;
	font-size: 10px;
}

#searchbox input {
	font-size: 10px;
}

#searchbox #searchbutton {
	margin-left: 5px;
}

#searchbox #searchfield {
	width: 200px;
}

/* ----- Search on search -----*/
#searchonsearch {
	background: white;
	padding: 5px 10px;
	margin-bottom: 20px;
	border: 1px solid silver;
}
#searchonsearch h3 {
	margin: 3px;
	font-size: 13px;
}
#searchonsearch ol li {
	margin: 2px 0;
}

/* ----- Search Page ----- */
#searchpage input#q{
	width: 300px;
}
#searchpage input#comment{
	clear: both;
}
.searchresult{
	padding: 10px 0;
	line-height: 1.3em;
}
.searchresult a{
	font-weight: bold;
}
.searchresult span.text{
	clear: both;
	display: block;
	margin: 3px 0;
}
.searchresult span.type{
	display: block;
}
.searchresult span.url{
	color: Gray;
}
.searchpage ul.paging{
 list-style-type: none;
 margin:0px;
 margin-bottom: 20px;
 padding:0px;
}
.searchpage ul.paging li{
 display: inline;
 border: 1px solid gray; 
 background: #f1f1f1;
 margin-right: 5px;
}
.searchpage ul.paging li a{
 padding: 5px 8px;
}
.searchpage ul.paging li.active{
 background: #f1f1f1;
 border: 1px solid black;
}

/* ----- Tag cloud ----- */
#tagcloud {
	margin-bottom: 10px;
	line-height:2.5em;
	white-space:normal;
}
#tagcloud a {
	margin-right: 5px;
	display: block;
	float: left;
}
#tagcloud a.biggest { font-size: 2em; }
#tagcloud a.big { font-size: 1.7em; }
#tagcloud a.medium { font-size: 1.3em; }
#tagcloud a.small { font-size: 1.2em; }
#tagcloud a.smallest { font-size: 1em; }

/* ----- Contact Form ----- */
#contact { padding-left: 10px; }
#contact label {
	line-height: 18px;
}
#contact p {
	padding-top: 10px;
}
#contact input.field{
	width: 250px;
}
#contact input.button{
	width: 80px;
}
#contact textarea{
	display: block;	
	overflow: auto;
	width: 85%;
	height: 200px;
	margin: 0;
}

/* ------ Mormal Page ----- */
#page {

}
#page p {
    margin-top: 1em;
    line-height: 1.8em;
}
#page li {
    margin: 0;
    padding: 0px 0 4px 30px;
    line-height: 1.6em;
    background: url(images/arrow-right.gif) no-repeat 20px 7px;
}

/*----------------------------
					XFN tags
----------------------------*/

div.post .text a[rel] {
	padding-right:11px;
	background-repeat: no-repeat;
	background-position: right center;
}
div.post .text a[rel="me"] {	
	background-image:url('../../pics/xfn/me.gif');
}

/*-------- [ These should cascade to pick the correct icon for the contact ]--*/

/*-------- [ Normal contacts ]--*/
div.post .text a[rel~="contact"] ,
div.post .text a[rel~="acquaintance"],
div.post .text a[rel~="friend"] {
	background-image:url('../../pics/xfn/contact.gif');
}
/*-------- [ Normal contacts youve met ]--*/
div.post .text a[rel~="contact"][rel~="met"] ,
div.post .text a[rel~="acquaintance"][rel~="met"] ,
div.post .text a[rel~="friend"][rel~="met"] {
	background-image:url('../../pics/xfn/contactMet.gif');
}

/*-------- [ Colleague and co worker icon more important than contact ]--*/
div.post .text a[rel~="colleague"] ,
div.post .text a[rel~="co-worker"] {
	background-image:url('../../pics/xfn/colleague.gif');
}
/*-------- [ Colleague and co worker icon when met ]--*/
div.post .text a[rel~="colleague"][rel~="met"] ,
div.post .text a[rel~="co-worker"][rel~="met"] {
	background-image:url('../../pics/xfn/colleagueMet.gif');
}

/*-------- [ Sweethearts are more important than work!!! ]--*/
div.post .text a[rel~="muse"] ,
div.post .text a[rel~="crush"] ,  
div.post .text a[rel~="date"] ,
a[rel~="sweetheart"] {
	background-image:url('../../pics/xfn/sweet.gif');
}
/*-------- [ ...and if youve met them thats even better ]--*/
div.post .text a[rel~="muse"][rel~="met"] ,
div.post .text a[rel~="crush"][rel~="met"] ,  
div.post .text a[rel~="date"][rel~="met"] ,
div.post .text a[rel~="sweetheart"][rel~="met"] {
	background-image:url('../../pics/xfn/sweetMet.gif');
}

/* ----- Portfolio Page ----- */
.col-two-left, .col-two-right {
    width: 285px;
    float: left;
}
.col-two-right {
    float: right;
}
.work-sample { padding: 10px 0 15px 0; }
.work-sample img {
    padding: 3px;
    width: 277px;
    height: 100px;
    background-color: #fff;
    border: solid 1px #aaa;
}
.work-sample strong { font-size: 1.1em; }
.work-sample p {line-height: 1.6em; }
.work-sample li { padding: 4px 0 6px 15px; background: url(../../pics/remote.gif) no-repeat 5px center; }
.work-sample li a { font-size: .9em; }
.work-sample-ft { margin-top: 5px; border-top: dotted 1px #aaa; padding-top: 5px; text-align: right; }