.techlib_file_list_table {
    border-collapse: collapse;
    width: 100%;
}

.techlib_checkbox, .techlib_filename, .techlib_label, .techlib_location, .techlib_description, .techlib_language,
.techlib_rename, .techlib_replace, .techlib_delete, .techlib_size, .techlib_attached {
    padding: 3px;
    border: 0 none;
}

.techlib_checkbox {
    width: 2%;
}

.techlib_filename, .techlib_label {
    width: 19%;
}
.techlib_both_names .techlib_filename {
    width: 100%;
    padding: 0;
}

.techlib_location, .techlib_description, .techlib_language, .techlib_rename, .techlib_delete, .techlib_replace {
    width: 6%;
    text-align: center;
}

.techlib_size {
    width: 8%;
}

.techlib_file_id {
    width: 4%;
}

.techlib_attached {
    display: none;
    width: 10%;
    text-align: center;
}

.techlib_filename div {
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
}
/**
 * Columns that should be visible only in search
 */
.techlib_file_id, .techlib_display_name, .techlib_date_created,
.techlib_date_modified, .techlib_file_link,
.techlib_mailto, .techlib_lang, .techlib_tools, .techlib_both_names,
.autoclass_backend #techlib_search_tab .techlib_display_name {
    display: none;
}
#techlib_search_tab .techlib_file_id,
#techlib_search_tab .techlib_display_name,
/*#techlib_search_tab .techlib_date_created, */
#techlib_search_tab .techlib_date_modified,
#techlib_search_tab .techlib_file_link,
/* .autoclass_backend #techlib_search_tab .techlib_mailto, */
#techlib_search_tab .techlib_lang,
.autoclass_backend #techlib_search_tab .techlib_tools,
.autoclass_backend #techlib_search_tab .techlib_both_names,
.autoclass_backend #techlib_search_tab .techlib_rename {
    display: table-cell;
}


/**
 * Columns that should not be visible in search
 */
#techlib_search_tab td.techlib_source,
#techlib_search_tab td.techlib_location,
#techlib_search_tab td.techlib_description,
#techlib_search_tab td.techlib_language,
#techlib_search_tab td.techlib_replace,
#techlib_search_tab td.techlib_delete,
#techlib_search_tab td.techlib_empty,
#techlib_search_tab td.techlib_attached,
#techlib_search_tab td.techlib_rename,
.autoclass_backend #techlib_search_tab td.techlib_filename,
#techlib_search_tab th.techlib_source,
#techlib_search_tab th.techlib_location,
#techlib_search_tab th.techlib_description,
#techlib_search_tab th.techlib_language,
#techlib_search_tab th.techlib_replace,
#techlib_search_tab th.techlib_delete,
#techlib_search_tab th.techlib_empty,
#techlib_search_tab th.techlib_attached,
#techlib_search_tab th.techlib_rename,
.autoclass_backend #techlib_search_tab th.techlib_filename {
    display: none;
}
#techlib_search_tab th.techlib_rename span {
    visibility: hidden;
}

.autoclass_backend #techlib_search_tab .techlib_icon,
.autoclass_backend #techlib_search_tab .techlib_fileicon_image,
.autoclass_backend #techlib_search_tab .techlib_fileicon_doc,
.autoclass_backend #techlib_search_tab .techlib_fileicon_media,
.autoclass_backend #techlib_search_tab .techlib_fileicon_other,
.autoclass_backend #techlib_search_tab .techlib_fileicon_pdf,
.autoclass_backend #techlib_search_tab .techlib_fileicon_flash {
    float: none;
    margin: 0;
}

.techlib_icon, .techlib_fileicon_image, .techlib_fileicon_doc, .techlib_fileicon_media, .techlib_fileicon_other, .techlib_fileicon_pdf, .techlib_fileicon_flash {
    height: 16px;
    width: 16px;
    background-image: url('/images/techlib_icons.png');
    margin: auto;
    display: block;
}

.techlib_floatable_icon {
    float: left;
    width: 16px;
}

.techlib_tools_container {
    width: 44px;
}

.techlib_fileicon_image, .techlib_fileicon_doc, .techlib_fileicon_media, .techlib_fileicon_other, .techlib_fileicon_pdf, .techlib_fileicon_flash {
    float: left;
}

.dir_rtl .techlib_fileicon_image, .dir_rtl .techlib_fileicon_doc, .dir_rtl .techlib_fileicon_media, .dir_rtl .techlib_fileicon_other, .dir_rtl .techlib_fileicon_pdf, .dir_rtl .techlib_fileicon_flash {
    float: right;
}

.techlib_fileicon_image {
    background-position: -16px -16px;
}

.techlib_fileicon_doc {
    background-position: -208px -16px;
}

.techlib_fileicon_media {
    background-position: -256px -16px;
}

.techlib_fileicon_other {
    background-position: -112px -16px;
}

.techlib_fileicon_pdf {
    background-position: -160px -16px;
}

.techlib_fileicon_flash {
    background-position: -64px -16px;
}

.techlib_location .techlib_icon {
    background-position: -304px -16px;
}

.techlib_description .techlib_icon {
    background-position: -352px -16px;
}

.techlib_language .techlib_icon {
    background-position: -400px -16px;
}

.techlib_rename .techlib_icon {
    background-position: -448px -16px;
}

.techlib_delete .techlib_icon {
    background-position: -496px -16px;
}

.techlib_replace .techlib_icon {
    background-position: -544px -16px;
}

.techlib_mailto .techlib_icon {
    background-position: -592px -16px;
}

.techlib_icon {
    cursor: pointer;
}

div.techlib_labels_list div.labels_li {
    clear: both;
}

input.techlib_labels_form_button {
    width: 45px;
}


.techlib_checkbox input, .techlib_attached input {
    margin: auto;
}

.ui-tabs#techlib_tabs > ul > li {
    float: left;
    text-align: center;
    width: 16%
}

.dir_rtl .ui-tabs#techlib_tabs > ul > li {
    float: right;
}

div.ui-tabs-hide {
    display: none;
}

.ui-tabs-panel {
    overflow-y: auto;
}

.techlib_header .techlib_filename, .techlib_header > .techlib_size {
    cursor: pointer;
}

.dir_rtl .techlib_header .techlib_filename, .dir_rtl .techlib_header > .techlib_size, .dir_rtl .techlib_header .techlib_label {
    text-align: right;
}

#techlib_filemanager_search_by_file_id {
    display: inline-block;
    float: left;
}

td.techlib_form_search_text {
    width: 50%;
}

.techlib_filemanager_search span, .techlib_gallery_search span {
    display: inline-block;
}

.techlib_form_search .techlib_filemanager_search  .techlib_form_search_text {
    width: 240px;
    margin-right: 10px;
}

.techlib_form_search .techlib_form_search_text_input {
    width: 85%;
}
/**
 * Labels in search form
 */
#techlib_search_tab .checkbox_field {
    display: inline-block;
}
.techlib_filemanager_search  .techlib_form_search_text {
    margin-left: 30px;
}

.techlib_filemanager_search
td.techlib_form_search_text .techlib_form_search_text_input {
    width: 100%;
}

td.techlib_form_search_by_product,
td.techlib_form_search_label {
    width: 25%;
}

.techlib_form_search_by_product select,
.techlib_form_search_label select {
    width: 100%;
    padding-top: 1px;
    padding-bottom: 1px;
}

.techlib_gallery_search td.techlib_form_search_label {
    /* align left */
    padding-left: 0;
}

.techlib_gallery_search td.techlib_form_search_submit {
    /* align right */
    padding-right: 0;
}

.techlib_form_search_text_btn {
    background: url(/images/techlib_btn.gif) repeat;
}

.techlib_seach_results {
    clear: both;
}

/* FRONT END */
body.module_technical_library td#middle_block {
    vertical-align: top;
}

.techlib_show_label_filelist {
    overflow: visible;
    word-wrap: break-word;
    max-width: 670px;
    margin-bottom: 9px;
}

.techlib_front_product_filelist .techlib_show_label_filelist {
    max-width: 791px
}

.techlib_show_file_item {
    border-bottom: 1px solid #c9c9c9;
    margin: 12px 0;
    padding-bottom: 7px;
}

.techlib_show_file_item.techlib_simple {
    border-bottom: none;
    padding-top: 0;
    padding-bottom: 4px;
    margin: 0;
}

.techlib_show_file_item.techlib_simple:first-child {
    padding-top: 12px;
}

.techlib_show_file_item.techlib_simple:last-child {
    padding-bottom: 7px;
}

.techlib_show_file_item:last-child {
    border-bottom: none;
}

.techlib_show_label_header {
    background-color: #E8E8E8;
    color: #595959;
    max-width: 670px;
    height: 16px
}

.techlib_front_product_filelist .techlib_show_label_header {
    max-width: 791px
}

.techlib_show_details {
    text-decoration: none;
    display: inline-block;
    min-height: 16px;
    width: 95%;
    margin-left: 9px;
}

.techlib_show_details .techlib_translation_select {
    margin-left: 9px;
}

.techlib_show_details .techlib_translation_select option {
    color: #565656;
    background: #ffffff;
}

.techlib_show_details .techlib_translation_select option:hover {
    color: #ffffff;
    background: #565656;
}

.techlib_front_product_filelist {
    margin-top: 10px;
}

#page_content .techlib_show_details .techlib_show_filename {
    color: #565656;
    text-decoration: underline;
    font-size: 12px;
}

.techlib_show_description {
    color: #8d8d8d;
    font-size: 12px;
}

.techlib_media_player {
    display: block;
    width: 640px;
    height: 480px
}

.techlib_form_title {
    color: #40e0d0;
    border: #40e0d0 2px solid;
    background: #0082d6;
    text-align: center;
    padding: 4px;
    font-size: 11pt;
}

.techlib_form_caption {
    font-weight: bold;
}

.techlib_video_link {
    display: block;
    width: 640px;
    height: 480px
}

.techlib_add_label, .techlib_label_box, .techlib_no_label_text {
    display: inline-block;
    vertical-align: middle;
    margin: 2px;
}

.techlib_add_label {
    height: 10px;
    width: 10px;
    background: url(/images/techlib_plus.png);
    cursor: pointer;
}
.techlib_form_search_label {
    margin: 20px 0;
}
.techlib_form_search_label .checkbox_field label,
.techlib_label_box {
    padding: 3px;
    background-color: #d0dfee;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}
.techlib_form_search_label .checkbox_field {
    margin: 2px;
}

a.techlib_label_remove {
    display: block;
    float: right;
    margin: 0 0;
    height: 14px;
    width: 14px;
    background: url(/images/techlib_x.png) top right;
}

a.techlib_label_remove {
    float: left;
}

.techlib_export_filtertype input {
    /*radio buttons*/
    display: none;
}

.techlib_export_filtertype {
    float: left;
    background: #f2f2f2;
    border: solid #d9d9d9 1px;
    padding: 11px 13px;
}

.dir_rtl .techlib_export_filtertype {
    float: right;
}

.techlib_export_filtertype.selected {
    background: #e2e2e2;
}

.techlib_export_location_selection_container, .techlib_export_label_selection_container {
    display: none;
    clear: both;
}

.techlib_language_description_container {
    margin-top: 10px;
    display: none;
}

.ajaxtree-hidden > .techlib_grouptree_item {
    color: #808080;
}

.techlib_form .mandatory {
    color: red;
    font-weight: bold;
}

button.post_file_selection_control {
    display: none;
}

.techlib_form_newsection {
    margin-top: 15px;
}

.techlib_translation_files_table td {
    margin: 2px;
    white-space: nowrap;
}

.techlib_gallery_search_container {
    padding: 7px;
    border: 1px solid #d6d6d6;
    background-color: #f9f9f9;
    height: 24px;
    margin: 17px 17px 17px 0;
}

.techlib_gallery_search_container select {
    height: 24px;
}

span.techlib_form_search_by_product,
span.techlib_form_search_label {
    width: 150px;
}

span.techlib_form_search_text {
    width: 220px;
    margin-left: 30px;
}

.techlib_form_search_language {
    margin-left: 30px;
}

span.techlib_form_search_by_product {
    margin-left: 5px;
}

/****Frontend Edit***********/
.techlib_frontend_edit_option {
    text-align: center;
    margin: 2px;
}

.techlib_frontend_edit_option button {
    width: 220px;
}

.techlib_show_label_filelist {
    position: relative; /*for toolbox*/
}

.techlib_form_title .toolbox_container, .techlib_show_label_filelist div.toolbox_container {
    position: absolute;
}

.techlib_label_label {
    font-weight: bold;
}

.techlib_form .techlib_dialog_widget {
    border-bottom: none;
    border-left: none;
    border-right: none;
    padding: 3px 10px 5px 4px;
    max-height: 100px;
    overflow-y: scroll;
}

.techlib_button_color.techlib_labels_form_button {
    background-color: transparent;
    background-repeat: no-repeat;
    border: medium none;
    height: 16px;
    width: 16px;
}
.techlib_button_color.techlib_labels_form_button:active {
    background-position: 1px 1px;
    height: 17px;
    width: 17px;
}

.colorpicker_wrapper{
    border: 1px solid grey;
    border-radius: 5px 5px 5px 5px;
    display: block;
    margin: 5px auto;
    padding: 5px 20px;
    text-align: right;
    width: 195px;
}
.techlib_input_label_name {
    border: 1px solid lightgrey;
    border-radius: 3px 3px 3px 3px;
}
.techlib_input_label_name:focus {
    border: 1px solid orange;
}
.drag_handle {
    background-image: url("drag_i.gif");
    background-repeat: no-repeat;
    background-size: 16px 16px;
}

.labels_colors {
    direction: ltr;
    text-align: left;
}
.existing_colors .color_option {
    border: 1px solid gray;
    display: inline-block;
    height: 20px;
    margin: 1px;
    width: 20px;
}
.module_catalogue.product_overview #dialogbox .tecfhlib_button_show_in_gallery{
    display: none;
}

.techlib_controls {
    white-space: nowrap;
}

.translation_file .techlib_icon, .translation_file .techlib_add_label, .translation_file .techlib_label_remove  {
    display: none;
}
