/* HTML/Body */

html, body
{
	margin: 0px;
	padding: 0px;
	font-family: Verdana;
	font-size: 90%;
	background-color: #BABABA;
	text-align: center;
}

/* Links */

a
{
	color: #000;
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
}

a img
{
	border: 0px;
	text-decoration: none;
}

/* Forms */

form
{
	margin: 0px;
	padding: 0px;
}

input, textarea, select
{
	color: #000000;
	background-color: #FFFFFF;
	padding: 1px;
	margin: 1px 0px 2px;
	border: 1px solid #CCC;
	font-family: Verdana;
	font-size: 0.8em;
}

input:hover, textarea:hover, input.over, textarea.over
{
	border: 1px solid #DF7A29;
	background-color: #FFE8E0;
}

input.submit
{
	font-weight: bold;
	padding: 2px 6px;
	width: 124px;
	cursor: pointer;
}

input.delete
{
	font-weight: bold;
	padding: 2px 4px 2px 4px;
	margin: 4px;
	width: auto;
	cursor: pointer;
}

input.pagetitle, input.linkname
{
	width: 300px;
}

input.ordid
{
	width: 25px;
}

textarea.content
{
	width: 632px;
	height: 246px;
}

input.check
{
	width: auto;
	border: 0px;
	background: transparent;
}

textarea.meta
{
	width: 400px;
	height: 60px;
	font-weight: normal;
}

/* Tables */

table
{
	font-size: 100%;
}

/* Wrappers */

#wrapper
{
	width: 939px;
	padding-bottom: 15px;
	margin: 0px auto;
	text-align: left;
}

#container
{
	float: left;
	width: 100%;
	background: #FFF url(../images/bg_container.gif) repeat-y left;
}

/* Menu */

ul#menu
{
	float: left;
	display: block;
	margin: 15px 0px 0px 88px;
	padding: 0px;
	width: 188px;
}

ul.menu-admin
{
	width: 168px !important;
}

ul#menu li
{
	list-style: none;
	margin: 0px;
	padding: 0px;
	text-align: left;
	position: relative;
}

ul#menu li ul
{
	display: none;
}

ul#menu li.under
{
	list-style: none;
}

ul#menu li.over
{
	list-style: none;
}

ul#menu * li:hover * ul li.under * ul, body * ul#menu * li.over * ul li.under * ul
{
	display: none !important;
}

ul#menu li.over > ul, ul#menu li:hover > ul
{
	display: block;
	width: 168px;
	background-color: #FFF;
	position: absolute;
	margin: 0px;
	padding: 0px;
	top: -1px;
	left: 128px;
	border: 1px solid #314D51;
	z-index: +1;
}

ul#menu li.over ul li.over ul, ul#menu li:hover ul li:hover ul
{
	left: 150px;
}

ul#menu li a
{
	display: block;
	padding: 3px 0px 3px 12px;
	font-weight: bold;
	text-decoration: none;
	color: #545454;
}

ul#menu li a:hover
{
	background-color: #314D51;
	color: #FFFFFF;
}

ul#menu ul li a
{

	padding: 4px 5px 5px;
	font-weight: bold;
	text-decoration: none;
	color: #545454;
}

ul#menu ul li a:hover
{
	background-color: #314D51;
	color: #FFFFFF;
}

/* Headers */

h1#header
{
	float: left;
	background: url(../images/header.php) no-repeat top left;
	height: 213px;
	width: 100%;
	margin: 0px;
	padding: 0px;
}

h1#header_bottom
{
	float: left;
	background: #314D51 url(../images/header_bottom.gif) no-repeat top left;
	height: 115px;
	width: 100%;
	margin: 0px;
	padding: 0px;
}

h1#header_bottom img
{
	margin: 5px 5px 5px 315px;
}

/* Content */

#content
{
	float: left;
	display: block;
	margin: 15px;
	width: 625px;
}

#content-admin
{
	float: left;
	display: block;
	margin: 15px;
	width: 650px;
}

#content-admin span
{
	font-size: 0.8em;
}

#advert
{
	float: left;
	width: 202px;
	border: 1px solid #000;
	margin: 15px 0px;
}

h2
{
	color: #314D51;
	font-size: 1.6em;
	margin: 0px 0px 14px 0px;
	padding: 0px;
	text-align: left;
	line-height: 1.5em;
}

.bold
{
	font-weight: bold;
}

.italic
{
	font-style: italic;
}

.title
{
	font-size: 1.0em;
	font-weight: bold;
	color: #222222;
	vertical-align: top;
	padding: 3px 4px;
	margin: 15px 15px 15px 0;
	width: 150px;
}

.ititle
{
	font-size: 0.8em;
	font-weight: bold;
	color: #222222;
	margin: 0px 4px 0px 8px;
	display: inline;
}

.ltitle
{
	font-size: 1.2em;
	font-weight: bold;
	color: #111111;
	padding: 3px 6px 3px 6px;
}

.nwtitle
{
	font-size: 0.8em;
	font-weight: bold;
	color: #222222;
	vertical-align: top;
	padding: 3px 5px;
}

.error
{
	font-size: 1.1em;
	font-weight: bold;
	color: #CC0000;
	margin: 0px 0px 15px 0px;
	width: 100%;
	text-align: center;
}

/* Admin */

td#delete
{
	text-align: right;
}

img.tree
{
	padding: 0px;
	margin: 0px;
	border: 0px;
	vertical-align: bottom; 
}

td.name
{
	padding: 0px 0px 0px 3px;
	color: #111111;
}

table.treenode
{
}

table#edit, table.item
{
	width: 622px;
}

td.tree
{
}

td.name, td.edit
{
	border-bottom: 1px solid #DDDDDD;
}

td.edit, td.del
{
	padding: 0px 4px 0px 4px;
	width: 50px;
	text-align: center;
}

td.tinymce-content
{
	padding: 5px 0px;
}

/* Confirm */

table.confirm
{
	border: 1px solid #555555;
	padding: 5px;
	margin-bottom: 10px;
	width: 400px;
	font-size: 0.86em;
}

table.confirm td
{
	background-color: #ECECEC;
	border: 1px solid #FFFFFF;
	padding: 5px;
	text-align: center;
}

table.confirm td a
{
	text-decoration: none;
	font-weight: bold;
	font-size: 1.4em;
	color: #111111;
	display: block;
	background-color: #ECECEC;
	padding: 5px;
}

table.confirm td a:hover
{
	background-color: #FFFFFF;
	color: #CC0000;
}

td.confirm
{
	width: 50%;
}

/* Related Documents/Images */

td.filetitle
{
	text-align: center;
	font-size: 1.1em;
	font-weight: bold;
	color: #111111;
	padding: 3px 7px 8px 7px;
}

td.item
{
	text-align: center;
	padding: 2px 3px 2px 1px;
	color: #232323;
	font-size: 1em;
}

td.itemdel
{
	width: 45px;
	text-align: center;
}

tr.rowbg1
{
	background-color: #F5F1DF;
}

tr.rowbg2
{
	background-color: #FEFCF0;
}

/* Footer */

#footer
{
	float: left;
	width: 100%;
	height: 32px;
	margin-top: 15px;
	background-color: #314D51;
	color: #FFF;
}

#footer a
{
	color: #FFF;
}

#footer #links
{
	float: left;
	margin: 10px 0px 0px 88px;
	font-size: 0.86em;
}

#footer #bf
{
	float: right;
	margin: 17px 3px 3px;
	font-size: 0.7em;
	color: #EEE;
}

/* Development */

div#dev-wrapper
{
	float: left;
	overflow: auto;
	height: 400px;
}