/*
	Base styling for nedmartin.org

	Copyright © 2007 Ned Martin
	nedmartin.org/contact

*/

@import url(_button.css);

html, body {
	height: 100%;
}
body {
	background: #C0C0C0 url(/_img/_bg-light.jpg) fixed center;
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
/*	font: 10px Verdana, Arial, Helvetica, sans-serif;*/
	margin: 0px;
	padding: 0px;
	letter-spacing: normal;
	word-spacing: normal;
	cursor: default;
}
body, h1, h2, pre {
	font-size: small;
}

/*
	Content items

	div.content ...: main content
*/

div#content {
	background: transparent url(/_img/_trans50white.png) repeat;
	border: 1px dashed #1E78A0;
	color: #333333;
	/* top 45px header + 10, right, bottom, left */
	margin: 3em 1em;
	padding: 1em;
}
div#content a {
	color: #000000;
	text-decoration: underline;
}
div#content a:hover {
	color: #1E78A0;
	text-decoration: none;
}

acronym {
	border-bottom: 1px dashed #0000CC;
	cursor: help;
}

div.content hr {
	background: #C0C0C0 url(/_img/_bg-light.jpg) fixed center;
	border: 1px solid #1E78A0;
	height: 10px;
	margin: 10px;
	position: relative;
}

div.content p {
	margin: 10px 0 10px 0;
}

div.modified {
	float: left;
	padding-left: 1ex;
}

div.content dd {
	margin: 0px;
	padding: 0px;
}

div.content dd br {
	padding-right: 2em;
	margin-right: 2em;
}

div.content dl {
	background: #F8F8F8;
	border-bottom: 1px solid #1E78A0;
	border-left: 1px solid #1E78A0;
	border-right: 1px solid #1E78A0;
	color: inherit;
	margin: 0px 0px 2em;
	padding: 1ex;
}

div.content dt {
	background-color: inherit;
	color: #0033CC;
	font-style: italic;
	margin: 0px;
	padding: 0px;
}

div.content h1 {
	background: #FFFFFF url(/_img/_bg-light.jpg) fixed center;
	border: 1px solid #1E78A0;
	color: inherit;
	margin: 3em 0px 0px;
	padding: 1ex 1em;
}

div.content h2 {
	background: #FFFFFF url(/_img/_bg-light.jpg) fixed center;
	border: 1px solid #1E78A0;
	color: inherit;
	margin: 0px;
	padding: 0px 0px 0px 1em;
}

div.content h2 a {
	float: right;
	padding-left: 1ex;
	padding-right: 1ex;
}

.hide, Xdiv.menu.hide {
	display: none;
}

div.content .links a {
	display: block;
	padding: 0px 1ex;
	white-space: nowrap;
}


/*
	Footer items

*/
div.footer {
	background-color: #FFFFFF;
	border-top: 1px solid #1E78A0;
	color: inherit;
	margin: 1ex 0px 0px;
	padding: 0px 1ex;
	text-align: left;
}

div.footer a {
	background-color: inherit;
	color: #000000;
	text-decoration: none;
}

div.footer a:hover {
	background-color: inherit;
	color: #1E78A0;
}


/*
	Header styling items

	div.header h1: main top header
	div.header p: breadcrumb trail
	div.header p#head-right: right-hand-side show/hide menu links
*/

div#header {
	position: fixed;
	left: 0;
	right: 0;
	top: 1ex;
	margin: 0 1em;
	padding: 0 1ex;
	z-index: 3; /* top */
	background: transparent url(/_img/_trans50white.png) repeat;
	border: 1px dashed #1E78A0;
	color: #000000;
}
div#header:hover {
	background-color: #FFFFFF;
	border-style: solid;
}
div#header h1 {
	margin: 0;
}
div#header a {
	color: #000000;
	text-decoration: none;
}
div#header a:hover {
	color: #1E78A0;
	text-decoration: none;
}
#showMenu {
	float: right;
}
div.header p {
	margin: 0 5px;
	padding: 0;
}

div.header p.crumbs {
	padding-left: 10px;
}

div.header p#head-right {
	float: right;
	padding-right: 10px;
}

div#dimmer { /* cover everything */
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 2;
	background: transparent url(/_img/_dimmer.png) repeat;
	display: none;
}
/*
	Comments Styling
*/
div.underline {
	border-bottom: 1px dashed;
	margin: 1ex;
}

dl.comments {
	background: transparent;
	color: inherit;
	font-size: 87%;
	margin: 1ex;
}

dl.comments dd {
	display: inline;
	margin-left: 1ex;
}

dl.comments dt {
	font-style: italic;
}

form {
	margin: 1ex;
}

input {
	background: transparent;
	border-color: inherit;
	border-style: none;
	color: inherit;
}

input#author {
	border-bottom: 1px dashed;
	width: 18%;
}

input#comment {
	border-bottom: 1px dashed;
	width: 68%;
}

input#submit {
	border-bottom: 1px solid;
	width: 10%;
}

p.comments {
	margin: 0 1ex;
}

p.comments a {
	background: transparent;
	color: #000000;
	text-decoration: none;
}

p.comments a:hover {
	font-weight: bold;
}

#comments {
	display: none;
}

#hide-comments {
	display: none;
}

/*
	Menu styling items

	Xdiv.menup: menu header
	Xdiv.menuul li a: first level menu item
	Xdiv.menuul li ul li a: second level menu item
*/


/* Bold the current menu position */
#menu-right {
	font-weight: bold;
}

/*
	Displays Section Links

	div#section: styles and hides section div
	div#section a: styles section div links
*/
div#section {
	display: none; /* Hide the div until shown by JavaScript */

	font: 10px Verdana, Arial, Helvetica, sans-serif;
	background: #FFFFFF;
	border-right: 1px solid #1E78A0;
	border-bottom: 1px solid #1E78A0;
	color: #333333;

	/* top, right, bottom, left */
	margin: 0;
	padding: 0 0 1ex 0;
	text-indent: 1ex;
	width: 19.5ex;
	position: fixed;
	top: 3em;
	left: 0px;
}
div#section a {
	display: block;
	width: 100%;
	color: #000000;
	text-decoration: none;
}
div#section a:hover {
	color: #1E78A0;
	text-decoration: none;
}
div#section a#this {
	font-weight: bold;
}
div#section a.othersites {
	border-top: 1px solid #1E78A0;
	margin-top: 0.5ex;
	padding-top: 0.5ex;
}
#search_results h2 {
	margin-top: 1ex;
}
#search_results h2 a { /* search page results */
	float: none;
	text-decoration: none;
}
.status {
	padding: 1ex;
	color: #FFFFFF;
	font-weight: bold;
}
.red { /* used to highlight */
	color: #FF0000;
}