BODY.no_edge {
	margin: 0px;
	background-color: #f7f7f7;/*#808080;*/
	background-position: top left;
	background-repeat: repeat-y;
}
BODY.popup { background-color: #808080; }

BODY, TABLE, TR, TD, DIV, INPUT {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 12px;
}
BODY, TABLE, INPUT { color: #333; }

/* Hyperlinks and Anchors */
A { text-decoration: none }
A:hover { text-decoration: underline }

A.img-btn:hover { opacity: 0.5; filter: alpha(opacity=50); }
A.img-btn IMG {
	vertical-align: bottom;
	border: 0;
}

/* Headers */
H1 { font: bold 150%; color: black; margin: 0px; padding: 0px }
H2 { font: bold 125%; color: black; margin: 0px; padding: 0px }
H3 { font: bold 110%; color: black; margin: 0px; padding: 0px }
H4 { font: 110%; color: black; margin: 0px; padding: 0px }
H5 { font: 110%; color: black; margin: 0px; padding: 0px }

/***********************************************
** Interface Layout
***********************************************/

#header {
	height: 50px;
	color: #191919;
	background-color: #808080;
}
#headerTitle {
	color: #191919;
	font-size: 20px;
	font-weight: bold;
	padding: 10px;
}
#headerTitle A {
	color: #191919;
	text-decoration: none;
}
#headerTitle #version { font-size: 10px; }

/* Topbar Tools */
#headerTools {
	float: right;
	color: #191919;
	text-align: right;
	vertical-align: bottom;
	padding: 10px;
	white-space: nowrap;
}
#headerTools STRONG {
	float: left;
	line-height: 20px;
}
#headerTools SPAN { float: left; }

#headerTools A {
	float: left;
	display: block;
	color: #F2F6ED;
	background-color: #414141;
	line-height: 18px;
	text-decoration: none;
	padding: 0 4px;
	border: 1px solid;
	border-color: #D0D0D0 #646464 #646464 #D0D0D0;
}
#headerTools A:hover {
	color: #191919;
	background-color: #979797;
	border-color: #646464 #D0D0D0 #D0D0D0 #646464;
}

/* Leftbar */
#leftbar {
	float: left;
	width: 190px;
}

#leftbar UL {
	display: block;
	text-align: left;
	list-style-type: none;
	padding: 0px;
	margin: 10px;
}

#leftbar LI { margin-bottom: 10px; }
#leftbar LI A {
	display: block;
	font-weight: bold;
	color: #F2F6ED;
	background-color: #3D3D3D;
	padding: 3px 5px;
	border: 1px solid;
	border-color: #A7A7A7 #282828 #282828 #A7A7A7;
	text-transform: uppercase;
}
#leftbar LI A:hover {
	color: #191919;
	background-color: #979797;
	border: 1px solid;
	border-color: #646464 #D0D0D0 #D0D0D0 #646464;
	text-decoration: none;
}

#leftbar LI UL { margin: 0; }
#leftbar LI LI {
	margin: 0;
	border: 0;
}
#leftbar LI LI A {
	font-weight: normal;
	color: #191919;
	background-color: #808080;
	padding: 2px 5px 2px 10px;
	border: 1px solid #808080;
	border-bottom: 1px dotted #191919;
	text-transform: none;
}

#leftbar LI.head {
	color: #191919;
	font-weight: bold;
	border-bottom: 3px solid #191919;
}
/*#leftbar LI.selected {
	border-bottom: 5px double #3D3D3D;
	border-top: 2px dotted #191919;
}*/
#leftbar LI.selected A {
	color: #191919;
	background-color: #808080;
	border-color: #808080;
	border: 0 1px;
}
#leftbar LI.selected UL { margin: 0 0 2px 0; }
#leftbar LI.selected UL A {
	color: #F2F6ED;
	background-color: #3D3D3D;
	border: 1px solid;
	border-color: #A7A7A7 #282828 #282828 #A7A7A7;
}
#leftbar LI.selected UL A:hover {
	color: #191919;
	background-color: #979797;
	border: 1px solid;
	border-color: #646464 #D0D0D0 #D0D0D0 #646464;
	text-decoration: none;
}

/* Footbar */
#footer {
	width: 180px;
	height: 22px;
	color: #191919;
	text-align: center;
	padding: 3px 5px;
}
#footer A {
	color: #191919;
	font-weight: bold;
}
#footer IMG { border: 0; }

/* Rightbar */
.rightbar {
	float: right;
	color: #191919;
	width: 210px;
	background-color: #979797;
	padding: 10px;
	margin-bottom: 10px;
	border: 1px solid #414141;
	clear: right;
}
.rightbar DIV.separator {
	height: 1px;
	margin-top: 4px;
	margin-bottom: 5px;
	border-bottom: 1px solid #414141;
}

.content-w-rightbar { padding-right: 240px; }

.rightbar DIV.head {
	color: black;
	font-weight: bold;
	padding-bottom: 2px;
	margin-bottom: 3px;
	border-bottom: 1px solid #414141;
}

/* Page Content */
#container { padding-left: 191px; }
#content {
	background-color: #f7f7f7;
	padding: 10px;
	border-top: 1px solid #282828;
}

#container-border-right {
	position: fixed;
	display: block; _display: none;
	top: 0;
	right: 0;
	width: 1px;
	height: 100%;
	background-color: #A7A7A7;
}
#container-border-right DIV {
	background-color: #808080;
	height: 50px;
}
#container-border-bottom {
	position: fixed;
	display: block; _display: none;
	bottom: 0;
	width: 100%;
}
#container-border-bottom DIV {
	height: 1px;
	background-color: #A7A7A7;
	margin-left: 190px;
	/*height: 10px;
	background-color: #808080;
	margin-left: 190px;
	border-top: 1px solid #A7A7A7;*/
}

/* Page Title */
#pageTitle {
	color: #191919;
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
	padding-bottom: 5px;
	border-bottom: solid 2px black;
}

.subtitle {
	color: black;
	text-align: left;
	font-weight: bold;
	font-size: 125%;
	padding-top: 14px;
	padding-bottom: 4px;
	margin-bottom: 10px;
	border-bottom: 2px dotted black;
}

DIV.header, TD.header {
	color: black;
	font-weight: bold;
	font-size: 115%;
	margin-top: 10px;
	margin-bottom: 10px;
}

/***********************************************
** Form Styles
***********************************************/

FORM { margin: 0px }
TABLE.form {
	border: 0px;
	border-collapse: collapse;
}

TABLE.form TH {
	padding: 5px 5px 0 0px;
	text-align: right;
	vertical-align: top;
	white-space: nowrap;
}
TABLE.form TH.header {
	color: black;
	text-align: left;
	font: bold 125%;
	padding-top: 14px;
	padding-bottom: 4px;
	border-bottom: 1px solid black;
}

TABLE.form TD { padding: 0px }
TABLE.form TD.static_text { padding-top: 5px; }

/* Input Control Styles */
INPUT, OPTION, SELECT {
	color: #000000;
	margin: 1px 0px; _margin: 0;
}
INPUT, SELECT, TEXTAREA { padding: 2px 4px; _padding: 1px; }

INPUT[type=text].focus, SELECT.focus, TEXTAREA.focus {
	border: 2px solid red;
	padding: 1px 3px; _padding: 0;
}
INPUT[type=text].focus:hover, SELECT.focus:hover, TEXTAREA.focus:hover,
INPUT[type=text].focus:focus, SELECT.focus:focus, TEXTAREA.focus:focus {
	border: 2px solid red;
}

SELECT {
	color: #000000;
	background-color: #EFEFEF;
	vertical-align: middle;
	padding: 0px;
	border: 1px solid #AAA;
}

INPUT[type=text], INPUT[type=password], TEXTAREA {
	color: #000000;
	background-color: #EFEFEF;
	border: 1px solid #AAA;
}
INPUT[type=text]:hover, INPUT[type=password]:hover, TEXTAREA:hover, SELECT:hover {
	background-color: #FAFAFA;
	border: 1px solid #999;
}
INPUT[type=text]:hover, INPUT[type=password]:focus, TEXTAREA:focus, SELECT:focus {
	background-color: #FAFAFA;
	border: 1px solid #666;
}
INPUT[type=checkbox], INPUT[type=radio] { vertical-align: bottom; }

LABEL {
	margin-left: 5px;
	margin-right: 3px;
	font-weight: bold;
}
LABEL.checkbox { display: block }
LABEL.list { font-weight: normal }

TABLE.fullwidth { width: 98%; }
INPUT.fullwidth { width: 100%; }
TEXTAREA.fullwidth { width: 100%; }

BUTTON {
	font-weight: bold;
	padding-left: 10px;
	padding-right: 10px;
}
BUTTON.tool {
	font-weight: normal;
	padding-left: 5px;
	padding-right: 5px;
}

/***********************************************
** Common Interface Components
***********************************************/

/* Content Box */
.box {
	color: #191919;
	background-color: #979797;
	padding: 10px;
	margin-bottom: 10px;
	border: 1px solid #414141;
}
.box DIV.separator {
	height: 1px;
	margin-top: 4px;
	margin-bottom: 5px;
	border-bottom: 1px solid #414141;
}
.box DIV.head {
	color: black;
	font-weight: bold;
	padding-bottom: 2px;
	margin-bottom: 3px;
	border-bottom: 1px solid #414141;
}
.box DIV.head_btn {
	float: right;
	margin-top: -5px;
}

/* Message Box */
.messageBox, .attentionBox, .errorBox {
	padding: 5px;
	margin-bottom: 10px;
}

.messageBox {
	color: #191919;
	background-color: #daead4;
	border: 1px solid #808080;
}
.messageBox H1, .messageBox H2, .messageBox H3, .messageBox H4, .messageBox H5 { color: #191919 }
.messageBox LI { margin-left: 20px }

/* Attention Box */
.attentionBox {
	color: #191919;
	background-color: #faf589;
	border: 1px solid #a39f59;
}
.attentionBox H1, .attentionBox H2, .attentionBox H3, .attentionBox H4, .attentionBox H5 { color: #191919 }
.attentionBox LI { margin-left: 20px }

/* Error Box */
.errorBox {
	color: #300;
	background-color: #f68f91;
	border: 1px solid #a05d5e;
}
.errorBox H1, .errorBox H2, .errorBox H3, .errorBox H4,.errorBox H5 { color: #300 }
.errorBox LI { margin-left: 20px }

/* Navigation Bar */
TABLE.navbarTop {
	padding-bottom: 2px;
	margin-bottom: 10px;
	border-bottom: dotted 2px black;
}
TABLE.navbarBottom {
	padding-top: 2px;
	margin-top: 10px;
	border-top: dotted 2px black;
}
TABLE.navbarMiddle {
	padding: 2px 0px;
	margin: 10px 0in;
	border-top: dotted 2px black;
	border-bottom: dotted 2px black;
}

TABLE.navbarTop, TABLE.navbarBottom, TABLE.navbarMiddle {
	width: 100%;
	padding: 0px;
	border-collapse: collapse;
}

/* Pagination box */
.pagination {
	display: block;
	float: left;
	color: #191919;
	background-color: #979797;
	padding: 1px 10px;
}

.pagination A {
	color: #F2F6ED;
	background-color: #414141;
	text-decoration: none;
	padding: 2px 4px;
	border: 1px solid;
	border-color: #D0D0D0 #646464 #646464 #D0D0D0;
}
.pagination A:hover {
	color: #191919;
	background-color: #979797;
	text-decoration: none;
	border-color: #646464 #D0D0D0 #D0D0D0 #646464;
}
.pagination A.disabled {
	cursor: default;
	border-color: #979797;
	-moz-opacity: 0.25; opacity: 0.25; filter: alpha(opacity=25)
}
.pagination A.first, .pagination A.last { font-weight: bold; }

.pagination INPUT.page_number {
	text-align: center;
	width: 80px;
	font-weight: bold;
}

/***********************************************
** Table Styles
***********************************************/

/* Data list table */
TABLE.list {
	width: 100%;
	background-color: #979797;
	border: 1px solid #414141;
	border-spacing: 1px 1px;
}
TABLE.list TH {
	color: #191919;
	padding: 3px 5px;
	white-space: nowrap;
}
TABLE.list TD {
	background-color: white;
	padding: 3px 5px;
}
TABLE.list TH.separator { height: 5px; }

TABLE.list .foot TH, TABLE.list .foot TD {
	border-top: 1px solid #414141;
}

TABLE.list TD.input_box {
	padding: 0px;
	background-color: #979797;
	text-align: center;
}
TABLE.list TD.input_box LABEL {
	display: block;
	font-weight: normal;
	margin-left: 1px;
}
TABLE.list TD.input_box INPUT, TABLE.list TD.input_box TEXTAREA, TABLE.list TD.input_box SELECT {
	background-color: #d7e3d3;
	padding: 2px 2px;
	margin: 0px;
	border: 1px dotted white;
}
TABLE.list TD.input_box INPUT:hover, TABLE.list TD.input_box TEXTAREA:hover { background-color: #e2ebdf }
TABLE.list TD.input_box INPUT:focus, TABLE.list TD.input_box TEXTAREA:focus { background-color: #f4f7f3 }

TABLE.list TD.input_boxes {
	padding: 0px;
	background-color: #979797;
	white-space: nowrap;
}
TABLE.list TD.input_boxes LABEL {
	display: inline-block; _display: inline;
	font-weight: normal;
}
TABLE.list TD.input_boxes INPUT, TABLE.list TD.input_boxes SELECT {
	background-color: #d7e3d3;
	padding: 2px 2px;
	margin: 0px;
	border: 1px dotted white;
}

TABLE.list .selectBox {
	text-align: center;
	vertical-align: middle;
}
TABLE.list .selectBox INPUT {
	height: 12px;
	width: 12px;
}

/* Data list table's toolbox */
TABLE.list .toolbox {
	white-space: nowrap;
	text-align: center;
}
TABLE.list .toolbox A, A.tool_button {
	display: inline-block;
	color: #F2F6ED;
	background-color: #414141;
	text-decoration: none;
	line-height: 18px;
	padding: 0 4px;
	border: 1px solid;
	border-color: #D0D0D0 #646464 #646464 #D0D0D0;
}
TABLE.list .toolbox A:hover, A.tool_button:hover {
	color: #191919;
	background-color: #979797;
	border-color: #646464 #D0D0D0 #D0D0D0 #646464;
}

TABLE.list .img-toolbox { white-space: nowrap; }
TABLE.list .img-toolbox A:hover { opacity: 0.5; filter: alpha(opacity=50); }
TABLE.list .img-toolbox A IMG {
	vertical-align: bottom;
	border: 0;
}

TABLE.list .c0 {}
TABLE.list .c1 TD, TABLE.list .c1 TH { background-color: #F0F0F0; }
TABLE.list .c2 TD, TABLE.list .c2 TH { background-color: #CCC; }
TABLE.list .c3 TD, TABLE.list .c3 TH { background-color: #aeaeae; }

/* Simple bordered table */
TABLE.border {
	border: dashed 1px #060;
	border-spacing: 1px 1px;
	background-color: #ccc;
}
TABLE.border TH {
	padding: 3px;
	background-color: white;
}
TABLE.border TD {
	padding: 3px;
	background-color: white;
}

/***********************************************
** Admin Homepage Components
***********************************************/

/* Shortcut Table */
#shortcuts {
	background-color: #979797;
	padding: 4px;
	margin-bottom: 10px;
	border: 1px solid #414141;
}
#shortcuts .head {
	color: black;
	font-weight: bold;
	padding: 10px 2px 2px 2px;
	margin: 0 -2px 2px -2px;
	border-bottom: 1px solid #414141;
}

#shortcuts .shortcut {
	display: inline-block;
	vertical-align: top;
}
#shortcuts .shortcut A {
	position: relative;
	display: block;
	width: 100px; _width: 114px;
	height: 80px; _height: 92px;
	text-align: center;
	font-weight: bold;
	color: #191919;
	background-color: #979797;
	padding: 7px;
	margin: 2px;
	border: solid 1px #979797;
	overflow: hidden;
	text-decoration: none;
}
#shortcuts A:hover {
	color: #F2F6ED;
	background-color: #414141;
	border: 1px solid;
	border-color: #646464 #D0D0D0 #D0D0D0 #646464;
	text-decoration: none;
}
#shortcuts A IMG {
	height: 48px;
	width: 48px;
	border: 0;
}

#shortcuts A.disabled {
	border-style: solid;
	cursor: default;
	-moz-opacity: 0.25; opacity: 0.25; filter: alpha(opacity=25);
}

/* Blog Entries */

.blog_entries .entry {
	padding: 10px 0;
	border-top: 1px dotted #414141;
}
.blog_entries .entry:first-child { border: 0; }
.blog_entries .entry_title A {
	display: block;
	color: #F2F6ED;
	background-color: #414141;
	font-weight: bold;
	line-height: 18px;
	text-decoration: none;
	padding: 0 10px;
	border: 1px solid;
	border-color: #D0D0D0 #646464 #646464 #D0D0D0;
}
.blog_entries .entry_title A:hover {
	color: #191919;
	background-color: #979797;
	border-color: #646464 #D0D0D0 #D0D0D0 #646464;
}
.blog_entries .entry_title SPAN {
	display: block;
	font-size: 11px;
	font-weight: normal;
	line-height: 14px;
}
.blog_entries .entry-desc { margin-top: 5px; }

/***********************************************
** Items Listing
***********************************************/

#items-container {}
#items-container .item {
	float: left;
	display: block;
	width: 350px;
	margin-right: 10px;
	margin-bottom: 10px;
	vertical-align: top;
	overflow: hidden;
}

#items-container .item .img {
	float: left;
	display: block;
	width: 75px;
	height: 75px;
	text-align: center;
	vertical-align: middle;
}
#items-container .item .img A, #items-container .item .img IMG {
	vertical-align: middle;
	line-height: 75px;
	border: 0;
}
#items-container .item .details {
	display: block;
	padding: 0 0 10px 85px;
}
#items-container .item .tools { padding-top: 10px; }

/***** Product Thumb *****/
.product_thumb .img {
	display: table-cell;
	float: left;
	width: 75px;
	height: 75px;
	text-align: center;
	vertical-align: middle;
}
.product_thumb .name {
	display: block;
	min-height: 75px; _height: 75px;
	padding-left: 80px;
}
.product_thumb .link {
	font-size: 80%;
	margin-top: 5px;
}
.product_thumb IMG { border: 0; }

/***********************************************
** Configs Page Components
***********************************************/

/***** Current Template *****/
#current-template {
	float: right;
	width: 45%;
	color: #191919;
	background-color: #808080;
	padding: 10px;
	margin: 0 0 10px 10px;
	border: 1px solid #282828;
	overflow: hidden;
}

#current-template .subtitle {
	color: #191919;
	padding-top: 0;
	border-color: #191919;
}
#current-template .img { display: block; }
#current-template .details {
	display: block;
	vertical-align: top;
	margin-top: 10px;
}
#current-template .details BIG {
	font-size: 125%;
	font-weight: bold;
}

#current-template .img IMG { border: 1px solid black; }

/***** Templates Container *****/
#templates-container {}
#templates-container .item {
	float: left;
	display: block;
	height: 150px; _height: 150px;
	width: 48%;
	margin-right: 10px;
	margin-bottom: 10px;
	vertical-align: top;
	overflow: hidden;
}

#templates-container .item .img {
	display: block;
	float: left;
	width: 150px;
	text-align: center;
}
#templates-container .item .details {
	display: block;
	padding: 0 0 10px 160px;
}
#templates-container .item .details BIG { font-weight: bold; }

#templates-container .item .img A IMG { border: 1px solid #CCC; }
#templates-container .item .img A:hover IMG {
	border-color: #333;
	opacity: 0.5; filter: alpha(opacity=50);
}

/***** Ping Landing Page *****/
#pinging_status {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 500px;
	height: 150px;
	text-align: center;
	vertical-align: middle;
	margin-left: -250px;
	margin-top: -75px;
}
#pinging_status IMG { margin-bottom: 5px; }
#pinging_status BIG {
	font-size: 125%;
	font-weight: bold;
}

/***********************************************
** Popup Specific Layout
***********************************************/

#popup-container { background-color: #808080; }
#popup-container #content {
	border: 1px solid;
	border-color: #282828 #A7A7A7 #A7A7A7 #282828;
}

/***********************************************
** Miscellance Styles
***********************************************/

.spacer {
	border-top: 1px solid #ccc;
	height: 11px;
	margin: 5px 0 4px 0;
}

.center { text-align: center; }
.right { text-align: right; }
.top { vertical-align: top; }
.bottom { vertical-align: bottom; }
.clear { clear: both; }
.nowrap { white-space: nowrap; }
.clickable { cursor: pointer; }

.money_neg { color: red; }
.money_pos { color: green; }
.err {
	color: darkred;
	font-weight: bold;
}
.valid {
	color: darkgreen;
	font-weight: bold;
}
.neutral {}

IMG.middle { vertical-align: middle !important; }
IMG.btn {
	width: 16px;
	height: 16px;
	vertical-align: top;
	border: 0;
}

/* Standardized width/height styles */
.w50 { width: 50px; }
.w100 { width: 100px; }
.w150 { width: 150px; }
.w200 { width: 200px; }
.w250 { width: 250px; }
.w300 { width: 300px; }
.w500 { width: 500px; }
.w600 { width: 600px; }

.h50 { height: 50px; }
.h100 { height: 100px; }
.h150 { height: 150px; }
.h400 { height: 400px; }

