/* Some definitions used everywhere */
BODY { 
	background-image: url(images/mainbg.jpg);
	background-repeat: repeat;
	color: #222;
	margin: 0;
	padding: 0;
	text-align: center;
 	font-family: arial, helvetica, sans-serif;
	font-size: 75%;
}

IMG { 
	border: 0;
	padding: 0;
	margin: 0;
}

/* Header cells in tables throughout the site */
TH { 
	background: #666;
	color: #fff;
	font-weight: bold;
}

/* links */
body a, body a:link, body a:visited { 
	color: #233444;
	text-decoration: none;
	font-weight: bold;
}

/* hovering links */
body a:hover {
	color: #7e99aa;
	text-decoration: none;
}

ul {
	list-style-type: none;
	margin-left: 4px;
	padding-left: 1em;
	text-indent: -1em;
	text-align: left;
}

ol {
	text-align: left;
}

#container {
	width: 1000px;
	margin: auto;
	text-align: left;
 	background-color: #fff;
	border: 1px solid #000;
}

/* the box at the top of the page */
#banner {
	height: 230px;
 	background-color: #000;
 	background-image: url(images/banner.jpg);
	background-repeat: no-repeat;
	border-top: 4px solid #000;
}

#secondmenu {
	margin-left:700px;
	height: 225px;
	background: #233444;
	text-align: left;
	background-image: url( );
	background-position: top left;
	background-repeat: repeat-x;
	padding-top: 8px;
	}

#submenu {
	padding: 0px;
	margin: 0;
	font: bold 12px monospace;
	background: #233444;
	width: 14em;
	color: #fff; 
	}

#submenu li {
	list-style: none;
	margin: 0px;
	border-bottom: 1px #fff solid;
	text-align: left;
	}

#submenu li a {
	display: block;
	padding: 0.15em 0.15em 0.15em 0.15em;
	text-decoration: none;
	}

#submenu li a:link { color: #000; }
#submenu li a:visited { color: #000; }

#submenulist li a:hover { color: #000; background: #fff; }

/* The location of the div containing the RSS link in the banner area */
#rss {
	position: absolute;
	right: 50px;
	top: 55px; 
}

/* the following defines your menu below the banner div */
/* the box around the menu and aligning the text to center */
#menu {
	background-color: #000;
	background-image: url( );
	background-position: bottom left;
	background-repeat: repeat-x;
	border-bottom: 1px solid #000;
}

#menulist {
	padding: 4px 0;
 	margin: 0px;
 	text-align: center;
	text-transform: uppercase;
}

#menulist ul {
 	margin-left: 0;
 	padding-left: 0;
 	white-space: nowrap;
}


#menulist li {
	 display: inline;
 	 list-style-type: none;
}

#menulist a { 
	padding-top: 1px;
	padding-bottom: 1px;
 	padding-left: 7px;
 	padding-right: 7px;
 	margin-right: 3px;
	}

#menulist a:link, #menulist a:visited {
 	color: #fff;
 	text-decoration: none;
 	font-weight: bold;
}

#menulist a:hover{
 	color: #7e99aa;
	text-decoration: none;
	font-weight: bold;
}


/* the footer box at the bottom of the page */
#footer {
 	color: #888;
	background-color: #000;
	background-image: url( );
	background-repeat: repeat;
	border-top: 1px solid #dbdbdb;
	text-align: center;
	padding: 6px 0 24px 0;
	clear: both;
}

#footer a, a:link, a:visited {
	color: #444;
}

#footer a:hover {
	color: #7e99aa;
}	


/* End universal page setup */

/* this is a carryover from 1.1.  Generally it is used around tables and table cells. */
.tblborder { 
	padding: 6px;
	border-collapse: collapse;
}

/* Main page surrounds the text between the header and the footer.  
For IE, height is set to 650 to force the footer down to the bottom of the page where the content is short.  
And the second declaration is for everyone else so that it will scroll if longer but be a minimum of 650px
*/
#mainpage {
	background-image: url(images/contentbg.gif);
	background-position: top;
	background-repeat: repeat;
	background-color: #fff;
	height: 550px;
	padding: 15px;
	text-align: left;
}

html>body #mainpage { 
	height: auto;
	min-height: 550px;
}

/* This makes the actual story text appear in a 750px box, which prevents those at 800x600 from having to scroll sideways to view the story.*/

#narrow {
	background-color: #dfeaed;
	margin: auto;
	width: 750px;
	padding: 5px;
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
    -khtml-border-radius: 16px;
    border-radius: 16px;
	-moz-box-shadow: 0px 0px 26px #dfeaed;
  	-webkit-box-shadow: 0px 0px 26px #dfeaed;
  	box-shadow: 0px 0px 26px #dfeaed;
}

#story {
	text-align: justify;
	padding-bottom: 24px;
	padding-top: 12px;
}

/* Most pages use pagetitle to format the page's title */
#pagetitle { 
	text-align: center;
	font-size: 14px;
	color: #233444;
	font-weight: bold;
	margin-top: 1em;
	margin-bottom: 1em;
}

.newstitle {
	color: #fff;
	font-weight: bold;
	font-size: larger;
}	

/* 
Where there's a list of alphabet links #alphabet controls their look. 
Just to make things simpler #pagelinks controls the look of the links at the bottom of multi-page results
and will be set here too. Generally, they look alike.*/

/* the box around the links */
#alphabet, #pagelinks {
	text-align: center;
	word-spacing: .1em;
	margin: 1em;
}
/* each link */
#alphabet A, #pagelinks A {
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	background: #233444;
	border: 1px solid #233444;
	border-collapse: collapse;
	padding: 0 2px;
}
/* each link when hovered over */
#alphabet A:hover, #pagelinks A:hover {
	background: #fff;
	color: #20374d;
}
/* the currently selected letter and currently selected page */
#alphabet #current_letter, #pagelinks #currentpage {
	background: #fff;
	color: #222;
	font-weight: bold;
	border: 1px solid #233444;
	padding: 0 2px;
}
/* End alphabet and page link declarations */

/* labels throughout the site in forms and in other places */
.label {
	color: #000;
	font-weight: bold;
}
/* Admin options in various places.  */
.adminoptions { 
	color: #233444;
	font-weight: bold;
}

/* The listings of stories etc. */

/* .sectionheader styles the headings "Stories" and "Series" */
.sectionheader {
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	color: #000;
	padding-top: 8px;
}

/* The box around each individual story */
.listbox {
	margin: 1em 5%;
	border: 1px solid #dbdbdb;
	padding: 2px;
	background: #fff;
}

/* The title bar for each story box. */
.listbox .title {
	background-color: #233444;
	background-image: url( );
	background-position: top left;
	background-repeat: repeat-x;
	color: #777;
	font-size: 14px;
	font-weight: normal;
	padding: 4px;
	padding-left: 8px;
}

.listbox .title .label {
	color: #fff;
}	

.listbox .title a {
	color: #fff;
	font-weight: bold;
}

.listbox .title a:hover {
	color: #7e99aa;
}

/* The content of the box...summary, categories, etc. */
.listbox .content {
	padding: 6px;
	background-color: #fff;
	background-image: url( );
	background-position: top left;
	background-repeat: repeat-x;
}

/* The tail info published date etc. on the last line */
.listbox .tail {
	background-color: #dbdbdb;
	background-image: url( );
	background-position: top left;
	background-repeat: repeat-x;
	text-align: center;
	padding: 4px; 
}

.listbox .tail a:hover {
	color: #000;
}

.newsbox {
	padding-bottom: 14px;
}	

/*End story/series listings */

/* titleblock is used for the title information in series and challenges */
#titleblock {
	margin: 0 10%;
}

/* The pulldown jump menus on several pages. */
.jumpmenu {
	text-align: right;
	margin-right: 1em;
}

/* On the story page, there's a jumpmenu at the bottom. It looks better centered, so this will replace the declaration above for that 
drop down list ONLY */
#pagelinks .jumpmenu {
	text-align: center;
}

/* This is used on series and challenges and other places where a response is solicited */
.respond { 
	text-align: center;
	padding: 6px;
}

/* The sort menu on the categories page */
#sort { 
	text-align: center; 
}

#sortform {
	text-align: center; 
}

/* On pages that don't use listings, the content is surrounded by a div labeled output to */
#output { 
	padding: 10px;
}

/* User Profile stuff */

/* The top list of information */
#profile {
	margin: 1em 10%;
}
/* The sort menu in the profile */
#profile #sort {
	text-align: right;
	font-weight: bold;
	color: #000;
 }
 
/* The following declarations control the tabs */

/* The outer tab box */
#tabs {
	background: transparent;
	height: 30px;
	text-align: center;
	margin: 0;
	padding: 12px 0 0 0;
}
/* The individual tabs. */
#tabs span {
	background: #dbdbdb;
	border: 1px solid #d2d2d2;
	padding: 3px;
}
/* Links in the tabs */

#tabs #active {
	background: #233444;
	color: #fff;
}

#tabs #active a {
	color: #fff;
}

/* This controls the look of the blocks on the index page.   */

/* The box around the block */
.block { 
	margin-bottom: 1em;
}	

/* The block's title */
.block .title {
	background-color: #233444;
	background-image: url( );
	background-position: bottom left;
	background-repeat: repeat-x;
	color: #fff;
	font-weight: bold;
	font-size: larger;
	padding: 3px;
	padding-left: 8px;
	border-bottom: 1px solid #7e99aa;
}

/* The block's content */
.block .content {
	padding: 6px;
	color: #ccc;
	background-color: #233444;
	background-image: url(images/blockbg.gif);
	background-position: bottom left;
	background-repeat: repeat-x;
	border-left: 1px solid #233444;
	border-right: 1px solid #233444;
	border-bottom: 1px solid #233444;
}

.block .content a {
	color: #7e99aa;
}

.block .content a:hover {
	color: #fff;
}	

.block .label {
	color: #fff;
}	

/* Recent box story listing on index. */
.block .recentbox .title {
	background: #fff;
	color: #777;
	background-image: url(images/linebg.jpg);
	background-repeat: repeat;
	text-align: left;
	margin: 0;
	border-bottom: 1px solid #d9d9d9;
}

.block .recentbox .title a {
	color: #000;
}

.block .recentbox .title a:hover {
	color: #7e99aa;
}

.block .recentbox .content {
	background: #efefef;
	color: #555;
	border: 0;
}	

.block .recentbox .content a {
	color: #233444;
}	

.block .recentbox .content a:hover {
	color: #7e99aa;
}	

.recentbox {
	padding: 6px;
}

.block .recentbox .label {
	color: #000;
}	

/* Structural elements of index */
#leftindex { 
	width: 220px;
	float: left;
}

#rightindex {
	margin-left: 246px;
	text-align: justify;
}

/* Feed details */

.feed-item-title {
	text-transform: uppercase;
	margin: 2px 0 0 0;
}

.feed-item-desc {
	border-bottom: 1px dashed #7e99aa;
	padding: 0 0 16px 0;
}

/* The next link at the bottom of a multi-chapter story */
#next { float: right; }

/* The previous link at the bottom of a multi-chapter story */
#prev { float: left; }

#browse #category_content { width: 95% !important; margin: 1em auto; }

#loginblock { 
	margin: 3px 0 0 0;
	text-align: right;
}

#loginblock .textbox, #loginblock .checkbox { 
}

#loginblock .button { 
	padding: 0; 
	margin: 0; 
	font-weight: bold; 
	font-family: "Arial"; 
}
#loginlinks {
	display: inline;
}
#loginlinks A {
	color: #999;
}
