
	
.visualize { top: 10px; }


h2 { font-size: 18px; color: #222; font-weight: bold; padding-bottom: .25em; margin-bottom: 1em; border-bottom: 1px dotted #CCC; }
h3 { font-size: 14px; color: #444; font-weight: bold; padding-bottom: .5em; margin-bottom: 1.35em; border-bottom: 1px dotted #CCC; }




/* -------------------------------------------------------------- 
   Tickets / Tags
-------------------------------------------------------------- */
.ticket, .tag {
	padding: 3px 4px;
	text-align: right;
	color: #fff;
	font-size: 10px;
	display: inline;
	white-space: nowrap;
	width: 60px;
	
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.ticket.open, .tag.orange { background-color: #F90; }
.ticket.closed, .tag.grey { background-color: #999; }
.ticket.responded, .tag.black { background-color: #222; }



/* -------------------------------------------------------------- 
   Dashboard Tables
-------------------------------------------------------------- */
.support_table .full { width: 70%; font-size: 11px; }
.support_table .who { width: 30%; text-align: right; font-size: 10px; color: #999; }

.info_table .value { width: 25%; font-size: 18px; font-weight: bold; color: #222; white-space: nowrap; }

.inbox_table .avatar { width: 60px; }
.inbox_table .full { width: 80%; font-size: 11px; }
.inbox_table .who { width: 20%;  text-align: right; font-size: 10px; color: #999; }

img.avatar_img
{
	width: 54px; 
	padding: 2px;
	border: 1px solid #CCC; 
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px; 
	border-radius: 4px; 

}

#welcome { margin-top: 1em; }
	#welcome table { margin-top: 2.5em; }

	
	


/* -------------------------------------------------------------- 
   Reports Page
-------------------------------------------------------------- */	
#big_stats 
{ 
	/* background: #f3f3f3;  */
	width: 100%; 
	padding: 0; 
	float: left; 
	margin-bottom: 1em;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px; 	
}

	*+html #big_stats { padding-bottom: 2em; }

.stat
{
	width: 29%;
	height: 90px;
	padding: 0 2%;
	float: left;
	position: relative;
	border-left: 1px dotted #CCC;
}

	*+html .stat { height: 100px; }

.stat:first-child { border: none; }

.stat h4
{
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	color: #999;
	margin-bottom: 1.5em;
}

.stat .value
{
	font-size: 56px;
	font-weight: bold;
	color: #222;
	line-height: 1em;
}

.stat .view_all
{
	font-size: 11px;
	position: absolute;
	right: 20px;
	bottom: 12px;
}

.report_chart { margin-top: 2em; }
.reports_table .value { width: 100px; text-align: right; }
	.reports_table .value span { background: #F90; font-size: 11px; font-weight: bold; color: #FFF; width: 40px; text-align: center;  padding: 3px 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; }
	
.reports_table td { padding: 5px; }

.ui-autocomplete {
	max-height: 200px;
	overflow-y: auto;
	/* prevent horizontal scrollbar */
	overflow-x: hidden;
	/* add padding to account for vertical scrollbar */
	padding-right: 20px;
}
/* IE 6 doesn't support max-height
	* we use height instead, but this forces the menu to always be this tall
	*/
* html .ui-autocomplete {
	height: 200px;
}

#search input.ui-autocomplete-loading {
	background-image: url(../images/loader.gif); 
	background-position: 86% center; background-repeat: no-repeat; }



.clear {
	clear: both;
}

/*	Calendrical Plugin	*/
.calendricalDatePopup {
  background: white;
  border: solid 1px #999999;
  padding: 2px;
  text-align: center;
  width: 160px; }
  .calendricalDatePopup table {
    border-collapse: collapse;
    width: 160px; }
    .calendricalDatePopup table .monthCell {
      padding: 2px 0; }
      .calendricalDatePopup table .monthCell a {
        display: block;
        float: left;
        line-height: 20px; }
      .calendricalDatePopup table .monthCell .prevMonth, .calendricalDatePopup table .monthCell .nextMonth {
        width: 24px; }
      .calendricalDatePopup table .monthCell .monthName {
        width: 110px; }
    .calendricalDatePopup table a {
      text-decoration: none; }
    .calendricalDatePopup table th {
      text-align: center; }
    .calendricalDatePopup table td {
      text-align: center;
      font-size: 12px;
      padding: 0; }
      .calendricalDatePopup table td a {
        display: block;
        color: black;
        padding: 2px 3px; }
        .calendricalDatePopup table td a:hover {
          background: #ccccff;
          border: none;
          padding: 2px 3px; }
      .calendricalDatePopup table td.today a {
        background: #eeeebb; }
      .calendricalDatePopup table td.selected a {
        background: #ccccff; }
      .calendricalDatePopup table td.today_selected a {
        background: #eeeebb;
        border: solid 1px #dddd66;
        padding: 1px 2px; }
      .calendricalDatePopup table td.nonMonth a {
        color: #999999; }

.calendricalTimePopup {
  background: white;
  border: solid 1px #999999;
  width: 110px;
  height: 130px;
  overflow: auto;
  z-index: 5;
}
  .calendricalTimePopup ul {
    margin: 0;
    padding: 0; }
    .calendricalTimePopup ul li {
      list-style: none;
      margin: 0;
	  padding: 0 !important;
	  background-image: none !important;
	}
      .calendricalTimePopup ul li a, .calendricalTimePopup ul li a:visited {
        text-indent: 10px;
        padding: 4px;
        display: block;
        color: black;
        text-decoration: none; }
      .calendricalTimePopup ul li a:hover, .calendricalTimePopup ul li.selected a {
        background: #ccccff; }

.calendricalEndTimePopup {
  width: 160px; }



/* =Contacts
----------------------------------------------- */
.contact_card {
	width: 45%;
	float: left;
	margin-bottom: 2em;	
}

.contact_card:nth-child(odd) {
	clear: both;
}

.contact_card:nth-child(even) {
	width: 45%;
	margin-left: 9%;
}

.contact_card table td {
	vertical-align: top;
}

.contact_card table .td_info ul {
	 padding: 0; margin: 0;
}

.contact_card li { list-style-type: none;  }

.contact_card .td_avatar { width: 60px; }
	.contact_card .td_avatar img { width: 40px; }

.contact_card .contact_name {
	font-size: 18px;
	font-weight: bold;
}

.contact_tags span {
	background: #ddd; 
	font-size: 11px;
	color: #444;
	padding: 1px 8px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.contact_card .contact_company, .contact_card .contact_details, .contact_card .contact_details a { font-size: 12px; color: #777; }




/* =Contact Profile
----------------------------------------------- */
#contact_profile .contact_name { margin-bottom: .35em; }
#contact_profile .contact_company { font-size: 16px; }

#contact_profile table { width: 100%; }
#contact_profile td { vertical-align: top; }
#contact_profile .td_avatar { width: 70px; }
	#contact_profile .td_avatar img { width: 40px; padding: 2px; border: 1px solid #CCC; }
	

#contact_profile .td_info p { margin-bottom: .75em; }

#contact_note_form textarea {
	width: 97%;
	height: 75px;
	display: block;
	margin-bottom: 1em;
}

#contact_note_form h3 { font-size: 18px; margin-bottom: .65em; }

#contact_profile .contact_tags span {
	background: #ddd; 
	font-size: 11px;
	color: #444;
	padding: 1px 8px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

/* =Misc
----------------------------------------------- */
.avatar { padding: 2px; border: 1px solid #CCC; }


.note { 
	background: url(../images/page_text.png) no-repeat 0 0; 
	padding-bottom: 1em; 
	padding-left: 50px;
	margin-bottom: 2em; 
	border-bottom: 1px dotted #CCC; 
}

.note:last-child { border-bottom: none; }
.note .heading { margin-bottom: .65em; }
.note .note_posted { font-size: 16px; }

.note .regarding {
	color: #777;
}
.note .regarding a {
	color: #666;
}

.important-note {
	background: url(../images/star-icon.png) no-repeat 0 0;
}

/* Misc classes and elements
-------------------------------------------------------------- */

/* Use a .box to create a padded box inside a column.  */ 
.box { 
  padding: 1.5em; 
  margin-bottom: 1.5em; 
  background: #EBEBEB; 
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.align-right { float: right; }
.nowrap { white-space: nowrap; }


.text-bubble { 
	color: #444;
	background: #F90;
	min-width: 40px; 
	text-align: center;  
	padding: 0px 6px; 
	-moz-border-radius: 6px; 
	-webkit-border-radius: 6px; 
	border-radius: 6px; 
}


table tbody tr td.good, table.data tr.even td.good, table.dataTable tr.odd td.sorting_1.good, td.good, li.good, span.good, div.good, .text-bubble.good { background-color: #9ff4ab; }
table tbody tr td.bad, table.data tr.even td.bad, table.dataTable tr.odd td.sorting_1.bad, td.bad, li.bad, span.bad, div.bad, .text-bubble.bad { background-color: #fe9288; }
table tbody tr td.lack-of-hours, table.data tr.even td.lack-of-hours, table.dataTable tr.odd td.sorting_1.lack-of-hours,
table tbody tr td.attention, table.data tr.even td.attention, table.dataTable tr.odd td.sorting_1.attention, li.attention, span.attention, div.attention, .text-bubble.attention { background-color: #feeaa5; }

.archived, .archived a, .out-of-business {
	font-size: smaller;
	color: #888;
}
table.data tr.archived td, table.data tr.archived td.attention, table.data tr td.group.archived, table.data tr td.out-of-business {
	background-color: #eeeeee;
	padding: 3px 10px;
}









/**** jquery.ganntview.css *****/

/*
jQuery.ganttView v.0.8.0
Copyright (c) 2010 JC Grubbs - jc.grubbs@devmynd.com
MIT License Applies
*/

div.ganttview-hzheader-month,
div.ganttview-hzheader-day,
div.ganttview-vtheader,
div.ganttview-vtheader-item-name,
div.ganttview-vtheader-series,
div.ganttview-grid,
div.ganttview-grid-row-cell {
	float: left;
}

div.ganttview-hzheader-month,
div.ganttview-hzheader-day {
	text-align: center;
	overflow: hidden;
}

div.ganttview-grid-row-cell.last,
div.ganttview-hzheader-day.last,
div.ganttview-hzheader-month.last {
	border-right: none;
}

div.ganttview {
	border: 1px solid #CCC;
}


/* Horizontal Header */

div.ganttview-hzheader-month {
	width: 60px;
	height: 20px;
	border-right: 1px solid #d0d0d0;
	line-height: 18px;
}

div.ganttview-hzheader-day {
	width: 21px;
	height: 20px;
	border-right: 1px solid #f0f0f0;
	border-top: 1px solid #d0d0d0;
	line-height: 20px;
	color: #777;
}


/* Vertical Header */

div.ganttview-vtheader {
	margin-top: 41px;
	width: 240px;
	overflow: hidden;
	background-color: #fff;
}

div.ganttview-vtheader-item {
	overflow: hidden;
	color: #666;
}

div.ganttview-vtheader-item-name {
	width: 120px;
	padding-left: 5px;
	border-top: 1px solid #d0d0d0;
	line-height: 15px;
}

div.ganttview-vtheader-series-name {
	width: 110px;
	height: 17px;
	border-top: 1px solid #d0d0d0;
	line-height: 15px;
	padding-left: 5px;
	font-size: 0.85em;
}


/* Slider */

div.ganttview-slide-container {
	overflow: auto;
	border-left: 1px solid #999;
}


/* Grid */
div.ganttview-grid {
	clear: both;
}

div.ganttview-grid-row-cell {
	width: 21px;
	height: 17px;
	border-right: 1px solid #f0f0f0;
	border-top: 1px solid #f0f0f0;
}

div.ganttview-grid-row-cell.ganttview-weekend {
	background-color: #fafafa;
}


/* Blocks */

div.ganttview-blocks {
	margin-top: 42px;
}

div.ganttview-block-container {
	height: 18px;
	padding-top: 0px;
	position: relative;
}

div.ganttview-block {
	position: absolute;
	height: 13px;
	background-color: #E5ECF9;
	border: 1px solid #c0c0c0;
	border-radius: 3px;
	margin-top: 1px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	overflow: hidden;
}

div.ganttview-block-text {
	position: absolute;
	height: 12px;
	font-size: 0.8em;
	color: #999;
	padding: 2px 3px;
	overflow: hidden;
	top: -2px;
	left: 3px;
}


/* Adjustments for jQuery UI Styling */

div.ganttview-block div.ui-resizable-handle.ui-resizable-s {
	bottom: -0;
}



/* ------------------------------------------------------------------------ */


.msgAlert
{
	width: 400px;
	position: fixed;
	left: 50%;
	top: 50px;
	margin-left: -200px;
	z-index: 100;
	
	border: 3px solid rgba(0,0,0,0);
	
	border: 3px solid #bbb\0/;
	*border: 3px solid #bbb;
	
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
		
	-webkit-box-shadow:0 0 12px rgba(0,0,0,0.4);
	-moz-box-shadow:0 0 12px rgba(0,0,0,0.4);
	box-shadow:0 0 12px rgba(0,0,0,0.4);
	
	
}

	.msgAlert_header
	{		
		background: #BBB url(../images/mba/msgAlert_header.png) repeat-x 0 0;
		height: 39px;
		line-height: 39px;
		margin: 0 0 1.5em;
		border: 1px solid #999;
		position: relative;
		
		-webkit-border-radius:4px;
		-moz-border-radius:4px;
		border-radius:4px;
	}
	
		.msgAlert_header h4
		{
			font-size: 14px;
			font-weight: bold;
			line-height: 2.75em;
			color: #FFF;
			text-shadow: 1px 1px 2px rgba(0,0,0,.4);
			position: relative;
			left: 10px;	
		}
	
		.msgAlert_header .msgAlert_close
		{
			background: url(../images/mba/msgAlert_close.png) no-repeat 0 0;
			width: 20px;
			height: 20px;
			line-height: 800px;
			display: block;
			position: absolute;
			right: 10px;
			top: 10px;
			overflow: hidden;
		}
	
			.msgAlert_header .msgAlert_close:hover { background-position: 0 -20px; }

	.msgAlert_popup 
	{
		color: #444;
		display:block;
		padding: 10px 10px 20px;
		background: #fff;-webkit-border-top-left-radius: 4px;
		
		-webkit-border-top-right-radius: 4px;
		-moz-border-radius-topleft: 4px;
		-moz-border-radius-topright: 4px;
		border-top-left-radius: 4px;
		border-top-right-radius: 4px;
	}
	
		.msgAlert_popup p:last-child { margin-bottom: 0; }

	.msgAlert_footer
	{
		background: #EEE;
		width: auto;
		text-align: right;
		padding: 10px 10px;
		
		-webkit-border-bottom-right-radius: 4px;
		-webkit-border-bottom-left-radius: 4px;
		-moz-border-radius-bottomright: 4px;
		-moz-border-radius-bottomleft: 4px;
		border-bottom-right-radius: 4px;
		border-bottom-left-radius: 4px;
	}
	
		.msgAlert_footer button { margin: 0 .35em; }


	.msgAlert_overlay 
	{
		position: fixed;
		top: 0px;
		left: 0px;
		height:100%;
		width:100%;
		background-color: #000;
		z-index: 99;
		filter: alpha(opacity=15);
		filter: progid:DXImageTransform.Microsoft.Alpha(opacity=15);
		-moz-opacity: 0.15;
		opacity:0.15;
	}
	
	.msgAlert_content { color: #555; min-height: 50px; margin-top: .75em; }
	
	.msgAlert_content h3 { margin-bottom: 1em; }
	
	.msgAlert_content ul
	{
		list-style-type: square;
		padding: 0;
		margin: 0 0 0 24px;
	}
	
	
.warning .msgAlert_content
, .info .msgAlert_content
, .success .msgAlert_content
, .error .msgAlert_content
{
	background-repeat: no-repeat;
	background-position: 16px 2px;
	padding-left: 85px;
}

.info .msgAlert_content { background-image: url(../images/mba/msgAlert_info.png); }
.success .msgAlert_content { background-image: url(../images/mba/msgAlert_success.png); }
.warning .msgAlert_content { background-image: url(../images/mba/msgAlert_warning.png); }
.error .msgAlert_content { background-image: url(../images/mba/msgAlert_error.png); }

.msgAlert.success .msgAlert_header { background-color: #7B9534; border-color: #627036; }
.msgAlert.warning .msgAlert_header { background-color: #E6BA01; border-color: #AC9207; }
.msgAlert.error .msgAlert_header { background-color: #AF4434; border-color: #782E25; }
.msgAlert.info .msgAlert_header { background-color: #437ECC; border-color: #224F91; }

.msgAlert_footer.left { text-align: left; }
.msgAlert_footer.middle { text-align: center; }
.msgAlert_footer.right { text-align: right; }

.msgAlert_footer button
{
	background-image: url(../images/mba/msgAlert_button_bg.png); 
	background-color: #DDD; 
	background-repeat: repeat-x;
	color: #666;
	font-weight: bold;
	display: inline-block;	
	text-decoration: none;
	border-color: #BBB; 
	border-width: 1px;
	border-style: solid;
	padding: 0 15px 4px;
	*padding: 0 5px 4px;
	margin: 0 3px;

	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	
	-moz-box-shadow: 1px 1px 1px rgba(0,0,0,.1);
	-webkit-box-shadow: 1px 1px 1px rgba(0,0,0,.1);
	box-shadow: 1px 1px 1px rgba(0,0,0,.1);
	
	cursor: pointer;
	position: relative;
}

	.msgAlert_footer button:hover { background-position: 0 -100px; }
	
	/* Active/Click state */
	.msgAlert_footer button:active { top: 1px; }


/* Sizes */
.msgAlert_footer button { background-position: 0 0; font-size: 10px; height: 26px; line-height: 23px; }





.msgBar
{
	background: #BBB url(../images/mba/msgBar_header.png) repeat-x 0 0;
	
	border: 1px solid #999;
	font-size: 13px;
	color: #FFF;
	display:block;	
	padding: 10px 30px 10px 15px;
	margin-bottom: 1.5em;
	position:relative;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}

	.msgBar .icon  
	{	
		background-repeat: no-repeat;
		background-position:  0 0;
		width: 24px;
		height: 24px;
		position: absolute;
		left:11px;
		top: 10px;
		font-weight:bold;
		font-size:10px;
		padding:5px;
	}
	
	.msgBar.success .icon { background-image: url(../images/mba/msgBar_success.png); }
	.msgBar.info .icon { background-image: url(../images/mba/msgBar_info.png); }
	.msgBar.warning .icon { background-image: url(../images/mba/msgBar_warning.png); }
	.msgBar.error .icon { background-image: url(../images/mba/msgBar_error.png); }
	
	.msgBar .close {
		font-size: 11px;
		font-weight: bold;
		position: absolute;
		right: 15px;
		top: 9px;
		cursor: pointer;
	}

	.msgBar.warning { background-color: #E6BA01; border-color: #AC9207; padding-left: 45px; }
	.msgBar.error { background-color: #AF4434; border-color: #782E25; padding-left: 45px; }
	.msgBar.info { background-color: #437ECC; border-color: #224F91; padding-left: 45px; }
	.msgBar.success { background-color: #7B9534; border-color: #627036; padding-left: 45px; }


