body {
	margin:0;
	padding:0;
	border:0;
	width:100%;
	background:#fff;
	min-width:600px;
	font-size:90%;
}

a {
   	color:#369;
}

a:hover {
	color:#fff;
	background:#369;
	text-decoration:none;
}

h1, h2, h3 {
	margin:.8em 0 .2em 0;
	padding:0;
}

p {
	margin:.4em 0 .8em 0;
	padding:0;
}

img {
	margin:10px 0 5px;
}

/* Header styles */
#header {
	clear:both;
	float:left;
	width:100%;
}

#header {
	border-bottom:1px solid #000;
}

#header p,
#header h1,
#header h2 {
	padding:.4em 15px 0 15px;
	margin:0;
}
#header h1 a {
	color:#000;
	text-decoration:none;
}

#header h1 a:hover {
	background:#fff;
	text-decoration:underline;
}

#header ul#leftmenu {
	float:left;
	list-style:none;
	margin:10px 0 0 0;
	padding:0;
}
#header ul#leftmenu li {
	display:inline;
	list-style:none;
	margin:0;
	padding:0;
}
#header ul#leftmenu li a {
	display:block;
	float:left;
	left:15px;
	margin:0 0 0 1px;
	padding:3px 10px;
	text-align:center;
	background:#eee;
	color:#000;
	text-decoration:none;
	position:relative;
	line-height:1.3em;
}
#header ul#leftmenu li a:hover {
	background:#369;
	color:#fff;
}
#header ul#leftmenu li a.active,
#header ul#leftmenu li a.active:hover {
	color:#fff;
	background:#000;
	font-weight:bold;
}
#header ul#leftmenu li a span {
	display:block;
}

#header ul#rightmenu {
	float:right;
	list-style:none;
	margin:10px 0 0 0;
	padding:0;
}
#header ul#rightmenu li {
	display:inline;
	list-style:none;
	margin:0;
	padding:0;
}
#header ul#rightmenu li a {
	display:block;
	float:right;
	right:15px;
	margin:0 1px 0 0;
	padding:3px 10px;
	text-align:center;
	background:#eee;
	color:#000;
	text-decoration:none;
	position:relative;
	line-height:1.3em;
}
#header ul#rightmenu li a:hover {
	background:#369;
	color:#fff;
}
#header ul#rightmenu li a.active,
#header ul#rightmenu li a.active:hover {
	color:#fff;
	background:#000;
	font-weight:bold;
}
#header ul#rightmenu li a span {
	display:block;
}

#flashMessage .success {
	clear:both;
	float:left;
	width:100%;
	position:relative;
	padding:2px;
	background:#0f0;
}
#flashMessage .error {
	clear:both;
	float:left;
	width:100%;
	position:relative;
	padding:2px;
	background:#f00;
}

#admin_main {
	clear:both;
	float:left;
	width:100%;
	position:relative;
	overflow:hidden;
	padding:0 15px;
}
#admin_login {
	clear:both;
	float:left;
	width:100%;
	position:relative;
	overflow:hidden;
	padding:0 15px;
}

table {
	width:80%;
	border-left:1px solid #000;
	border-top:1px solid #000;
	border-collapse:collapse;
	margin:5px;
	padding:2px;
}
th {
	background:#eee;
	border-right:1px solid #000;
	border-bottom:1px solid #000;
}

td {
	border-right:1px solid #000;
	border-bottom:1px solid #000;
	text-align:center;
}

table.ap_ai_form {
	width:80%;
	border-left:1px solid #000;
	border-top:1px solid #000;
	border-collapse:collapse;
	margin:5px;
	padding:2px;
	background:#eee;
}
.ap_ai_form td {
	border-right:1px solid #000;
	border-bottom:1px solid #000;
	text-align:left;
}


.form form {
	padding:5px 5px;
	min-width: 560px;
	max-width: 620px;
	width: 590px;
}
.form form div {
	float: left;
	display:block;
	padding:3px 0px;
	width: 580px;
}
.form form label {
	float: left;
	display:block;
	padding:3px;
	width:200px;
}
.form form .item_required {
	color: red;
	font-size: 80%;
	font-weight: bold;
	padding:0px 0px 0px 5px;
}
.form form .notice {
	font-size: 80%;
	padding:0px 0px 0px 5px;
}
.form form div.datetime select {
	margin:0px 3px;
}
.form form div.checkbox input {
	float: right;
	padding: 0 356px 0 0;
}
.form form .error-message {
	color:red;
	font-weight:bold;
	padding:3px;
}
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl.altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 12em;
	margin-top: -2em;
	vertical-align: top;
}

div.paging {
	color: #ccc;
	margin-bottom: 2em;
}
div.paging div.disabled {
	color: #ddd;
	display: inline;
}
div.paging span {
}
div.paging span.current {
	color: #000;
}
div.paging span a {
}

/*  Actions  */
div.actions {
	clear:both;
	padding: 15px 0 0 0;
}
div.actions ul {
	margin: 0px 0;
	padding: 0;
}
div.actions li {
	display: inline;
	list-style-type: none;
	line-height: 2em;
	margin: 0 2em 0 0;
	white-space: nowrap;
}
div.actions ul li a {
	background:#fff;
	color: #003d4c;
	text-decoration: none;
}
div.actions ul li a:hover {
	color: #333;
	text-decoration: underline;
}

div.categories ul li span {
	font-size:120%;
	font-weight:bold;
}
div.categories ul li a {
	background:#fff;
	color: #003d4c;
	text-decoration: none;
}
div.categories ul li a:hover {
	color: #333;
	text-decoration: underline;
}


/* Footer styles */
#footer {
	clear:both;
	float:left;
	width:100%;
	border-top:1px solid #000;
}

#footer p {
	padding:10px;
	margin:0;
}

/* Categories styles */
.categories form .text input {
	width: 330px;
}
.categories form .file input {
	width: 300px;
}

/* Article styles */
.articles form .text input {
	width: 330px;
}

/* ArticleItem styles */
.articleItems form .text input {
	width: 330px;
}
.articleItems form .file input {
	width: 300px;
}

/* Item styles */
.items form#ItemEditForm .text input,
.items form#ItemAddForm .text input {
	width: 330px;
}


/* debug Layout styles */
TABLE.cake-sql-log {
	clear:both;
	border-left:1px solid #000;
	border-top:1px solid #000;
	border-collapse:collapse;
	margin:5px;
	padding:2px;
}
.cake-sql-log TH {
	background:#eee;
	border-right:1px solid #000;
	border-bottom:1px solid #000;
}
.cake-sql-log TD {
	border-right:1px solid #000;
	border-bottom:1px solid #000;
}