/* HTML/Body */

html, body
{
	margin: 0px;
	padding: 0px;
	height: 100%;
	font-family: Verdana;
	font-size: 90%;
	line-height: 1.2em;
	color: #000000;
	background-color: #DBDBDB;
}

/* Links */

a, a:visited {
	color: #004A99;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

p a {
	font-weight: bold;
}

img {
	border: 0px;
}

/* Forms */

form
{
	margin: 0px;
	padding: 0px;
}

input, textarea, select
{
	color: #000000;
	background-color: #FFFFFF;
	padding: 1px;
	margin: 1px 0px 2px;
	border: 1px solid #545454;
	font-family: Verdana;
	font-size: 0.9em;
}

input:hover, textarea:hover, input.over, textarea.over
{
	border: 1px solid #A65926;
	background-color: #FFEAD1;
}

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: 100%;
	height: 350px;
	font-weight: normal;
}

input.check
{
	width: auto;
	border: 0px;
	background: transparent;
}

textarea.meta
{
	width: 400px;
	height: 60px;
	font-weight: normal;
}

/* Tables */

table
{
	font-size: 100%;
}

/* Wrappers */

#wrapper
{
	/*float: left;*/
	/*width: 774px;*/
	background: url(../images/wrapperbg.gif) repeat-y 0 0;
	border-right: 1px solid #C2D4E7;
}

/* Header */

#header
{
	/*float: left;*/
	/*width: 774px;*/
	background: #fff url(http://www.advanced-pp.co.uk/templates/advancedpp/images/header.gif) no-repeat 100% 0;
	overflow: auto;
}

#header a {
	float: left;
}

#header h1
{

	width: 100%;
	margin: 107px 0px 0px 0px;
	color: #FFFFFF;
	background-color: #004A99;
	font-size: 0.9em;
	text-align: center;
	padding: 11px 0px;
}

/* Menu */

#menu
{
	float: left;
	clear: left;
	width: 164px;
	border-top: 6px solid #4C76A2;
}

#menu ul
{
	
	background-color: #DBDBDB;
	list-style: none;
	margin: 0px;
	padding: 0px;
}

#menu > ul
{
	display: block;
	width: 100%;
	margin: 7px 0px;
}

#menu ul li
{
	position: relative;
}

#menu a
{
	display: block;
	width: 142px;
	background: url(http://www.advanced-pp.co.uk/templates/advancedpp/images/li.gif) no-repeat 8px 11px;
	color: #000000;
	text-decoration: none;
	padding: 7px 0px 7px 22px;
}

#menu ul a:hover
{
	background: url(http://www.advanced-pp.co.uk/templates/advancedpp/images/li-over.gif) no-repeat 8px 11px;
}

#menu ul li ul
{
	display: none;
}

#menu ul * li:hover * ul li.under * ul
{
	display: none !important;
}

#menu ul li:hover > ul
{
	/*display: block;
	border: 1px solid #A7B8CB;
	position: absolute;
	top: 0px;
	left: 144px;
	z-index: +1;*/
}

#menu ul li ul a
{
	background-color: #fff;
	padding-left: 32px;
	width: 132px;
	background-position: 18px 11px;
}

#menu ul li ul a:hover {
	background-position: 18px 11px;
	background-color: #efefef;
}

#menu ul li:hover ul a
{
	display: block;
	width: 132px;
	text-align: left;
}

#menu .selected_item
{
	display: block !important;
}

/* Content */

#content
{ 
	/*float: left;*/
	/*width: 570px;*/
	margin-left: 164px;
	min-height: 490px;
	height: auto;
	background: #FFFFFF url(../images/content-bg.gif) no-repeat top right;
	padding: 22px 17px 22px 22px;
	border-left: 1px solid #A7B8CB;
	line-height: 1.3em;
}

#content h2
{
	color: #004A99;
	font-weight: bold;
	font-size: 126%;
	padding: 10px 0px;
	margin: 0px;
	line-height: 150%;
}

.bold
{
	font-weight: bold;
}

.italic
{
	font-style: italic;
}

.title
{
	font-size: 86%;
	font-weight: bold;
	color: #222222;
	vertical-align: top;
	padding: 3px 4px;
	width: 100px;
}

.ititle
{
	font-size: 86%;
	font-weight: bold;
	color: #222222;
	margin: 0px 4px 0px 8px;
	display: inline;
}

.ltitle
{
	font-size: 1em;
	font-weight: bold;
	color: #111111;
	padding: 3px 6px 3px 6px;
}

.nwtitle
{
	font-size: 86%;
	font-weight: bold;
	color: #222222;
	vertical-align: top;
	padding: 3px 5px;
}

.error
{
	font-size: 1em;
	font-weight: bold;
	color: #CC0000;
	margin: 0px 0px 15px 0px;
	width: 100%;
	text-align: center;
}


form#contactform fieldset {
	border: 1px solid silver;
	width: 500px;
	margin: 10px 0 0 0;
}

form#contactform table {
	width: 490px;
}

form#contactform legend {
	border: 1px solid #4C76A2;
	padding: 6px 7px;
	font-weight: bold;
	background: #E0E9F3;
}

form#contactform label {
	display: block;
	clear: both;
	font-size: 85%;
	padding: 3px 0;
}



/* 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#edit, table.item
{
	width: 570px;
	font-size: 0.9em;
}

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;
}

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.2em;
	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: 1.1em;
}

td.itemdel
{
	width: 45px;
	text-align: center;
}

tr.rowbg1
{
	background-color: #F5F1DF;
}

tr.rowbg2
{
	background-color: #FEFCF0;
}

/* Footer */

#footer
{
	clear: both;
	background-color: #004A99;
	border-left: 1px solid #A7B8CB;
	border-bottom: 1px solid #A7B8CB;
	color: #FFFFFF;
	font-size: 86%;
	margin-left: 164px;
	padding: 3px 25px 3px 10px;
	height: 20px;
}

#footer a
{
	color: #FFFFFF;
	text-decoration: none;
	font-weight: bold;
}

#bflink
{
	float: right;
	font-size: 0.7em;
	color: #004A99;
	margin: 4px 25px 0px 0px;
	padding-bottom: 9px;
	clear: both;
}

#bflink a
{
	text-decoration: none;
	color: #004A99;
}

#bflink a:hover
{
	color: #4C76A2;
}

/* Development */

div#dev-wrapper
{
	float: left;
	overflow: auto;
	height: 400px;
}