body, html
{
	background: #FFFFFF;
	height: 100%;	
	font-family: Helvetica, Arial, verdana;
	font-size: 12px;
	margin: 0px;
	padding: 0px;
	color: #111;
}

th{
	text-align: left;
}
td{
	vertical-align:top;
}

a
{
	text-decoration: underline;
	color: #000000;
}
a:hover
{
	text-decoration: underline;
	color: #333333;
} 

tr.totals 
{
	border-top: 1px solid #999;
}
tr.totals  td
{
	border-top: 1px solid #999;
	font-weight: bold;
}

img{
	border: 0px;
}

#wrapper
{
	width: 100%;
	background: #FFFFFF;
}

#contentLeft
{
	width: 200px;
	position: absolute;
	left: 10px;
	top: 0px;
	padding: 30px 50px 0px 0px;
}
#contentLeft ul
{
	list-style: none;
	margin: 0px;
	padding: 0px;
}
#contentLeft li
{
	list-style: none;
	border-bottom: 1px solid #F0F0F0;
	padding: 3px 3px 3px 23px;
	min-height: 20px;
	line-height: 20px;
	vertical-align: middle;
}
#contentLeft li img
{
	position: absolute;
	margin: 3px 0px 0px -23px;
}

#contentLeft li.head
{
	padding: 5px;
	border-bottom: 1px solid #CCC;
	font-weight: bold;
	margin-top:10px;
}
#contentLeft li.headImage
{
	padding: 5px 5px 5px 23px;
	border-bottom: 1px solid #CCC;
	font-weight: bold;
	margin-top:10px;
}

#contentLeft li a
{
	text-decoration: none;
}
#contentLeft li.selected a
{
	font-weight:bold;
}
#contentLeft li.top
{
border-bottom: 1px solid #CCC;
margin-bottom: 3px;
}
#contentLeft li:hover
{
	background: #EFEFEF;
}

#coolBar
{
	position: fixed;
	bottom:33px;
	left:11px;
	padding: 5px;
	border-top: 1px solid #CECECE;
	width: 208px;
	z-index: 99;
	background: #F9F9F9;
}

#content
{
	position: relative;	
	margin: 0px 30px 0px 250px;
}

#contentWrapper {
	position: absolute;
	border: 1px solid #555;
	border-top: 1px solid #555;
	background: url(../i/left_bg.png) repeat-y #FFF;
	bottom: 30px;
	left: 10px;
	right: 10px;
	top: 106px;
	overflow-y: auto;
	overflow-x:auto;
	border-radius: 3px;
	
}

#footer {
	color: #787878;
	font-size: 80%;
	line-height: 150%;
	position: absolute;
	bottom: 7px;
	left: 25px;
	right: 25px;
	z-index: 1;
}

#header
{
	
	
}

#logo
{
	background: url(../i/Logo.png);
	width: 163px;
	height: 80px;
	position: absolute;
	left: 10px;
	
}

/*       MENU         */

#menuTop a, #menuBottom a
{
	text-decoration: none;
}
#menuTop a.selected, #menuBottom a.selected
{
	font-weight:bold; 
}
#menuTop img
{
	position: relative;
	top: 3px;
}
#menuTop
{
	height: 25px;
	position: absolute;
	top: 80px; left: 10px; right: 10px;
	
}	
#menuTop ul 
{
	margin: 0px; padding: 0px;
	height: 25px;
	list-style: none;
}
#menuTop li
{
	height: 25px;
	list-style: none;

	float: left;
	background: #EFEFEF;
	margin: 0px 9px 0px 0px;
	padding: 0px 10px;
	vertical-align: middle;
	line-height: 25px;
	border-bottom: 1px solid #EFEFEF;
}
#menuTop li.selected
{
	border: 1px solid #555;
	border-bottom: 1px solid #E1E1E1;
	background: #E1E1E1;
	font-weight: bold;
}
#menuBottom
{
	height: 3px;
	position: absolute;
	top: 105px; left: 10px; right: 10px;
	background: #CCC;
	border-top: 1px solid #555:
}	


#loginForm
{
	margin: 50px auto 0px auto;
	position: relative;
	width: 400px;
	height: 300px;
	vertical-align: middle;
	padding: 90px 30px 30px 30px;
	background: url(../i/login.png) no-repeat;
}

#infoBox
{
	padding: 6px;
	position: absolute;
	left: 10px;
	right: 10px;
	top: 105px;
	z-index:1000;
	text-align: center;
	background: #C4FFC4;
	color: #000;
	font-weight: bold;
	vertical-align: middle;
	border: 1px solid #CCC;
}


.topSearch
{
	background: url(../../../i/icons/search_box.png) no-repeat center left; padding-left: 25px;
}	

#content tr:nth-of-type(2n), #invoiceSearchForm tr:nth-of-type(2n){
	background-color:#EFEFEF;
}

table.tr_click 
{
	width: 100%;
	*width: 97%;
	margin-bottom: 1em;
	border-collapse: collapse;
	empty-cells: show;

}
.tr_click
{
	cursor:pointer;
	border-collapse: collapse;
}
.tr_click tr:hover
{
	background: #CCCCCC;
}
.tr_click tr, .tr_click td
{
	text-align: left;
	padding: 2px 15px 2px 0px;
	margin: 0px;
	white-space: nowrap;
}
.tr_click th
{
	text-align: left;
	padding: 0px 15px 0px 0px;
	margin: 10px;
	white-space: nowrap;
	
}

.tr_hover tr:hover
{
	background: #CCCCCC;
}

.th_border_b th
{
	border-bottom: 1px solid #999;
	border-right:1px solid #999;
	border-left:1px solid #999;
}
.td_border_b td
{
	border-bottom: 1px solid #EFEFEF;
	border-right:1px solid #999;
	border-left:1px solid #999;
}

.CashBookIn
{
	background: #E8FFDD;
}
.CashBookOut
{
	background: #FFE3DD;
}



.inbetween
{
	
	margin: 15px 0px 5px 0px;
	padding: 0px 0px 5px 0px;
	border-bottom: 1px solid #999999;

	font-weight: bold;
}
.inbetween a
{
	text-decoration: none;
}
.inbetween a:hover
{
	text-decoration: underline;
}

.tr_mouseover tr:hover 
{
	background: #EFEFEF;
}

/* Display the matched option */
span.matchOption{
    background-color: #ffdead;
    font-size: 13px;
    padding-left: 5px;
}
/* High light the matched text */
span.matchText{
    font-weight: bold;
    background-color: #f4a460;
}

.inline
{
	display:inline;
}



input[type=text],input[type=submit],input[type=button],input[type=password],input[type=file],select,textarea
{
	border: 1px solid #999999;
	background: #FFFFFF;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	
}
input[type=submit],input[type=button]
{
	padding: 1px 10px 1px 10px;
}





/* ============FIELDSETS=================== */

fieldset
{
	background: #EFEFEF;
	margin: 10px 0px 10px 0px;
	-moz-border-radius: 8px; 
	-webkit-border-radius: 8px; 
	border-radius: 8px;
	border: 1px solid #CCCCCC;
}

fieldset fieldset
{
	background: #FFFFFF;
	margin: 5px 0px 5px 0px;
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px; 
	border-radius: 4px;
	border: 1px solid #CCCCCC;
}

.fieldsetLight
{
	background: #FFFFFF;
	margin: 5px 0px 5px 0px;
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px; 
	border-radius: 4px;
	border: 1px solid #CCCCCC;
}

/* =============================== */

.error
{
	margin: 10px;
	color: red;
}

.clear
{
	clear: both;
}

.right{
	text-align: right;
}
.bold
{
	font-weight: bold;
}
.hide
{
	display:none;
}
.show
{
	display:block;
}
.m10l{
	margin: 0px 0px 0px 10px;
}
.error{
	border: 2px solid red;
	background: white;
	color: black;
	padding: 3px;
	margin: 10px;
}
.invoice_actions
{
	text-align: center;
	margin-bottom:10px;
	text-align: justify;
	/*position: absolute;
	width:150px;
	background: white;
	margin: -12px 0px 0px 0px;
	-moz-border-radius: 8px; 
	border-radius: 8px;
	padding: 10px;
	border: 1px solid #CCCCCC;
	*/
}
.invoice_actions:hover td
{
	background:#FFF;
}
/*
.invoice_actions div
{
	width: 150px;
	margin: 5px 0px 5px 0px;
	height: 20px;
	line-height: 20px;
	-moz-border-radius: 3px; 
	border-radius: 3px;
	text-align: center;
	background: #CCCCCC;
	
}
.invoice_actions div:hover
{
	background: #666666;
	color: #FFFFFF;
}
.invoice_actions div:hover a
{
	color: #FFFFFF;
}
*/
.invoices{
	min-width:100%;
}
.invoiceTr
{
	cursor:pointer;
}
.invoiceTr:hover td
{
	background: #FFF;
}

/* ============== INVOICE STATUS BARS ================= */

.status0 /*Concept*/
{
	width: 100px;
	height: 15px;
	line-height: 15px;
	-moz-border-radius: 3px; 
	border-radius: 3px;
	text-align: center;
	background: #EEEEEE;
	border: 1px solid white;
}
.status1 /*Queue*/
{
	width: 100px;
	height: 15px;
	line-height: 15px;
	-moz-border-radius: 3px; 
	border-radius: 3px;
	text-align: center;
	background: #9EC4E2;
	border: 1px solid white;
}
.status2 /*Sent*/
{
	width: 100px;
	height: 15px;
	line-height: 15px;
	-moz-border-radius: 3px; 
	border-radius: 3px;
	text-align: center;
	background: #9EC4E2;	
	border: 1px solid white;
}
.status3 /*Part*/
{
	width: 100px;
	height: 15px;
	line-height: 15px;
	-moz-border-radius: 3px; 
	border-radius: 3px;
	text-align: center;
	background: #CCDB91;	
	border: 1px solid white;
}
.status4 /*Due*/
{
	width: 100px;
	height: 15px;
	line-height: 15px;
	-moz-border-radius: 3px; 
	border-radius: 3px;
	text-align: center;
	background: #FFB7B7;
	border: 1px solid white;
}
.status5 /*Paid*/
{
	width: 100px;
	height: 15px;
	line-height: 15px;
	-moz-border-radius: 3px; 
	border-radius: 3px;
	text-align: center;
	background: #B9FFA8;
	border: 1px solid white;
}
.status6 /*Credit*/
{
	width: 100px;
	height: 15px;
	line-height: 15px;
	-moz-border-radius: 3px; 
	border-radius: 3px;
	text-align: center;
	background: #B9FFA8;
	border: 1px solid white;
}

/* ============== INVOICE STATUS BARS ================= */


.border_radius8
{
	-moz-border-radius: 8px;
	-webkit-border-radius 8px;
	border-radius: 8px;
}
.border_radius4
{
	-moz-border-radius: 4px;
	-webkit-border-radius 4px;
	border-radius: 4px;
}



.ajaxHeader
{
	min-width: 400px;
	line-height: 20px;
	height: 20px;
	padding: 10px 0px 10px 45px;
	background: #CCCCCC;
	font-size: 18px;
	margin: 0px 0px 20px 0px;
}
.ajaxHeader img
{
	position: absolute;
	margin: -5px 0px 0px -40px;
	z-index: 2;
}




.error
{
	color: red;
}
.ok
{
	color: green;
}

.sameLine
{
    display: inline;
    margin: 0px;
    padding: 0px;
}
.nowrap{
    white-space: nowrap;
}