/* -------------------------- frontpage -------------------------- */

table#gallery
{
	width: 100%;
}

table#gallery tr td
{
	height: 120px;
}

.imgcell 
{
	display: table-cell;
}

.imgwib 
{
	display: inline-block;
}

div#status div#pages, div#status div#count
{
	font-weight: bold;
}

div#status div#pages  a:hover, div#status div#count a:hover
{
	color: #777777;
}

div#status div#pages
{
	position: absolute;
	left: 10%;
	width: 80%;
}

div#status div#count
{
	text-align: right;
}

/* -------------------------- not frontpage -------------------------- */

div#content form table
{
	margin-left: auto;
	margin-right: auto;
}

div#content form table tr td 
{
	text-align: right;
	padding-left: 5px;
}

div#content #button
{
	color: #333;
}

#screenshot
{
	position:absolute;
	border:1px solid #ccc;
	background:#333;
	padding:2px;
	display:none;
	color:#fff;
}

.screenshot
{
	cursor: default;
	color: #666;
	background: #333;
	margin: 1px;
}

div#content div#submit table
{
	width: 460px;
	text-align: right;
}

div#content div#edit table
{
	width: 600px;
}

div#content div#submit, div#content div#edit
{
	border: solid 1px #6f6f6f;
	padding: 5px;
	text-align: right;
}

div#content div#edit
{
	text-align: center;
	margin-top: 10px;
}

div#content div#submit form table tr td input, div#content div#submit form table tr td select
{
	width: 100%;
	height: 12px;
}

div#content div#submit table#inner
{
	margin-top: 5px;
	margin-bottom: 5px;
	padding-top: 10px;
	padding-bottom: 10px;	
}

div#content div#submit table#inner tr td, div#content div#submit table#inner tr
{
	text-align: center;
}

div#content div#submit input#button
{
	width: auto;
}

div#content div#edit input.caption, div#content div#edit input.priority, div#content div#edit input.price
{
	background: transparent;
}

div#content div#edit input.priority
{
	width: 20px;
}

div#content div#edit input.price
{
	width: 40px;
}

div#content div#edit input.caption
{
	width: 220px;
}

div#content div#edit textarea
{
	width: 100%;
	overflow: hidden;
	background: transparent;
}

div#content div#edit tr.odd
{
	background: #3a3a3a;
}

div#content div#edit a img
{
	border: solid 1px #333;
}

div#content div#edit a.button
{
	color: #ccc;
}

div#content div#edit a.button:hover
{
	color: #777777;
}

/* --- category menu --- */

div#category
{
	float: left;
}

div#category ul 
{
	list-style: none;
}
	
div#category ul li
{
	position: relative;
}
	
div#category li ul 
{
	position: absolute;
	top: 0px;
	left: 0px;
	border: solid 1px #4f4f4f;
	border-bottom: none;
	display: none;
}

div#category ul li a 
{
	display: block;
	text-decoration: none;
	text-align: left;
}

div#category ul li ul li a
{
	background: #333;
	padding: 5px;
	border-bottom: solid 1px #4f4f4f;
	width: 150px;
}

div#category li:hover ul, div#category li.over ul 
{
	display: block;
	z-index: 100;
}