* {
margin:0;
padding:0;
}

/* General Style Info */
body {
	color: #333;
	font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
	font-size:13px;
	margin: 0;
}
a {
	background-color: inherit;
	color: #003d4c;
	text-decoration: underline;
	font-weight: bold;
}
a:hover {
	background-color: inherit;
	color: #003d4c;
	text-decoration:none;
}
a img {
	border:none;
}
h1, h2, h3, h4 {
	background-color: inherit;
	font-weight: normal;
}
h1 {
	color: #003d4c;
	font-size: 130%;
	margin: 0.1em 0;
}
h2 {
	color: #e32;
	font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	font-size: 160%;
	margin: 0.3em 0;
	padding-top: 1em;
}
h3 {
	color: #c6c65b;
	font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	font-size: 150%;
	padding-top: 2em;
}
h4 {
	color: #c6c65b;
	font-weight: bold;
	padding-top: 0.5em;
}
ul, li {
	margin: 0 12px;
}

/* Layout */
#container {
	text-align: left;
}

#header{
	padding: 10px 20px;
}
#header h1 {
	background: url('../img/cake.icon.gif') no-repeat left;
	color: #ffffff;
	font-size: 110%;
	padding: 0px 30px;
}
#header h1 a {
	color: #ffffff;
	background: #003d4c;
	font-weight: normal;
	text-decoration: none;
}
#header h1 a:hover {
	color: #ffffff;
	background: #003d4c;
	text-decoration: underline;
}
#content{
	background-color: #fff;
	clear: both;
	color: #333;
	padding: 0px 40px 40px 40px;
	overflow: auto;
	/*width: 100%;*/
	margin: 0 auto 50px auto;
}
#footer {
	clear: both;
	padding: 6px 10px;
	text-align: right;
}

/* Tables */
#content table {
	background-color: #fff;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	clear: both;
	color: #333;
	margin-bottom: 10px;

}
th {
	background-color: #f2f2f2;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	border-right: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	text-align: center;
}

th a {
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}

th a:hover {
	background-color: #ccc;
	color: #333;
	text-decoration: none;
}

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.actions a {
	display: inline;
	margin: 0px 6px;
}
.cakeSqlLog table {
	background: #f4f4f4;
}
.cakeSqlLog td {
	padding: 4px 8px;
	text-align: left;
}

/* Paging */
div.paging {
	margin: 2em 0 .5em;
	width: 800px;
}

div.paging * {
	display: inline;
	font-size: 12px;
}

div.paging span {
	padding: 0 8px;
}


div.paging div.disabled {
	color: #ddd;
}

/* 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: 60%;
}
fieldset {
	border: 1px solid #ccc;
	margin-top: 30px;
	padding: 16px 20px;
}
fieldset legend {
	color: #e32;
	font-size: 160%;
	font-weight: bold;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
form div {
	clear: both;
	margin-bottom: 1em;
	padding: .5em;
	vertical-align: text-top;
}
form div.input {
	color: #444;
}
form .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;
}
input, textarea {
	clear: both;
	display: block;
	font-size: 140%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 2px;
	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=submit] {
	display: inline;
	font-size: 110%;
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
}

p.error-message {
	clear: both;
	color: #900;
	font-weight: bold;
}
div.error em {
	font-size: 140%;
	color: #003d4c;
}
span.notice {
	background-color: #c6c65b;
	color: #fff;
	display: block;
	font-size: 140%;
	padding: 0.5em;
	margin: 1em 0;
}
/*  Actions  */
div.index div.actions {
	clear: both;
	margin-top: .4em;
	text-align: left;
}
div.view div.actions {
	clear: both;
	margin-top: .4em;
	text-align: left;
	width: 60%;
}
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 {
	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: 18px;
	margin: 4px 2px;
	overflow: auto;
	position: relative;
}
div.cake-stack-trace {
	background: #fff;
	color: #333;
	margin: 4px 2px;
	padding: 4px;
	font-size: 120%;
	line-height: 18px;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000000;
	background-color: #F0F0F0;
	border: 1px dotted #606060;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 5px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #FFFF00;
}


#menu {
  padding: 15px;
 /* background-color: #99cc66;*/
  margin: 0;
  text-align: center;
}

#menu li {
  display: inline;
  list-style-type: none;
  padding: 0 30px;
}

#menu li a {
  font-weight: bold;
  font-size: 13px;
  color: #fff;
  padding: 5px;
  text-decoration: none;
}

#menu li a.active {
	border: 1px solid #fff;
}

ul.checkboxMultiple {
    margin:0;
    padding:0;
    list-style-type:none;
}

ul.checkboxMultiple li {
    display:block;
    float:left;
    width: 220px;
    margin: 0 8px 0 0;
} 
    
.form-error {
	border: 1px solid #900;
}
    

.short_input, td input {
	width: 7em;
}

#marks {
	margin: 30px 0 0 0;
}

#marks li {
	display: inline;
	list-style-type: none;
	margin: 0;
}


#marks li a {
	padding: 5px;
	margin: 0 2px;
	color: black;
	border: 1px solid #333;	
	text-decoration: none;
}

#marks li a:hover, #marks li.active a {
	border: 1px solid black;
	color: red;
}

.nodisplay {
	display:none;
}

#marks li.error a {
	color: white;
	background-color: #900;
}

#submenu {
	list-style-type: none;
	text-align: center;
	padding: 10px 0;
	background-color: whitesmoke;
}

#submenu li {
	display: inline;
	padding: 0 30px;
}

#submenu li a {
	text-decoration: none;
}

#submenu a.active {
	color: red;
}

#wizard-steps {
	padding: 10px;
 	text-align: center;
 	border-bottom: 1px solid silver;
}

#wizard-steps li {
	display: inline; 
	margin: 15px;
}

#wizard-steps li.active {
	color: red;
}

input.short {
	width: 25px;	
}

div.wizard {
	height: 15px;
}

div.wizard label {
	display: inline;	
}

div.wizard input, div.wizard div {
	display: inline;
}


h4 a {
	font-size: 12px;
	font-weight: normal;
	padding-left: 8px;
}

.middle_short {
	width: 300px;
}


div.image {
	border-bottom: 1px solid black;
}

.hidden { display: none; }

tr.total td {
	color: red;
	border-top: 1px solid silver;
}

dl.total dd {
	color: red;
}


input.date_input {
	width: 7em;
}

tr.search td{
	font-size: 0.7em;
	background-color: #ffffcc;
}

tr.search input, tr.search label, tr.search div {
	display: inline;
}

th a.sort_asc, th a.sort_desc {
	display: block;
	width: 100%;
	background-color:  #ffd2d2;
}

th a.sort_asc {
	background-color: #bde2b8;
}

.total {
	font-weight: bold;
}


#logout {
	color: #e32 !important;
	background-color: #fff;
}


/* Notices and Errors */
div.message {
	padding: 20px;
	line-height: 1.8em;
	text-align: center;
	font-size: 1.2em;
	font-weight: bold;
}

#message_error {
	background-color: #ffd2d2;
}

#message_success {
	background-color: #bde2b8;
}