* {
	margin:0;
	padding:0;
}

/* General Style Info */
body {
	background: #003d4c;
	color: #fff;
	font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
	font-size:12px;
	margin: 0;
	text-align: center;
}
a {
	color: #003d4c;
	text-decoration: none;
}
a:hover {
	color: red;
    text-decoration: underline;
}
a img {
	border:none;
}
h1, h2, h3, h4 {
	font-weight: normal;
}
h1 {
	background:#fff;
	color: #003d4c;
	font-size: 100%;
	margin: 0.1em 0;
}
h2 {
	background:#fff;
	color: #e32;
	font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	font-size: 190%;
	margin: 0 0 20px 0;
	padding-top: 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;
}

p.alert {
    margin: 0 0 20px 0;
    padding: 0;
    color: green;
}

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

#header{
	padding: 10px 20px;
}
#header h1 {
	background: #003d4c url('../img/cake.icon.gif') no-repeat left;
	color: #fff;
	padding: 0px 30px;
}
#header h1 a {
	color: #fff;
	background: #003d4c;
	font-weight: normal;
	text-decoration: none;
}
#header h1 a:hover {
	color: #fff;
	background: #003d4c;
	text-decoration: underline;
}
#content{
	background: #fff;
	clear: both;
	color: #333;
	padding: 10px 20px 40px 20px;
	overflow: auto;
}
#footer {
	clear: both;
	padding: 6px 10px;
	text-align: right;
}

/* Tables */
table {
	background: #fff;
	border:1px solid #ccc;
	border-right:0;
	color: #333;
	margin: 0 0 10px 0;
    padding: 0;
	width: 100%;
}
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;
	padding: 2px 4px;
	text-decoration: none;
}
th a:hover {
	background: #ccc;
	color: #333;
	text-decoration: none;
}
table tr td {
	background: #fff;
	border-right: 1px solid #ccc;
	padding: 4px;
	text-align: left;
	vertical-align: top;
}
table tr.altrow td {
	background: #f4f4f4;
}

table tr.hover td {
    background: #ffe1e1;
}
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;
}

/* Paging */
p.paginator_counter {
    color: #999999;
}
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;
    color: red;
}
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: 10em;
	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: 14px;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}
fieldset fieldset legend {
	font-size: 12px;
	font-weight: normal;
}

fieldset fieldset div {
	/* clear: left; */
	margin: 0 20px;
}

fieldset fieldset div.input, form div {
	/* clear: both; */
	margin-top: 1em;
	/* padding: .5em; */
	vertical-align: text-top;
}

form div div {
    padding: 5px;
}

form div.input {
	color: #444;
    clear: left;
}
form div.required {
	color: #333;
	font-weight: bold;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
	margin-left: 140px;
}

fieldset form div.submit {
    border-top: solid 1px #cccccc;
    background: #e4e3e3;
    margin: 10px -20px -16px -20px;
    padding: 10px 80px 10px 10px;
    text-align: right;
}

fieldset form div.submit input {
    
    padding: 5px;
}

label, div.label {
	display: block;
	font-size: 14px;
	padding-right: 10px;
    float: left;
    width: 130px;
    font-weight: bold;
    text-align: right;
}

div.label {
    padding: 0;
    margin: 0;
}


div.checkbox label {
    float: none;
    font-weight: normal;
    font-size: 12px;
    text-align: left;
}

input, textarea {
	font-size: 14px;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 2px;
	width: 690px;
}

fieldset fieldset input, fieldset fieldset textarea {
    padding: 2px;
    width: 500px;
}

div.wym_box, div.field_holder { /* The replace for WYSIWYG editors */
    width: 650px;
    margin: 0 0 0 140px;
    padding: 0;
}


select {
	/*clear: both;*/
	font-size: 14px;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 12px;
	padding: 0 3px;
}
optgroup {
    background: green;
}

optgroup option {
    padding-left: 15px;
    background: yellow;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: 15px;
}
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;
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
}

/* File Upload Formatting */

div.file_upload {
	background: #cccccc;
	margin-bottom: 10px;
    border: solid 1px #999999;
}

div.file_upload h2 {
    position: relative;
	float: left;
	width: 70px;
	margin: 0;
	padding: 10px;
	text-align: center;
}

div.file_upload img {
    display: block;
    float: left;
	border: solid 1px #ffffff;
	padding: 10px;
	background: #999999;
}

div.file_upload div.upload_form {
    float: right;
    width: 520px;
}

div.file_upload div.clearer {
    padding: 0;
    margin: 0;
}

div.file_upload div.checkbox {
	float: left;
	width: 200px;
}

div.file_upload div.checkbox input {
    clear: none;
}


div.file_upload div.upload_dialog {
	float: left;
}

div.file_upload div.upload_dialog input {
    width: 500px;
}

div.file_upload label {
	float: left;
	width: 120px;
	padding: 0;
	margin: 0;
}

/* Category Checkboxes */

div.label.categories {
    padding-top: 10px;
}

div.checkbox_holder {

}

div.checkbox_holder div.checkbox {
    width: 150px;
    float: left;
    margin: 0;
    padding: 0;
}

div.checkbox_holder div.checkbox {
    display: block;
    margin: 1px 2px 1px 0px;
    padding: 0;
    width: 160px;
    float: left;
}

div.checkbox_holder div.checkbox input {
    float: none;
    clear: none;
    display: inline;
    width: 20px;
    margin: 0;
    padding: 0;
}

div.checkbox_holder div.checkbox label {
    float: none;
    clear: none;
    display: inline;
    font-size: 12px;
    margin: 0;
    padding: 0 0 0 3px;
}

/* Single Checkbox */

div.single_checkbox {
   padding-left: 0;
   clear: both;
}

div.single_checkbox input {
    float: none;
    padding: 0;
    margin: 0 5px 0 140px;
}

fieldset fieldset div.single_checkbox input {
    margin-top: 8px;
}

div.single_checkbox label {
    display: inline;
    float: none;
    font-size: 12px;
}

div.input input[type="checkbox"] {
    clear: none;
    background: green;
    margin: 0 0 10px 0;
}

/* Notices and Errors */
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;
    margin: 0 0 0 150px;
}
div.input.error {
    background: #ffcccc;
    border: solid 1px red;
    padding-top: 10px;
}
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#flashMessage {
    position: fixed;
    width: 500px;
    top: 100px;
    left: 450px;
    background: url("/img/master/backgrounds/green_30.png");
    padding: 10px;
    margin: 0;
    border: solid 1px green;
    text-align: center;
}

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

/*
 *
	Admin Bar 
 */

div#admin_navbar {
    background: #ffffff;
	border: solid 1px #ffffff;
}

div#admin_navbar * {
	background: #ffcccc;
}

div#admin_navbar div.padding {
	margin: 10px;
	padding: 10px;
	border: solid 1px #ff0000;
}

div#admin_navbar h1 {
        font-size: 20px;
	background: transparent;
}

div#admin_navbar ul {
	width: 150px;
	float: right;
}

div.clearer {
	clear: both;
}

/*
    Customs
*/

table.record_display {
    text-align: left;
    width: auto;
}

table.record_display th {
    text-align: left;
    padding: 3px 10px 3px 10px;
}

table.record_display td {
    text-align: left;
   
}

div.top_actions {
    width: 500px;
    float: right;
    padding: 7px 0 7px 7px;
    text-align: right;
    font-weight: bold;
}

div.top_actions a.add {
    border: outset 1px;
    padding: 3px;
    background: #ccffcc;
    text-decoration: none;
    color: #003300;
}

div.top_actions a.add:hover {
    border: inset 1px;
}

div.top_actions a.delete {
    border: outset 1px;
    padding: 3px;
    background: #ffcccc;
    text-decoration: none;
    color: #330000;
}

div.top_actions a.delete:hover {
    border: inset 1px;
}

/*
    Homepage
*/

ul.homepage h2 {
    color: green;
    font-size: 16px;
    margin-bottom: 0px;
}

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

ul.homepage li li {
    list-style-type: disc;
    margin: 0 0 0 20px;
}

span.counter {
    color: red;
}

/*
    Bread Crumbs
*/

div.breadcrumbs {
    
    margin: 0 0 10px 0;
}

div.breadcrumbs ul {
    padding: 0;
    margin: 0;
}

div.breadcrumbs ul li {
    padding: 0 0 0 20px;
    margin: 0;
    display: inline;
    list-style-type: none;
    background: url("/img/master/breadcrumb_background.png") no-repeat left;

}

div.breadcrumbs ul li.first {
    background: none;
    padding-left: 0;
}

/* Content Tabbing */
.tab {
    padding-left: 25px;
    background: url("/img/master/l_bracket.gif") no-repeat left top;
}

/* Table Design */
div.table_holder {
    padding: 10px;
    background: #999999;
    border: solid 1px #333333;
    margin-bottom: 20px;
}

div.table_holder h3 {
    margin: -10px -10px 10px -10px;
    padding: 10px;
    color: yellow;
    font-size: 18px;
    background: #666666;
    border-bottom: solid 1px #333333;
}

div.table_holder table {
    border-spacing: 0;
    border: solid 1px #666666;
}

div.table_holder table td {
    border-top: solid 1px #cccccc;
    border-right: none;
}

div.table_holder table td.small {
    font-size: 9px;
}

div.table_holder table tr th {
   background: #cccccc;;
   border: none;
   color: #333333;
   margin: 10px;
   padding: 5px;
   text-align: left;
   font-size: 14px;
   font-weight: normal;
}

div.table_holder table tr th a{
    background: none;
    padding: 0;
    margin: 0;
    display: inline;
}
div.table_holder table tr th.actions a {
    padding: 2px;
    font-size: 12px;
}

div.table_holder table tr th span.small{
    font-size: 10px;
}

div.table_holder table tr td {
    padding-left: 10px;
}

table td.status {
    width: 10px;
    padding: 2px 0 0 0;
    text-align: center;
}

table tr td.actions, div.table_holder table tr th.actions {
    text-align: right;
}

table tr td.actions a, div.table_holder table tr th.actions a {
    margin: 0;
}

/* Helpers */
div.live {
    width: 7px;
    height: 7px;
    background: green;
    margin: 5px 0 0 0;
    padding: 0;
}

div.dead {
    width: 7px;
    height: 7px;
    background: red;
    margin: 5px 0 0 0;
    padding: 0;
}

div.live span, div.dead span {
    display: none;
}

td.actions a {
    text-decoration: none;
    padding: 1px 2px 1px 2px;
    font-size: 10px;
}

a.edit {
    background: #ccffff;
    color: #669999;
    border: solid 1px #669999;
}

a.edit:hover {
    color: #336666;
    border: solid 1px #336666;
}

a.delete {
    background: #ffcccc;
    border: solid 1px #999966;
    color: #996666;
}

a.delete:hover {
    border: solid 1px #663333;
    color: #663333;
}

a.caution, div.table_holder table tr th.actions a.caution {
    background: #ffffcc;
    border: solid 1px #999966;
    color: #999966;
    font-size: 11px;
}

a.caution:hover, div.table_holder table tr th.actions a.caution:hover {
    border: solid 1px #666633;
    color: #666633;
}

a.add, div.table_holder table tr th.actions a.add {
    background: #ccffcc;
    border: solid 1px #669966;
    color: #669966;
}

a.add:hover, div.table_holder table tr th.actions a.add:hover {
    border: solid 1px #336633;
    color: #336633;
}

input.datepicker {
    width: 100px;
}

/* Paginator */

div.paging_header {
    padding: 0;
    margin: 0;
}

div.paging_header div.paging {
    width: 200px;
    float: right;
    text-align: right;
    padding: 5px;
    margin: 0;
    background: transparent;
    color: black;
    font-size: 11px;
}

div.paging_header div.paging a {
    color: #ffffff;
    background: transparent;
    text-decoration: underline;
}

div.paging_header div.paging .disabled {
    display: none;
}

div.paging_header div.paging .current {
    color: #ffffff;
    font-weight: bold;
}



div.paging_header div.submit {
    margin: 0;
    display: inline;
    margin: 0;
    padding: 0;
}

div.paging_header div.submit * {
    padding: 0;
    margin: 0;
}

div.paging_header div.clearer {
    margin: 0;
    padding: 0;
}

/* New Merchant Page */
fieldset.fieldset_holder {
    background: #f2f2f2;
}

fieldset.fieldset_holder fieldset {
    background: #ffffff;
}

fieldset.fieldset_holder fieldset legend {
    font-weight: bold;
    border: solid 1px #cccccc;
    padding: 3px 5px 3px 5px;
    font-size: 14px;
}

fieldset.fieldset_holder fieldset fieldset legend {
    border: none;
    color: black;
    font-size: 12px;
}

div.ckeditor_textarea {
    width: 665px;
    float: left;
    padding: 0;
    margin: 0;
    position: relative;
}

textarea#MerchantVideo {
    margin: 0 0 0 20px;
    width: 605px;
    height: 200px;
}

/* Record modifier box at top of Merchant section */
div.record_modifier {
    margin-bottom: 10px;
    color: #ffffff;
    padding-bottom: 10px;
    border-bottom: solid 1px #cccccc;
}

div.record_modifier a {
    color: #ffffff;
    text-decoration: underline;
}

div.record_modifier span.disabled {
    color: #ffffff;
    font-weight: bold;
}

div.record_modifier div.switcher {
    width: 300px;
    float: left;
}

div.record_modifier div.search {
    width: 400px;
    float: right;
}

div.record_modifier div.search * {
    padding: 0;
    margin: 0;
}

div.record_modifier div.search label, div.record_modifier div.search input[type=submit] {
    display: none;
}

div.record_modifier div.search input#MerchantName {
    width: 200px;
    margin: 0;
    padding: 3px;
    font-size: 10px;
    float: right;
}

