/* Global styles */ 
* {
	margin:0;
	padding:0;
}

body
{
	background: #e1dbcb url('../img/paper.png');
	color: black;
	font-family: verdana, arial, sans-serif;
	font-size: 13px;
}

a
{
	text-decoration: underline;
}

a:hover
{
	text-decoration:none;
}

img
{
	border: 1px solid #404040;
}


ul li {
	margin-left: 1.5em;
	margin-top: .5em;
}

h1, h2, h3, h4
{
	font-family: Tahoma, Verdana, helvetica, arial, sans-serif;
	font-weight: normal;
	margin: 0.5em 0em;
}

h1 {
	color: #7F6036;
font-size: 18pt;
}

h2 {
	color: #006306;
font-size: 14pt;
}

h3, h4
{
	color: #B74600; 
font-size: 11pt;
font-weight: bold;

}


div.ex-content
{
color: #333;
}

img.avatar 
{
float: left; 
margin-right: 10px;
margin-bottom: 10px;
}

.nickname
{
font-weight: bold;
}


.message 
{
	color: #900;
}


/* Page block elements */

div#content_row, div#header, div#footer
{
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	width: 765px;
	clear: both;
	padding: 0px;
	overflow: auto;
}


div#content, div#sidebar
{
float: left;
}

div#content
{
}

div#sidebar
{
font-size: 90%;
padding: 1em 0px;
}

div.sidebar_widget
{
border: 1px dotted black;
width: 240px;
padding: 5px;
background: #eee;
}

div.sidebar_widget div
{
margin: .5em 0em;
}


div#header
{
margin-bottom: .5em;
}

div#footer
{
margin-top: 1em;
text-align: center;
font-size: .9em;
clear: both;
}


div.ex-content a, div.ex-content a:visited, div.ex-content a:hover
{
color: #333;
}


#website_title
{
/* float:left; */
/* background: url('../img/dojoscore.png'); */
height: 56px;
width: 240px;
}

#website_title span#title_text
{
display: none;
font-family: tahoma;
font-weight: bold;
font-size: 2em;
vertical-align: text-bottom;
}

#website_title a
{
	text-decoration: none;
}

#website_title img
{
border-width: 0px;
}

#header ul
{
margin-top: .5em;
float: right;
list-style: none; 
}


#header ul li
{
float: left; 
font-weight: bold;
}

#header_belt
{
	background: #333 url('../img/black-belt.png') top left;
	color: #eee;
	height: 60px;
	clear:both;
}

#footer ul
{
list-style: none; 
margin: auto;
}

#footer ul li
{
display: inline;
margin-right: 10px;
}

#sidebar ul.para-spaced li
{
margin-top: 1em;
}

#content_row
{
	background: #fff url('../img/canvas-mat.png') top left;
	border-left: 1px solid #999;	
	border-right: 1px solid #999;	
	border-bottom: 1px solid black;	
	border-top: 0px;	
}

#content, #sidebar
{
	padding: 10px;
}

#footer_row
{
clear: both;
}


#content div, #content p
{
padding-bottom: 1em;
}

#content div.style_subtree
{
padding:.3em 0em;
margin-left: 20px;
}

ul.message_commands li
{
display: inline;
margin-right: 30px;
}

.school_comment
{
font-size: 90%;
}

.school_comment_footer
{
font-size: 80%;
}

.school_comment_footer ul, .school_comment_footer li
{ display: inline; }


#recaptcha_area div
{
padding: 0em;
}

blockquote
{
font-style:italic;
margin: 1em 3em;
}

/* Tables */
table {
	border: 0px solid #ccc;
	border-collapse: collapse;
	clear: both;
}


table tr td {
	border: 0px solid #ccc;
	padding: 5px;
	vertical-align: top;
}

table tr.altrow td {
	background: #f4f4f4;
}


table.messages th, table.messages td 
{
	border: 1px solid #ccc;
	text-align: left;
	padding: 5px;
}

table.messages th.from {
	width: 150px;
}

table.messages th.subject {
	width: 300px;
}

table.messages .unread
{
	font-weight: bold;
}



div.user_abstract {
	clear: both;
}


form {
	clear: both;
	padding: 0;
}

label {
	display: block;
}

input, textarea {
	clear: both;
	padding: 2px;
}


div.error-message {
	clear: both;
	color: #900;
	font-weight: bold;
}







/***********************************/
/* All code below should be exclusively Cake framework-related. */



td.actions {
	text-align: center;
	white-space: nowrap;
}

td.actions a {
	margin: 0px 6px;
}
.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
}

/* Paging */
div.paging {
	background:#fff;
	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 {
}

/* Scaffold View */
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: 10em;
	margin-top: -2em;
	vertical-align: top;
}

/* Forms */

fieldset {
	border: 1px solid #ccc;
	margin-top: 30px;
	padding: 16px 20px;
}

fieldset legend {
	background:#fff;
	color: #e32;
	font-size: 160%;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	vertical-align: text-top;
}


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

form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
}


select {
	clear: both;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
input[type=radio] {
	float:left;
	width:auto;
	margin: 0 3px 7px 0;
}
div.radio label {
	margin: 0 0 6px 20px;
}
input[type=submit] {
	display: inline;
font-weight: bold;
	padding: 2px 5px;
	width: auto;
margin-bottom: 1em;
}

/* Notices and Errors */
div.message {
	clear: both;
	font-size: 140%;
	font-weight: bold;
	margin: 1em 0;
}



p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}

/*  Actions  */
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;
}

/* Related */
div.related {
	clear: both;
	display: block;
}

/* Debugging */
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
}
pre.cake-debug {
	background: #ffcc00;
	font-size: 120%;
	line-height: 140%;
	margin-top: 1em;
	overflow: auto;
	position: relative;
}
div.cake-stack-trace {
	background: #fff;
	border: 4px dotted #ffcc00;
	color: #333;
	margin: 0px;
	padding: 6px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px;
	padding: 1em;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #ff0;
	padding: 4px;
}
div.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
div.code-coverage-results div.covered span.content {
	background:#cec;
}
div.code-coverage-results div.ignored span.content {
	color:#aaa;
}
div.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
div.code-coverage-results span.line-num strong {
	color:#666;
}
div.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0px 1px;
	margin-top:30px;
	padding-top:5px;
}
div.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
div.code-coverage-results div.realstart {
	margin-top:0px;
}
div.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
div.code-coverage-results span.result-bad {
	color: #a00;
}
div.code-coverage-results span.result-ok {
	color: #fa0;
}
div.code-coverage-results span.result-good {
	color: #0a0;
}
