/*
 * CSS
 * 
 * $Author: brucemyers $
 * $Date: 2009-09-04 22:46:05 -0400 (Fri, 04 Sep 2009) $
 * 
 */


* {
	margin:0;
	padding:0;
}

/* General Style Info */
body {
	background: #FFFFFF;
	color: #000033;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	text-align:center;
}
a:link {color: #0000FF; text-decoration: underline} 
a:visited {color: #0000CC; text-decoration: underline} 
a:hover {color: #0000FF; text-decoration: underline; background-color: #FFFF00} 
a:active {color: #000033; text-decoration: none; background-color: #FFFF00} 
a img {
	border:none;
}
h1, h2, h3, h4 {
	font-weight: normal;
}
h1 {
	background:#fff;
	color: #003d4c;
	font-size: 100%;
	margin: 0.1em 0;
	text-align: center;
}
h2 {
	background:#fff;
	color: #e32;
	font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	font-size: 190%;
	margin: 0.3em 0;
	text-align: center;
}
h3 {
	color: #993;
	font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	font-size: 165%;
	text-align: center;
}
h4 {
	color: #993;
	font-weight: normal;
	padding-top: 0.5em;
	text-align: center;
}
ul, li {
	margin: 0 12px;
}

.alignleft {
	text-align: left;
}

.alignright {
	text-align: right;
}

/* Layout */
#container {
	width: 970px;
	margin: 0 auto;
	text-align: left;
	background: #fff;
}

#header{
	padding: 1px 20px;
}
#content{
	clear: both;
	color: #333;
	padding: 5px 20px 40px 20px;
	overflow: auto;
}
#footer {
	clear: both;
	padding: 6px 10px;
	text-align: right;
}

/* Tables */
table {
	background: #fff;
	border:1px solid #ccc;
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	/*width: 100%;*/
}
th {
	background: #e0e0e0;
	border:1px solid #bbb;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	text-align: center;
}
th a {
	background:#e0e0e0;
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a:hover {
	background: #ccc;
	color: #333;
	text-decoration: none;
}
table tr td {
	background: #fff;
	border-right: 1px solid #ccc;
	padding: 4px;
	text-align: center;
	vertical-align: top;
}
table tr.altrow td {
	background: #f4f4f4;
}

#hometable {
	border: 0;
	border-spacing: 5px 1px;
}

#hometable tr td {
	text-align: left;
	padding: 0 5px 0 5px;
}

#hometable tr td a {
	font-weight: bold;
}

.org_count {
	font-size: 75%;
	color: #6f6f6f;
}

.region_heading {
	font-weight: bold;
}
	
div#header table {
	border: 0;
}
div#header table tr td {
	border: 0;
}
div#footer table {
	border: 0;
}
div#footer table tr td {
	border: 0;
	vertical-align: bottom;
}
td.actions {
	text-align: center;
	white-space: nowrap;
}
td.actions a {
	margin: 0px 6px;
}
.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
}

.tabnoborder {
	border: 0;
}
.tabnoborder tr td {
	border: 0;
}

.index table tr td {
	text-align: left;
}

.listing_left {
	background: #EAEAEA;
}

.listing_left tr td {
	text-align: left;
	width: 240px;
}

.listing_left tr td a {
	font-weight: bold;
}

.listing_right {
	background: #EAEAEA;
	width: 690px;
	padding: 2px;
	border-spacing: 1px;
}

.listing_right tr td {
	background: #EAEAEA;
	text-align: left;
}

.listing_right tr td.alignright {
	text-align: right;
}

.listing_right tr td a {
	font-weight: bold;
}

.smallfont {
	font-size: 65%;
}

.grey {
	color: #6f6f6f;
}

.strikethru {
	background: url(/img/linethrough.gif) repeat-x center left;
}

/* Menu */

#mainmenu {
	background: #00c;
	color: #fff;
	padding: 4px;
}
div#mainmenu a {
	background: #00c;
	color: #fff;
	text-decoration: none;
	padding: 4px;
}
div#mainmenu a:hover {
	background:#00f;
	color: #fff;
	text-decoration: none;
}

/* Paging */
div.paging {
	background:#fff;
	color: #ccc;
	margin-bottom: .5em;
}
div.paging div.disabled {
	color: #ddd;
	display: inline;
}
div.paging span {
}
div.paging span.current {
	color: #000;
}
div.paging span a {
}

/* Scaffold View */
dl {
	line-height: 2em;
	margin: 0em 0em;
	text-align: left;
}
dt.altrow, dd.altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}

/* Forms */
form {
	background: #ffc;
	clear: both;
	margin-right: 20px;
	padding: 0;
}
fieldset {
	border: 1px solid #ccc;
	margin: 0 0 10px 10px;
	margin-bottom: 20px;
	padding: 16px 10px;
}
fieldset legend {
	background:#ffc;
	color: #000;
	font-size: 120%;
	font-weight: normal;
}
fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	padding: .5em;
}
form div.input {
	color: #444;
}
form div.required {
	color: #333;
	font-weight: bold;
}
form div.submit {
	display: inline;
	border: 0;
	clear: both;
	margin-top: 10px;
}
label {
	padding-right: 20px;
	float: left;
	width: 10em;
}
input, textarea {
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 2px;
}
select {
	clear: both;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	padding: 0 3px;
}
input[type=radio] {
	float:left;
	margin: 2px 3px 7px 0;
}
div.radio label {
	margin: 0 0 6px 0;
	padding: 0 20px 0 0;
	width: auto;
}
input[type=submit] {
	display: inline;
	font-size: 110%;
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
}

.cbpermlabel {
	padding-right: 2px;
	float: none;
	width: auto;	
}

#SearchForm {
	background: transparent;
}

#SearchForm div {
	display: inline;
}

/* Stuff Form */
.form_title {
	background:#ffc;
	color: #000;
	font-size: 160%;
}
	
#stuff_form {
	background: #ffc;
	border: black outset;
	z-index: 1;
	top: 10px;
}

#stuff_form table {
	background: #ffc;
	border: 0;
	color: #000;
}

#stuff_form table tr td {
	background: #ffc;
	border: 0;
	text-align: left;
	padding: 0;
}
#stuff_form table tr td div {
	vertical-align: middle;
}

#stuff_form div.input {
	text-align: left;
}

.filter_form div {
	display: inline;
}

.filter_form label {
	padding-right: 5px;
	float: none;
	width: inherit;
}

/* Notices and Errors */
div.message {
	clear: both;
	color: #900;
	font-size: 140%;
	font-weight: bold;
	margin: 1em 0;
}
div.error-message {
	clear: both;
	color: #900;
	font-weight: bold;
}
p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}

/*  Actions  */
div.actions ul {
	margin: 0px 0;
	padding: 0;
}
div.actions li {
	display: inline;
	list-style-type: none;
	line-height: 2em;
	margin: 0 2em 0 0;
	white-space: nowrap;
}
div.actions ul li a {
	color: #003d4c;
	text-decoration: none;
}
div.actions ul li a:hover {
	color: #333;
	text-decoration: underline;
}

table.admin_menu {
	border: 0 none;
}

table.admin_menu th {
	padding: 4px;
}

table.admin_menu a {
	text-decoration: none;
}	

table.admin_menu a:hover {
	text-decoration: underline;
}	

table.admin_menu td {
	text-align: left;
	padding: 4px;
	border: 0 none;
}

table.admin_menu td p {
	padding: 3px;
}

table.list {
	border: 0 none;
}

table.list td {
	text-align: left;
	border: 0 none;
}

/* Related */
div.related {
	clear: both;
	display: block;
}

/* Stuff Form */
.form_title {
	background:#ffc;
	color: #000;
	font-size: 160%;
}
	
#stuff_form {
	background: #ffc;
	border: black outset;
	z-index: 1;
	top: 10px;
}

#stuff_form table {
	background: #ffc;
	border: 0;
	color: #000;
}

#stuff_form table tr td {
	background: #ffc;
	border: 0;
	text-align: left;
	padding: 0;
}
#stuff_form table tr td div {
	vertical-align: middle;
}

#stuff_table {
	/*width: 100%;*/
}


/* Auto complete */

div.auto_complete {
  position:absolute;
  width:250px;
  background-color:white;
  border:1px solid #888;
  margin:0px;
  padding:0px;
}
div.auto_complete ul {
  list-style-type:none;
  margin:0px;
  padding:0px;
}
div.auto_complete ul li.selected { background-color: #ffb;}
div.auto_complete ul li {
  list-style-type:none;
  display:block;
  margin:0;
  padding:2px;
  height:14px;
  cursor:pointer;
}

/* Debugging */
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
}
pre.cake-debug {
	background: #ffcc00;
	font-size: 120%;
	line-height: 140%;
	margin-top: 1em;
	overflow: auto;
	position: relative;
}
div.cake-stack-trace {
	background: #fff;
	border: 4px dotted #ffcc00;
	color: #333;
	margin: 0px;
	padding: 6px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px;
	padding: 1em;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #ff0;
	padding: 4px;
}
div.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
div.code-coverage-results div.covered span.content {
	background:#cec;
}
div.code-coverage-results div.ignored span.content {
	color:#aaa;
}
div.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
div.code-coverage-results span.line-num strong {
	color:#666;
}
div.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0px 1px;
	margin-top:30px;
	padding-top:5px;
}
div.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
div.code-coverage-results div.realstart {
	margin-top:0px;
}
div.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
div.code-coverage-results span.result-bad {
	color: #a00;
}
div.code-coverage-results span.result-ok {
	color: #fa0;
}
div.code-coverage-results span.result-good {
	color: #0a0;
}
