/*#############################################################
	Name: philw 
	Phil @ philwigglesworth.net
#############################################################*/

/* standard elements */
* {
	margin: 0;
	padding: 0;
}
a { color: #4A91C3; text-decoration: none;}
a:hover { color: #EE7733; text-decoration: underline; }
body {
	font:11px/1.4 Verdana, Arial, Helvetica, sans-serif; color:black;
	margin: 0; }
input {
	color: #555;
}
p,cite,code,ul {
	padding-bottom: 1.2em;
}

h1, h2, h3 {padding-top: 6px}
h1 {font-size: 14px; margin-bottom: 4px; clear:left;}
h2 {font-size: 12px;
	margin-bottom: 4px;}
h3 {font-size:11px}
h4 {font-size:10px}
h5{color:#505050}
code {
	background: url(img/bgcode.gif);
	border: 1px solid #F0F0F0;
	border-left: 1px solid #39F;
	color: #555;
	display: block;
	font: "Lucida Sans Unicode",serif;
	margin-bottom: 5px;
	padding: 2px 10px;
	white-space: pre;
	line-height:0.8em;
}

.cite {
	background: url(img/quote.gif) no-repeat;
	color: #666;
	display: block;
	font: normal 1.3em "Lucida Sans Unicode",serif;
	padding-left: 28px;
}

/* misc */
.clearer {
	clear: both;
}

#postnavigation{
	height: 20px;
	margin-bottom: 10px;
	text-align: center;
	color: Gray;
}

/* structure */
#containerX {padding-top:25px;} /* "container" breaks Kwicks/IE7! */
#sidenav {margin:0px;  padding:8px 0px 0px 0px; 
 position:absolute; right:10px; width: 241px; } 

#contentLeft { margin-right: 240px; padding: 0px 1px 0 52px; }
#contentTop {padding-top:6px}
#contentMain { padding-right:5px;}

/* title */
.title { float: left; margin-left:100px; padding-top: 18px; }
td.title {margin-left:25px; padding-top:0px; min-width:380px}
.title h1 {font: normal 16px Verdana,sans-serif;}


/* navigation */
/* Clashes with gallerific - not sure what it's for - blog?
.navigation {float: left; height: 92px; margin-left: 24px; padding: 0 16px;}
.navigation a { color: #FFF; float: left; font: bold 1.2em "Trebuchet MS",sans-serif; margin-top: 56px;
	padding: 8px 18px; text-align: center; }
.navigation a:hover { background-color: #4A91C3; color: #FFF; } */

#sidenav h1 {
	border-bottom: 1px dashed #DDD;
	color: #F44775;
	height: 20px;
	margin-bottom: 1.2em;
}
#sidenav img {
	border: none;
}
#sidenav ul 
{
	text-transform: capitalize;
	margin: 0;
	padding: 0;
}
#sidenav li { 
	border-bottom: 1px dashed #EEE;
	list-style: none;
	margin: 0;
}
#sidenav li a {
	padding: 3px 6px 3px 3px;
}
#sidenav li a:hover {
	color: #F44775;
	/* background: url(img/nav_li.gif) no-repeat; */
}

#blogroll {}
.open {font-size: 1em;}

/*----------------------------
				Recent posts
----------------------------*/

ul.recentPosts li{
	padding-bottom: 10px;
}

ul.recentPosts li a{
	font-weight: bold;
}

ul.recentPosts li span{
	display: block;
	text-indent: 10px;
	text-transform: none;
}

/*----------------------------
			Recent comments
----------------------------*/

ul.recentComments li{
	padding-bottom: 10px;
	text-transform: none;
}

ul.recentComments li a.postTitle{
	font-weight: bold;
}

/* content */
.content .postheader {
    font-size:16px!important;
	color: black;
	padding:2px 3px 3px 0px;
	border-bottom:1px solid #e3e4e4;
}


.content .descr {
	color:gray;
	margin-bottom: 6px;
}
.content ul li {
    list-style-type: inherit;
	list-style-image: inherit;
	list-style-position: inside;
}
.content ol li {list-style-position:inside; padding-bottom:5px}

.postcontent {padding: 0px 10px 5px 0px}
.postcontent p {padding-bottom: 1.2em;}


#ctl00_cphBody_divText {padding-bottom: 1.2em;}
#ctl00_cphBody_divText p {	padding-bottom: 1.2em;}
.postfooter { clear:left; padding:2px 3px 3px 8px; margin-right:5px;
	 background-color:#f5f5f5; color:#505050; }
.postfooter img{ border: none; }

/*----------------------------
					 Widgets
----------------------------*/

div#widgetzone{
	padding: 0;
	background: none;
	width:100%;
}

div#widgetzone .clear{
	clear: left;
}

div.widget{
	background: white;
	margin-bottom: 10px;
	width: 100%;
	z-index: 1;
	min-width: 1px;
	clear: both;
}

div.widget .content{
	line-height: 16px;
	color: #666666;
	width: 100%;
	float: none;
	margin: 0;
}

div.widget h4{
	border-bottom: 1px dashed #DDD;
	padding-bottom: 5px;
	margin: 0;
	margin-bottom: 5px;	
	z-index: 0;
	letter-spacing: 1px;
}

div.widget a.edit{
	font-weight: lighter; color:Gray; font-size:8px;
	float: right;
	z-index: 1;
}

div.widget a.delete{
	font-weight: bold;
	color: #999999;
	float: right;
	margin-left: 5px;
	z-index: 1;
}

div.widget a.delete:hover{
	color: black;
}

#widgetzone .widget .content ul {
	list-style-type: none !important;
	margin: 0 !important;
	padding: 0 !important;
	text-transform: capitalize;
}

#widgetzone .widget .content ul li {
	list-style: none !important;
	margin: 0;
	padding: 0;
	margin-bottom: 3px;
}

#widgetzone div.search{
	background: none;
	border: none;
	padding-left: 10px;
}


/* search form */
#searchbox input 
{
	border: 3px double #E5E5E5;
	padding: 2px 3px;
}
#searchbutton {
	border: 1px solid #AAA;
	margin-left: 5px;
	padding: 2px 3px;
}
#searchcomments
{
	margin-right: 3px;
}

/* footer */
#footer { line-height: 40px; text-align: center; }

/* related posts */
#relatedPosts a {
	display: block;
	margin-top: 5px;
	margin-left: 15px;
	margin-bottom: 5px;
}

/* comments */
#commentlist {margin-right:20px}
.comment 
{
    clear:both;
	margin: 0px 0px 5px 0px;
	padding: 10px 0px 0px 0px;
	border-bottom: 1px solid #DDDDDD; 
}

.comment .date
{
    float:right;
	font-size: 10px;
	color: #666666;
	text-align: right;
	margin: 5px 0px 3px 0px;
	padding: 3px 15px 0px 0px;
}

.comment .author {
	margin: 0;
	text-align: left;
	padding: 3px 0px 0px 0px;
	margin: 5px 0px 3px 0px;
	clear: left;
	float:left;
}

#commentFooter {height:25px; background:#f9f9f9}
.self { background:#f5f5f5}

.comment .gravatar {
	float: left;
	clear: both;
	margin: 5px 5px 5px 5px;
}

.comment .gravatar img {
	height: 80px;
	width: 80px;
}

.comment .content {
	min-height: 85px;
	margin: 5px 15px 0 5px;
}
.commentForm {
    width:95%;
	padding: 5px;
}

.commentForm label {
	float: left;
	display: block;
	width: 80px;
}

.commentForm input {
	width: 345px;
}

.commentForm textarea {
	width: 100%;
	height: 150px;
}

.success {
	color: green;
	font-weight: bold;
}

#comment {margin-top:20px; font-size:16px}

#commentMenu{
	padding: 0;
	margin:0;
	clear:both;
}

#commentMenu li{
	float:left;
	border:1px solid silver;
	border-bottom: none;
	margin:0;
	list-style:none;
	margin-right:5px;
	padding: 3px 8px;	
	cursor:pointer;
	position:relative;
	top: 2px;
	background:#d8d8d8;
}

#commentMenu li.selected{
	background:white;
	border-bottom:1px solid white;
}

#commentPreview{
	display:none;
	clear:both;
}

/* Archive */
#archive p{}
#archive img
{
	border: none;
	padding-right: 5px;
}
#archive h2 {margin-bottom: 4px;}
#archive span 
{
	display: block;
	margin-bottom: 3px;
}

#archive span a 
{
	margin-left: 4px;
}

/*----------------------------
				 Tag cloud
----------------------------*/

.tagcloud {
	margin-bottom: 10px;
	white-space: normal;
}

.tagcloud li {
	display: inline;
	border-bottom: none;
}

.tagcloud a {
	margin-right: 3px;
	display: inline;
	padding: 3px 1px 3px 1px;
}

.tagcloud li a:hover {
	color: #111;
	background: none;
}

.tagcloud a.biggest {
	font-size: 20px;
}

.tagcloud a.big {
	font-size: 17px;
}

.tagcloud a.medium {
	font-size: 13px;
}

.tagcloud a.small {
	font-size: 12px;
}

.tagcloud a.smallest {
	font-size: 8px;
}

/*----------------------------
					 Calendar
----------------------------*/

#calendarContainer {
	text-transform: capitalize;
	margin: 0 auto;
}

.calendar {
	border: none;
	margin: 0 auto;
	font-size: 10px;
	width: 80%;
}

.calendar .weekend {
	background-color: #F1F1F1;
}

.calendar .other {
	color: silver;
}

.calendar a.exist {
	display: block;
	font-weight: bold;
	background-color: #F1F1F1;
}

.calendar td {
	vertical-align: top;
	background: white;
}

.calendar h4 {font-size:12px!important}

/*----------------------------
					Star rater
----------------------------*/

.rating p{
	display: inline;
	position: relative;
	top: 14px;
	left: 55px;
}

.star-rating {
	position: relative;
	width: 125px;
	height: 25px;
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 0;
	background-position: left top;
}

.star-rating li {
	display: inline;
}

.star-rating a, .star-rating .current-rating {
	position: absolute;
	top: 0;
	left: 0;
	text-indent: -1000em;
	height: 25px;
	line-height: 25px;
	outline: none;
	overflow: hidden;
	border: none;
}

.star-rating a:hover, .star-rating a:active, .star-rating a:focus {
	background-position: left bottom;
}

.star-rating a.one-star {
	width: 20%;
	z-index: 6;
}

.star-rating a.two-stars {
	width: 40%;
	z-index: 5;
}

.star-rating a.three-stars {
	width: 60%;
	z-index: 4;
}
.star-rating a.four-stars {
	width: 80%;
	z-index: 3;
}
.star-rating a.five-stars {
	width: 100%;
	z-index: 2;
}
.star-rating .current-rating {
	z-index: 1;
	background-position: left center;
	margin: 0px;
}

/* smaller star */
.small-star {
	width: 50px;
	height: 10px;
}
.small-star, .small-star a:hover, .small-star a:active, .small-star a:focus, .small-star .current-rating {
	background-image: url(../../pics/star_small.gif);
	line-height: 10px;
	height: 10px;
}

/*----------------------------
				Contact page
----------------------------*/

#contact{
	padding: 10px;
}

#contact h1{
	margin-top: 0;
}

#contact label{
	display: block;
	padding-top: 5px;	
}

#contact input.field{
	width: 200px;
}

#contact textarea{
	display: block;	
	overflow: auto;
	width: 75%;
	height: 150px;
	margin: 0;
}

/* code styles for CodeFormatter Extension*/
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: Consolas, "Courier New", Courier, Monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}

.csharpcode pre { margin: 0em; }

.csharpcode .rem { color: #008000; }

.csharpcode .kwrd { color: #0000ff; }

.csharpcode .str { color: #006080; }

.csharpcode .op { color: #0000c0; }

.csharpcode .preproc { color: #cc6633; }

.csharpcode .asp { background-color: #ffff00; }

.csharpcode .html { color: #800000; }

.csharpcode .attr { color: #ff0000; }

.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}

.csharpcode .lnum { color: #606060; }

/*----------------------------
				Search page
----------------------------*/

.searchresult{
	margin-bottom: 20px;
}

.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;
}

/* PJW */
span.bbcode a {padding-right:10px}


/*----------------------------
			Syntax highlighter
----------------------------*/

.code
{
	font-size: 12px;
	color: black;
	font-family: Consolas, "Courier New", Courier, Monospace;
	background-color: #F1F1F1;
  line-height: normal;
}

.code p{
	padding: 5px;
}

.code .rem { color: #008000; }

.code .kwrd { color: #0000ff; }

.code .str { color: #006080; }

.code .op { color: #0000c0; }

.code .preproc { color: #0000ff; }

.code .asp { background-color: #ffff00; }

.code .html { color: #800000; }

.code .attr { color: #ff0000; }

.code .alt {	background-color: #f4f4f4; }

.code .lnum { color: #606060;}

/*----------------------------
					XFN tags
----------------------------*/

div.post .postcontent a[rel] {
	padding-right:11px;
	background-repeat: no-repeat;
	background-position: right center;
}
div.post .postcontent 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 .postcontent a[rel~="contact"] ,
div.post .postcontent a[rel~="acquaintance"],
div.post .postcontent a[rel~="friend"] {
	background-image:url('../../pics/xfn/contact.gif');
}
/*-------- [ Normal contacts youve met ]--*/
div.post .postcontent a[rel~="contact"][rel~="met"] ,
div.post .postcontent a[rel~="acquaintance"][rel~="met"] ,
div.post .postcontent a[rel~="friend"][rel~="met"] {
	background-image:url('../../pics/xfn/contactMet.gif');
}

/*-------- [ Colleague and co worker icon more important than contact ]--*/
div.post .postcontent a[rel~="colleague"] ,
div.post .postcontent a[rel~="co-worker"] {
	background-image:url('../../pics/xfn/colleague.gif');
}
/*-------- [ Colleague and co worker icon when met ]--*/
div.post .postcontent a[rel~="colleague"][rel~="met"] ,
div.post .postcontent a[rel~="co-worker"][rel~="met"] {
	background-image:url('../../pics/xfn/colleagueMet.gif');
}

/*-------- [ Sweethearts are more important than work!!! ]--*/
div.post .postcontent a[rel~="muse"] ,
div.post .postcontent a[rel~="crush"] ,  
div.post .postcontent a[rel~="date"] ,
a[rel~="sweetheart"] {
	background-image:url('../../pics/xfn/sweet.gif');
}
/*-------- [ ...and if youve met them thats even better ]--*/
div.post .postcontent a[rel~="muse"][rel~="met"] ,
div.post .postcontent a[rel~="crush"][rel~="met"] ,  
div.post .postcontent a[rel~="date"][rel~="met"] ,
div.post .postcontent a[rel~="sweetheart"][rel~="met"] {
	background-image:url('../../pics/xfn/sweetMet.gif');
}

/* PJW stuff */
.LogoImage {float:right}
#contentAd {margin:20px 0px 0px 50px}
.BeLink {color:Gray!important; float:left; padding:0px 5px}
.ContactLink{margin-left:10px}

/* Generic images with text thing. */
.figure {float:left; margin:0px 5px; }
.figure img, .figure .flash, .figure object, .figure table    { padding:5px; border:1px solid #ddd!important; background:white;
-moz-border-radius: 5px; -webkit-border-radius: 5px;}

.figure p {text-align:center; color:gray; margin-bottom:1px; padding: 0px 10px 0px 10px}
.figure table tr {line-height:0.7em}
.figure table tr td {width:150px}
.figure a img:hover {border:1px solid #F44775}

.sidenote {padding:10px 5px 0px 0px; margin: 0pc 10px 10px 10px; width:100px; float:left; border-right:1px solid gray}

.gallery .figure img {background: #fbcccd; border:none}
a img  {border:none!important}
.tagcloud ul {width:100%}

.box {background: url(img/bgcode.gif); margin:10px 0px; padding:20px 10px 15px 10px; border:1px solid #e3e4e4; float:right; width:200px}
.box li {margin-left: 15px;}

#postPaging {font-size:14px; font-weight:bold}
/* div.googleAd {padding-bottom:10px}
div.googleAd div.ad a {color:#4A91C3!important;}
*/
img.polaroid { border:none; padding: 15px 15px 37px; background: transparent url(img/polaroid.jpg) 3px 2px}

div.postcontent a[href^="http:"] { background: url(../../pics/remote.gif) right top no-repeat;
	padding-right: 10px; white-space: nowrap;
}

.btn-slide { cursor:pointer}