* {
	margin: 0;
	padding: 0;
}

/** General Style Info **/
body {
	background: #fff;
	color: #000;
	font-family: verdana, helvetica, arial, sans-serif;
	font-size: 11px;
	margin: 0;
}

a {
	color: grey;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	color: silver;
	text-decoration: underline;
}

a img {
	border: none;
}

h1,h2,h3,h4 {
	font-weight: normal;
	margin-bottom: 0.5em;
}

h1 {
	font-weight: bold;
	background: #fff;
	color: #003d4c;
	font-size: 14px;
}

h2 {
	background: #fff;
	color: #e32;
	font-family: 'Gill Sans', 'lucida grande', helvetica, arial, sans-serif;
	font-size: 15px;
}

h3 {
	color: #993;
	font-family: 'Gill Sans', 'lucida grande', helvetica, arial, sans-serif;
	font-size: 14px;
}

h4 {
	color: #993;
	font-weight: normal;
}

ul,li {
	margin: 0 12px;
	display: inline-block;
}

/** Layout **/
#container {
	width: 1000px;
	margin: auto;
	text-align: left;
}

#header {
	width: 100%;
	display: table;
	border-spacing: 10px;
}

#header div {
	display: table-cell;
}

#header div.user_info {
	width: 600px;
	text-align: right;
	font-size: 11px;
}

#header div.user_info a {
	text-decoration: none;
}

#header div.user_info a:hover {
	text-decoration: underline;
}

#header h1 {
	line-height: 20px;
}

#header h1 a {
	font-weight: normal;
	text-decoration: none;
}

#header h1 a:hover {
	text-decoration: underline;
}

#menu {
	margin: 10px 0px;
}

#menu li {
	display: inline;
	margin: 8px;
}

#content {
	background: #fff;
	clear: both;
	padding: 10px 20px 40px 20px;
}

#footer {
	clear: both;
	font-style: italic;
	font-size: 10px;
	padding: 6px 10px;
	text-align: right;
}

/** containers **/
div.form,div.index,div.view {
	float: left;
	width: 100%;
	clear: both;
}

div.view table {
	width: 850px;
}

div.view table tr td {
	text-align: left;
}

div.view table tr td:nth-child(2n+1) {
	font-weight: bold;
}

div.actions {
	float: left;
	width: 100%;
	clear: both;
	margin: 10px 0px;
}

div.actions ul {
	list-style-type: none;
	margin-bottom: 10px;
}

div.actions div {
	clear: both;
	margin-bottom: 5px;
}

div.message {
	color: red;
	font-weight: bold;
	font-style: italic;
}

/** Tables **/
table {
	font-size: 10px;
	border-radius: 5px;
	background: #f1f1f1;
	border-right: 0;
	clear: both;
	color: #333;
	width: 100%;
	margin-bottom: 10px;
}

table a {
	color: black;
	font-weight: bold;
	text-decoration: none;
}

th {
	border: 0;
	border-bottom: 1px solid #555;
	text-align: center;
	padding: 4px;
}

th a {
	display: block;
	text-decoration: none;
}

th a.asc:after {
	content: ' >';
}

th a.desc:after {
	content: ' <';
}

table tr td {
	border-radius: 3px;
	background: #fff;
	padding: 6px;
	text-align: left;
	vertical-align: middle;
	border-bottom: 1px solid #ddd;
	text-align: center;
}

table tr:nth-child(2n) td {
	background: #f5f5f5;
}

table .altrow td {
	background: #f5f5f5;
}

.cake-sql-log table {
	background: #f4f4f4;
}

.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
	font-family: Monaco, Consolas, "Courier New", monospaced;
}

.cake-sql-log caption {
	color: #fff;
}


div.services table {
	border-radius: 3px;
	border-style: solid;
	border-width: 1px;
	border-color: #000000;
	background: #fff;
	text-align: left;
	vertical-align: middle;
	border-bottom: 1px solid #ddd;
	text-align: center;
	border-spacing: 0px
}

div.services table a {
	color: #000;
}

div.services table tr th {
	border-right-style: solid;
	border-right-width: 1px;
}

div.services table tr td {
	border-radius: 0px;
	background: transparent;
	border-bottom-style: solid;
	border-bottom-color: #000;
	border-right-style: solid;
	border-right-width: 1px;
}

div.services table tr th:last-child,div.services table tr td:last-child
	{
	border-right-style: none;
}

/** Paging **/
div.paging {
	background: #fff;
	color: #ccc;
	margin-top: 1em;
	clear: both;
}

div.paging span.disabled {
	color: #ddd;
	display: inline;
}

div.paging span.current {
	color: #c73e14;
}

div.paging span a {
	
}

/** Scaffold View **/
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 100%;
}

dl .altrow {
	background: #f4f4f4;
}

dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
	width: 200px;
}

dd {
	border-left-style: dashed;
	border-left-width: 1px;
	padding-left: 25px;
	margin-left: 200px;
	margin-top: -2em;
	vertical-align: top;
}

/** Forms **/
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 95%;
}

fieldset {
	border: 1px solid #ccc;
	border-radius: 5px 5px 5px 5px;
	margin-bottom: 1em;
	padding: 16px 20px;
}

fieldset legend {
	background: #fff;
	color: #e32;
	font-size: 100%;
	font-weight: bold;
}

fieldset fieldset {
	border-radius: 5px 5px 5px 5px;
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}

fieldset fieldset legend {
	font-size: 100%;
	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 .input {
	color: #444;
}

form .required {
	font-weight: bold;
}

form .required label:after {
	color: #e32;
	content: '*';
	display: inline;
}

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

label {
	display: block;
	font-size: 12px;
	margin-bottom: 3px;
}

input,textarea {
	background: -moz-linear-gradient(center top, #FFFFFF, #EEEEEE) repeat
		scroll 0 0 transparent;
	border-radius: 4px;
	border-style: solid;
	border-width: 1px;
	border-color: silver;
	clear: both;
	font-size: 100%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 1%;
	width: 98%;
}

textarea {
	height: 10em;
}




select {
	background: -moz-linear-gradient(center top, #FFFFFF, #EEEEEE) repeat
		scroll 0 0 transparent;
	border-radius: 4px;
	border-style: solid;
	border-width: 1px;
	border-color: silver;
	clear: both;
	font-size: 100%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 3px;
}

input:hover,textarea:hover,select:hover {
	background: none repeat scroll 0 0 #FFFFFF;
}

input:focus,textarea:focus,select:hover {
	background: none repeat scroll 0 0 #FFFFFF;
}

select {
	clear: both;
	font-size: 12px;
	vertical-align: text-bottom;
}

select[multiple=multiple] {
	width: 100%;
}

option {
	font-size: 12px;
	padding: 0 3px;
}

input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}

div.checkbox label {
	display: inline;
}

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: 12px;
	width: auto;
}

form .submit input[type=submit] {
	background: #62af56;
	background: -webkit-gradient(linear, left top, left bottom, from(#a8ea9c),
		to(#62af56) );
	background-image: -moz-linear-gradient(top, #a8ea9c, #62af56);
	border-color: #2d6324;
	color: #000;
	text-shadow: #8cee7c 0px 1px 0px;
}

form .submit input[type=submit]:hover {
	background: #4ca83d;
	background: -webkit-gradient(linear, left top, left bottom, from(#85e573),
		to(#4ca83d) );
	background-image: -moz-linear-gradient(top, #85e573, #4ca83d);
	box-shadow: 3px 3px 5px #555555 !important;
}

/** SEARCH **/
div#search {
	position: absolute;
	right: 20px;
	display: table;
}
div#search>div {
	display: table-cell;
}
div#search form {
	clear: both;
	margin: 0;
	padding: 0;
}
div#search div:FIRST-CHILD form {
	width: 370px;
}
div#search form div {
	display: inline-block;
	vertical-align: text-top;
	height: 20px
}

div#search form div.submit {
	padding-top: 9px;
	margin-top: 0;

}

div#search input {
	height: 20px;
}

div#search input[type=submit] {
	padding: 0 2px 0 2px;
	height: 26px;
}