/*
 *****************************************
 * COLORS and FONT SIZES
 *****************************************
*/
div.rich-text,
#publication,
#documentInfo
{
	font-size: 12px;
}
/* links */
div.rich-text
	a,
#publication
	div.panel
		a
		{
			color: #0173bc;
		}
div.image-list
	span.title
	{
		font-size: 12px;
		color: #000;
	}
div.image-details
	div.description,
div.image-details
	dl
	{
		font-size: 12px;
	}
div.navigation
	li,
ul.authoring
		li,
ul.navigation
	li
	{
		font-size: 10px;
	}
div.navigation
	li
		strong,
ul.authoring
		li
			strong,
ul.navigation
	li
		strong
		{
			font-size: 10px;

		}
/* navigatin links */
/* TODO(dglazkov): this block defines "a" too widely, so I am clipping it out
                   must find out what this is for and refactor
                   

div.navigation
	a,
ul.navigation
	a,
ul.authoring
		a,
div.navigation
	a:visited,
ul.navigation
	a:visited
	{
		color: #000;
	}
/* navigatin hover color */
div.navigation
	a:hover,
ul.navigation
	a:hover,
ul.authoring
		a:hover,
div.navigation
	a:visited:hover,
ul.authoring
		a:visited:hover,
ul.navigation
	a:visited:hover
	{
		color: #0173bc;
	}
*/
/* peer navigation, next and previous */
div.peer-navigation
	ul
	{
		font-size: 10px;
	}
div.peer-navigation
	a,
div.peer-navigation
	a:visited
	{
		color: #000;
	}
div.peer-navigation
	a:hover
	{
		color: #0173bc;
	}
ul.commands
	a,
ul.commands
	a:visited
	{
		color: #000;
		font-weight: bold;
		font-size: 11px;
	}
/*
 *************************************
 * Publication
 *************************************
 */
/* Post by and on for publication article */
#publication
	span.Author
	{
		font-size: 10px;
		color: #999;
	}
/* article title */
#publication
	h4
	{
		font-size: 14px;
	}
#publication
	div.authoring
	{
		font-size: 12px;
	}
#publication
	span.View
		span.Abstract
		{
			font-size: 12px;
		}
/*
 *************************************
 * Calendar
 *************************************
 */
/* title */
#calendar
	h2
	{
		font-size: 13px;
	}
#calendar
	div.authoring
	{
		font-size: 12px;
	}
#calendar
	div.event
		div.description
		{
			color: #666;
			font-weight: normal;
		}
#calendar
	div.peer-navigation
		a
		{
			color: #000;
		}
/* day of week */
table.event-grid
	th
	{
		font-size: 0.85em;
		font-family: Verdana;
		background-color: #0173bc;
		color: #fff;
		letter-spacing: 2px;
	}
/* grid lines for month and week view */
table.event-grid
	td
	{
		border-bottom: 1px solid #0173bc;
		border-left: 1px solid #0173bc;
		border-right: 1px solid #0173bc;
	}
/* week number background */
table.event-grid
	td.week-count
	{
		font-family: Verdana
		font-size: 10px;
		background-color: #0173bc;
		
	}
/* week number link */
table.event-grid
	td.week-count
		a
		{
			color: #fff;
			font-size: 0.9em;
			font-weight: normal;
		}
/* today background for month and week view */
table.event-grid
	div.Today
	{
		background-color: #92b5df;
	}
/* day number */
table.event-grid
	div.numeric
		a,
table.event-grid
	div.numeric
		a:visited
		{
			color: #000;
		}
/* day cell in month and week view */
table.event-grid
	div.day
	{
		font-size: 10px;
	}
/* event link for day and list view */
div.event-range
	div.day
		a.url,
div.event-range
	div.day
		a.url:visited,
#calendar
	div.day
		div.events
			a.url,
#calendar
	div.day
		div.events
			a.url:visited
		{
			color: #0173bc;
		}
/* event link for month and week view */
table.event-grid
	div.day
		div.events
			a.url,
table.event-grid
	div.day
		div.events
			a.url
			{
				font-size: 10px;
			}
/* event day */
table.event-grid
	div.day
		a,
table.event-grid
	div.day
		a:visited
		{
			color: #000;
		}
/* event title, not today */
table.event-grid
	div.day
		span.summary
		{
			color: #0173bc;
		}
/* event title, today */
table.event-grid
	div.Today
		span.summary
		{
			color: #000;
		}
/* single event view */
div.event
{
	font-size: 12px;
}
/* list view */
div.event-range
{
	font-size: 12px;
}
/* day view */
div.events
{
	font-size: 12px;
}
/* list view event selector */
div.event-range-selector
{
	background-color: none;
	font-size: 14px;
}
/*
 *************************************
 * Document Collection
 *************************************
 */
#documentCollection
	div.authoring,
div.group
	div.authoring
	{
		font-size: 10px;
	}
div.search-collection
{
	background-color: none;
	font-size: 10px;
}
/*
 *************************************
 * category selector
 *************************************
 */
div.category-selector
{
	background-color: none;
	font-size: 10px;
}
div#category-editor
{
	font-size: 12px;
	background-color: #eee;
}
div.category-selector
	select.selected
	{
		background-color: #fc7a0f;
	}
/*
 *************************************
 * Directory
 *************************************
 */
#entry
{
	font-size: 12px;
}
#entry
	a
	{
		color: #000;			
	}
/*
 *************************************
 * Discussion
 *************************************
 */
div#discussion
	div.special,
div#post
	div.special
{
	border: solid 1px #FFDE7A;
	background-color: #FFF7E0;
}

div#discussion
	div.Posts
		h4.title
			a,
div#discussion
	div.Posts
		h4.title
			a:visited
			{
				font-size: 14px;
				text-decoration: none;
				color: #000;
			}
div#discussion
	div.Posts
		h4.title
			a:hover,
div#discussion
	div.Posts
		h4.title
			a:visited:hover
			{
				font-size: 14px;
				text-decoration: underline;
				color: #000;
			}
div.Form,
div.Form
	input.text
{
	font-size: 1.0em;
	font-family: monospace;
}
div#discussion div.Form ul	li
{
	display: block;
}
div#post div.entry div,
div.comments,
div.lastCommentPosted,
div.post-data,
div#post div.entry div#comment ol li div.meta
{
	font-size: 11px;
	color: #999;
}
div#post
	div.entry
		div.description,
div#post
	div.entry
		div#comments
		{
			font-size: 12px;
			color: #000;
		}
div#post
	div.entry
		div#comments
			ol
				li
				{
					background-color: #f8f8f8;
				}
div#post
	h5
	{
		font-size: 11px;
	}
div#discussion
	div.Posts
		li.entry
		{
			background-color: #f8f8f8;
		}
div#post-comment
	div.Form
		span.Command
			input,
div#post-comment
	div.Form
		span.Command
			a,
div#comment
	div.Form
		span.Command
			input,
div#comment
	div.Form
		span.Command
			a,
div#post
	div.Form
		span.Command
			input,
div#post
	div.Form
		span.Command
			a,
div#discussion
	div.Form
		span.Command
			input,
div#discussion
	div.Form
		span.Command
			a
			{
				color: #000;
				font-weight: bold;
				font-size: 0.8em;
			}
div#discussion
	div.Posts
		li.entry
			h4.title
			{
				font-size: .8em;
			}
div#post
	div#comments
		h5
		{
			font-size: 1.0em;
		}
div#post
	ul.authoring
		li
		{
			font-size: 0.8em;
		}
div.post-comment
	h4
	{
		font-size: 1.2em;
	}
/*
 *************************************
 * Extension Commands
 *************************************
 */
ul.commands
{
	margin: 0;
	padding: 0;
	list-style: none;
}
div.Commands
{
	margin: 0;
	padding: 0;
}
ul.commands
	li
	{
		float: left;
		margin: 0 10px 10px 0;
	}
div.Commands
	span
	{
		float: left;
		margin: 0 10px 10px 0;
	}
ul.commands
	a,
ul.commands
	a:visited
	{
		display: block;
		padding: 4px 0 0 0;
	}
/*
 ****************************************************
 * Grid - used for Directory and Document Collection
 ****************************************************
 */
div.grid
	div.visibility
	{
		margin: 0 2px 2px 2px;
		padding: 5px 10px 10px 10px;
	}
div.grid
	div.visibility
		ul
		{
			list-style: none;
			margin: 0;
			padding: 0;
		}
div.grid
	div.visibility
		li
		{
			padding: 0 0 0 16px;						
		}
div.grid
	div.visibility
		li.visible
		{
			background: url(../images/check-mark.gif) no-repeat 0 -5px;
		}
div.grid
	div.visibility
		li.reset
		{
			padding-top: 10px;
		}
div.grid
	div.visibility-trigger
	{
		text-align: right;
		margin: 0 2px;
		padding: 2px 5px 5px 5px;
	}
div.grid
	div.visibility-trigger
		span
		{
			cursor: pointer;
		}
div.grid
	div.visibility
	{
		display: none;
	}
div.grid
	div.segments
	{
		padding: 2px 5px 5px 5px;
	}
div.grid
	div.segments
		ul
		{
			list-style:none;
			margin: 0;
			padding: 0;
		}
div.grid
	div.segments
		li
		{
			display: inline;
			padding: 0 0.2em 0 0;
		}
div.grid
	table
	{
		width: 100%;
	}	
div.grid
	th
	{
		text-align: left;
		padding: 2px 5px 5px 5px;
	}
div.grid
	td
	{
		padding: 2px 5px 5px 5px;
	}
div.grid
	table
		th
			a.ascending,
div.grid
	table
		th
			a.ascending:visited
			{
				padding-right: 16px;
				background: url(../images/sort-ascending.gif) no-repeat right top;
			}
div.grid
	table
		th
			a.descending,
div.grid
	table
		th
			a.descending:visited
			{
				padding-right: 16px;
				background: url(../images/sort-descending.gif) no-repeat right top;
			}
/*
 *************************************
 * Document Collection document types
 *************************************
 */
div.grid td a.ResourceTitle {
	display: block;
	padding-left: 18px;
	background-image: url(../images/ico-document.gif);
	background-repeat: no-repeat;
	background-position: top left;
	background-color: transparent;
	height: 16px;
}
		
div.grid td	a.word		{ background-image: url(../images/ico-word.gif); }
div.grid td	a.excel		{ background-image: url(../images/ico-excel.gif);	}
div.grid td	a.powerpoint{ background-image: url(../images/ico-powerpoint.gif); }
div.grid td	a.access	{ background-image: url(../images/ico-access.gif); }
div.grid td	a.publisher	{ background-image: url(../images/ico-publisher.gif); }
div.grid td	a.graphic	{ background-image: url(../images/ico-graphic.gif); }
div.grid td	a.html		{ background-image: url(../images/ico-html.gif); }
div.grid td	a.pdf		{ background-image: url(../images/ico-pdf.gif); }
div.grid td	a.visio		{ background-image: url(../images/ico-visio.gif); }
div.grid td	a.text		{ background-image: url(../images/ico-text.gif); }
div.grid td	a.email		{ background-image: url(../images/ico-email.gif); }
div.grid td	a.archive	{ background-image: url(../images/ico-archive.gif); }
div.grid td	a.video		{ background-image: url(../images/ico-video.gif); }
div.grid td	a.audio		{ background-image: url(../images/ico-audio.gif); }
div.grid td	a.flash		{ background-image: url(../images/ico-flash.gif); }

/* field viewer */
div.field-viewer
	div.field
		div.name
		{
			font-weight: bold;
		}
div.field-viewer
	div.field
		div.value
		{
			padding: 0 0 10px 40px;
		}
div.field-viewer
	div.field
		a
		{
			display: block;
			padding-bottom: 10px;
		}
div.field-viewer
	dl.properties
	{
		margin: 0;
		padding: 0;
	}
div.field-viewer
	dl.properties
		dd
		{
			margin: 0;
			padding: 0 0 10px 40px;
		}
div.panel
	dl
	{
		margin-top: 0;
		margin-bottom: 0;
	}

div.panel
	dl
		dd
		{
			display: block;
			margin: 0;
			padding: 0 0 10px 10px;
		}
div.panel
	dl
		dt
		{
			display: none;
		}
div.field-viewer
	dl.properties
		dt
		{
			display: block;
			font-weight: bold;
		}
div.navigation
	ul,
ul.authoring,
ul.navigation
	{
		margin: 5px 0;
		padding: 5px;
		list-style: none;
		border-top: 2px dotted #eee;
		border-bottom: 2px dotted #ccc;
	}
div.navigation
	li,
ul.navigation
	li
	{
		display: inline;
		padding: 0 2px 0 10px;
		margin: 0;
		background: url(../images/bullet-tiny-black.gif) no-repeat 2px 4px;
	}
div.navigation
	li
		strong,
ul.authoring
		li
			strong,
ul.navigation
	li
		strong
		{
			font-weight: bold;
		}
/* TODO(dglazkov): this block defines "a" too widely, so I am clipping it out
                   must find out what this is for and refactor
                   
    
div.navigation
	a,
ul.navigation
	a,
ul.authoring
		a,
div.navigation
	a:visited,
ul.navigation
	a:visited
	{
		white-space: nowrap;
		text-decoration: none;
	}
div.navigation
	a:hover,
ul.navigation
	a:hover,
ul.authoring
		a:hover,
div.navigation
	a:visited:hover,
ul.authoring
		a:visited:hover,
ul.navigation
	a:visited:hover
	{
		text-decoration: underline;
	}
*/
div.navigation
	li.first,
ul.authoring
		li.first,
ul.navigation
	li.first
	{
		background: none;
		padding-left: 0;
	}
div.Input
{
	padding-bottom: 10px;
}
/*
 *************************************
 * Directory - group and entry
 *************************************
 */
div.search-collection
{
	margin: 5px 2px 0 2px;
	padding: 5px 10px 10px 10px;
}
div.search-collection
	div.field
	{
		display: inline;
	}
div.group
{
	padding: 0 10px;
}
#entry
{
	padding: 0 10px;
	margin: 0 0;
	padding: 0 0;
}
#entry
	div.functions,
#entry
	div.panel
	{
		margin: 0 0;
		padding: 0 0;
	}
#entry
	div.functions
		ul
		{
			zoom: 1;
			margin: 0 0;
			list-style: none;
			padding: 0 0;
		}
#entry
	div.functions
		ul
			li
			{
				margin: 0 0;
				padding: 0 0;
			}
#entry
	div.functions
		dl
		{
			padding: 0 0;
			margin: 0 0;
			border: 0;
		}
#entry
	div.functions
		dt
		{
			margin: 0 0;
			padding: 0 0;
			font-weight: bold;
		}
#entry
	div.functions
		dd
		{
			margin: 0 0;
			padding: 0 0 0 10px;
		}
#entry
	div.functions
		dd.Groups
		{
			padding-bottom: 10px;
		}
#entry
	div.functions
		dd
			a
			{
				font-weight: normal;
				text-decoration: none;
				margin: 0;
				padding: 4px 0 4px 24px;
				display: block;
			}
#entry
	div.functions
		dd
			a:visited
			{
				font-weight: normal;
				text-decoration: none;
				margin: 0;
				padding: 4px 0 4px 24px;
				display: block;
			}
#entry
	div.functions
		dd.Groups
			a
			{
				background: url(../images/Group.gif) no-repeat scroll left 3px;
			}
#entry
	div.functions
		dd.Categories
			li
			{
				font-weight: normal;
				padding: 4px 0 4px 24px;
				display: block;
				background: url(../images/Tag.gif) no-repeat scroll 4px 3px;
			}
/*
 *************************************
 * search results
 *************************************
 */
div.Search
	ul.search-type
	{
		list-style: none;
		margin: 5px 0 5px 10px;
		padding: 0;
	}
div.Search
	ul.Result
	{
		list-style: none;
		margin: 20px 0 0 0;
		padding: 0;
	}
div.Search
	ul.Result
		li.Page
		{
			padding: 0 0 5px 20px;
			background: url(../images/search-page.gif) no-repeat 0 -1px;
		}
div.Search
	ul.Result
		li.Link
		{
			padding: 0 0 5px 20px;
			background: url(../images/search-link.gif) no-repeat 0 -1px;
		}
/*
	Reports
*/
div#reports
	.heading
	{
		font-size: 1.4em;
	}
div#reports
	.heading
		.params
		{
			font-size: .8em;
		}
/*
 *************************************
 * Discussion
 *************************************
 */
ul.authoring
	li
	{
		display: inline;
		padding-right: 20px;
	}
ul.authoring
	li
		a
		{
			padding-left: 14px;
		}
ul.authoring
	li
		a.AddPost,
ul.authoring
	li
		a.AddComment,
ul.authoring
	li
		a.add
		{
			background: url(../images/add.gif) no-repeat left 2px;
		}
ul.authoring
	li
		a.Edit,
ul.authoring
	li
		a.edit
		{
			background: url(../images/edit.gif) no-repeat left 2px;
		}
ul.authoring
	li
		a.Delete,
ul.authoring
	li
		a.delete
		{
			background: url(../images/delete.gif) no-repeat left 2px;
		}
div#discussion
	div.special,
div#post
	div.special
{
	padding: 15px 0px 10px 20px;
	margin: 0 0 10px 0;
}
div#discussion
	div.Posts
		ol
		{
			list-style: none;
			padding: 0;
			margin: 0;
		}
div#discussion
	div.Posts
		li.entry
		{
			background: url(../images/comment.gif) no-repeat left 8px;
			padding-left: 14px;
			padding-bottom: 6px;
			margin-bottom: 0;
		}
div#discussion
	div.Posts
		li.entry
			h4.title
			{
				text-decoration: underline;
				margin-bottom: 0;
				padding: 6px 0 1px 0;
;
			}
div#discussion
	div.Posts
		div.comments
			a,
div#discussion
	div.Posts
		div.comments
			.lastCommentPosted
			{
				display: inline;
			}
div#discussion
	div.Posts
		div.comments
			.lastCommentPosted
			{
				padding-left: 6px;
			}
div#discussion
	div.Posts
		li.entry
			div.description
			{
				margin-bottom: 6px;
			}
div#post
{
	padding-top: 0;
}
div#post
	div#comments
		h5
		{
			display: block;
			margin: 0;
			padding: 6px 0 6px 0;
		}
div#post
	div.entry
		div
			div.posted,
div#discussion
	div#comments
		div.lastCommentPosted
		{
			display: inline;
		}
div#discussion
	div#comments
		div.lastCommentPosted
		{
			padding-left: 6px;
		}

div#discussion
	div.Posts
		ul.authoring
		{
			padding-left: 0;
			border: none;
		}
div#discussion
	div.Posts
		ul.authoring
			li,
div#post
	ul.authoring
		li
		{
			background: none;
			padding-left: 0;
		}
div#post
	h5
	{
		margin-bottom: 0;
	}
div.posted,
div#post
	div.meta
	{
		padding-bottom: 5px;
	}
div#post
	div.entry
		div.description 
		{
			padding-top: 0;
		}
div#post
	div.entry
		div#comments
			ol
			{
				list-style: none;
				padding: 0;
				margin: 0;
			}
div#post
	div.entry
		div#comments
			ol
				li
				{
					background: url(../images/comment.gif) no-repeat left 8px;
					padding-left: 14px;
					padding-bottom: 5px;
					margin-bottom: 5px;
					border: none;
				}
div#post
	div.entry
		div#comments
			ol.replies
			{
				margin: 5px 0 0 0;
			}
div#post
	div.entry
		div#comments
			ol.replies
				li
				{
					background: url(../images/reply.gif) no-repeat left 2px;
					padding-left: 17px;
					padding-bottom: 0;
					
				}
div#post
	div.entry
		div#comments
			ul.authoring
			{
				padding-left: 0;
				border: none;
			}
div#post
	div.entry
		div#comments
			ul.authoring
				li
				{
					background-image: none;
					padding-left: 0;
				}
div#post
	div.entry
		div#comments
			ul.authoring
				li
					a.delete
					{
						background: url(../images/delete.gif) no-repeat left 2px;
						padding-left: 14px;

					}
div.post-comment
{
	margin-top: 20px;
}

div.post-comment
	h4
	{
		padding: 0;
		margin: 0 0 7px 0;
	}
div.post-comment
	div.Form
		li
			div.Value
				textarea
				{
					height: 70px;
				}
	
div#post-comment
	div.Form
		h4,
div#comment
	div.Form
		h4,
div#post
	div.Form
		h4,
div#discussion
	div.Form
		h4
		{
			padding-left: 100px;
		}
div#post-comment
	div.Form
		ul,
div#comment
	div.Form
		ul,
div#post
	div.Form
		ul,
div#discussion
	div.Form
		ul
		{
			list-style-type: none;
			padding: 0;
			margin: 0;
		}
div#post-comment
	div.Form
		ul
			li,
div#comment
	div.Form
		ul
			li,
div#post
	div.Form
		ul
			li,
div#discussion
	div.Form
		ul
			li
			{
				list-style: none;
				display: inline-block;
				padding-top: 3px;
				padding-bottom: 3px;
			}
div#post-comment
	div.Form
		li
			div.Name,
div#comment
	div.Form
		li
			div.Name,
div#post
	div.Form
		li
			div.Name,
div#discussion
	div.Form
		li
			div.Name
			{
				width: 200px;
				padding: 0 10px 0 0;
			}
div#post-comment
	div.Form
		li
			div.Value
				input,
div#post-comment
	div.Form
		li
			div.Value
				textarea,
div#comment
	div.Form
		li
			div.Value
				input,
div#comment
	div.Form
		li
			div.Value
				textarea,
div#post
	div.Form
		li
			div.Value
				input,
div#post
	div.Form
		li
			div.Value
				textarea,
div#discussion
	div.Form
		li
			div.Value
				input,
div#discussion
	div.Form
		li
			div.Value
				textarea
				{
					width: 66%;
				}

div#post-comment
	div.Form
		div.Commands,
div#comment
	div.Form
		div.Commands,
div#post
	div.Form
		div.Commands,
div#discussion
	div.Form
		div.Commands
		{
			padding: 5px 0 0 0;
		}
div#post-comment
	div.Form
		span.Command,
div#comment
	div.Form
		span.Command,
div#post
	div.Form
		span.Command,
div#discussion
	div.Form
		span.Command
		{
			vertical-align: top;
		}
div#post-comment
	div.Form
		span.Command
			input,
div#post-comment
	div.Form
		span.Command
			a,
div#comment
	div.Form
		span.Command
			input,
div#comment
	div.Form
		span.Command
			a,
div#post
	div.Form
		span.Command
			input,
div#post
	div.Form
		span.Command
			a,
div#discussion
	div.Form
		span.Command
			input,
div#discussion
	div.Form
		span.Command
			a
			{
				display: block;
				padding: 4px 0 0 0;
			}
div.tags
	h3
	{
		padding: 1.5em 0 0 0;
		margin: 0;
	}
div.tags
	ul
	{
		list-style: none;
	}
div.tags
	li
	{	
		font-weight: normal;
		padding: 4px 0 4px 24px;
		display: block;
		background: url(../images/Tag.gif) no-repeat scroll 4px 3px;
	}

/*
================================================================================
* Reports
================================================================================
*/
div#reports
{
	padding: 0 10px 0 10px;
}

div#reports
	.heading
	{
		text-align: center;
		font-weight: bold;
		padding: 5px 0 5px 0;
		border-bottom: solid 1px #696969;
	}
	
div#reports
	.heading
		.params
		{
			text-align: center;
			font-weight: bold;
			padding: 5px 0 0 0;
		}
		
