.hidden {
	display:none;
}

img.action {
    height:20px;
	width:20px;
	vertical-align:middle;
}

a.listAction {
    margin:0;
}
a.listAction img {
    height:20px;
    width:20px;
    vertical-align:middle;
}

.gray {
	color:#D3D3D3;
}
#head
{
/*    border: 1px solid #aa4444;
    background: #cccccc;*/
}

#head table {
    font-size:100%;
}

.TaskNote td.column-3 {
	white-space:pre-wrap;
}

.ClientNote td.column-3 {
    white-space:pre-wrap;
}

/* General Style Info */
body {
    background: #fff;
    color: #000;
    font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
    font-size:77%;
    margin: 0;
	min-width:1050px;
}

form a, .prominent-link {
    color:#007FFF;
	border-bottom:1px dashed #007FFF;
	text-decoration:none;
	margin-right:4px;
}

a, th a, table a {
    color: #333333;
    text-decoration: underline;
    font-weight: normal;
	border-bottom:none;
}

a:hover {
    text-decoration:none;
	border-bottom:none;
}
a img {
    border:none;
}

body {
	font-family: Arial, Verdana, Helvetica, sans-serif;
}

/* module list in header.tpl */
.currentSubTab a {
    font-weight: bold;
}

#moduleList
{
    display: block;
    height: 2.4em;
}
#moduleList ul
{
    list-style: none;
    padding: 0;
    margin: 0;
    color: #ccc;
}
#moduleList ul li
{
    float: left;
    margin: 0 0.15em;
    display:block;
    font-weight: bold;
    padding:8px 6px 4px 2px;
}
#moduleList > ul > li
{
    background-repeat:no-repeat;
    background-position:right top;
}
#moduleList > ul > li.noBorder
{
    background-image: none;
    padding-right: 0;
    padding-left: 0px;
    margin-left: -2px;
}
#moduleList > ul:first-child
{
    padding-left: 14px;
}
#moduleList > ul > li#moduleTabExtraMenu
{
    padding-left:16px;
    padding-right:20px;
}
#moduleList ul li span.currentTab
{
    font-weight: bold;
    padding: 8px 5px 6px 5px;
    background-position: top center;
    border-bottom: 2px solid;
    margin: 0 !important;
    border-left: 0 !important;
}
#moduleList ul li span.currentTabLeft
{
    background-position: top left;
    border-bottom: 2px solid;
    margin-right: 0 !important;
    border-left: 0 !important;
    padding:8px 2px 6px;
}
#moduleList ul li span.currentTabRight
{
    background-position: top right;
    border-bottom: 2px solid;
    margin-left: 0 !important;
    border-left: 0 !important;
    padding:8px 2px 6px;
}
#moduleList ul li a:link,
#moduleList ul li a:visited
{
    text-decoration: none;
    padding-top: 0px;
}
#moduleList ul li a:hover
{
    text-decoration: none;
}
#moduleList ul li ul.cssmenu
{
    margin-left: -1.7em;
    margin-top: 0.3em;
}
#subModuleList
{
    padding:0.4em 0 0.3em 1em;
	border-bottom: none;
	border-top: 2px solid;
}
#subModuleList span a
{
    text-decoration: none;
    padding: 0.2em 0.5em 0.3em 0.5em;
	margin: 0 -3px 0 0;
	border-right: 1px solid;
	border-left: 1px solid;
	border-bottom: none;
}

/* for the main screen navigation tabs */
#moduleList ul li,
#subModuleList span
{
    font-size: 12px;
}

#moduleList
{
    background-image : url(/img/sugar/tabRowBg.gif);
    background-repeat: repeat-x;
    border-bottom-color: #0046ad;
}
#moduleList > ul > li
{
    background-image:url(/img/sugar/otherTab.gif);
}
#moduleList ul li span.currentTab a:link,
#moduleList ul li span.currentTab a:visited,
#moduleList ul li span.currentTab a:hover
{
    color: #ffffff;
}
#moduleList ul li a:link,
#moduleList ul li a:visited
{
    color: #444444;
}
#moduleList ul li a:hover
{
    color: #000000;
}
#moduleList ul li span.currentTabLeft,
#moduleList ul li span.currentTabRight,
#moduleList ul li span.currentTab
{
    background-image : url(/img/sugar/currentTab.gif);
    background-repeat: no-repeat;
    border-bottom-color: #4e8ccf;
}
#subModuleList
{
	background-color:#4e8ccf;
	border-color:#0046ad;
}
#subModuleList span a
{
	border-right-color:#0046ad;
	border-left-color:#79a7d8;
}
#subModuleList span a:link,
#subModuleList span a:visited
{
    color: #ffffff;
}
#subModuleList span a:hover
{
    background-color:#0046ad;
	border-left-color:#0046ad;
}

div.clear
{
    height: 0;
    clear: both;
    visibility: hidden;
    font-size:0;
}

div.line
{
    height: 4px;
    margin: 0;
    padding: 0;
}

div.line {
height: 2px;
	border-bottom: 2px solid;
    color:#0046ad;
}

div.line {
    background-color:#4e8ccf;
	border-bottom-color: #0046ad;
    color:#0046ad;
}


.headerList
{
    padding: 5px 0 3px 10px;
    vertical-align: middle;
}
.headerList a:link, .headerList a:visited, .headerList a
{
    padding: 2px 5px;
    white-space: nowrap;
}

.headerList
{
    border-bottom: 2px solid;
}
.headerList a:link, .headerList a:visited, .headerList a
{
    text-decoration: none;
    border-left:1px solid;
}
.headerList a:hover
{
    background: #fff;
}
.headerList a:hover span
{
	text-decoration: underline;
}

.headerList
{
    color: #444;
    border-top-color:#0046ad;
    border-bottom-color: #abc3d7;
    background-color: #f4f9fc;
}
.headerList a:link,
.headerList a:visited,
.headerList a
{
    color: #444444;
    border-color: #CBDAE6;
}
.headerList a:hover
{
    color: #0b578f;
}












.center td {
    text-align:center;
}

.imageBlock {
    float:left;
	width:170px;
	height:215px;
	text-align:center;
	vertical-align:middle;
	margin:10px;
}
.imageBlock .title {
    text-align:center;
    margin:4px;
}
.imageBlock .actions {
    text-align:center;
    margin:4px;
}

.imageBlock .image {
    width:170px;
    height:170px;
    text-align:center;
}

.date select {
    width:auto !important;
}

.datetime select {
    width:auto;
}

select {
    width:auto;
    max-width:300px;
}


/* Render style for list */
.renderListWrapper {
    position:relative;
    clear:both;
}

.renderTableSettingWrapper {
    position:absolute;
    left:-7px;
    top:-7px;
    height:26px;
    width:26px;
}

.renderTableSetting {
    background-color: #eee;
    border: 1px solid #ccc;

    white-space:nowrap;
    position:absolute;
    left:0;
    top:26px;
}


table.list { border-collapse: collapse;}
table.list tr th { background-color: #eee; border: 1px solid #ccc; text-align: center; padding: 2px; white-space: normal; font-weight:normal; vertical-align:top;}
table.list tr td { padding: 2px; text-align: center; vertical-align: top; border: 1px solid #ccc; white-space: nowrap;}
table.list tr.even td { background-color: #dddddd; }
table.list tr.odd  td { background-color: #ffffff; }

table.center tr td div { text-align:center; padding: 0; }
table.left tr td div { text-align:left; padding: 0; }
table.right tr td div { text-align:right; padding: 0; }

table.wrap tr td { white-space: normal;}
table.nowrap tr td { white-space: nowrap;}

table.left tr td { text-align:left;}
table.center tr td { text-align:center;}
table.right tr td { text-align:right;}


table.list th a {
    border-bottom: 1px dashed #333333;
    text-decoration: none;
    -font-weight: bold;
}
table.list th a:hover {
    border-bottom: none;
}

table.calendar { width:auto; }

table.calendar th div {
    color:red;
	float:right;
	font-size:9px;
}

table.calendar tr td.column-1 { width: 1px; overflow: visible; }
table.calendar tr td { white-space: normal; }


.calendar table.layout tr td.name {
	width:17px;
}

.calendar table.layout tr td.value {
    padding-top:0;
    padding-bottom:0;
    -border-bottom-style:solid;
    padding-left:0;
}

.calendar table.layout {
    width:140px;
    margin:0;
}

.calendar span.empty {
	margin-left:14px;
}

.calendar .hourBox {
    position:absolute;
    width:109px;
    height:25px;
    padding-top:0px;
    font-size:10px;
    overflow:hidden;
    vertical-align:middle;

    border:1px solid black;
    border-top:none;
    border-bottom:none;
}

.firstHour {
	border-top:1px solid black !important;
	height:24px !important;
}

.lastHour {
    border-bottom:1px solid black !important;
    height:24px !important;
}


.calendar .hourCorner {
	font-size:10px;
	text-decoration:none;
	position:relative;
	top:8px;
	right:8px;
	font-weight:bold;
}

.calendar input[type=checkbox].hourCorner {
    right:10px;
    top:10px;
}

.hourBox1 {
    background-image:url("/img/calendar_block1.png");
}

.hourBox2 {
    /* background-image:url("/img/calendar_block2.png"); */
    background-color: #b8c2e0 !important;
}

.hourBox3 {
    /* background-image:url("/img/calendar_block4.png"); */
    background-color: #e9b4b4 !important;
}

.hourBox4 {
    /* background-image:url("/img/calendar_block3.png"); */
    background-color: #adddad !important;
}

.hourBox5 {
    /* background-image:url("/img/calendar_block5.png"); */
    background-color: #69da5f !important;
}


.hourBoxBehinded {
    background-color:red;
}

.hourBoxCompleted {
    background-color:lightgray;
    color:gray;
}

.hourBoxCompleted a {
    color:gray;
    text-decoration:none;
}

.taskCompleted {
	color:gray;
	font-size:90%;
}

.taskFuture {
    color:blue;
}

.taskBehinded {
    color:red;
}

.taskCurrent {
font-weight:bold;
}

.taskMarked {
	background-color:gold;
	border:2px dashed red;
}

.autoWidth {
	width:auto;
}









table.calendar tr.odd > td, table.calendar tr.even > td {
    padding-top:0;
	padding-bottom:0;
}


/* Table layout for Show */
table.layout { border-collapse: collapse; white-space: nowrap; }
table.layout tr td { vertical-align: top; text-align: left; border: none; background: none; }
table.layout tr td.name { border-bottom: 1px dashed #ccc; font-style: italic; letter-spacing: 0.05em; width:200px; padding-right:8px; }
table.layout tr td.value { border-left: 1px dashed #ccc; border-bottom: 1px dashed #ccc; padding-left: 14px; }
table.layout tr td img { margin: 4px; }

table.searchTable { border-collapse: collapse; white-space: nowrap; }
table.searchTable tr td { vertical-align: top; text-align: center; border: none; background: none; }
table.searchTable tr td select { width:100%; }

.searchTable #SearchExecutorId, .searchTable #SearchInitiatorId { width: 150px } 

table.reportsTable { width: auto; margin:0 auto -1px; border:1px solid #CCCCCC; }
table.reportsTable tr td { padding-right:8px; }



/*table.companies td.column-4 {
    white-space: normal;
    text-align: left;
    padding-left: 8px;
}

table.companies td.column-6 {
    white-space: normal;
    text-align: left;
    padding-left: 8px;
}*/

/* Paging */
#paging {
    clear: both;
    text-align: center;
    margin-bottom: 2em;
}
#paging div.disabled {
    color: #bbbbbb;
    display: inline;
}
#paging span {
}
#paging span.current {
    -color: #aa4444;
    background-color:#Ffff00;
    border:1px solid #aa4444;
    padding:2px 3px;
}
#paging span a {
}
#paging span a:hover {
}

#paging #counter {
    clear: both;
    margin: 10px;
    text-align: center;
}
#paging #quantity {
    clear: both;
    margin: 10px;
    text-align: center;
}



.pageDescription {
  padding: 14px;
  font-size: 110%;
  font-style: italic;
  border: 1px solid #aa4444;
}

.smallDescription {
  padding: 14px;
  font-size: 80%;
  font-style: italic;
  border: 1px solid #aa4444;
}

/* Headers */
h1 {
    font-size: 130%;
    color: #aa4444;
}
h2 {
    background:#fff;
    color: #e32;
    font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
    font-size: 190%;
    margin: 0.3em 0;
    padding-top: 0.8em;
}
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;
}


/* Actions */
a.action {
    font-weight: bold;
    margin: 0 8px 8px 2px;
    color: #007FFF;
    font-style: italic;
    display: block;
    float: left;
}

/* No value */
span.empty {
    color: #bbbbbb;
    letter-spacing: 0.5em;
    font-style: italic;
}

div.caption {
    font-weight: bold;
    font-size: 120%;
    font-style: italic;
    text-align: center;
    margin:20px 0px;
}

/* Notices and Errors */
div.message {
    clear: both;
    font-size: 140%;
    font-weight: bold;
    text-align: center;
    padding: 10px 0px;
    color: #fff;
    background-color: #44aa44;
    border: 3px double #fff;
    margin:10px 0;
}

div.error {
    clear: both;
    font-size: 140%;
    font-weight: bold;
    text-align: center;
    padding: 10px 0px;
    color: #fff;
    background-color: #cc1313;
    border: 3px double #fff;
    margin:10px 0;
}



/* Layout */
#content{
    background: #fff;
    clear: both;
    color: #333;
    padding: 1px;
}
#footer {
    clear: both;
    padding: 6px 10px;
    text-align: right;
}


#welcome {
    padding: 10px;
    white-space:nowrap;
    text-align:right;
    width:410px;
    line-height:13px;
    float:right;
    padding:10px 10px 8px 0;
}

#copyright {
    text-align:center;
    white-space:nowrap;
    color:black;
    font-size:22px;
}


#UserLoginForm {
    margin: 0 auto;
    width: 300px;
}

#UserLoginForm div, #UserLoginForm label {
    text-align: center;
}

#UserLoginForm input {
    width: 150px;
    text-align: center;
}



/*              */
.menu { margin: 12px; white-space:nowrap;}
.menu a { padding:6px; color: #444444; text-decoration: underline; }
.current a { background-color: #eeeeee;  }
.menu a.current { color: #aa4444; background-color: #eeeeee; }
.menu a:hover { text-decoration:none; }



* {
    margin:0;
    padding:0;
    text-align: left;
}




/* Tables */
table {
    /*border:1px solid #ccc;*/
    clear: both;
    margin-bottom: 10px;
    width: 100%;
    border-collapse: collapse;
    font-size:110%;
}

table caption {
  padding: 12px;
  font-weight: bold;
  font-size: 120%;
  font-style: italic;
  text-align:center;
}

th {
    background: #e0e0e0;
    border: 1px solid #ccc;
    text-align: center;
    padding: 8px 12px;
    white-space: nowrap;
}
/*table tr td {
    border: 1px solid #ccc;
    padding: 4px;
    text-align: center;
    vertical-align: middle;
    background: #eee;
}*/
table tr.altrow td {
    background-color:#fff;
    padding: 4px;
}
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;
}

/* 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: 100%;
}
fieldset {
    border: 2px solid #ccc;
    padding: 16px 20px;
    background-color: #eeeeee;
    margin:4px 1px;
}
fieldset legend {
    font-weight: bold;
    font-style: italic;
    background-color: #eeeeee;
    border: 2px solid #ccc;
    border-bottom:none;
    padding:5px 10px;
}
fieldset fieldset {
    margin-top: 10px;
    margin-bottom: 0;
    padding: 12px 10px;
    clear: both;
    border-width: 1px;
}
fieldset fieldset legend {
    font-weight: normal;
    border-width: 1px;
}
/*fieldset fieldset div {
    clear: left;
    margin: 0 20px;
}
*/
form div {
    /*clear: both;*/
    padding: 4px;
    vertical-align: text-top;
}

#TaskCalendarForm div {
	padding: 0;

}

form div.input {
    color: #444;
}
form div.required {
    color: #333;
    font-weight: bold;
}
form div.submit {
    border: 0;
    clear: both;
    margin-top: 10px;
}
label {
    display: block;
    padding-right: 20px;
}
input, textarea {
    clear: both;
    padding: 1px;
    width: 100%;
    resize: none;
}
select {
    clear: both;
    vertical-align: text-bottom;
}
select[multiple=multiple] {
    width: 100%;
}
option {
    padding: 0 3px;
}
input[type=checkbox] {
    clear: left;
    float: left;
    margin: 0px 6px 7px 2px;
    width: auto;
}
div.radio input[type=checkbox] {
    float: none;
}
input[type=radio] {
    width:auto;
    margin: 0 3px 7px 0;
}
div.radio label {
    margin: 0 0 6px 6px;
    display: inline;
}
input[type=submit] {
    display: inline;
    padding: 2px 5px;
    width: auto;
    vertical-align: bottom;
}

/* Notices and Errors */
div.error-message {
    clear: both;
    color: #ff0000;
    font-weight: bold;
	border:2px dashed #FF0000;
	margin:4px;
	background-color:white;
	padding:8px;
}
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;
}

/*  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;
}

slabel[for=SearchStatus] {
    cursor:pointer;
    border-bottom: 1px dashed #333333;
    text-decoration: none;
	padding-right: 0;	
}
slabel[for=SearchStatus]:hover {    
	border-bottom: 1px dashed #EEEEEE;
}


#SearchStatusBox {		
    -position:absolute;
    -background-color: #EEEEEE;
    -border: 1px solid #CCCCCC;
    -z-index: 99;
    max-width:300px;
}

#SearchStatusBox div.checkbox {
	float:left;
}

#SearchOperationBox {      
    max-width:150px;
}

#SearchOperationBox div.checkbox {
    float:left;
}


#SearchCityBox {      
    max-width:430px;
}

#SearchCityBox div.checkbox {
    float:left;
}

.important {
    color:red;
    font-weight:bold;
    font-size:150%;
}

#existsClient div.input, div.float {
  float:left;
  margin-right:2em;
}


div.reminder {
  clear: both;
  width: 800px;
  padding: .33em 1em;
  margin: 1em 0;
  border: 2px dashed red;
}
div.reminder div.checkbox label {
  width: 200px;
}

