body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
	margin: 0;
	padding: 0;
}

html {
	overflow-y: scroll;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

fieldset, img {
	border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {}

ol, ul {
	list-style: none;
}

caption, th {
	text-align: left;
}

h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: bold;
}

q:before, q:after {
	content: '';
}

abbr, acronym {
	border: 0;
}

/* set defaults for regular html */

body {
	font-family: Arial, sans-serif;
	font-size: 10pt;
	color: #fff;
	background: #000;
}

body#popup {
	background: #fff;
	text-align: left;
}

body#print {
	background: #fff;
	text-align: left;
}

h1 {
	font-size: 16pt;
	margin: 0 0 0.66em 0;
}

h2 {
	font-size: 13pt;
	margin: 0.66em 0;
}

h3 {
	font-size: 10pt;
	margin: 0.66em 0;
}

h4 {
	font-size: 10pt;
	margin: 0.66em 0;
}

p {
	margin: 0.66em 0;
}

a:link {
	text-decoration: underline;
	color: #fff;
}

a:visited {
	text-decoration: underline;
	color: #fff;
}

a:active {
	text-decoration: underline;
	color: #fc0;
}

a:hover {
	text-decoration: none;
}

ul {
	margin: 8px 0 8px 16px;
	padding: 0;
}

code {
	font-family: courier, monospace;
	background: #ccc;
}

form {
	margin: 0;
	padding: 0;
}

/* moz prevent border around flash */
object { 
	outline: none;
}

/* for clearing floating divs */

.clear {
	clear: both;
}

/* custom inline styles */

.alert {
	color: #c00;
}

.hilite {
	background: #ff6;
}

/* template structure */

#background {
	margin-top: 24px;
	background: #000 url(/images/background.jpg) top center no-repeat;
	padding: 16px;
}

#structure {
	margin: 16px auto 16px auto;
	width: 960px;
}

#structure-main {
	width: 732px;
	display: inline;
	float: left;
}

#structure-sidebar {
	width: 224px;
	display: inline;
	float: right;
	background: #111;
	line-height: 140%;
	border: 1px solid #333;
}

#structure-sidebar h1 {
	margin: 0 0 4px 0;
	border-bottom: 1px solid #333;
	font-size: 12pt;
}

#structure-sidebar h1 a {
	display: block;
	padding: 12px;
	margin: 0 0 0 0;
	text-align: center;
	color: #fff;
	text-decoration: none;
}

#structure-sidebar ul {
	margin: 0 8px;
	padding: 0;
}

#structure-sidebar ul li {
	margin: 12px 0;
	padding: 0;
}

#structure-sidebar ul li a {
	color: #777;
	padding: 8px;
	display: block;
	border: 1px solid #222;
	background: #111;
	text-decoration: none;
	text-align: right;
}

#structure-sidebar ul li a:hover {
	background: #222;
	text-decoration: none;
}

#structure-sidebar ul li a.psu {
	background:url(/images/h.png) no-repeat 10px center;
}

#structure-sidebar ul li a.psu:hover {
	background: #222 url(/images/h.png) no-repeat 10px center;
}


#structure-sidebar ul li a.rss {
	background:url(/images/rss.png) no-repeat 10px center;
}

#structure-sidebar ul li a.rss:hover {
	background: #222 url(/images/rss.png) no-repeat 10px center;
}


#structure-sidebar ul li a.dl {
	background:url(/images/dl.png) no-repeat 10px center;
}

#structure-sidebar ul li a.dl:hover {
	background: #222 url(/images/dl.png) no-repeat 10px center;
}


#structure-sidebar ul li a.fbs {
	background:url(/images/fbs.png) no-repeat 10px center;
}

#structure-sidebar ul li a.fbs:hover {
	background: #222 url(/images/fbs.png) no-repeat 10px center;
}


#structure-sidebar ul li a.my {
	background:url(/images/my.png) no-repeat 10px center;
}

#structure-sidebar ul li a.my:hover {
	background: #222 url(/images/my.png) no-repeat 10px center;
}


#structure-sidebar ul li a.tw {
	background:url(/images/tw.png) no-repeat 10px center;
}

#structure-sidebar ul li a.tw:hover {
	background: #222 url(/images/tw.png) no-repeat 10px center;
}

#structure-sidebar ul li a.bc {
	background:url(/images/bc.png) no-repeat 10px center;
}

#structure-sidebar ul li a.bc:hover {
	background: #222 url(/images/bc.png) no-repeat 10px center;
}

#fb-like {
	padding: 8px;
}


#content {
	padding: 8px 0;
	margin: 0px;
	min-height: 512px;
	height: auto !important;/* IE6 */
	height: 512px;/* IE6 */
}

#index {
}

#index #index-sidebar {
	display: inline;
	width: 248px;
	float: left;
}

#index #index-main {
	display: inline;
	width: 704px;
	float: right;
}

/* footer */

#footer-wrap {
	margin: 48px 0 8px 0;
}

#footer {
	border-top: 1px dotted #222;
	color: #777;
	padding-top: 8px;
	width: 960px;
	margin: auto;
	text-align: center;
	font-size: 9pt;
}

#footer a {
	color: #777;
}

#footer p#footer-information {
	float: right;
	display: inline;
	width: 208px;
	margin: 0;
	padding: 0;
	text-align: center;
}

#footer p#footer-links {
	float: right;
	display: inline;
	width: 450px;
	margin: 0;
	padding: 0;
	text-align: right;
}

/* web-app UI elements */

#controller {
	margin: 0 auto 4px auto;
	background: #ddd;
	color: #000;
	padding: 6px;
	-moz-border-radius: 4px;
}

#controller table {
	width: 100%;
}

#controller td {
	vertical-align: middle;
	height: 24px;
}

#controller h1 {
	color: #000;
	margin: 2px 0 0;
	font-size: 10pt;
}

#controller a {
	color: #000;
}

#controller a.controller-additem {
	float: right;
	display: block;
	text-align: center;
	padding: 1px 0 0 0;
	width: 102px;
	height: 21px;
	background: #666;
	border: 1px solid #666;
	color: #fff;
	margin-left: 8px;
	text-decoration: none;
}

#controller a:hover.additem {
	background: #fff;
	color: #000;
	text-decoration: underline;
}

#selector {
	background: #eee;
	margin-top: 4px;
	margin-bottom: 4px;
	padding: 4px;
}

#selector h1 {
	font-size: 10pt;
}

#selector a {
}

#selector a.selector-page-button {
	display: block;
	width: 20px;
	height: 20px;
	background: #333;
	text-align: center;
	border: 1px solid #555;
	text-decoration: none;
}

#selector a.selector-page-button:hover {
	background: #444;
}

#selector a.selector-page-button span {
	display: block;
	padding-top: 1px;
}

#selector table {
	width: 100%;
}

#selector table td {
	padding: 0;
}

#selector td.action {
	width: 60px;
	text-align: right;
	vertical-align: middle;
}

#selector td.action input.close {
	font-size: 8pt;
	width: 60px;
	font-weight: bold;
}

table#title {
	width: 100%;
	background: #eee;
	-moz-border-radius: 4px;
	margin: 0 auto 4px 0;
}

table#title td {
	vertical-align: middle;
}

table#title td.action {
	width: 60px;
	text-align: right;
	vertical-align: middle;
}

table#title td.action input.close {
	font-size: 8pt;
	width: 60px;
	font-weight: bold;
}

table#title td form {
	margin-top: 3px;
}

table#title td h1 {
	font-size: 10pt;
	background: none;
	color: #000;
	margin: 8px;
}

table#title td h1 a {
	color: #000;
}

#heirachy {
	margin-top: 4px;
	margin-bottom: 4px;
	border-top: 1px solid #ddc;
	border-bottom: 1px solid #ddc;
	background: #ffe;
	padding: 2px;
	font-size: 9pt;
}

/* dataset */

.dataset {
	margin: 4px 0;
}

.dataset table {
	border-top: 1px solid #ddc;
	border-bottom: 1px solid #ddc;
	width: 100%;
}

.dataset table td {
	vertical-align: top;
	padding: 2px;
}

.dataset thead {
	background: #ffe;
	border-bottom: 1px solid #ddc;
}

.dataset td.thead {
	background: #ffe;
	border-bottom: 1px solid #ddc;
}

.dataset td.odd {
	background: #fff;
}

.dataset td.even {
	background: #f6f6f6;
}

.dataset tfoot td {
	border-top: 1px solid #ddc;
	background: #ffe;
}

/* formbox */

/* formbox common */

.formbox {
}

.formbox h2 {
}


.formbox label.formbox-mandatory:before {
	content: "*";
	color: #c00;
}

.formbox label.formbox-invalid {
	display: block;
	color: #c00;
}

.formbox label.formbox-invalid:before {
	content: "";
}



.formbox input[type="button"], 
.formbox input[type="submit"] {
	padding: 4px;
}

.formbox input[type="text"], 
.formbox input[type="password"] {
	padding: 4px;
	width: 200px;
}

.formbox select {
	padding: 4px;
}

.formbox textarea {
	padding: 4px;
	width: 200px;
}

.formbox input[type="checkbox"] {
	padding: 4px;
	margin-right: 8px;
}

.formbox input[type="radio"] {
	padding: 4px;
	margin-right: 8px;
}

.formbox fieldset {
	border: 1px solid #ddd;
	margin: 8px;
	padding: 8px;
}

.formbox fieldset legend {
}

 /* formbox semantic */

.formbox p {
	padding: 8px 0;
	margin: 8px 0;
	line-height: 140%;
}

.formbox p:after {
	/* clearfix */
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.formbox p label {
	width: 40%;
	display: block;
	float: left;
	font-weight: bold;
	padding: 0;
	margin: 0 8px 0 0;
}

.formbox p label a {
	font-weight: normal;
}

/* formbox table */

.formbox table {
	width: 100%;
}

.formbox table td {
	vertical-align: top;
	padding: 4px;
}

.formbox table td:first-child {
}

.formbox table td p {
	padding: 4px 0;
}

.formbox table td ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.formbox table td ul li {
	margin: 4px 0;
	padding: 0;
}

