body
{
	font-family: Verdana, sans-serif;
	font-size: small;
	background-color: white;
	color: black;
	margin: 0;
	padding: 0;
}
img
{
	border: 0;
}
a
{
	color: #00008B;
}
#header, #content, #footerOuter
{
	border-bottom: solid 1px #777;
}
#content
{
	border-top: solid 1px #777;	
}
#headerInner, #contentInner, #mainMenu, #footer
{
	width: 70%;
	min-width: 620px;
	margin: 0 auto 0 auto;
	border-left: solid 1px #777;
	border-right: solid 1px #777;
}
#headerInner
{
	overflow: auto;
	background: url(/images/shinkyo_bridge_header.jpg) no-repeat top center;
	background-color: black;
	color: White;
	height: 110px;
	position: relative;
}
#headerInner img
{
	height: 50px;
	width: 50px;
}
#logoLeft
{
	margin: 10px;
	position: absolute;
	left: 0;
}
#logoRight
{
	margin: 10px;
	position: absolute;
	right: 0;
}
h1
{
	margin: 0;
	font-size: 300%;
	text-align: center;
	color: #8dd4ff;
}
h2
{
	font-size: 150%;
	text-align: center;
	font-style: italic;
	margin: 20px 0 0 0;
}
#contentInner
{
	padding-bottom: 10px;
	background-color: #eee;
}
div.section
{
	text-align: justify;
	margin-left: 10px;
	margin-right: 10px;
}
h3
{
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 2px 10px 2px 10px;
	font-size: 110%;
	background: #190562;
	color: white;
	clear: none;
}
h3 a
{
	color: white;
	text-decoration: none;
}
h3 a:hover
{
	text-decoration: underline;
}
div#mainMenu
{
	background-color: black;
	color: white;	
}
div#mainMenu ul
{
	/*padding: 3px 0 3px 0;*/
	padding: 0;
	margin: 0;
	text-align: center;
	list-style: none;
}
div#mainMenu ul li
{
	/*margin: 10px;*/
	float: left;
	white-space: nowrap;
	border-right: solid 2px #777;
}
div#mainMenu ul a
{
	display: block;
	line-height: 1.7em;
	padding: 0 10px 0 10px;
	color: White;
	text-decoration: none;
}
div#mainMenu ul a:hover
{
	background-color: #555;
}
#QuickLinks
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#QuickLinks li
{
	display: inline;
}
#spacer
{
	padding-top: 10px;
}
.postDate, .postCategory
{
	font-size: smaller;
}
ul.links
{
	list-style: none;
	margin: 0;
	padding: 0;
	padding-left: 4px;
}
ul.links li
{
	margin: 2px 0;
}
code
{
	font-family: Consolas, 'Courier New', monospace;
	font-size: 100%;
}
form
{
	margin: 0;
	padding: 0;
}
.hidden
{
	visibility: hidden;
	display: none;
}

/* Footer */

#footer
{
	padding: 1em 0;
	font-size: x-small;
	text-align: center;
}
#footer p
{
	margin: 0;
	padding: 0;
}
#footer p#ctl00_PageFooter_FooterText
{
	margin-bottom: 1em;
}

/* Sidebar */

#sideBar
{
	margin: 0 0 1em 1em;
	float: right;
	background: white;
	/*position: relative;
	top: -1.7em;*/
	border-left: solid 1px black;
	border-bottom: solid 1px #777;
}
#sideBar div.section
{
	/*position: relative;
	top: -1px;*/
	text-align: left;
	margin: 0;
	margin-bottom: 3px;
	padding: 3px;
}
#sideBar h3
{
	margin: 0;
	font-size: 100%;
	text-align: center;
}
#sideBar ul.links
{
	width: 14.5em;	
}
#sideBar ul.links li
{
	padding-left: 0.5em;
	text-indent: -0.5em;
}
#archiveLink
{
	text-align: center;
	margin: 0;
	padding: 0;
}
/*#sideBar h3.first
{
	line-height: 1.7em;
	padding: 0;
}*/

/* Calendar */

.calendar thead th
{
	padding: 2px 5px;
	border-bottom: solid 1px #777;	
	text-align: right;
}
.calendar td
{
	padding: 2px 5px;
	text-align: right;
	width: 1.3em;
}
.calendarHead
{
	border: solid 1px white;
	position: relative;
}
.calendarHead div
{
	text-align: center;	
}
.calendarHead .prevMonth
{
	margin: 0px 3px;
	position: absolute;
	left: 0;
}
.calendarHead .nextMonth
{
	margin: 0px 3px;
	position:absolute;
	top: 0;
	right: 0;
}
.calendarHead a
{
	text-decoration: none;
}
.wrongMonth
{
	color: #aaa;
}

/* Comments */

h4
{
	border-bottom: solid 1px black;
	font-size: 100%;
	font-style: normal;
}
.comments
{
	color:#444;
}
.comments ul
{
	list-style: none;
	margin:0;
	padding:0;
}
.author
{
	font-size:smaller;
	margin: 0;
	padding: 0;
}
.comments form dl dt
{
	clear: none;
	margin: 0;
	padding: 0;
	font-size: small;
	font-weight:bold;
	text-transform:none;
	background-color: transparent;
}
.comments form dd
{
	margin-left: 1em;
}
.error
{
	color: red;
}
#back
{
	margin: 0 10px 0 10px;
	padding: 0;
}
pre, samp, kbd
{
	font-size: 100%;
	font-family: Consolas, monospace;
}
.comments label
{
	font-weight: bold;
	display: block;
}
.commentField input, .commentField textarea
{
	margin-left: 1em;
}
.captcha img
{
	float: left;
	margin-right: 1em;
}
dt
{
	font-weight: bold;
}
dd
{
	margin-bottom: 1em;
}
div.comments li
{
	border-bottom: solid 1px #777;
	padding-bottom: 2px;
	margin-bottom: 1.5em;
}
div.comments li.authorComment
{
	border: solid 1px #777;
	background-color: #fafafa;
	padding: 2px;
}
div.comments li p
{
	margin: 0.5em 0;
	padding: 0;
}
div.comments li p.author
{
	margin: 0;
}

/* Paging */

ul.pageLinks
{
	list-style: none;
	padding: 0;
	margin: 0 0 1em 0;
}
ul.pageLinks li
{
	vertical-align: middle;	
	margin: 0;
	padding: 0;
}
ul.pageLinks li img
{
	vertical-align: middle;	
}
ul.pageLinks li.prevPageLink
{
	float: left;
}
ul.pageLinks li.nextPageLink
{
	text-align: right;
}

/* Software */

dl.software dd p, dl.software dd ol
{
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
}
dl.software img
{
	float: right;
	margin: 0.5em;
}

/* Code samples */
pre.code
{
    background-color: #fafafa;
    border: solid 1px black;
    padding: 5px;
    overflow: auto;
    max-height: 20em;
    min-height: 2em;
	font-size: 100%;
	font-family: Consolas, monospace;
}
/* IE6 specific */
* html .code
{
	width: 65%;
	height: 20em;
}
pre.code .keyword, pre.code .preprocessor
{
	color: #00F;
}
pre.code .operator
{
	color: #C63;
}
pre.code .comment
{
	color: #008000;
}
pre.code .xmlLiteral .comment
{
	color: #629755;
}
pre.code .string
{
	color: #A31515;
}
pre.code .entity
{
	color: #F00;
}
pre.code .tagDelimiter, pre.code .attributeDelimiter
{
	color: #00F;
}
pre.code .xmlLiteral .tagDelimiter, pre.code .xmlLiteral .attributeDelimiter, pre.code .xmlDelimiter, pre.code .xmlImportAttributeDelimiter
{
	color: #6464B9;
}
pre.code .tagName
{
	color: #A31515;
}
pre.code .xmlLiteral .tagName
{
	color: #844646;
}
pre.code .attributeName
{
	color: #F00;	
}
pre.code .xmlLiteral .attributeName, pre.code .xmlImportAttributeName
{
	color: #B96464;
}
pre.code .attributeValue
{
	color: #00F
}
pre.code .xmlLiteral .attributeValue, pre.code .xmlImportAttributeValue
{
	color: #6464B9;
}
pre.code .cdata
{
	color: #808080;
}
pre.code .xmlLiteral .cdata
{
	color: #C0C0C0;
}
pre.code .type
{
	color: #2B91AF;
}
pre.code .xmlLiteral .embeddedExpressionDelimiter
{
	color: #555;
	background-color: #FFFEBF;
}
pre.code .sqlString
{
	color: #F00;
}
pre.code .sqlSystemFunction
{
	color: #F0F;
}
pre.code .sqlOperator, pre.code .psOperator
{
	color: #808080;
}
pre.code .lineNumber
{
	color: #808080;
}

span.field
{
    margin-right: 1em;
}

* html .smallCode
{
	height: auto; /* that's for IE6 */
}
html .smallCode
{
    max-height: none;
	/* Needed even for IE7 because the scrollbar is placed inside the box, which
	   obscures one line code samples. */
	overflow-x: scroll;
	overflow-y: visible;
}
html .noMaxHeight
{
    max-height: none !important;
}
.floatingBlogImg
{
	float: left;
	margin: 1em;
}
abbr, acronym
{
	border-bottom: dotted 1px black;
}
.versionhistory dd
{
	margin-left: 0;
}

/* Images */
.blogImages
{
    background-color: #fafafa;
    border: solid 1px black;
    padding: 0 0 2px 0;
    margin: 0;
    list-style: none;
    margin-right: 1em;
    overflow: auto;
    overflow-x: scroll;
    overflow-y: visible;
    white-space: nowrap;
}
* html .blogImages
{
	width: 65%;
}
ul.blogImages li
{
	display: inline;
    line-height: 0;
}
ul.blogImages li a img
{
	border: solid 1px #fafafa;
}
/* IE6 screws up the hover effect when it is on "a" element; this way it
ignores it completely which is better */
ul.blogImages li a img:hover, ul.blogImages li#SelectedImage a img
{
	border: solid 1px #777;
	background-color: #e4e4e4;
}
ul.blogImages li a img
{
	padding: 10px 10px;
}

textarea
{
	font-family: Consolas, monospace;
	font-size: small;
}
div.dniButton
{
    overflow: hidden;
    height: 27px;
    width: 34px;
    float: left;
    margin: 3px;
}
div.dniButton:hover input
{
    margin-top: -27px;
}
div.dniButtonRow
{
    clear:both;
}
#NumberKeypad
{
    border: solid 1px #aaa;
    background-color: #e5e5e5;
    float:left;
}

@media handheld
{
	#headerInner, #contentInner, #mainMenu, #footer
	{
		width: auto;
		border: none;
	}
	#logoLeft, #logoRight
	{
		display: none;
		visibility: hidden;
	}
}