/*

Four basic layout schemes. The divs below all go inside the "subcontainer" div -- see common.html.

1. Large left column, small right column:

	<div id="lefty">
		<div class="blackheader">left header bar</div>
		<p>left text</p>
	</div>
	<div id="righty">
		<div class="rtext">
			<div class="redheader">right header bar</div>
			<p>right text</p>
		</div>
	</div>
	
2. Large left column with left-side links, small right column:

	<div id="lefty">
		<div class="blackheader">left header bar</div>
		<div id="llinks">left links</div>
		<div class="main">left text</div>
	</div>
	<div id="righty">
		<div class="rtext">
			<div class="redheader">right header bar</div>
			<p>right text</p>
		</div>
	</div>

3. Single full-width column:

	<div class="fullheader">full-width header bar</div>
	<div class="fullwidth">full-width content</div>

4. Single full-width column with left-side links:

	<div class="fullheader">full-width header bar</div>
	<div id="llinks">left links</div>
	<div class="fullmain">full-width content</div>

*/

body {
	color: #000000;
	font-family: Helvetica, sans-serif;
	font-size: 12px;
	line-height:18px;
	margin-top: 0;
	margin: 0;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* base layout */

#container {
	width: 980px;
	/*margin-left: auto;
	margin-right: auto;*/
	margin-bottom: 10px;
}


#topnav {
	background-image:url(/static/img/cui/pan_navback.jpg);
	background-repeat:no-repeat;
	width:auto;
	height:49px;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* topnav */

#navcontainer {
	padding-left:48px;
}

#navcontainer ul {
	padding: 0;
	margin: 0;
	padding-top:8px;
	color: White;
	list-style-type: none;
}

#navcontainer ul li a {
	padding: 0 20px 0 5px;
	margin:0;
	height:41px;
	color: White;
	text-decoration: none;
	float: left;
	border-left: 1px solid #fff;
	font-size:11px;
	line-height:14px;
}

#navcontainer ul li a:hover {
	color: #fff;
	text-decoration:underline;
}

#navcontainer2 {
	position:absolute;
	top:82px;
	left:840px;
}

#navcontainer2 ul {
	padding: 0;
	margin: 0;
	padding-top:8px;
	color: White;
	list-style-type: none;
}

#navcontainer2 ul li a {
	padding: 0 20px 0 5px;
	margin:0;
	height:41px;
	color: White;
	text-decoration: none;
	float: left;
	border-left: 1px solid #fff;
	font-size:11px;
	line-height:14px;
}

#navcontainer2 ul li a:hover {
	color: #fff;
	text-decoration:underline;
}

.stacks {
	position:absolute;
	top:88px;
	left:920px;
	background-image:url(/static/img/cui/stacks.gif);
	background-repeat: no-repeat;
	width:50px;

}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* body layout */

#subcontainer { 
	margin: 35px 60px 0 50px;
}


h1 {
	color:white;
	font-size:14px;
	line-height:22px;
	padding-top: 1px;
	font-weight:normal;
	margin: 0;
	display: block;
	padding-left: 8px;
}

h2 {
	padding:0;
	margin-top:20px;
	font-size:17px;
	line-height:22px;
	margin-right:20px;
}

h4 {
	font-size: 12px;
}

#lefty {
	width:583px;
	margin-right:20px;
	float:left;
}

#lefty p {
	margin-right: 10px;
}

#llinks { 
	padding-top:12px;
	width:188px;
	float:left;
	display:inline;
}

#llinks p {
	margin: 8px 55px 0px 8px;
}

#llinks li {
	background-image: none;
}

.main { width:380px;
	float:left;
}

#righty {
	float:left;
}

.rtext {
	color:black;
	font-size: 12px;
	line-height:18px;
	width:267px;
	margin-bottom: 15px;
}

.rtext p, .rtext table, .rtext img {
	margin-left: 8px;
	margin-right: 10px;
}

div.tabs_base {background: #C0C0C0;
	float: left;
	width: 100%;
}

div.tabs {background: #C0C0C0;
	float: left;
	padding: 2px 10px 2px 10px;
	border-left: 1px solid #000000;
	font-weight: bold;
	font-size: 12px;
}

div.tabs a {
	color: #000000;
}

div.tabs a:hover {
	text-decoration: none;
}

div.selected_tab {
	background: #FFFFFF;
	float: left;
	border-left: 1px solid #000000;
	padding: 2px 10px 2px 10px;
	font-weight: bold;
	font-size: 12px;
}

div.selected_tab  a {
	color: #FF0000;
}

div.tabs a:hover {
        text-decoration: none;
}

.mono {font-family:andale mono;}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* page components */

.end_link {
	text-align: right;
	font-size: 9px;
}

.end_link img {margin-right: 20px;}
.end_link a {text-decoration: none;}

.end_separator {
	width:100%;
	margin-top:3px;
	margin-bottom:3px;
	height: 1px;
}

.grey_bg {background: #949494;}
.red_bg {background: #bb0000;}
.grey_text a {color: #727272;}	
.red_text a {color: #BB0000;}	

.feats li {
	background: url(/static/img/cui/red_boxes.gif) no-repeat 0 .2em;
	color: #666;
	margin-left: 20px;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.fullheader {
	background: #000 url(/static/img/cui/pan_blackbar_long.jpg) no-repeat top right;
	width:870px;
	height:24px;	
}

.fullmain { 
	width:672px;
	float:left;
}

.redheader {
	background: #c24237 url(/static/img/cui/pan_redbar_short.jpg) repeat-y top right;
	width: 100%;
	height: 24px;
}

.blackheader {
	background: #000 url(/static/img/cui/pan_blackbar_long.jpg) repeat-y top right;
	width: 100%;
	height: 24px;	
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */

a {
	color: #BB0000;
	text-decoration: none;
	cursor: hand;
}

a:hover {
	color: #BB0000;
	text-decoration: underline;
}


a:focus {
	/*outline-offset: -100px;*/
	outline: none;
}


img {border: 0;}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.clear {
	clear: both;
	font-size: 1px;
	line-height: 1px;
	height: 1px;
	min-height: 1px;
	margin: 0;
	padding: 0;
}

th {
	text-align: left;
	vertical-align: top;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* forms */

input, textarea, select {font-size: 1em;}

.ftable {
	margin-top:20px;
	margin-left:25px;
	width:450px;
}

.ftable th {padding-right: 1em;}

.ftable td {
	vertical-align: top;
	width: 285px;
}

.ftable input, .ftable textarea, .ftable select {width: 280px;}

.ftable_midwide {width: 470px;}
.ftable_midwide input, .ftable_midwide textarea, .ftable_midwide select {width: 330px;}

.ftable_wide {width: 540px;}
.ftable_wide input, .ftable_wide textarea, .ftable_wide select {width: 400px;}

.ftable input.submit, .ftable input.checkbox, .ftable input.radio {width: auto;}

.ftable td ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.ftable td ul li {
	float: left;
	padding-left: 0;
	margin-right: 1em;	
	background: none;
}

.ftable td ul:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

/* errorlist is the class django uses for form validation errors */
.errorlist {
	color: #f00;
	list-style-type: none;
}

.errorlist li {
	background-image: none;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* home */

#homeflash_wrapper {
	overflow: hidden;
/*	height: 320px;*/
	width: 578px;
	margin: 7px 0 10px 0;
}

#homeflash {
	position: relative;
	margin:0;
}

.btext {
	color:black;
	width:270px;
	margin: 8px 0px 12px 0px;
}

.homemod {
	width:285px;
	float:left;
}

.homemod_left {
	margin-right: 5px;
}

.homemod_right {
	margin-left: 5px;
}

.homemod ul {
	padding: 15px 20px 15px 10px;
}

ol li {
	background-image:none;
	padding-left: 0;
}


ul {
	list-style-type: none;
	padding-left: 10px;
	margin: 0;
}

li {
	background: url(/static/img/cui/li_block_red.gif) no-repeat 0 .2em;
	padding-left: 20px;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */

#footer {
	margin:0 50px 0 50px;

}

.footerline {
	width:876px;
	height:1px;
	padding-bottom:10px;
	margin-top:20px;
}

.foottext {
	text-align:center;
	color:#666666;
	font-size:10px;
}

.foottext a { color:#727272;
	text-decoration:none;
}	

.foottext a:hover { 
	color:#727272;
	text-decoration:none;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.rtext table {
	margin-top: 1em;
	border: 1px solid #999;
	padding: 0.5em;
}

.rtext td, .rtext th {
	vertical-align: top;
	padding-bottom: 0.5em;
}

.rtext th {
	padding-right: 3em;
}

.rtext .contacts th {
	padding-right: 1em;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.testimonial {
	border: 1px solid #999;
	background: #ffe;
	display: block;
	padding: 1em;
}

.thispage {
	font-weight: bold;
}

#messages {
	text-align: center;
	padding: 0.8em 0.5em;
	margin: 0.5em;
	background: #fff1a8;
	font-weight: bold;
	font-size: 1.25em;
	overflow: hidden;
}

#messages ul {
	list-style-type: none;
}

#messages li {
	background-image: none;
}

.changed {
	background: #CF6;
}

.requested {
	background: #6FF;
}

h2.title {
	margin-bottom: 0;
	display: block;
}

h4.subtitle {
	margin-top: 2px;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* account pages */

div.pad_div {
	border: 1px solid #949494; 
	margin-bottom: 10px; 
	width: 730px;
}
table.pad_table {
	width: 700px;
	border: 1px solid #949494;
}

.pad_table h2 {
	margin-bottom: 0;
}

.pad_table th {
	#padding-right: 1em;
	text-decoration: none;
	font-weight:normal;
	margin-right: 0px;
}

.pad_table td {
	vertical-align: top;
	#padding-right: 1em;
	margin-left: 0px;
}

.pad_table th.separator {
	font-size: 1.25em;
	text-align: left;
	padding-top: 1em;
	font-weight: bold;
}

tr.row1 {}
tr.row2 {
	background: #FDEEF4;
}

table.flush_table th {
	width: 150px;
}

table.flush_list {
	padding-right: 5px;
}

table.flush_list {
	text-align: center;
}

table flush_info {
	width: 400px;
}

.tool-tip {
	width: 200px;
	padding: 0.5em;
	background: #fff1a8;
	border: 1px solid #b00;
}

.big, .big input {
	font-size: 1.25em;
}

table.framed {
	border: 1px solid #999;
	padding: 1em;
}

#chartdiv {
	margin-top: 20px;
	overflow: hidden;
	height: 280px;
}

table.info td, table.info th {
	padding: 1px 3px;
	vertical-align: top;
}

.yes {color: #408000;}
.row1 {background: #fff;}
.row2 {background: #fcffd5;}

.ajax-loading {
	background-image: url("/static/img/loading.gif");
	background-position: center;
	background-repeat: no-repeat;
	height: 20px;
}

.hidden {display: none;}

.error {
	color: #900;
	font-weight: bold;
}

.blocklink {
	display: block;
	float: left;
	width: 8em;
	font-weight: bold;
	color:red;
}

.blocklink_right {
	display: block;
	float: right;
	width: 8em;
	font-weight: bold;
	color:red;
}

.restdoc {
	vertical-align: top;
}
