/* Basic styles for the whole document. */
*
	{
	margin: 0;
	padding: 0;
	}

html
	{
	margin: 0;
	padding: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #300;
	background-color: #FFC;
	background-image: url(../images/background_pattern.gif);
	background-repeat:repeat;
	}

/*
	Give the page some "breathing room."
*/
body
	{
	padding: 8px;
	}

/*
	I like links to be underlined and blue by default, and turn red and lose the underline for mouseover.
	This gives a bit of movement, which helps people to understand that something will happen here.
*/
a
	{
	text-decoration: underline;
	color:#00c;
	}

/*
	Visited links are only slightly darker. I rely on good design
	to tell people where they have gone.
*/
a:visited
	{
	text-decoration: underline;
	color:#009;
	}

/*
	I like just a scoche of orange.
*/
a:hover, a:active
	{
	text-decoration: none;
	color:#c30;
	}

/*
	This is a special class for links that take you out of the site.
	They are especially important for XHTML 1.1, as it will no
	longer allow new window links.
*/
a.link_out
	{
	background: url(../images/link_out.gif) center right no-repeat;
	padding-right: 10px;
	}

a.link_out:visited
	{
	background: url(../images/link_out_visited.gif) center right no-repeat;
	padding-right: 10px;
	}

a.link_out:hover, a.link_out:active
	{
	background: url(../images/link_out_mouseover.gif) center right no-repeat;
	padding-right: 10px;
	}

/* These are how I like my paragraphs turned out. The first with no indent, and subsequent indented. */
p
	{
	margin: 0;
	padding: 0;
	padding-top: 0.5em;
	text-indent: 1em;
	}

p.first
	{
	text-indent: 0em;
	}

/* This is just a basic enclosing <div> */
#site_container
	{
	width:100%;
	text-align:center;
	}

/*	
	This is the table enclosing the site.
	I know, I know, tables are evil, yadda-yadda. However, you can't get the control you need to present the interface I want
	without using them. I could just choose another design metaphor that will work better with <div> and <ul>, but I doan' wanna,
	so quitcherbitchin and live with it.
*/
#main_table
	{
	width:700px;
	margin: 0;
	padding: 0;
	border: none;
	margin-right: auto;
	margin-left: auto;
	}

/* This is the banner row containing the main image and home link. */
#banner_row
	{
	padding: 0;
	margin: 0;
	border: none;
	text-align: center;
	}

/*
	The ".selected" class is for the home page that will display a highlighted and inactive link.
*/
a.banner_link, #banner_div .selected
	{
	display:block;
	width:698px;
	height: 31px;
	padding: 0;
	margin: 0;
	margin-left: auto;
	margin-right: auto;
	border: none;
	background-repeat: no-repeat;
	padding-bottom: 4px;
	}

/* This is the banner div containing the main image and home link. */
a.banner_link
	{
	background-image: url(../images/banner.gif);
	}

/* This is the banner div link class (rolled over) containing the main image and home link. */
a.banner_link:hover, a.banner_link:active, #banner_div .selected
	{
	background-image: url(../images/banner_mouseover.gif);
	}

/* This is the top row containing the navigation tabs. */
#tab_row
	{
	height: 47px;
	padding: 0;
	margin: 0;
	border: none;
	}

/* These define the table containing the tabs. */
td.tab_container_td
	{
	width:auto;
	padding: 0;
	margin: 0;
	border: none;
	}
	
table.tab_container
	{
	width:100%;
	padding: 0;
	margin: 0;
	border: none;
	}

/* Each tab consists of a block-type image background that changes for a rollover, and strictly defined text. */
.one_tab a, .tab_button_selected, .tab_button_selected .inactive
	{
	width: 170px;
	height: 47px;
	padding: 0;
	margin: 0;
	margin-left: auto;
	margin-right: auto;
	background-repeat:no-repeat;
	background-position: top;
	color:#309;
	font-size:16px;
	font-weight:bold;
	text-decoration:none;
	text-align: center;
	line-height: 35px;
	}
	
.one_tab
	{
	background-image: url(../images/frame/top.gif);
	background-repeat:repeat-x;
	background-position: bottom;
	}
	
.one_tab a
	{
	display: block;
	background-image: url(../images/tabs/tab_normal.gif);
	color:#309;
	}
	
.one_tab a:hover, .one_tab a:active
	{
	background-image: url(../images/tabs/tab_mouseover.gif);
	color:#903;
	}

/* Selected tabs are presented as a "cutout." */
.tab_button_selected
	{
	margin-bottom: 4px;
	background-image: url(../images/tabs/tab_selected.gif);
	}

.tab_button_selected .inactive
	{
	display: block;
	color:#003;
	}

/* In some cases, you will want to have an active <a> in the selected tab, so this is how it is done. */
.tab_button_selected a
	{
	display: block;
	width: 170px;
	height: 47px;
	line-height: 35px;
	padding: 0;
	margin: 0;
	margin-left: auto;
	margin-right: auto;
	color:#309;
	font-size:16px;
	font-weight:bold;
	text-decoration:underline;
	text-align: center;
	}
	
.tab_button_selected a:hover, .tab_button_selected a:active
	{
	color:#903;
	text-decoration:none;
	}

/* These are the two top corners of the "inset area." */
.top_left_div_dim
	{
	width: 10px;
	height: 10px;
	padding: 0;
	margin: 0;
	border: none;
	}

/* These are the two top corners of the "inset area." */
.top_left_div
	{
	background-image: url(../images/frame/top_left_corner.gif);
	background-repeat: no-repeat;
	background-position: bottom left;
	}
	
.top_right_div_dim
	{
	width: 10px;
	height: 10px;
	padding: 0;
	margin: 0;
	border: none;
	}
	
.top_right_div
	{
	background-image: url(../images/frame/top_right_corner.gif);
	background-repeat: no-repeat;
	background-position: bottom right;
	}

/* These are the sides of the "cutout." */
.left_div_dim
	{
	width: 10px;
	padding: 0;
	margin: 0;
	border: none;
	}

/* These are the sides of the "cutout." */
.left_div
	{
	background-image: url(../images/frame/left.gif);
	background-repeat: repeat-y;
	background-position: top left;
	}
	
.right_div_dim
	{
	width: 10px;
	padding: 0;
	margin: 0;
	border: none;
	}
	
.right_div
	{
	background-image: url(../images/frame/right.gif);
	background-repeat: repeat-y;
	background-position: top right;
	}
	
.bottom_left_div_dim
	{
	padding: 0;
	margin: 0;
	border: none;
	width: 10px;
	height: 10px;
	}
	
.bottom_left_div
	{
	background-image: url(../images/frame/bottom_left_corner.gif);
	background-repeat: no-repeat;
	background-position: top left;
	}
	
.bottom_div_dim
	{
	padding: 0;
	margin: 0;
	border: none;
	height: 10px;
	}
	
.bottom_div
	{
	background-image: url(../images/frame/bottom.gif);
	background-repeat: repeat-x;
	background-position: top left;
	}
	
.bottom_right_div_dim
	{
	padding: 0;
	margin: 0;
	border: none;
	width: 10px;
	height: 10px;
	}
	
.bottom_right_div
	{
	background-image: url(../images/frame/bottom_right_corner.gif);
	background-repeat: no-repeat;
	background-position: top left;
	}

/* This is the table row that contains the content. */
#content_row
	{
	padding: 0;
	margin: 0;
	border: none;
	}
	
/* This is the container for the actual page content. */
#content_div
	{
	background-image: url(../images/Watermark.gif);
	background-repeat: no-repeat;
	background-position: center center;
	text-align: center;
	background-attachment: fixed;
	}

/*
	This is a single-row table that is inserted into the content region.
	I use tables, because they are MUCH more robust that mutilated div and list tags.
*/
#content_table
	{
	width: 100%;
	margin: 0;
	padding: 0;
	border: none;
	text-align:left;
	}

/* This is the area for the secondary navigation items. */
#nav_area
	{
	width: 180px;
	padding: 4px;
	border: none;
	border-right: inset 2px;
	}

/* We allow the lists of links to be in <ul> tags. The headers are medium bold tags. */
#nav_area ul, #nav_area ul li ul
	{
	margin: 0;
	border: none;
	padding: 0;
	margin-bottom: 0.5em;
	list-style-type:none;
	font-size: small;
	font-weight: bold;
	text-indent: 0em;
	}

#nav_area ul li ul
	{
	margin-left: 2em;
	margin-bottom: 0.75em;
	}

/* The components of the lists are small text. */
#nav_area ul li ul li
	{
	list-style-type:none;
	font-size: small;
	font-weight: normal;
	margin-bottom: 0.25em;
	}

/* This is the actual content area. */
#ContentArea
	{
	margin: 0;
	border: none;
	padding: 4px;
	}

/* This is the bottom of the "cutout" area. */
#bottom_row
	{
	padding: 0;
	margin: 0;
	border: none;
	}

/* This is the row of minor links along the bottom of the page. */
#minor_links
	{
	text-align: center;
	font-size: x-small;
	padding: 0;
	margin: 0;
	border: none;
	padding-top: 4px;
	}

/* This is for the Error 404 page. */
textarea#bemoan
	{
	font-family: "Courier New", Courier, mono;
	font-size: medium;
	font-weight: bold;
	color: #3f0;
	background-color: #000;
	}

/*
	These styles are used in my "Good Geek Books" section.
*/

.bib_container
	{
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	}

.bib_heading, .bib_indent
	{
	font-weight: bold;
	}

.bib_heading, .bib_indent
	{
	font-size: medium;
	}

.bib_indent
	{
	font-size: medium;
	text-align: right;
	vertical-align: top;
	}

.bib_followup, .URL_Desc
	{
	font-size: small;
	font-weight: normal;
	vertical-align: top;
	}

#hide_me
	{
	display: none;
	}