/* * * * MAIN * * * */

*{
	border: 0;
	margin: 0;
}

body{
	color: #000;
	/*background: #00599c;*/
	background: #256caf;
	/*font: 10pt Arial, Helvetica, sans-serif;*/
	font: 10pt "Trebuchet MS", Arial, Helvetica, sans-serif;
}

#container{
	margin: 0 45px;
	background: #fff url("images/sidebar.jpg") 0 187px repeat-y;
}

#header, #footer{
	color: #fff;
}

#header{
	background: #ff6500 url(images/headertexture.jpg) 220px 0 repeat-x;/*
	height: 125px;*/
	height:187px;
}

a, a:visited{
	text-decoration: none;
}

#footer a:hover, #content a:hover {
	text-decoration: underline;
}



/* * * * LINKS * * * */

#sidebar a{
	color: #fd6;
}

#sidebar a:visited{
	color: #fb3;
}

#sidebar a:hover, #sidebar a.selected:hover{
	color: #fff;
}

#content a{/*
	color: #00199c;*/
	color: #03b;
}
/*
#content a:hover{
	color: #00599c;
}*/

#content a:visited{/*
	color: #0199c;*/
	color: #63a;
}

#footer a{
	color: #ffff66;
}

#footer a:hover{
	color: #fff;
}



/* * * * SIDEBAR * * * */

#sidebar{
	float: left;
	width: 220px;
	position: relative;
	color: #fff;
	padding: 0;
	font-weight: bold;
}

#sidebar h3{
	margin-left: 26px;
	font: 14pt Georgia,Times,serif;
	color: #ff9;
	font-weight: normal;
	letter-spacing: -1px;
}

#sidebar a{
	display: block;
	padding: 3px 15px;
}

#sidebar ul, #sidebar li{
	list-style-type: none;
}

#sidebar a.selected{
	color: #000;
}
#sidebar li.selected a.menu-title, #sidebar li.selected a.menu-title:hover{
	color: #000;
	background: transparent url("images/sidebar_selected.jpg") top left repeat-y;
}
	/* override previous, for multi-level menus */
	#sidebar li.selected li a.menu-title { color: #fd6; background: transparent; }
	#sidebar li.selected li a.menu-title:visited { color: #fb3; background: transparent; }
	#sidebar li.selected li a.menu-title:hover { color: #fff; background: transparent url("images/sidebar_high.jpg") top left repeat-y; }
	#sidebar li.selected li.selected a.menu-title,
	#sidebar li.selected li.selected a.menu-title:hover
	{
		color: #000;
		background: transparent url("images/sidebar_selected.jpg") top left repeat-y;
	}
#sidebar li a:hover, #sidebar li ul li a:hover{
	background: transparent url("images/sidebar_high.jpg") top left repeat-y;
}

#sidebar li.collapsed:hover a, #sidebar li.collapsed:hover a:hover {
	background: transparent url("images/sidebar_high_withsubmenu.jpg") top left repeat-y;
}

/* This prevents nested menu items from appearing
highligted when the parent item is highlighted */
/*#sidebar li:hover ul li{
	background: transparent url(sidebar.jpg) top left repeat-y;
}*/

/* The following apply only for "deployed" menus;
   that is, menus that are not located in submenus */

#sidebar ul{
	/* up right down left */
	margin: 0 0 0 0;
	padding: 0;
}
#sidebar ul li a{
	margin-left: 20px;
	padding-left: 11px;
}
#sidebar ul li ul li a{
	padding-left: 24px;
	font-size: 8pt;
}
#sidebar ul li ul li ul li a{
	padding-left: 37px;
}



/* * * * SIDEBAR ICONS * * * */

#sidebar a.new:before{
	content: url("images/star.gif");
	display: block;
	float: left;
	position: relative;
	margin-top: 4px;
	margin-right: 4px;
}
#sidebar li ul li a.new:before{
	margin-top: 3px;
}

/* Compensating for additional indentation */
#sidebar li a.new{
	padding-left: 0;
}
#sidebar li ul li a.new{
	padding-left: 13px;
}
#sidebar li ul li ul li a.new{
	padding-left: 26px;
}

/* External now */
#sidebar a.external:after{
	content: url("images/external.gif");
	display: inline;
	margin-left: 3px;
}

#sidebar a.external:hover:after{ /* syntax error? */
	content: url("images/external_high.gif");
	display: inline;
	margin-left: 3px;
}

/* Now for the content  and submenus */
#content a.external:after, #sidebar li.collapsed:hover ul li a.external:after{
	content: url("images/external_content.gif");
	display: inline;
	margin-left: 3px;
}



/* * * * POPUP MENUS * * * */

#menu li
{
}

#menu li.collapsed ul
{
	display: none;
}

#menu li.collapsed:hover
{
	position: relative;
}

#menu li.collapsed:hover ul
{
	display: block;
	
	width: 200px;
	background: #fff url("images/submenu_bg.jpg") bottom right no-repeat;
	border-right: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
	box-shadow: 3px 3px 6px #000;
	-webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, .5);
	
	position: absolute;
	top: 0;
	left: 219px;
	padding: 0;
	
	z-index: 20;
}

#menu li.collapsed:hover ul li a
{
	margin: 0!important;
	padding-left: 8px;
	background: transparent;
	border-top: solid 1px transparent;
	border-bottom: solid 1px transparent;
	color: #03b;
	width: 175px;
}

#menu li.collapsed:hover ul li a:hover
{
	text-decoration: underline;
	background: #fff;
	border-top: solid 1px #cbdbeb;
	border-bottom: solid 1px #cbdbeb;
}

/* This adds the arrow */

#menu li.collapsed a.menu-title:after
{
	content: url("images/arrow.gif");
}

#menu li.collapsed a.menu-title:hover:after
{
	content: url("images/arrow_high.gif");
}



/* * * * BOOK BOX * * * */

#content .big-container
{
	background: transparent url("images/boxbg_blue_tileable.jpg") top left repeat-x;
}

#content .partial
{
	margin-right: 210px;
}

#content .medium-container
{
	background: transparent url("images/boxbg_leftcorner.gif") top left no-repeat;
}

#content .small-container
{
	background: transparent url("images/boxbg_rightcorner.gif") top right no-repeat;
	padding: 15px;
	padding-top: 25px;
	padding-bottom: 10px;
}

#content #main-books h3
{
	font-size: 13pt;
}

#content #main-books-more
{
	display: block;
	float: right;
	font-weight: bold;
	margin-top: 2px;
}

#content #main-books #main-books-list
{
	height: 210px;
	overflow: hidden;
	position: relative; /* IE6 hack */
}

#content #main-books #main-books-list a.cover
{
	display: block;
}

#content #main-books #main-books-list p
{
	margin: 0;
	margin-top: 5px;
}

#content #main-books #main-books-list .book
{
	width: 150px;
	height: 210px;
	float: left;
	margin-right: 10px;
	text-align: center;
	font-size: 9pt;
	position: relative; /* IE6 hack */
}

#content #main-books #main-books-list .book .title
{
	font-size: 10pt;
}



/* * * * CONTENT * * * */

#content{
	margin-left: 220px;
	background: #fff url("content_side.jpg") top right repeat-y;
	/* up right down left */
	padding: 5px 40px 25px 20px;
}

#content #updates
{
  min-height: 300px;
  height: auto !important; /* IE6 hack */
  height: 300px;
}

#content h1, h2, h3 {
	color: #ff6100;
}

#content h2{
	border-bottom: solid 1px #256caf;
	margin-bottom: 20px;/*
	font: 1.6em Helvetica,Arial,sans-serif;*/
	font: 1.6em Georgia,Times,serif;
	color: #00599c;
	font-weight: bold;
	line-height: 85%;
}

#content h3{
	margin-bottom: 15px;
	color: #00599c;
}

#content p, #content ul, #content ol, #content h4, #content h5, #content h6, #content table, #content dl{
	margin-bottom: 15px;
	margin-left: 15px;
}

#content dl dd{
	margin-left: 13px;
}

#content ul, #content li{
	list-style-type: square;
}

#content table{
	border-width: 0 0 1px 1px;
	border-style: solid;
	border-color: #256caf;
    border-spacing: 0;
    border-collapse: collapse;
}

#content table tr td, #content table tr th{
	border-color: #256caf;
	border-style: solid;
	border-width: 1px 1px 1px 0;
	margin: 0;
	padding: 4px;
}

#content #content-middle
{
	/* * * This sets the minimum height for the content part of the website * * */
	min-height: 425px;
	height: auto !important;
	height: 425px;
}



/* * * * FRONT PAGE STUFF * * * */

#content #main-intro h2 span
{
	font-weight: normal;
}

#content #main-intro
{
	height: 160px;
	padding: 15px;
	padding-top: 0;
}

#content #main-intro p#main-intro-text
{
	margin-right: 130px;
	font: 13pt Georgia,"Times New Roman",Times,serif;
	display: block;
	vertical-align: bottom;
	height: 120px;
}

#content #main-intro img#main-intro-image
{
	float: right;
}



/* * * * NAVIGATION * * * */

#navigation{
	text-align: right;
}

#navigation a img{
	width: 30px;
	height: 30px;
}



/* * * * FOOTER * * * */

#footer{
	background: #256caf url("images/footerright.jpg") top right no-repeat;
	clear: both
}
#footer-middle{
	background: #256caf url("images/footer.jpg") top left repeat-x;
	padding-top: 18px;
	text-align: center;
	font-size: .9em;
	height: 32px;
	margin: 0;
	margin-left: 12px;
	margin-right: 9px;
	color: #fd6;
	font-weight: bold;
}
#footer-left{
	width: 12px;
	height: 50px;
	float: left;
	position: relative;
	background: #256caf url("images/footerleft.jpg") top left no-repeat;
}


/* * * * INFOBOX * * * */

.infobox{
	float: right;
	width: 160px;
	padding: 20px;
	text-align: justify;
	font-size: .85em;
	margin-left: 10px;
}
.infobox ul, .infobox li{
	margin: 0!important;
	list-style-type: none!important;
}
.infobox ul{
	padding: 0;
}
.infobox li{
	border-top: solid 1px #ccc;
	padding: 5px 0;
}
.infobox li:first-child{
	border-top: none;
	padding: 0 0 5px 0;
}
.infobox h3, .infobox h4{
	margin: 0;
	margin-right: 10px;
	margin-top: 4px;
	margin-bottom: 6px!important;
	padding: 0;
	text-align: center;
	font-size: 1.2em!important;
	letter-spacing: 1px;
}
.blue{
	background: #fff url(images/boxbg_blue.jpg) top right no-repeat;
}
.blue h4, .blue h3{
	color: #00244c;
}
.yellow{
	background: #fff url(images/boxbg_yellow.jpg) top right no-repeat;
}
.yellow h3, .yellow h4{
	color: #600;
}



/* * * * SOFT BOX * * * */

.softbox
{
	padding: 10px;
}

.softbox.grey
{
	background: #f0f0f0;
}

#visit-counter
{
	padding: 10px;
	background: #ddd;
	margin-right: 230px;
	
	border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
}



/* * * * EXTRAS * * * */

#extra1{ /* This is the flower-y corner on the right side of the header */
	width: 187px;
	height: 190px;
	position: absolute;
	top: 0;
	right: 45px;
	/* IE 6 doesn't support PNG transparency: this gif is for him: */
	background: transparent url(images/headerrightborder.gif) top right no-repeat;
}
/* Gecko-based browsers and Opera do support PNG transparency
and the direct child selector (>); this PNG is for them: */
html>body #extra1{
	background: transparent url(images/headerrightborder.png) top right no-repeat;
}

#extra2{ /* This preloads the background for highlighted items in the sidebar */
	display: none;
}
#extra2:after{
	display: none;
	content: url("images/sidebar_high.png");
}

#extra3{ /* This preloads the "external" icon for highlighted items in the sidebar */
	display: none;
}
#extra3:after{
	display: none;
	content: url("images/external_high.png");
}



/* * * * TWITTER * * * */

#twitter_update_list{
	text-align: right;
}
#twitter_update_list span{
	display: block;
	text-align: justify;
}



/* * * * GUESTBOOK * * * */

.fieldhdr { font-weight: bold; }
div.entry {
	   margin-top: 1em;
	   margin-bottom: 0px;
}
div.ans, div.noans {
	   margin-top: 0px;
	   margin-bottom: 1em;
}
div.ans {
	   padding: 10px;
	   background: #fbeda4 url("images/yellowbg.jpg") top left repeat;
	   border: 1px solid #b36500;
	   margin-top: 10px;
	   white-space: pre-line;
}
div.entry p, div.ans p { margin: 0px!important; }



/* import popup menus */

@import url("popupmenus.css");
