html, body {
    /*height: 100%;*/
}

body {
	margin: 10px;
	font-family: verdana;
	font-size: 12px;
	margin: 5px;
	background: #eee url(/images/logo_background_eee.png);
	background-attachment: fixed;
	background-position: 200px 50px;
	background-repeat: no-repeat;
}

div#nav {
	float: left;
	width: 155px;
	background-color: #aaa;
	padding: 0px 3px 2px 0px;
	margin-bottom: 10px;
}

div#navcontent {
	width: 154px;
	background-color: #fff;
	border: 1px solid #777;
}

div#navcontent h1 {
	font-size: 1.0em;
	text-align: center;
	border-bottom: 1px solid #777;
	padding-top: 3px;
	padding-bottom: 3px;
	margin: 0;
	background-color: #ccf;
}

div#navcontent ul, div#navcontent ul li ul {
	padding: 0;
	margin: 0;
}

div#navcontent ul li {
	list-style: none;
	border-bottom: 1px solid #777;
}

div#navcontent ul li ul li {
    list-style: none;
    /*border-top: 1px solid #777;*/
    border-bottom: none;
    padding-left: 10px;
}

div#navcontent ul li a, div#navcontent ul li span {
	display: block;
	padding: 3px;
	text-decoration: none;
	color: #000;
	width: 100%;
}

html>body #navcontent li a, html>body #navcontent li span {
	width: auto;
}

div#navcontent ul li span, html>body #navcontent li span {
    font-style: italic;
    text-decoration: underline;
}

#navcontent li a:hover {
	background-color: #ff7;
}

#navcontent ul li.current {
	background-color: #ff7;
	font-weight: bold;
}

#navcontent ul li.current a {
}

div#content {
	margin-left: 160px;
	min-height: 580px;
	padding-bottom: 10px;
}

div#content h1 {
	font-size: 14px;
	font-weight: bold;
	border-bottom: 2px solid #777;
	padding: 5px;
}

div#content h2 {
	font-size: 12px;
	font-weight: bold;
	font-style: italic;
}

div#footer {
	position: relative;
	clear: both;
	height: 30px;
	border-top: 1px solid #aaa;
	text-align: center;
	margin-top: 10px;
	font-size: 10px;
	color: #777;
}

div#divDisablePageOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #777;
    opacity: 0.6;
    /*filter:alpha(opacity=60);*/
    z-index: 3;
}

div#divLoadingPageOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 3;
}
div#divShade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #777;
    opacity: 0.6;
    /*filter:alpha(opacity=60);*/
	z-index: 1;
}

div#divLoading {
	position: static;
	border: 1px solid #777;
	background-color: #fff;
	width: 118px;
	top: 200px;
	margin-left: auto;
	margin-right: auto;
	z-index: 2;
}


div#divConfirmDelete {
    position: fixed;
	top: 200px;
	left: 50%;
    width: 350px;
	margin-left: -175px;
    background-color: #aaa;
    padding: 0px 3px 2px 0px;
    z-index: 4;
}

div#divConfirmDelete div {
    width: 349px;
    background-color: #fff;
    border: 1px solid #777;
    z-index: 5;
}

div#divConfirmDelete div h1 {
    font-size: 1.1em;
    text-align: left;
    border-bottom: 1px solid #777;
    padding: 3px;
    margin: 0;
    background-color: #ccf;
    z-index: 6;
}

div#divRecordAction {
	position: fixed;
	top: 50px;
	left: 40px;
	background-color: #aaa;
	padding: 0px 3px 2px 0px;
	z-index: 7;
}

div#divAddLog {
	position: fixed;
	/* top: 419px; */
	/* left: 954px; */
	top: 150px;
	left: 150px;
	background-color: #aaa;
	padding: 0px 3px 2px 0px;
	z-index: 11;
}

div#divAddLog div {
	background-color: #fff;
	border: 1px solid #777;
	z-index: 12;
}

div#divAddLog div h1 {
	font-size: 1.1em;
	text-align: left;
	border-bottom: 1px solid #777;
	padding: 3px;
	margin: 0;
	background-color: #ccf;
	z-index: 13;
}

div#divViewLog {
	position: fixed;
	top: 50px;
	left: 40px;
	background-color: #aaa;
	padding: 0px 3px 2px 0px;
	z-index: 7;
}

div#divViewLog div {
	background-color: #fff;
	border: 1px solid #777;
	z-index: 8;
}

div#divViewLog div h1 {
	font-size: 1.1em;
	text-align: left;
	border-bottom: 1px solid #777;
	padding: 3px;
	margin: 0;
	background-color: #ccf;
	z-index: 9;
}


div#divAssignUsers {
	position: fixed;
	top: 50px;
	left: 40px;
	background-color: #aaa;
	padding: 0px 3px 2px 0px;
	z-index: 7;
}

div#divAssignUsers div {
	background-color: #fff;
	border: 1px solid #777;
	z-index: 8;
}

div#divAssignUsers div h1 {
	font-size: 1.1em;
	text-align: left;
	border-bottom: 1px solid #777;
	padding: 3px;
	margin: 0;
	background-color: #ccf;
	z-index: 9;
}


.align_top {
	vertical-align: top;
}

.align_middle {
	vertical-align: middle;
}

.align_bottom {
	vertical-align: bottom;
}

.align_left {
    text-align: left;
}

.align_center {
    text-align: center;
}

.align_right {
    text-align: right;
}

.text_bold {
    font-weight: bold;
}

.text_italic {
    font-style: italic;
}

.text_normal {
	font-weight: normal;
	font-style: none;
}

.nowrap {
	white-space: nowrap;
}

.site_hidden {
    visibility: hidden;
}

.site_removed {
    display: none;
}

.clickable {
    cursor: pointer !important;
}

.error {
	color: #c00;
}

.pagingbar a {
	text-decoration: none;
	color: #00f;
}

.pagingbar a:hover {
	text-decoration: underline;
}

input:focus, select:focus, textarea:focus {
	background-color: #ff7;
}

input, select, textarea {
	/*font-size: 0.8em !important;*/
	font-size: 10px;
}

table.hoverable {
	border-collapse: collapse;
}

table.hoverable tr th, table.hoverable tr td {
	padding: 3px;
}

table.hoverable td {
	background-color: #eee;
	/*border-bottom: 1px solid #ddd;*/
}

table.grid thead th:nth-child(odd) {
	background-color: #bbb;
}

table.grid thead th:nth-child(even) {
	background-color: #aaa;
}

table.grid tr:nth-child(odd) td:nth-child(even),
table.grid tr:nth-child(even) td:nth-child(odd),
tbody.grid tr:nth-child(odd) td:nth-child(even),
tbody.grid tr:nth-child(even) td:nth-child(odd) {
	background-color: #ddd;
}

table.grid tr:nth-child(even) td:nth-child(even),
tbody.grid tr:nth-child(even) td:nth-child(even) {
	background-color: #ccc;
}

table.hoverable tr:hover td {
	background-color: #ff7 !important;
}

table.hoverable.grid tr:hover td:nth-child(even),
table.hoverable tbody.grid tr:hover td:nth-child(even) {
	background-color: #dd7 !important;
}

table.hoverable tr.nohover:hover td {
	background-color: #eee !important;
}

table tr td button.ui-widget, 
table tr td a.ui-widget, 
table tr td span.ui-widget, 
table tr td strong.ui-widget {
	font-size: 0.8em !important;
}

table tr td a.ui-widget span.ui-button-text {
	color: #000;
}

table tr td a.ui-widget span.ui-button-text,
table tr span.ui-widget span.ui-button-text,
table tr strong.ui-widget span.ui-button-text {
	padding: 2px 3px 2px 3px;
	text-decoration: none;
}

.ui-widget {
	display: inline-block;
}

.ui-widget-header {
	padding: 3px;
}

.ui-widget-content {
	padding: 5px;
}

.no-close .ui-dialog-titlebar-close {
	display: none;
}

.ui-state-error .ui-dialog-titlebar .ui-icon,
.ui-state-error .ui-dialog-buttonpane .ui-icon {
	background-image: url(onpower-theme/images/ui-icons_cc0000_256x240.png);
}

.ui-datepicker tbody tr td:first-child a:not(.ui-state-highlight):not(.ui-state-active), 
.ui-datepicker tbody tr td:last-child a:not(.ui-state-highlight):not(.ui-state-active) {
	background: #ccc;
}

.ui-widget-header button {
	float: right;
}

.ui-widget-header button, .ui-widget-content table button {
	margin-top: -2px;
	margin-bottom: -2px;
}

.ui-widget-header button .ui-button-text, .ui-widget-content table button .ui-button-text {
	padding-top: 1px;
	padding-bottom: 1px;
}

div#divRecordAction, div.record_action {
	position: fixed;
	background-color: #aaa;
	padding: 0px 3px 2px 0px;
	z-index: 7;
	top: 100px;
	left: 100px;
}

div#divRecordAction div, div.record_action div {
	background-color: #fff;
	/* border: 1px solid #777; */
	z-index: 8;
}

div#divRecordAction div h1, div.record_action div h1 {
	font-size: 1.1em;
	text-align: left;
	border-bottom: 1px solid #777;
	padding: 3px;
	margin: 0;
	background-color: #ccf;
	z-index: 9;
}


