/*************************
    CORE STYLES
*************************/
body {
	background: url('../img/starscape.png') repeat #000;
	font-size: .9em;
	margin: 25px 0;
	text-align: center;
}

a {
	color: #9b2b21;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
h1,
#body-right h2 {
	background: url('../img/title-bar-l.jpg') no-repeat;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.1em;
	font-variant: small-caps;
	font-weight: bold;
	height: 25px;
	line-height: 28px;
	overflow: hidden;
	margin: .75em 0 .5em 0;
	padding: 0 1em;
}
h2 {
	color: #000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.1em;
	font-variant: small-caps;
	font-weight: bold;
	margin: 0;
	padding: 0;
}
h3 {
	color: #000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: bold;
	font-style: italic;
}
#body-right h2 {
	background: url('../img/title-bar-s.jpg') no-repeat;
	font-size: 1em;
	height: 21px;
	line-height: 24px;
}
h1 a,
#body-right h2 a {
	color: #fff;
}
img {
	border: 0;
}
p {
	margin: .5em 0;
}

/*************************
    CUSTOM STYLES - TEXT
*************************/
.error-message {
	color: red;
}
.back {
	float: left;
}
.down {
	margin-top: 1em;
}
.forward {
	float: right;
}
.left {
	text-align: left;
}
.up {
	margin-top: -1em;
}
.no-break {
	white-space: nowrap;
}
.note {
	font-size: .85em;
}
.right {
	text-align: right;
}
.subtle {
	opacity: .5;
}
h1 span,
#body-right h2 span {
	display: block;
	float: left;
	height: 25px;
}
/*
h1 span:first-letter,
h2 span:first-letter {
	font-size: 1.1em;
}
*/
h1 .text,
#body-right h2 .text {
	letter-spacing: .075em;
	padding-right: 1em;
}
h1 .decor,
#body-right h2 .decor {
	background: url('../img/title-bar-stripe-l.png') repeat-x;
	font-size: 0;
	width: 24px;
}
#body-right h2 .decor {
	background: url('../img/title-bar-stripe-s.png') repeat-x;
	width: 22px;
}
h1 + img.forward {
	margin: 0 0 1em 1.5em;
}

/*************************
    CUSTOM STYLES - TABLES
*************************/
table.fancy {
	background: url('../img/table-flat-bg.gif') repeat-y;
	border-collapse: collapse;
	width: 100%;
}
table.fancy + table.fancy {
	margin-top: 1em;
}
p + table.fancy {
	margin-top: .5em;
}
table.fancy thead {
	background: #ddd;
	font-family: Arial, Helvetica, sans-serif;
	font-variant: small-caps;
}
table.fancy thead a {
	display: block;
	text-decoration: none;
}
table.fancy tbody {
	background: url('../img/table-flat-top.gif') no-repeat;
}
table.fancy tr.even {
	background: #bbb;
}
table.fancy td {
	padding: .25em 1em .25em 0;
	vertical-align: top;
}
table.fancy td.toggle {
	cursor: pointer;
}
table.fancy td.toggle:hover {
	color: #9b2b21;
}
table.fancy td:first-child,
table.fancy th:first-child {
	padding-left: .5em;
}
#page-nav {
	background: url('../img/table-flat-bg.gif') repeat-y;
	font-size: .9em;
	margin: .5em 0;
	padding: .25em .5em;
}
#page-nav a {
	text-decoration: none;
}

/*************************
    CUSTOM STYLES - FORMS
*************************/
fieldset {
	margin: 1em 0 .5em 0;
	padding: 10px 5px;
}
fieldset .odd,
fieldset li:nth-of-type(odd) {
	background: url('../img/trans.png');
}
fieldset .even,
fieldset li:nth-of-type(even) {
	background: white;
}
fieldset li li,
fieldset li .odd,
fieldset li .even {
	background: none;
}
fieldset legend {
	color: #000;
	font-weight: bold;
}
fieldset ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
fieldset li {
	clear: left;
	list-style: none;
	padding: .125em 0 .125em 0;
	margin: 0;
}
fieldset li.odd,
fieldset li.even {
	padding: .125em .25em .125em .25em;
}
fieldset li>label:nth-of-type(1) {
	float: left;
	width: 15%;
}
#body-right fieldset li label {
	float: left;
	width: 30%;
}
fieldset li input,
fieldset li textarea {
	width: 80%;
}
fieldset li input.short,
fieldset li input[type=checkbox],
fieldset li input[type=file],
fieldset li input[type=radio],
fieldset li textarea.short,
fieldset li.submit input {
	width: auto;
}
fieldset li input.very-short {
	width: 75px;
}
fieldset li.submit,
fieldset li.no-label,
fieldset .error-message {
	padding-left: 15%;
}
#body-right fieldset li.submit,
#body-right fieldset li.no-label {
	padding-left: 30%;
}
fieldset  li.no-space {
	padding: .125em .25em .125em .25em;
}
.no-label label,
.checkbox label:nth-of-type(n) {
	float: none;
	width: auto;
}

/*************************
    SITE STRUCTURE
*************************/
#container {
	margin: 0 auto;
	text-align: left;
	width: 1000px;
}
#header {
	background: url('../img/header.gif') no-repeat;
	height: 100px;
}

#main-menu-wrapper {
	height: 29px;
}
#main-menu-wrapper img {
	display: block;
	float: left;
}
#sidebar-menu {
	background: url('../img/menu-right.gif') 20px no-repeat;
	display: block;
	float: left;
	height: 29px;
	padding-left: 20px;
	width: 280px;
}
#body {
	background: url('../img/body-bg.gif') repeat-y;
}
#body-right {
	background: url('../img/sidebar-bg.jpg') no-repeat;
	float: right;
	font-size: .9em;
	min-height: 290px;
	padding: 0 20px;
	width: 240px;
}
#body-left {
	background: url('../img/body-bg-2.jpg') no-repeat;
	min-height: 288px;
	padding: 1px 40px 1px 40px;
	position: relative;
	width: 620px;
}
.clearer {
	clear: both;
}
#footer {
	background: url('../img/footer.gif') no-repeat;
	font-size: .85em;
	height: 33px;
	line-height: 35px;
	padding: 40px 450px 0 125px;
	position: relative;
	text-align: center;
	width: 425px;
}
#footer #credit {
	right: 0;
	position: absolute;
	width: 280px;
}
#footer #credit a {
	color: #444;
}
#footer #feed-icon {
	height: 20px;
	opacity: .5;
	position: absolute;
	right: 10px;
	top: 45px;
	width: 20px;
	z-index: 10;
}
#footer #feed-icon:hover {
	opacity: 1;
}

.tip {
	color: #fff;
	width: 172px;
	z-index: 13000;
}
.tip-title {
	font-weight: bold;
	font-size: 11px;
	margin: 0;
	padding: 8px 8px 0 8px;
	background: url('../img/bubble.png') top left;
}
.tip-text {
	text-align: left;
	font-size: 11px;
	padding: 8px;
	background: url('../img/bubble.png') bottom right;
}
.addthis_toolbox {
	margin: 1em 0;
}

/*************************
    SIDEBAR - UPDATES
*************************/
#updates {
	list-style: none;
	margin: .5em 0;
	padding: 0;
}
#updates li {
	margin: 0 0 .5em 0;
}
#updates .date {
	color: #42485a;
	font-size: .85em;
}
#updates .date + p {
	margin-top: 0;
}
#updates a {
	color: #000;
	text-decoration: none;
}

/*************************
    SEARCH BAR
*************************/
#cse-search-box {
	line-height: 0;
	padding: 4px 0 0 20px;
}
#cse-search-q {
	background: url('../img/input-bg.gif') repeat-x;
	border: 1px solid #676767;
	border-bottom-color: #e5e5e5;
	border-right-color: #e5e5e5;
	font-size: 11px;
	height: 15px;
	line-height: 19px;
	padding: 2px;
	margin: 0;
	vertical-align: middle;
	width: 165px;
}
#cse-search-sa {
	background: url('../img/button-search.gif') no-repeat;
	border: 0;
	color: white;
	cursor: pointer;
	font-size: 10px;
	height: 21px;
	line-height: 19px;
	width: 55px;
}
#cse-search-sa:hover {
	opacity: .75;
}
#cse-search-results iframe {
	width: 620px;
}