/**********************************************************
 **                   Main Styles                        **
 **********************************************************/
body {
	padding: 0;
	margin: 0;
 	font-family: 'Lucida Grande', Arial, Verdana, Arial, Sans-Serif;
 	font-size: 0.95em;
 	color: #5d5d5d;
	background: #fff url(/images/main/background.jpg) repeat-x;
}

span.access {
	margin-left: -999em;
	text-decoration: none;	
}

h2 {
    font-size: 1em;
}

a:link, a:visited, a:active {
	color:#fff;
}

a:hover { 
	color:#f1f1f1;
}

input, select {
	font-size: 1.0em;
	color: #666;
}

input.medium {
	width: 12em;
}

input.large {
	width: 20em;
}

img {
	border:0;
}
	
textarea {
	font-size: 1.0em;
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	margin: 2px 10px 2px 0;
	color: #666;
}

textarea.medium {
	width: 12em;
}

form {
	margin: 0;
	padding: 0;
}
form p, .group_body p {
  clear: left;
  margin: 0;
  padding: 5px 0 0 0;
}

form p label {
  float: left;
  width: 120px;
}

form p label.wide {
	width: 170px;
}

.optional_label {
	font-size: 0.8em;
}

.tooltip_header {
	font-size: 0.7em;
	vertical-align:middle;
	font-weight: bold;
	width: 160px;
	border: 1px solid #A5CFE9;
	padding: 3px;
	color: #4B7A98;
	background: #D5EBF9;
	filter: alpha(opacity=85); /*IE*/
	opacity: 0.85; /*FF*/
}

.tooltip_body {
	font-size: 0.7em;
	border-bottom: 1px solid #A5CFE9;
	border-left: 1px solid #A5CFE9;
	border-right: 1px solid #A5CFE9;
	width: 160px;
	padding: 3px;
	color: #1B4966;
	background: #FFFFFF;
	filter: alpha(opacity=85); /*IE*/
	opacity: 0.85; /*FF*/
}

.half_width {
	width: 50%;
	float: left;
	margin: 4px 0;
}

.two_third_width {
	width: 67%;
	float: left;
	margin: 4px 0;
}

.one_third_width {
	width: 33%;
	float: left;
	margin: 4px 0;	
}

.one_third_width p {
	display: block;
}

.smaller, .external_link {
	font-size: 0.8em;
}

#signup_helper {
	background-color: #69A5E0;
	color: #fff;
	height: 35px;
	margin: 5px 5px;
	padding: 5px;
}

#signup_helper a:link, #signup_helper a:visited, #signup_helper a:hover, #signup_helper a:active {
	color: #fff;
}

.demo {
	clear: left; 
	border: 2px #ff6600 solid; 
	margin: 0px 10px 10px 5px;
	padding: 5px 0px 5px 5px;
}

.demo a:link, .demo a:visited {
	color:#5d5d5d;
}

.demo a:hover { 
	color:#333;
}

#demo_introduction {
  text-align: center;
}

#demo_help {
  padding: 10px 10px 10px 10px;
}

b.hilite a {
	color: #EEFF99;
}

.warning {
	clear: left; 
	border: thick #ff6600 solid; 
	background: #fff url(/images/main/background.jpg) repeat-x fixed top;
	margin: 0px 10px 10px 5px;
	padding: 5px 0px 5px 5px;
	color:#5d5d5d;
	
}


#search_spinner {
	width: 20px;
	height: 20px;

}
/**********************************************************
 **               Application Styles                     **
 **********************************************************/
#recent_entries_panel {
	margin: 0 0 10px 0;
/*	border: 1px solid #000;*/
/*	display: inline;*/
}

.recent {
	font-size: 0.8em;
	font-weight: bold;
	padding: 4px 5px;
	width: 340px;
}

.favourite_list_even {
	font-weight: bold;
	padding: 4px 5px;
	background: #69A5E0;
}

.favourite_list_odd {
	font-weight: bold;
	padding: 4px 5px;
}

.favourite_list_actions {
	font-size: 0.8em;
	padding-left: 15px;
}

.scrollable_list {
	overflow-y: auto;
	height: 172px;
}

.scrollable_list_large {
	overflow-y: auto;
	width: 440px;
	height: 440px;
	padding: 1px;
}

.recent2 {
	font-weight: normal;
	font-size: 0.8em;
	padding: 4px 4px;
}

.time_entries_list {
	font-size: 0.8em;
	height: 43px;
	padding: 3px 5px;
}

.time_entry_list_actions, .time_entry_list_note {
	font-size: 0.8em;
	width: 200px;
}

.time_entry_list_task {
	font-size: 1.2em;
}

.time_entry_list_duration {
	font-size: 1.1em;
}

.time_entries_total {
	font-weight: bold;
	text-align: right;
	font-size: 1.0em;
	padding-right: 6px;
}
.right_side {
	text-align: right;
	float:right;
	clear:right;
	padding: 0 2px;
}

.left_side {
	float:left;
	clear: both;
}

.icons {
	display:inline;
}

.even {
	background: #69A5E0;

}

.even_alt {
	background: #57C748;
}

.disabled {
	color: #fff;
}

.button {
	background: transparent url(/images/buttons/white.png);
	border:none;
	width: 97px;
	height: 34px;
	float: left;
	color: #0049b4;
	text-decoration: dashed;
}

.ie_button {
	float: left;
}

.ie_button_small {
	float: left;
}

.button_disabled {
	background: transparent url(/images/buttons/white.png);
	border:none;
	width: 97px;
	height: 34px;
	float: left;
	color: #999;
}

.ie_button_disabled {
	float: left;
	font-size: 0.8em;
}

.ie_button_small_disabled {
	float: left;
	font-size: 0.8em;
}

.small_button {
	font-size: 0.8em;
	background: transparent url(/images/buttons/white_sm.png);
	border:none;
	width: 54px;
	height: 18px;
	float: left;
	color: #0049b4;
}

.small_button_disabled {
	font-size: 0.8em;
	background: transparent url(/images/buttons/white_sm.png);
	border:none;
	width: 54px;
	height: 18px;
	float: left;
	color: #999;
	
}

.errorMessage {
	color: #ffcc99;
}

.errorMessage input {
	font-size: 1.2em;
}

.client_report {
	font-size: 0.8em;
}

.calendar_panel {
	vertical-align: top;
}

.footer, .footer a, .footer a:visited {
	text-align: center;
	font-size: 0.8em;
	margin: 3px;
	padding: 2px;
	color: #999;
}

.footer a:hover {
	color: #666;
}
.hint {
	font-size: 0.7em;
}

.help_text {
	font-size: 0.9em;
	height: 50px;
	padding: 5px 5px;
}
.fancy_task {
		display: inline;
}

.fancy_project {
    font-size: 0.8em;
}

li.task_autocomplete {
    font-size: 0.8em;
	color: black;
}

li.task_autocomplete div.auto_subtext {
    font-size: 0.8em;
	color: #666666;
}

.leftcol {
	clear: both;
	display: block;
}

.small_link {
	font-size: 0.8em;
}

p.panel_heading  {
	padding:4px 2px 2px 2px;
	margin:0px;
	font-weight:bold;
	font-size: 0.9em;
	background-color: #b3b3b3;
}

/**********************************************************
 **                      Groups                          **
 **********************************************************/
.group {
	margin: 0px 5px 10px 5px;
	float: left;
	background: #3c8cda;
	border: 1px solid #3185d8;
	color: #fff;
}

.groupalt {
	margin: 0px 5px 10px 5px;
	float: left;
	color: #fff;
	border: 1px solid #15b100;
	background: #20b40b;
}

.groupwhite {
	margin: 0px 5px 10px 5px;
	float: left;
	border: 5px solid #3c8cda;
	
}

.group .group_background {
	margin: 5px;
	background: #3c8cda url(/images/main/group-background.gif) repeat-x top;
	padding: 5px;
}

.groupalt .group_background {
	margin: 5px;
	background: #20b40b url(/images/main/group-background-alt.gif) repeat-x;
	padding: 5px;
}

.groupwhite .group_background {
	margin: 5px;
	padding: 5px;
}

.group_body {
	margin: 0;
	padding: 0;
}

.group_footer {
	height: 1px;
	clear: both;
}
.standard {
	width: 965px;
	clear: left;
}

.medium_panel_double_row, .medium_panel {
	width: 475px;
	float: left;
}

.large_panel, .large_panel_double_row {
	width: 558px;
	float: left;
}
.small_panel_double_row, .small_panel {
	width: 393px;
	float: left;
}

.variable_panel {
	width: 90%;
	float: left;
}

.variable_panel .group_body {
	height: 90%;
	padding: 0;
	margin: 0;
}
.group fieldset {
	border: none;
	margin: 0;
	padding: 0;
}

.medium_panel .group_body, .small_panel .group_body, .large_panel .group_body {
	height: 230px;	
	margin: 0;
	padding: 0;
}

#watch_list .medium_panel .group_body {
	overflow: auto;
}

.large_panel_double_row .group_body, .medium_panel_double_row .group_body  {
	height: 474px !important;
	height: 482px;
	margin: 0;
	padding: 0;
}

#watch_list .large_panel_double_row .group_body, .medium_panel_double_row .group_body  {
	height: 518px !important;
	height: 513px;
	margin: 0;
	padding: 0;
}

#watch_list .medium_panel_double_row .group_body  {
	overflow: auto;
}

#login .medium_panel {
	height: 300px;
}

.group h1 {
	font-size: 1.2em;
	font-weight: bold;
	margin: 0 0 4px 0;
	padding: 0;
	color: #0049b4;
}

.groupwhite H1 {
	margin: 0 0 4px 0;
	padding: 0;	
	color: #0049B4;
}
.groupalt H1 {
	font-size: 1.2em;
	font-weight: bold;
	margin: 0 0 4px 0;
	padding: 0;
	color: #157c00;
}

.group_toggle {
	font-size: 0.8em;
}
* html .group .group_background legend {
	margin: 0 0 3px -18px;
}

.groupwhite a:link, .groupwhite a:visited, .groupwhite a:active {
	color:#5d5d5d;
}


.groupwhite a:hover { 
	color:#333;
}

#new_panel .group_body, #calendar_panel .group_body, #recent_panel .group_body, #use_favourite_panel .group_body {
	height: 250px;
}


/**********************************************************
 **                    Panel Styles                      **
 **********************************************************/

#report_list_panel .large_panel .group_body {
	height: 180px;	
	margin: 0;
	padding: 0;
}

#report_what_to_do_panel .small_panel .group_body {
	height: 180px;	
	margin: 0;
	padding: 0;
}

#calendar_panel .small_link {
	padding: 2px 0;
}

#calendar_panel .column1 {
	float: left;
	display: block;
	width: 220px;
	margin: 0 5px 0 0;
	padding: 0;
}

#calendar_panel .column2 {
	float: left;
	display: block;
	width: 302px;
	padding: 0 5px;
}

/* Give the calendar panel a little bit more vertical space so that months with 31 days fit into it
more comfortably. Also extend its neighboring panel so that they still line-up with each other. */
#calendar_panel .group_body, #recent_panel .group_body {
  height: 240px;
}

#navigator_panel .button, #navigator_panel .ie_button {
	float: right;
}

#navigator_panel input, #navigator_panel select {
	margin: 0;
	padding: 0;
}

#navigator_panel #search_list {
	clear: both;
}

#navigator_panel #project_list {
	display: inline;
}

#filter_panel {
	margin: 5px 0;
}
#filter_panel table, #filter_panel td {
	border: 0px;
}
#filter_panel .button, #filter_panel .ie_button {
	float: right;
	margin: 5px 10px;
}

#report_filter_panel .button, #report_filter_panel .ie_button {
	float: right;
	margin: 5px 10px;	
}

#report_buttons .button, #report_buttons .ie_button {
	margin: 5px 10px;
}

#preference_panel p {
  clear: left;
  margin: 0;
  padding: 3px 0 0 0;
}

#preference_panel p label {
  float: left;
  width: 250px;
  font-size: 1em;
}

#watch_list table {
	margin-left: 1px;
	margin-top: 1px;
}

#approve_form #client_name {
	width: 320px;
}

#approve_form #project_name {
	width: 230px;
}

/**********************************************************
 **                      Forms                           **
 **********************************************************/
.group_background label {
	margin: 0;
	padding: 0;
	font-size: 1.2em;
}

.group .form p {
	clear: left;
	margin: 0;
	padding: 5px 0 8px 0;
	padding-left: 200px; /*width of left column containing the label elements*/
	height: 1%;
}

.group .form label {
	font-weight: bold;
	float: left;
	margin-left: -200px; /*width of left column*/
	width: 200px;
}

.group .form textarea {
	width: 250px;
	height: 150px;
}

* html .threepxfix {
	margin-left: 3px;
}

.group .form input [type="text"] {
	width: 180px;
}

/**********************************************************
 **              Available/Selected panel                **
 **********************************************************/

.select_panel {
	width: 50%;
	float:left;
}

.select_heading {
	font-size: 1.2em;
	padding-bottom: 2px;
}
.select_available select, .select_included select {
	width: 100%;
	padding: 0px; 
	margin: 0 0 5px 0;
}
.select_included, .select_available {
	width: 200px;
  float: left;
}

.select_buttons {
    float: left;
    width: 54px;
	margin: 0 3px;
}

.select_buttons input {
	padding: 0 0 1px 0; 
	margin: 0px;
	font-size: 0.8em;
}

.my_reports_true, .company_reports_true {
	font-weight: bold;
	color: #EEFF99 !important;
}

/* Note that the second section needs to match the constants in the ReportParams constants of WHAT_TYPE and WHO_TYPE */
.clients_Client, .projects_Project, .tasks_Task, .users_User, .groups_Group {
	font-weight: bold;
	color: #EEFF99 !important;
}

/** Alter the groups admin page slightly so everything fits in. */

#group .select_available {
    width: 160px;
}

#group .select_included {
    width: 160px;
}

#group .select_panel {
    width: auto;
}


#new_group_toggle_id {
    height: 270px;
}

#group_what_toggle_id {
    height: 270px;
}

/**********************************************************
 **                      Tables                          **
 **********************************************************/
table {
	border-collapse: collapse;
	border: 1px solid #666;
	width: 100%;
}

table.invisible {
	border: 0px solid #666;
	padding: 0px;
	
}

td.invisible {
	border: 0px solid #666;	
	padding: 0px;
}
caption {
	font-size: 19px;
	letter-spacing: 0.5px; text-align: left;
	height: 34px;
	color: #d7222b;
	padding-top: 5px;;
	text-align: left;
}

thead th,tfoot th {
/*	background: #15b100;*/
	height: 34px;
/*	color: #fff;*/
	font-weight: bold;
	padding: 0px 5px;
	margin: 20px 0px 0px;
	text-align: left;
	border-right: 1px solid #666;
}

tbody tr.even {
	background: #69A5E0;
}

tbody tr.odd {

}

tbody td {
	padding: 2px 4px;
	border-top: 1px solid #666;
	border-right: 1px solid #666;
	text-align: left;
}

/**********************************************************
 **                      Admin Table                     **
 **********************************************************/
table.admin_table {
	border: 1px solid #129000;
	width: 100%;
}

table.admin_table thead th,tfoot th {
	height: 34px;
	font-weight: bold;
	padding: 0px 5px;
	margin: 20px 0px 0px;
	text-align: left;
	border: none;
}

table.admin_table tbody tr.even_alt {
	background: #27C80B;
}

table.admin_table tbody tr.odd {

}

table.admin_table tbody tr.client {
	background: #157C00;
}

table.admin_table tbody tr.project {
	background: #229000;
}

table.admin_table tbody td {
	padding: 2px 4px;
	border-top: none;
	border-right: 1px solid #129000;
	text-align: left;
}


/**********************************************************
 **                     Errors                           **
 **********************************************************/

.fieldWithErrors {
/*  padding: 2px;
  background-color: red;
  display: table;*/
}

#errorExplanation {
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 10px;
  margin-top: 5px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -5px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
  margin-top: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
  color: #333;
}

#first_alert {
	color: #FFCC33;
	font-size: 0.8em;
}

/**********************************************************
 **                  Account Info                        **
 **********************************************************/
#account_info
{
	font-size: 0.8em;
	text-align: center;
  float: right;
	height: 27px;
	margin: 0px 5px 0 0;
}

#account_info ul
{
  list-style: none;
  padding: 0;
  margin: 0; 
}

#account_info li
{
	color: #666;
	margin: 0;
	float: left;
	padding: 3px 4px 3px 4px;
}

#account_info a:active, #account_info a:visited, #account_info a:link, #poup a:active, #popup a:visited, #popup a:link {
	color: #666;
}

#account_info a:hover, #popup a:hover {
	color: #333;
}

#account_info form {
	padding: 0;
	margin: 0;
}

#account_info select {
	margin: 0;
}
/**********************************************************
 **                Navigation Menu                       **
 **********************************************************/
#nav-menu-left
{
	height: 27px;
  float: left;
	
}

#nav-menu-right
{
	height: 27px;
  float: left;
}

#nav-menu
{
	font-size: 0.9em;
/*	font-weight: bold;*/
	text-align: center;
  float: left;
  margin: 0 0 10px 4px; 
	height: 27px;
	width: 600px;
	padding: 0;
}

#nav-menu ul
{
  list-style: none;
	margin:0;
	padding:0;
}

#nav-menu li
{
	color: #666;
  float: left;
	padding: 3px 8px; /*  See height not above */
	border-bottom: 2px solid #76aee5;
	height: 18px;
}


#nav-menu a {
	color: #666;
	text-decoration: none;
	border-bottom: none;
}

#nav-menu .selected a {
	color: #0049b4;
	text-decoration: none;
}

#nav-menu a:hover {
	color: #333;
}

#nav-menu li.selected {
/*	background: #76aee5 url(/images/main/group-background.png) repeat-x;*/
	color: #0049b4;
	font-weight: bold;
	border-bottom: 0px;
	border-left: 2px solid #76aee5;
	border-top: 2px solid #76aee5;
	border-right: 2px solid #76aee5;
	height: 18px;
	
}

#subnav-menu
{
	font-size: 0.9em;
	text-align: center;
  float: left;
  margin: 0 0 10px 4px; 
	height: 27px;
	width: 600px;
	padding: 0;
}

#subnav-menu ul
{
  list-style: none;
	margin:0;
	padding:0;
}

#subnav-menu li
{
	color: #666;
  float: left;
	padding: 3px 8px; /*  See height not above */
	height: 18px;
}
#subnav-menu a {
	color: #666;
	text-decoration: none;
	border-bottom: none;
}

#subnav-menu .selected a {
	color: #0049b4;
	text-decoration: none;
}

#subnav-menu a:hover {
	color: #333;
}

#subnav-menu li.selected {
/*	background: #76aee5 url(/images/main/group-background.png) repeat-x;*/
	color: #0049b4;
	font-weight: bold;
	height: 18px;
	
}
/**********************************************************
 **                Horizontal Links                      **
 **********************************************************/
.horiz-links
{
}

.horiz-links ul
{
    list-style: none;
    padding: 0;
}

.horiz-links li, .horiz-links a
{
    float: left;
	margin: 10px 10px 10px 0px;
}

/**********************************************************
 **                      Importer	                     **
 **********************************************************/

.record_new {
	background-color: #009900;
}

.record_update {
	background-color: #000099;
}

.record_error {
	background-color: #FF0000;
}

.record_exists {
	background-color: #69A5E0;
}

.file_analysis {
	float: left;
	margin: 1px 20px 10px 1px;
}

.file_analysis p {
	margin: 2px 0 0 0;
}

.data_analysis {
	float: left;
	margin: 1px 20px 1px 1px;
}

.data_analysis p {
	margin: 2px 0 0 0;
}

.file_analysis img {
	float: left;
	padding: 2px 5px 2px 5px;
}

.data_analysis img {
	float: left;
	padding: 2px 5px 2px 15px;
}

#import_form {
	float: right;
	margin: 1px 20px 1px 1px;
	width: 400px;
}

#import_form p {
	margin: 2px 0 0 0;
}

#import_buttons {
	width: 400px;
}

#import_buttons p {
	width: 400px;
}

#analysis_report {
	height: 300px;
	overflow: auto;
	clear: both;
	font-size: 0.8em;
}

div.fileinputs {
	position: relative;
	width: 320px;
	float: none;
}

div.fakefile {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1;
}

div.fakefile input.file_text {
	width: 200px;
}

div.fakefile input.button {
	float: none;
	text-align: center;
	padding: 7px 0 0 0;
	height: 27px;
}

div.fileinputs input.file {
	position: relative;
	text-align: right;
	-moz-opacity:0 ;
	filter:alpha(opacity: 0);
	opacity: 0;
	z-index: 2;
	width: 290px;
	height: 30px;
	margin-bottom: 10px;
}

#feedback_text {
    width: 500px;
}

/**********************************************************
 **                      Fast Add Panel                  **
 **********************************************************/

div.fast_auto_complete {
	width: 350px;
	background: #ffffcc;
}

div.fast_auto_complete ul {
	border: 1px solid #888;
	margin: 0;
	padding: 0;
	width: 100%;
	list-style-type: none;
}

div.fast_auto_complete ul li {
	margin: 0;
	padding: 3px;
	color: #333333;
}

div.fast_auto_complete ul li.selected {
	background-color: #333333;
	color: #ffffcc;
}

div.fast_auto_complete ul strong.highlight {
	color: #cccc99;
	margin: 0;
	padding: 0;
}

/** Home Page **/

#home_panels .group {
	height: 284px;
}

#why_signup .bullet_points {
	float: left; 
	width: 50%;
}

#why_signup h1 {
	margin-bottom: 35px;
	margin-top: 10px;
}

#why_signup .groupwhite {
	background: url('/images/starburst.gif') no-repeat top right;
}

#company_count {
  font-size: 3em;
}

/**********************************************************
 **                      Task Browsing                   **
 **********************************************************/

#task_tree {
	margin-left: 120px;
	position: absolute;
	height: 150px;
	width: 250px;
	z-index: 5;
	background-color: #FFF;
	color: #000;
	overflow-y: scroll;
	border: 1px solid #000;
	font-size: 0.7em;
}

#task_tree a {
	color: #333;
}

#new_panel #time_entry_when_for_natural, #new_panel #task_name, #new_panel #time_entry_note {
	width: 220px;
}

.marketing-images {
    text-align: center;
}

#browse_button_right {
	float: right;
	position: relative;
	right: 110px;	
}


/**********************************************************
 **                      Report Export                   **
 **********************************************************/

.supporting_text {
	float: left;
	line-height: 40px;
}

.date_range_type {
	float: left;
}

#use_report {
    clear: left;
}

/**********************************************************
**             Pop Up Dialogs  	   		                     **
**********************************************************/

.black_overlay{
    
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index:1001;
    -moz-opacity: 0.7;
    opacity:.70;
    filter: alpha(opacity=70);
}
.white_content {
    
    position: fixed;
    top: 10%;
    left: 25%;
    width: 50%;
    height: 80%;
    padding: 16px;
    border: 2px solid #3185d8;
    background-color: white;
    z-index:1002;
    overflow: auto;
}

#popup .button {
	text-decoration: none;
	border-bottom: none;
	}