body {
	color: #000;
	background-color: #fff;
	font-size: 0.85em;
}

#hd {
	padding: 0 20px;
	min-height: 94px;
}

#hd a {
	border-bottom: none;
}

#hd a#logo {
	display: block;
	float: left;
	width: 200px;
	min-height: 69px;
	padding-top: 15px;
	padding-left: 20px;
}

#hd ul#nav {
	margin-left: 250px;
	padding-top: 30px;
}

#hd ul#nav li {
	display: inline-block;
	margin-right: 10px;
}

#hd ul#nav li.selected {
	display: inline-block;
	padding-bottom: 11px;
	background-image: url(/img/point.png);
	background-repeat: no-repeat;
	background-position: 50% bottom;
}

#hd ul#nav li a:link,
#hd ul#nav li a:visited {
	color: #333;
	background-color: #e5e5e5;
	background-color: rgba(204, 204, 204, 0.5);
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	min-width: 60px;
	padding: 8px 20px;
	text-decoration: none;
	display: block;
	text-align: center;
	font-size: 115%;
}

#hd ul#nav li a:hover,
#hd ul#nav li a:active {
	text-decoration: underline;
}

#hd ul#nav li.selected a:link,
#hd ul#nav li.selected a:visited {
	color: #000;
	background-color: #ccc;
	font-weight: bold;
	background-image: url(/img/shadow.gif);
	background-repeat: repeat-x;
	background-position: left top;
}

#hd ul#metanav {
	float: right;
	margin-top: 38px;
	margin-right: 20px;
}

#hd ul#metanav li {
	display: inline-block;
	color: #333;
	font-size: 90%;
}

#hd ul#metanav li.hybrid {
	padding-right: 1px;
	margin-left: 5px;
	background-color: #e5e5e5;
	background-color: rgba(204, 204, 204, 0.5);
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	text-align: center;
	padding: 3px 2px 3px 18px;
}



#hd ul#metanav li a:link,
#hd ul#metanav li a:visited {
	text-decoration: none;
	color: #333;
	background-color: #e5e5e5;
	background-color: rgba(204, 204, 204, 0.5);
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	text-align: center;
	padding: 3px 18px;
}

#hd ul#metanav li.hybrid a.account:link,
#hd ul#metanav li.hybrid a.account:visited {
	padding: 0;
	background: transparent;
}

#hd ul#metanav li.selected a.account:link,
#hd ul#metanav li.selected a.account:visited {
	color: #000;
}

#hd ul#metanav li a:hover,
#hd ul#metanav li a:active {
	text-decoration: underline;
}

#hd ul#metanav li a.logout {
	color: #333;
	background-color: rgb(242, 242, 242);
	background-color: rgba(255, 255, 255, 0.5);
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	padding: 1px 18px;
	margin-left: 8px;
}

#hd ul#metanav li.selected,
#hd ul#metanav li a.selected:link,
#hd ul#metanav li a.selected:visited {
	background-color: #ccc;
	color: #000;
	background-image: url(/img/shadow.gif);
	background-repeat: repeat-x;
	background-position: left top;
}

#hd ul#metanav li.selected a.logout {
	background-color: #efefef;
	background-color: rgba(255, 255, 255, 0.75);
	color: #000;
}

#content {
	margin: 0 20px;
}

#content #side-panel {
	width: 200px;
	padding: 20px 10px;
	margin-right: 10px;
	float: left;
	font-size: 90%;
}

#content #main-panel {
	border-left: 1px solid #e5e5e5;
	margin-left: 230px;
	padding: 20px;
}

#content #h1 {
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #ccc;
	padding: 20px 20px;
	color: #333;
	position: relative;
}

#content #h1 h1 {
	font-size: 220%;
}

#content #h1 #help {
	background-image: url(/img/help.png);
	background-repeat: no-repeat;
	background-position: left top;
	display: block;
	position: absolute;
	right: 25px;
	top: 27px;
	padding-left: 30px;
	min-height: 25px;
	padding-top: 3px;
	padding-bottom: 5px;
	color: #29554e;
	font-weight: normal;
	text-decoration: none;
	border-bottom: none;
}

#content #h1 #help span {
	border-bottom: 1px solid #dbe6e4;
}

#content #h1 a#help:hover span {
	border-bottom: 1px solid #29554e;
}



#content #side-panel h3 {
	padding-bottom: 11px;
	background-image: url(/img/point-lt.png);
	background-repeat: no-repeat;
	background-position: 20px bottom;
	font-size: 120%;
	margin-bottom: 10px;
}

#content #side-panel h3 span {
	display: block;
	color: #000;
	background-color: #e5e5e5;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	padding: 6px 10px;
	position: relative;
}

#content #side-panel h3.em {
	background-image: url(/img/point.png);
}

#content #side-panel h3.em span {
	color: #000;
	background-color: #ccc;
}

#content #side-panel h3 span span {
	display: inline-block;
	padding: 0;
	position: absolute;
	right: 8px;
	top: 5px;
}

#content #side-panel h3 span a {
	font-size: 80%;
	padding: 3px 8px;
	color: #29554e;
	background-color: #fff;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	text-decoration: none;
	border-bottom: none;
}

#content #side-panel h3 span a.selected {
	color: #fff;
	background-color: #060;
	text-transform: uppercase;
	font-size: 75%;

}

#content #side-panel h4 {
	display: block;
	color: #000;
	background-color: #f2f2f2;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	padding: 6px 10px;
	font-size: 100%;
	margin-bottom: 10px;
	margin-top: 20px;
}

#content #side-panel ul,
#content #side-panel ol,
#content #side-panel p {
	margin: 10px;
	line-height: 1.4;
	color: #333;
}

#content #side-panel ul ul {
	margin: 0 0 10px 20px;
}

#content #side-panel ul ul ul {
	margin-bottom: 0;
}

#content #side-panel a:link,
#content #side-panel a:visited {
	color: #29554e;
}

#content #side-panel a:hover,
#content #side-panel a:active {
	color: #000;
}

#content #main-panel a:link,
#content #main-panel a:visited {
	color: #29554e;
	border-bottom: 1px solid #dbe6e4;
	text-decoration: none;
}

#content #main-panel a:hover,
#content #main-panel a:active {
	border-bottom: 1px solid #29554e;
}

#content #main-panel table {
	width: 100%;
	border-collapse: collapse;
}

#content #main-panel table thead tr th {
	background-color: #e5e5e5;
	color: #000;
	font-weight: bold;
	padding: 6px 10px;
}

#content #main-panel table thead tr th.first {
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-bottomleft: 10px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
}

#content #main-panel table thead tr th.last {
	-moz-border-radius-topright: 10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-top-right-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
}

#content #main-panel table thead tr th.action {
	width: 50px;
}

#content #main-panel table td {
	padding: 8px 10px;
}

#content #main-panel table tr td a:link,
#content #main-panel table tr td a:visited {
	color: #29554e;
	border-bottom: 1px solid #dbe6e4;
	text-decoration: none;
}

#content #main-panel table tr td a:hover,
#content #main-panel table tr td a:active {
	border-bottom: 1px solid #29554e;
}


#content #main-panel table tr td a.delete,
#content #main-panel table tr td span.delete {
	display: inline-block;
	color: #fff;
	background-color: #b34040;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	padding: 2px 5px;
	font-size: 90%;
	text-decoration: none;
	min-width: 40px;
	text-align: center;
	border-bottom: none;
}

#content #main-panel table tr td span.delete {
	color: #f2dfdf;
	background-color: #e5bfbf;
}

#content #main-panel table tr td a.delete:hover {
	background-color: #000;
}

#content #main-panel table tr td span.new {
	display: inline-block;
	color: #fff;
	background-color: #060;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	padding: 3px 5px 2px 5px;
	font-size: 80%;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	border-bottom: none;
}

#content #main-panel table tr td.shared span {
	background-image: url(/img/icon_pages.png);
	background-position: left 50%;
	background-repeat: no-repeat;
	padding-left: 25px;
}

#content #main-panel table td.page span {
	background-image: url(/img/icon_page.png);
	background-position: left 50%;
	background-repeat: no-repeat;
	padding-left: 25px;
	font-weight: bold;
}

#content #main-panel table td .ditto {
	padding-left: 6px;
}

#content #main-panel table td.level1 {
	padding-left: 40px;
}
#content #main-panel table td.level2 {
	padding-left: 70px;
}
#content #main-panel table td.level3 {
	padding-left: 100px;
}
#content #main-panel table td.level4 {
	padding-left: 130px;
}
#content #main-panel table td.level5 {
	padding-left: 160px;
}
#content #main-panel table td.level6 {
	padding-left: 190px;
}
#content #main-panel table td.level7 {
	padding-left: 220px;
}
#content #main-panel table td.level8 {
	padding-left: 250px;
}

#content #main-panel table tr td.editor {
	background-image: url(/img/icon_user.png);
	background-position: 14px 50%;
	background-repeat: no-repeat;
	padding-left: 42px;
}

#content #main-panel table tr td.admin {
	background-image: url(/img/icon_admin.png);
	background-position: 10px 50%;
	background-repeat: no-repeat;
	padding-left: 42px;
}

#content #main-panel table tbody tr {
	border-bottom: 1px solid #e5e5e5;
}

#content #main-panel p {
	line-height: 1.5;
}

#content #main-panel form {
	border-top: 1px solid #e5e5e5;
	margin-top: 20px;
}

#content #main-panel form.sectioned {
	border-top: none;
	margin-top: 0;
}

#content #main-panel form div,
#content #main-panel form#content-edit .edititem div {
	padding: 10px 0 9px 0;
	margin-bottom: 1px;
	border-bottom: 1px solid #e5e5e5;
}

#content #main-panel form div div {
	border: none;
	padding: 0;
	margin: 0;
}

#content #main-panel form#content-edit div {
	border: none;
	padding: 0;
	margin: 0;
}

#content #main-panel form div.error {
	border-bottom: none;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	background-color: #eccfcf;
	color: #b34040;
}

#content #main-panel form div.error .error {
	font-size: 90%;
}

#content #main-panel form div.last {
	border-bottom: none;
	margin-bottom: 20px;
}

#content #main-panel form label {
	width: 170px;
	display: block;
	float: left;
	padding-right: 10px;
	text-align: right;
	margin-top: 2px;
}

#content #main-panel form input.text {
	width: 200px;
}

#content #main-panel form input.colour {
	width: 60px;
}

#content #main-panel form p.submit {
	margin: 20px 0 10px 35px;
}

#content #main-panel form span.required,
#content #main-panel form span.error {
	vertical-align: top;
	margin-top: 3px;
	display: inline-block;
}

#content #main-panel form span.hint {
	font-size: 90%;
	color: #a8b0b7;
	display: block;
	margin-left: 180px;
	margin-top: 0.5em;
}

#content #main-panel form div.error span.hint {
	color: #b34040;
}

#content #main-panel form legend {
	display: none;
}

#content #main-panel h2,
#content #main-panel form#content-edit div div.h2 {
	display: block;
	color: #000;
	background-color: #e5e5e5;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	padding: 6px 10px 5px 10px;
	font-size: 110%;
	margin-bottom: 1.5em;
	position: relative;
}

#content #main-panel .h2 h2 {
	margin: 0;
	padding: 0;
	font-size: 100%;
}

#content #main-panel .h2 a.delete {
	display: inline-block;
	color: #fff;
	background-color: #b34040;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	padding: 2px 5px;
	font-size: 90%;
	text-decoration: none;
	min-width: 40px;
	text-align: center;
	border-bottom: none;
	font-size: 82%;
	position: absolute;
	top: 6px;
	right: 8px;
}

#content #main-panel .h2 a.delete:hover {
	background-color: #000;
} 

#content #main-panel h2.em {
	font-weight: bold;
}

#content #main-panel form#content-edit div div.edititem {
	margin-bottom: 20px;
}

#content #main-panel #template-help {
	padding: 8px 0 10px 0;
	margin-left: 10px;
}

#content .help h3 {
	display: block;
	color: #000;
/*	background-color: #e5e5e5;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;*/
	padding: 20px 0 5px 0;
	font-size: 180%;
	margin: 30px 0 20px 0;
	border-top: 1px solid #e5e5e5;
}

#content .help p {
	margin-bottom: 20px;
}

#content .help .code {
	background-color: #efefef;
	padding: 10px 20px 10px 20px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	font-family: Courier, monospace;
	margin-bottom: 20px;
}

#content .help .code strong {
	color: #339;
	font-weight: normal;
}


#content .help ol {
    padding: 0 0 1em 1em;
    margin: 0 0 0 1em;
    list-style: decimal;
}

#content .help dt {
	font-weight: bold;
}

#content .help dd {
	margin-left: 3em;
	margin-bottom: 1em;
}

#content .help dl.flat {
	margin: 1em 0 3em 0;
}

#content .help dl.flat dt {

}
#content .help dl.flat dd {
	margin-top: -1.23em;
	margin-left: 6em;
}


#content #diagnostics {
	margin-top: 20px;
	font-size: 90%;
}


.button,
.compact-button {
	display: inline-block;
	padding: .4em 1.5em;
	margin-right: 5px;
	border: 1px solid #a8b0b7;
	background-image: url(/img/background_button.gif);
	background-position: left bottom;
	background-repeat: repeat-x;
	text-decoration: none;
	color: #333;
	font-size: 93%;
	cursor: pointer;
	border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;		
}

p.alert-failure{
	background-image: url(/img/icon_warn.gif);
	background-repeat: no-repeat;
	background-position: 15px 6px;
	background-color: #eccfcf;
	color: #b34040;
	padding: 6px 5px 5px 40px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	margin: 0 0 10px 0;
}

p.alert-success{
	background-image: url(/img/icon_tick.gif);
	background-repeat: no-repeat;
	background-position: 12px 7px;
	background-color: #bfd9bf;
	color: #060;
	padding: 5px 5px 4px 40px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	margin: 0 0 10px 0;
}

p.alert-notice{
	background-image: url(/img/icon_notice.gif);
	background-repeat: no-repeat;
	background-position: 12px 6px;
	background-color: #ffe5bf;
	color: #f90;
	padding: 5px 5px 4px 40px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	margin: 0 0 10px 0;
}

p.alert-notice a {
	border-bottom: 1px solid #f90;
}



#footer {
	margin: 0 20px;
	padding: 20px;
	border-top: 1px solid #ccc;
	color: #545454;
	font-size: 90%;
}

#footer img {
	margin: 1px 4px 0 0;
	border: 0;
	padding: 0;
	vertical-align: bottom;
	float: left;
}


#footer a:link,
#footer a:visited {
	color: #0a87d2;
	border-bottom: none;
}

#footer .credit {
	float: left;
	margin-right: 10px;
	width: 200px;
}

#footer .version {
	float: left;
	padding-left: 10px;
}

#footer .version a:link,
#footer .version a:visited {
	color: #545454;
	text-decoration: none;
}

strong {
	font-weight: bold;
}

.clear {
	display: block;
	height: 0px;
	clear: both;
}