html, body {
	margin: 0;
	padding: 0;
	font-family: arial, sans-serif;
	font-size: 10pt;
	text-align: center;
}

html {
	background: 0 0 url('gray.png') repeat-x;
	overflow-y: scroll;
}

td {
	vertical-align: top;
	font-size: 10pt;
	empty-cells: show;
}

h1, h2, h3, h4, h5, h6 {
	padding: 0;
	margin: 0;
}

a,
label,
a:link,
a:active,
a:visited {
	color: #436c88;
	text-decoration: none;
}
label {
	cursor: pointer;
}

a:hover,
label:hover {
	color: #537c98;
}

img {
	vertical-align: bottom;
	border: 0;
}

form {
	margin: 0; 
	padding: 0;
}

textarea, input {
	border: 1px solid #ccc;
	font-family: arial, sans-serif;
	font-size: 10pt;
	padding: 0 2px;
}

input[type=radio] {
	border: 0;
}

input.button {
	padding: 0 5px 0 20px;
	background-color: #ddd;
	background-position: 2px 50%;
	background-repeat: no-repeat;
}

input.button:hover {
	background-color: #eee;
}

/* SKEL */
#skel {
	position: relative;
	width: 995px;
	margin: auto;
	text-align: left;
}

/* HEAD */
#head {
	position: relative;
	height: 100px;
	padding: 0 5px;
	background: #2e2e2e url('banner.png');
	text-align: right;
	color: #bbb;
}

#head a,
#head a:link,
#head a:visited,
#head a:active,
#head a:hover {
	color: white;
}

#head h1 {
	display: none;
	/*
	text-align: right;
	font-size: 12px;
	font-weight: normal;
	color: white;
	*/
}

/*
#head h1 a,
#head h1 a:link,
#head h1 a:visited,
#head h1 a:hover {
	color: #bbb;
}
*/

#head h2 {
	display: none;
	/*
	position: relative;
	top: -0.3em;
	left: -0.05em;
	text-align: right;
	color: #404040;
	font-family: arial black, arial, sans-serif;
	font-weight: bolder;
	font-size: 34px;
	text-transform: uppercase;
	margin-bottom: 3px;
	*/
}

#head .info {
	padding-top: 66px;
}

#head .logout {
	font-weight: bold;
}

/* NAV */
#nav {
	float: left;
	width: 153px;
	padding: 1px 0 15px 0;
	overflow: hidden;
}

#nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#nav ul li {
	display: block;
	width: 100%;
	padding: 0 4px 2px 14px;
	height: 1.2em;
	white-space: nowrap;
	background: 2px 5px url('arrow_close.png') no-repeat;
}

#nav ul li.head {
	padding: 2px 2px 0px 3px;
	background: #616161;
	border-top: 1px solid black;
	color: white;
	font-size: 18px;
	font-weight: normal;
}

#nav ul li.project {
	padding: 0 2px 0 14px;
}

#nav ul li.closed {
	padding: 0 2px 0 14px;
	background: 2px 5px url('arrow_close.png') no-repeat;
}

#nav ul li.open {
	font-weight: bold;
	padding: 0 2px 0 14px;
	background: 0 5px url('arrow_open.png') no-repeat;
}

#nav ul li.item {
	padding: 0 2px 0 28px;
	font-style: italic;
	background: none;
}

#nav ul li a {
	display: block;
	height: 1em;
}

/* METADATA */

.metadata {
	float: right;
	width: 153px;
	padding: 0;
	overflow: hidden;
}

.metadata ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.metadata ul li {
	display: block;
	width: 100%;
	padding-bottom: 2px;
	height: 1.2em;
	white-space: nowrap;
}

.metadata ul li.head {
	padding: 2px 2px 0px 3px;
	background: #616161;
	border-top: 1px solid black;
	color: white;
	font-size: 18px;
	font-weight: normal;
}

/* CONTENT */
#content {
	float: right;
	width: 840px;
	padding: 1px 0 15px 0;
}

#content h1 {
	color: #666;
	font-size: 34px;
	margin: -7px 0 0 0;
}

#content h2 {
	font-size: 12pt;
	color: #888;
	margin-top: 1em;
	padding-left: 1em;
}

#content h3 {
	font-size: 10pt;
	font-weight: bold;
	margin-top: 1em;
}

input.search {
	padding-left: 20px;
	background: 0 50% url('../../images/search16.png') no-repeat;
}

.toolbar {
	margin: 5px 0;
	padding: 2px 0;
}

.toolbar a {
	background-color: white;
	padding: 2px 5px 2px 5px;
	font-style: italic;
}

/* LOGIN / LOGOUT */

#login {
	position: absolute;
	width: 300px;
	left: 347px;
	text-align: center;
}

#login table.login {
	position: relative;
	left: 30px;
}

#login h1 {
	display: none;
}

#login .lostpassword {
}

#login .small {
	color: #ccc;
}

input.user {
	padding-left: 20px;
	background: 0 50% url('../../images/user16.png') no-repeat;
}

input.email {
	padding-left: 20px;
	background: 0 50% url('../../images/email16.png') no-repeat;
}

input.password {
	padding-left: 20px;
	background: 0 50% url('../../images/key16.png') no-repeat;
}

input.login,
input.submit {
	background-image: url('../../images/ok16.png');
}

input.logout {
	background-image: url('../../images/exit16.png');
}

input.no {
	background-image: url('../../images/delete16.png');
}

input.reset,
input.cancel {
	background-image: url('../../images/undo16.png');
}

/* ERROR */

#error {
	padding: 1px 3px 3px 2px;
	border: 2px solid red;
}

/* MSG */

.msg {
	padding: 2px 3px 3px 2px;
	border: 2px solid #436c88;
}

.small {
	font-size: 8pt;
}

.dialog {
	position: absolute;
	text-indent: 5px;
	margin: 0;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: white;
	overflow: auto;
}

/* Tables */

table {
	border-collapse: collapse;
}

tr.head td {
	background-color: #616161;
	color: white;
	font-weight: bold;
}

tr.head td a,
tr.head td a:link,
tr.head td a:visited,
tr.head td a:active,
tr.head td a:hover {
	color: white;
}

tr.odd td {
	background-color: #f8f8f8;
}

tr.even td {
	background-color: #e8e8e8;
}

tr.medialist {
	height: 100px;
	border-collapse: collapse;
}

tr.medialist td {
	border-bottom: 1px solid white;
	padding-left: 2px;
	background: 0 0 url('bar.png') repeat-x;
	color: white;
}

tr.medialist td.thumbnail {
	width: 103px;
	height: 103px;
	padding: 2px;
}

tr.medialist td.thumbnail img {
	border: 1px solid white;
}

tr.medialist td.actions {
	width: 115px;
	padding: 0;
	background: 0 0 url('menu.png') no-repeat black;
}

tr.medialist td.actions a,
tr.medialist td.actions a:link,
tr.medialist td.actions a:visited,
tr.medialist td.actions a:active {
	display: block;
	width: 110px;
	padding: 3px 2px 2px 2px;
	color: black;
}

tr.medialist td.actions a:hover {
	color: #436c88;
}

tr.medialist td.actions .show {
	background: 2px 3px url("../../images/play16.png") no-repeat;
}

tr.medialist td.actions .comments {
	background: 2px 3px url("../../images/comments16.png") no-repeat;
}

tr.medialist td.actions .download {
	background: 2px 3px url("../../images/download16.png") no-repeat;
}

tr.medialist td.actions .modify {
	background: 2px 3px url("../../images/edit16.png") no-repeat;
}

tr.medialist td.actions .delete {
	background: 2px 3px url("../../images/delete16.png") no-repeat;
}

tr.medialist td.actions .show:hover img.icon { visibility: hidden; }
tr.medialist td.actions .comments:hover img.icon { visibility: hidden; }
tr.medialist td.actions .download:hover img.icon { visibility: hidden; }
tr.medialist td.actions .modify:hover img.icon { visibility: hidden; }
tr.medialist td.actions .delete:hover img.icon { visibility: hidden; }

tr.medialist td.info {
	padding-left: 8px;
}

tr.medialist td.info .project {
	font-size: 16px;
	color: #c1c1c1;
}

tr.medialist td.info .title {
	font-size: 24px;
	color: white;
	font-weight: normal;
}

tr.medialist td.info .title a,
tr.medialist td.info .title a:hover {
	color: white;
}

tr.medialist td.info .length {
	font-size: 18px;
	position: relative;
	height: 1em;
	color: #6f6f6f;
}

tr.medialist td.info .small {
	position: relative;
	color: #bbb;
	height: 2em;
	top: 1em;
	vertical-align: bottom;
}

tr.medialist td.info .small a,
tr.medialist td.info .small a:link,
tr.medialist td.info .small a:visited,
tr.medialist td.info .small a:active {
	color: white;
	text-decoration: underline;
}

tr.medialist td.info .small a:hover {
	color: #eee;
}

tr.video td.info {
	background: 100% 0 url('bar_video.png');
}

tr.image td.info {
	background: 100% 0 url('bar_image.png');
}

tr.audio td.info {
	background: 100% 0 url('bar_audio.png');
}

.abbr {
	border-bottom: 1px dotted;
}

.reply {
	margin-bottom: 15px;
}

.reply .small {
}

.reply .text {
	padding: 5px 0 5px 30px;
	font-style: italic;
}

.reply .attachment {
	padding: 0 0 0 40px;
}

/* Planner */
.planner {
	position: relative;
	overflow: auto;
	height: 250px;
	background-color: #eee;
}

.planner table {
	empty-cells: show;	
}

.planner .months .month {
	background-color: #000;
	color: white;
	font-weight: bold;
	text-indent: 4px;
}

.planner .days .day {
	font-size: 8pt;
	background-color: #888;
}

.planner .days .day div {
	border-left: 1px solid black;
}

.planner .days .weekend {
	background-color: #444;
}

.planner .days .today {
	background-color: #f44;
}

.planner .hours .hour {
	background-color: #888;
	height: 4px;
}

.planner .hours .hour div {
	border-left: 1px solid black;
	width: 2px;
	height: 4px;
}

.events .day_mark {
	height: 20px;
	border-left: 1px solid black;
}

.planner .odd td {
	background-color: #ccc;
}

.planner .even td {
	background-color: #ddd;
}

#planner_popup {
	font-size: small;
	width: 300px;
	height: auto;
	overflow: auto;
	background-color: white;
	border: 1px solid black;
	padding: 0.5em;
}

#planner_popup .text {
	width: 100%;
	height: 2.5em;
	overflow: hidden;
}

#planner_popup .options {
	margin: 5px 0;
	padding: 2px 0;
}

#planner_popup .options a {
	padding: 2px 5px 2px 5px;
	font-style: italic;
}

#planner_popup .showmore {
	text-align: center;
}

.user_color {
	display: inline-block;
	height: 1em;
	width: 5px;
	border-width: 1px;
	border-style: solid;
}

form .user_color {
	cursor: pointer;
	width: 2em;
}
