/* Some universal declarations */
BODY {
	background-color: #000;
	color: #FFF;
	margin: 0px;
	padding: 0px;
	font-family: "Arial", sans-serif;
	font-size: 13px;
}

LABEL, .label { font-weight: bold; color: #CD5555; }

/* Just in case you allow horizontal rules in the stories */
HR { color: #800000; background: #800000; height: 4px; width: 70%; }

/* Header cells in tables throughout the site */
TH {
	background: url(images/nav-center.jpg) repeat-x top right;
	border: 1px solid #000;
	border-collapse: collapse;
	padding: 6px;
}

/* whereever table borders are needed - carryover from 1.1 */
.tblborder {
	border: 1px solid #800000;
	border-collapse: collapse;
	padding: 7px;
}
 a:link { color: #cd0000; text-decoration:none;font-weight:bold;}
 a:visited {color: #cd0000; text-decoration:none;font-weight:bold;}
 a:active {color: #cd0000; text-decoration:none;font-weight:bold;}
 a:hover {color: #cd0000; text-decoration: underline overline;font-weight:bold;}

/* End universal declarations */

/* Used in header.tpl */
#sitename { font-size: 60px; color: #cd0000; }
#banner { margin-left: 210px; background: #000;  text-align: center;}
#skincontainer { background: url(images/nav-center.jpg) repeat-x center; width: 700px; float: right; z-index: 10; position: relative; margin-top: -3px; }
html>body #skincontainer { margin-top: 1px; z-index: 10; position: relative;}
#skincontainerB { background: url(images/nav-left.jpg) no-repeat left center; }
#skincontainerC { text-align: right; padding: 4px; padding-left: 10px; line-height: 23px; }
#skincontainerC SELECT { font-size: 9px; }
#skincontainerC IMG { padding: 0 7px; }
#menu { float: left; }
/* End header.tpl declarations */

/* Links in the header and footer */
#menu a, #footermenuC a{ color: #FFF; padding: 0 2px 0 12px; font-size: 11px; vertical-align: middle; background: url(images/bullet-top.gif) no-repeat center left;}
#menu #current, #footermenuC #current { background: url(images/bullet-current.gif) no-repeat center left; text-decoration: underline; }
#menu a:hover, #menu #current a:hover, #footermenuC a:hover, #footermenuC #current a:hover { color: #FFF; background: url(images/bullet-roll.gif) no-repeat center left; color: #FFF; }
/* end header and footer links */

/* Used in footer.tpl */

/* Used in footer.tpl for the menu */
#footermenuA { background: url(images/nav-center.jpg) repeat-x center; margin-left: 9px; margin-right: 5px; width: 400px;}
#footermenuB { background: url(images/nav-left.jpg) no-repeat left center; }
#footermenuC { background: url(images/nav-right.jpg) no-repeat right center; padding: 0 4px; padding-left: 10px; vertical-align: middle; line-height: 25px;}

#footer { padding: 1em; }
/* end footer.tpl */

/* Definitions for the main part of the page */
#mainpage {
	margin: 0 15px 0 0;
	padding: 15px;
	height: 450px;
}
html>body #mainpage {
	padding-top: 45px;
	height: auto;
	min-height: 450px;
	margin-left: 220px;
}
/* end main page */

/* This controls the box that contains the menus on the left hand side */
#leftcolumn { float: left; width: 200px; }
#leftcontainer {  background: url(images/column.jpg) repeat-y; }
/* end left menu containers */

/* the login block in the left column */
#loginblock { padding: 0 50px; text-align: center; width: 120px; color: #FFF; font-weight: bold;}
#loginblock .button { display: block;  margin: 0 auto;}
/* end login block */


/* the following control the columns on the index page ONLY */
#home #rightindex { 
	background: url(images/column.jpg) repeat-y right;  float: right; width: 220px; margin-top: -2.5em; padding-top: 2em;}
html>body #home #rightindex { padding-top: - 2em; }

.leftblock, #rightindex .block {
	width: 200px;
	margin: 1em 10px;
	background: url(images/green-center.jpg) repeat-x top left;
}
#leftindex { margin-right: 220px; }
#leftindex .block {
	margin: 1em;
	background: url(images/green-center.jpg) repeat-x top left;
}
.reviewbar {
	background: url(images/green-center.jpg) repeat-x top left;
}
#leftindex  .content {
	border: 1px solid #800000;
	background: url(images/center-column2.jpg) repeat-y right;
	padding: 0 15px;
	margin: 0px 10px;
}

.lefttitle, .righttitle, .centertitle, .reviewleft {
	background: url(images/green-left.jpg) no-repeat top left;
	margin: 0;
}
.lefttitle2, .righttitle2, .centertitle2 {
	background: url(images/green-right.jpg) no-repeat top right;
	padding: 2px;
	padding-bottom: 1px;
	font-size: 14px;
	text-align: center;
	font-weight: bold;
	color: #FFF;
	margin: 0;
}
#rightindex .block .content {
    border: 1px solid #800000;
    background: #000;
    margin: 1em 2em;
    padding: 7px;
}
#rightindextail { background: url(images/green-center.jpg) repeat-x; margin: 0 10px -1px; }

/* end of index declarations */

/* the left column */
.blockbox {
     margin: 1em 2em;
     border: 1px solid #800000;
     background: #000;
     padding: 1em 7px;
}

.leftblock .content {
     margin: 1em 2em;
     border: 1px solid #800000;
     background: #000;
     padding: 1em 7px;
}
.blockbox a:link, .blockbox a:visited{ background: url(images/bullet-column.gif) no-repeat left; padding-left: 14px;}
#menu2 a { display: block; }
.blockbox a:hover{ background: url(images/bullet-column-roll.gif) no-repeat left; padding-left: 14px; color: #FFF;}
/* end left column and index page */

 #rightindex .content {
	margin: 0;
	padding: 1em 2em 0;
	font-size: 13px;
}

/* The following controls the green bars in the story and series listings plus the sort menu for viewuser page */
.reviewright {
	background: url(images/green-right.jpg) no-repeat top right;
	padding: 0 18px 3px;
	vertical-align: middle;
	color: #FFF;
}
.reviewright .label, .reviewbar2 .adminoptions, .reviewright .adminoptions { color: #CD5555; font-weight: bold; }
.reviewright A:link, .reviewright A:visited, .reviewright A:hover, .reviewright A:active { color: #FFF; }
.reviewbar2 {
	background: url(images/green-center.jpg) repeat-x top left;
	text-align: right;
}
/* end green listbox bars */

.sectionheader { text-align: center; font-weight: bold; font-size: 12pt; }

.newstitle { padding: 0 3em; text-align: center; font-size: 18px; color: #FFF;  border-bottom: 3px solid #800000; margin: 1em; }
.newstitle .adminoptions { font-size: 14px;  }

/* defines how the story and series blocks appear */
.listbox { margin: 2em 1em;  }
.listbox .title { font-weight: bold; border: 1px solid #800000; margin: 0 8px; padding: 1ex; text-align: center; border-bottom: 0; border-top: 0;  background: url(images/center-column2.jpg) repeat-y right; }
.listbox .title a { font-size: 14px; }
.listbox .title a:visited { color: #800000; }
.listbox .adminoptions { display: inline;}
.listbox .content { border: 1px solid #800000; background: url(images/center-column2.jpg) repeat-y right; margin: 0 8px; padding: 1ex; border-bottom: 0; border-top: 0; font-weight: normal;}


/* tabs control the 3 links for stories, favorite stories/series, and favorite authors.  Generally, they're below the user profile.  In 1.1 you had no options in this.
With 2.0, you can put those links whereever you want. */
#tabscontainer { float: right; width: 200px; }
#tabs { background: url(images/column.jpg) repeat-y top; font-size: 13px; padding: 1em 15px; margin: 0;}
#tabsinner DIV { padding: 4px 1ex; }
#tabs #active { background: #CD5555; }
#tabs #active a { color: #800000; }
#tabsinner { background: #000; border: 1px solid #800000;  padding: 5px 0;}
#vusort { margin: 0; padding: 1em 0 0; font-weight: bold; }
#vusort FORM { display: inline; }
#vusort SELECT { font-size: 9px; }
/* The look of links within the tabs.  Generally they're going to have to be different from the regular page links.
I haven't bothered with the visited or active states. */

/* viewuser.tpl declarations */

#profile { margin-bottom: 1em;}
#profile .adminoptions { font-weight: bold; color: #800000; }

/* some more declarations that are used throughout the script */

/* page titles */
#pagetitle {
 font-size: 18px;
 color: #CD5555;
 text-align: center;
}

/* alphabet lists  in members list and titles page */
#alphabet {
 text-align: center;
 padding: 1ex;
}

/* links at the bottom of the page */
#pagelinks {
 text-align: center;
}

/* links to respond to challenges and also reviews */
.respond {
  text-align: center;
}

/* jump menus in reviews  and viewuser*/
.jumpmenu { text-align: right; margin: 8px; }

/* some declarations for the viewstory page */
#viewstory #sort { text-align: center; }
#story { margin-left: 1em; }
#viewstory .listbox { padding: 0; margin-bottom: 2em;  border: 1px solid #800000; }
#viewstory .listbox .title { text-align: left; border: 0; background: none;}
#viewstory .listbox .content {
  border: 0;
  background: none;
}
#viewstory .listbox .adminoptions {
	margin: 0 1em 1em;
	display: block;
}
#next { float: right; padding-right: 15px;}
#prev { float: left; padding-left: 15px;}
/* end viewstory */

/* some declarations for the categories page */
#categoryblock { margin: 0; padding: 0;}
#categoryfilter { text-align: center; width: 70%; margin: 1em auto; }
#categoryfilter SELECT { font-size: 9px; }
#categoryfilter .button { font-size: 10px; width:  24px;}

.commentodd, .commenteven { border: 1px solid #800000; margin: 1em 10%; padding: 7px;}

.reviewbox .content { border: 1px solid #800000; background: url(images/center-column2.jpg) repeat-y right; margin: 0 10%; padding: 1ex; font-weight: normal;}

.new {
   color: red;
   font-style: oblique;
}

/* Some things on viewstory */
.jumpmenu { text-align: right; margin: 1ex;}
.jumpmenu2 { text-align: center; margin: 1ex;}
#viewstory .respond { text-align: center; margin: 1em; }


