/*
 * Your installation or use of this SugarCRM file is subject to the applicable
 * terms available at
 * http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/.
 * If you do not agree to all of the applicable terms or do not have the
 * authority to bind the entity as an authorized representative, then do not
 * install or use this SugarCRM file.
 *
 * Copyright (C) SugarCRM Inc. All rights reserved.
 */
@CHARSET "UTF-8";
.x-grid3-header {
    display: none;
}

.ticon {
    background-image: url('../../../themes/default/images/icon_expression_types.gif');
    width: 12px;
    height: 12px;
    float: right;
}

.icon_boolean {
    background-position: 0px 12px;
}

.icon_number {
    background-position: 0px 24px;
}

input.empty {
    color: grey;
}

.markItUpHeader {
    border: 1px solid var(--border-color);
    height: 24px;
    width: 495px;
    padding: 2px;
    background: var(--headerpane-background);
}

#formulaBuilder .markItUpHeader ul a {
    width: auto;
    height: auto;
    text-indent: 14px;
    padding-top: 2px;
    background-position-y: 2px;
    color: var(--text-color);
}

#formulaBuilder .markItUpHeader ul li {
    margin-right: 5px;
    height: 20px
}

.markItUp .rel_field a {
    background-image: url('../../../themes/default/images/SugarLogic/icon_rel_field_16.png');
}

.markItUp .rollup a {
    background-image: url('../../../themes/default/images/SugarLogic/icon_rollup_16.png');
}

#selrf_table td.label {
    text-align:right;
}

/*
 * jQuery UI Autocomplete 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Autocomplete#theming
 */
.ui-autocomplete { position: absolute; cursor: default; }

/* workarounds */
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */

/*
 * jQuery UI Menu 1.8.16
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Menu#theming
 */
#fb_ac_wrapper .ui-menu, #fb_ac_wrapper .ui-widget-content {
	list-style:none;
	padding: 2px;
	margin: 0;
	display:block;
	float: left;
    background: var(--dropdown-background);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color);
}
#fb_ac_wrapper .ui-menu .ui-menu {
	margin-top: -3px;
}
#fb_ac_wrapper .ui-menu .ui-menu-item,#fb_ac_wrapper ul li.ui-menu-item {
    list-style-type: none;
    list-style:none;
    margin:0;
	padding: 0;
	zoom: 1;
	float: left;
	clear: left;
	width: 100%;
}
#fb_ac_wrapper .ui-menu .ui-menu-item a {
	text-decoration:none;
	display:block;
	padding:.2em .4em;
	line-height:1.5;
	zoom:1;
}
#fb_ac_wrapper .ui-state-focus, #fb_ac_wrapper .ui-widget-content .ui-state-focus,
#fb_ac_wrapper .ui-widget-header .ui-state-focus {
    background: white;
}
#fb_ac_wrapper .ui-menu .ui-menu-item a.ui-state-hover,
#fb_ac_wrapper .ui-menu .ui-menu-item a.ui-state-active {
	font-weight: bold;
	margin: -1px;
    background-color: rgba(225,225,255, 0.8);
}


.fb_ac_spacer {
    font: 12px 'Courier New', Courier, monospace;
    padding-right: 5px;
    clear: both;
    line-height: 18px;
    visibility: hidden;
    float:left
}

.fb_ac_spacer_line {
    width: 800px;
}

ul.ui-autocomplete {
    /* top and left must be important as autocomplete normally tries to position itself via javascript */
    left: 6px !important;
    top:  2em !important;
    position: relative;
    min-width: 150px;
}

.fb_ac_help{
    position: absolute;
    visibility: hidden;
    z-index: 51;
    background-color: var(--secondary-content-background);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 3px;
    margin: 0 0 0 2px;
}

#fb_ac_wrapper ul.fb_ac_menu {
    border-radius: 0;
}

#fb_ac_wrapper ul.fb_ac_menu li.ui-menu-item {
    line-height: 1.5;
    padding: 0.2em 0.4em;
}

#fb_ac_wrapper ul.fb_ac_menu li.ui-state-focus {
    font-weight: bold;
    background: var(--secondary-content-background) url("../../../include/javascript/jquery/themes/base/images/ui-bg_glass_75_dadada_1x400.png") repeat-x scroll 50% 50%;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

#fb_ac_wrapper ul.fb_ac_menu li.ui-state-active {
    background: var(--dropdown-link-background-hover);
}
