/**
 * General margins and paddings
 */
html, body, form, input, select, textarea, table, tbody, tr, td, img, h1, h2, h3, p, div, span {
	margin: 0px;
	padding: 0px;
}

h1, h2, p {
	line-height: 1em;
	margin: 1em 0px;
}


/**
 * Main styles
 */
body {
	background: #000000;
}

body, h1, h2, h3, p, span, div, tr, td, input, select, textarea {
	font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
	font-size: 12px;
	font-weight: normal;
}

body, h1, h2, h3, p, span, div, tr, td {
	color: #dadada;
	line-height: 1em;
}

h1, h2, h3, p, ul {
	line-height: 1.5em;
	margin: 0px 0px 1em 0px;
}

h1 {
	font-size: 18px;
	font-weight: bold;
}

h2 {
	font-size: 14px;
	font-weight: bold;
}

h3 {
	font-size: 12px;
	font-weight: bold;
}

a {
	color: #dadada;
}

a:hover {
	color: #b0b0b0;
}

object {
	background: #000000;
	margin: 0px;
	padding: 0px;
}

/**
 * Id styles
 */
#main {
	margin: auto;
	width: 960px;
	height: 600px;
}

#banner {
	height: 75px;
}

#banner h1.title {
	line-height: 75px;
	margin: 0px 0px 0px 110px;
	font-size: 22px;
	text-transform: uppercase;
}

#logo {
	margin: 20px 0px 0px 5px;
	position: absolute;
	background: transparent url(../images/logo.png) no-repeat top left;
	width: 116px;
	height: 171px;
}

#topBar {
	background: transparent url(../images/linksbar.png) repeat-x top left;
	height: 27px;
}

#topBar span {
	line-height: 27px;
}

#topLinksLeft {
	margin-left: 160px;
	float: left;
}

#topLinksRight {
	margin-right: 20px;
	float: right;
}

#topLinksLeft a {
	text-decoration: none;
	text-transform: uppercase;
	margin: 0px 15px 0px 0px;
}

#topLinksRight, #topLinksRight a {
	font-size: 10px;
}

#topLinksRight a {
	text-decoration: none;
	margin: 0px 0px 0px 15px;
}

#contentWrapper {
	background: transparent url(../images/content_bg.png) no-repeat top left;
	height: 468px;
	margin: 2px 0px;
}

#content {
	margin: 30px 0px 0px 150px;
	padding-right: 5px;
	width: 660px;
	height: 425px;
	overflow: auto;
}

#hmdText {
	background: transparent url(../images/hmd.png) no-repeat top left;
	float: right;
	margin: 5px;
	width: 41px;
	height: 146px;
}

#bottomBar {
	background: transparent url(../images/linksbar.png) repeat-x top left;
	height: 27px;
}

#bottomBar span {
	line-height: 27px;
	margin: 0px 10px;
}

#bottomBar span, #bottomBar span a {
	color: #909090;
	font-size: 10px;
	text-decoration: none;
}

#bottomBar span a:hover {
	color: #b0b0b0;
}

#bottomNotesLeft {
	float: left;
}

#bottomNotesRight {
	float: right;
}


/**
 * Class styles
 */
.editForm td {
	padding: 3px 0px;
}

.editForm label {
	margin-right: 5px;
}

.list {
	line-height: 1.5em;
}

.loginForm input, .loginForm select, .loginForm .separatorLine, .userForm input, .userForm select, .userForm .separatorLine {
	width: 200px;
}

.userForm textarea {
	width: 200px;
}

.userForm label {
	white-space: nowrap;
}

.loginForm .submit, .userForm .submit {
	width: auto;
}

table.cellsTop td {
	vertical-align: top;
}

table.cellsMiddle td {
	vertical-align: middle;
}

.separatorLine {
	border-top: 1px solid #dadada;
	height: 1px;
}

.singleNews {
	margin-bottom: 1.5em;
}

.clearBoth {
	clear: both;
}

.singleNewsTime {
	font-size: 11px;
	font-style: italic;
	float: right;
	margin-right: 3px;
}

.singleNewsTitle {
	font-weight: bold;
}

.singleNewsDescription {
	margin: 5px 10px 5px 20px;
	line-height: 1.5em;
	text-align: justify;
}

.singleNewsBottomLine {
	border-top: 1px solid #606060;
}

.successMessage {
	color: #33ff33;
	font-weight: bold;
}

.failureMessage, .failureMessage a {
	color: #dd0000;
	font-weight: bold;
}

.textEditor {
	width: 640px;
	height: 280px;
}

table.list {
	border-collapse: collapse;
	border: 2px solid #dadada;
	margin: 1px;
}

table.list th, table.list td {
	padding: 3px 10px;
	border: 1px solid #dadada;
	line-height: 1.5em;
}

table.list th a {
	display: block;
}

table.noWrapCells th, table.noWrapCells td {
	white-space: nowrap;
}

.disabled {
	color: #606060;
}

a.activeLink {
	color: #80e000;
}

.archiveSpan {
	display: block;
	width: 100px;
	margin: 10px;
	text-align: center;
	float: left;
	cursor: pointer;
}

.archiveSpan span {
	line-height: 1.3em;
}

.archiveSpan .archiveIcon {
	display: block;
	width: 100px;
	padding-top: 100px;
}

.archiveIconStar {
	background: transparent url(../images/star.png) no-repeat top left;
}

.archiveVideo {
	background: transparent url(../images/icons/video.png) no-repeat top center;
}

.archiveYoutube {
	background: transparent url(../images/icons/youtube.png) no-repeat top center;
}

.archiveDoc {
	background: transparent url(../images/icons/doc.png) no-repeat top center;
}

.archivePdf {
	background: transparent url(../images/icons/pdf.png) no-repeat top center;
}

.archiveZip {
	background: transparent url(../images/icons/zip.png) no-repeat top center;
}

.archiveFile {
	background: transparent url(../images/icons/file.png) no-repeat top center;
}

/* layers */

div.layer {
	position: absolute;
}

div.layer .layerWrapper {
	position: relative;
}

div.layer .layerTable {
	border-collapse: collapse;
	width: 100%;
}

div.layer .layerTable tr, .layerTable th, .layerTable td {
	empty-cells: show;
}	

div.layer .topCorner, .layer .topCorner div {
	width: 23px;
	height: 43px;
}

div.layer .topLeft {
	background: transparent url(../images/layer_norepeat.png) no-repeat 0px 0px;
}

div.layer .top {
	background: transparent url(../images/layer_repeatx.png) repeat-x 0px 0px;
	vertical-align: bottom;
}

div.layer .top .title {
	font-size: 15px;
	line-height: 30px;
}

div.layer .top .close {
	display: block;
	position: absolute;
	top: 13px;
	right: 13px;
	width: 32px;
	height: 30px;
	background: transparent url(../images/layer_norepeat.png) no-repeat -92px 0px;
}

div.layer .top .close:hover {
	background: transparent url(../images/layer_norepeat.png) no-repeat -124px 0px;
}

div.layer .topRight {
	background: transparent url(../images/layer_norepeat.png) no-repeat -23px 0px;
}

div.layer .left {
	background: transparent url(../images/layer_repeaty.png) repeat-y 0px 0px;
	vertical-align: top;
	height: 100%;
}

div.layer .leftTop {
	width: 10px;
	height: 95px;
	margin: 0px 0px 0px auto;
	background: transparent url(../images/layer_norepeat.png) no-repeat -221px 0px;
}

div.layer .content {
	background: #000000;
	padding: 10px;
	vertical-align: middle;
	text-align: center;
}

div.layer .contentLoading {
	background: #000000 url(../images/loader.gif) no-repeat 50% 50%;
}

div.layer .right {
	background: transparent url(../images/layer_repeaty.png) repeat-y -23px 0px;
	vertical-align: top;
}

div.layer .rightTop {
	width: 10px;
	height: 95px;
	margin: 0px auto 0px 0px;
	background: transparent url(../images/layer_norepeat.png) no-repeat -231px 0px;
}

div.layer .bottomCorner {
	width: 23px;
	height: 23px;
}

div.layer .bottomLeft {
	background: transparent url(../images/layer_norepeat.png) no-repeat -46px 0px;
}

div.layer .bottom {
	background: transparent url(../images/layer_repeatx.png) repeat-x 0px -43px;
}

div.layer .bottom a.resize div {
	display: block;
	position: absolute;
	bottom: 8px;
	right: 8px;
	width: 30px;
	height: 30px;
	padding: 0px 5px 5px 0px;
	background: transparent url(../images/layer_norepeat.png) no-repeat -156px 0px;
}

div.layer .bottom a.resize:hover div {
	background: transparent url(../images/layer_norepeat.png) no-repeat -186px 0px;
	cursor: nw-resize;
}

div.layer .bottomRight {
	background: transparent url(../images/layer_norepeat.png) no-repeat -69px 0px;
}

/* jQuery UI styles */

.ui-datepicker {
	z-index: 100;
	top: 0;
}