/*
Editing instructions :

- Only place admin interface component related styling here
- Front end components should only be minimally styled (No colors. Minimal Relative dimensions and positions)
- Each selector must have at least 2 elements
- The first element in each selector must be the component identifier
- Layout specific css must go into components.css file in the layout's folder
@todo Separate base layout and colors to different css files

*/

.component_report_data table,
.component_report_data table th,
.component_report_data table td {
    border: 1px solid black;
    border-collapse: collapse;
}

.component_cngchange_log table td {
    max-width: 300px;
    word-wrap: break-word;
}

.component_cross_reference_report .filter_attributes .field,
.component_cross_reference_report .manual_date_selection,
.component_cross_reference_report .date_selection .field {
    display: inline-block;
}

.component_cross_reference_report .error {
    border: 2px solid red;
}

.component_cross_reference_report_data table td {
    padding: 3px;
}

.component_cross_reference_report_data {
    max-width: 1000px;
    width: 1000px;
    overflow: auto;
    border: 1px solid black;
}

.component_admin_toolbar {
    display: none; /* Hidden by default */
    background-color: #595959;
    opacity: 0.96;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    min-width: 30px;
    border-right: 2px solid #363636;
}

.component_admin_toolbar .toolbar_item {
    opacity: 1;
    background-color: white;
    border: 1px solid black;
    margin: 3px;
    padding: 3px;
    font-weight: bold;
}

.component_admin_toolbar .toolbar_item.promotional_save_sort_order {
    background-color: #fffacd;

}

.component_help,
.component_help_index {
    min-width: 400px;
    min-height: 400px;
}

.component_help_index .items {
    margin-left: 0;
    padding-left: 0;
    max-height: 350px;
}

.component_help_index .items .odd {
    background-color: #faebd7;
}

.component_help_index .items .disabled {
    background-color: #CCCCCC;
}

.component_help_index .items .disabled:after {
    content: 'disabled';
    float: right;
    font-weight: bold;
}

.component_help_index .items li {
    padding: 2px;
    list-style: none;
}

.component_help_index .items a {
    text-decoration: underline;
}

.component_help .actions {
    float: right;
}

.component_help .form_builder.help_item .mandatory {
    color: red;
}

.component_help_index .actions {
    padding-left: 0;
    margin-left: 0;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.component_help_index .actions li {
    display: inline-block;
    list-style: none;
    background-color: #96c8c1;
    font-weight: bold;
    padding: 3px;
}

.component_help .form_builder .field.view_only .input,
.component_help .form_builder .field.editable_view .input {
    display: none;
}

.component_help .form_builder .field .view_only {
    min-height: 1em;
    min-width: 15em;
    cursor: text;
}

.component_help .form_builder .field_id_is_active_container {
    position: absolute;
    right: 0;
    top: 0;
}

.component_help .form_builder .field .view_only.is_empty {
    border: 1px solid black;
}

.component_help .form_builder .field_id_title_container {
    font-size: 1.5em;
    font-weight: bold;
}

.component_help .form_builder .field_id_title_container label:after {
    content: ':';
}

.component_help .form_builder .textarea_field .mandatory {
    padding-left: 10px;
    display: none;

}

.component_help .form_builder .textarea_field label {
    text-decoration: underline;
    font-size: 1.5em;
    font-weight: bold;
}

.component_help .form_builder .field.editable_view:hover .view_only:before {
    content: 'Click to edit';
    position: absolute;
    top: 0;
    left: 0;
    color: blue;
    font-size: 12px;
    font-weight: normal;
    border: 1px solid black;
    background-color: white;
}

.component_help .form_builder .textarea_field .view_only,
.component_help .form_builder .textarea_field textarea {
    min-height: 10em;
    min-width: 36em;
}

.component_help .form_builder .text_field.editable_view .view_only {
    display: inline-block;
}

.component_help .form_builder .actions {
    display: none;
}

.component_help .textarea_field .view_only {
    white-space: pre-wrap;
    max-width: 400px;
}

.component_promotional_product_settings h3 {
    margin-bottom: 10px;
}

.component_promotional_product_settings .product_image {
    float: left;
}

.component_promotional_product_settings .promotional_product_settings {
    float: right;
}

.component_promotional_products .promotional_image {
    float: left;
    margin: 5px 15px 0 30px;
    border: 1px solid black;
    height: 130px;
    width: 130px;
}

.component_promotional_products .promotional_product_all {
    position: relative;
}

.component_promotional_products .promotional_product .promoframe,
.component_promotional_products .promotional_product .product_image {
    display: block;
}

.component_promotional_products .promotional_product_all .admin_message {
    position: absolute;
    width: 6em;
    border: 1px solid black;
    top: 100px;
    background-color: #fafad2;
    font-weight: bold;
    color: black;
    padding: 2px;
}

.component_promotional_products .promotional_product_all .visible_on_homepage {
    right: 3px;
}

.component_promotional_products .promotional_product_all .featured {
    left: 3px;
    background-color: #CCEFF1;
}

/* portal version */

.component_promotional_products_portal .promotional_image {
    float: left;
    margin: 5px 15px 0 30px;
    border: 1px solid black;
    height: 130px;
    width: 130px;
}

.component_promotional_products_portal .promotional_product_all {
    position: relative;
}

.component_promotional_products_portal .promotional_product .promoframe,
.component_promotional_products_portal .promotional_product .product_image {
    display: block;
}

.component_promotional_products_portal .promotional_product_all .admin_message {
    position: absolute;
    width: 6em;
    border: 1px solid black;
    top: 100px;
    background-color: #fafad2;
    font-weight: bold;
    color: black;
    padding: 2px;
}

.component_promotional_products_portal .promotional_product_all .visible_on_homepage {
    right: 3px;
}

.component_promotional_products_portal .promotional_product_all .featured {
    left: 3px;
    background-color: #CCEFF1;
}

/* -------------------- */

.component_cngoperator_match_parameters {
    clear: both;
    margin: 5px 0;
    padding: 2px;
}

.component_cngoperator_match_parameters .title {
    padding: 3px;
    text-decoration: underline;
    font-weight: normal;
}

.component_cngoperator_match_parameters .title .label {
    font-weight: bold;
}

.component_cngoperator_match_parameters .operator_match_value_group {
    display: inline-block;
    border: 1px solid black;
    padding: 2px;
    width: 48%;
    vertical-align: top;
}

.component_cngoperator_match_parameters .remove,
.component_cngoperator_match_parameters .item_note,
.component_cngoperator_match_parameters .note {
    display: none;
}

.component_field_value_selector .field_id,
.component_field_value_db_lookup_selector .field_id {
    width: 100%;
}

.component_field_value_selector td,
.component_field_value_db_lookup_selector td,
.component_field_value_selector tr,
.component_field_value_db_lookup_selector tr,
.component_field_value_selector th,
.component_field_value_db_lookup_selector th {
    border: 1px solid black;
}

.component_field_value_selector table,
.component_field_value_db_lookup_selector table {
    border: 1px solid black;
    border-collapse: collapse;
    width: 100%;
}

.component_import_filter_editor {
    padding: 2em;
    max-width: 600px;
}

.component_import_filter_editor .errors {
    color: red;
    float: right;
}

.component_import_filter_editor .item {
    padding: 10px 20px;
    background: #eee;
    border-top: 1px solid #ccc;
    width: 50em;
}

.component_import_filter_editor .properties {
    padding: 0;
    margin: 0;
}

.component_import_filter_editor .properties li {
    border-bottom: 1px solid black;
    list-style: none;
    padding: 6px 0;
}

.component_import_filter_editor h1 {
    margin: 2px 0;
}

.component_import_filter_editor .item_toggle {
    white-space: nowrap;
}

.component_import_filter_editor .item .comment {
    min-width: 18em;
}

.component_import_filter_editor table {
    border-collapse: collapse;
}

.component_import_filter_editor table td,
.component_import_filter_editor table th {
    border: 1px solid black;
}

.component_import_filter_editor .item .code,
.component_import_filter_editor .item .name {
    padding: 0 4px;
}

.component_import_filter_editor .item .comment .editable {
    display: none;
}

.component_import_filter_editor .item.enabled .comment .editable {
    display: inline;
}

.component_import_filter_editor .item .edit_note {
    background: url('/images/note_edit.png') 24px 0;
    display: inline-block;
    width: 24px;
    height: 24px;
    cursor: default;
}

.component_import_filter_editor .item.enabled .edit_note {
    background-position: 48px 0;
    cursor: pointer
}

.component_import_filter_editor .item.enabled.has_note .edit_note {
    background-position: 0 0;
    cursor: pointer
}

.component_import_filter_editor .main_comment h2 {
    font-weight: normal;
    font-size: 10px;
}

.component_import_filter_editor th.item_note {
    width: 24px;
}

.component_import_filter_editor .item .select {
    min-width: 32px;
}

.component_import_filter_editor .field_editors {
    margin-left: 0;
    padding-left: 0;
}

.component_import_filter_editor .field_editors .field_editor {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 10px;
}

.component_import_filter_editor .field_editors .field_editor .remove {
    width: 20px;
    height: 17px;
    color: transparent;
    background: transparent url(/images/ui-icons_cd0a0a_256x240.png) -94px -127px;
    border: 0;
}

/** End import filter editor */

.component_comment_editor textarea {
    width: 100%;
    min-width: 350px;
}

.component_comment_editor .info ul {
    margin: 0;
    padding: 0;
}

.component_comment_editor .comment .info li {
    display: inline-block;
}

.component_menu .hidden_link a {
    cursor: text;
}

.component_cmsattachment .cms_valid {
    background-color: #7FFFA8;
}

.component_cmsattachment .cms_invalid {
    background-color: #FFDCCB;
}

.component_cng_artifact .component_pfcsegment_editor {
    padding: 5px 15px 20px;
    border: 1px solid black;
    display: inline-block;
    height: 220px;
    overflow: hidden;
    background-color: white;
    margin: 0 10px 10px 0;
}

.component_cng_artifact .segment .actions {
    float: right;
    margin: 0;
    padding: 0;
}

.component_cng_artifact .segment .actions input {
    color: transparent;
    background: none;
}

.component_cng_artifact .segment .actions .remove {
    background: url("/images/icons/cross.gif") no-repeat;
    border: 0;
    width: 20px;
}

.component_cng_artifact .segment select {
    font-size: 11px;
}

.component_cng_artifact .segment .actions .append {
    background: url("/images/add.png") no-repeat;
    border: 0;
    width: 20px;
}

.component_cng_artifact .segment .field {
    white-space: nowrap;
}

.component_cng_artifact .component_single_product_field_selector {
    display: inline;
}

.component_cng_artifact .segment .stage.field,
.component_cng_artifact .segment .sort_method.field {
    display: inline-block;
}

.component_cng_artifact .segment .answers td,
.component_cng_artifact .segment th {
    border: 1px solid gray;
    empty-cells: show;
    width: 50px;
}

.component_cng_artifact .segment .answers .odd {
    background: #eed;
}

.component_cng_artifact .group_association {
    font-weight: normal;
}

.component_cng_artifact .tablesort {
    border: 1px solid gray;
    border-collapse: collapse;
}

.component_cng_artifact .pcc_header {
    text-align: center;
}

.component_cng_artifact .segment .instructions {
    display: none;
}

.component_cng_artifact .segment.separator .instructions.separator {
    display: block;
}

.component_cng_artifact .full_code_sample_container {
    border: 1px solid gray;
    padding: 2px;
    margin: 5px 0;
    font-size: 2em;
    background-color: #C1C1BF;
    font-weight: bold;
    min-height: 28px;
}

.component_cng_artifact .segment_text_container {
    display: none;
}

.component_cng_artifact .action_preview {
    float: right;
}

.component_cng_artifact .actions {
    margin: 10px 0;
}

.component_cng_artifact .sample_code {
    border-top: 1px solid black;
    font-size: 1em;
    font-weight: normal;
}

.component_cng_artifact .new_answer {
    color: green;
    font-weight: bold;
}

.component_cng_artifact .segment.stage .instructions.separator,
.component_cng_artifact .segment.stage .text,
.component_cng_artifact .segment.stage .sort_field,
.component_cng_artifact .segment.route .instructions.separator,
.component_cng_artifact .segment.route .text,
.component_cng_artifact .segment.text .stage,
.component_cng_artifact .segment.text .sort_field,
.component_cng_artifact .segment.text .instructions.separator,
.component_cng_artifact .segment.text .using_field_exception,
.component_cng_artifact .segment.separator .stage,
.component_cng_artifact .segment.separator .using_field_exception,
.component_cng_artifact .segment.separator .sort_field {
    display: none;
}

.component_cng_filter .segment .append,
.component_cng_filter h2.sample_code,
.component_cng_filter .segment .remove {
    display: none;
}

.component_cng_filter .field_selector {
    display: none;
}

.component_system_settings fieldset {
    width: 45%;
    display: table-cell;
    height: 280px;
    float: left;
    margin-bottom: 10px;
}

.component_system_settings legend {
    font-size: 1.5em;
    padding: 0 10px;
}

.component_system_settings .text_field label,
.component_system_settings .checkbox_field label,
.component_system_settings .selection_field label {
    position: relative;
    top: 4px;
}

.component_system_settings label {
    white-space: normal;
}

.component_system_settings .mandatory {
    color: red;
    font-weight: bold;
    position: relative;
    left: -4px;
    top: 4px;
}

.component_system_settings .actions {
    clear: left;
}

.component_system_settings .errors {
    background-color: #ffdddd;
    font-size: 1.5em;
    padding: 5px;
    border: 1px solid black;
    margin-bottom: 15px;
}

.component_system_settings .errors h5,
.component_system_settings .errors ul {
    margin: 0;
}

.component_system_settings .field {
    padding-bottom: 9px;
    border-bottom: 1px solid #e5e5e5;
}

.component_system_settings .text_field .field_name {
    max-width: 312px;
    display: inline-block;
}

.component_system_settings .selection_field .input,
.component_system_settings .text_field .input {
    float: right;
}

.component_system_settings .has_errors {
    background-color: #ffdddd;
}

.module_settings #outer_wrapper #inner_wrapper #all_content #page_content {
    width: auto;
}

.module_admincatalogue .component_duplicate_nameblocks .odd {
    background-color: #f0f0f0;
}

.module_admincatalogue .component_duplicate_nameblocks th {
    padding: 5px;
    text-align: left;
}

.module_admincatalogue .component_duplicate_nameblocks tr:hover {
    background-color: #9acd32;
}

.module_admincatalogue .component_duplicate_nameblocks td {
    padding: 2px;
    min-width: 70px;
}

.component_catalog_field_editor .fields th,
.component_catalog_field_editor .fields td,
.component_catalog_field_editor .fields {
    border: 1px solid black;
    border-collapse: collapse;
}

.component_catalog_field_editor .context_selectors .context_selector {
    display: inline-block;
}

.component_catalog_field_editor .save_to_group input {
    width: 4em;
}

.component_catalog_field_editor .save_to_group {
    font-weight: normal
}

.component_catalog_field_editor .actions {
    margin: 10px 0;
}

.component_catalog_field_editor .actions .action_group {
    padding: 2px;
    display: inline-block;
}

.component_catalog_field_editor .fields .not_in_current_selection {
    display: none;
}

.component_catalog_field_editor .action_save_new_field {
    float: right;
}

.component_catalog_field_editor .fields .drag_handle {
    float: right;
}

.component_cnglist .cng_list_item td {
    height: 1.5em;
    padding: 5px;
}

.component_cnglist .cng_list_item.odd {
    background-color: #e5e1d6;
}

.component_cnglist .cng_list_item:hover {
    outline: 1px solid black;
}

.component_pcc_editor .component_pfclabel_selector {
    float: right;
}

.component_pfclabel_selector {
    border: 1px solid black;
    padding: 5px;
    background-color: white;
}

.component_pfclabel_selector .labels {
    display: none;
    margin: 10px 10px 0 0;
    padding: 0;
    list-style: none;
}

.component_pfclabel_selector .select_labels {
    margin: 0;
    padding: 0;
    font-size: 11px;
    text-align: right;
}

#component_standard_products_cng_indicator {
    display: none;
}

.component_pcc_editor .default_field_change_alert {
    color: red;
    line-height: 20px;
    display: none;
}

select[name="segment[using_field][]"] {
    width: 239px;
}

div.componens_contacts .selection_field .input select,
div.componens_system_managers .selection_field .input select {
    width: 210px;
}

.component_tags_selection_filter a.selected {
    font-weight: bold;
}

.component_tags_selection_filter li.list_view {
    display: block;
}

.component_tags_selection_filter li.list_view .remove_all_filters {
    float: none;
}

.component_tags_management li.tag_family {
    list-style: none;
}

.component_tags_management .error {
    color: red;
}

/*
* Imported Products
*/
.imported_table tr:hover {
    background-color: #C7C5C6;
}

.imported_table td, .imported_table th {
    padding-left: 5px;
    padding-right: 5px;
    border-right: 1px black solid;
    border-bottom: 1px black solid;
}

.imported-vert-scroll {
    width: 100%;
    overflow: scroll;
    max-height: 250px;
}

#imported-content {
    width: 995px;
}

/*
.imported-edit-selected{
    float: right;
}
.imported_group_name{
    float: left;
}*/

.cng_multiselect_dropdown .sieve {
    float: left;
    background: #ffffff url('/images/filter.png') no-repeat 183px center;
    background: url('/images/filter.png') no-repeat 183px center, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
    background: url('/images/filter.png') no-repeat 183px center,  -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
    background: url('/images/filter.png') no-repeat 183px center, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
    background: url('/images/filter.png') no-repeat 183px center, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
    background: url('/images/filter.png') no-repeat 183px center, linear-gradient(#eeeeee 1%, #ffffff 15%);
    border: 1px solid #AAAAAA;
    font-family: sans-serif;
    font-size: 1em;
    margin: 1px 0 5px 0;
    outline: 0 none;
    padding: 4px 20px 4px 5px;
    height: 17px;
    width: 173px;
}
.dir_rtl .cng_multiselect_dropdown .sieve {
    padding: 4px 5px 4px 20px;
    background: #ffffff url('/images/filter.png') no-repeat 5px center;
    background: url('/images/filter.png') no-repeat 5px center, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
    background: url('/images/filter.png') no-repeat 5px center,  -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
    background: url('/images/filter.png') no-repeat 5px center, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
    background: url('/images/filter.png') no-repeat 5px center, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
    background: url('/images/filter.png') no-repeat 5px center, linear-gradient(#eeeeee 1%, #ffffff 15%);
}
body.dir_rtl.cng_multiselect_dropdown .sieve {
    float: right;
}

/* CNG filter drop down */
.configurator .chzn-container .chzn-results,
.configurator .product_nameblock_controls .chzn-container .chzn-single {
    width: 200px;
}

.configurator .product_nameblock_controls .chzn-container-single .chzn-drop {
    /*min-width: 208px;*/
    width: auto !important;
}
.configurator .product_nameblock_controls .chzn-container-single .chzn-search input {
    min-width: 173px;
}

.dir_rtl.nameblock_selector .product_nameblock_controls .chzn-container-single .chzn-search input,
.dir_rtl.configurator .product_nameblock_controls .chzn-container-single .chzn-search input {
    background: #fff url('chosen-sprite.png') no-repeat -31px -20px;
    background: url('chosen-sprite.png') no-repeat -31px -20px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
    background: url('chosen-sprite.png') no-repeat -31px -20px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
    background: url('chosen-sprite.png') no-repeat -31px -20px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
    background: url('chosen-sprite.png') no-repeat -31px -20px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
    background: url('chosen-sprite.png') no-repeat -31px -20px, linear-gradient(#eeeeee 1%, #ffffff 15%);
    padding: 4px 5px 4px 20px;
}
.configurator .product_nameblock_controls .chzn-container {
    font-size: 12px;
    min-width: 210px;
}

.nameblock_selector.dir_rtl .product_nameblock_controls .chzn-container ,
.configurator.dir_rtl .product_nameblock_controls .chzn-container {
    float: right;
}

.nameblock_selector .product_nameblock_controls .chzn-container-single .chzn-single span,
.configurator .product_nameblock_controls .chzn-container-single .chzn-single span {
    font-size: 12px;
}

.nameblock_selector.dir_rtl .product_nameblock_controls .chzn-container,
.configurator.dir_rtl .product_nameblock_controls .chzn-container {
    text-align: right;
}

.nameblock_selector.dir_rtl .product_nameblock_controls .chzn-container-single .chzn-single span,
.configurator.dir_rtl .product_nameblock_controls .chzn-container-single .chzn-single span
{
    margin-left: 26px;
    margin-right: 0;
}

.nameblock_selector.dir_rtl .product_nameblock_controls .chzn-container a.chzn-single,
.configurator.dir_rtl .product_nameblock_controls .chzn-container a.chzn-single{
    padding-left: 0;
    padding-right: 8px;
}

.nameblock_selector.dir_rtl .product_nameblock_controls .chzn-container-single .chzn-single div,
.configurator.dir_rtl .product_nameblock_controls .chzn-container-single .chzn-single div
{
    right: 184px;
}

.module_settings. div.field_id_log_mode_container {
    margin-left: 12px;
    margin-right: 0;

}
.module_settings.dir_rtl div.field_id_log_mode_container {
    margin-left: 0;
    margin-right: 12px;
}