/* =================== file dialog css =================*/
div.fd_window{text-align: left;}
div.fd_window{border : 1px solid #848484;background-color: #ffffff;}
div.editor_dialog tr.bxfd-det-view-head td{height: 18px !important; background-color: #D7D7D7 !important; white-space: nowrap !important; padding: 1px 2px 1px 5px !important;}
div.editor_dialog tr.bxfd-det-list-row td{white-space: nowrap !important; padding: 1px 3px !important;}
div.bxfd-prev-cont{margin: 4px;float: left;border : 1px solid #C6C6C6; width: 160px; height: 150px}
div#bxfd_selected_element_preview {background-color: #B6B6B8 !important;}
.fd_select{font-size: 11px;background-color: #F4F4F4;}
.fd_input {background-color: #F4F4F4; width: 100%; font-size:12px !important;}
table.fd_tab_title {border-collapse: collapse; border-width: 0px; width:95% !important; padding:0px !important;}
table.fd_tab_title td {padding:5px !important;}
table.fd_tab_title td.title {color:#494949 !important; font-family:Arial,helvetica,sans-serif !important; font-size:12px !important; font-weight:var(--ui-font-weight-bold) !important; padding:5px 0px !important; width:100% !important; }
table.fd_tab_title td.delimiter {background-image: url(/bitrix/images/main/file_dialog/title_dot.gif) !important; background-position:left top !important; background-repeat:repeat-x !important; height:5px !important; padding:0px !important; }
#BX_file_dialog  div.site_selector_div span{color: #666633 !important; margin: 3px 1px 1px 1px !important;}

#BX_file_dialog div.site_selector_div{border: 1px solid #ADADAD !important; padding-top: 1px !important; color: #666633 !important; height: 16px !important; white-space:nowrap}

#BX_file_dialog span.site_selector_div_arrow{width: 16px !important; height: 16px !important; background-position: -219px -22px !important;}

.fd_iconkit{background-image: url(/bitrix/images/main/file_dialog/_fd_iconkit.gif) !important; background-repeat: no-repeat !important;}

#BX_file_dialog img.go_button{background-position: -104px -2px !important; width: 16px !important; height: 16px !important;}
#BX_file_dialog img.path_back_dis{background-position: -164px -22px !important; width: 12px !important; height: 16px !important;}
#BX_file_dialog img.path_back{background-position: -164px -2px !important; width: 12px !important; height: 16px !important;}
#BX_file_dialog img.path_forward_dis{background-position: -185px -22px !important; width: 12px !important; height: 16px !important;}
#BX_file_dialog img.path_forward{background-position: -185px -2px !important; width: 12px !important; height: 16px !important;}
#BX_file_dialog img.dir_path_up{background-position: -123px -2px !important; width: 16px !important; height: 16px !important;}
#BX_file_dialog img.dir_path_up_dis{background-position: -143px -2px !important; width: 16px !important; height: 16px !important;}
#BX_file_dialog img.dir_path_root{background-position: -43px -1px !important; width: 16px !important; height: 16px !important;}
#BX_file_dialog img.new_dir{background-position: -82px -2px !important; width: 18px !important; height: 16px !important;}
#BX_file_dialog img.new_dir_dis{background-position: -62px -2px !important; width: 18px !important; height: 16px !important;}
#BX_file_dialog img.refresh{background-position: -231px -3px !important; width: 18px !important; height: 16px !important;}
#BX_file_dialog img.view_selector{background-position: -205px -3px !important; width: 22px !important; height: 16px !important;}
#BX_file_dialog img.sort_up{background-position: -3px -2px !important; width: 18px !important; height: 17px !important;}
#BX_file_dialog img.sort_down{background-position: -23px -2px !important; width: 18px !important; height: 17px !important;}

/*--  Tabs   --*/
.fd_tabs_0a{background-position: -2px 0px !important;}
.fd_tabs_0p{background-position: -9px 0px !important;}
.fd_tabs_a{background-image: url(/bitrix/images/main/file_dialog/tabs/a.gif) !important; background-repeat:repeat-x !important; color: #242424 !important;}
.fd_tabs_p{background-image: url(/bitrix/images/main/file_dialog/tabs/p.gif) !important; background-repeat:repeat-x !important; color: #393939 !important;}
.fd_tabs_pd{background-image: url(/bitrix/images/main/file_dialog/tabs/p.gif) !important; background-repeat:repeat-x !important; color: #a8a8a8 !important;}
.fd_tabs_0{background-image: url(/bitrix/images/main/file_dialog/tabs/0.gif) !important; background-repeat:repeat-x !important;}
.fd_tabs_ap{background-position: -40px 0px !important;}
.fd_tabs_pa{background-position: -52px 0px !important;}
table.tab-content-table .fd_tabs_a span, table.tab-content-table .fd_tabs_p span, table.tab-content-table .fd_tabs_pd span{white-space: nowrap !important;}
td.bxfd-win-item{text-align:left; cursor: default; width: 100%;}
td.bxfd-win-item span.title,span.bxfd-tree-item {color:#242424; margin:1px; padding:1px; cursor: pointer;}
td#bxfd_selected_element_title span.title, span.bxfd-tree-item-sel{background-color: #B6B6B8 !important; color:black!important; border: 1px solid #F0F0F0!important; padding:1px!important; cursor: default!important;}
table.bx-file-dialog {width:750px !important; height:456px !important; padding:0px !important; border:0 !important; border-collapse: collapse !important;}
table.bx-file-dialog td{padding:0px !important;}
table.tab-content-table {border-collapse:collapse !important; width:100% !important; height:27px !important; border-spacing:0 !important; padding:0 !important; background-color: #F4F4F4!important;}
table.tab-content-table td{padding:0 !important;}
table.bx-file-dialog td.tree-node-folding {padding: 4px 2px 0px 2px !important; vertical-align: top !important; }
table.bx-file-dialog td.tree-node-icon {padding: 1px 2px 0px 2px !important; vertical-align:top !important;}
table.bx-file-dialog td.tree-node-name {padding: 1px 1px 0px 2px !important; cursor:default !important; vertical-align:top !important;}
table.bx-file-dialog td.bx-valign-top {vertical-align:top !important;}
table.bx-file-dialog td.bxfd-cntrl-cell {height:27px !important; padding: 1px 0 0 0 !important; vertical-align: middle !important;}
div.editor_dialog  table.bx-fd-top-contr-tbl{width:100% !important; height:27px !important; border-collapse: collapse; padding: 0px !important;}
div.editor_dialog  table.bx-fd-top-contr-tbl td{padding: 0px !important; height:27px !important;}
td.bx-fd-buttons-cont{height:0% !important; padding: 0px 0px 9px 0px !important; text-align:right !important;}
td.bx-fd-buttons-cont input{width:100px !important;}

.fd_tabs_a0{background-position: -20px 0px !important;}
.fd_tabs_p0{background-position: -30px 0px !important;}

div.editor_dialog {background-color:#F4F4F4; border:1px solid #A9A9A9;}
div.editor_dialog td {padding:0px !important; font-size:11px !important;}
div.editor_dialog div.content {height:100%; overflow:hidden;}
/*title*/
div.editor_dialog div.title {background-color:#23468A; background-image:url(images/fileman/editor_dialog/title_bg.gif); background-repeat:repeat-x; background-position:left top; border-bottom:1px solid #A9A9A9;}
div.editor_dialog div.title td.title-text {font-size:11px !important; font-weight:var(--ui-font-weight-bold) !important; color:#EEF1F7 !important; padding:3px !important; cursor:move !important; vertical-align:top !important;}
div.editor_dialog a.close {display:block; width:13px; height:13px; background-image:url(images/fileman/editor_dialog/close.gif); overflow:hidden; margin:3px; background-repeat:no-repeat; background-position:center;}
tr.heading_dialog td {color:#525355 !important; text-align:center !important; font-weight:var(--ui-font-weight-bold) !important; background-color:#E0E4F1 !important;}
table.dialogprops tr td {padding: 5px 0px 5px 0px !important;}

td.popupmenu {border:1px solid #B6B6B6 !important; padding:1px !important; background-color:#FCFCFC !important; background-image:url(/bitrix/themes/.default/images/menu_gutter.gif) !important; background-repeat:repeat-y !important;}
td.popupmenu div.popupitem {width:100% !important; margin:1px !important; cursor:default !important;}
td.popupmenu div.popupitemover {margin:0px !important; border:1px solid #AEB6C2 !important; background-color:#CEDAEE !important;}
td.popupmenu div.popupitem td.gutter {width: 22px !important;}
td.popupmenu div.popupitem td.item {padding:3px 5px 3px 9px !important; font-size:11px !important; white-space: nowrap !important;}
td.popupmenu div.popupitem td.default {font-weight:var(--ui-font-weight-bold) !important;}
td.popupmenu div.popupitem td.disabled {color:#939393 !important;}
td.popupmenu div.popupseparator {margin:1px 0px 1px 30px; background-color:#B6B6B6; height:1px; overflow:hidden;}
td.popupmenu div.popupitem div.icon {width:22px; height:20px; background-position:center; background-repeat:no-repeat;}
td.popupmenu div.popupitem div.checked {background-image:url(images/checkbox.gif) !important;}

form#file_dialog{padding:0px !important; margin:0px !important;}
td#__bx_tab_cont{height:53px !important; vertical-align: top !important;}
div#__bx_get_real_size_cont{position:absolute; visibility: hidden; top: 500px; left: 300px;}
div.bxfd-add-2-menu-tab{padding: 0px 0px 0px 16px; border: 0px solid black; display:none;width:735px;height:100%}
table.bx-fd-add-2-menu-tbl{width:722px !important;height:100% !important; border-width: 0px !important;}

div.bxfd-tree-cont-div {width: 181px; height: 250px !important; overflow: auto !important;}
div.bxfd-tree-cont-div table {border-collapse: collapse !important;}

input#bx_fd_tmp_focus_inp {width: 1px !important; font-size: 2px !important; height: 1px !important; border-width: 0px !important;}
div#__BXFDContextMenu{position: absolute; z-index: 2500; left: -1000px; top: -1000px; visibility: hidden;}
iframe#bxfd_ifrm_flash {width: 90px; height: 90px; padding: 0px !important; border-width: 0px !important; margin: 0px !important;}
div#bxfd_addInfoContainer{width:150px; padding-left:10px; white-space: nowrap !important;}
div#bxfd_previewContainer{margin-left:5px !important; text-align: center !important; padding-top: 5px !important; height:105px;}
iframe#bxfd_iframe_upload{width : 100% !important; border-width: 0px !important; height: 140px !important;}
div#bxfd_upload_container{width:100% !important; height:132px!important; padding-left:200px !important; border-width: 0px !important;}
img.bxfd-add-to-menu-icon{width:32px; height:32px; background-image:url(/bitrix/themes/.default/icons/main_user_edit.gif);}
div.editor_dialog td.bxfd-tree-cont {width:25% !important; height:250px !important; padding:0px 3px 0px 5px !important;}
div.editor_dialog td.bxfd-window-cont {width:70% !important; height:250px !important; padding:0px 0px 0px 0px !important;}
div.editor_dialog td.bxfd-window-cont  div.fd_window{width:100% !important; height:250px !important; overflow: hidden !important;}
div.editor_dialog  div.bxfd-save-cont table {width: 100% !important; height: 100% !important; border-collapse: collapse;}
div.editor_dialog div.bxfd-save-cont table td.bxfd-sc-cell{width:100% !important; vertical-align:top !important; height: 55px !important; padding-top: 3px !important}
div.editor_dialog div.bxfd-save-cont table td.bxfd-sc-cell2{width:50% !important; padding-right:11px !important; text-align:left !important; vertical-align:middle !important;}
div.editor_dialog div.bxfd-save-cont table td.bxfd-sc-cell3{width:50% !important; padding-right:11px !important; text-align:right !important; vertical-align:bottom !important;}

div.editor_dialog table.add2menuTable{border-collapse: collapse; border-width: 0px; padding: 0px; width:450px !important; margin-left:190px !important; display: none !important;}
table.add2menuTable td, table#add2menuTable_check td {padding: 8px !important;}
div.bxfd-win-cont{overflow: auto; height: 100%; width: 544px;}

iframe.bxfd-sys-frame{position: absolute; z-index: 2495; left: -2000px; top: -2000px; visibility: hidden;}

