/******************************************************************************/
/*               Style adjustments for baseline Ext classes                   */
/******************************************************************************/
/* Use a green triangle for modified/dirty grid cells instead of the baseline 
   red one -- red indicates an error! */
.x-grid-dirty-cell {
    background-image: url('../images/grid/dirty.gif');
}

/* When a null option is available in a drop-down list, the null option defaults to
   an empty text node and the item does not render at the correct height.  Set a min
   height on all list items to ensure all options are visible. */
.x-boundlist-item {
    min-height: 22px;
}

/* Ext JS limits the width of drop-down lists to the width of the field, causing 
   entries to wrap.  Removing the width will make lists more readable. */
.TransGrid .x-boundlist {
    min-width: 50px;
    width: auto !important;
}

/* iEnable styles add an underline to all A tags on hover.  Remove this from Ext 
   buttons and menu items */
.x-btn a:hover, .x-menu-body a:hover {
    text-decoration: none;
}

/* Override styles in styles.css */
/* CODE COPIED FROM BASE EXT CLASS */
/* Border copied from base stylesheet */
.x-btn-over {
    border: 1px solid #81a4d0 !important;
}
a.x-btn:hover {
    text-decoration: none;
}
a.x-btn.x-item-disabled {
    border: 1px solid transparent !important; /* to prevent disabled buttons from moving on hover */
}


/******************************************************************************/
/*                 Styles for Ext.ux.tyler.grid.TransGrid                    */
/******************************************************************************/
/* Use a custom trigger button image for LOV fields */
.lovTriggerBtn {
    background-image: url('../images/form/search-trigger.gif') !important;
}

.editorTriggerBtn {
    background-image: url('../images/form/editor-trigger.gif') !important;
}

/* Disabled, deactivated, and summary rows have different visual styles (but should
   always have black text when selected) */
.disabledRow .x-grid-cell {
    background-color: #dddddd;
    border-top-color: #ffffff;
    border-bottom-color: #dddddd;
}
.deactivatedRow .x-grid-cell {
    background-color: #DD0000;
    border-top-color: #ffffff;
    border-bottom-color: #DD0000;
}
.x-grid-row-summary {
    font-weight: bold; 
}

/* Readonly columns in editable record lists (trans grids) should have a gray background */
.x-grid-row .readonlyCol {
    background-color: #dddddd;
}

/* Hide deleted rows */
.deletedRow {
    display: none;
}

/* Expand/collapse button for record lists (trans grids) with >3 rows */
.TransGridExpColBtn {
    background-repeat: no-repeat;
    background-position: top center;
    height: 7px;
    width: 45px;
    cursor: pointer;
    margin: 0px auto;
}
.TransGridExpColBtnCollapsed {
    background: url('../images/grid/expand.gif');
}
.TransGridExpColBtnExpanded {
    background: url('../images/grid/collapse.gif');
}

/* Need to collapse borders in record list toolbars (x-docked-top class) to avoid a gap
   above the record list when there is a toolbar with no visible content (e.g. APRVAL) */
.TransGrid .x-docked-top TABLE {
    border-collapse: collapse;
    border-spacing: 0px;
}

.striped-row-1 > TD {
    background-color: #ffffff !important;
}
.striped-row-2 > TD {
    background-color: #F2F4E6 !important;
}




/******************************************************************************/
/*                 Styles for Ext.ux.tyler.tree.XmlTree                       */
/******************************************************************************/
/* Style for the items that the user has readonly access to */
.XmlTree .readonlyItem {
    color: #0a57a3;
}

/* Set the width of the standard icons to 0. Doing it this way instead of setting 
   display: none will allow some padding to remain between the arrows and the text. */
.XmlTree .x-tree-icon {
    width: 0px !important;
}



/******************************************************************************/
/*               Styles for Ext.ux.tyler.tree.LeftTreeView                    */
/******************************************************************************/
.LeftTreeView .x-panel-body {
    border-top-width: 0px;
}
.LeftTreeView .x-tree-icon {
    width: 0px !important;
}
.LeftTreeView .LinkNode {
    cursor: pointer;
}


/******************************************************************************/
/*                 Styles for Ext.ux.tyler.tab.Panel                          */
/*                                                                            */
/* Moved to tylerui.css                                                       */
/* 'tyler' classes instead of the ExtJS 'default' classes.                    */
/******************************************************************************/

/*Move tab up one pixel so it doesn't get cut off in maintain*/
.x-tab-tyler{
    margin-top: -1px !important;
}
/* Remove the text underline on hover */
.x-tab-tyler a.x-tab-button:hover {
    text-decoration: none;
}

/* The panel displayed below a TabPanel will have a blue top border; remove this */
.x-tab-bar-tyler + .x-panel-body {
    border-top-width: 0px;
}

/* Custom images for the left and right scroller buttons
   Also need to restore some styles that are tied to the "default" classes */
.x-tab-bar-tyler .x-tabbar-scroll-left {
    background-image: url('../images/tab/scroll-left.gif');
    width: 18px;
    height: 25px;
    cursor: pointer;
}
.x-tab-bar-tyler .x-tabbar-scroll-right {
    background-image: url('../images/tab/scroll-right.gif');
    width: 18px;
    height: 25px;
    cursor: pointer;
}
.x-tab-bar-tyler .x-box-scroller-disabled {
    filter: alpha(opacity=50);
    opacity: 0.5;
    cursor: default;
}

/* Class for modified tabs */
.x-tab-tyler-modified .x-tab-inner {
    text-decoration: underline;
}

/* Adjust the position of the future years icon on the tabs 
   Also need to restore some styles that are tied to the "default" classes */
.x-tab-tyler .x-tab-icon-el {
    top: 4px;
    left: 9px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    background-position: center center;
}
.x-tab-tyler-icon-text-left .x-tab-inner {
    padding-left: 20px;
}



/******************************************************************************/
/*                 Styles for scrollable Ext.panel.Panel                      */
/*                                                                            */
/* To create a scrollable panel, we need these classes for the scroll         */
/* buttons.  These classes are copies of all the toolbar scroller classes     */
/* found in ext-all.css, renamed to work for panels instead of toolbars.      */
/* To create a scrollable panel, give the panel an hbox layout with an        */
/* overflowHandler of 'Scroller', then nest your content as a child panel of  */
/* the hbox panel.                                                            */
/* Image URLs were changed to point to custom panel/scroll-___.gif images and */
/* the height of the scroller buttons was changed to 50px.                    */
/******************************************************************************/
.x-panel-scroller{padding-left:0px}
.x-box-scroller-left .x-panel-scroll-left{width:18px;position:relative;cursor:pointer;height:50px;background:transparent no-repeat -18px 0px;background-image:url('../images/panel/scroll-left.gif')}
.x-box-scroller-left .x-panel-scroll-left-hover{background-position:0px 0px}
.x-box-scroller-left .x-panel-scroll-left-disabled{background-position:-18px 0px;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;cursor:default}
.x-box-scroller-left .x-panel-scroll-left{background-image:url('../images/panel/scroll-left.gif');background-position:-14px 0px}
.x-box-scroller-left .x-panel-scroll-left-hover{background-position:0px 0px}
.x-box-scroller-left .x-panel-scroll-left-disabled{background-position:-14px 0px}
.x-box-scroller-left .x-panel-scroll-left{width:14px;height:50px}
.x-box-scroller-right .x-panel-scroll-right{width:18px;position:relative;cursor:pointer;height:50px;background:transparent no-repeat 0px 0px;background-image:url('../images/panel/scroll-right.gif')}
.x-box-scroller-right .x-panel-scroll-right-hover{background-position:-18px 0px}
.x-box-scroller-right .x-panel-scroll-right-disabled{background-position:0px 0px;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;cursor:default}
.x-box-scroller-right .x-panel-scroll-right{background-image:url('../images/panel/scroll-right.gif')}
.x-box-scroller-right .x-panel-scroll-right-hover{background-position:-14px 0px}
.x-box-scroller-right .x-panel-scroll-right-disabled{background-position:0px 0px}
.x-box-scroller-right .x-panel-scroll-right{width:14px;height:50px}



/******************************************************************************/
/*                Styles for panel expanders/collapsers                       */
/*                                                                            */
/* Baseline version of this control is too small and doesn't fit with the     */
/* color scheme; these classes will adjust the size and use custom images.    */
/******************************************************************************/
.x-splitter-horizontal {
    height: 7px !important;
    margin-bottom: 2px !important;
}
.x-layout-split-left, .x-layout-split-right {
    width: 7px;
    height: 45px;
    margin-top: -22px;
}
.x-layout-split-left {
    margin-right: 2px;
}
.x-layout-split-right {
    margin-left: 2px;
}
.x-layout-split-top, .x-layout-split-bottom {
    width: 45px;
    height: 7px;
    margin-left: -22px;
}
.x-layout-split-top {
    margin-bottom: 2px;
}
.x-layout-split-bottom {
    margin-top: 2px;
}
.x-layout-split-left, .x-splitter-collapsed > .x-layout-split-right {
    background-image: url('../images/util/splitter/mini-left.gif');
}
.x-layout-split-right, .x-splitter-collapsed > .x-layout-split-left {
    background-image: url('../images/util/splitter/mini-right.gif');
}
.x-layout-split-top, .x-splitter-collapsed > .x-layout-split-bottom {
    background-image: url('../images/util/splitter/mini-top.gif');
}
.x-layout-split-bottom, .x-splitter-collapsed > .x-layout-split-top {
    background-image: url('../images/util/splitter/mini-bottom.gif');
}



/******************************************************************************/
/*             Styles for Ext.ux.tyler.toolbar.TransToolbar                   */
/******************************************************************************/
.TransToolbar .x-btn-inner {
    font-style: normal;
}
.TransToolbarIcon {
    height: 35px !important;
}
.TransToolbar .x-toolbar-separator {
    width: 1px;
    margin: 0px 4px;
}
.TransToolbar .x-btn-arrow {
    padding-right: 0px;
}

/* Bug (?) in Ext JS 4.2: disabled buttons still have a hand/pointer cursor on the edges */
.x-btn-disabled {
    cursor: default;
}

/* Class to highlight the Save/Validate/Commit buttons after clicked and successful */
.x-btn-innerActiveSuccess {
    background-color: #9ACD32 !important;
    background-image:none !important;
}

/* When buttons are pushed onto an overflow menu, shrink the icon to fit within the menu */
.x-menu-item-icon {
    background-size: contain;
}



/******************************************************************************/
/*             Styles for GridHeaderFilters plugin                            */
/******************************************************************************/
/* The following styles override the styles in the base Ext CSS stylesheet to allow a background image taller than the default 23px high image to be used */
.x-nlg .x-grid-header-ct,
.x-nlg .x-column-header {
    background:repeat-x 0 top;
    background-image:url(../../grid/images/column-header-bg.gif);

}

/* The following styles override the styles in the base Ext CSS stylesheet to allow a background image taller than the default 23px high image to be used */
.x-nlg .x-column-header-over,
.x-nlg .x-column-header-sort-ASC,
.x-nlg .x-column-header-sort-DESC {
    background: #ebf3fd repeat-x 0 top;
    background-image: url(../../grid/images/column-header-over-bg.gif);
}

/* The following styles override the styles in the base Ext CSS stylesheet to position checkbox column headers correctly */
.x-column-header-checkbox .x-column-header-inner {
    padding-top: 5px;
    line-height: 0;
    font-size: 0;
}

/******************************************************************************/
/*                 Styles for using Parid Control in a Grid                   */
/******************************************************************************/
.x-grid-row-selected .x-grid-td input.paridColumnReadonlySegment {
    background-color: #DFE8F6;
}

.x-grid-row-selected.x-grid-row-over .x-grid-td input.paridColumnReadonlySegment {
    background-color: #DFE8F6;
}

.x-grid-row-over .x-grid-td input.paridColumnReadonlySegment{
    background-color: #efefef;
}

td.paridcolumn div.x-grid-cell-inner {
    padding: 0 !important;
    -webkit-padding-before: 2px !important;
}

.paridColumnReadonlySegment {
    height: 18px;
    line-height: 18px;
    border: 0px;
    border-right: dotted 1pt gray;    
    font-size: 11px;
    font-family: tahoma, arial, verdana, sans-serif;
    text-transform:uppercase;
}

.paridColumnReadonlySegment.lastSegment {
    border-right: none;
}

.paridColumnReadonlySegment.firstSegment.lastSegment {
    border: none;
    width: 100%;
    padding-left: 2px;
}

.x-grid .ParidCtrlContainer input[firstSegment=true][lastSegment=true]{
    width: 100%
}

.TransGrid .ParidCtrlContainer input[firstSegment=true][lastSegment=true]{
    width: 100%
}

.x-cell-neverDirty {
    background-image:none;
    background:none;
}
.x-aud-tableitem-selected .x-grid-cell {

    background-color: #DFE8F6 !important;
    border-top-color: #DFE8F6;
    border-bottom-color: #DFE8F6;

}