/* reset
--------------------------------------------------*/
body,h1,h2,h3,h4,h5,h6,p,form,fieldset {margin:0;padding:0;}
#header {
  width:100%;
  height:115px;
	background: url('../header_background.jpg') repeat-x;
}
#header h1 {
    padding-top:50px;
}
#headerLogo {
	background: url('../header.jpg') no-repeat;
	height: 115px;
	width: 690px;
}
.low {display:none;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
	margin: 0; 
	padding: 0;
}
.floatbox { overflow:hidden; }
div#toolbar {
	width: auto;  
	height: 25px;
	padding: 6px 10px 0px 225px;
	clear: both;  
}
/* body
--------------------------------------------------*/
body {
  margin:0;
  padding:15px 0;
  font-family:Arial, Helvetica, sans-serif;
  font-size:75%;
  line-height:1.6em;
  text-align:center;
}
/* set body font size (styleswitcher) */
body.font-small {
	font-size: 11px;
}
body.font-medium {
	font-size: 12px;
}
body.font-large {
	font-size: 14px;
}
/* set body width (styleswitcher) */
body.width-thin div#container {
	width: 740px;
	background-color: white;
}
body.width-wide div#container {
	width: 940px;
	background-color: white;
}
body.width-fluid div#container {
	width: 90%;
	background-color: white;
}
div#content {
	width: 100%;
}
/* layout */
div#wrapper {
	margin: auto;
	overflow: hidden;
}
/* container
--------------------------------------------------*/
#container {
  margin:0 auto;
  padding:0 30px;
  border-top:30px solid;
  text-align:left;
}
/* headings
--------------------------------------------------*/
h1 {font-size:30px;}
#content h2 {
  margin:0 0 18px 0;
  font-size:1.6em;
  font-weight:normal;
}
#content h3 {
  margin:0 0 6px 0;
  font-size:1em;
}
#content h4 {
  margin:0;
  font-size:1em;
}
#content.archive h2 {margin:0 0 26px 0;}
#content.archive h3 {
  margin:0 0 10px 0;
  font-size:1.3em;
  font-weight:normal;
}
#content.archive h4 {
  margin:0 0 18px 0;
  font-size:1em;
}
#content.archive h5 {
  margin:0;
  font-size:1em;
}
/* links
--------------------------------------------------*/
a {text-decoration:none;}
a img {border:none;}
/* paragraphs, lists, etc
--------------------------------------------------*/
p {
  margin:0;
  padding:0 0 18px 0;
}
ul {
  margin:0 0 0 1.4em;
  padding:0 0 18px 0;
}
ul ul {padding:0;}
blockquote {
  margin:0;
  padding:0 18px;
  font-style:italic;
}
pre {
  overflow:auto;
  margin:0 0 18px 0;
  padding:4px;
}
pre, code, kbr {font-family:Courier, Monaco, monospace;}
code, kbr {padding:0 2px;}
abbr, acronym {
  font-size:0.9em;
  letter-spacing:1px;
}
/* images
--------------------------------------------------*/
img.left {
  float:left;
  margin:0 12px 0 0;
}
img.right {
  float:right;
  margin:0 0 0 12px;
}
img.center {
  display: block;
  margin:0 auto;
}
.borderme{
border:1px solid black;
}
/* authors
--------------------------------------------------*/
#authorsSidebar {
    margin-top:30px;
}
/* navigation
--------------------------------------------------*/
#navigation {
  height:2.7em;
  line-height:2.7em;
  border-bottom:1px solid;
}
#navigation ul {
  margin:0;
  padding:0;
}
#navigation li {
  float:left;
  margin:0;
  padding:0;
  list-style-type:none;
  border-right:1px solid;
}
#navigation li a {
  display:block;
  padding:0 18px;
  font-size:0.8em;
  text-transform:uppercase;
  letter-spacing:1px;
  white-space: nowrap;
}
* html #navigation a {width:1%;} /* http://www.positioniseverything.net/explorer/escape-floats.html */
#navigation form {
  float:right;
  height:100%;
  width:189px;
  padding:0 15px;
  border-left:1px solid;
  line-height:0;
}
#navigation form fieldset {
  /* centering the search form could've
  been done way more elegant but IEWin
  and Opera refused to follow the rules */
  margin-top:8px;
  border: 0 solid; /* Opera */
}
#navigation #Query {
  height:1.7em;
  /*width:148px;*/
  width:130px;
  margin:7px 5px 0 0;
  padding:0;
  border:1px solid;
  font-size:0.8em;
  vertical-align:middle;
}
#navigation #searchSubmit {
  height:2em;
  width:auto;
  padding:0px;
  border:1px solid;
  font-size:9px;
  letter-spacing:1px;
  text-align:center;
  vertical-align:middle;
margin-top:7px;
}
/* content
--------------------------------------------------*/
#content {
  padding-top:32px;
}
.singlecol #content {
  float:none;
  width:550px;
  margin:0 70px;
}
/* Mini-Entry
--------------------------------------------------*/
.minientry {
  margin:0px 0 10px 0;
  padding:10px 0;
  border-top:1px dotted;
  border-bottom:1px dotted;
}
.minientry p {padding:0;}
.minientry .commentlink {
  margin-left:3px;
  padding-right:7px;
  border-right:1px solid;
  font-size:0.9em;
}
.minientry .permalink {
  margin-left:3px;
  padding:0 8px 0 15px;
  font-size:0.9em;
  font-style:normal;
}
.entrydetail{
  border-color:#F3F4F4;
  background-color:#FAFAFA;
}
/* Comments
--------------------------------------------------*/
#comments {
	word-wrap:break-word;
	overflow: auto;
}
#comments h2 {margin-bottom:24px;}
#comments h2 a {
  margin-left:2px;
  padding-left:6px;
  border-left:1px solid;
  font-family:Arial,Helvetica,sans-serif;
  font-size:0.55em;
}
#comments ul {margin:0 0 0 20px;}
#comments li {margin-bottom:18px;}
#comments li p {padding:0 0 10px 0;}
#comments .header {
  position:relative;
  min-height:19px; /* 19 + 3 +3 = 25px = height of gravatar */
  margin:0 0 10px 0;
  padding:3px 6px;
}
* html #comments .header {height:19px;} /* IEWin */
#comments .header strong {font-family:Georgia,sans-serif;}
#comments .header .gravatar {
  position:absolute;
  top:1px;
  right:1px;
}
/* form
--------------------------------------------------*/
form {padding:6px 0;}
#dxcommentform, #contactform {margin-bottom:18px;}
form fieldset {border: 0 solid;} /* Opera */
form p {
  padding:6px 0;
  border-bottom:1px solid;
}
form label {
  display:block;
  float:left;
  width:60px;
}
#dxcommentform label {margin:0 15px 0 15px;}
#contactform label {margin:0 15px 0 0;}
form em {
  margin-left:5px;
  font-size:0.9em;
  font-style:normal;
}
form input, form textarea {
  padding:3px;
  width:200px;
  border:1px solid;
  font-family:Arial,Helvetica,sans-serif;
  font-size:0.9em;
}
form textarea {overflow:auto;}
#dxcommentform input {width:200px;}
#dxcommentform textarea {width:325px;}
#contactform textarea, #contactform #bx_subject {width:465px;}
* html #dxcommentform textarea {width:320px;} /* IE WIN; but why? */
* html #contactform textarea,
* html #contactform #bx_subject {width:445px;} /* IE WIN; but why? */
form .button {
  width:90px !important;
  border-bottom:1px solid;
  font-weight:bold;
}
#dxcommentform .button {margin-left:90px;}
#contactform .button {margin-left:75px;}
form .hiddenfield {display:none;}
form .info {padding-left:90px;}
/* Archives
--------------------------------------------------*/
.archive .postspermonth {
  margin:0;
  list-style:none;
}
/* content: misc.
--------------------------------------------------*/
#entrynavigation a {margin:0 15px 0 0;}
/* subcontent
--------------------------------------------------*/
#subcontent {
  float: right;
  width: 220px;
  font-size:0.9em;
  line-height:1.5em;
	margin-top: 1px;
	padding: 10px 0 0;
}
* html #subcontent {padding-top:27px;} /* dirty fix for IEWIN; temporary! */
#subcontent ul, #subcontent p {margin:0 10px;}
/* subcontent headings
--------------------------------------------------*/
#subcontent h2 {
  margin:18px 0 10px 0;
  font-size:1em;
  line-height:20px;
	height: 30px;
}
#subcontent h2 em {
  display:block;
  padding:5px 10px;
  font-style:normal;
}
/* subcontent list
--------------------------------------------------*/
#subcontent ul li {
  margin: 2px 2px 2px 18px;
  padding-bottom:2px;
  border-bottom:1px solid;
}
#subcontent li a {
  display:block;
  padding:1px 0;
  height:1%; /* IE WIN */
}
#subcontent .sidenotes li a {display:inline;} /* this can be used for links that are part of a "sidenote" */
#subcontent ul.categories li ul {margin:0;}
#subcontent ul.categories li li {
  margin:0;
  padding:0 0 3px 0;
  border-bottom:none;
}
#subcontent ul.categories li ul ul {margin:0 0 0 16px;}
/* archive page
--------------------------------------------------*/
#archivepage {
  width:205px;
  padding:15px 0 0 15px;
  font-size:0.9em;
  line-height:1.5em;
}
* html #archivepage {padding-top:32px;} /* dirty fix for IEWIN; temporary! */
#archivepage ul, #archivepage p {margin:0 10px;}
#archivepage h2 {
  margin:18px 0 10px 0;
  font-family:Georgia,serif;
  font-size:1em;
  line-height:1em;
}
#archivepage h2 em {
  display:block;
  padding:5px 10px;
  font-style:normal;
}
#archivepage ul li {
  margin:2px 0 2px 18px;
  padding-bottom:2px;
  border-bottom:1px solid;
}
#archivepage li a {
  display:block;
  padding:1px 0;
  height:1%; /* IE WIN */
}
#archivepage .sidenotes li a {display:inline;} /* this can be used for links that are part of a "sidenote" */
#archivepage ul.categories li ul {margin:0;}
#archivepage ul.categories li li {
  margin:0;
  padding:0 0 3px 0;
  border-bottom:none;
}
#archivepage ul.categories li ul ul {margin:0 0 0 16px;}
/* archivepage
--------------------------------------------------*/
#archivepage {background:url('http://www.stevecastledine.com/sc.nsf/dx/archivepage_bg.gif/$file/archivepage_bg.gif') top left no-repeat;}
/* archivepage headings
--------------------------------------------------*/
#archivepage h2 {
  color:white;
  background: #7c000b url('http://www.stevecastledine.com/sc.nsf/dx/corner_top_left.gif/$file/corner_top_left.gif') no-repeat left;
}
#archivepage h2 em {background:url('../corner_bottom_right.gif') bottom right no-repeat;}
/* archivepage list
--------------------------------------------------*/
#archivepage ul li {border-bottom-color:#F0F0F0;}
#archivepage li a:hover {background-color:#FFFBF0;}
#archivepage ul.categories li,
#archivepage ul.months li {list-style-image:url('../categories_red.gif');}
#archivepage ul.links li {list-style-image:url('../links_red.gif');}
#archivepage ul.feeds li {list-style-image:url('../feeds_red.gif');}
#archivepage ul.posts li {list-style-image:url('http://www.stevecastledine.com/sc.nsf/dx/post_yellow.gif/$file/post_yellow.gif');}
#archivepage ul.categories li li {list-style-image:url('../sub_categories_red.gif');}
/* body
--------------------------------------------------*/
body {
  color:#414141;
  background: #2e2b26 url(../background.png) repeat-x;
}
/* headings
--------------------------------------------------*/
h1, h1 a,
h2, h2 a,
h3 a,
h4 a
  {color: #123f7f;}
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover
  {color:#123f7f;}
/* links
--------------------------------------------------*/
a {color:#123f7f;} /*a:link*/
a:hover {color:#123f7f;
}
a.commentlink {
  padding-left:16px;
  background:url('../comments.gif') center left no-repeat;
}
a.more {
  padding-right:10px;
  background:url('../more.gif') center right no-repeat;
}
/* paragraphs, lists, etc
--------------------------------------------------*/
pre,
code
  {background-color:#F8FAF2;}
kbr {color:#009193;}
/* container
--------------------------------------------------*/
#container {
  border-color:white;
}
#container.singlecol {background-image:none;}
/* header
--------------------------------------------------*/
/* navigation
--------------------------------------------------*/
#navigation {
	background: #1275a9 url(../menu_main_background.gif) repeat-x;
}
#navigation li {border-color:white;}
#navigation a {color:white;}
#navigation .selected,
#navigation a:hover
  {background: #0f5f8a url(../menu_main_selected.gif) repeat-x;}
#navigation form {
  border-color:white;
  background: #191919 url('../menu_main_search.gif') repeat-x right;
}
#navigation #s {border-color:#FFF9EA;}
#navigation #searchbutton {
  color:white;
  background-color:#7c000b;
}
/*Search */
/* Mini-Search Results
--------------------------------------------------*/
/*div.minisearch {
clear: left;
}
div.minisearch img{
padding-top: 2px;
float: left;
}*/
div.minisearch h3{
width: 90%;
	font-weight: normal;
	font-style: normal;
/*float: left;*/
}
div.search .entry a{
	font-weight: bold;
	font-size: 75%;
}
div.searchcount {
	font-size: 16px;
	margin-top: 3px;
	margin-bottom: 10px;
}
div.searchpageresults {
	font-size: 12px;
	margin-bottom: 20px;
}
/*
We don't need it for the time being.
div#search {
	height: 18px;
	margin: 3px 0px 0px 10px;
	float: right;
}
div.search {
	width: 120px;
	height: 18px;
	padding: 0px;
	background: url(../search_bg.png) 0 0 no-repeat;
}
div.search input {
	width: 93px;  
	height: 14px;  
	padding: 2px 2px 2px 7px;
	border: none;
	background: none;
	float: left;
	color: #646464;
	font-size: 75%;
}
div.search input.button {
	width: 18px;
	height: 18px;
	padding: 0px;
	border: none;
	background: url(../search_button.png) 0 0 no-repeat;
	cursor: pointer;
	text-indent: 100px;
	line-height: 0px;
}
div.search:hover, div#search div.sfhover  {
	background: url(../search_bg.png) 0 -18px no-repeat;
}
div.search:hover input, div.search input.sfhover {
	color: #000000;
}
div.search input:focus, div.search input.sffocus {
	color: #000000;
}
*/
/* Styleswitcher */
.stylesfloatbox { overflow:hidden;
	clear: both;
	float: right;
	top: -30px;
	display: block;
	position: relative;
}
div#styleswitcher {
	width: 90px;
	height: 20px;
	margin: 6px 0px 0px 0px;
	float: left;
}
div#styleswitcher a {
	width: 15px;
	height: 20px;
	float: right;
	text-decoration: none;
	display: block;
}
a#switchfontsmall {
	background: url(../styleswitcher_fontsmall.png) 0 0 no-repeat;
}
a:hover#switchfontsmall {
	background: url(../styleswitcher_fontsmall_hover.png) 0 0 no-repeat;
}
a#switchfontmedium {
	background: url(../styleswitcher_fontmedium.png) 0 0 no-repeat;
}
a:hover#switchfontmedium {
	background: url(../styleswitcher_fontmedium_hover.png) 0 0 no-repeat;
}
a#switchfontlarge {
	background: url(../styleswitcher_fontlarge.png) 0 0 no-repeat;
}
a:hover#switchfontlarge {
	background: url(../styleswitcher_fontlarge_hover.png) 0 0 no-repeat;
}
a#switchwidththin {
	background: url(../styleswitcher_widththin.png) 0 0 no-repeat;
}
a:hover#switchwidththin {
	background: url(../styleswitcher_widththin_hover.png) 0 0 no-repeat;
}
a#switchwidthwide {
	background: url(../styleswitcher_widthwide.png) 0 0 no-repeat;
}
a:hover#switchwidthwide {
	background: url(../styleswitcher_widthwide_hover.png) 0 0 no-repeat;
}
a#switchwidthfluid {
	background: url(../styleswitcher_widthfluid.png) 0 0 no-repeat;
}
a:hover#switchwidthfluid {
	background: url(../styleswitcher_widthfluid_hover.png) 0 0 no-repeat;
}
/* Entry
--------------------------------------------------*/
.entry {margin:0 0 40px 0;
	text-align: justify;
}
.entry .info {
  border-color:#F3F4F4;
  background-color:#FAFAFA;
}
.entry .info a {border-color:#949494;}
.entry a.more {
  padding-left:12px; /* ########################################### */
  background:url('../more.gif') center left no-repeat;
}
.entry .info em {
  padding:0 8px 0 15px; /* ########################################### */
  background:url('../post.gif') center left no-repeat;
}
.entry #filedunder {border-color:#F3F4F4;}
/* Mini-Entry
--------------------------------------------------*/
.minientry  {border-color:#D9D9D9;}
.minientry .commentlink {border-color:#949494;}
.minientry .permalink {
  padding:0 8px 0 15px;
  background:url('../post.gif') center left no-repeat;
}
/* Comments
--------------------------------------------------*/
#comments h2 {margin-bottom:24px;}
#comments h2 a {color:#123f7f;}
#comments li.comment {list-style-image:url('../comments.gif');}
#comments li.trackback,#comments li.pingback {list-style-image:url('http://www.stevecastledine.com/sc.nsf/dx/pingtrackback.gif/$file/pingtrackback.gif');}
#dxcommentform {background-color: #dedef5;}
#comments .header {background-color:#dedef5;}
#comments .header.alt {background-color:#E9F7F6;}
/* form
--------------------------------------------------*/
form p {border-color:white;}
form label { color:#123f7f;}
form em {color:#C8C8B4;}
form input {color:#414141;}
form input, form textarea {
  border-color:#DCDCDC #F0F0F0 #F0F0F0 #DCDCDC;
}
form .button {
  border-color:white #DCDCDC #DCDCDC white;
  background-color:#F0F0F0;
}
/* Archives
--------------------------------------------------*/
.archive .postspermonth {color:#A0A0A0;}
/* subcontent
--------------------------------------------------*/
#subcontent {background: url('../menu_background.gif') repeat-y left;}
td.subcontent {background: url('../menu_background.gif') repeat-y left;}
/* subcontent headings
--------------------------------------------------*/
#subcontent h2 {
  color:white;
  background: url('../menu_title.gif') top left no-repeat;
}
/* subcontent list
--------------------------------------------------*/
#subcontent ul li {
	border-bottom-color:#cccccc;
	}
#subcontent ul li:hover {
	color:#123f7f;
	background-color: #d5d5d5;
	}
	
#subcontent li a {
	font-weight: bold;
	color:#333;
}
#subcontent li a:hover {
	color:#123f7f;
}
#subcontent ul.categories li,
#subcontent ul.months li {list-style-image:url('../categories_red.gif');}
#subcontent ul.links li {list-style-image:url('../links_red.gif');}
#subcontent ul.feeds li {list-style-image:url('../feeds_red.gif');}
#subcontent ul.posts li {list-style-image:url('../post_red.gif');}
#subcontent ul.categories li li {list-style-image:url('../sub_categories_red.gif');}
#cellSpacer {width:20px; height:20px;}
/* footer
--------------------------------------------------*/
#footer {
  clear:both;
  padding: 1px 0px 15px;
  font-size:0.9em;
  color: #dadada;
}
#footer p {
	padding: 12px 5px 18px;
	background: url(../header_background.jpg) repeat-x;
	color: #dadada;
}
#footer strong {font-weight: bold;
	color: #dadada;
}
.singlecol #footer p {
  padding:12px 70px 18px 70px;
}
#footer a {color: #dadada;}
#footer a:hover {color:#414141;}
/* Various styles */
/*
 * highlighted div and span boxes
 */
span.note,
span.info,
span.alert,
span.download,
span.tip {
	display: block;
}
div.note, span.note {
	margin: 10px 0px 10px 0px;
	padding: 5px 10px 5px 10px;
	background: #f4f5f6;
	border: 1px dotted #aab4be;
	text-align:justify;
}
div.info, span.info,
div.alert, span.alert,
div.download, span.download,
div.tip, span.tip {
	margin: 10px 0px 10px 0px;
	padding: 7px 10px 7px 35px;
}
div.info, span.info {
	background: #f4f5f6 url(../div_info.png) 3px 3px no-repeat;
	border: 1px dotted #aab4be;
}
div.alert, span.alert {
	background: #fff5eb url(../div_alert.png) 3px 3px no-repeat;
	border: 1px dotted #ffb4a0;
}
div.download, span.download {
	background: #f5faeb url(../div_download.png) 3px 3px no-repeat;
	border: 1px dotted #78be5a;
}
div.tip, span.tip {
	background: #fffdeb url(../div_tip.png) 3px 3px no-repeat;
	border: 1px dotted #ffc864;
}
/*
 * highlighted quotations
 */
p.info{
text-align:left;
}
blockquote {
	margin: 10px 0px 10px 0px;
	padding: 10px 35px 10px 35px;
	background: url(../blockquote_start.png) 0 0 no-repeat;
	text-align:justify;
}
blockquote p {
	margin: 0px -35px -10px 0px;
	padding: 0px 35px 10px 0px;
	background: url(../blockquote_end.png) 100% 100% no-repeat;
}
blockquote.big {
	margin: 10px 0px 10px 0px;
	padding: 50px 50px 50px 50px;
	background: url(../blockquote_big_start.png) 0 0 no-repeat;
	font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
	font-size: 300%;
	text-transform: uppercase;
	font-weight: bold;
	line-height: 100%;
}
blockquote.big p {
	margin: 0px -50px -50px 0px;
	padding: 0px 30px 50px 0px;
	background: url(../blockquote_big_end.png) 100% 100% no-repeat;
}
/*
 * preformatted text elements
 */
pre {
	margin: 2px 0px 2px 0px;
	padding: 10px 10px 10px 10px;
	border: 1px dotted #aab4be;
	border-left: 20px solid #b4b4b4;
	background: #f4f5f6;
	font-size: 90%;
	/* Browser specific (not valid) styles to make preformatted text wrap */
	/* white-space: pre-wrap;       /* css-3 */
	/* white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
}
.htmlblock{
margin:10px;
padding:10px;
padding-top:20px;
border:1px solid silver;
background: url('../html.gif') 0 3px no-repeat;
}
.lsblock{
margin:10px;
padding:10px;
padding-top:20px;
border:1px solid silver;
background: url('../lotusscript.gif') 0 3px no-repeat;
}
.formblock{
margin:10px;
padding:10px;
padding-top:20px;
border:1px solid silver;
background: url('../formula.gif') 0 3px no-repeat;
}
