body
{
	background-image: url(/images/admin/background.gif);
	padding: 0px;
	margin: 0px;
	font-family: Arial;
	font-size: small;
}

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

#header
{
	background-image: url(/images/admin/bg_top.gif);
	height: 57px;
}

h1
{
	margin-top: 0;
	font-size: large;
}

hr.dotted
{
	border: 0px;
	border-top: 1px dotted #CCC;
	margin-top: 1em;
	margin-bottom: 1em;
}

#container
{
	background-color: white;
	border: 4px solid white;
	margin-left: auto;
	margin-right: auto;
	width: 55em;
	margin-top: -40px;
	overflow: hidden;
}

#menu
{
	height: 2em;
	line-height: 2em;
	background-color: #CCC;
}

#content, #content-with-sidebar
{
	padding: 2em;
	padding-top: 1em;
	margin-right: 16em;
}

#content-with-sidebar
{
	margin-left: 16em;
}

#sidebar
{
	width: 14em;
	padding: 1em;
	float: right;
	font-size: small;
	border-left: 1px dotted #CCC;

}

#admin
{
   height: 80px;
	background-color: #222;
	border-bottom: 3px solid #111;
	color: #EEE;
}

#admin div
{
	padding: 1em;
}

.flash
{
	margin-top: 1em;
	margin-bottom: 1em;
	padding: 5px;
}

.flash#message
{
	background-color: #BBFFBB;
	color: #003300;
}

.flash#error
{
	background-color: #FFBBBB;
	color: #550000;
}

dd
{
	margin: 0px;
	margin-bottom: 1em;
}

dd textarea
{
	width: 100%;
	height: 10em;
}

dt.error
{
	color: red;
}



#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#nav a {
	display: block;
	width: 10em;
	padding-left: 0.5em;
	color: black;
}

#nav li { /* all list items */
	float: left;
	width: 10.5em; /* width needed or else Opera goes nuts */
	line-height: 2;
	background: #CCC;
}

#nav li ul { /* second-level lists */
	position: absolute;
	width: 10.5em;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#nav li ul ul { /* third-and-above-level lists */
	margin: -2em 0 0 10.5em;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

.category-thumbnail-container
{
	background-color: #EEE;
	padding: 5px;
	overflow: auto;
}

.category-thumbnail
{
	width: 33%;
	float: left;
}

.category-thumbnail a 
{
	text-decoration: none;
	color: #111;
}

.product-thumbnail-container
{
	overflow: auto;
}

.product-thumbnail
{
	width: 33%;
	text-align: center;
	float: left;
}

.product-thumbnail a
{
	display: block;
	text-decoration: none;
	color: #111;
}

.product-thumbnail img
{
	background: white;
	padding: 5px;
	border: 1px solid #AAA;
}

.product-thumbnail-spacer
{
	height: 2em;
	clear: left;
}

.rtop,.artop{display:block}
.rtop *,.artop *{display:block;height:1px;overflow:hidden;font-size:1px}
.artop *{border-style: solid;border-width:0 1px}
.r1,.rl1,.re1,.rel1{margin-left:5px}
.r1,.rr1,.re1,.rer1{margin-right:5px}
.r2,.rl2,.re2,.rel2,.ra1,.ral1{margin-left:3px}
.r2,.rr2,.re2,.rer2,.ra1,.rar1{margin-right:3px}
.r3,.rl3,.re3,.rel3,.ra2,.ral2,.rs1,.rsl1,.res1,.resl1{margin-left:2px}
.r3,.rr3,.re3,.rer3,.ra2,.rar2,.rs1,.rsr1,.res1,.resr1{margin-right:2px}
.r4,.rl4,.rs2,.rsl2,.re4,.rel4,.ra3,.ral3,.ras1,.rasl1,.res2,.resl2{margin-left:1px}
.r4,.rr4,.rs2,.rsr2,.re4,.rer4,.ra3,.rar3,.ras1,.rasr1,.res2,.resr2{margin-right:1px}
.rx1,.rxl1{border-left-width:5px}
.rx1,.rxr1{border-right-width:5px}
.rx2,.rxl2{border-left-width:3px}
.rx2,.rxr2{border-right-width:3px}
.re2,.rel2,.ra1,.ral1,.rx3,.rxl3,.rxs1,.rxsl1{border-left-width:2px}
.re2,.rer2,.ra1,.rar1,.rx3,.rxr3,.rxs1,.rxsr1{border-right-width:2px}
.rxl1,.rxl2,.rxl3,.rxl4,.rxsl1,.rxsl2,.ral1,.ral2,.ral3,.ral4,.rasl1,.rasl2{border-right-width:0}
.rxr1,.rxr2,.rxr3,.rxr4,.rxsr1,.rxsr2,.rar1,.rar2,.rar3,.rar4,.rasr1,.rasr2{border-left-width:0}
.r4,.rl4,.rr4,.re4,.rel4,.rer4,.ra4,.rar4,.ral4,.rx4,.rxl4,.rxr4{height:2px}
.rer1,.rel1,.re1,.res1,.resl1,.resr1{border-width:1px 0 0;height:0px !important;height /**/:1px}
