/**
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/osl-3.0.php
 *
 * @copyright  Copyright (c) 2012 Benoît Leulliette <benoit.leulliette@gmail.com>
 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 */

/* GLOBAL STYLES */

.cncg-clearer { clear:both; }
.cncg-tooltip { padding:4px 8px; background:#fff; border:1px solid #000; }

/* MESSAGES LIST */

.cncg-messages-wrapper { position:fixed; right:0; bottom:0; width:100%; z-index:10; }
.cncg-messages-tabs { height:32px; margin-right:16px; }
.cncg-messages-tab { float:right; display:block; height:32px; line-height:34px; margin-left:8px; padding:0 10px 0 30px; font-weight:bold; border-style:solid; border-width:1px 1px 0; background-repeat:no-repeat; background-position:6px center; cursor:pointer; }
.cncg-messages-tab.no-display { display:none; }
.cncg-messages-lists { clear:both; }
.cncg-messages-list-wrapper { max-height:200px; overflow-y:auto; border-width:1px 0 0; border-style:solid; }
.cncg-messages-list { padding:8px 12px; }
.cncg-messages-content-date { margin:0 0 4px; font-size:14px; font-weight:bold; }
.cncg-messages-tab-warning { color:#000000; background-color:#e6e6e6; border-color:#666e73; }
.cncg-messages-tab-error,
.cncg-messages-list-wrapper-error { color:#df280a; background-color:#faefe7; border-color:#f16048; }
.cncg-messages-tab-success,
.cncg-messages-list-wrapper-success { color:#3d6611; background-color:#eff5ea; border-color:#95a486; }
.cncg-messages-tab-notice,
.cncg-messages-list-wrapper-notice { color:#3d6611; background-color:#fffbf0; border-color:#ffd967; }
.cncg-messages-tab-warning,
.cncg-messages-list-wrapper-warning { color:#000000; background-color:#e6e6e6; border-color:#666e73; }
.cncg-messages-tab-error { background-image:url(../../images/error_msg_icon.gif); }
.cncg-messages-tab-success { background-image:url(../../images/success_msg_icon.gif); }
.cncg-messages-tab-notice { background-image:url(../../images/note_msg_icon.gif); }
.cncg-messages-tab-warning { background-image:url(../../images/warning_msg_icon.gif); }
.cncg-messages-list li { padding:8px 8px 2px !important; background:none !important; }
.cncg-messages-list ul li { margin:0 !important; }

/* IN-GRID / EDIT BLOCK HEADER */

.cncg-content-header { margin-bottom:18px; padding-top:9px; padding-bottom:.25em; font-family:Arial,Helvetica,sans-serif; border-bottom:4px solid #dfdfdf; }
.cncg-content-header h3 { margin:.3em .5em 0 0; padding:0; line-height:1.2em; font-size:1.25em; color:#eb5e00; }
button.cncg-customize span { padding-left:20px; background-image:url(images/ico_custom.gif); }
button.cncg-grid-infos span { padding-left:20px; background-image:url(images/ico_infos.gif); }
button.cncg-additional span { padding-left:20px; background-image:url(images/ico_arrow_down.gif); }
button.cncg-export span { padding-left:20px; background-image:url(images/ico_export.gif); }
.cncg-custom-grid-config-switch { margin:0 0 6px; text-align:right; }

/* ADDITIONAL FEATURES BLOCK */

.cncg-custom-grid-config-additional-container { width:100%; padding:8px 0; background:#eee; }
.cncg-custom-grid-config-additional-part { position:relative; float:left; min-width:31.8%; margin:4px 6px; padding:0 0; background:#fff; border:1px solid #CCC; }
.cncg-custom-grid-config-additional-part-label { padding:10px; overflow:hidden; line-height:21px; white-space:nowrap; font-weight:bold; color:#fff; background:#48BE85; text-transform:uppercase;}
.cncg-custom-grid-config-additional-part-label img { padding:0 0 3px; vertical-align:middle; }
.cncg-custom-grid-config-additional-part-content { min-height:150px; padding:10px; background:url(images/bkg_box_content.jpg) repeat-x; }
.cncg-custom-grid-config-additional-part-content select { width:100%; }
.cncg-custom-grid-config-additional-part-content select option { padding:0 3px; }
.cncg-custom-grid-config-additional-part li { padding:0 0 1px 3px; }
.cncg-custom-grid-config-additional-part li select { margin:2px 0; }
.cncg-custom-grid-config-additional-part-actions { width:100%;text-align:right; }
.cncg-pagination-input { width:3em; padding:1px; text-align:center; }

/* COLUMNS LIST */

.cncg-custom-grid-config { margin:0 0 6px; }
.cncg-custom-grid-config .grid table tr:hover,
.cncg-custom-grid-config .grid table tr.dnd_whileDrag { background-color:#fcf5dd; } 
.cncg-custom-grid-config .grid table td { vertical-align:middle; }
.cncg-custom-grid-config .grid table .cncg-drag-handle { padding-left:9px; padding-right:9px;  background:url(images/up-down.gif) no-repeat center center; cursor:move; }
.cncg-custom-grid-config .grid table .cncg-store-select { margin:0; }

/* CONFIG / HELP BUTTONS */

.cncg-attribute-config-button { color:#ea7601; text-decoration:underline; cursor:pointer; }
.cncg-collection-renderers-help-button,
.cncg-collection-renderers-config-button,
.cncg-custom-column-config-button,
.grid tr.filter .cncg-categories-filter .cncg-filter-button { display:inline-block; width:16px; height:16px; zoom:1; vertical-align:middle; cursor:pointer; }
.cncg-collection-renderers-config-button,
.cncg-custom-column-config-button,
.grid tr.filter .cncg-categories-filter .cncg-filter-button { background:url(images/ico_config.png) no-repeat center center; }
.cncg-collection-renderers-help-button { background:url(images/ico_help.png) no-repeat center center; }

/* ADDITIONAL FILTERS */

.cncg-additional-filters-table .filter th { width:150px; }

/* IN-GRID EDITOR */

.grid table td.cncg-column-editor-editing { padding-right:38px; }
.grid table td.cncg-column-editor-updated { background:#ebffd4 !important; }
.grid table td.cncg-column-editor-editing p.note { margin:0; padding:0 0 0 13px; font-size:11px; background:url(images/grid_note_bg.gif) 1px 6px no-repeat; }
.grid td.cncg-column-editor-editing input.input-text,
.grid td.cncg-column-editor-editing select { width:90%; max-width:270px; min-width:110px; }
.grid td.cncg-column-editor-editing select.multiselect { min-width:150px; }
.cncg-column-editor-form { clear:both; }
.cncg-column-editor-form-buttons { float:right; }
.cncg-column-editor-overlay { height:16px; }
.cncg-column-editor-overlay-edit,
.cncg-column-editor-overlay-validate,
.cncg-column-editor-overlay-cancel,
.cncg-column-editor-overlay-updated { float:left; width:16px; height:16px; background-repeat:no-repeat; background-position:center center; cursor:pointer; }
.cncg-column-editor-overlay-edit { background-image:url(images/edit.png); }
.cncg-column-editor-overlay-validate { background-image:url(images/validate.gif); }
.cncg-column-editor-overlay-cancel { background-image:url(images/cancel.gif); }
.cncg-editor-required-marker { color:#f00; }
.entry-edit-head .cncg-editor-required-marker { padding:0 3px 0 2px; font-style:italic; color:#f34; }
.cncg-column-editor-editing .cncg-editor-required-marker { display:none; }
.grid table td.cncg-column-editor-editing-required { background:#ffdcdc !important; }
.cncg-editor-scope-label { font-size:0.9em; }
.customgrid-custom-grid-editor-edit { background:#fff; }
.customgrid-custom-grid-editor-edit .middle { background:none; min-height:0; }

/* COLUMNS RENDERERS */

.cncg-collection-renderers-descriptions-list { height:370px; max-height:370px; overflow-y:auto; }
.cncg-collection-renderers-descriptions-list dt { font-weight:bold; }
.cncg-collection-renderers-descriptions-list dd { margin:0 0 6px; padding-left:10px; }
.cncg-collection-renderer-help,
.cncg-attribute-renderer-help { margin:0 0 12px; font-style:italic; }
.cncg-custom-grid-forced-renderer span { vertical-align:top; }

/* CUSTOM COLUMNS */

.cncg-custom-columns-wrapper { height:115px; overflow-y:auto; }
.cncg-custom-columns-group-label { height:18px; padding:0 0 0 12px; overflow:hidden; font-weight:bold; text-decoration:none; background:url(images/arrow_left.png) no-repeat left center; color:#000; cursor:pointer; }
.cncg-custom-columns-group-label-on { background:url(images/arrow_down.png) no-repeat left 7px; }
.cncg-custom-columns-group-label span { font-weight:normal; }
.cncg-custom-columns-column { position:relative; max-width:194px; height:16px; margin:0 3px 0 0; padding:1px 36px 1px 6px; overflow:hidden; font-size:11px; }
.cncg-custom-columns-column label { display:block; max-width:194px; height:16px; line-height:15px; overflow:hidden; cursor:pointer; }
.cncg-custom-columns-column-buttons { position:absolute; top:0; right:0; }
.cncg-custom-columns-column-button { float:left; position:relative; width:14px; height:14px; margin:1px 0 1px 4px; overflow:hidden; cursor:pointer; }
.cncg-custom-columns-column-button-help { background:url(images/ico_mini_help.png); }
.cncg-custom-columns-column-button-warning { background:url(images/ico_mini_warning.png); }
.cncg-custom-columns-tooltip { font-size:11px; }
.cncg-custom-columns-help-text { max-width:300px; margin:0 0 3px; line-height:14px; }
.cncg-custom-columns-help-single-text { margin:0; }
ul.cncg-custom-columns-help-features li { height:16px; padding:0 0 0 16px; line-height:16px; font-size:11px; font-weight:bold; }
.cncg-custom-columns-help-feature-with { background:url(images/check.png) no-repeat left center; }
.cncg-custom-columns-help-feature-without { background:url(images/cross.png) no-repeat left center; }

/* CUSTOM COLUMNS FILTERS */

.grid tr.filter .cncg-categories-filter { position:relative; padding-right:18px; }
.grid tr.filter .cncg-categories-filter .cncg-filter-button { position:absolute; top:0; right:0; }
.grid tr.filter .cncg-filter-value { font-weight:normal; }
.cncg-filter-form-buttons { float:right; }
.customgrid-custom-grid-column-filter-categories { background:#fff; }
.customgrid-custom-grid-column-filter-categories .middle { background:none; min-height:0; }
.customgrid-custom-grid-column-filter-categories .wrapper-popup { min-width:680px; }

/* PINNABLE GRID HEADER */

.cncg-grid-pinned-actions-block { z-index:1; background:#fff;position:inherit !important;width: auto !important; }
.cncg-grid-pinned-actions-block .actions td { padding:0 6px; }
.cncg-grid-pinned-actions-block table.massaction td:first-child { white-space:nowrap; }

/* CATEGORY FILTER TREE ACTION */

.customgrid-custom-grid-column-filter-categories { background:#fff; }
.customgrid-custom-grid-column-filter-categories .middle { background:none; min-height:0; }
.customgrid-custom-grid-column-filter-categories .wrapper-popup { min-width:680px; }
.customgrid-custom-grid-column-filter-categories .entry-edit { clear:both; }
.customgrid-custom-grid-column-filter-categories .entry-edit .entry-edit-head { background:#666; }

/* WINDOW STYLES */

.dialog.cncg-popup-window { border:0; }
.cncg-popup-window .top.table_window { background:none; border:none; }
.dialog.cncg-popup-window .bot { display:table !important; }

.overlay___invisible__ { background-color:#666; filter:alpha(opacity=0); -moz-opacity: 0; opacity: 0; }
.overlay_cncg { background-color:#000; filter:alpha(opacity=60); -moz-opacity:0.6; opacity:0.6; }
.cncg_wired_frame { display:block; position:absolute; border:1px #000 dashed; background:#fff; filter:alpha(opacity=60); -moz-opacity:0.6; opacity:0.6;	}

.cncg_nw { background:transparent url(window/top-left.png) no-repeat 0 0; width:9px; height:28px; display:none;}
.cncg_n { background:#68c39f;text-transform:uppercase;}
.cncg_ne { background:transparent url(window/top-right.png) no-repeat 0 0; width:15px; height:28px; display:none;}
.cncg_w { background:transparent url(window/left.png) repeat-y top left; width:9px; display:none;}
.cncg_e { background:transparent url(window/right.png) repeat-y top right; width:15px; display:none;}
.cncg_sw { background:transparent url(window/bottom-left.png) no-repeat 0 0; width:9px; height:15px; display:none;}
.cncg_s { background:transparent url(window/bottom-middle.png) repeat-x 0 0; height:15px;display:none; }
.cncg_se,
.cncg_sizer { background:transparent url(window/bottom-right-fixed.png) no-repeat 0 0; width:15px; height:15px;display:none; }
.cncg-resizable-popup-window .cncg_sizer { background-image:url(window/bottom-right.png); cursor:se-resize; }
.cncg_close { width:15px; height:9px; background:transparent url(window/button-close.png) no-repeat 0 0; position:absolute; top:22px; right:10px; cursor:pointer; z-index:1000; }
.cncg_maximize { width:15px; height:9px; background:transparent url(window/button-maximize.png) no-repeat 0 0; position:absolute; top:11px; right:25px; cursor:pointer; z-index:1000; }
.cncg_minimize { width:15px; height:9px; background:transparent url(window/button-minimize.png) no-repeat 0 0; position:absolute; top:11px; right:40px; cursor:pointer; z-index:1000; }
.cncg_title { float:left; line-height:28px; font-size:14px; font-weight:bold; text-align:left; margin-top:2px; color:#fff; padding:10px;}

.cncg_content { overflow:auto; font-size:12px; background:#fff; }
.cncg_content,
.cncg_content label { color:#333; font-family:Arial, sans-serif; }

.cncg-popup-window .cncg_message { padding:0 18px; }
.cncg-popup-window .content-header,
.cncg-column-editor-form .content-header { border-bottom-width:3px; }
.cncg-popup-window .entry-edit .entry-edit-head,
.cncg-column-editor-form .entry-edit .entry-edit-head { background:#666; }
.cncg-popup-window .entry-edit fieldset,
.entry-edit fieldset.cncg-editor-fieldset,
.cncg-popup-window .entry-edit .fieldset,
.entry-edit .fieldset.cncg-editor-fieldset { border-top:0; border-color:#666; }

/* For IE */
* html .cncg_nw { background-color:transparent; background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="./window/top-left.png", sizingMethod="crop"); }
* html .cncg_n { background-color:transparent; background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="./window/top-middle.png", sizingMethod="scale"); }
* html .cncg_ne { background-color:transparent; background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="./window/top-right.png", sizingMethod="crop"); }
* html .cncg_w { background-color:transparent; background-image:none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="./window/left.png", sizingMethod="scale"); }
* html .cncg_e { background-color:transparent; background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="./window/right.png", sizingMethod="scale"); }
* html .cncg_sw { background-color:transparent; background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="./window/bottom-left.png", sizingMethod="crop"); }
* html .cncg_s { background-color:transparent; background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="./window/bottom-middle.png", sizingMethod="scale"); }
* html cncg_se,
* html .cncg_sizer { background-color:transparent; background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="./window/bottom-right.png", sizingMethod="crop"); }
* html .cncg_close { background-color:transparent; background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="./window/button-close.png", sizingMethod="crop"); }
* html .cncg_minimize { background-color:transparent; background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="./window/button-minimize.png", sizingMethod="crop"); }
* html .cncg_maximize { background-color:transparent; background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../window/button-maximize.png", sizingMethod="crop"); }
* html .cncg_content { background:#c7c7c7; }

/* SPECIFIC STYLES */

#sales_order_grid .grid .order-tables tr.headings,
#sales_invoice_grid .grid .order-tables tr.headings,
#sales_shipment_grid .grid .order-tables tr.headings,
#sales_creditmemo_grid .grid .order-tables tr.headings { background:url(../../images/sort_row_bg.gif) repeat-x scroll 0 50% transparent !important; }

#customgrid_rewriters_file.config .comment span { font-family:Courier New,Courier,Arial,Helvetica,sans-serif; }