/* Some definitions used everywhere */
BODY { 
	background: #000 url(images/background.png);
	color: #000;
	margin: 0;
	padding: 0;
	text-align: center;
 	font-family: arial, helvetica, sans-serif;
	font-size: 12px;

}

IMG { 
	border: 0;
	padding: 0;
	margin: 0;
}

/* Header cells in tables throughout the site */
TH { 
	background: #666;
	color: #FFF;
	font-weight: bold;
}
/* links */
A { 
	color: #53777A;
	font-weight: bold;
	text-decoration: none;
}
/* hovering links */
A:hover {
	color: #ccc;
	font-weight: bold;
	text-decoration: none;
}

/* For Sitename */
h1 {
	color: #53777A;
	font-size: 48px;
}

/* Main Layout */

/* Overall Container */
#container { 
	width: 920px;
	background: #fff;
	margin: 0px auto;
	text-align: left;

}

/* Menus under header */

/* Menu with top border */
#topmenu {
	background:#666;
	padding: 5px;
	border-top: 3px solid #000;
}

/* Menu with bottom border */
#menu {
	background:#666;
	padding: 5px;
	border-bottom: 3px solid #000;
}

#menulist {
 	padding: 0px;
 	margin: 0px;
 	text-align: center;
	color: #9cb525;
}

#menulist ul {
 	margin-left: 0;
 	padding-left: 0;
 	white-space: nowrap;
}

#menulist li {
	 display: inline;
 	list-style-type: none;
}

/* Menu link colors */
#menulist a { 
	padding: 1px 7px;
 	margin-right: 3px;
	}

#menulist a:link, #menulist a:visited {
 	color: #abc2c4;
 	text-decoration: none;
 	font-weight: bold;
}

#menulist a:hover{
 	color: #fff;
	text-decoration: none;
	font-weight: bold;
}

/* left column */
#leftindex { 
	position:relative;
	width: 250px;
	float: left;
	text-align: left;
}

/* right column */
#middleindex {
	position:relative;
	margin-left: 275px;
	text-align: left;
}
/* 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 {
	height: 950px;
	text-align: left;
	padding: 10px;
}
html>body #mainpage { 
	height: auto;
	min-height: 950px;
}

/* Site  Footer */
#footer {
	background:#333;
 	color: #fff;
	padding: 5px 10px 15px 10px;
	text-align:center;
	clear: both;
}

/* this is a carryover from 1.1.  Generally it is used around tables and table cells. */
.tblborder { 
	padding: 6px;
	border-collapse: collapse;
}

/* Most pages use pagetitle to format the page's title */
#pagetitle { 
	text-align: center;
	font-size: 20px;
	color: #53777A;
	font-weight: bold;
	margin: 10px;
}

/* 
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: .3em;
	margin: 1em;
}
/* each link */
#alphabet A, #pagelinks A {
	color: #53777A;
	text-decoration: none;
	font-weight: bold;
	padding: 0 2px;
}
/* each link when hovered over */
#alphabet A:hover, #pagelinks A:hover {
	background: #666;
	color: #fff;
}
/* the currently selected letter and currently selected page */
#alphabet #current_letter, #pagelinks #currentpage {
	color: #999;
	font-weight: bold;
	padding: 0 2px;
}

/* labels throughout the site in forms and in other places */
.label, .classification {
	color: #000;
	font-weight: bold;
}
/* Admin options in various places.  */
.adminoptions { 
	color: #666;
	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;
	margin-top: 1em;
}

/* The box around each individual story */
.listbox {
	margin: 1em 5%;
}

/* The title bar for each story box. */
.listbox .title {
	background:#999;
	color: #abc2c4;
	font-weight: bold;
	padding: 4px;
	padding-left: 8px;
	border-top: 3px solid #000;
	border-bottom: 3px solid #000;
}

/* listbox links */
.listbox .title a{color:#fff;}

.listbox .title a:hover {color:#666;}

/* The content of the box...summary, categories, etc. */
.listbox .content {
	padding: 6px;
	background-color: #ffffff;
	background-position: top left;
	background-repeat: repeat-x;
}

/* The tail info published date etc. on the last line */
.listbox .tail {
	padding: 4px; 
	border-bottom: 1px solid #000;
}

/*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; margin-bottom: 1em; }
#sortform { text-align: center; margin-bottom: 1em; }


/* On pages that don't use listings, the content is surrounded by a div labeled output to */
#output { 
	padding: 10px;
	background-color: #fff;
	margin-bottom: 1em;
	background: #fff url(images/blockbg.gif) bottom center repeat-x;
}

/* 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: #666;
 }
/* The following declarations control the tabs */
/* The outer tab box */
#tabs {
	text-align: center;
	margin: 0;
	padding: 0;
}
/* The individual tabs. */
#tabs span {
	font-size: 12px;
	background: #666;
	border: 1px solid #000;
	padding: 3px;
}
/* Links in the tabs */

#tabs #active {
	background: #53777A;
	color: #fff;
}

/* tab link colors */
#tabs a {color:#fff;}

#tabs a:hover {color:#53777A;}


/* This controls the look of the blocks on the index page.   */


/* The box around the block */
.block { 
	margin: 0px;
	
}

/* alternate block colors */
.blockalt { 
	margin: 0px;
	background: #efefef;
}

/* The block's title */
.block .title {
	color: #53777A;
	font-weight: bold;
	font-size: 18px;
	padding: 3px;
	padding-left: 8px;
	border-top: 3px solid #000;
	border-bottom: 1px solid #000;
}

/* The block's content */
.block .content {
	padding: 5px 5px 25px 5px;
}

/* The alt block's title */
.blockalt .title {
	color: #53777A;
	font-weight: bold;
	font-size: 18px;
	padding: 3px;
	padding-left: 8px;
	border-top: 3px solid #000;
	border-bottom: 1px solid #000;
}

/* The alt block's content */
.blockalt .content {
	padding: 5px 5px 25px 5px;
}


/* 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; }

/* Misc Tweaks */

/* Neater News */
.newsbox {margin-bottom: 20px; border-bottom: 1px solid #000;}
.newstitle {font-weight: bold; font-size: 1.1em; border-bottom: 1px dashed #999; margin-bottom: 5px;}
.commentsig {font-weight: bold; margin-top: .5em; margin-bottom: 2em; border-bottom: 1px dashed #666;}

/* Space between stories in block */
.recentstory {padding-bottom: 12px;}
.featuredstory {padding-bottom: 12px;}

/* Dark Mode */
