body {
 margin:0px;
 padding:0px;
 text-align:center;
 font-family: arial, helvetica, sans-serif;
 background-color: #ebddce;
 font-size: .8em;
 color: #666;
 background-image: url(images/bg.gif);
}

A { color: #666; font-weight: bold; text-decoration: none; }
A:hover { color: #cd9fe4; font-weight: bold; text-decoration: none; }

/* these next few are hard coded into the script */
/* the title of the page */
#pagetitle { font-size: 1.1em; text-align: center; font-weight: bold; padding: 5px;}

/* pagination links at the bottom of multiple page results */
#pagelinks { text-align: center; padding: 5px; background: #FFF;}

/* the alphabet list used on multiple pages */
#alphabet { text-align: center; padding: 10px;}

/* 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: left;}

/* Used when listing stories and series to define the sub-section headers "Series" and "Stories */
.sectionheader {
 background: #cd9fe4; 
 background-image: url(images/top1.gif);
 background-position: top left;
 background-repeat: repeat-x;
 color: #fff;
 font-weight: bold;
 text-align: center;
 width: 100%;
 clear: both;
 margin-bottom: 1px;
 border-top: 2px solid #fff;
}

/* these define the alternating colors used in some tables and the listings of the stories, series, and challenges */
.odd { background: #dbdbdb; }
.even { background: #fff; }

/* 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; margin: 5px;}

/* Carryover from 1.1 */
.tblborder { border: 1px solid #666; }

/* End of hardcoded classes and id's */


/* This wraps around the contents of the page */
#container {
 width: 750px;
 margin: 0px;
 margin-left: auto;
 margin-right: auto;
 text-align: left;
 background-color: #fff;
 border: 2px solid white;
 height: 100%;
}

/* The top of the header where your site's name and slogan appear */
#banner {
 height: 170px;
 background-color: #fff;
 background-image: url(images/iffbanner.jpg);
 border-bottom: 2px solid #fff;
}

/* the main content section below the menu */

#content {
 padding-left: 15px;
 padding-right: 15px;
 background-color: #fff;
 background-image: url(images/top3.gif);
 background-position: top left;
 background-repeat: repeat-x;
 color: #000;
 line-height: 1.5em;
}

/* 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: 10px; }
#titleblock .listbox { border: 1px solid #666; margin: 10px; }

/* defines the appearance of the news block */
.newsbox{ padding: 10px; text-align: left;}

/* defines how the story and series blocks appear */
.listbox { padding: 5px; border: 1px solid #dbdbdb; margin-top: -1px; }
.listbox .title { font-weight: bold; color: #000; background: #dbdbdb; 
 background-image: url(images/top2.gif);
 background-position: top left;
 background-repeat: repeat-x; padding: 3px;}
.classification { font-weight: bold; }

/* used in the categories page */
#categoriesblock { width: 90%; padding-left: 5%; padding-bottom: 1em; text-align: left;}

/* used in user.tpl */
#sort { text-align: right; position: relative; padding: 1px; clear: both;}
#bio { padding: 8px; }
#profile .adminoptions { font-weight: bold; height: 3em; }

#tabs {
 padding: 0;
 margin: 0;
 clear: both;
 border-top: 1px solid #000;
 border-bottom: 1px solid #000;
}

#tabs DIV{ 
 width: 33%;
 float: left;
 color: #fff;
 text-align: center;
 background: #cd9fe4; 
 background-image: url(images/top1.gif);
 background-position: top left;
 background-repeat: repeat-x;
 font-size: 11px;
}

#tabs #centertab {
  background: transparent;
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
  width: 98%;
}

#tabs a { color: #000;
 }
#tabs a:active, a:hover { text-decoration: none; color: #fff; }

#tabs #active {background-color: #dbdbdb; background-image: url(images/top2.gif); background-position: top left; background-repeat:repeat-x; width: 34%; color: #000; }
#tabs #active a { color: #a82491; }
#tabs #active a:active, a:hover { text-decoration: none; color: #000; }

/* used for the blocks on the index page */
.block { background: #fff; margin: 0; padding: 0; margin-bottom: 1em; border: 1px solid #999 }
.block .title { background: #cd9fe4 url(images/top1.gif) repeat-x; color: #fff; margin: 0; font-weight: bold; padding: 3px; text-align: left; }
.block .content { background: #fff url(images/top3.gif) repeat-x; color: #000; margin: 0; padding: 5px;}

/* defines the columns on the index page */
#leftindex {
 width: 197px;
 float: left; 
 margin: 10px;
 margin-top: 0;
}
html>body #leftindex { width: 200; }

#rightindex {
 margin:  0 10px 10px 261px;
}

#centerindex {
 margin:10px;
 clear:both;
}


/* 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 */
/* the box around the menu and aligning the text to center */

#menu {
	padding-top: 5px;
	padding-bottom: 2px;
	padding-left: 4px;
	padding-right: 4px;
	border-bottom: 2px solid #fff;
	text-align:center;
	background-color: #dbdbdb;
	background-image: url(images/top2.gif);
	background-position: top left;
	background-repeat: repeat-x;
}

#menulist {
 	padding: 0px;
 	margin: 0px;
 	text-align: right;
}

#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: #666;
 	background-color: #dbdbdb;
 	text-decoration: none;
 	font-weight: bold;
}

#menulist a:hover{
 	color: #cd9fe4;
 	text-decoration: none;
 	font-weight: bold;
}

/* the footer box at the bottom of the page */
#footer {
 	color: #FFF;
	background-color: #696969;
	background-image: url(images/top4.gif);
	background-position: top left;
	background-repeat: repeat-x;
	border-top: 2px solid white;
	padding: 5px;
	clear: both;
}


#footer a { color: #fff; font-weight: bold; text-decoration: none; }
#footer a:hover { color: #000; font-weight: bold; text-decoration: none; }

#story { padding: 5px; margin: 5px;}
/* end menu setup */

