/* Based on a template by Ben Meadowcroft, see http://www.benmeadowcroft.com/webdev/ for more info */
BODY {
 font-size: 16px;
 background-color: #E7DEBD;
 color: #000;
 margin: 0 20px;
 padding: 0;
 font-family: "Arial", sans-serif;
}

h1, h2, h3, h4, h5, h6
{
	margin : 0px;
	padding : 0px;
}

h1, h2
{
 font-family: "Arial", sans-serif;
}

A { color: #7B6B40; font-weight: bold; text-decoration: none; }
A:hover { text-decoration: underline overline; }

.mtitle
{
	position:absolute;
	top:0px;
	left:0.5em;
	height:1em;
	margin-left : auto;
	margin-right: auto;
	padding: 5px;
	z-index : 0;
}

.mmenu
{ 	
	position : absolute;
	top : 1em;
	padding : 5px;
	margin-top : 60px;
	margin-bottom : 10px;
	width:97%;
	left : 1%;
	right : 2%;
}

.mother
{
	padding : 4px;
	position : absolute;
	top : 7em;
	right : 2em;
	width : 15em;
}

.mcontentText
{
	margin-top : 2em;
	padding-top : 1em;
	padding-bottom : 0;
	padding-left : 1em;
	padding-right : 1em;
	margin-left : .5em;
	margin-right : 17em;

}

.mcontentText2
{
	margin-top : 3em;
	padding : 1em;
	margin-left : .5em;
	margin-right : .5em;
	background-color : #FFF;
}


/* these next few are hard coded into the script */
/* the title of the page */
#pagetitle { font-size: 1.2em; text-align: center; padding: 1ex;}

/* pagination links at the bottom of multiple page results */
#pagelinks { text-align: center; padding: 1em; background: #FFF;}

/* the alphabet list used on multiple pages */
#alphabet { text-align: center; }

/* Response links such as "Issue a Challenge!", "Respond to the Challenge!" etc */
.respond { text-align: center; }

/* Surrounds the news archive link in the news block */
#newsarchive { text-align: center;}

/* Used when listing stories and series to define the sub-section headers "Series" and "Stories */
.sectionheader {
 background: #5C7F62;
 color: #FFF;
 font-weight: bold;
 text-align: center;
 width: 100%;
 clear: both;
}

/* these define the alternating colors used in some tables and the listings of the stories, series, and challenges */
.odd { background: #E7DEBD; }
.even { background: #F2EFE3; }

/* This defines the look of the admin options for various pieces of the script.  Can be safely left undefined if you wish */
.adminoptions { font-weight: bold; }

/* Defines the appearance of the jump menu on the stories page
.jumpmenu { text-align: right; }

/* Carryover from 1.1 */
.tblborder { border: 1px solid #000; }

/* End of hardcoded classes and id's */


/* This wraps around the contents of the page */
#container {
 border-left: 3px double #000;
 border-right: 3px double #000; 
 background: #FFF; 
}

/* The top of the header where your site's name and slogan appear */
#banner {
 height: 70px;
 border-bottom: none;
 text-align: left;
}

/* This floats the skin changing form to the middle right of the banner div */
#skin { 
 position: absolute;
 top: 25px;
 right: 40px; 
}

/* the main content section below the menu */
#mainpage { background: #FFF; color: #000;}

/* the footer below the mainpage */
#footer {
 font-size: 12px;
 background: #5C7F62;
 color: #FFF;
 text-align: left;
 padding: 7px;
 margin-top: 1em;
}

/* much of the content output by the script such as the contents of the help and rules files are places in this div can be safely left undefined however  */
#output { padding: 5px; }

/* Used at the top of the challenges and series pages when an individual listing is displayed.  
Not hardcoded into the script!  This is defined in the default tpl.
*/
#titleblock { margin: 0 10%; }
#titleblock .listbox { border: 1px solid #000; margin: 10px; }

/* defines the appearance of the news block */
.newsbox{ padding: 5px;}

/* defines how the story and series blocks appear */
.listbox { padding: 1ex 1em; border-bottom: 1px solid #000; border-top: 1px solid #000; margin-top: -1px; }
.listbox .title { font-weight: bold; }
.classification { font-weight: bold; }

/* used in the categories page */
#categoriesblock { width: 90%; padding-left: 5%; padding-bottom: 1em;}

/* used in user.tpl */
#sort { text-align: right; position: relative; padding: 5px; clear: both;}
#bio { padding: 5px; }
#profile .adminoptions { font-weight: bold; height: 3em; }

#tabs {
 padding: 0;
 margin: 0;
 clear: both;
 border-top: 3px double #000;
 border-bottom: 3px double #000;
}

#tabs DIV{ 
 width: 33%;
 float: left;
 color: #000;
 text-align: center;
 background: #E7DEBD; 
 font-size: 11pt;
}

#tabs #centertab {
  background: transparent;
  border-right: 3px double #000;
  border-left: 3px double #000;
  width: 98%;
}

#tabs a { color: #000; }
#tabs a:active, a:hover { text-decoration: none; color: #7B6B40; }

#tabs #active { background: #7B6B40; width: 34%; color: #FFF; }
#tabs #active a { color: #FFF; }
#tabs #active a:active, a:hover { text-decoration: none; color: #7B6B40; }

/* used for the blocks on the index page */
.block { border: 1px solid #000; background: #5C7F62; margin: 0; padding: 0; margin-bottom: 1em; }
.block .title { background: #5C7F62; font-size: 14px; color: #FFF; margin: 0; font-weight: bold; padding: 0; border-bottom: 3px double #FFF; padding: 5px; text-align: center;}
.block .content { background: #FFF; font-size: 12px; margin: 0; padding: 5px;}

/* defines the columns on the index page */
#leftindex {
 width: 197px;
 float: left; 
 margin: 20px;
 margin-top: 0;
}
html>body #leftindex { width: 200px; }

#rightindex {
 margin:  0 20px 10px 265px;
}

/* the clearfix class fixes certain problems with display in IE.  if you have disappearing backgrounds and/or text in a div adding this class to the PARENT might help */

.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix { display: inline; }
/* Hides form IE-Mac \*/
* html .clearfix { height: 1%; }
.clearfix {display: block; }
/* End hiding */

/* the following defines your menu below the banner div */
#menu { 
 font-size: 12px;
 border-top: none;
 border-bottom: none;
 background: #5C7F62;
 margin: 0;
 padding: 4px;
 text-align: center; 
}

#menu ul { 
 margin: 0;
 padding: 0;
}

#menu li {
 display: inline;
 list-style-type: none;
 margin: 0;
 padding-right: 7px;
 line-height: 120%; 
}

#menu a {
 color: #FFF;
 font-weight: bold;
 text-decoration: none;
 padding-left: 3px;
 padding-right: 3px; 
}

#menu a:hover { 
 background: #7B6B40; 
 padding-left: 2px;
 padding-right: 2px;
 border-left: 1px solid #FFF;
 border-right: 1px solid #FFF;
 color: #FFF; 
}
/* end menu setup */
