/*div, form, fieldset { border: 1px solid black; }*/

input[type=hidden] { display: none; }

* {
	margin:0;
	padding:0;
}

/* General Style Info */
body {
	background: #003d4c;
	color: #fff;
	font-family: arial, sans-serif;
	font-size: 90%;
	margin: 0;
}
body.popup { background: #ffffff; }
a {
	background:#fff;
	color: #003d4c;
	text-decoration: underline;
	font-weight: bold;
}
a:hover {
	background:#fff;
	color: #003d4c;
	text-decoration:none;
}
a img {
	border:none;
}
h1, h2, h3, h4 {
	font-weight: normal;
}
h1 {
	font-family: Verdana, sans-serif;
    background:#fff;
	color: #003d4c;
	font-size: 100%;
    font-weight: bold;
	margin: 0.25em 0;
}
h2 {
	background:#fff;
	color: #e32;
	font-family: arial, sans-serif;
	font-size: 175%;
	margin-top: 0.25em;
    margin-bottom: 0.5em;
	/*padding-top: 0.3em;*/
}
h3 {
	color: #993;
	font-family: arial, sans-serif;
	font-size: 150%;
	padding-top: 0.75em;
	/*margin-bottom: 0.25em;*/
}
h4 {
	color: #993;
	font-weight: normal;
	padding-top: 0.5em;
}
ul, li {
	margin: 0 12px;
}
p {
    margin-top: 1em;
}

.monospace {
    font-family: monospace;
    font-size: 125%;
}

/* Layout */
#container {
	text-align: left;
}
#header{
	padding: 10px 22px;
}
#header h1 {
    float: left;
    background: #003d4c url('../img/etentti.icon.gif') no-repeat left;
	color: #fff;
	padding: 0px 24px;
}
#header h1 a {
	color: #fff;
	background: #003d4c;
	font-weight: normal;
	text-decoration: none;
}
#header h1 a:hover {
	color: #fff;
	background: #003d4c;
	text-decoration: underline;
}
#login {
    font-size: 90%;
    text-align: right;
	color: #fff;
	background: #003d4c;
}
#login a {
	color: #fff;
	background: #003d4c;
}
#menu {
    width: 150px;
    float: left;
}
#content {
    margin-left: 150px;
    background: #fff;
	color: #333;
	padding: 10px 20px 20px 20px;
}
#popup {
    background: #fff;
	color: #333;
	padding: 10px 20px 20px 20px;
}
#footer {
	clear: both;
	padding: 10px 25px;
	text-align: right;
}
#footer a {
	background: #003d4c;
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
	margin: 5px;
}
#footer a:hover {
	text-decoration: underline;
}

/* Tables */
table {
    background: #fff;
	border: 1px solid #ccc;
	border-right: 0;
	color: #333;
	margin-bottom: 10px;
    margin-top: 10px;
    width: 99%;
    font-size: 80%;
}
th {
	background: #f2f2f2;
	border: 1px solid #bbb;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	text-align: center;
}
th a {
	background: #f2f2f2;
	display: block;
	text-decoration: none;
    padding: 2px 2px;
}
th a:hover {
	background: #ccc;
	color: #333;
	text-decoration: none;
}
th span {
	display: block;
    margin: 2px;
}
table tr td {
	background: #fff;
	border-right: 1px solid #ccc;
	padding: 4px;
	text-align: center;
	vertical-align: top;
}
table tr.altrow td {
	background: #f4f4f4;
}
td.actions {
	text-align: center;
	white-space: nowrap;
}
td a {
	background: transparent;
    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: 1em;
    font-family: Verdana;
    font-size: 12px;
}
div.paging div.disabled {
	color: #ddd;
	display: inline;
}
div.paging span {
}
div.paging span.current {
	color: #000;
}
div.paging span a {
}

/* Scaffold View */
dl {
    font-size: 90%;
    border: 1px solid #ccc;
    width: 99%;
    margin-right: 10px;
    margin-top: 10px;
}
dt {
    width: 15em;
    padding: .25em .5em;
    float: left;
    margin: 0;
    font-weight: bold;
}
dd {
    margin-left: 16em;
    padding: .25em .5em;
    border-left: 1px solid #ccc;
}
dt.altrow, dd.altrow  {
    background: #f4f4f4;
}
dl table {
	font-size: 90%;
	width: 100%;
	margin: 5px 0;
}
dd a {
	background-color: transparent;
	font-weight: normal;
}

/* Forms */
form {
	clear: both;
	margin-right: 10px;
	padding: 0;
}
fieldset {
	border: 1px solid #ccc;
	margin-top: 1em;
	padding: 10px 20px;
	margin-right: 10px;
}
fieldset legend {
	background:#fff;
	color: #e32;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 8px 16px;
}
fieldset fieldset legend {
	font-weight: normal;
	/*margin-left: 20px;*/
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	margin-bottom: 0;
	padding: .25em;
	vertical-align: text-top;
}
form div.input {
	color: #444;
}
form div.required {
	color: #333;
	font-weight: bold;
}
form div.submit {
	border: 0;
	clear: both;
	padding-top: 10px;
	margin-left: 0;
}
div.checkbox {
    margin-top: 4px;
}
div.checkbox label {
    display: inline;
    padding: 0;
	line-height: 1.5em;
	vertical-align: middle;
}
label {
	display: block;
    padding-right: 20px;
}
input, textarea {
	clear: both;
	display: block;
	font-family: arial, sans-serif;
	padding: 1px;
	width: 99%;
}
textarea {
    font-size: 90%;
}
select {
	clear: both;
	vertical-align: text-bottom;
    padding: 1px;
}
select[multiple=multiple] {
	width: 99%;
}
option {
    padding: 0 4px;
}
div.submit input {
	display: inline;
    font-weight: bold;
	padding: 1px;
	width: 250px;
	vertical-align: bottom;
}
div.checkbox input {
    display: inline;
    margin-right: 4px;
    padding: 0;
    width: auto;
    line-height: 1.5em;
    vertical-align: middle;
}
div.question {
	margin-bottom: 10px;
	font-style: italic;	
}
	

/* Notices and Errors */
div.message {
	width: 99%;
	color: #900;
	font-size: 99%;
	font-weight: bold;
	margin: 1em 0;
    border: 1px solid #ccc;
    padding: 0.5em 0;
    text-align: center;
}
div.error-message {
	clear: both;
	color: #900;
	font-size: 90%;
    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  */
div.actions ul {
	margin: 1em 0 0.5em 0;
	padding: 0;
}
div.actions li {
	display: inline;
	list-style-type: none;
	line-height: 1em;
	margin: 0 1em 0 0;
	white-space: nowrap;
}
div.actions ul li a {
	background: transparent;
	color: #003d4c;
	text-decoration: underline;
}
div.actions ul li a:hover {
	color: #333;
	text-decoration: none;
}

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

#menu a {
	background: #003d4c;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
}
#menu a:hover {
	background: #003d4c;
	color: #fff;
	text-decoration: underline;
}
#menu ul {
    list-style: none;
}
#menu li {
    padding-bottom: 5px;
}
#menu li img {
	padding: 0;
	border: none;
	margin: 4px 8px 4px 0;
}

div.bardiagram {
	margin: -1px;
	padding: 0;
	border: 1px solid #bbbbbb;
	width: 100%;
	background-color: #ffffff;
} 
div.bardiagram div {
	margin: 0;
	padding: 0;
	border: none;
	background-color: #993;
}
div.bardiagram div span {
	padding: 0 2px;
	font-weight: bold; 
	color: #000000;
}

div.image {
    border: 1px solid #ccc;
    width: 99%;
    margin-right: 10px;
    margin-top: 10px;
    padding: 10px 0;
    text-align: center;
}
