body                          {font:menu;margin:0;border:0;}
td                            {font:menu;padding:0;}
input, select, textarea       {font:menu;}
/*td, input                     {font-family:arial;}*/
td.body                       {padding:10px 5px 5px;} /* window body (sections, tabs, etc) */
div.spacer, div.spacer spacer {width:100%;height:1px;} /* fill in spacer */
a                             {color:ButtonText;text-decoration:none;}
a:hover                       {color:blue;text-decoration:underline;}
div.get_string_width_div      {visibility:hidden;position:absolute;z-index:100}

/* Colors */
body, div.previewHolder       {background-color:ButtonFace;}
td.toolbars, div.subbutton    {background-color:#C3DAF9;border-bottom-color:#000080;} /* Toolbars holder */
table.sections div.subbutton  {background-color:ButtonFace;} /* Sections holder */
table.toolbar td.button       {border-color:#C3DAF9;}
table.toolbar td.button.disabled {color:#aab7c5;}
table.sections td.button      {border-color:ButtonFace;}
td.selected                   {border-color:ButtonShadow;background-color:#fff;}
td.div div                    {background-color:#ACA899;} /* Toolbar and section divider */
table.form td.value.invalid   {background-color:#FF9A9A;} /* Form invalid field background */
table.lookup td.val           {border:1px solid ButtonShadow;}
table.messages                {background-color:InfoBackground;}
table.messages td.message     {color:InfoText;}
td.message a { color:blue;text-decoration:underline; }
/*table.listHolder iframe, iframe.listHolder {border-color:#7f9db9;}*/
div.previewHolder, iframe, div.fieldset, div.listHolder {border-color:#7f9db9;}
body.list, table.list td      {background-color:Window;}
table.list tr.header td       {background-color:ThreedFace;}
table.list tr.items td        {border-right-color:ThreedFace;}
table.list tr.items td.icon16 {border-right:none;}
tr.highlight td               {background-color:#f1f1f1;}
tr.forumtopic td              {background-color:#FFFFF0;}
tr.selected td                {background-color:Highlight;}
tr.selected, tr.selected a    {color:HighlightText;}
table.list tr.items.selected td {background-color:Highlight;color:HighlightText;}
div.subbutton                 {border-color:ButtonShadow;}

table.tabs td.spacer, table.tabs td.div {border-color:ButtonShadow;} /* Tab borders */
table.tabs td.tab             {border-bottom-color:ButtonShadow;}
td.tabBody, table.tabs td.tabSelected, table.messages {border-color:ButtonShadow;}
table.tabs td.tab div         {background-color:Window;border-color:ButtonShadow;}
table.tabs td.tabSelected div {background-color:Window;border-top-color: #FCC53C;}
td.tabBody                    {background-color:Window;}
span.failed                   {color:red;}


/* Buttons */
td.button                     {padding:0 5px 0;border-width:1px;border-style:solid;filter:alpha(opacity=100);-moz-opacity:1;opacity:1;}
td.selected                   {filter:alpha(opacity=80);-moz-opacity:0.8;opacity:0.8;}
td.button *                   {position:relative;}
td.button.icon24              {height:52px;text-align:center;}
td.button.icon16              {height:25px;padding-right:10px;}
td.button.icon24 img          {margin:0 10px 2px;}
td.button.icon16 img          {margin-right:2px;vertical-align:middle;}
td.button, td.tab div, td.tabSelected div {cursor:default;white-space:nowrap;}
td.button.wrap { white-space: normal; height: auto; padding: 3px; }
td.button.break { word-break: break-all; word-wrap: break-word; padding: 3px; }
td.button.notitle             {padding-right:0;padding-left:2px;}

/* Icons */
td.icon24 img                 {width:24px;height:24px;}
td.icon16 img, img.icon16     {width:16px;height:16px;}
a img                         {border:0;}


/* Toolbar */
td.toolbars                   {height:1px;padding:5px;border-bottom-width:1px;border-bottom-style:solid;}
table.toolbars                {width:100%;}
table.toolbars td.toolbar     {vertical-align:top;}
div.subbutton                 {position:absolute;display:none;border-width:1px;border-style:solid;padding:1px;}

/* Toolbar divider */
table.toolbar td.div          {width:1px;}
table.toolbar td.div div      {width:1px;height:50px;margin:0 5px;}

/* Sections */
td.sections                   {vertical-align:top;}
table.sections                {width:125px;margin-right:5px;}
table.sections td.button      {height:26px;padding-right:14px;padding-left:6px;}
table.sections td.div div     {width:100%;height:1px;margin:5px 0;}
table.sections td.button.menu {padding-right:0;padding-left:2px;width:18px;}
table.sections table.multiple td {border:none;}
table.sections div.subbutton td {height:22px;padding:3px 12px 4px 4px;}
table.sections div.subbutton td.div {height:1px;}

/* Tabs */
table.tabs                    {width:100%;}
table.tabs td.tab             {padding-top:3px;border-bottom-width:1px;border-bottom-style:solid;vertical-align:bottom;}
table.tabs td.tabSelected     {border-width:1px;border-style:solid;border-bottom:none;}
table.tabs td.tab div         {padding:3px 8px 2px 9px;border-width:1px;border-style:solid;border-bottom:none;}
table.tabs td.tabSelected div {padding:2px 8px 5px 9px;border-top-width:2px;border-top-style: solid;}
table.tabs td.spacer          {width:100%;border-bottom-width:1px;border-bottom-style:solid;}
table.tabs td.div             {width:1px;border-bottom-width:1px;border-bottom-style:solid;}
table.tabs td.div div         {width:1px;height:1px;background:none;}
td.tabBody                    {padding:15px;border-width:1px;border-style:solid;border-top:none;vertical-align:top;}
td.preview                    {border:none;padding:0;}

/* Forms */
form                          {margin:0;}
fieldset                      {margin-top:1em;}
fieldset.first                {margin-top:0;}
table.form                    {width:100%;margin:5px 0 5px;}
table.form th.title, table.form th div {width:110px;height:1px;padding:0;margin:0;}
table.form th.value           {width:50%;}
table.form td.title           {padding-top:7px;padding-right:1px;text-align:right;vertical-align:top;}
table.form td.value           {padding:3px 4px;vertical-align:top;}
table.form td.group           {vertical-align:top;}
table.form td.title.required  {font-weight:bold;}
table.form td.div div         {width:100%;height:10px;background-color:transparent;}
table.form tr.collapsed       {display:none;}
td.tabBody td.textarea        {padding:1em 0 1px;}
input.text                    {padding-left:2px;}
div.static                    {width:100%;margin-top:4px;padding:0 0 0.4em;}
.full                         {width:100%;}
input.hidden                  {width:0px;height:0px;}
td.value div.readonly         {margin-top:4px;margin-bottom:2px;}
div.emailPlaintext            {border:1px solid AppWorkspace;width:100%;height:100%;padding:2px 4px;overflow:auto;}

div.fieldset                  {border-width:1px;border-style:solid;width:100%;}
table.compact                 {margin-top:0;margin-bottom:2px;}
table.compact td.title        {padding-top:3px;}
table.compact td.value        {padding-top:0px;}
table.compact div.readonly    {margin-top:3px;}
td.preview td.textarea        {padding:3px 0 1px;}
table.compact td.button.icon16 {height:18px;}
span.hint                     {padding-left:4px;color:gray;font-weight:normal;font-style:italic;}

/* Form list field */
table.lookup                  {/*margin:1px 0 2px;*/}
td.lookup                     {padding-right:0;}
td.lookup img                 {margin-right:0;margin-left:5px;}
td.lookup img.dropdown        {width:5px;margin-left:3px;}
table.lookup td.val           {padding-left:3px;}
form td.icon16                {height:21px;}

table.radio td.title          {width:auto;padding-top:4px;vertical-align:top;text-align:left;}
table.radio td.value          {width:auto;padding:1px 4px 3px;}

/* Form htmlarea toolbar */
div.htmltoolbar               {width:100%;padding-bottom:2px;}
input.htmlbut                 {background-color:#eaeaea;width:18px;padding-left:1px;}


/* Messages */
table.messages                {width:100%;border-top-width:1px;border-top-style:solid;}
table.messages td.message     {padding:0 10px 7px;}
table.messages div            {height:7px;}

/* List holder */
table.listHolder              {width:100%;height:100%;}
table.listHolder iframe       {border-width:1px;border-style:solid;width:100%;padding:1px;height:100%}
table.listHolder.simple       {height:90%;margin-top:10px;}
table.listHolder.simple td    {padding-left:5px;padding-right:5px;}
table.listHolder td.button    {border:none;}
table.listHolder td.pages     {word-spacing:0.4em;text-align:right;}
table.listHolder td.pages span {background-color:#C3DAF9;padding:0 0.3em 0.1em;}
table.listHolder iframe.preview  {border:none;padding:0;}
div.listHolder                {overflow:auto;width:742px;height:500px;border-width:1px;border-style:solid;padding:1px;}

/* List */
table.list                    {width:100%;}
table.list td                 {padding:0.3em 4px;vertical-align:top;}
table.list tr.header          {position:absolute;top:0;left:0;cursor:default;width:100%;}
table.list tr.header td.icon  {padding:0;padding-right:6px;}
table.list tr.header td       {background-image:url('header_div.gif');background-repeat:no-repeat;background-position:right;padding-right:6px;}
table.list tr.items td        {border-right-width:1px;border-right-style:solid;}
table.list tr.items td.icon16 {padding:0.1em 0 0 3px;height:1px;}
table.list tr.items td.icon16 img {margin:0;}
table.list div.wrapper        {}
span.shy { width:0;display:inline-block; }
img.sorter                    {width:9px;height:5px;margin:0 5px 1px;}
table.list tr.header input    {width:100%;}
table.list tr.hidden          {display:none;}
table.list tr.email_notread td  {font-weight:bold;}
table.list tr.addnew          {display:none;}
table.list td.right, table.list td.right input {text-align:right;}
table.list tr.totals td       {border-top:1px solid ButtonShadow;}
table.list tr.groupHeader td  {border-top:1px solid silver;border-bottom:2px solid silver;padding-top:1em;font-weight:bold;}
table.list tr.firstrow td { height:1px;padding:0; }

span.lang                     {padding:0 4px 0 5px;}
span.lang a, span.lang a:hover{color:ButtonText;cursor:default;text-decoration:none;}
span.lang.selected            {background-color:#fff;}

td.graph {padding:0 5px;}
TD.graph TD.busy, TD.graph TD.free {FONT-SIZE: 50%; TEXT-ALIGN: center;padding:0;}
TD.graph TD.busy {BACKGROUND-COLOR: #ece9d8;}
TD.graph TD.free {BACKGROUND-COLOR: #82d850;}
div.graph {background-color:#82d850;height:4px;}
div.graph.blue {background-color:#6c80d9;}
div.graph.gray {background-color:#e3e3e3;}
tr.highlight div.graph {background-color:#6dd332;}
tr.highlight div.graph.gray {background-color:#d7d7d7;}

table.privileges td           {border-left:1px solid ButtonFace;vertical-align:top;}
table.privileges td.header    {text-align:center;vertical-align:middle;background-color:ButtonShadow;color:Window;border-left:1px solid ButtonFace;border-bottom:none;padding:0.3em;}
table.privileges td.header.sub  {background-color:ButtonFace;border-left-color:Window;}

table.caltbl { background-color:#fff;width:100%;border-collapse:collapse;empty-cells:hide;}
table.caltbl td {padding:0;border:1px solid #c0c0c0;vertical-align:top;font-size:7pt;}
table.caltbl td.calhead { background-color:#eaeaea;text-align:center;}
table.caltbl td.calheadtoday { background-color:#DCE9A9;font-weight:bold;text-align:center;}
table.caltbl td.empty {border:0;background-color:#ffffff;}
table.caltbl caption {font-size:16pt;}
table.caltbl td.time {text-align:center;}
table.caltbl td.today { padding:3px;border:1px solid #c0c0c0;background-color:#F5F9E6; vertical-align:top;}
table.caltbl a.finished {color:GrayText;}
img.cal {behavior:url('public/pngbehavior.htc');border:0;}

textarea.texthtml {font:menu;width:100%;overflow:auto;}

input.null {margin:0px;width:1px;height:1px;padding:0px;position:absolute;}


table.lookup a.notlinked:hover {text-decoration:none;color:ButtonText;cursor:default;}
table.lookup td.edit span a {color:ButtonText;text-decoration:none;cursor:default;}
table.lookup td.edit span a:hover {text-decoration:line-through;color:red;}
table.lookup td.edit {border-color:red;}
table.lookup span.deactivated, table.lookup span.deactivated a {color:GrayText;}

/* ADateTimePicker */
.ADateTimePicker-Edit {width:100px;}
.ADateTimePicker-Picker {border:1px solid WindowFrame;background-color:#fff;position:absolute;width:170px;padding:4px;cursor:default;}
.ADateTimePicker-Container {vertical-align:bottom;width:0;}

.ADateTimePicker-Month {background-color:#c3daf9;text-align:center;padding:2px 0 3px;}
.ADateTimePicker-Prev {background-image:url('ADateTimePicker-Prev.gif');}
.ADateTimePicker-Next {background-image:url('ADateTimePicker-Next.gif');}
.ADateTimePicker-Prev, .ADateTimePicker-Next {background-color:#c3daf9;background-position:center;background-repeat:no-repeat;width:18px;}

.ADateTimePicker-MonthPicker {border:1px solid black;background-color:#fff;position:absolute;}
.ADateTimePicker-MonthPickerMonth {padding:2px 0 3px;text-align:center;color:black;}
.ADateTimePicker-MonthPickerMonth.highlighted {background-color:black;color:#fff;}

.ADateTimePicker-Grid {padding:4px 10px;}
.ADateTimePicker-GridData {border-bottom:1px solid black;}
.ADateTimePicker-Grid td {padding:1px 2px 2px;text-align:right;}
.ADateTimePicker-Weekday {border-bottom:1px solid black;width:14.3%;}
.ADateTimePicker-DayPadded {color:GrayText;}
.ADateTimePicker-Grid td.selected {background-color:Highlight;color:HighlightText;}
.ADateTimePicker-Grid td.today {border:1px solid Highlight;}

.ADateTimePicker-PickerControls {text-align:center;}
.ADateTimePicker-PickerControl {margin:0 4px;}

/* ASearchEdit */
.ASearchEdit-Edit {background-image:url('ASearchEdit-Loop.gif');background-repeat:no-repeat;background-position:left;padding-left:20px;}
.ASearchEdit-Lookup {border:1px solid WindowFrame;background-color:#fff;position:absolute;width:220px;cursor:default;z-index:1000;padding:0 6px 6px;}
.ASearchEdit-Item td {padding:1px;}
.ASearchEdit-Item td span.info {color:gray;}
.ASearchEdit-Group td {font-weight:bold;padding:8px 1px 4px 1px;}
.ASearchEdit-Group div {width:90%;border-bottom:1px solid silver;padding-bottom:2px;display:inline;float:left;}
.ASearchEdit-Group div.more {width:10%;text-align:right;}
.ASearchEdit-Group div.more img {margin-bottom:1px;}
.ASearchEdit-ItemIcon {width:20px;vertical-align:top;}
.ASearchEdit-Item.highlighted {background-color:Highlight;color:HighlightText;}
.ASearchEdit-Iframe {background-color:#fff;}

/* ALookupEdit */
.ALookupEdit-Edit {width:100%;border:0;}
.ALookupEdit-EditIcon {width:16px;}

.ALookupEdit-Lookup {border:1px solid WindowFrame;background-color:#fff;position:absolute;cursor:default;z-index:1000;padding:0 6px 6px;}
.ALookupEdit-Item td {padding:1px;white-space:nowrap;}
.ALookupEdit-Item td span.info {color:gray;}
.ALookupEdit-Group td {font-weight:bold;padding:8px 1px 4px 1px;}
.ALookupEdit-Group div {width:90%;border-bottom:1px solid silver;padding-bottom:2px;display:inline;float:left;}
.ALookupEdit-Group div.more {width:10%;text-align:right;}
.ALookupEdit-ItemIcon {width:20px;vertical-align:top;}
.ALookupEdit-Item.highlighted {background-color:Highlight;color:HighlightText;}

table.expander {border-left:2px solid #ffd700;}
table.expander td {padding:1px 2px 0 0;}

table.list td.confidential    {color:InfoText;padding-top:8px !important;padding-bottom:10px !important;background:InfoBackground;}
td.contact_image {text-align:center;width:125px;height:125px;border:1px solid ButtonShadow;cursor:default;}

/* Filelist viewer */
table.filesviewer_window {position:absolute;left:20;top:20;width:350px;background-color:white;border:12px solid #fff;z-index:1002;}
table.filesviewer_window td.heading {font-size:100%;border-bottom:1px solid #ACA899;padding-bottom:4px;}
table.filesviewer_window td.toolbar {padding-bottom:8px;}
table.filesviewer_window table.toolbar {width:100%;}
table.filesviewer_window.hidden {display:none;}
div.scroller {overflow:auto;width:100%;border:1px solid #d3d3d3;height:180px;}
table.fileslist {width:100%;}
table.fileslist td {padding:1px 4px;vertical-align:bottom;}
table.fileslist td.title {border-right:1px solid ThreedFace;}
table.fileslist td.size {border-right:1px solid ThreedFace;text-align:right;width:60px;}
table.fileslist td.info {width:60px;text-align:right;}
table.fileslist img.tn {margin:5px 0 2px;}

/* Global dimming */
div.global_dimming {visibility:visible;position:absolute;z-index:1001;width:100%;height:100%;top:0;left:0;background:url('dimmed.png');}
div.global_dimming.hidden {visibility:hidden;}

td.productgroup { border-bottom:2px solid #cdcdcd;font-weight:bold; }
tr.estimate_list_totals.border td { border-top:double #cdcdcd; }
tr.estimate_list_totals td { font-weight:bold; }
tr.estimate_group_totals.border td { border-top:1px solid #cdcdcd; }
tr.estimate_group_totals td { padding-bottom:2em; }
tr.estimate_group_totals.slim td {padding-bottom:0;}

span.row_number {color:gray;}
td.textarea.wrowtitle  {padding-top:0 !important;}

/* Targets list */
.target-input {width:30px;}
.target-input.tp {margin-top:4px;}
.quotes1_report_ranges { padding-top:4px;padding-bottom:4px; }
.quotes1_report_ranges a { color:blue;margin-right:10px; }

#tt {position:absolute;display:block;}
#tttop {display:block;height:5px;margin-left:5px;overflow:hidden;}
#ttcont {display:block;padding:2px 12px 3px 7px;margin-left:5px;background:#666;color:#fff;}
#ttbot {display:block;height:5px;margin-left:5px;overflow:hidden;}

/* desktop */
h2.list-title {margin:0;font:menu;font-weight:bold !important;}
table.desktop-backbone table.listHolder {margin:5px 0 0;}
table.desktop-backbone table.listHolder td {padding:0;}
#das-manager-contacts-listholder table.listHolder {height:92%;}