/**
 *
 * Generic CSS for CakePHP
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       cake
 * @subpackage    cake.app.webroot.css
 * @since         CakePHP(tm)
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */

* {
	margin:0;
	padding:0;
}
/** General Style Info **/
body {
	color:  #59473a  /*#545454*/ /*black*/;
	/*font-family:'lucida grande',verdana,helvetica,arial,sans-serif;*/
	font-size:100%;
	margin: 0;
        background-color: white;    /*#22558e;*/
        width: 100%;
}
a {
	text-decoration: none;/*underline;*/
        /*font-style: italic;*/
        font-family: sans-serif;
	font-weight: lighter;
        color: black;
}
a:hover {
	color: #d4c9be/*#B8CDE6*//*orange*/;
	text-decoration:none;
}
a img {
	border:none;       
}

h1, h2, h3, h4 {
	font-weight: normal;
	margin-bottom:0.0em;
}
h1 {
/*	color: #fff;*/
	font-size: 200%;
}
h2 {
	/*background:#ffffff;;*/
	/*color: #fff;*/
	/*font-family:'Gill Sans','lucida grande', helvetica, arial, sans-serif;*/
	font-size: 140%;
        /*font-style:italic;*/
}
h3 {
/*	color: white;*/
/*	font-family:'Gill Sans','lucida grande', helvetica, arial, sans-serif;*/
	font-size: 140%;
}
h4 {
/*	color: white;*/
	font-weight: normal;
}
ul, li {
	margin: 0 12px;
}

/** Layout **/
.content-expanded{
    width: 94% !important;
}

#container {
	text-align: left;
        color: #22558e;
        /*background-color: #22558e ;*/
/*        padding: 3px 0px 0;*/
        /*background: url('../img/header.png') repeat-x;*/ 
        min-width: 680px;
        min-height:75px;
}

#header{
        /** background: url('../img/header.png') repeat-x;  **/
         padding: 6px 20px 0;
         margin: 0;
         min-height:67px;
}
#header h1 {
	line-height:15px;
	color: #fff;
	padding: 0px 0px;
}
#header h1 a {
	color: #fff;
	background: #34964B;
	font-weight:lighter;
	text-decoration: none;
}
#header h1 a:hover {
	color: #fff;
	background: #34964B;
	text-decoration: underline;
}
#footer {
	clear: both;
	text-align: right;
}
#content{
	/*background: #ffffff;*/
	clear: both;
	color: #59473a  /*#555*//*#333*/;
	padding: 30px 10px 10px 10px;
	overflow: auto;
}
/** containers **/
div.form,
div.index,
div.related,
div.view {
	
        float:right;
	width:76%;
        
	/*border-left:1px solid #666;*/
	padding:10px 18px;
        background-color: #ffffff;
}
form div {
	clear: both;
	margin-bottom: 0.1em;
	padding: .5em;
	vertical-align: text-top;
}
div.actions {
        /*border-right:1px solid #666 ;margin-left: 10px;*/
        /*border-color-right: #666666;*/
	float:left;
	width:17%;
	/** padding-left: 10px;**/
        background-color: #ffffff;
        background-repeat: repeat;
}
div.actions h3 {
	padding-top:0;
/*	color:#fff;*/
}


/** Tables **/
table {
      
	background:  #ffffff;
	border-right:0;
        
	clear: both;
	color: #333;
/*        margin-top: 10px;*/
	/*margin-bottom: px;*/
	/**width: 100%;**/
/*        min-width: 100%;*/
/*        width:auto;
        min-width:100%;*/
        max-width: 500%;
        table-layout:inherit;
}
table.YaraColorStripe {      
	background:  #ffffff;
	border-right:0;        
	clear: both;
	color: #333;
        table-layout:fixed;
}
th {   
        /*font-style: italic;*/
        color:white;
        font-weight: normal;
        font-family: sans-serif;
        background:  #59473a /*#22558e*/ ;
	border:0;
	/*border-bottom:2px solid #555;*/
	text-align: left;
	padding:6px;
}
th a {  
        with:auto;
        color:white;
	display: block;
	padding: 2px 4px;
	text-decoration: none;
/*        color: #fff;*/
}
th a.asc:after {
	content: ' ⇣';
}
th a.desc:after {
	content: ' ⇡';
}
table tr td {
      
	background:  #E6DDD5  /*#E6DACE*/ /*#d4c9be*/ /*#e1e1e1*/;
	padding: 6px;
	text-align: left;
	/*vertical-align: top;*/
	/*border-bottom:1px solid #ddd;*/
}
table tr:nth-child(2n) td {
	background: white;
}
table .altrow td {
	background: #e1e1e1;
}
td.actions {
	text-align: center;
	white-space: nowrap;
}
table td.actions a {
	margin: 0px 6px;
	padding:2px 5px;
}
.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;
}

/** Paging **/
div.paging {
	background: #ffffff;
	color: #fff;
	margin-top: 1em;
	clear:both;
}
div.paging span.disabled {
	color: #555;
	display: inline;
}
div.paging span.current {
	color: #22558e;
}
div.paging span a {
}

/** Scaffold View **/
dl {
	line-height: 2em;
	margin-top: 10px;
	width: 60%;
}
dl .altrow {
	background:  #e1e1e1;
}
dt {
/*	font-weight: bold;*/
	padding-left: 4px;
	vertical-align: top;
        
}
dd {
	margin-left: 14em; /* !!! */
	margin-top: -2em;
	vertical-align: top;
}

/** Forms **/
form {
	clear: both;
	/*margin-right: 20px; Why waste space? Commented out by Richard */
	padding: 0;
/*	width: 95%;*/
}
fieldset {
	border: 1px solid #ffffff;
	margin-bottom: 0.5em;
	padding: 5px 5px;
}
fieldset legend {
	background:#fff;
	color: #22558e;
	font-size: 100%;
	font-weight: normal;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 5px 5px;
}
fieldset fieldset legend {
	font-size: 100%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 5px;
}

form .input {
	color: #444;
}
form .required {
	font-weight: normal;
}
form .required label:after {
	color: #22558e;
	content: '*';
	display:inline;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 5px;
}
label {
	display: block;
	font-size: 100%;
	margin-bottom:3px;
}
input, textarea {
	clear: both;
	font-size: 100%;
/*	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;*/
	padding: 1%;
	width:98%;
}
select {
	clear: both;
	font-size: 90%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 90%;
	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: 80%;
	width: auto;
}
form .submit input[type=submit] {
	background:#22558e;
	/*background: #f6931f url(/img/ui-darkness/ui-bg_inset-soft_25_000000_1x101.png) 50% 50% repeat-x; opacity: 0.8;filter:Alpha(Opacity=50);*/
        /*-webkit-gradient(linear, left top, left bottom, from(#a8ea9c), to(#62af56));*/
/*	background-image: -moz-linear-gradient(top, #a8ea9c, #62af56);*/
	border-color: white;
	color: white;
	text-shadow: #8cee7c 0px 1px 0px;
}
form .submit input[type=submit]:hover {
	background:#22558e;
        color: white;
	background: #d4c9be/*#B8CDE6*//*orange*/ /*url(/img/ui-darkness/ui-bg_glass_40_0078a3_1x400.png)*/ 50% 50% repeat-x; opacity: 0.8;filter:Alpha(Opacity=80);
        /*-webkit-gradient(linear, left top, left bottom, from(#85e573), to(#4ca83d));*/
/*	background-image: -moz-linear-gradient(top, #85e573, #4ca83d);*/
}

/*!!!advance form style!!!*/
.form{
/*	font-family: Verdana;    */
        max-width: 500%;
        with:auto;
	font-size:1em;
	margin:0.5em;
	padding:0.5em;	
}

.form p.formtitle{
	color: #026475;
	font-size:1.3em;
	font-weight: bold;
}

.form fieldset{
        min-width: 10em;
	max-width: 500%;
	border:1px solid #b5b5b5;/*
        border-spacing: 30px;*/
	/*background-image: url(/zpt/img/zim_blue.png);
	background-position: bottom right;
        background-size:30%;*/
	background-repeat: no-repeat;
}

.form fieldset legend{
	color: black;
        background: #ffffff;
}

.formfield{
/*	width:20em;*/
	padding:5px;
}

.formfield label{
	display:block;
	float:left;
	/*width:12em;*/
	padding:1px;
	color:#22558e;
	text-align:left;
}

.formfield input, .formfield  select{
	padding:0.15em;
	/*width:14em;*/
/*	border:1px solid #ddd;
	background:#f3f3f3;*/
	color:black;
        background:white;
/*	font-family: Verdana;    */
	font-size:1em;
	
	-moz-border-radius:0.4em;
	-khtml-border-radius:0.4em;
}

.formfield input:hover, .formfield input:hover input:focus {
/*	border-color:#c5c5c5;
	background:#f6f6f6;*/
        color:black;
         background:white;
} 

.required input {
	border:1px solid #666666;
}

.form .submit input{
/*	font-family: Verdana;    */
	font-size:1em;
	margin-top: 0.3em;
}

.formerror{
	position:relative;
	left:12.1em;
	color:#FBB829;
}

/** Notices and Errors **/
div.message {
	clear: both;
	color:  transparent;
	font-size: 0%;
	font-weight: bold;
	margin: 0 0 0em 0;
	background: transparent;
	padding: 5px;
}
div.error-message {
	clear: both;
	color: #ff8000;	
	background: #22558e;
}
p.error {
	background-color: #22558e;
	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: #22558e;
	color: #fff;
}
.bannertext {
/*    	background: white;/*#AFE2AF;#22558e;*/
/*	color: 238723;*/
/*	font-family: Arial,Helvetica,sans-serif;*/
        display: block;
        margin-right: 0em;
        margin-left: 0em;
        margin-bottom: 0em;
        margin-top: 0em;
        font-style: italic;
        font-weight: normal;
/*        background-position: right bottom;*/
        line-height: 2em;
        padding: 1em;
        text-align: right;
}
.bannertextoben {
    	background: #22558e;
	color: white;
/*	font-family: Arial,Helvetica,sans-serif;*/
        border-bottom-style: solid;
        border-bottom-width: 1px;
        border-bottom-color: #fff;
}
/**  Actions  **/
div.actions ul {

	margin: 0;
	padding: 0;
}
div.actions li {
    
	margin:0 0 0.5em 0;
	list-style-type: none;
	white-space: nowrap;
	padding: 0;
}
div.actions ul li a {
	font-weight: normal;
	display: block;
	clear: both;
}
div.actions ul li a:hover {
	/*text-decoration: underline;*/
}

input[type=submit],
div.actions ul li a,
td.actions a {
       
        text-align: center;
	font-weight:normal;
	/*padding: 4px 8px;*/
	background: /*#22558e*/ #59473a ;
/*	background: -webkit-gradient(linear, left top, left bottom, from(#f1f1d4), to(#22558e));*/
	/*background-image: -moz-linear-gradient(top, #f1f1d4, #22558e);*/
	color:white;
	border:1px solid #666666;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	text-decoration:none;
	/*text-shadow: #fff 0px 1px 0px;*/
	min-width: 5em;
        /*min-height: 5em;*/
}
input[type=submit]:hover,
div.actions ul li a:hover,
td.actions a:hover {
        color:white;
	background: #ff8000/*#B8CDE6*//*orange*/ /*url(/img/ui-darkness/ui-bg_glass_40_0078a3_1x400.png)*/ 50% 50% repeat-x; opacity: 0.8;filter:Alpha(Opacity=80);
/*	background: -webkit-gradient(linear, left top, left bottom, from(#f7f7e1), to(#eeeca9));*/
}

/** 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;
	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;
}


/* colorpicker */

#colorSelector {
	position: relative;
	width: 36px;
	height: 36px;
	background: url(/img/colorpicker/select.png);
}
#colorSelector div {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 30px;
	height: 30px;
	background: url(/img/colorpicker/select.png) center;
}
#colorSelector2 {
	position: absolute;
	top: 0;
	left: 0;
	width: 36px;
	height: 36px;
	background: url(/img/colorpicker/select2.png);
}
#colorSelector2 div {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 28px;
	height: 28px;
	background: url(/img/colorpicker/select2.png) center;
}
#colorpickerHolder2 {
	top: 32px;
	left: 0;
	width: 356px;
	height: 0;
	overflow: hidden;
	position: absolute;
}
#colorpickerHolder2 .colorpicker {
	background-image: url(/img/colorpicker/custom_background.png);
	position: absolute;
	bottom: 0;
	left: 0;
}
#colorpickerHolder2 .colorpicker_hue div {
	background-image: url(/img/colorpicker/custom_indic.gif);
}
#colorpickerHolder2 .colorpicker_hex {
	background-image: url(/img/colorpicker/custom_hex.png);
}
#colorpickerHolder2 .colorpicker_rgb_r {
	background-image: url(/img/colorpicker/custom_rgb_r.png);
}
#colorpickerHolder2 .colorpicker_rgb_g {
	background-image: url(/img/colorpicker/custom_rgb_g.png);
}
#colorpickerHolder2 .colorpicker_rgb_b {
	background-image: url(/img/colorpicker/custom_rgb_b.png);
}
#colorpickerHolder2 .colorpicker_hsb_s {
	background-image: url(/img/colorpicker/custom_hsb_s.png);
	display: none;
}
#colorpickerHolder2 .colorpicker_hsb_h {
	background-image: url(/img/colorpicker/custom_hsb_h.png);
	display: none;
}
#colorpickerHolder2 .colorpicker_hsb_b {
	background-image: url(/img/colorpicker/custom_hsb_b.png);
	display: none;
}
#colorpickerHolder2 .colorpicker_submit {
	background-image: url(/img/colorpicker/custom_submit.png);
}
#colorpickerHolder2 .colorpicker input {
	color: #778398;
}
#customWidget {
	position: relative;
	height: 36px;
}
.tablescroll
{}

.tablescroll td, 
.tablescroll_wrapper,
.tablescroll_head,
.tablescroll_foot
{ border:0px solid #22558e; }

.tablescroll td
{  padding:0px 0px; }

.tablescroll_wrapper
{ border-left:0; }

.tablescroll_head
{  color:white; background-color:#22558e; border-left:0; border-top:0; margin-bottom:0px; }

.tablescroll thead td
{ border-right:0; border-bottom:0; }

.tablescroll tbody td
{ border-right:0; border-bottom:0; }

.tablescroll tbody tr.first td
{ border-top:0; }

.tablescroll_foot
{  background-color:#eee; border-left:0; border-top:0; margin-top:0px; }

.tablescroll tfoot td
{ border-right:0; border-bottom:0; }