* {
	margin: 0;
	padding: 0;
}

body {
	background: #fff;
	color: #000;
	font-family: 'lucida grande', verdana, helvetica, arial, sans-serif;
	font-size: 90%;
	margin: 0;
}

a {
	color: #fff;
	text-decoration: underline;
	font-weight: bold;
}

a:hover {
	text-decoration: none;
}

a img {
	border: none;
}

h1, h2, h3, h4 {
	font-weight: normal;
}

h1 {
	color: #e32;
	font-family: 'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	font-size: 190%;
	margin: 0.3em 0;
	padding-top: 0.8em;
}

h2 {
	color: #003d4c;
	font-size: 100%;
	margin: 0.1em 0;
}

h3 {
	color: #993;
	font-family: 'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	font-size: 165%;
	padding-top: 1.5em;
}

h4 {
	color: #993;
	font-weight: normal;
	padding-top: 0.5em;
}

ul, li {
	margin: 0 12px;
}

#container {
	text-align: left;
}

#header {
	padding: 10px 20px;
}

#header h2 {
	color: #fff;
	background: transparent url('../img/cake.icon.gif') no-repeat left;
	padding: 0px 30px;
}

#header h2 a {
	color: #fff;
	font-weight: normal;
	text-decoration: none;
}

#header h2 a:hover {
	color: #fff;
	text-decoration: underline;
}

#content {
	background: #fff;
	clear: both;
	color: #333;
	padding: 0px;
	overflow: auto;
	padding-top:0px;
}

#content a {
	color: #003d4c;
}

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

table {
	border: 1px solid #ccc;
	border-right: 0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
}

th {
	background: #f2f2f2;
	border: 1px solid #bbb;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	text-align: center;
}

th a {
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}

th a:hover {
	background: #ccc;
	color: #333;
	text-decoration: none;
}

table tr td {
	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 {
	margin: 0px 6px;
}

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

.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
}

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 {
}

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

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

input, textarea {
	clear: both;
	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=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;
}

div.message {
	clear: both;
	color: #900;
	font-size: 140%;
	font-weight: bold;
	margin: 1em 0;
}

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

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

div.related {
	clear: both;
	display: block;
}

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

/* --------- PONZI CUSTOM --------- */

div#FB_HiddenIFrameContainer {
	display: none;
	position: absolute;
	left: -100px;
	top: -100px;
	width: 0px;
	height: 0px;
}

ul#nav {
	list-style-type: none;
	padding: 0px;
	margin: 10px 0px;
}

ul#nav li {
	display: inline;
	padding: 0px;
	margin: 10px;
}

ul#nav li a {
	color: #fff;
}

ul.list {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}

ul.list>li {
	padding: 5px 0px;
	margin: 5px 0px;
	border-bottom: 1px solid #ccc;
}

ul.list img.thumb {
	float: left;
	width: 50px;
	height: 50px;
}

ul.list dl {
	padding: 0px 160px 0px 60px;
}

ul.list ul.actions {
	float:right;
	width:150px;
}

/* --------- CUSTOM CGBAR --------- */

div#cgbar {
	background: #000 url(/img/cgbar/background_ponzi.png) center 0px no-repeat;
}

div#cgbar_links .external_separator img {
	background: url(/img/cgbar/divider_ponzi.png) center 0px no-repeat;
}

div#cgbar_links .sub_content {
	background: #000 url(/img/cgbar/bg_dropdownmenu_ponzi.jpg) no-repeat;	
}

/* --------- JQUERY UI TABS --------- */

.ui-tabs .ui-tabs-hide {
	display: none;
}
.ui-tabs-nav {
	list-style-type: none;
	padding: 0px;
	margin: 0px 0px 1em 0px;
}
.ui-tabs-nav li {
	display: -moz-inline-block;
	display: inline-block;
	padding: 0px;
	margin: 0px 5px;
}

/* --------- JQUERY UI DIALOGS --------- */

.ui-dialog { position: relative; padding: 0.2em; width: 300px; background-color: #666; border: 3px solid #000; }
.ui-dialog .ui-dialog-titlebar { padding: 0.5em 0.3em 0.3em 1em; position: relative;  }
.ui-dialog .ui-dialog-title { float: left; margin: .1em 0 .2em; } 
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
.ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
.ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; }
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
.ui-draggable .ui-dialog-titlebar { cursor: move; }


/* --------- Top Box --------------*/


#top_box { background-color:#FFFFCC;border:1px solid #CCCC99;margin-bottom:5px; }
#top_box table { border:none;margin:0; }
#top_box td { border:0;vertical-align:middle;text-align:left;padding:4px 8px; }
#top_box td p { font-size:12px;line-height:17px; }
#top_box a { text-decoration:none; }
#top_box p a { color:#3B5998 !important; }
#top_box p a:hover { text-decoration:underline; }


/* --------- HELP MODAL --------- */

.cg-modal-container {
	position: relative;
}

.cg-modal-wrapper {
	position: relative;
	padding: 10px !important;
}

.cg-modal-container .background {
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	background: black;
	opacity: .5;
	z-index: 0;
}

.cg-modal-container iframe {
	position: relative;
	display: block;
	z-index: 1;
}

.cg-modal-container a {
	display: block;
	text-align: right;
	padding: 0px 10px 0px 0px;
	height: 15px;
	line-height: 15px;
	font-size: 10px;
	color: #FFF;
	text-decoration: none;
	position: relative;
	z-index: 1;
}


/* hack for scrollbars in safari and chrome */
html { overflow: hidden; }