@media print {
body { background:white; color:black; margin:0 }
.noprint, #hd { display: none }
.download {display: none}
}

div.skip-link {
  position:absolute;
  right:1em;
  top:1em;
  visibility: hidden;
}

body {
/*
  font-family: 'Lucida Grande', 'Lucida Sans', 'Trebuchet MS', Arial, Helvetica, sans-serif;
  */
  font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
  font-family: 'Droid Sans', sans-serif;
  color: #222;
  background-color: #ddd;
  margin:0;
}

html {
  background-color: #ddd;
}

blockquote, ul, ol, dl {
  margin: .5em 1em;
}

ul, ol {
  margin-left: 1.4em; 
}

.page #main div.first {
  width: 100%;
}

.page #main div.first .c {
  width: 85%;
  margin: 0 auto;
}

.page #main .pfButton,
.page #main #sidebar {
  display: none;
}

pre {
  line-height: 1.4;
  border-left: 4px solid #DAF99D;
  padding: .5em;
  overflow: auto;
}

blockquote {
  background-color: #DAF99D;
  padding: 1em;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

a, a:visited {
  color: #A31F0C;
}

/*
#main .post-tags a {
  background-color: #3C78A7;
  background-color: #DAF99D;
  color: #222;
  padding: 2px;
  text-decoration: none;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

#main .post-tags a:hover {
  text-decoration: underline
}
*/

#doc4 {
  background-color: #ECECEC;
}

/* Padding and bg to contents */
.c {
  background-color: white;
  padding: .5em 1.5em;
  font-size: 108%;
  line-height: 1.5;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

li, p, h1, h2, h3 {
  margin-top: .5em;
  margin-bottom: .5em;
}

#hd .c {
  padding: 0;
}

#hd h1 {
 margin:0;
  background-color: #ececec;
  padding-left: 10px;
  color: #555;
  padding-bottom: 5px;
  font-size: 200%;
  font-family: 'Lobster', sans-serif;
}

#hd {
  padding: .5em 0 0 0;
  background-color: #ececec;
}

#bd #main {
  margin: 10px;
}

#ft .c {
  margin-top: 0;
  background-color: #555;
  -moz-border-radius-topleft: 0;
  -moz-border-radius-topright: 0;
  -webkit-border-top-left-radius: 0;
  -webkit-border-top-right-radius: 0;
  color: white;
  font-size: 93%;
}

#ft a {
  background-color: #3C78A7;
  color: white;
  padding: 2px;
  text-decoration: none;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

#sidebar {
  margin-left: 0;
  width: 33%
}

#sidebar .c {
  font-size: 100%;
}

#main .title-only .post-excerpt,
#main .title-only .post-closure,
#main .title-only .post-meta,
#sidebar .post-meta {
  display: none; 
}

a.button {
  -webkit-box-shadow: rgba(0, 0, 0, 0.546875) 0px 1px 2px;
  background: rgba(255, 255, 255, .4) url(images/button_grad.png) repeat-x 0px -2px;
  border-color: rgba(255, 255, 255, 0.7) rgba(255, 255, 255, 0) transparent;
  border-bottom-left-radius: 4px 4px;
  border-bottom-right-radius: 4px 4px;
  -moz-border-radius:4px 4px 4px 4px;
  -moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.55);
  text-decoration: none;
  border-style: solid;
  border-width: 1px 0px 0px;
  border-top-left-radius: 4px 4px;
  border-top-right-radius: 4px 4px;
  color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  display: block;
  height: 12px;
  line-height: 1em;
  padding: 7px 12px 8px;
  text-shadow: rgba(255, 255, 255, 0.7) 0px 1px;
}

a.button:hover {
  background-color: rgba(255, 255, 255, .6);
}

a.button:active {
  background-color:rgba(255, 255, 255, 0.25);
  background-position:0 -38px;
  border-top-color:rgba(255, 255, 255, 0.33);
  text-shadow:0 1px rgba(255, 255, 255, 0.5);
  outline: none; /* hide dotted outline in Firefox */
}

.hidden {
  display: none;
}

a.button.active {
  background-color:#DAF99D;
}

a img {
  vertical-align: middle;
  border: 0;
  outline: none;
}

#dashboard .elsewhere {
  width: 28em;
  float:right;
  text-align: right;
  margin-right: .5em;
  margin-top: .5em;
}

#dashboard .elsewhere ul {
  float: none;
  display: inline;
  margin: .5em 0;
}

#dashboard .elsewhere {
  /*
  color: rgba(255, 255, 255, 0.7);
  text-shadow: rgba(80, 80, 80,1) 1px 1px;*/
  color: silver;
}

#dashboard .elsewhere li {
  list-style-type: none;
  display: inline;
}

.post-meta,
.post-closure {
  margin: .5em 0;
  font-size: 85%;
  border-top: 1px dotted #666;
  border-bottom: 1px dotted #666;
  padding: 3px;
  opacity: .6;
}

.post-excerpt, 
.post-closure { 
  margin-bottom: 1em; 
}

body.single .post-meta,
body.single .post-closure {
  border-top: 1px dotted #666;
  border-bottom: 1px dotted #666;
  padding: 3px;
}

body.single .post-closure,
.post-closure {
  border-bottom: none;
}

.post-tags-links {
  background: url('images/icon-tag.jpg') no-repeat 0 2px;
}
.post-comments-links {
  background: url('images/icon-comments.jpg') no-repeat;
}

.post-tags {
  margin: 0 0 0 24px;
}

.post-tags li {
  list-style-type: none;
  display: inline;
  margin-right: .5em
}

.post-date, .post-categories-links, .post-comments-links {
  display: inline;
}

.post-comments-links {
  padding-left: 24px; 
}

.post-categories {
  margin: 0;
  display: inline;
}

.post-categories li {
  list-style-type: none;
  display: inline;
  margin-right: .5em
}

hr {
  border: none;
  height: 10px; 
  color: #ECECEC;
  background-color: #ECECEC;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  clear: both;
}

#dashboard {
  position: relative;
  background-color: #555;
  padding: .5em 0;
  /*
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  */
}

#dashboard.collapsed .dashboard-c {
  display: none; 
}

#dashboard ul {
  float: left;
  width: 10em; 
}

#dashboard #handle {
  background-color:#DAFF00;
  color: #444;
  cursor: pointer;
  font-size: 12px;
  padding: 1px 3px;
  clear: both;
  float: right;
}

#dashboard #handle.open {
  background-color: #D42F18;
  color: white;
  position: absolute;
  -moz-border-radius-topleft: 2px;
  -webkit-border-top-left-radius: 2px;
  right: 0;
  bottom: 0;
}

#dashboard ul {
  margin: 0;
  margin-left: 10px;
}

#dashboard ul li {
  list-style: none;
}

#dashboard ul li a {
  font-size: 93%;
}

#dashboard #searchform {
  text-align: right;
  padding: .5em;
  float: right;
  width: 30em;
}

#dashboard #searchform input.text {
  width: 20em;
  border: none;
  padding: .5em;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}
#dashboard #searchform input.button {
  padding: .3em;
}

#hd h1 {
}

#main h2,#main h3 {
  color: #444;
}

#main h2 {
  font-size: 167%;
  margin-top: .3em;
}

#main .title-only h2,
#main #sidebar h2 {
  font-size: 123.1%;
}

#hd h1 a,
#main h2 a, #main h3 a{
  color: #3C78A7;
  text-decoration: none;
}

#hd h1 a {
  text-decoration: none;
}

#nav-below {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  padding: 5px;
}

#nav-below li.previous {
  float: left;
}
#nav-below li.next {
  float: right;
}

#nav-below li {
  list-style-type: none;
  width: 10em;
}

#nav-below li a {
  text-align: center; 
  background-color: rgba(205, 205, 205, .8);
}

#nav-below li a:hover {
  background-color: rgba(205, 205, 205, 1);
}

.autoclear {
  overflow: auto;
}

address {
  display: inline; 
}

#respond {
  margin: .5em 0;
}

/* Same as searchform */
#commentform input[type=text] {
  width: 20em;
  border: none;
  padding: .5em;
  background-color: #ECECEC;
  border-bottom: 1px solid silver;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

#commentform textarea {
  margin-left: 1px;
  margin-right: 1px;
  display: block;
  width: 97%;
  border: none;
  padding: .5em;
  background-color: #ECECEC;
  border-bottom: 1px solid silver;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

ol.comment-list {
  font-size: 93%;
  color: #333;
  margin: .5em 0;
}

ol.comment-list li {
  position: relative;
  list-style-type: none; 
  margin: .5em 0;
  padding-left: 50px;
}

ol.comment-list li .comment-author {
  border-bottom: 1px dotted silver
}

ol.comment-list li.byuser .comment-author {
  color: #3C78A7;
  font-weight: bold;
}

ol.comment-list li .comment-meta a {
  color: #555;
  font-size: 85%
}

ol.comment-list li .comment-author img {
  border: 4px solid #ECECEC;
  position: absolute;
  left: 0; 
  top: 0;
}

ul.comment-fieldset {
  margin: 0;
}

ul.comment-fieldset li {
  clear: both;
  list-style-type: none;
}

ul.comment-fieldset label {
  float: left;
  text-align: left;
  width: 4em;
  padding-right: .5em;
}

ul.comment-fieldset span.required {
  margin-left: .5em;
}

/* Syntax highlighter adjustaments @todo make a theme */
#main .syntaxhighlighter .lines {
  padding: 8px 1px !important;
}

#main .syntaxhighlighter .line .number {
  width: 30px !important;
}

#main .syntaxhighlighter .line .number code {
  width: 30px !important;
}

#main .syntaxhighlighter .lines a {
  background-color: transparent;
}

/*
Images are wrapped in divs classed "flickr_badge_image" with ids "flickr_badge_imageX" where "X" is an integer specifying ordinal position. Below are some styles to get you started!
*/
#flickr_badge_uber_wrapper {
  margin-top: .5em;
  margin-left: auto;
  margin-right: auto;
  text-align:center; 
  width:260px;
  background-color: white;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
#flickr_badge_wrapper {padding:10px 0 10px 0;}
.flickr_badge_image {margin:0 10px 10px 10px;}
.flickr_badge_image img {border: 4px solid #ECECEC !important;}
#flickr_badge_source {text-align:left; margin:0 10px 0 10px;}
#flickr_badge_icon {float:left; margin-right:5px;}
#flickr_www {display:block; padding:0 10px 0 10px !important; font: 11px Arial, Helvetica, Sans serif !important; color:#3993ff !important;}
#flickr_badge_uber_wrapper a:hover,
#flickr_badge_uber_wrapper a:link,
#flickr_badge_uber_wrapper a:active,
#flickr_badge_uber_wrapper a:visited {text-decoration:none !important; background:inherit !important;color:#3993ff;}
#flickr_badge_source {padding:0 !important; font: 11px Arial, Helvetica, Sans serif !important; color:#666666 !important;}

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
	
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	color: gray;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption.alignleft {
  margin-right: .5em;
  margin-bottom: .5em;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */
	
/* End Images */

/* Custom styles, not theme related */
#cv td {
  vertical-align: top;
  border-color: #ddd;
  border-width: 2px;
  padding: 1em;
}

#cv td p {
  margin-top: 0;
}

#cv td p:last-child {
  margin: 0;
}

#cv td.c5 {
  font-weight: bold;
  width: 12em;
  text-align: right;
}

#cv td.c4 .c2 {
  font-weight: bold;
}

#cv ol {
  padding-left: 1em;
}

#cv ol li {
  list-style-type: square;
}
.twitfollow {
  background-image: url(images/twitter.png);
  background-position: 98% 80%;
  background-repeat: no-repeat;
  background-color: #E9F8FD;
  border-color: rgba(47, 194, 239, 0.15);
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  padding: 4px;
  margin-bottom: .5em;
  text-align: center;
}

