/**
 *
 * Generic CSS for CakePHP
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       app.webroot.css
 * @since         CakePHP(tm)
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
/**
 *  Added for TABS
 */

#modal.ui-button {
	min-width: 200px;
	min-height: 27px;
	max-height: 27px;
}
header, nav {display:block;}
	
header{
	height:32px;
	overflow:hidden;
	background:#e1e1e1;
	background:-webkit-gradient(linear, left top, left bottom, from(#d1d1d1), to(#e1e1e1));
	background:-moz-linear-gradient(top,  #d1d1d1,  #e1e1e1);
	padding:0 5px;
	}
header h1{
	line-height:32px;
	font-size:14px;
	text-shadow:#fff 0 1px 0;
	text-align:center;
	}

#login {
	float: right;
	text-align: right;
	vertical-align: top;
	padding-top: 5px;
	padding-bottom: 5px;
	
	padding-right: 50px;
}
#messages {
	float: right;
	text-align: right;
	vertical-align: top;
	padding-top: 5px;
	padding-bottom: 5px;
	
	
}
nav{
	height:28px;
	overflow:hidden;
	}
nav ul{
	margin:0;
	padding:0 5px;
	width:100%;
	height:28px;
	-moz-box-shadow:inset 0 2px 2px #999;
	-webkit-box-shadow:inset 0 2px 2px #999;
	box-shadow:inset 0 2px 2px #999;
	background:#bbb;
	}
nav li{
	list-style:none;
	float:left;
	height:24px;
	line-height:24px;
	-moz-box-shadow:0 0 3px #888;
	-webkit-box-shadow:0 0 3px #888;
	box-shadow:0 0 3px #888;
	-webkit-border-bottom-right-radius:3px;
	-webkit-border-bottom-left-radius:3px;
	-moz-border-radius-bottomright:3px;
	-moz-border-radius-bottomleft:3px;
	border-bottom-right-radius:3px;
	border-bottom-left-radius:3px;
	margin:0 2px;
	width:200px;
	overflow:hidden;
	position:relative;
	background:#ccc;
	background:-webkit-gradient(linear, left top, left bottom, from(#ccc), to(#aaa));
	background:-moz-linear-gradient(top,  #ccc,  #aaa);
	}
nav li a, nav li a:visited, nav li a:hover{
	list-style:none;
	display:block;
	position:absolute;
	top:0;
	left:-2px;
	height:24px;
	line-height:24px;
	width:204px;	
	text-align:center;
	color:#333;	
	font-size:11px;
	text-shadow:#e8e8e8 0 1px 0;
	-moz-box-shadow:inset 0 1px 1px #888;
	-webkit-box-shadow:inset 0 1px 1px #888;
	box-shadow:inset 0 1px 1px #888;
	}	
nav li.selected{
	background:#e1e1e1;
	background:-webkit-gradient(linear, left top, left bottom, from(#e1e1e1), to(#d1d1d1));
	background:-moz-linear-gradient(top,  #e1e1e1,  #d1d1d1);
	}
nav li.selected a{
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
	box-shadow:none;	
	}	
nav li a:focus{outline:none;}



* {
	margin:0;
	padding:0;

}

/** General Style Info **/
body {
	
	color: #fff;
	/*font-family:'lucida grande',verdana,helvetica,arial,sans-serif;*/
	/*font-size:90%;*/
	margin: 0;

	background-image: url('../img/redbar2.png');
	background-repeat: repeat-x;
}
a {
	color: #003d4c;
	text-decoration: underline;
	font-weight: bold;
}
a:hover {
	color: #367889;
	text-decoration:none;
}
a img {
	/*border:none;*/
}
h1, h2, h3, h4 {
	font-family: helvetica, arial, sans-serif;
	font-weight: normal;
	margin-bottom:0.5em;
}
h1 {
	background:#fff;
	color: #003d4c;
	font-size: 100%;
}
h2 {
	background:#fff;
	color: #BF3737;
	font-family: helvetica, arial, sans-serif;
	font-size: 190%;
	text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}
h3 {
	color: #BF3737;
	font-family: helvetica, arial, sans-serif;
	font-size: 165%;
	text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}
h4 {
	color: #BF3737;
	font-family: helvetica, arial, sans-serif;
	font-size: 125%;
	text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

ul, li {
	margin: 0 12px;
}
p {
	margin: 0 0 1em 0;
}





/* Added for autocomplete */
.autoCompleteDiv    { 
     position: absolute; 
     border: 1px solid #888; 
     margin: 0px; 
     padding: 2px; 
     display: none; 
     background: white; 
} 
.autoCompleteDiv a:hover { 
    background: none; 
    background-color: darkblue; 
    color: white; 
    font-weight: normal; 
} 
.autoCompleteDiv a { 
    background: none; 
    background-color: white; 
    color: black; 
    text-decoration: none; 
    padding: 2px; 
    margin: 0px; 
    display: block; 
} 

.tracks, .tracks TD, .tracks TH
{
	position: relative;
	background-image: url('../img/headingBackground.png');
	background-color:white;
	color:white;
	background-repeat: no-repeat; 
	background-position: right;
	height: 100px;
	align: center;
	padding-left: -500px;
}

.logo {
	position: absolute;
	
}

.servicetypeicon
{
	position: relative;
	height: 17px;
	margin-top: -1px;
	vertical-align: middle;
	margin-left: 3px;
}
.actionicon
{
	position: relative;
	height: 17px;
	vertical-align: middle;
	margin-left: 3px;
}
.actionicon32
{
	position: relative;
	height: 32px;
	vertical-align: middle;
	margin-left: 3px;
}

.modalactionicon
{
	position: relative;
	height: 17px;
	vertical-align: middle;
	margin-left: -6px;
}
.targeticon16
{
	position: relative;
	vertical-align: middle;
	height: 15px;
	margin-top: -2px;
	margin-left: 5px;
	margin-right: 5px;
}

.usericon16
{
	/*position: relative;
	vertical-align: middle;
	height: 17px;
	margin-top: -1px;
	margin-left: 5px;
	margin-right: 5px;*/


	position: relative;
	height: 17px;
	margin-top: -1px;
	vertical-align: middle;
	margin-left: 3px;

	
}

.usericon32
{
	/*position: relative;*/
	vertical-align: middle;
	
	margin-left: 5px;
	margin-right: 5px;
}

.usericon32-notes
{
	position: relative;
	vertical-align: middle;
	height: 40px;
	border: 0px;
	margin-top: 5px;
	margin-left: 30px;
	margin-right: 30px;
}





/** Layout **/
#container {
	background-color: white;
	text-align: left;

}

#header{
	padding: 10px 20px;
	height: 100px;
}
#tracks
{
	position: relative;
	background-image: url('../img/headingbackground.png');
	background-color: white;
	color: white;
	background-repeat: no-repeat;
	background-position: right;
	height: 100px;
	padding-left: -500px;

}
#logo
{
	background:	url('../img/headingImagev2.png');
	position: absolute;
	repeat: no-repeat;
	height:100px;
}
#header h1 {
	line-height:20px;
	/*background: #003d4c url('../img/headingImagev2.png') 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;
	background-image: url('/img/contentBackGround.png');
	background-repeat: repeat-x;
}
#footer {
	clear: both;
	padding: 6px 10px;
	text-align: right;
}

#wrapper {
    display: table;
    table-layout: fixed;
    
    width:100%;
    
    /*background-color:Gray; */
}

#wrapper div {
    display: table-cell;
}

#wrapper_nav {
    /*background-color:green;  */
        width:245px;
        vertical-align: top;
}

#map_canvas {
	/*clear: both;*/
	width:95%;
	float:right;
	min-height: 500px;
	max-height: 800px;
	/*height:300px;*/
	
}

#wrapper_content {
    /*background-color:blue; */
    width: 95%;
    float:right;
}

#wrapper_centre {
    background-color:blue; 
    width: 200px;
    margin: 0, auto;
}



#wrapper_double_content {
    /*background-color:blue;*/
    width: 99%;
    height: auto;
    float:right;
}

#wrapper_double_left {
    /*background-color:blue; */
    width: 45%;
    float:left;
}

#wrapper_double_right {
    /*background-color:blue; */
    width: 45%;
    float:right;
}



#two_column_table {
    /*background-color:blue;*/
    width: 99%;
    float:right;
}

#two_column_table_left {
    /*background-color:green;*/
    width: 50%;
    float:left;
}

#two_column_table_right {
    /*background-color:red;*/
    width: 50%;
    float:right;
}



div#AppleMailSignature {
	clear: both;
	display: block;
}



#wrapper_triple_left {
    /*background-color:blue; */
    width: 30%;
    float:left;
}

#wrapper_triple_right {
    /*background-color:blue; */
    width: 30%;
    float:right;
}

#wrapper_triple_middle {
    /*background-color:blue; */
    width: 30%;
    /*float:center;*/
}

/** containers **/
div.form,
div.index,
div.view {
	float:right;
	/*width:70% ; */
	border-left:1px solid #666;
	border-right:1px solid #666;
	border-bottom:1px solid #666;
	border-top:1px solid #666;
	padding:20px 2%;
	background: #FFFFFF;
	border-top-left-radius: 10px ;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	box-shadow: 10px 10px 5px #888888;

}
div.actions {
	vertical-align: top;
	float:left;
	width:200px; 
	padding:15px 15px; 
	clear: both;
	color: #fff;
	background: #FFFFFF;
	border-left:1px solid #666;
	border-right:1px solid #666;
	border-bottom:1px solid #666;
	border-top:1px solid #666;
	background-repeat: repeat-x;
	border-top-left-radius: 10px ;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
	box-shadow: 10px 10px 5px #888888;
	/*position:relative;
	/*top:50%; */
	/*height:10em; 
	margin-top:-5em;  */
}

div.actionsnobutton {
	vertical-align: top;
	float:left;
	width:200px; 
	padding:15px 15px;
	clear: both;
	color: #000000;
	background: #FFFFFF;
	border-left:1px solid #666;
	border-right:1px solid #666;
	border-bottom:1px solid #666;
	border-top:1px solid #666;
	background-repeat: repeat-x;
	border-top-left-radius: 10px ;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
	box-shadow: 10px 10px 5px #888888;
	/*position:relative;
	/*top:50%; */
	/*height:10em; 
	margin-top:-5em;  */
}

div.actionsinner {
	vertical-align: top;
	float:left;
	width:200px; 
	padding:15px 15px; 
	clear: both;
	color: #fff;
	background: #FFFFFF;
	border-left:1px solid #666;
	border-right:1px solid #666;
	border-bottom:1px solid #666;
	border-top:1px solid #666;
	background-repeat: repeat-x;
	border-top-left-radius: 10px ;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
	box-shadow: 10px 10px 5px #888888;
	/*position:relative;
	/*top:50%; */
	/*height:10em; 
	margin-top:-5em;  */
}


div.login {
	margin-left: auto;
	margin-right: auto;
	width:30%;
	border-left:1px solid #666;
	border-right:1px solid #666;
	border-bottom:1px solid #666;
	border-top:1px solid #666;
	padding:20px 2%;
	background: #FFFFFF;
	border-top-left-radius: 10px ;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	box-shadow: 10px 10px 5px #888888;
}


div.actions h3 {
	padding-top:0;
	color:#777;
	
}

div.view-gap {
	float:right;
	width:30%;
	padding:15px 0%;
	
}


div.accordian {
	float:left;
	width: 80%;
	padding:20px 1.5%;
	clear: both;
	color: #fff;
	background: #FFFFFF;
	background-repeat: repeat-x;
	border-top-left-radius: 10px ;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}

.ui-accordion .ui-accordion-header {
  cursor: pointer;
  position: relative;
  margin-top: 1px;
  zoom: 1;
}
.ui-accordion .ui-accordion-li-fix {
  display: inline;
}
.ui-accordion .ui-accordion-header-active {
  border-bottom: 0 !important;
}
.ui-accordion .ui-accordion-header a {
  display: block;
  font-size: 1em;
  padding: .5em .5em .5em .7em;
}
/* IE7-/Win - Fix extra vertical space in lists */
.ui-accordion a {
  zoom: 1;
}
.ui-accordion-icons .ui-accordion-header a {
  padding-left: 2.2em;
}
.ui-accordion .ui-accordion-header .ui-icon {
  position: absolute;
  left: .5em;
  top: 50%;
  margin-top: -8px;
}
.ui-accordion .ui-accordion-content {
  padding: 1em 2.2em;
  border-top: 0;
  margin-top: -2px;
  position: relative;
  top: 1px;
  margin-bottom: 2px;
  overflow: auto;
  display: none;
  zoom: 1;
}
.ui-accordion .ui-accordion-content-active {
  display: block;
} 


/** Tables **/
table {
	border-right:1;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 99%;
}
table.narrow {
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 60%;
}
th {
	border:0;
	border-bottom:2px solid #555;
	text-align: center;
	padding:4px;
}

th a {
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a.asc:after {
	content: ' ⇣';
}
th a.desc:after {
	content: ' ⇡';
}
table tr {

}
table tr td {
	padding: 6px;
	text-align: left;
 	vertical-align: middle;
	border-bottom:1px solid #ddd;
	/*border-left: solid 1px #ddd;
	border-right: solid 1px #ddd;*/
}

table tr:nth-child(even) {
	background: #ECECEC;
}
td.actions {
	text-align: right;
	white-space: nowrap;
}

table td.actions a {
	margin: 0px 6px;
	padding:2px 5px;
}

table td.actionicons a {
	vertical-align: middle;
	margin: 0px 0px;
	padding: 6px 18px;
	white-space:nowrap;
}

table td.actionicons img {
	vertical-align: middle;
	margin: 0px 0px;
	padding: 0px 0px;
}

/* SQL log */
.cake-sql-log {
	background: #fff;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
	font-family: Monaco, Consolas, "Courier New", monospaced;
}
.cake-sql-log caption {
	color:#fff;
}

/** Paging **/
.paging {
	background:#fff;
	color: #ccc;
	margin-top: 1em;
	clear:both;
}
.paging .current,
.paging .disabled,
.paging a {
	text-decoration: none;
	padding: 5px 8px;
	display: inline-block
}
.paging > span {
	display: inline-block;
	border: 1px solid #ccc;
	border-left: 0;
}
.paging > span:hover {
	background: #efefef;
}
.paging .prev {
	border-left: 1px solid #ccc;
	-moz-border-radius: 4px 0 0 4px;
	-webkit-border-radius: 4px 0 0 4px;
	border-radius: 4px 0 0 4px;
}
.paging .next {
	-moz-border-radius: 0 4px 4px 0;
	-webkit-border-radius: 0 4px 4px 0;
	border-radius: 0 4px 4px 0;
}
.paging .disabled {
	color: #ddd;
}
.paging .disabled:hover {
	background: transparent;
}
.paging .current {
	background: #efefef;
	color: #c73e14;
}

/** Scaffold View **/
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: auto;
}
dl dd:nth-child(4n+2),
dl dt:nth-child(4n+1) {
	background: #f4f4f4;
}

dt {
	color:black;
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
	width: 20em;
}
dd {
	color:black;
	margin-left: 18em;
	margin-top: -2em;
	vertical-align: top;
}

/** Forms **/
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 100%;
}
fieldset {
	border: none;
	margin-bottom: 1em;
	padding: 16px 10px;
}
fieldset legend {
	color: #e32;
	font-size: 160%;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0;
	padding: 10px 0 0;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div { 
	clear: both;
	float:left;

	width:76%;
	padding:10px 2%;
	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: 90%;
	margin-bottom:3px;
}
/*#log li {
	font-size: 90%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 1%;
	width:100%;
	background-color: white;
	min-width: 250%;
}*/
input, textarea {
	clear: both;
	font-size: 90%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 1%;
	width:50%;
}
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: 6px 0;
	padding: 0;
	line-height: 26px;
}
.radio label {
	margin: 0 0 6px 20px;
	line-height: 26px;
}
input[type=submit] {
	display: inline;
	font-size: 100%;
	width: auto;
}
form .submit input[type=submit] {

	/*#BF3737*/	

	background:#BF3737;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230));
	background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
	border-color: #2d6324;
	color: #fff;
	text-shadow: rgba(0, 0, 0, 0.5) 0px -1px 0px;
	padding: 8px 10px;
}
form .submit input[type=submit]:hover {
	background: #5BA150;
}
/* Form errors */
form .error {
	background: #FFDACC;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	font-weight: normal;
}
form .error-message {
	-moz-border-radius: none;
	-webkit-border-radius: none;
	border-radius: none;
	border: none;
	background: none;
	margin: 0;
	padding-left: 4px;
	padding-right: 0;
}
form .error,
form .error-message {
	color: #9E2424;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-ms-box-shadow: none;
	-o-box-shadow: none;
	box-shadow: none;
	text-shadow: none;
}

.arrow_box {
	position: relative;
	background: #ffffff;
	border: 2px solid #99b2c2;
}
.arrow_box:after, .arrow_box:before {
	right: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box:after {
	border-color: rgba(255, 255, 255, 0);
	border-right-color: #ffffff;
	border-width: 10px;
	top: 50%;
	margin-top: -10px;
}
.arrow_box:before {
	border-color: rgba(153, 178, 194, 0);
	border-right-color: #99b2c2;
	border-width: 13px;
	top: 50%;
	margin-top: -13px;
}


/* ============================================================================================================================
== OVAL SPEECH BUBBLE (more CSS3)
** ============================================================================================================================ */

.oval-speech {
	position:relative;
	width:270px;
	padding:50px 40px;
	margin:1em auto 50px;
	text-align:center;
	color:#fff; 
	background:#5a8f00;
	/* css3 */
	background:-webkit-gradient(linear, 0 0, 0 100%, from(#b8db29), to(#5a8f00));
	background:-moz-linear-gradient(#b8db29, #5a8f00);
	background:-o-linear-gradient(#b8db29, #5a8f00);
	background:linear-gradient(#b8db29, #5a8f00);
	/*
	NOTES:
	-webkit-border-radius:220px 120px; // produces oval in safari 4 and chrome 4
	-webkit-border-radius:220px / 120px; // produces oval in chrome 4 (again!) but not supported in safari 4
	Not correct application of the current spec, therefore, using longhand to avoid future problems with webkit corrects this
	*/
	-webkit-border-top-left-radius:220px 120px;
	-webkit-border-top-right-radius:220px 120px;
	-webkit-border-bottom-right-radius:220px 120px;
	-webkit-border-bottom-left-radius:220px 120px;
	-moz-border-radius:220px / 120px;
	border-radius:220px / 120px;
}

.oval-speech p {font-size:1.25em;}

/* creates part of the curve */
.oval-speech:before {
	content:"";
	position:absolute;
	z-index:-1;
	bottom:-30px;
	right:50%;
	height:30px;
	border-right:60px solid #5a8f00;
	background:#5a8f00; /* need this for webkit - bug in handling of border-radius */
	/* css3 */
	-webkit-border-bottom-right-radius:80px 50px;
	-moz-border-radius-bottomright:80px 50px;
	border-bottom-right-radius:80px 50px;
	/* using translate to avoid undesired appearance in CSS2.1-capabable but CSS3-incapable browsers */
	-webkit-transform:translate(0, -2px);
	-moz-transform:translate(0, -2px);
	-ms-transform:translate(0, -2px);
	-o-transform:translate(0, -2px);
	transform:translate(0, -2px);
}

/* creates part of the curved pointy bit */
.oval-speech:after {
	content:"";
	position:absolute;
	z-index:-1;
	bottom:-30px;
	right:50%;
	width:60px;
	height:30px;
	background:#fff;
	/* css3 */
	-webkit-border-bottom-right-radius:40px 50px; 
	-moz-border-radius-bottomright:40px 50px; 
	border-bottom-right-radius:40px 50px; 
	/* using translate to avoid undesired appearance in CSS2.1-capabable but CSS3-incapable browsers */
	-webkit-transform:translate(-30px, -2px);
	-moz-transform:translate(-30px, -2px);
	-ms-transform:translate(-30px, -2px);
	-o-transform:translate(-30px, -2px);
	transform:translate(-30px, -2px);
}



/* ============================================================================================================================
== BUBBLE WITH A BORDER AND TRIANGLE
** ============================================================================================================================ */

/* THE SPEECH BUBBLE
------------------------------------------------------------------------------------------------------------------------------- */

.triangle-border {
	position:relative;
	padding:15px;
	margin:1em 0 3em;
	border:2px solid gray;
	color:#333;
	background:#ececec;
	/* css3 */
	-webkit-border-radius:15px;
	-moz-border-radius:15px;
	border-radius:15px;
	box-shadow: 5px 5px 5px #888888;
}

/* Variant : for left positioned triangle
------------------------------------------ */

.triangle-border.left {
	margin-left:30px;
}

/* Variant : for right positioned triangle
------------------------------------------ */

.triangle-border.right {
	margin-right:30px;
}

/* THE TRIANGLE
------------------------------------------------------------------------------------------------------------------------------- */

.triangle-border:before {
	content:"";
	position:absolute;
	bottom:-20px; /* value = - border-top-width - border-bottom-width */
	left:40px; /* controls horizontal position */
    border-width:20px 20px 0;
	border-style:solid;
    border-color:  transparent;
    /* reduce the damage in FF3.0 */
    display:block; 
    width:0;
}

/* creates the smaller  triangle */
.triangle-border:after {
	content:"";
	position:absolute;
	bottom:-13px; /* value = - border-top-width - border-bottom-width */
	left:47px; /* value = (:before left) + (:before border-left) - (:after border-left) */
	border-width:13px 13px 0;
	border-style:solid;
	border-color: gray transparent;
    /* reduce the damage in FF3.0 */
    display:block; 
    width:0;
}

/* Variant : top
------------------------------------------ */

/* creates the larger triangle */
.triangle-border.top:before {
	top:-20px; /* value = - border-top-width - border-bottom-width */
	bottom:auto;
	left:auto;
	right:40px; /* controls horizontal position */
    border-width:0 20px 20px;
}

/* creates the smaller  triangle */
.triangle-border.top:after {
	top:-13px; /* value = - border-top-width - border-bottom-width */
	bottom:auto;
	left:auto;
	right:47px; /* value = (:before right) + (:before border-right) - (:after border-right) */
    border-width:0 13px 13px;
}

/* Variant : left
------------------------------------------ */

/* creates the larger triangle */
.triangle-border.left:before {
	top:12px; /* controls vertical position */
	bottom:auto;
	left:-34px; /* value = - border-left-width - border-right-width */
	border-width:12px 34px 11px 0;
	border-color:transparent gray;
}

/* creates the smaller  triangle */
.triangle-border.left:after {
	top:14px; /* value = (:before top) + (:before border-top) - (:after border-top) */
	bottom:auto;
	left:-31px; /* value = - border-left-width - border-right-width */
	border-width:10px 31px 9px 0;
	border-color:transparent #ececec;
}

/* Variant : right
------------------------------------------ */

/* creates the larger triangle */
.triangle-border.right:before {
	top:10px; /* controls vertical position */
	bottom:auto;
    left:auto;
	right:-30px; /* value = - border-left-width - border-right-width */
	border-width:15px 0 15px 30px;
	border-color:transparent #BF3737;
}

/* creates the smaller  triangle */
.triangle-border.right:after {
	top:16px; /* value = (:before top) + (:before border-top) - (:after border-top) */
	bottom:auto;
    left:auto;
	right:-21px; /* value = - border-left-width - border-right-width */
	border-width:9px 0 9px 21px;
	border-color:transparent #fff;
}


/** Notices and Errors **/
.message {



/*#flash_msg {*/
	position: absolute;
	top: 30px;
	right: 20px;
	z-index: 10000;
	clear: both;
	color: #fff;
	font-size: 140%;
	font-weight: bold;
	margin: 0 0 1em 0;
	padding: 5px;
}

.success,
.message,
.cake-error,
.cake-debug,
.notice,
p.error,
.error-message {
	background: #ffcc00;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -ms-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ffcc00), to(#E6B800));
	background-image: -webkit-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -o-linear-gradient(top, #ffcc00, #E6B800);
	background-image: linear-gradient(top, #ffcc00, #E6B800);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(0, 0, 0, 0.2);
	margin-bottom: 18px;
	padding: 7px 14px;
	color: #404040;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.success,
.message,
.cake-error,
p.error,
.error-message {
	clear: both;
	color: #fff;
	background: #c43c35;
	border: 1px solid rgba(0, 0, 0, 0.5);
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));
	background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: linear-gradient(top, #ee5f5b, #c43c35);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.success {
	clear: both;
	color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.5);
	background: #3B8230;
	background-repeat: repeat-x;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230));
	background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -ms-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -o-linear-gradient(top, #76BF6B, #3B8230);
	background-image: linear-gradient(top, #76BF6B, #3B8230);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}
p.error {
	font-family: Monaco, Consolas, Courier, monospace;
	font-size: 120%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	font-weight: normal;
	line-height: 140%;
}
.notice {
	color: #000;
	display: block;
	font-size: 120%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	color: #fff;
}

/**  Actions  **/
.actions ul {
	margin: 0;
	padding: 0;

}
.actions li {
	margin:0 0 0.5em 0;
	list-style-type: none;
	white-space: nowrap;
	padding: 0;
}
.actions ul li a {
	font-weight: normal;
	display: block;
	clear: both;
}

.xactions ul {
	margin: 0;
	padding: 0;

}
.xactions li {
	margin:0 0 0.5em 0;
	list-style-type: none;
	white-space: nowrap;
	padding: 0;
	min-height: 18px;
}
.xactions ul li a {
	font-weight: normal;
	display: block;
	clear: both;
}

/* Buttons and button links */
input[type=submit],
.actions ul li a,
.actions a {
	font-weight:normal;
	padding: 4px 8px;
	background: #dcdcdc;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#dcdcdc));
	background-image: -webkit-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -moz-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -ms-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -o-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: linear-gradient(top, #fefefe, #dcdcdc);
	color:#333;
	border:1px solid #bbb;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	text-decoration: none;
	text-shadow: #fff 0px 1px 0px;
	min-width: 0;
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
	-webkit-user-select: none;
	user-select: none;
}
.actions ul li a:hover,
.actions a:hover {
	background: #ededed;
	border-color: #acacac;
	text-decoration: none;
}
input[type=submit]:active,
.actions ul li a:active,
.actions a:active {
	background: #eee;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#eee));
	background-image: -webkit-linear-gradient(top, #dfdfdf, #eee);
	background-image: -moz-linear-gradient(top, #dfdfdf, #eee);
	background-image: -ms-linear-gradient(top, #dfdfdf, #eee);
	background-image: -o-linear-gradient(top, #dfdfdf, #eee);
	background-image: linear-gradient(top, #dfdfdf, #eee);
	text-shadow: #eee 0px 1px 0px;
	-moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	border-color: #aaa;
	text-decoration: none;
}

input[type=submit],
.actionicons ul li a,
.actionicons a {
	font-weight:normal;
	/*padding: 50px 3px;*/
	background: #dcdcdc;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#dcdcdc));
	background-image: -webkit-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -moz-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -ms-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -o-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: linear-gradient(top, #fefefe, #dcdcdc);
	color:#333;
	border:1px solid #bbb;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	text-decoration: none;
	text-shadow: #fff 0px 4px 0px;
	min-width: 0;
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
	-webkit-user-select: none;
	user-select: none;
}
.actionicons ul li a:hover,
.actionicons a:hover {
	background: #ededed;
	border-color: #acacac;
	text-decoration: none;
}
input[type=submit]:active,
.actionicons ul li a:active,
.actionicons a:active {
	background: #eee;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#eee));
	background-image: -webkit-linear-gradient(top, #dfdfdf, #eee);
	background-image: -moz-linear-gradient(top, #dfdfdf, #eee);
	background-image: -ms-linear-gradient(top, #dfdfdf, #eee);
	background-image: -o-linear-gradient(top, #dfdfdf, #eee);
	background-image: linear-gradient(top, #dfdfdf, #eee);
	text-shadow: #eee 0px 1px 0px;
	-moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	border-color: #aaa;
	text-decoration: none;
}


/** Related **/
.related {
	clear: both;
	display: block;
}

/** Debugging **/
pre {
	color: #000;
	background: #f0f0f0;
	padding: 15px;
	-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.cake-debug-output {
	padding: 0;
	position: relative;
}
.cake-debug-output > span {
	position: absolute;
	top: 5px;
	right: 5px;
	background: rgba(255, 255, 255, 0.3);
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 5px 6px;
	color: #000;
	display: block;
	float: left;
	-moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5);
	-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5);
	box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5);
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}
.cake-debug,
.cake-error {
	font-size: 16px;
	line-height: 20px;
	clear: both;
}
.cake-error > a {
	text-shadow: none;
}
.cake-error {
	white-space: normal;
}
.cake-stack-trace {
	background: rgba(255, 255, 255, 0.7);
	color: #333;
	margin: 10px 0 5px 0;
	padding: 10px 10px 0 10px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
.cake-stack-trace a {
	text-shadow: none;
	background: rgba(255, 255, 255, 0.7);
	padding: 5px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	margin: 0px 4px 10px 2px;
	font-family: sans-serif;
	font-size: 14px;
	line-height: 14px;
	display: inline-block;
	text-decoration: none;
	-moz-box-shadow: inset 0px 1px 0 rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: inset 0px 1px 0 rgba(0, 0, 0, 0.3);
	box-shadow: inset 0px 1px 0 rgba(0, 0, 0, 0.3);
}
.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
.cake-context {
	margin-bottom: 10px;
}
.cake-stack-trace pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px 0 10px 0;
	padding: 1em;
	overflow: auto;
	text-shadow: none;
}
/* excerpt */
.cake-code-dump pre,
.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
.cake-code-dump .code-highlight {
	display: block;
	background-color: rgba(255, 255, 0, 0.5);
}
.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
.code-coverage-results div.covered span.content {
	background:#cec;
}
.code-coverage-results div.ignored span.content {
	color:#aaa;
}
.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
.code-coverage-results span.line-num strong {
	color:#666;
}
.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0px 1px;
	margin-top:30px;
	padding-top:5px;
}
.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
.code-coverage-results div.realstart {
	margin-top:0px;
}
.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
.code-coverage-results span.result-bad {
	color: #a00;
}
.code-coverage-results span.result-ok {
	color: #fa0;
}
.code-coverage-results span.result-good {
	color: #0a0;
}

/** Elements **/
#url-rewriting-warning {
	display:none;
}
