#mainContent, .mainContent, div.preview
{
	/*clear: left;
	float: left;*/
	width: auto;
	overflow: hidden;
}
#sidebar, .sidebar
{
	float: right;
	clear: both;
	padding: 5px 0 0;
	margin: 0;
	width: 195px;
}
#categorysidebar
{
	list-style-type: none;
	text-align: left;	
}
#sidebar ul, #content .sidebar ul, .pages ul
{
	/*
	-moz-border-radius: 10px;
	-khtml-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	border-style: solid;
	border-width: 2px;
	margin: 10px 1px;
	padding: 8px 10px;
*/
	width: 180px;
	margin: 0;
	padding: 0;
}
#sidebar li, .sidebar li, #listButtons li, .pages li, #content .actions li
{
	display: inline;
}
#sidebar li a span, .sidebar li a span, #listButtons li a span, .pages li a span, #content .actions li a span
{
	display: block;
	position: relative;
	border-width: 0 1px;
	border-style: solid;
	margin: 0 -1px;
	padding: 2px 5px;
	font-weight: bold;
}
#sidebar li a, .sidebar li a, #listButtons li a, .pages li a, #content .actions li a
{
	display: block;
	position: relative;
	border-width: 1px 0;
	border-style: solid;
	margin: 2px 1px;
}
#topContent .text
{
	float: left;
	position: relative;
	top: 5px;
	padding: 0 5px;
}
#listButtons
{
	padding: 11px 0 20px;
}
.pages
{
	margin: 8px 0;
}
#listButtons, .pages
{
	clear: both;
}
#listButtons ul
{
	float: left;
}
#listButtons ul, .pages ul
{
	width: auto;
	overflow: hidden;
	position: relative;
}
.pages li
{
	margin: 0 1px;
	position: relative;
}
.results
{
	padding-top: 1px !important;
	width: 100%;	
}
.header
{
	padding: 10px 0 0 0;
	clear: both;
	width: auto !important;
}
li.row
{
	border-top-width: 1px;
	border-top-style: dotted;
	clear: both;
	margin: 5px;
}
.message
{
	padding: 10px 15px;
}
.description div
{
	clear: both;
}
li.row div.type
{
	float: right;
}
#content #mainContent .results ul, #topContent ul, ul.sorting
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.results li li
{
	border: medium none;
	clear: none;
}
img.preview
{
	border-width: 1px;
	border-style: solid;
	float: left;
	height: 80px;
	margin: 5px;
	width: 60px;
}
.results div.description
{
	float: left;
	width: 450px;
	padding: 1px 0 6px;
}

/* Categories */
li.category a
{
	line-height: 25px;
	margin: 3px 15px;
}

/* Client/Case Manager */

#content .actions
{
	float: right;
}
#listOptions
{
	padding: 15px 4px 0;
	position: absolute;
	right: 20px;	
}
#listOptions li
{
	float: left;
	margin: 0 4px 0 0;
}
#listOptions img
{
	vertical-align: -3px;
	padding: 0 5px 0 0;
}
div.caseType {
	font-weight: bold;
}

/* sorting options */
#content ul.sorting
{
	height: 14px;
	margin: 2px;
}
ul.sorting li
{
	border-right-width: 1px;
	border-right-style: solid;
	float: left;
	padding: 0 8px;
}
ul.sorting li.label, ul.sorting li.last
{
	border: none;
}
ul.sorting li.label
{
	padding: 0 0 0 8px;
}
ul.sorting
{
	/*float: left;*/
	position: relative;
	clear: both;
}
ul.sorting a
{
	position: relative;
	padding: 0 14px 0 2px;
}
.sort
{
	border-width: 5px;
	border-style: solid;
	position: absolute;
	right: 0 !important;
	right: 5px;
	line-height: 0;
	height: 0;
	cursor: pointer;
}
.asc
{
	bottom: 4px;
}
.desc
{
	top: 4px;
}
.previewBtn span
{
	width: 8px;
	text-align: center;
}