* {
	margin: 0; padding: 0; }

html {
	width: 100%; height: 100%; }

body {
	background: #fff;
	font: 11px sans-serif;
	width: 1000px; margin: 0 auto; padding: 10px 20px; }

a {
	color: #06c; }

a:hover {
	text-decoration: none; }

h1 {
	color: #999;
	text-align: center;
	width: 1000px; margin: 20px auto 10px; }

p.cleaner {
	font-size: 1px; line-height: 1px;
	height: 1px;
	clear: both; }

hr {
	background: #999;
	height: 1px; border: none; }

/* ************************************************** */
/*                  Main menu stuff                   */
/* ************************************************** */

.main_menu {
	background: #C5C5C4 url('m.gif') bottom left repeat-x;
	height: 30px; border: 1px solid #404040; margin: 10px 0 20px;
	position: relative;
	list-style: none; 
	z-index: 10;
}

.main_menu li {
	color: #435a73;
	font-size: 12px; font-weight: bold; line-height: 30px;
	height: 30px; margin: 0; padding: 0 0 0 10px;
	float: left;
	position: relative;
	cursor: default; }

.main_menu a {
	color: #404040;
	text-decoration: none;
	cursor: pointer; }

.main_menu a:hover {
	color: #777; }

.main_menu li.float {
	height: 22px; padding: 4px 10px;
	float: right; }

.main_menu li.ballance {
	background: url('ballance.gif') no-repeat; color: #4e4c46;
	font: bold 11px Verdana, sans-serif; line-height: 21px; text-align: center;
	height: 21px; width: 301px; padding: 0; margin: 3px 20px 0 0;
	overflow: hidden; }

.main_menu img {
	border: none; }

.main_menu form {
	background: none;
	width: auto; margin: 0; padding: 0;
	}

.main_menu input {
	width: auto;
	float: left;
	}

.main_menu ul {
	background: #A6A5A6;
	display: none; border: 1px solid #404040; margin: -5px 0 0 -10px;
	width: 250px;
	position: absolute; left: 10px; top: 30px;
	list-style: none; }

.main_menu ul li {
	font-size: 12px; line-height: 16px;
	height: auto; padding: 3px 10px 3px 5px; margin: 0;
	float: none; clear: both;
	}

.main_menu ul a {
	display: block;
	margin: -3px -10px -3px -5px; padding: 3px 10px 3px 5px;
	}

.main_menu ul a:hover {
	background: #404040; }

.main_menu ul .separator {
	background: #404040;
	line-height: 1px;
	height: 1px; padding: 0; margin: 6px 5px;
	}

.main_menu li.active ul {
	display: block; }


/* ************************************************** */
/*               Something about forms                */
/* ************************************************** */

form {
	background: url('form.gif') no-repeat;
	width: 300px; margin: 0 auto 20px; padding: 10px; }

form h2 {
	color: #999;
	text-align: center;
	margin: 0 0 10px;
}

form h3 {
	color: #444;
	margin-top: 20px; }

form p {
	line-height: 14px;
	height: auto;
	clear: both; }

form label {
	font-weight: bold; text-align: right; line-height: 12px;
	width: 100px; margin-right: 10px;
	float: left; }

form label em {
	font-style: normal;
	color: #777; }

form p input, form p select, form p textarea {
	width: 170px; }

p.short {
	padding-left: 110px; }

form p.short input {
	width: auto; }

form p.code input {
	width: 60px; }

form .line select { width: 100px; }

form .buttons {
	background: url('bottom.gif') no-repeat;
	text-align: right;
	height: 30px; padding: 6px 10px 0; margin: 10px -10px -10px; }
	
	
form .buttons_300 {
	background: url('widebottom.gif') no-repeat;
	text-align: right;
	height: 30px; padding: 6px 10px 0; margin: 10px -10px -10px; }
	
form .buttons_300 input {
	background: url('button_300.gif');
	width: 250px; height: 22px; border: none; margin: 0 10px;
	}

form .buttons_300 input:hover {
	background-image: url('button2_300.gif'); }		
	
	
form .buttons_wide {
	background: url('bottom.gif') no-repeat;
	text-align: right;
	height: 30px; padding: 6px 10px 0; margin: 10px -10px -10px; }	

form .buttons input {
	background: url('button.gif');
	width: 76px; height: 22px; border: none; margin: 0 10px;
	}

form .buttons input:hover {
	background-image: url('button2.gif'); }
	
	
form .buttons_wide input {
	background: url('button.gif');
	width: 76px; height: 22px; border: none; margin: 0 10px;
	}

form .buttons_wide input:hover {
	background-image: url('button2.gif'); }	

form.wide {
	background-image: url('wideform.gif');
	width: 600px; }

form.wide .buttons {
	background: url('widebottom.gif'); }
	
form.wide2 .buttons {
	background: url('widebottom2.gif'); }		

form.w {
	background-image: url('w-form.gif');
	width: 450px; }

form.w label {
	width: 200px; }

form.w .buttons {
	background: url('w-bottom.gif'); }

form.pageflip {
	background: none;
	width: auto; text-align: right; }

/* ************************************************** */
/*                Not-so-nice tables                  */
/* ************************************************** */

table {
	background: #fff;
	width: 100%; border: 0px solid #555; margin: 0 auto 10px;
	border-collapse: collapse; }

table th {
	color: #333;
	background: #ccc url('th.gif') top left no-repeat;
	font: bold 12px sans-serif; line-height: 16px;
	height: 17px; }

table td {
	height: 17px; padding: 0 6px;
	background: url('1px.gif') top left repeat-y;
	vertical-align: center; }

table tr.even {
	background-color: #eee; }

table tr:hover {
	background-color: #ddd; }

table .inline {
	background: none;
	height: 15px; width: auto; padding: 1px 0; margin: 0; }

table .inline input {
	background: url('btn.gif') no-repeat; color: #d9d9d9;
	font-size: 10px; line-height: 15px;
	width: 80px; height: 15; padding: 0; border: none; }

table .inline input:hover {
	background: url('btn2.gif') no-repeat; color: #555;
	cursor: pointer; }

td.user {
  width: 70px;
}

td.date {
  width: 100px;
}

td.amount {
  width: 90px; text-align: right;
}

td.status {
  width: 70px; text-align: center;
}

td.actions {
  width: 100px;
}


	/* ************************************************** */
	/*                 Copyright place                    */
	/* ************************************************** */

p.footer {
	background: #C5C5C4 url('m.gif') bottom left repeat-x; color: #777;
	font-size: 10px; text-align: center; line-height: 20px;
	height: 20px; border: 1px solid #404040; margin: 20px 0 10px;
	cursor: default; }



/* LiveChat hell */
.main_menu div#sctATu a span#pstATul font b {
  color: #404040;
}

.main_menu div#sctATu a span#pstATul font b:hover {
  color: #777;
}

form.simple {
  background: none;
  width: auto;
  padding: 0; margin: 0 auto 1em;
}