a:hover { color: #800000 }
.a { font-family: Arial, Verdana; font-size: 10pt }
.b { font-family: Arial, Verdana; font-size: 10pt; font-weight: bold; }
.alg { font-family: Verdana, Arial; font-size: 8pt; font-weight: bold; }
.sm { font-family: Arial, Verdana; font-size: 8pt }
.smb { font-family: Arial, Verdana; font-size: 8pt; font-weight: bold; }

.title { font-family: Arial, Verdana; font-size: 12pt; font-weight: bold; }
.listing-sub-title{font-weight:bold;}

.formsm { font-family: Arial, Verdana; font-size: 8pt; background-color: #EBEBEB; color: #000000; border: 1 solid #000000 }
.formsm2 { font-family: Arial, Verdana; font-size: 8pt; background-color: #EBEBEB; color: #000000; border: 1 solid #000000; width: 275px; }
.formsm3 { font-family: Arial, Verdana; font-size: 8pt; background-color: #EBEBEB; color: #000000; border: 1 solid #000000; width: 200px; }
.formsm4 { font-family: Arial, Verdana; font-size: 8pt; background-color: #EBEBEB; color: #000000; border: 1 solid #000000; width: 150px; }
.formlogin { color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; background-color: #FFFFFF; border: 1 solid #A8A9BB }
.butsm { font-family: Arial, Verdana; font-size: 8pt; background-color: #EBEBEB; color: #000000; border: 1 solid #000000; font-weight: bold; }
.form { font-family: Arial, Verdana; font-size: 10pt; background-color: #EBEBEB; color: #000000; border: 1 solid #000000 }
.form2 { font-family: Arial, Verdana; font-size: 12px; background-color: #EBEBEB; color: #000000; border: 1 solid #000000; width: 480px; }
.form3 { font-family: Arial, Verdana; font-size: 12px; background-color: #EBEBEB; color: #000000; border: 1 solid #000000; width: 359px; }
.form4 { font-family: Arial, Verdana; font-size: 12px; background-color: #EBEBEB; color: #000000; border: 1 solid #000000; width: 592px; }
.but { font-family: Arial, Verdana; font-size: 9pt; background-color: #EBEBEB; color: #000000; border: 1 solid #000000; font-weight: bold; }
.butsm2 { font-family: Arial, Verdana; font-size: 8pt; height:18; padding-bottom:4;}

form.admin-form{ padding:0px; margin:0px; }
form.admin-form div label{ display:block; font-weight:bold; }
form.admin-form div{ margin-bottom:10px; }
form.admin-form div.inline{ float:left; clear:none; padding-left:5px; }
.admin-template-error { padding:5px; font-weight:bold; color:red; text-align:center; }
.admin-template-success { padding:5px; font-weight:bold; color:green; text-align:center; }
table.admin-table th{ text-align:left; }

table.fancytable { margin: 1em 1em 1em 0; background: whitesmoke; border-collapse: collapse; font-size:11px; }
table.fancytable tr:hover { background: lightsteelblue !important; }
table.fancytable th, table.fancytable td { border: 1px silver solid; padding: 0.2em; text-align:left; }
table.fancytable th { background: gainsboro; text-align: left; }
table.fancytable caption { margin-left: inherit; margin-right: inherit; }
.highlight td{ font-weight:bold; }
body{ font-size:13px; text-align:left; }
.action{ background-color:#FFFF99; }
.clr{clear:both;}
fieldset{ text-align:left; padding:10px; }
fieldset legend {font-weight:bold;font-size:120%;}
.newsletter-actions{float:left;clear:none;margin-right:10px;width:90px;background-color:#ccc;border:1px solid #666;}

#crm-menu{list-style:none;margin:0;padding:10px 10px 0;}
#crm-menu li{float:left;clear:none;padding:0;margin:0 2px 0 2px;background:#d5d4d2 url("images/crm/right_tab_white.gif") no-repeat right top;}
#crm-menu a{ background: url("images/crm/left_tab_white.gif") no-repeat left top; float:left;display:block;color:#000;text-decoration:none;padding:5px 15px; }
#crm-menu li:hover, #crm-menu .active{background:#b1b1b1 url("images/crm/right_tab_hover_white.gif") no-repeat right top;}
#crm-menu a:hover, #crm-menu .active a{background-image:url("images/crm/left_tab_hover_white.gif");}

#crm-sub-menu{background:#b1b1b1;padding:5px 0px 5px 10px;}
#crm-sub-menu ul{list-style:none;margin:0;padding:0;}
#crm-sub-menu li{float:left;clear:none;margin:0 7px 0 7px;}
#crm-sub-menu a{color:#000;}

#crm-submenu{background:#eee;border:1px solid #ccc;padding:5px;margin-bottom:10px;}
#crm-submenu ul{font-size:90%;list-style:none;margin:0;padding:0;}
#crm-submenu li{float:left;clear:none;margin:0 5px 0 5px;}
.admin_notes{width:650px;height:100px;}

.entity-view div{ margin-bottom:10px; width:150px;}
.entity-view div label{ display:block; font-weight:bold;background:#eee;}
.entity-view div.inline{ float:left; clear:none; padding-left:5px; }
.view-actions{margin-bottom:10px;}
.entity-view .notes{width:650px;}
.entity-view .wide{width:650px;}
.wide_input{width:500px;}

/* THICKBOX */
/* thickbox specific link and font settings */
#TB_window { font: 12px Arial, Helvetica, sans-serif; color: #333333; }
#TB_secondLine { font: 10px Arial, Helvetica, sans-serif; color:#666666; }

#TB_window a:link {color: #666666;}
#TB_window a:visited {color: #666666;}
#TB_window a:hover {color: #000;}
#TB_window a:active {color: #666666;}
#TB_window a:focus{color: #666666;}

/* thickbox settings */
#TB_overlay { position: fixed; z-index:100; top: 0px; left: 0px; height:100%; width:100%; }

.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
.TB_overlayBG { background-color:#000; filter:alpha(opacity=75); -moz-opacity: 0.75; opacity: 0.75; }

* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
#TB_window { position: fixed; background: #ffffff; z-index: 102; color:#000000; display:none; border: 4px solid #525252; text-align:left; top:50%; left:50%; }
* html #TB_window { /* ie6 hack */
    position: absolute;
    margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}
#TB_window img#TB_Image { display:block; margin: 15px 0 0 15px; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; border-top: 1px solid #666; border-left: 1px solid #666; }
#TB_caption{ height:25px; padding:7px 30px 10px 25px; float:left; } 
#TB_closeWindow{ height:25px; padding:11px 25px 10px 0; float:right; } 
#TB_closeAjaxWindow{ padding:7px 10px 5px 0; margin-bottom:1px; text-align:right; float:right; } 
#TB_ajaxWindowTitle{ float:left; padding:7px 0 5px 10px; margin-bottom:1px; } 
#TB_title{ background-color:#e8e8e8; height:27px; } 
#TB_ajaxContent{ clear:both; padding:2px 15px 15px 15px; overflow:auto; text-align:left; line-height:1.4em; } 
#TB_ajaxContent.TB_modal{ padding:15px; } 
#TB_ajaxContent p{ padding:5px 0px 5px 0px; } 
#TB_load{ position: fixed; display:none; height:13px; width:208px; z-index:103; top: 50%; left: 50%; margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */ }
* html #TB_load { /* ie6 hack */
    position: absolute;
    margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}
#TB_HideSelect{ z-index:99; position:fixed; top: 0; left: 0; background-color:#fff; border:none; filter:alpha(opacity=0); -moz-opacity: 0; opacity: 0; height:100%; width:100%; } 
* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
#TB_iframeContent{ clear:both; border:none; margin-bottom:-1px; margin-top:1px; _margin-bottom:1px; } 

/*
ENTITY TABS
*/
#myTabs { font-size: 70%; margin: 10px 0; }
#myTabs ul { padding:0;margin:0; float: left; background: #fff; padding-top: 4px; }
#myTabs li { margin-left: 5px; list-style: none; }
* html #myTabs li { display: inline; }
#myTabs li, #myTabs li a { float: left; }
#myTabs ul li.active { border-top:2px #ccc solid; background: #eee; }
#myTabs ul li.active a { color: #333333; }
#myTabs div.tabBody { background: #eee; clear: both; padding: 15px; min-height: 200px; }
#myTabs div.tabBody h3 { margin-bottom: 12px; }
#myTabs div.tabBody p { line-height: 150%; }
#myTabs ul li a { text-decoration: none; padding: 5px; color: #000; }
.thumbs { float:left; border:#000 solid 1px; margin-bottom:20px; margin-right:20px; }

/*
INVOICE
*/
.invoice input, .invoice textarea{border:0;}
.invoice input:focus{background:#c9ebf9;}
.invoice textarea:focus{background:#c9ebf9;}
.invoice input{width:100px;}
.invoice textarea{width:310px;height:100px;}
.invoice-organization-info{width:310px;height:100px;float:left;clear:none;font-weight:bold;}
#organization_info{font-weight:bold;}
.invoice-date-invoice-no{float:right;clear:none;}

.invoice-table{border-collapse:collapse;}
.invoice-table th{font-weight:bold;text-align:center;background:#eee;height:25px;}
.invoice-table-date td{text-align:center;}
.bill-to{float:left;clear:none;}
.ship-to{float:right;clear:none;}
.due-date{float:right;clear:both;}

.subtotal-table{border-collapse:collapse;}
.currency-field{text-align:right;}
.total-label{font-size:120%;font-weight:bold;}
.subtotal-label{font-weight:bold;}
#invoice_message{width:380px;}
.invoice-container{width:700px;}

.invoice-view .due-date{margin:10px 0 10px 0;}
.invoice-view .ship-to, .invoice-view .bill-to{font-size:90%;}
.invoice-view .ship-to .invoice-table, .invoice-view .bill-to .invoice-table{height:100px;}
.invoice-view .transactions-header{background:#eee;font-weight:bold;text-align:center;}

.transactions-table{margin-top:10px;border-collapse:collapse;}

/* IE */
textarea { overflow: auto; }
/* non-IE */
textarea[name] { overflow: inherit; }

#permissions ul{list-style:none;margin:0;padding:0;}
#permissions ul li{float:left;clear:none;margin:0 5px 0 5px;width:210px;display:block;}

#user-allowed-domains ul{list-style:none;margin:0;padding:0;}
#user-allowed-domains ul li{margin:5px 0 0 0;}
#user-allowed-domains ul li a.allowed-domain{display:block;text-decoration:none;padding:4px;background:#eee;color:#666;width:640px;float:right;clear:none;}
#user-allowed-domains ul li a.allowed-domain:hover{background:#ccc;}
#user-allowed-domains ul li a.allowed-action{width:10px;display:block;text-decoration:none;padding:4px 5px 4px 5px;background:#666;color:#fff;float:left;clear:none;}
#user-allowed-domains ul li a.allowed-action:hover{background:#ccc;}
#user-allowed-domains ul li a.allowed-domain-selected{display:block;text-decoration:none;padding:4px;background:#ccc;color:#666;width:640px;float:right;clear:none;}

#floating-permission{position:absolute;width:300px;height:300px;border:1px solid black;}
.permission-allowed-domain{background:#ccc;}

.login-message, .admin-messages{font-weight:bold;font-size:1.1em;color:red;}

#no-admin-domain-selected, .no-admin-domain-selected{font-size:1.2em;text-align:center;}

.tinymce{width:680px;height:400px;}

.entity-tabs{ width:200px;background:#B1B1B1;float:left:clear:none; }

.entity-menu{float:left;clear:none;width:130px;background:#B1B1B1;}
.entity-menu li{text-align:right;}
.entity-menu a{color:#000;}
.entity-menu .active a{font-weight:bold;font-size:90%;}
.entity-content{float:left;clear:none;margin:10px 0 0 10px;width:750px;}

.admin-no-results{margin:10px 0 10px 0;font-style:italic;font-weight:bold;}

.center{text-align:center;}

#bformFieldList ul{list-style:none;margin:0;padding:0}
#bformFieldList .order{width:30px;}

#bformLeftPane{float:left;clear:none;width:250px;border:1px solid black;padding:5px;}
#bformPane{float:left;clear:none;width:600px;margin-left:10px;border:1px solid black;}

#formFields{list-style:none;margin:0;padding:0;}
#formFields li{cursor:pointer;padding:5px;margin:10px 0;}
#formFields li:hover {border:1px dashed #ccc;background:#eee;}
#formFields li.selected{border:1px dashed #ccc;background:#eee;}

.closeElement{display:none;}
.previewForm .closeElement a{display:block;float:left;clear:none;}
#formFields .desc {clear:both;}
.field{float:left;clear:none;}

