/* Layout */

#container{
	text-align:left;
}

#header{
	padding: 10px 0px 10px 0px;
	border-bottom:2px solid #000000;
	background-color: #CCCCCC;
	width: 50%;
	min-height: 25px;
	height: 28px;
	float: left;
}

#search{
	padding: 10px 0px 10px 0px;
	border-bottom: 2px solid #000000;
	background-color: #CCCCCC;
	width: 50%;
	min-height: 25px;
	height: 28px;
	text-align: left;
	float: left;
}

#menu{
	border-right: 0px solid #000000;
	border-bottom: 1px solid #000000;
	background-color: #EEEEEE;
	padding-top: 10px;
	width: 100%;
	float: left;
}

#content{
	padding: 10px 0px 30px 0px;
	color: #000000;
	height: 100%;
	float: left;
}

#footer{
	border-top:2px solid #000000;
	clear:both;
	padding: 6px 10px 6px 0px;
	text-align: right;
	background-color: #CCCCCC;
	font-size: 10px;
}

#images {}

#field_tmpl {
	visibility: hidden;
	display: none;	
}

/* tables */

table {
	/* width: 100%; */
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	color:#333;
	background-color: #fff;
	clear:both;
	padding: 0;
	margin: 0px 10px 2em 10px;
	white-space: normal;
}	

th {
	background-color: #e2e2e2;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	border-right: 1px solid #003d4c;
	border-bottom: 1px solid #003d4c;
	text-align: center;
	padding:1px 4px;
}

table tr td {
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	padding:4px 4px;
	vertical-align:top;
	text-align: left;
}

table tr.altRow td {
	background-color: #E6E6E6;
}

table td.actions {
	white-space: nowrap;
}

#cakeSqlLog td {
	text-align: left;
	padding: 4px 8px;
	background: #fff;
	border-bottom: 2px solid #ccc;
}

/* notices and errors */

#flashMessage, .error, .error_message {
	color:#900;
	font-size: 16px;
	background-color: #fff;
	margin: 8px 0px;
	font-weight: bold;
}

.error_message {
	/* clear: both; */
}

.error em {
	font-size: 18px;
	color: #003d4c;
}

.notice {
	color: #656565;
	font-size: 14px;
	background-color: #f4f4f4;
	padding: 0.5em;
	margin: 1em 0;
	display:block;
}

.tip {
	color: #656565;
	background-color: #ddd;
}

/* forms */

form {
	margin-top: 1em;
}

form div{
	vertical-align: text-top;
	margin-bottom:2em;
}

form div.date{
	margin-left: 0em;
}

label {
	display: block;
	font-size: 14px;
}

input[type=checkbox] {
	float: left;
	margin: 2px 6px 7px 2px;
}

input, textarea {
	display:block;
	font-size: 14px;
	font-family: inherit;
	font-weight: normal;
}

select {
	vertical-align: text-bottom;
	font-size: 14px;
	font-family: inherit;
	font-weight: normal;
}

option {
	font-size: 14px;
	font-family: inherit;
	padding: 0 0.3em;
	font-weight: normal;
}

input[type=submit] {
	padding:5px;
	border:1px outset #666666;
	display: inline;
	vertical-align: bottom;
	font-weight:bold;
	background-color:#CCCCCC;
}

input[type=submit]:hover {
	padding:5px;
	border:1px outset #666666;
	display: inline;
	vertical-align: bottom;
	font-weight:bold;
	background-color:#999999;
}

form.search {
	margin: 0px 0px 0px 0px;
}

form.search label {
	display: inline;
	font-weight: bold;
	font-size: 12px;
}

form.search input, textarea {
	display: inline;
	font-size: 12px;
	font-family: inherit;
	font-weight: normal;
	margin-right: 5px;
}

form.search select {
	vertical-align: text-bottom;
	font-size: 12px;
	font-family: inherit;
	font-weight: normal;
	max-width: 150px;
	width: 150px;
}

form.search select option {
	font-size: 12px;
	font-family: inherit;
	padding: 0 0.3em;
	font-weight: normal;
	max-width: 250px;
	width: 250px;
}

form.search input[type=submit] {
	padding:0px;
	border:1px outset #666666;
	display: inline;
	vertical-align: bottom;
	font-weight: bold;
	background-color:#EEEEEE;
}

form.search input[type=submit]:hover {
	padding:0px;
	border:1px outset #666666;
	display: inline;
	vertical-align: bottom;
	font-weight: bold;
	background-color:#999999;
}

/* Form Divs */

div.required {
	color:#666666;
	font-weight:bold;
}

div.optional {
	color:#999999;
	font-weight:bold;
}

div.submit {
	margin-top: 40px;
	margin-left: 140px;
}

div.hidden {
	display: none;
}

/* action links */

ul.actions {
	float: left;
	width: 200px;
}

ul.actions li {
	margin-top: 4px;
}

pre {
	padding: 1em;
}

/* images */

img {
	border: 0px;
}

img.thumb {
	vertical-align: top;
	border: 1px solid #000000;
	margin: 0px 10px 10px 0px;
}

a.thumbAdd {
	margin: 0px 0px 0px 0px;
	padding: 0px 4px 1px 4px;
	border: 1px solid #000000;
	color: #006600;
	display: inline;
	font-weight: bold;
}

a.thumbAdd:hover {
	text-decoration: none;
}


a.thumbDel {
	margin: 0px 0px 0px 0px;
	padding: 0px 4px 1px 4px;
	border: 1px solid #000000;
	color: #CC0000;
	clear: both;
	display: inline;
	font-weight: bold;
}

a.thumbDel:hover {
	text-decoration: none;
}

label.sub {
	font-size: 80%;
	margin-bottom: 5px;
}
