#inline-edit, .region-tree {background: none repeat scroll 0 0 #EDEDED; border: 2px solid #C6C6C6;  z-index: 100; padding: 8px 6px 8px 8px; display:block;display:none;}
#inline-edit{position: absolute;left:250px;top:100px;}
#inline-edit input 
{
	line-height: 16px;
    margin: 0 4px 0 0;
    padding: 2px 0;
}
.region-tree span.tree-cancel {display:block;float:right;cursor: pointer;height: 16px;width: 16px;
 background: url("../images/board.gif") no-repeat scroll -75px -103px transparent;}

.region-tree {width:300px; height:80%; position: fixed;right:265px;top:10%;}
.region-tree.popup {
    background: none;
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    border: none;
    padding: 0;
}
.region-tree.popup > div:last-child {
    background-color: #f9f9f9;
    height: 85%;
    margin: 3% auto;
    padding: 40px;
    position: relative;
    width: 425px;
    z-index: 1000;
}
.region-tree.popup ul.tree {
    width: 345px;
    margin: 0;
    top:70px;
    bottom: 70px;
}
.region-tree.popup .btns {
    bottom: 20px;
    position: absolute;
    width: 345px;
}
.region-tree.inline {display:block;position:relative;height:410px;left:0px;top:0px;border:none;background:none;}

.region-tree ul.tree
{
	border: 1px solid #C6C6C6;
	bottom: 32px;
	margin: 0 0 6px -9px;
	overflow-y: auto;
	position: absolute;
	top: 40px;
	width: 314px;
	background: white;
}
.region-tree.inline ul.tree{top:-1px;bottom:0px;height:100%;width:100%;border:none;background:none;}
.region-tree ul.tree * {padding: 1px 4px;}
.region-tree ul.tree label {margin:0px 4px;padding:3px 0 0;display: block;}
.region-tree ul.tree input {float:left;margin: 2px 4px 0 0;}
.region-tree span {color: blue;cursor: pointer;float: left;font-size: 18px;}
.btn {
    display: inline-block;
    height: 35px;
    padding: 0 15px;
    line-height: 35px;
    text-align: center;
}
.btn:hover {
    opacity: 0.7;
    text-decoration: none;
}
.btn > * {display: inline-block;}
.btn1 {
    display: inline-block;
    height: 32px;
    text-align: center;
    line-height: 30px;
}
.btn-block{width:100%;}
#loginform .btn1 {padding: 0;}
a.btn1:hover {text-decoration: none;}
div.btns
{
	padding: 1px 0px;
	position: absolute;
	width: 304px;
}
div.btns input
{
	padding: 1px 4px;
	margin: 1px 4px 0 0;
}
div.btns-t
{
	position:absolute;
	top:6px;
}
div.btns-t p
{
	padding: 0px 0;
	font-weight: bold;
	clear: none;
}
div.btns-b
{
	position:absolute;
	bottom:6px;
}

#buttons {
    margin-bottom: 20px;
}
.region-tree ul ul {
    margin: 0 !important;
    padding: 0 0 0 12px !important;
}
.region-tree li {
    list-style: none outside none; clear: both;
}
.region-tree ul.hide {
    display: none;
}
.region-tree span {
    color: #999999;
    font-family: "Courier New",Courier,monospace;
}
.region-tree li.node span{cursor:pointer;color:blue;font-size:18px;float:left;}

.collapse{font-size: 12px;
 margin: 0 7px 0 0;
 position: relative;
 width: 154px;}

div.p-item a.prev_a, div.p-item a.next_a{font-size:18px; float:left; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; padding:0; border:1px solid #cdcdcd; line-height:18px; overflow:hidden; text-decoration:none;cursor:pointer;width:19px;height:16px;
border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);-moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);}

div.p-item a.prev_a:hover, div.p-item a.next_a:hover{border:1px solid #3b8be7;}

div.p-item div.img-frame {height:80px;}

/*.p-item-box{clear:both; overflow:hidden; margin-bottom:-15px; }*/
.p-item-box {display: inline-block;}
#file_ctl > div, .image-pre {
    border: 1px solid #E1E1E1;
    display: inline-block;
    height: 144px;
    width: 144px;
    line-height: 140px;
    margin: 0 5px 5px 0;
    text-align: center;
    vertical-align: top;
    position: relative;
}
#file_ctl input[type="file"] {
    position: absolute;
    height: inherit;
    width: inherit;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1000;
}
#file_ctl i {
    background: url("../images/add_photo_icon.png") no-repeat scroll center center #EBEBEB;
    position: absolute;
    display: inline-block;
    height: 140px;
    width: 140px;
    top: 0;
    left: 0;
    margin: 1px;
}
.image-pre > img {
    display: inline-block;
    max-width: 140px;
    vertical-align: middle;
}
.image-pre > i {
    background-color: rgba(255, 255, 255, 0.7);
    bottom: 0;
    color: red;
    font-style: normal;
    height: 20px;
    left: 0;
    line-height: 1;
    padding: 3px 0;
    position: absolute;
    width: 100%;
    cursor: pointer;
    z-index: 1000;
}
.image-pre > i:before {
    background: url("../images/delete_icon.png") no-repeat;
    content: "";
    display: inline-block;
    height: 12px;
    width: 12px;
    margin-right: 5px;
    vertical-align: middle;
}
.p-item{display:block; vertical-align:top; margin:0 10px 25px 0; position:relative;width: 100px;float:left;}
.p-item img{display:block;}
.p-item p{font-size: 12px;color: #606060;border-bottom: 1px dashed #1247DE;display:inline;cursor:pointer}
div.ititle{clear:both;min-height:16px;overflow: hidden;border:1px solid #FFFFFF;}
div.ititle:hover{border: 1px solid rgb(161, 94, 27);}
a.del-img{background:url( ../images/del-cur.png) no-repeat left top;}
a.del-img{width:16px; height:16px; cursor:pointer; float:right; border:none; margin:2px 0 0 0;}
a.del-img:hover{border:0;}

.dict_control .dict_ctl{display:inline;}
.dict_control span.sandglass{display:inline;vertical-align: sub;}

.cb-ctl {white-space:nowrap;float:left;}
.cb-ctl label {vertical-align:2px;}

#preview{ position:absolute; border:1px solid #ccc; background:#333; padding: 0 5px 5px 0; display:none; color:#fff;	}
#preview img{ margin: 5px 0 0 5px;}
/*
.pf-content textarea.text-mess {
    width: 220px;
}*/
textarea.text-mess {
    height: 95px;
    overflow: auto;
    padding: 2px 0 2px 5px;
    width: 100%;
}
/*
input.short-text, select, textarea, input.code, .pic-code {
    border: 1px solid #7E9DB9;
}
*/
.pf-frame span {
    color: #CD1717;
}
.pf-frame .msg {
    font-size: 16px;
    font-weight: bold;
    margin: 30px 0;
}
.input-box span {
    clear: both;
    display: block;
}
input.code {
    float: left;
    font-size: 24px;
    padding: 6px 7px 7px;
    text-align: center;
    width: 89px !important;
    height: 40px;
}
.pic-code {
    float: left;
    margin: 0 0 0 10px;
	height: 40px;
}
.rubrics {
    clear: both;
    padding: 0 0 10px;
    position: relative;
}
.rubrics-left {
    float: left;
    font-size: 12px;
    padding-top: 2px;
    width: 163px;
    color: #606060;
}
.rubrics-right {
    margin-left: 163px;
    position: relative;
}
.input-box {
    padding: 0 10px 0 0;
    position: relative;
    text-align: left;
}

.rcatalog {
    background-color: #FFF;
    margin: 37px 0 0 0;
    border:1px solid #C6C6C6;
    padding: 15px;
    background: none repeat scroll 0 0 #FFF;
}

.sear_head {
    font-size: 17px;
    font-weight: bold;
    color: #353535;
}
.sear_head_icon {
    cursor: pointer;
    display: block;
    float: left;
    height: 16px;
    margin-right: 4px;
    width: 16px;
    background: url("../images/board.gif") no-repeat scroll -19px 0 transparent;
}
/*
.search_param {
    margin-bottom: 5px;
    background: none repeat scroll 0 0 #FFF4E0;
}*/
.params {margin:0}
.params li {
    line-height: 12px;
    position: relative;
}
li#fg_total {
    border-bottom: 1px solid #c6c6c6;
    margin-bottom: 15px;
}
ul.params a.flt_group {
    color: #353535;
/*    cursor: pointer;
    height: 8px;*/
    position: relative;
}

.params a.flt_group, ul.params a.flt_bb {
    background: none repeat scroll 0 0 #FFF;
    display: block;
    font-family: Tahoma,Geneva,sans-serif;
    font-weight: bold;
    font-size: 14px;
    position: relative;
    text-decoration: none;
}
ul.params ul {
    padding: 10px 0;
    background: #FFF;
}
ul.params span.expand.open {
    background: url("../images/board.gif") no-repeat scroll -31px -19px transparent;
    width: 12px;
}
.params span.expand {
    background: url("../images/board.gif") no-repeat scroll -10px -19px transparent;
    height: 16px;
    left: 7px;
    position: absolute;
    width: 10px;
}
.params ul input.flt {
    height: 15px;
    left: 1px;
    position: absolute;
    top: -2px;
    width: 15px;
}
ul.params ul li {
    clear: both;
    font-size: 11px;
    margin: 5px 0;
    text-decoration: none;
    vertical-align: top;
}
ul.params ul label {
    display: block;
    font-size: 11px;
    color: #1247DE;
}
ul.params ul li a {
    font-family: Tahoma,Geneva,sans-serif;
    text-decoration: none;
    font-size: 12px;
}
.fcity > span, .fcat > span {
    color: gray;
}
/*
a.city, a.fcat, a.fcity, span.city {
    color: #000000;
    font-size: 11px;
}
a.fcity:hover, a.fcat:hover{text-decoration:none;color:#000000;}*/
span.icon-region-tree {
    cursor: pointer;
    display: inline-block;
    height: 19px;
    margin-right: 4px;
    vertical-align: middle;
    width: 19px;
    background: url("../images/region_icon.png") no-repeat;
}
a.btn-region-tree {
    cursor: pointer;
    margin-right: 8px;
}
a.dashed {
    border-bottom: 1px dashed;
    text-decoration: none;
}
div.fdate {
    cursor: pointer;
    margin-bottom: 10px;
    width: 170px;
}
input.date {
/*    border: 1px dotted #A15E1B;*/
    float: right;
    font-size: 10px;
    width: 90px;
}
li.reg_ch_btn {
    width: 165px;
}
li.reg_ch a.login {
    display: block;
    float: none;
    text-align: center;
	font-size: 18px;
}
li.reg_ch_btn .login {
    padding: 10px 7px;
}
a.login{float:right;font-size:18px; padding:4px 25px; position:relative;text-decoration:none;
background:#ffd34c;color:#513128;border:1px solid #d2a92e;
border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;white-space:nowrap;display:block;float:left;
}
ul.params ul li a.txt-date {
    line-height: 28px;
    margin-left: 5px;
}
.ui-datepicker-trigger {
    float: left;
    margin-top: 7px;
}

.ui-widget {font-size: 0.9em !important;}
ul.ui-menu
{
	background: #fff/*#FFF4E0*/;
	border: 1px solid #e1e1e1;
	border-radius: 0;
	box-shadow: 0 3px 3px 0 #767676;
	color: #333333;
/*	font-weight:bold;*/
	padding: 0;
	margin: -2px 0 0 -10px;
	font-family: Arial;
	z-index: 3 !important;
}
li.ui-menu-item a
{
	cursor:pointer;
	color: black;
}
li.ui-menu-item a.ui-corner-all
{
	font-size: 12px;
	font-weight: normal;
	padding: 0.2em 10px;
}
.ui-corner-all > strong {
    font-weight: bold;
}
a.ui-state-active, a.ui-state-hover, a.ui-state-focus
{
    background: #f1f1f1 !important;
    border: none !important;
    border-radius: 0 !important;
    color: #333 !important;
}

.popup-link {
    border-bottom: 1px dashed;
    color: #0973BB;
    cursor: pointer;
}
#TB_window {
	font: 12px Arial, Helvetica, sans-serif;
	color: #333333;
}
#TB_window input[type="text"], input[type="password"] {width: 100%;}
#TB_secondLine {
	font: 10px Arial, Helvetica, sans-serif;
	color:#666666;
}

#TB_overlay {
	position: fixed;
	z-index:1000;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
.TB_overlayBG {
    background-color: rgba(0, 0, 0, 0.4);
/*	background-color:#F2D9B1;
	filter:alpha(opacity=10);
	-moz-opacity: 0.5;
	opacity: 0.4; */
}

* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_window {
	position: fixed;
	background: #ffffff;
	z-index: 1002;
	color:#000000;
	display:none;
	border: 2px solid #383838;
	text-align:left;
	top:50%;
	left:50%;

	/* Для хороших браузеров уголки*/
	-moz-border-radius: 3px; /* Firefox */
	-webkit-border-radius: 3px; /* Safari, Chrome */
	-khtml-border-radius: 3px; /* KHTML */
	border-radius: 3px; /* CSS3 */
}
#TB_window .err {
    background: none repeat scroll 0 0 #ec4e29;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 3px;
    text-align: center;
}
#TB_window .form-err {
    background: none repeat scroll 0 0 #ec4e29;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 3px;
    text-align: center;
}
* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_window img#TB_Image {
	display:block;
	margin: 15px 0 0 15px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #666;
	border-left: 1px solid #666;
}

#TB_caption{
	height:25px;
	padding:7px 30px 10px 25px;
	float:left;
}

#TB_closeWindow{
	height:25px;
	padding:11px 25px 10px 0;
	float:right;
}

#TB_closeAjaxWindow{
	padding:4px 5px 4px 0;
	margin-bottom:1px;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle{
	float:left;
	padding: 14px 0 0 45px;
	margin-bottom:1px;
}

#TB_title{
	background-color: white;
	font-size:20px; 
	font-weight:bold;
	margin:4px;
}

#TB_ajaxContent{
	clear:both;
	padding: 40px 45px 75px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}

#TB_ajaxContent p{
	padding:5px 0px 5px 0px;
}
#TB_ajaxContent h4 {font-weight: bold;margin: 0;}

#TB_load{
	position: fixed;
	display:none;
	height:13px;
	width:208px;
	z-index:1003;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_HideSelect{
	z-index:999;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_iframeContent{
	clear:both;
	border:none;
	margin-bottom:1px;
	margin-top:1px;
	_margin-bottom:1px;
}

/* ====== SELECT ====== */
.select {
    display: inline-table;
    position: relative;
    white-space: nowrap;
    width: 100%;
}
.select > span {
    background: none repeat scroll 0 0 #FFF;
    border-color: #E1E1E1;
    border-style: solid;
    border-width: 1px 0 1px 1px;
    display: table-cell;
    height: 28px;
    padding: 5px;
    vertical-align: top;
    color: #000;
}
.select > .arr {
    background: url("../images/down_arr_b.png") no-repeat center center #fff;
    display: table-cell;
    height: 28px;
    width: 35px;
    border: 1px solid #E1E1E1;
    cursor: pointer;
}
.select input.freeinput {
    border-right: medium none;
    vertical-align: top;
    width: 245px;
}
.options {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #E1E1E1;
    left: 0;
    position: absolute;
    top: 27px;
    width: 100%;
    max-height: 400px;
    overflow: auto;
    z-index: 5000;
}
.options > span {
    color: #000;
    display: block;
    margin: 5px 10px;
    cursor: pointer;
}
.options .popup-link {border: none;}

.select + .io_show {
    background: #efefef;
    border: 1px solid #e1e1e1;
/*    display: table-cell;*/
    min-height: 28px;
/*    margin-left: 5px;*/
    padding: 5px;
    visibility: hidden;
}

table.ftf {
    margin-left:-210px;
    width:725px;
    margin-top:10px;
    border-spacing: 0 3px;
}
.ftf th {
    background: none repeat scroll 0 0 #F7F7F7;
    color: #828282;
    padding: 7px;
}
.ftf td {
    border-bottom: 1px solid #E8E8E8;
    padding: 7px;
    vertical-align: top;
}
.ftf tr:nth-child(2) td {border-top: 1px solid #CBCBCB;}
.mod-item, .del-item {
    display: block;
    margin: 5px 0;
    white-space: nowrap;
}
.mod-item:hover, .del-item:hover {text-decoration: none;}
.del-item:before, .mod-item:before  {
    content: "";
    display: inline-block;
    width:12px;
    height:12px;
    margin-right: 5px;
    vertical-align: middle;
}
.del-item:before {background: url("../images/delete_icon.png") no-repeat center center;}
.mod-item:before {background: url("../images/edit_icon.png") no-repeat center center;}
.mod-item > span, .del-item > span {border-bottom: 1px dashed;}


.acl, .acl > span {border-bottom: 1px dashed;}
.acl:hover {text-decoration: none;}


#cat_chooser .cpath li:nth-child(n+2):before {content: " > ";}
#cat_chooser .cpath li {
    color: #0973bb;
    display: inline;
    font-size: 14px;
    font-weight: bold;
}
#cat_chooser .cpath li:not(.last) span {border-bottom: 1px dashed;}
#cat_chooser .cpath li.last.done {
    background: url("../images/check_blue.png") no-repeat right center;
    padding-right: 20px;
}
#cat_chooser .clist {
    background-color: #e8e8e8;
    border: 1px solid #0973bb;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    border-spacing: 8px 5px;
}
#cat_chooser .clist li {width: 230px;}
#cat_chooser .clist .row {
    background-color: #fff;
    display: table-cell;
    overflow-x: hidden;
    overflow-y: auto;
}
#cat_chooser .clist .row li {
    background-image: url("../images/angarr_r_s_g.png");
    background-position: 97% center;
    background-repeat: no-repeat;
    display: block;
    padding: 2px 26px 2px 8px;
    cursor: pointer;
    white-space: normal;
}
#cat_chooser .clist .row li.last {background-image: none;}
#cat_chooser .clist .row li:hover, #cat_chooser .clist .sel {
    background-color: #86c8f5;
    color: #fff;
}
#cat_chooser .clist .sel.last {background-image: url("../images/check.png") !important;}
#csq {
    border: 1px solid #0973bb;
    height: 32px;
    margin-right: 5px;
    width: unset;
}
#cat_chooser .input-description {color: #acacac;}
#cat_chooser .next {margin-bottom: 20px; padding: 0 15px;}
#cat_chooser .csb {padding: 0 15px;}

#fg_price > div {
    white-space: nowrap;
    width: 100%;
    margin: 15px 0;
}
#fg_price > div > * {margin-right: 7px;}
#fg_price input {width: 65px;}
