/*
#17375E - really dark blue
#4F81BD - dark blue
#D0D8E8 - mid blue
#DCE6F2 - light blue
#E9EDF4 - lighter blue
#B9CDE5 - light border
#385D8A - dark border
#F2F2F2 - content bg

Verdana 8pt regular - Menu titles, menu text, links and text
*/

p.error,
p.success {
    border: 1px solid;
    font-size: small;
    margin: 0.5em;
    padding: 0.5em;
    width: 70%;
}
p.error {
    background: #FCC;
    border-color: #966;
    color: #633;
}
p.success {
    background: #CFC;
    border-color: #696;
    color: #363;
}
td#availability {
    color: #285;
    font-weight: bold;
}
td#availability.not-available {
    color: #F00;
}
textarea {
    font-size: small;
    padding: 0.2em;
}
th {
    padding-right: 1em;
    text-align: right;
}

/* NAVIGATION */

ul#navigation {
    list-style-type: none;
    margin: 0;
    padding: 1.75em 1em;
    text-transform: lowercase;
    width: auto;
}
ul#navigation a {
    font-size: medium;
    font-weight: bold;
    padding: 0.2em 0.5em;
}
ul#navigation a:hover {
    color: #c21731;
}
ul#navigation li {
    float: right;
}
ul#navigation li.access {
    float: right;
}

/* BOOKMARKS */

ol#bookmarks {
    list-style-type: none;
    margin: 0;
    padding: 0 1em;
}
html > body ol#bookmarks {
    margin: 0 1em;
    padding: 0;
}
div.link a {
    color: #9a9ca0;
    font-size: medium;
}
div.link a:hover {
    color: #c21731;
}

div.link a:visited {
    color: black;
}
div.meta {
    color: #285;
}
div.meta span {
    color: #F00;
}
li.xfolkentry {
    border-bottom: 1px solid #DDD;
    margin-bottom: 0;
    padding: 1em 0.5em;
}
html > body li.xfolkentry {
    border-bottom: 1px dotted #AAA;
}
li.xfolkentry div {
    padding: 0.1em;
}
li.xfolkentry.deleted {
    opacity: 0.5;
}
li.xfolkentry.private {
    border-left: 3px solid #F00;
}
li.xfolkentry.shared {
    border-left: 3px solid #FA0;
}

/* SIDEBAR */

div#sidebar {
    font-size: 10px;
}

/* TAGS */

p.tags {
    margin: 4px;
    text-align: justify;
    vertical-align: middle;
}
p.tags a,
p.tags span {
    color: #47A;
    margin-right: 0.5em;
}
p.tags span:hover {
    cursor: pointer;
    text-decoration: underline;
}
p.tags span.selected {
    background: #CEC;
}

/* PROFILE */

table.profile th {
    width: 10em;
}

/* OTHER GUFF */

dd {
	background: #CEC;
	border-right: 4px solid #ACA;
	color: #464;
	padding: 6px;
}
dd a {
	color: #464;
}
dd a:hover {
	color: #000 !important;
	text-decoration: underline !important;
}

dl {
	font-size: small;
	margin: 1em;
	width: 70%;
}
dl#profile dd {
	background: #CDE;
	border-color: #ABC;
	color: #247;
}
dl#profile dt {
	background: #BCE;
	border-color: #9AC;
	color: #245;
	display: block;
	font-weight: bold;
	padding: 6px;
}
dl#profile a {
	color: #446;
}
dl#profile a:hover {
	color: #000 !important;
	text-decoration: underline !important;
}
dl#meta dd {
	line-height: 1.5em;
}
dl#meta dt {
	background: #BDB;
	color: #353;
	display: block;
	font-weight: bold;
	padding: 6px;
}
dt {
	border-right: 4px solid #9B9;
}
dt a {
	background: #BDB;
	color: #353;
	display: block;
	font-weight: bold;
	padding: 6px;
}
dt a:hover {
    background: #ACA;
    border: 0;
}
form {
	margin: 0;
}
form#search {
	background: #FFF;
	color: #555;
	font-size: small;
	margin-bottom: 1em;
}
form label,
form td,
form th {
	font-size: small;
}
form table {
	margin: 0 1em;
}

li {
	font-size: small;
	margin-bottom: 0.5em;
}

p#sort {
    color: #CCC;
    font-size: small;
    float: right;
    margin: 0;
}
html > body p#sort {
    margin-right: 0.75em;
}
p#sort a {
    background: #AAA;
    color: #555;
    font-weight: normal;
    margin-right: 0.5em;
    padding: 0 1em;
}
html > body p#sort a {
    margin-right: 0;
}
p#sort a:hover {
    background: #CCC;
    text-decoration: none !important;
}
p#sort span {
    display: none;
}
p.paging {
	font-size: small;
	margin-left: 1em;
}
p.paging a,
p.paging span.disable {
	background: #888;
	color: #FFF;
	display: inline;
	margin-right: 0.5em;
	padding: 0.25em 1em;
}
p.paging a:hover {
	background: #666;
}
p.paging span {
	display: none;
}
p.paging span.disable {
	background: #DDD;
	color: #AAA;
}
div.collapsible p.tags {
	line-height: 2.25em;
	margin: 1em 2em;
}
th label {
	padding-right: 1em;
}

/*Suggest search results DIV*/
	div#searchResults {
	line-height: 1.6; 
	overflow: auto;
	max-height: 170px;
	height: expression(
		this.scrollHeight > 170? "170px" : "auto" );
	width: 55%;
	margin-top : -1px;
	float : none;
	visibility: hidden;
	position: absolute;
	color: #c21731;
	background-color: white;
	z-index: 1;
	border-style: solid;
	border-width: 1px;
	border-color: black;
	width: 500px;
}

	/*Highlighted category in search results list
	.highlight {
	  background-color: #515256;
	  color: white;
      cursor: pointer;
	}*/

/*Highlighted category in search results list*/
span.highlight {
	background-color: rgb(231,71,71);
	color: white;
	cursor: pointer;
	line-Height: 1.6;
	padding: 3px 4px;
/*	width: 278px; */
	margin: 0px;
}

	
span.cs {
	color: rgb(231,71,71);
	background-color: white;
	cursor: pointer;
	line-Height: 1.6;  
	padding: 3px 4px;
/*	width: 278px; */
	margin: 0px;
}

span.csSelect {
/*	color: rgb(255,0,0); */
	text-decoration: underline;
	font-weight: bold;
}	

/*             STYLES FOR THE STAR RATER                */	
	
	.zero-rating{
		margin: 0px;
		padding:0px;
		width: 20px;
		height: 22px;
		position: relative;
		cursor: hand;
		border:0px;
	}
	
	.unit-rating{
		list-style:none;
		margin: 0px;
		margin-left: 40px;
		padding:0px;
		width: 100px;
		height: 20px;
		position: relative;
		top:-24px;
		background: url('images/stars.gif') top left repeat-x;		
	}
	
	.unit-rating li{
	    text-indent: -90000px;
		padding:0px;
		margin:0px;
		/*\*/
		float: left;
		/* */
	}
	.unit-rating li a{
		display:block;
		width:20px;
		height: 20px;
		text-decoration: none;
		text-indent: -9000px;
		z-index: 20;
		position: absolute;
		padding: 0px;
	}
	.unit-rating li a:hover{
		background: url('images/stars.gif') left center;
		z-index: 2;
		left: 0px;
	}
	.unit-rating a.r1-unit{left: 0px;}
	.unit-rating a.r1-unit:hover{width:20px;}
	.unit-rating a.r2-unit{left:20px;}
	.unit-rating a.r2-unit:hover{width: 40px;}
	.unit-rating a.r3-unit{left: 40px;}
	.unit-rating a.r3-unit:hover{width: 60px;}
	.unit-rating a.r4-unit{left: 60px;}	
	.unit-rating a.r4-unit:hover{width: 80px;}
	.unit-rating a.r5-unit{left: 80px;}
	.unit-rating a.r5-unit:hover{width: 100px;}
	.unit-rating li.current-rating{
		background: url('images/stars.gif') left bottom;
		position: absolute;
		height: 20px;
		display: block;
		text-indent: -9000px;
		z-index: 1;
	}	
	
	
/*  TABBED CONTENT (e.g. manage.php) */


/* Contains the entire tabbed section */
.tabbed {
	width:100%;
	margin-top:15px;
	}

/* List of tabs */


.tabbed h4 {
	height: 32px;
	margin: 0;
	position: relative;
	top: 1px;
}

.tabbed h4 span.current {
	display: inline;
	background: #f2f2f2;
	border-bottom: 1px solid #f2f2f2;
	z-index: 2;
}

.tabbed h4 span {
	cursor: pointer;
	background: #d0d8e8;
	border: 1px solid #999;
	padding: 5px;
	display: block;
	float: left;
	height: 20px;
	margin-right: 5px;
}

/* The content shown when a tab is selected */
.tabbed div {
	display: block;
	width:88%;
}

.comment_thread, #bookmark_descriptions, #bookmark_ratings {
	width: 100%;
	border:1px solid #999;
	position:relative;
	padding:15px;
	padding-left:5px;
	margin-bottom:3px;
	overflow:hidden;
}

#bookmark_descriptions, #bookmark_ratings{
	width:80%;
}	
/*     END TABBED CONTENT     */