/* main page stuff */
BODY       { background-color: #eee;
             text-align: center;
	     margin: 0;
	     padding: 0;
	     font-family: verdana, arial, helvetica, sans-serif;
	     font-size: 0.8em;
	     line-height: 1.5; }

a:link, a:hover, a:active  { color: #45506e; }
a:visited   { color: #aaa; }

P        { padding-left  : 0.3em; }

acronym {
	cursor: help;
	border-bottom: 1px dotted;
}

ul {
	list-style-image: url("/images/arrow.gif");
}

input.formButton {
	border: 1px solid #999;
	color: #45506e;
	background-color: #eee;
	font-size: 1em;
	font-weight: bold;
}

.formArea {
	border: 1px solid #999;
	font-family: Verdana, sans-serif;
	font-size: 1em;
}

fieldset {
	border: 1px solid #fff;
}

legend {
	color: #777;
}

.centered {
	text-align: center;
	clear: both;
	padding-top: 2px;
}

div.row {
	clear: both;
	padding-top: 5px;
}

div.row label {
	float: left;
	width: 70px;
	padding-right: 2px;
	text-align: right;
}

div.row .formArea {
	float: left;
	margin-left: 4px;
}

div.row input.formButton {
	margin-left: 76px;
}

/*-- Wrapper which lays out the page. --*/

#wrapper {
	margin-top: 1em;
	margin-left: auto;
	margin-right: auto; 
  /*-- IE/Mac doesn't like 'margin: 0 auto' --*/
	text-align: left;
	width: 780px;
	background: url("/images/shadow_bg.gif") top left repeat-y;	
}


#body { width: 535px;
	float: left;
	margin-left: 20px;
	padding-top: 0; }

#content h2 {
	font-size: 1.3em;
	color: #45506e;
	margin-top: 1em;
}

#content p {
	margin-left: 1em;
}

#sidebar  { width: 190px;
	    float: right;
	    margin-right: 10px; }

#sidebar h2 {
	color: #45506e;
	font-size: 1.1em;
	margin: 1em 0 0 0;
	text-indent: 4px;
	border-bottom: 1px solid #ccc;
}

#sidebar .box {
	margin-bottom: 2em;
	width: 190px;
}

#sidebar .box p {
	margin-left: 0.5em;
}


.advert    { border: 1px solid #ccc; }

.loginform { text-align: right; }

/* header and footer */

#header {
	margin: 0;
	padding: 0;
}

#header h1 {
	margin: 0;
	padding: 0;
}

#header h1 a, #header h1 a:hover {
	display: block;
	margin: 0;
	padding: 112px 0 0 0;
	overflow: hidden;
	background: #fff url("/images/header.gif") top left no-repeat;
	height: 0px !important; /* These two lines because IE is dumb. */
	height /**/:112px;
}


#header P { padding-top: 0em;
            padding-left: 1em; }

#footer  { text-align   : center;
           clear        : both;
           background: url("/images/footer_bg.gif") bottom left no-repeat;
	   padding: 2em 0;
	   margin-top: 3em; }

#footer p {
	border-top: 1px solid #ccc;
	width: 750px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 0.5em;
}

/* sections admin tool */
/* this is because box_title_font is used in the code */
/* and not in a DIV.box - this will be fixed in later */
/* releases of Scoop as HTML is moved out of the code */

TH H2        { color: #ffffff;
               font-size: 1em; }

TD H2        { color: #ffffff;
               font-size: 1em; }

/* story stuff */

H2.story_title  { font-size: 1.2em;
                  color: #000000; }

.story_summary { border-bottom: 1px dashed black;
                 padding-top: 0.5em; }

.story_body { padding-top: 0.5em; }

.story_info { background-color: #EEEEEE;
              text-align: center; }

#author_console { border: 1px solid #006699;
                  background-color: #EEEEEE }

#vote_console { border: 1px solid #006699;
                background-color: #EEEEEE }

/* comment stuff */

.commenthead { border: 1px solid #006699;
               background-color: #eeeeee; }

.editorialhead { border: 1px solid #FF0000;
                 background-color: #eeeeee; }

/* scoophost packages (front page) */

table.plan_view {
	width: 230px;
	float: left;
	margin-left: 2em;
        margin-bottom: 2em;
	border: 1px solid #999;
	background-color: #f7f7f7;
	font-size: inherit; /* Also because IE is dumb. */
}

table.plan_view th {
	background-color: #45506e;
	color: #fff;
	text-align: center;
}



/* calendar stuff */

.cal_head { background-color: #eeeeee; }

.cal_head UL { text-align: center; }

.cal_head UL LI { display: inline;
                  list-style-type: none; }

.cal_head UL LI A#current { background-color: #ff0000;
                            color: #ffffff;
                            font-weight: bold; }

.cal_body TD,TH { border: 1px solid black;
                  padding: 3px; }

.cal_body #today { background-color: #eeeeee; }

.cal_body #other_month { background-color: #cccccc; }

.date_number { font-weight: bold;
               font-size: large; }

/* Another IE bug-workaround */
* html #content { display: inline; }

/* tag-cloud styles */

.cloud li { list-style-type: none; display: inline; margin-right: 8px; }

.cloud .tag-popularity-1 { font-size: 80%; }

.cloud .tag-popularity-5 { font-size: 90%; }

.cloud .tag-popularity-10 { font-size: 100%; }

.cloud .tag-popularity-15 { font-size: 110%; }