/* CSS DOCUMENT */
/* PRIORITY CONVENTION
 * margin, padding, 
 * position, top, left, float, width, height
 * display, visibility, z-order
 * font-*, text-*, color
 * background, border
 */
*,* {
	padding: 0;
	margin: 0;
	}
body, html {
	height: 100%;
	font-size: small;
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	}

/* This is used to fix the bug with
 * disappearing text in IE
 * Apply to the wrapper of the disappearing elements.
 */
.inline-block {
	display: inline-block;
	}
.set {
	float: left;	
	}
.two-columns {
	width: 49%;
	}
.three-columns {
	width: 32%;
	}
.clr {
	clear: both;
	visibility: hidden;
	}
p {
	width: 33em;
	}
ul li {
	list-style-type: none;
	}
ul.image-list li {
	margin: 0 0 2em 0;
	}
ul.image-list a, ul.image-list a:hover {
	background-color: transparent;
	border: 0;
	}

.left {
	float: left;
	}
.right {
	float: right;
}
.left-margin {
	margin-left: 1em;
	}
.bottom-margin {
	margin-bottom: 1em;
}

div.primary div.readable-information, div.readable-information {
	width: 300px;
	float: left;
	}
div.primary div.readable-information p, div.readable-information p {
	margin: 1.5em 0 0 0;
	width: 100%;
	} 
div.primary div.readable-information p.slogan {
	margin: 2em 0 2em 0;
	width: 450px;
	font-size: 1.2em;
}
/* FORMS */
fieldset {
	max-width: 33em;
	width: auto;
	background-color: #f6f6f6;
}
/* LINKS */
a { 
	font-size: 1em; 
	font-weight: bold; 
	text-decoration: none;
	border-bottom: #FFF 1px dotted;
	}
a:link { color: #424242; border-bottom: 1px dotted #424242; }
a:visited { color: #424242; border-bottom: 1px dotted #424242; }
a:hover { color: #FFF; background-color: #424242; border-bottom: 0; }
a:active{ color: #424242; border-bottom: 1px dotted #424242; }

a img { border: 0; }
a.image-link:link { border: 0; }
a.image-link:visited { border: 0; }
a.image-link:hover { background-color: transparent; border: 0; }
a.image-link:active { border: 0; }

#header a:link { color: #FFF; }
#header a:visited { color: #FFF; }
#header a:hover { color: #424242; background-color: #FFF; }
#header a:active{ color: #424242; background-color: #FFF; }
#header a.logo:hover { background-color: transparent; }
#header a.logo:active { background-color: transparent; }

/* HEADLINES */
h1 a {
	float: left;
	border-bottom: 0;
}

h1,h2,h3,h4 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
}
h1 {
	font-size: 2.5em;
}
h3 {
	color: #c6c65b;
	font-size: 140%;
	padding: 2em 0 0 0;
}
h4 {
	color: #c6c65b;
	font-weight: normal;
	padding-top: 0.5em;
}

/* FOOTER */
div#footer {
	margin: -1em 0 0 0;
	height: 2em;
	vertical-align: middle;
	background-color: #424242;
	}
div#footer ul li {
	margin: 0 0 0 1em;
	float: left;
	list-style-type: none;
	}
div#footer ul li a {
	font-size: 0.8em;
	border-bottom: 0;
	}

div#footer ul li a:link {
	color: #FFF;
	}
div#footer ul li a:visited {
	color: #FFF;
	}
div#footer ul li a:hover {
	color: #424242;
	background-color: #FFF;
	}
div#footer ul li a:active {
	color: #FFF;
	}
.requiredField {
	background-color: #FFCC66;
}

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

/* Paging */
div.paging {
	color: #ccc;
}
div.paging div.disabled {
	color: #ddd;
	display: inline;
}

/* Forms */
form div {
	clear: both;
	padding: .8em 1em 1em 1em;
	vertical-align: text-top;
}
form div.required {
	color: #333;
	background: #f2f2f2;
	font-weight: bold;
}
form div.optional, form div.input {
	background: #f6f6f6;
	color: #444;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 1em;
}
input, textarea, select {
	clear: both;
	display: block;
	font-size: 1em;
	width: auto;
	background-color: #FFF;
	border: 1px #DDD solid;
}
select {
	display: inline;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 14px;
	padding: 0 0.3em;
}
input.checkbox {
	clear: left;
	float: left;
	margin: 2px 6px 7px 2px;
	width: auto;
}
input.submit {
	display: inline;
	padding: 0 .4em;
	width: auto;
	vertical-align: bottom;
}
input[type=hidden] {
	display: none;
}
/* Notices and Errors */
div.message, p.error, div.error-message {
	color: #900;
	font-size: 16px;
	font-weight: bold;
	margin: 8px 0px;
}
div.error-message {
	clear: both;
}
/* The messages set by setFlash */
#flashMessage {
	width: 100%;
	text-align: center;
}
.message-ok {
    border: solid 1px #cfc;
    background-color:#6d6;
}
div#message_info {
	background-color: #FFCC99;
	border-color:#d66;
}
div#message_error {
	background-color: #fcc;
	border-color: #d66;
}
div.error em {
	font-size: 18px;
	color: #003d4c;
}
span.notice {
	background-color: #c6c65b;
	color: #fff;
	display: block;
	font-size: 16px;
	padding: 0.5em;
	margin: 1em 0;
}

/* Actions */
div.actions {
	position: absolute;
	top: 75px;
	left: 25px;
	text-align: left;
}
div.actions ul {
	margin: 0;
	padding: 2px 6px;
	list-style-type: none;
	display: inline;
}
div.actions li {
	display: inline;
	list-style-type: none;
	margin: 0px 0px 3px 0px;
	padding: 0px 2px;
}
div.actions ul li a{
	background: #003d4c;
	border: 0px solid #656565;
	border-width: 1px 1px 0px 1px;
	color: #ddd;
	padding: 3px 8px;
	text-decoration: none;
}
div.actions ul li a:hover {
	background:#fff;
	color: #003d4c;
}

/* Related */
div.related {
	clear: both;
	display: block;
}
div.related div.actions {
	position: relative;
	top: 4px;
	left: 0;
	text-align: left;
}
div.related div.actions ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
div.related div.actions li {
	list-style-type: none;
	margin: 0 0 4px 0px;
	padding: 0;
}
div.related div.actions ul li a {
	background:#fff;
	color: #2C6877;
	padding: 0;
	text-decoration: underline;
}
div.related div.actions ul li a:hover {
	background:#fff;
	color: #2C6877;
	text-decoration: none;
}

/* Debugging */
pre {
	padding: 1em;
}

pre.cake_debug {
	margin: 2px;
	font-size: 12px;
	line-height: 18px;
}

div.cake-stack-trace {
	margin: 2px 2px 0 2px;
	font-size: 12px;
	line-height: 18px;
}

div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000000;
	background-color: #F0F0F0;
	border: 1px dotted #606060;
	padding: 2px 0 2px 5px;
	margin: 0px 4px 5px 5px;
}

div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 5px;
	margin: 0;
	padding: 0 0 10px 0;
}

div.cake-code-dump pre {
	padding: 7px 8px;
	margin: 1px 4px 2px 6px;
}

div.cake-code-dump span.code-highlight {
	background-color: #FFFF00;
}
