body {
	margin: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 20px;
	color: #333333;
	background-color: #ffffff;
}
input.withtext,
a {
	color: #0088cc;
	text-decoration: none;
}
input.withtext:hover,
a:hover {
	color: #005580;
	text-decoration: underline;
}


hr{
	border: 1px dotted #ccc;
	margin: 30px 0;
}




#navbar{
	position: relative;
	overflow: visible;
	margin-bottom: 10px;
	height: 55px;
	background-color: #1b1b1b;
	background-image: -moz-linear-gradient(top, #222222, #111111);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#111111));
	background-image: -webkit-linear-gradient(top, #222222, #111111);
	background-image: -o-linear-gradient(top, #222222, #111111);
	background-image: linear-gradient(to bottom, #222222, #111111);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff111111', GradientType=0);
	border-color: #252525;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
}

#navbar h1 a{
	width: 85px;
	height: 35px;
	display: block;
	position: absolute;
	left: 20px;
	top: 10px;
}

#navbar ul{
	margin-left: 120px;
}

#navbar ul > li{
	display: inline-block;
	margin-top: 20px;
	margin-left: 25px;
}

#navbar ul > li > a {
	color: #999999;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
#navbar ul > li > a:hover {
	color: #ffffff;
}
#container{
	padding: 5px 20px;
}

#container h1,
#container h2,
#container h3,
#container h4,
#container h5,
#container h6 {
	margin: 10px 0;
	font-family: inherit;
	font-weight: bold;
	line-height: 20px;
	color: inherit;
	text-rendering: optimizelegibility;
}
#container h1,
#container h2,
#container h3 {
	line-height: 40px;
}
#container h1 {
	font-size: 38.5px;
}
#container h2 {
	font-size: 31.5px;
}
#container h3 {
	font-size: 24.5px;
}
#container h4 {
	font-size: 17.5px;
}
#container h5 {
	font-size: 14px;
}
#container h6 {
	font-size: 11.9px;
}
#container ul,
#container ol {
	padding: 0;
	margin: 0 0 10px 25px;
}
#container ul ul,
#container ul ol,
#container ol ol,
#container ol ul {
	margin-bottom: 0;
}
#container li {
	line-height: 20px;
}
#container dl {
	margin-bottom: 20px;
}
#container dt,
#container dd {
	line-height: 20px;
}
#container dt {
	font-weight: bold;
}
#container dd {
	margin-left: 10px;
}


legend{
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 5px;
}
fieldset{
	margin-top: 10px;
	border-top: 1px dotted #eee;
}
.actionform fieldset{
	margin-top: 3px;
	border-top: 0;
}






/* ----- Action with icon only ----- */
a.add-row,
.delete-row,
.filetype,
.action{
	background-color: transparent;
	background-position: center center;
	background-repeat: no-repeat;
	display: inline-block;
	margin: 0;
	padding: 0;
	border: 0;
	width: 16px;
	height: 16px;
	overflow: hidden;
	text-indent: -9999px;
	cursor: pointer;
}

/* ----- Actions with text ----- */
a.add-row,
.filetype.withtext,
.status.withtext,
.action.button,
.action.withtext{
	background-position: left center;
	padding-left: 23px;
	width: auto;
	height: auto;
	overflow: visible;
	text-indent: 0;
	font-family: inherit;
	font-size: inherit;
}

/* ----- Action with button ----- */
.action.button{
	background-color: #ccc;
	background-position: 5px center;
	padding: 3px 7px 3px 25px !important;
	height: 34px !important;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font-weight: bold;
	display: inline-block;
}
a.action.button{	/* -- TODO: Figure out why we have to do this... -- */
	height: 24px !important;
	position: relative;
	top: -1px;
}
.action.linkpoandbill{
	background-image: url(../img/actions/sallary_deferrais.png);
}
.add-row,
.action.add{
	background-image: url(../img/actions/add.png);
}
.delete-row,
.action.delete{
	background-image: url(../img/actions/delete.png);
}
.action.details{
	background-image: url(../img/actions/details.png);
}
.action.edit{
	background-image: url(../img/actions/edit.png);
}
.action.print{
	background-image: url(../img/actions/print.gif);
}
.action.roll{
	background-image: url(../img/actions/roll.png);
}
.action.shipping{
	background-image: url(../img/actions/package.png);
}
.action.enable,
.action.save{
	background-image: url(../img/actions/enable.png);
}
.filetype.pdf{
	background-image: url(../img/filetypes/pdf.gif);
}
.filetype.xls,
.filetype.csv{
	background-image: url(../img/filetypes/xls.gif);
}
.filetype.doc,
.filetype.docx{
	background-image: url(../img/filetypes/doc.gif);
}
.actionform .inlinetext{
	border: 0;
	width: 20px;
	margin-bottom: 0;
}
.actionform input.withtext{
	color:#0088cc;
	text-decoration:none;
}
.actionform input.withtext:hover{
	color:#005580;
	text-decoration:underline;
}


p.errors{
	color: red;
	font-weight: bold;
}

ul.usermessages{
	font-size: 1.1em;
	font-weight: bold;
	list-style: none;
	margin-top: -10px;
	font-size: 90%;
}
ul.usermessages li{
	background: #FFFFCC url('../img/icon_info.gif') no-repeat .25em center;
	padding: 5px 5px 5px 25px;
	border-bottom: 1px dotted #ebb700;
}
ul.usermessages li.success{
	background: #EEFFEE url('../img/icon_success.gif') no-repeat .25em center;
	color: #115511;
}
ul.usermessages li.error{
	background: #FFCCCC url('../img/icon_error.gif') no-repeat .25em center;
}





/* ------ Breadcrumbs ------ */
#container #breadcrumbs{
	list-style: none;
	margin: 5px 0 20px 5px;
	padding: 0;
	font-size: .9em;
}
#container #breadcrumbs li,
#container #breadcrumbs li a{
	color: #888;
}
#container #breadcrumbs li{
	display: inline;
}
#container #breadcrumbs li:after{
	content: "\00A0\00A0\00BB\00A0\00A0";
}
#container #breadcrumbs li:last-child:after{
	content: "";
}


.discreet{
	color: #999;
	font-size: .9em
}
.discreet a{
	color: #66B3DD;
}


.dashboard>div{
	width: 33%;
	display:inline-block;
	vertical-align: top;
}

#footer{
	position: fixed;
	bottom: 0;
	left: 0;
	height: 18px;
	width: 100%;
	background: black;
	color: #ccc;
	text-align: center;
	font-size: .7em;
}
#footer a{
	color: #f1f1f1;
	margin-left: 20px
}
#container{
	margin-bottom: 30px;
}




/* --- Tables --- */
#container table{
	border: 1px solid #fdfdfd;
}
#container table th.tablenav{
	border-right: 1px solid #fdfdfd;
}
#container table tfoot td,
#container table tr th{
	background-color: #666;
	color: #f1f1f1;
}
#container table tr th a{
	color: #ffffff;
}
#container table thead tr th,
#container table tbody tr td{
	border-bottom: 1px solid #fdfdfd;
	padding: 5px;
}


#container table tbody tr:nth-child(odd) td{
	background-color: #f9f9f9;
}
#container table tbody tr:nth-child(even) td{
	background-color: #f1f1f1;
}
#container table tbody tr.odd td{
	background-color: #f9f9f9 !important;
}
#container table tbody tr.even td{
	background-color: #f1f1f1 !important;
}



/* ----- Quick Actions ----- */
.quickactions{
	border: 1px solid #ccc;
	float: right;
	padding: 0 10px 10px 10px;
	background: #f1f1f1;
}
#container .quickactions ul{
	list-style-type: none;
	margin: 20px 0 10px 0;;
	font-size: .9em;
	font-weight: bold;
}



/* ---------- New Orders ------------ */
#vendor label,
#address label,
.inline-popup label{
	display: inline-block;
	width: 130px;
}
.inline-popup .fields textarea,
.inline-popup .fields input,
.inline-popup select{
	width: 300px;
}
#customerinfo,
#infobox{
	margin-top: -45px;
	float: right;
	width: 300px;
	border: 1px dotted #ccc;
	padding: 10px;
}
#customerinfo h2,
#infobox h2{
	font-size: 18px;
	text-align: center;
}
#customerinfo img,
#infobox img{
	width: 150px;
	display: block;
	margin: 0 auto 10px auto;
}
#items table td{padding: 2px 5px}
.qty input{width: 50px}
.pn input{width: 160px}
.price input{width:55px}
.price{min-width: 155px}
.total{width: 120px; text-align:right;}
.listprice{display:none}
#total-submit{text-align:right;display:none;margin-top: 20px}
#subtotal{display:block; margin-bottom: 20px; font-weight:bold}
#total-submit ul.fields{margin: 0}
#commentsfield{text-align:left; float:left;}
#commentsfield textarea{margin-left:0;width: 650px; height: 100px}
#commentsfield label{display:none}
.invalid_form, .invalid_form td{background: #FFCCCC !important}
.invalid_field>*{border:2px solid red !important}


.action.coc{
	background-image: url(../img/coc.gif);
}
