	/*------------------- Base Elements ------------------- */



body, div, td, th, h2, h3, h4 { /* redundant rules for bad browsers  */  
    font-family: Arial, Helvetica, sans-serif;
	voice-family: "\"}\"";
	color: #333;
}  

body {
	background:#A0A0A0;
	margin: 0;
	font-size:62.5%; /* displayed at 10px */
}

h1 {font-size:2em}  /* displayed at 24px */
h2 {font-size:1.5em}  /* displayed at 18px */
h3 {font-size:1.25em}  /* displayed at 15px */
h4 {font-size:1em}  /* displayed at 12px */


input, select, label, textarea, tr {
	font-size: 1.2em
}

input {
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
}

a { 
	color: #000;
	text-decoration: underline;
 }
 
a:hover { 	
	color: #000;
	border: none;
}

	
a:active { background-color:#ccc;	 }


/*---------------------- Headers -------------------------- */

h1,h2 {
	font-family: trebuchet ms;
	font-weight: bold;
	
}

h1 {
	color:#EAB239;
	font-weight:400;
	margin:0 0 25px 0;
	-webkit-border-radius:2px
	-moz-border-radius:2px;
}


h2 {
	background-color:#a0a0a0;
	background-image: url('../img/backend/bg-h2.png');
	background-repeat: no-repeat;
	padding:2px 0 2px 0;
	margin:0;
	color:#fff;
	font-weight:400;
	text-align:center;
	border:1px solid #999;
	border-bottom:none;
	clear:both;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-topright:3px;
	-webkit-border-top-left-radius:3px;
	-webkit-border-top-right-radius:3px;
}


h2.crumbs {
	text-align:left;
	padding-left:10px;
}

h2.crumbs a {
	color:#fff;
}


h3 {
	background-color:#EAB239;
	color:black;
	padding:2px;
	font-weight:100;
	text-align:center;
	margin:0;	
}

dl {
}

dt, dd {
	border:1px solid #ccc;
	padding:3px;
}

dt {
	font-weight:bold;
	float:left;
	width:200px;
	background-color:#efefef;
	
}

dd {
	margin-left:210px;
}




/* ------------------ Forms & Form Elements -------------------- */
form {
	padding:10px;
	border:1px solid #ccc;
	padding-left:25px;
	background-color: #fff;
}

form label {
	float:left;
	margin-right:10px;
	width:100%;
	font-weight:bold;
	margin-bottom:5px;
}


form textarea, form input {
	padding-left: 5px; 
	background-color: #f8f8f8; 
	border:1px solid #ccc;
  font-size: 1.5em;
}

form select {
	padding-left: 5px; 
	font-size: 1.5em;
	
}

.filters form select {
  
  
}

form .textarea label {
	float:none;
}

form input[type="text"], input[type="password"], form textarea {
	border:1px solid #cccccc;
	width:98%;
}

form div.error input[type="text"] {
	border:1px solid #DC0F07;
}

form div.error input[type="password"] {
	border:1px solid #DC0F07;
}

form div.error form textarea {
	border:1px solid #DC0F07;
}

form div.required input[type="text"] {
	border-left-width: 3px;
	border-bottom-width: 1px;
	border-right-width: 1px;
	border-top-width: 1px;
	border-left-color: #cc0000;
	border-left-style: outset;
	border-bottom-style: solid;
	border-right-style: solid;
	border-top-style: solid;
}

#loginForm form div.required input[type="text"] {
	border-left-width: 3px;
	border-bottom-width: 1px;
	border-right-width: 1px;
	border-top-width: 1px;
	border-left-color: #cc0000;
	border-left-style: outset;
	border-bottom-style: solid;
	border-right-style: solid;
	border-top-style: solid;
}

#loginForm form div.required input[type="password"] {
	border-left-width: 3px;
	border-bottom-width: 1px;
	border-right-width: 1px;
	border-top-width: 1px;
	border-left-color: #cc0000;
	border-left-style: outset;
	border-bottom-style: solid;
	border-right-style: solid;
	border-top-style: solid;
}

div .textarea table td {
	border:none;
}


form .error-message {
	color: #fff;
	background-color:#DC0F07;
	width:98.4%;
	padding:3px;
	font-size:1.2em;
	font-weight:bold;
	padding-left:5px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	margin-top:-1px;
}

form .error input {
	border:1px solid red;
}

form .error textarea {
	border:1px solid red;
}


form .required textarea {
	border-left-width: 3px;
	border-bottom-width: 1px;
	border-right-width: 1px;
	border-top-width: 1px;
	border-left-color: #cc0000;
	border-left-style: outset;
	border-bottom-style: solid;
	border-right-style: solid;
	border-top-style: solid;
}


	

form .checkbox label {
	float:none;
}

form .radio label {
	float:none;
}

form .input {
	border-bottom:1px solid #efefef;
	padding-bottom:10px;
	padding-top:5px;
}

form textarea {
	overflow:auto;
	height:10em;
	font-family:Arial, Helvetica, sans-serif;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
}

form input:focus {
	border:2px solid #ccc;
	border-color:#bbb;
}

form input[type="submit"], input[type="button"] {
	background-color:#ececec;
	border: 2px solid #BBBBBB;
	margin-top:10px;
}

form img {
	margin-left:1%;
	
}

.tableForm  {
	padding:0;
}

img.inline {
	float:left;
	margin-right:5px;
	
}

form fieldset {
	border:none;
	margin:0;
	padding:0;
}

form fieldset legend {
	display:none;
}

/*
/* ----------------------------------------------------------- */


/*------------------- Custom Elements ------------------- */

/* Top Elements */
#header {
	position: relative;
	width: 100%;
	height:2em;
	width: 45em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
	padding-left:1em;
}

#title {
	padding:0.5em 0 0 1em;
}

#title p {
	padding:0;
	margin:0;
	color:#fff;
}

#logout {
	float:right;
	margin-top:15px;
	margin-right:1%;
	line-height: 12px;
	height:14px;
	color:#333;
	padding:3px 8px;
	border:1px solid #ccc;
	border-right:none;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-bottomleft: 3px;
	-webkit-border-top-left-radius:3px;
	-webkit-border-bottom-left-radius:3px;
	font-size:1.1em;
	background-image: url(../img/backend/bg-actions.png);
	background-repeat:repeat-x;
	background-position: bottom;
	background-color: #fff;
}

a#logout  {
	text-decoration:none;
}

a#logout img {
	border:none;
	vertical-align: middle;
}


/* Main Container */
#main {  
	border-bottom: 3px solid #999;
	background: #f9f9f9;
	padding-top: 1.5em;
	background-image: url(../img/backend/bg-panels.png);
	background-position: bottom;
	background-repeat: repeat-x;
}

#contents {
	padding: 0 1.5em;
	min-height: 300px;
}

/* Data Container */
#data {  
	width:73%;
	/*border:2px solid #ccc;*/
	/*background-color: #fff;*/
	padding:1em;
	padding-top:0.5em;
	padding-bottom:2em;
	min-height:400px;
	margin-bottom:1em;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	
}

#footer {
	text-align:center;
	color:#fff;
	padding-top:5px;
	margin-bottom:10px;
}

#loginForm {
	width:350px;
	background: white;
	background-image: url(../img/backend/bg-panels.png);
	background-position: bottom;
	background-repeat: repeat-x;
	margin-left:auto;
	margin-right:auto;
	padding:25px;
	border:2px solid #333;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border:2px solid #ccc;
}



#loginLogo {
	width:350px;
	margin-left:auto;
	margin-right:auto;
	margin-top:120px;
	text-align:center;
}

#loginForm form {
	border:none;
	background-color: transparent;
}

#loginForm form input {
	font-size:1.5em;
}



/* ------------------ Tables in general -------------------- */

/*
 Makes sure the list table equals width 100% without affecting other stuff 
 This is done because cake does not include id's there
*/
h2 + table { width: 100%; } 

table {
	border:1px solid #999;
	-moz-border-radius-bottomleft:3px;
	-moz-border-radius-bottomright:3px;
	-webkit-border-bottom-left-radius:3px;
	-webkit-border-bottom-right-radius:3px;
}


/* ------------------ SQL Log Tables -------------------- */

table.cake-sql-log {
	margin:0 auto 0 auto;
	border:1px solid #999;
	color:#333;
	background-color: #fff;
	padding: 0;
	white-space: normal;
}

.related > table {
	width:100%;
}

.table1 {
	width:75%;
}

table.cake-sql-log img {
	border:1px solid #ccc;
	padding:1px;
}

th {
	background-color: #efefef;
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	text-align: center;
	color:#555;
	padding:1px 4px;
	font-size:1.1em;
}

th a {
	color:#555;
}

table tr td {
	border-right: 1px solid #eee;
	border-bottom: 1px solid #eee;
	padding:4px 4px;
	vertical-align:top;
	background-color: #fff;
	font-size:1.1em;
}

table tr td div.item-description {
	font-size:0.9em;
	padding:0px 20px 10px 21px;
	color:#777;
}

table tr td div.item-thumbnail img {
	border:1px solid #ccc;
	float:left;
	margin-right:10px;
}

table td.actions {
	width:12%;
	text-align:center;
}

table td.actions img {
	border:none;
	vertical-align:middle;
}

table  tr td {
	background: #f7f7f7;
}

table  tr.altrow td {
	background: #fff;
}

table.cake-sql-log  td.actions {
	white-space: nowrap;
}

table.cake-sql-log  tr {
	border:1px solid #ccc;
}

table.cake-sql-log  .text {
	margin:0;
}

table.cake-sql-log  .total {
	text-align:right;
}

table.cake-sql-log  .value {
	text-align:right;
}

table.cake-sql-log  .actions{
	width:70px;
	text-align:center;
}

dl {
	margin:0;
}


/*Tables for HTML editor*/
.textarea table {
	border:none;
}

.textarea table tr td {
	border:none;
	padding:0;
}


/* ------------------ Classes for cake layout Elements  -------------------- */

/* ------------------ Classes for cake layout Elements  -------------------- */

.optional {
	margin-bottom:10px;
	border-bottom:1px dotted #CCCCCC;
	padding:5px;
	padding-bottom:10px;
}

.valError {
	color:red;
}

.error_message {
	color:red;
	margin-left:9px;
	background-color:red;
	color:#fff;
	padding:2px;
}

.required {
	margin-bottom:10px;
	border-bottom:1px dotted #CCCCCC;
	padding:5px;
	padding-bottom:10px;
}

.related {
	border:1px solid #ccc;
	margin-bottom:15px;
	margin-top:15px;
}


div.actions ul {
	margin:0;
	padding:0;
	text-align:right;
	height:2em;
	font-size:1.1em;
	margin-bottom:5px;
}

div.actions li {
	list-style:none;
	float:right;
	margin-left:5px;
	padding:3px 8px 1px 5px;
	background-color: #fff;
	border:1px solid #ccc;
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	font-size:1.1em;
	background: url(../img/backend/bg-actions.png);
}

div.actions li a {
	text-decoration:none;
	vertical-align: middle;
}

div.actions li img {
	margin-right:4px;
	vertical-align:top;
	
}

div.actions .filters {
	font-size:1.1em;
	float:left;
	margin-bottom:5px;
	/*
	padding:2px;
	background-color: #efefef;
	border:1px solid #bbb;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	*/
	
}

div.actions .filters form {
	padding:0;
	margin-bottom:0;
	background-color: transparent;
	border:none;
}


div.actions .filters form input[type="text"] {
	border:1px solid #cccccc;
	width:auto;
}

div.actions .filters form label {
	display:none;
}

div.actions .filters select {
	font-size:0.8em;
	margin:0;
}

div.actions .filters input[type='text'] {
	border:1px solid #bbb;
	font-size:1em;
	padding:1px;
}

div.actions .filters .bydate  {
	float:left;
	display:block;
}

div.actions .filters .bydate input[type='text'] {
	width:75px;
	margin-right:0;
}

div.actions .filters input[type='submit'] {
	border:1px solid #bbb;
	background-color: #efefef;
	font-size:1em;
	padding:1px 2px 1px 2px;
}

div.actions .filters input {
	margin-top:0;
}

div.actions .filters form span.label {
	float:left;
	vertical-align: midle;
	padding-top:3px;
	padding-right:4px;
	font-weight: bold;
}

div.actions .filters span.icon {
	float:left;
	margin-right:8px;
	vertical-align: middle;
}

div.actions .filters span.icon a img {
	border:none;
}


div.actions .filters form .input {
	float:left;
	padding:0;
	margin:0;
	border:none;
}

div.actions .select {
	float:left;
	padding-right:8px;
}


/* End Filters */


/* Old actions top Bar */
/* Deprecated */
ul.actions {
	margin:0;
	padding:0;
	width:100%;
	text-align:right;
	height:2.2em;
}

ul.actions li {
	list-style:none;
	float:right;
	padding-left:3px;
	padding-right:3px;
	border-right:1px solid #ccc;
}

ul.actions li img {
	margin-right:4px;
	vertical-align:top;
}

/* ------------------ Custom classes -------------------- */


/* Flash screen */

.flash {
	margin-top:200px;
	text-align:center;
	width:300px;
	margin-left:auto;
	margin-right:auto;
}

.flash a {
	color:#fff;
	text-decoration:none;
}

.flash h1 {
	margin:0;
}

.flash p {
	padding:0;
}

/* Empty Report */
.empty {
	width:50%;
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	padding:20px;
}

/* Help Tip (Used on the right column) */
.tip {
	border:1px solid red;
	background-color:#ffffcc;
	padding:0 5px 0 5px;
	margin-bottom:15px;
}

/* Comments for a form field, appearing at the bottom */
.form-hint {
	margin-left:5px;
	margin-top:3px;	
	margin-bottom:0;
	font-size:1.1em;
}

.form-hint ul,ol {
}

.form-info {
	border:1px solid #ccc;
	width:97%;
	margin-left:auto;
	margin-right:auto;
	padding:3px;
	color:#333;
}

.form-hint ul,ol em {
	font-weight:bold;
}

.message {
	text-align:center;
	background-color:green;
	color:#fff;
	font-weight:bold;
	margin-bottom:10px;
	font-size:1.2em;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	line-height: 20px;
}

.message .error {
	text-align:center;
	background-color:red !important;
	color:#fff;
	font-weight:bold;
	font-size:1.2em;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
}



/* HTML EDITOR */

.htmlEditor {
	clear:both;
	margin-left:15px;
	border:1px solid #ccc;
}

.htmlEditor * {
	border:none;
	margin:0;
	padding:0;
}

.htmlEditor table {
   
}

/* BreadCrumbs  */
#breadcrumbs {
	padding:0;
	margin:0;
}

/* Top: Replacement for actions used in previous add */
#actionsMenu   {
	margin-bottom:10px;
	width:50%;
	float:right;
}

#actionsMenu ul {
	margin:0;
	padding:0;
	text-align:right;
	clear:left;
}

#actionsMenu li {
	list-style:none;
	margin:0;
	padding:0;
	float:right;
	padding-left:10px;
	padding-right:10px;
	border-right:1px solid #ccc;
	vertical-align:middle;
}

#actionsMenu li:hover {
	background-color:#ABDA4D;
}

#actionsMenu img {
	margin-right:4px;
	border:none;
	
}


/* Paging */
div.paging {
	color: #bbb;
	margin-bottom: 2em;
	text-align:center;
	margin:10px 0 10px 0;
	font-size:1.1em;
}

div.paging div.disabled {
	color: #bbb;
	display: inline;
	display:none;
	
}

div.paging span {
}

div.paging span.current {
	border:1px solid #ccc;
	padding:0 3px 0 3px;
	color:gray;
	font-weight:bold;
}

div.paging span a {
	color:#333333;
}

div.paging + p {
	margin:0;
	padding:0;
	text-align:center;
	color:#333;
	font-size:1.1em;
}




/* Top area for reports (Top) */
#reportActions {
    border:1px solid #efefef;
    padding:5px;
    text-align:right;
    margin-bottom:10px;
	clear:both;
}

#reportActions form {
    border:none;
    padding:0;
}

#reportActions form, input, select {

}

#reportActions .message {
	width:97%;
	border:1px dotted #ccc;
	margin-top:12px;
	background-color:#ffffee;
	color:#333;
}

#reportActions .message .title{
	font-weight:bold;
	color:red;
}

#reportActions .message .text{
}

#reportActions .action {
}

#reportActions .filters {
	display:none;
}


