.window {
	position:absolute;
	background:url(http://www.macwebos.com/img/shadow.png) no-repeat bottom right;
}

.window_inactive {
	position:absolute;
	background:none;
}

.window_main {
	position:absolute;
	top:-9px;
	left:-9px;
	border:1px solid #666;
}

.window_main_inactive {
	border:1px solid #bbb;
	position:absolute;
	top:-9px;
	left:-9px;
}

	.window_header {
		left:0px;
		top:0px;
		background:url(http://www.macwebos.com/img/header.png);
		position:relative;
	}
	
	.window_header_inactive {
		left:0px;
		top:0px;
		background:url(http://www.macwebos.com/img/header_inactive.png);
		position:relative;
	}

		.window_header_content {
			position:relative;
			padding:2px;
		}
		
			.window_header img {
				cursor:pointer;
			}
		
		.window_header_left {
			position:absolute;
			width:70px;
			left:0px;
			top:0px;
			padding:2px;
		}

			.window_header_button {
				display:inline;
			}
		
		.window_header_title {
			position:absolute;
			left:70px;
			width:500px;
			top:0px;
			padding:5px 0;
			margin:0 auto;
			cursor:move;
			font-weight:bold;
			display:inline;
			text-align:center;
		}

		.window_header_right {
			width:100px;
			position:absolute;
			right:5px;
			top:0px;
			text-align:right;
			padding:2px;
		}
	
	.window_toolbar {
		height:60px;
		position:absolute;
		width:640px;
		top:25px;
	}
		
		.window_toolbar_content {
			padding:2px 10px;
		}
		
			.window_toolbar_item {
				display:inline;
				float:left;
				width:40px;
				height:50px;
				margin:0 5px;
			}
			
			.window_toolbar_item_floatRight {
				display:inline;
				float:right;
				width:40px;
				height:50px;
				margin:0 5px;
			}
			
			.window_toolbar_img { text-align: center; }
			
				.window_toolbar_img img { width:40px; }
			
				.window_toolbar_img a img { border:0px; }
			
			.window_toolbar_text {
				text-align:center;
				font-size:11px;
			}
			
				.window_toolbar_text a {
					color:black;
					text-decoration:none;
				}
		
			.window_toolbar_separator {
				width:10px;
				height:40px;
				float:left;
				background:url(http://www.macwebos.com/img/separator.png) no-repeat center;
			}
			
			.window_toolbar_space {
				float:left;
				height:40px;
			}

	.window_content {
		position:absolute;
		bottom:0px;
		display:block;
		background:white;
		width:640px;
		top:25px;
		border-top:1px solid black;
	}
	
		.window_content_main {
			position:absolute;
			bottom:0px;
			background:white;
			display:block;
			top:0px;
			overflow:auto;
		}
		
		.window_content_main_inner {
			overflow-x:hidden;
		}
		
			.window_content_main_inner div {
				overflow-y:auto;
			}

.window_sidepanel {
	position:absolute;
	display:block;
	left:0px;
	top:0px;
	width:27%;
	min-width:150px;
	overflow-y:auto;
	overflow-x:hidden;
	background:#d5dce4;
	border-right:1px solid #666;
}

.window_footer {
	bottom:0px;
	left:0px;
	height:10px;
	width:640px;
	position:absolute;
	background:#ccc;
	border-top:1px solid black;
}

// SIDE PANEL

	
.window_sidepanel img {
	margin:0 auto 20px auto;
	padding:5px;
	background:white;
	border:1px solid #999;
}

.window_sidepanel ul {
	list-style-type:none;
	margin:10px 0 0 0;
	padding:0px;
}

.window_sidepanel ul ul {
	padding:0px;
	margin:0px;
}

	.window_sidepanel ul li {
		color:black;
		cursor:pointer;
		padding:2px 0 2px 15px;
	}
	
		.window_sidepanel ul li.list_title {
			text-transform:uppercase;
			color:#888;
			font-weight:bold;
			padding-left:5px;
			margin-top:5px;
			margin-bottom:5px;
		}

			.window_sidepanel ul li.list_title img {
				width:auto;
				margin:0px;
				float:left;
				padding-right:3px;
			}
	
		.window_sidepanel ul li a {
			padding:2px;
			font-size:11px;
			color:black;
			display:block;
			text-decoration:none;
		}

		.window_sidepanel ul li img {
			border:0px;
			padding:0px;
			background:none;
			margin:0px;
		}

	.window_sidepanel ul li.active {
		background:url(http://www.macwebos.com/img/li_bg.png) repeat-x;
		color:white;
	}

	.window_sidepanel ul li.active a { color:white; }
	
	.window_inactive .window_sidepanel ul li.active {
		background:url(http://www.macwebos.com/img/li_bg_hover.png) repeat-x;
	}

.window_content_main_inner div.datatable_bar {
	height:8px;
	background:url(http://www.macwebos.com/img/bar_bg.png) repeat-x top left;
	border-bottom:1px solid #999;
}

.window_content_main_inner div.data {
	overflow-y:scroll;
	overflow-x:hidden;
	border-bottom:1px solid #999;
	max-height:150px;
}

.datatable th {
	text-align:left;
	background:url(http://www.macwebos.com/img/bar.png) repeat-x top left;
	border-bottom:1px solid #999;
	border-right:1px solid #999;
	font-size:11px;
	padding:1px 3px;
}

.datatable td {
	font-size:11px;
	padding:3px;
}

.window_inactive .window_content_main_inner table.datatable tr.reg_click {
	background:#999;
}

.datatable tr.reg_click {
	background:#f0b324;
	color:white;
}

.datatable tr.reg {
	background:inherit;
}

div.search {
	position:absolute;
	right:10px;
}

div.search span.sbox_l  {
	background: white url('http://www.macwebos.com/img/srch_l.gif') no-repeat top left;
	float: left;
	width: 19px; height: 19px;
}

div.search span.sbox_r  {
	background: white url('http://www.macwebos.com/img/srch_r.gif') no-repeat top left;
	float: left;
	width: 19px; height: 19px;
}

div.search span.sbox input {
	background: white url('http://www.macwebos.com/img/srch_bg.gif') repeat-x top left;
	float: left;
	border: 0;
	height: 19px;
	width: 142px;
	padding: 3px;
	font: 11px/13px arial;
	color: #000;
}

div.search div {
	text-align:center;
	font-size:11px;
	padding-top:3px;
}