/* Layout *************	*****/


#footer {
  	padding-left: 20px;
  	padding-right: 20px;
	text-align: center;
	background-color: #a60000;
	color: #fff;
}

#footer a, #footer a:visited {
	color: #fff;
}

#main-content {
	padding: 5px 10px;
	padding-bottom: 15px;
	margin: 0;
	clear: both;
}

#header {
	margin: 0px;
	padding: 5px 10px;
	height: 70px;
}

#header h1 a {
	background: transparent url(/static/images/logo2.png) no-repeat scroll 0%;
	height: 63px;
	text-indent: -9999em;
	width: 141px;
	overflow: hidden;
	float: left;
}

img { margin: 0; padding: 0; border: 0;}

#login-box {
	position: absolute;
	top: 10px;
	right: 10px;
	text-align: right;
}

#login-box form {
	padding: 0; margin: 0; border: 0;
}

.content-col {
	float:left;
	margin-right: 20px;
}

.text-col, .left-col {
	float:left;
	width: 48%;
/*	margin-right: 2%; this causes IE to show uneeded horizontal scroll bar */ 
	display: inline;
}

.right-col {
	float:right;
	width: 48%;
	margin-left: 2%;
	display: inline;
}

* html .right-col {
	margin-left: 1%;
}

/* Menu ********************/

#main-menu {
	position: absolute;
	left: 170px;
	top: 60px;
	height: 20px;
	float: left;
	/*background: url(/static/images/header_bg.png) #a60000 top left repeat-x;*/
	background-color: #a60000;
	padding: 0;
	margin: 0;
	overflow: hidden;
}

#main-menu ul, #main-menu li {
    height: 100%;
	padding: 0;
	margin: 0;
	float: left;
	list-style: none;
}

#main-menu a, #main-menu a:visited {
	height: 100%;
	color: #a60000;
	font-weight: bold;
	text-decoration: none;
	margin-right: 4px;
	text-align: center;
	background: #dedede;
	padding: 2px 10px;
	float: left;
	width: 6em;
}

#main-menu a.current, #main-menu a.current:hover, #main-menu a.current:visited {
	background-color: #fff;
	color: #a60000;
}

#main-menu a:hover {
	/*background-color: #ffc;*/
	color: #f00;
}

#menu {
	float: left;
	margin-bottom: 10px;
}

#menu ul, #menu li {
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
}

#menu a, #menu a:visited {
	float: left;
	text-align: center;
	margin-right: 4px;
	padding: 2px 10px;
	text-decoration: none;
	font-weight: bold;
	background-color: #dedede;
	color: #a60000;
	width: 7em;
}

#menu a:hover {
	color: #f00;
}

#menu a.current, #menu a.current:hover {
	color: #a60000;
	background-color: #aaa;
}

h1 {margin:0;padding:0;}

h2 {
	margin:5px 0 15px 0;
	padding: 0;
	color: #a60000;
	font-size: 200%;
	border-bottom: 2px dotted #a60000;
	padding-bottom: 2px;
	font-weight: bold;
	font-family: "Trebuchet MS", Verdana, Geneva, Arial, Helvetica, sans-serif;
}

h3 {
	color: #a60000;
	/*border-bottom: 1px dotted #a60000;*/
	font-size: 150%;
	font-family: "Trebuchet MS", Verdana, Geneva, Arial, Helvetica, sans-serif;
	margin: 10px 0;
	font-weight: normal;
}

h4 {
	font-size: 130%;
	font-weight: normal;
	color: #a60000;
	font-family: "Trebuchet MS", Verdana, Geneva, Arial, Helvetica, sans-serif;
	margin: 5px 0;
}

#tg_flash, #content { clear:both; }

/* Fonts *******************/

body {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 70%;
}

#login-box {
	font-size: 10px;
}

#login-box input {
	font-size: 10px;
	border: 1px solid #800;
	background-color: #fff;
}

#login-box input[type="submit"] {
	background-color: #dedede;
}

#login-box a, #login-box a:visited {
	color: #fff;
}


/* Colors ******************/

#header {
	/*background: url(/static/images/header_bg.png) #a60000 center left repeat-x;*/
	background: #a60000;
}

#main-content {
	background-color: #fff;
	
}

#login-box {
	color: #fff;
}

body {
	background-color: #dedede;
}

html {
	background-color: #dedede;
}

a, a:visited {
	color:#f00;
}

/* Misc ********************/

.flash {
	color: red;
	margin: 20px;
}

.add {
	background: #fff url(/static/images/icons/create.png) left no-repeat;
	padding-left: 20px;
	height: 16px;
	line-height: 16px;
}

.money {
	background: #fff url(/static/images/icons/money.png) left no-repeat;
	padding-left: 20px;
	height: 16px;
	line-height: 16px;
}

.warning {
	background: #fff url(/static/images/icons/error.png) left no-repeat;
	/*padding: 5px 5px 5px 24px;*/
	min-height: 16px;
	line-height: 16px;
	padding-left: 20px;
}

.quality-return { color: red; }
.quality-low { color: #f90; }
.quality-normal { color: blue; }
.quality-high { color: green; }

pre {
	font-size: 1.5em;
	margin: 0;
}

.refname {
	color: red;
}

/* Form ********************/

form {
	margin: 0; padding: 0;
}

.tableform {
}


.tableform table {
	padding: 10px;
	background: #fff;
	/*border: 1px solid #ddd;*/
	border-collapse: collapse;
}

.tableform th, .tableform td {
	text-align: left;
	vertical-align: middle;
}

.tableform .fielderror {
	color: red;
	font-size: 10px;
	display: block;
}

.tableform ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.radiobuttonlist, .checkboxlist {
	list-style: none;
	padding: 0;
	margin: 0;
}

.confirmform {
	text-align: center;
}

.confirmform .message {
	padding: 20px;
	min-width: 300px;
}

.onelineform ul, .onelineform li {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline;
}

.onelineform {
	margin-bottom: 10px;
}

.onelineform .fielderror {
	color: red;
}

.onelineform div {
	display: inline;	
}


/* Grid ********************/

.grid {
	background-color:#e3e3e3;
	border-collapse: collapse;
	border: 0px;
}

.grid td, .grid th {
	padding: 3px;
	border: 1px solid #bbb;
	vertical-align: middle;
}

.grid td img {
	vertical-align: middle;
}

.grid thead { text-align:center;background-color:#f0f0f0;color:#333;}
.grid tbody { background-color: #fff; }

.grid .odd{background-color:#edf3fe}
.grid .even{background-color:#fff}
.grid .actions {text-align:center;}

.grid caption {
	text-align: left;
	font-size: 130%;
	font-weight: bold;
	padding-bottom: 0.3em;
	color: #a60000;
}

/* Object data */
.objdata {
	background-color:#e3e3e3;
	border-collapse: collapse;
	border: 0px;
}

.objdata td, .objdata th {
	padding: 3px;
	border: 1px solid #bbb;
	vertical-align: middle;
}

.objdata th {
	background-color: #f0f0f0;
	text-align: left;
}

.objdata td {
	background-color: #fff;
}

/* Payment systems table */

#payment-systems-tbl {
	border-collapse: collapse;
}

#payment-systems-tbl td {
	padding: 20px;
	vertical-align: top;
	text-align: center;
}

#payment-systems-tbl ul {
    text-align: left;
}

/* Popup dialog */
.popup-dialog {
	background-color: #fff;
	padding: 0;
	display: none;
	z-index: 102;
	position: fixed;
	text-align: center;
}

* html .popup-dialog {
     position: absolute;
}

.popup-dialog h4 {
	text-align: center;
	/*background-color: #ddd;*/
	background-color: #a60000;
	color: #fff;
	font-weight: bold;
	margin: 0 0 10px 0;
	padding: 3px;
	margin: 0;
}

.popup-dialog form {
	margin: 10px;
}

.popup-dialog table {
	border: 0;
}

.popup-info {
	text-align: left;
	padding: 20px;
}

.popup-info input[readonly] {
	background-color: #fff;
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
}

#popup-overlay {
	position: fixed;
	z-index:100;
	top: 0px;
	left: 0px;
	background-color:#000;
	filter:alpha(opacity=20);
	-moz-opacity: 0.2;
	opacity: 0.2;
	height:100%;
	width:100%;
}

* html #popup-overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

.popup-stats {
}

/* Status message */

#status-message {
	position: fixed;
	top: 6px;
	/*right: 6px;*/
	z-index: 3000;
	/*opacity: 0.8;*/
}

* html #status-message {
	position: absolute;
}

#status-message div {
	margin: 0px;
	padding: 4px 54px 4px 74px;
	background-repeat: no-repeat;
	background-position: 54px;
	font-weight: bold;
	font-size: 12px;
}

#status-message div.success {
	background-color: #99CC99;
	border: 1px solid #006633;
	background-image: url("/static/images/icons/success.png");
}

#status-message div.error {
	background-color: #ff9;
	border: 1px solid #cc0;
	background-image: url("/static/images/icons/error.png");
}

#status-message div.loading {
	background-image: url(/static/images/loading.gif);
	background-color: #ffe;
	border: 1px solid #ccc;
}


/* FAQ */
.faq-question {
	font-weight: bold;
}
.faq-answer {
	/*padding-left: 2em;*/
}