/*** General tags ***/

body {
color:#404040;
font:76% Verdana,Tahoma,Arial,sans-serif;
line-height:1.2em;
margin:0 auto;
padding:0 20px;
}

a {
color:#77ACCF;
font-weight:700;
text-decoration:none;
}

a:hover {
text-decoration:underline;
}

a img {
border:0;
}

a.article_deactive {
	color:#777777;	
}

p {
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 18px;
	margin-left: 10px;
}

ul,ol,dl {
font-size:1em;
margin:2px 20px 16px 0;
}

#content ul,ol,dl {
font-size:1em;
margin:2px 20px 16px 0;
}

#content li {
	list-style-position: inside;
	list-style-type: disc;
	margin-left: 10px;
}


ul ul,ol ol {
margin:4px 0 4px 35px;
}

blockquote {
border:1px solid #dadada;
font-size:0.9em;
margin:20px 10px;
padding:8px;
}

h1 {
/*color:#2D5F80;*/
color:#2D5F80;
font-size:3em;
letter-spacing:-3px;
margin:5px 0 10px 0px;
}

h1 a {
color:#2D5F80;
text-transform:none;
}

h2 {
border-bottom:4px solid #dadada;
color:#2D5F80;
font-size:1.4em;
letter-spacing:-1px;
margin:0 0 10px;
padding:0 2px 2px 10px;
}

h2 a {
color:#2D5F80;
}

h3 {
border-bottom:1px solid #dadada;
color:#2D5F80;
font-size:1.2em;
font-weight:700;
margin:10px 0 8px;
padding:1px 2px 2px 3px;
}

h3 a {
color:#2D5F80;
}


Xdiv {
border:1px dotted #dadada;
}



/*** Main wrap and header ***/

#wrap {
color:#404040;
margin:10px auto;
padding:0;
width:970px;
}

#header {
	margin:0;
	line-height: normal;
	border-bottom:4px solid #dadada;
}

#toplinks {
font-size:0.9em;
padding:5px 2px 2px 3px;
text-align:right;
}

#toplinks a {
color:gray;
}

#slogan {
color:gray;
font-size:1.5em;
font-weight:700;
letter-spacing:-1px;
line-height:1.2em;
margin:15px 0 20px 28px;
}

/*** Sidebar and menu ***/

#sidebar {
	/*background-color:#FF99CC;*/
background-color:#FFFFFF;
	left:10px;
	margin-top: 2px;
	margin-right: 10px;
	margin-bottom: 5px;
	margin-left: 0;
	padding:0;
	width:150px;
	/*height:100%;*/
	float:left;
}


#sidebarOLD {
	float:left;
	line-height:1.4em;
	width:170px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 5px;
	margin-left: 0;
	padding-top: 1px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
}

#sidebar ul {
font-size:0.9em;
list-style:none;
margin:0;
padding:0 0 15px 10px;
}

#sidebar li {
list-style:none;
margin:0 0 4px;
padding:0;
color:#2D5F80;

}

#sidebar li a {
font-size:1.2em;
font-weight:700;
padding:2px;
}

#sidebar ul ul {
line-height:1.2em;
margin:4px 0 3px 15px;
padding:0;
}

#sidebar ul ul li a {
font-weight:400;
}

#sidebar h2 {
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0;
}

#sidebar h4 {
	font-size:0.8em;
	color:#000000;
	margin-left:14px;
}

/*** Main content ***/

#content {
background-color:#FFFFFF;
/*margin-left:20px;*/
	margin-top: 2px;
overflow:auto;
}


#contentOLD {
float:right;
line-height:1.5em;
margin:0;
padding:0;
text-align:left;
width:775px;
}

#contentalt {
float:left;
line-height:1.5em;
margin-right:20px;
padding:0;
text-align:left;
width:750px;
}

#content h3,#contentalt h3 {
margin:10px 0 8px;
}

/*** Footer ***/

#footer {
border-top:4px solid #dadada;
clear:left;
color:gray;
font-size:0.9em;
line-height:1.6em;
margin:0 auto;
padding:8px 0;
text-align:right;
}

#footer p {
margin:0;
padding:0;
}

#footer a {
color:#808080;
}

#footer.left {
	text-align:left;
}

/*** Various classes ***/

.box {
background:#2D5F80;
border:1px solid #c8c8c8;
color:#fff;
font-size:0.9em;
line-height:1.4em;
padding:10px 10px 10px 13px;
}

.box a {
color:#f0f0f0;
}

.left {
float:left;
margin:0 15px 4px 0;
}

.right {
float:right;
margin:0 0 4px 15px;
}

.readmore {
margin:-10px 10px 12px 0;
text-align:right;
}

.timestamp {
font-size:1.2em;
margin:-5px 0 15px 10px;
}

.timestamp a {
font-weight:normal;
}

.blue {
color:#2D5F80;
}

.clear {
	clear:both;
}

.fade {
color:#c8c8c8;
}

.gray {
color:gray;
}

.photo {
background:#fff;
border:1px solid #bababa;
margin:6px 18px 2px 5px;
padding:2px;
}
.table2 {
	padding-left: 10px;
	padding-bottom: 18px;
}

/* From: cake.generic */
/* Tables */
table {
	background: #fff;
	border:1px solid #ccc;
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
}
/*
CB: changed text-align from center to left
*/
th {
	background: #f2f2f2;
	border:1px solid #bbb;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	text-align: left;
}
th a {
	background:#f2f2f2;
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a:hover {
	background: #ccc;
	color: #333;
	text-decoration: none;
}

/*
CB: was: ver-align: top
CB: changed test-align from center to left
*/

table tr td {
	background: #fff;
	border-right: 1px solid #ccc;
	padding: 2px;
	text-align: left;
	vertical-align: center;
}


/*
Table Edit OrderDetails
NOT USED
*/
table tr.tableod td {
	background: #fff;
	border-right: 1px solid #ccc;
	padding: 4px;
	text-align: center;
	vertical-align: center;
}


.tablep2 {
	width: 120px;
	clear: left;
	margin-left: 10px;
}

.tablep tr td {
/*	background: #fff;
	border-right: 1px solid #ccc;
	padding: 4px; */
	text-align: left;
	border-bottom: 1px solid #ccc;
/*	vertical-align: top; */
}
.tablep th {
	background: #f2f2f2;
	border:1px solid #bbb;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	text-align: left;
	padding-left:4px;
}

table tr.altrow td {
	background: #f4f4f4;
}

/* Thread, received */
table tr.mess_st td {
	background: #99FFF0;
}
table tr.mess_sd td {
	background: #99B2FF;
}
table tr.mess_rt td {
	background: #FFFF99;
}
table tr.mess_rd td {
	background: #99FF99;
}

/*
CB: changed text-align from center to left
*/

td.actions {
	text-align: left;
	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: 20em;
	margin-top: -2em;
	vertical-align: top;
}

/* Forms */
form {
/*	clear: both;  */
	margin-right: 20px;
	padding: 0;
	width: 80%;
}
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;
	margin-bottom: 1em;
	padding: .5em;
	vertical-align: text-top;
}
form div.input {
	color: #444;
}
form div.required {
	color: #333;
	font-weight: bold;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
/*	margin-left: 140px; */
}
label {
	display: block;
	font-size: 110%;
	padding-right: 20px;
}
/* CB font-size 140%*/
input, textarea {
	clear: both;
	font-size: 120%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 2px;
/*	vertical-align: top; */
/*CB	width: 100%; */
}
select {
	clear: both;
	font-size: 120%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
/*	width: 100%; */
}
option {
	font-size: 120%;
	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-size: 110%;
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
}

/* Notices and Errors */
div.message {
	clear: both;
	color: #900;
	font-size: 140%;
	font-weight: bold;
	margin: 1em 0 1em 10px;
}
div.error-message {
	clear: both;
	color: #900;
	font-weight: bold;
}
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  */
/*CB*/
div.actions {
	padding-left:10px;
	padding-bottom:10px;
	padding-top:10px;
}

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;
}
