/* Ajax finder */
.finder
{
	width: 500px;
}

.finder.empty
{
	background: #fcc;
}

.finder_results
{
	border: 1px solid #999;
	background: #ddd;	
	text-align: left;
}

.finder_results .result
{
	padding: 3px;
	cursor: pointer;
}

.finder_results .result.active
{
	background: white;
}

.finder_results .result .match
{
	color: #900;
}

/* Observation finder */
.finder.observation
{
	padding: 0;
	margin: 10px 0 10px 0;
	width: 100%;
}


/* Student finder */
.finder_results .student.result
{
	clear: both;
	height: 50px;
	border-bottom: 1px dotted #ccc;
}

.finder_results .student.result img
{
	float: left;
	margin-right: 10px;
}

/* Person finder */
input.finder.person
{
	padding: 0;
}

.finder_results .person.result,
.finder_results .ad.result
{
	clear: both;
	height: 50px;
	border-bottom: 1px dotted #ccc;
	padding: 3px;
	background: none;
}

.finder_results .person.result.active,
.finder_results .ad.result.active
{
	background: #eee url('../img/result_bg.png') repeat-x 0 0;
}

.finder_results .person.result h2,
.finder_results .academic.result h2,
.finder_results .ad.result h2
{
	font-weight: normal;
	font-size: 1.4em;
}

.finder_results .person.result div,
.finder_results .academic.result div,
.finder_results .ad.result div
{
	font-size: 0.8em;
}

.finder_results .person.result span.label,
.finder_results .academic.result span.label,
.finder_results .ad.result span.label
{
	font-weight: bold;
}

.finder_results .person.result img,
.finder_results .ad.result img
{
	float: left;
	margin-right: 5px;
}





/* TABLES */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

thead td
{
	border-bottom:	1px solid #999;
	margin-bottom:	10px;
	font-size:		1.1em;
	padding-bottom:	5px;
}

tbody td
{
	padding-bottom: 3px;
	padding-top:	3px;
}

tfoot td
{
	border-top:		1px solid #ccc;
	padding:		4px 0 4px 0;
	font-weight:	bold;
}


table.bordered
{
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}

table.bordered td
{
	border: 0;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
}

table tr.separator td
{
	border-top: 1px dotted #ccc;
	padding-bottom: 10px; 
}

table tr.separator.hover
{
	background: none;
}

tbody tr.notice td
{
	padding:		2px 0 13px 0;
}

tbody tr.hover,
tbody tr:hover
{
	background: url('../img/tr_bg.gif') repeat-x 0 100%;
}

tbody tr.clicked
{
	font-weight: bold;
}


/* Tooltips */
.tooltipped
{
	cursor: help;
	font-size: 0.8em;
	border-bottom: 1px dotted #999;
	padding-left: 20px;
	background: url('../img/icons/bullet_error.png') no-repeat 0 50%;
}

.observationcheck
{
		background: url('../img/ok.gif') no-repeat 0 50%;
		border-bottom: 0px;
}

.observationfail
{
		background: url('../img/icons/exclamation.png') no-repeat 0 50%;
		border-bottom: 0px;
}




.tooltip
{
	width: auto;
	border: 1px solid #999;
	background: white;
	padding: 5px;
	font-size: 0.7em;
	opacity: 0.9;
}

/* Calendars */
button.datepicker
{
	margin: 0 0 0 6px;
	padding: 0;
	border: 0;
	width: 16px;
	height: 16px;
	background: transparent url('../img/calendar.gif') no-repeat 0 0;

	position: relative;
	top: -3px;
}

input.expense
{
	text-align: right;
}

.expense_reset
{
	font-size: 0.8em;
	font-weight: bold;
	padding-left: 5px;
}

.handle
{
	cursor: move;
}

textarea.disabled
{
	border: 1px solid #999;
	background: #eee;
	color: #666;
}

.failed
{
	color: red;
}

.missing
{
	color: orange;
	font-weight: bold;
}

.scroller
{
	overflow: auto;
}

/* observations / comments */
.comment
{
	margin: 0;
	padding: 10px 0 10px 0;
	border-bottom: 1px dotted #999;
}

.comment:hover
{
	background-color: #eee;
}

.comment .text
{
	margin: 5px 0 5px 0;
	font-style: italic;
}

/* FORUMS */
div.forum.post
{
	padding: 5px;
	margin-bottom: 20px;
	border: 1px solid #ccc;
}

div.forum.post img
{
	float: left;
	margin-right: 8px;
}

div.forum.post .options
{
	margin: 0;
	padding: 0;
	float: right;
}

div.forum.post .timestamp
{
	font-size: 10px;
}

div.forum.post .text
{
	font-size: 1.2em;
	margin: 5px 0 0 45px;
}


table.tree .tree_toggler td
{
	cursor: pointer;
}

/* Notifications */
ul.notifications
{
	list-style: none;
	margin: 0 0 20px 0;
	padding: 0;
}

ul.notifications li
{
	margin: 5px 0;
	padding: 5px 0;
	padding-left: 25px;
	background-position: 0 8px;
	border-bottom: 1px dotted #ccc;
}

ul.notifications li a
{
	color: #900;
}

ul.notifications li a.delete
{
	font-size: 12px;
	font-weight: bold;
	color: #900;
	margin-left: 20px;
}

ul.notifications li span.text
{
	font-size: 14px;
}

ul.notifications li span.time
{
	font-size: 10px;
	color: #666;
}

/* Grade slidebars */
ul.scalebar
{
	list-style: none;
	margin: 0;
	padding: 0;

	width: 90%;
	border: 1px solid #333;
	height: 15px;
	font-size: 10px;
	margin-left: 5%;
}

ul.scalebar li
{
	height: 15px;
	color: white;
	font-weight: bold;	
}

ul.scalebar li.min
{
	text-align: left;
	float: left;
	background: #CC2222;
}

ul.scalebar li.max
{
	text-align: right;
	background: #227722;
}

ul.scalebar li span.min_passing_value
{
	float: left;
	font-weight: normal;
	font-size: 8px;
	padding-top: 2px;
}

ul.grades
{
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 10px;
	
	margin-left: 5%;
	width: 90%;
}

ul.grades li
{
	display: block;
	height: 15px;
	font-size: 10px;
	text-align: center;
	color: white;
	font-weight: bold;
}

ul.grades li a
{
	color: white;
}

ul.grades li span.min,
ul.grades li span.max
{
	font-weight: normal;
	font-size: 8px;
	padding-top: 2px;
}

ul.grades li span.min
{
	float: left;
	text-align: left;
	padding-left: 4px;
}

ul.grades li span.max
{
	float: right;
	text-align: right;
	padding-right: 4px;
}

/* TabPane */
.tabpane
{
	margin-top: 50px;
}

.tabwrapper
{
	float:		left;
	width:		100%;
	overflow:	hidden;
	position:	relative;
}

ul.tablist
{
	clear:		left;
	float:		left;
	list-style:	none;
	margin:		0;
	padding:	0;
	position:	relative;
	left:		50%;
	text-align:	center;
}

ul.tablist li
{
	display:	block;
	float:		left;
	list-style:	none;
	margin:		0 2px;
	padding:	0;
	position:	relative;
	right:		50%;
}

ul.tablist li a
{
	display:			block;
	margin:				0 0 0 1px;
	padding:			3px 10px 5px 25px;
	color:				#333;
	text-decoration:	none;
	line-height:		1.3em;
	background-position:	3px 4px;
}

/* Tab notices */
.tabnotice
{
	width: 16px;
	height: 16px;
	font-weight: bold;
	font-size: 10px;
	color: white;
	background: #900;
	
	display: block;
	position: absolute;
	margin: 5px 0 0 5px;
}


ul.tablist li.active
{
	background:			#ddd;
}


.tab
{
	clear: both;
}

.tab .options
{
	list-style: none;
	margin: 0 0 0 0;
	height: 20px;
	padding: 5px 0 5px 0;
	text-align: center;
	background: #ddd;
}

.tab .options li
{
	display: inline;
	margin: 0 10px 0 10px;
}


.tab .content
{
	padding: 25px 20px 25px 20px;
	margin: 0 0 35px 0;
	background: url('../img/segment_bg.gif') repeat-x;	
}

.tab .segment
{
	background: none;
	padding: 0;
	margin: 0 0 50px 0;
}