.load {
	background:url(../images/ajax3.gif);
}

.new, .cancel, .comply, .deliver, .finish, .certify {
	border:1px #000000 solid;
	padding:5px;
	padding-left:20px;
	padding-right:20px;
}
.new {background:#33CCFF}
.cancel {background:#CC0033}
.comply {background:#999999}
.deliver {background:#339933}

#stick-box-title {
	cursor:move;
}
#stick-box-close {
	cursor:pointer;
}
.free-code {
	background:#E4E4E4;
}
#choice-products {
	max-height:350px;
	overflow:auto;
}
#txtFileName {
	color:#666699;
	font-size:14px;
	font-weight:bold;
}
#last-edit{
	background:#33CC66;
}
.current {
	background:#8DBBF3;	
	color:#CC0000;
	font-weight:bold;
}
.header {
	background:#000000;
	color:#FFFFFF;
	font-weight:bold;
}
.refer {
}
.errors {
	font-weight:bold;
	color:#CC0000;
}
.addFrame {
	width:100%;
	height:500px;
	border:0px;
}
#loader {
	position:fixed;
	left:55%;
	top:400px;
}
body{
padding:0;
margin:0 auto;
font-family:arial;
font-size:11px;
width:100%;
background:#FFF;}
.clearl {clear:left; padding:0; margin:0;}
.clearb {clear:both; margin:0; padding:0; height:0; display:block; #display:compact;}
.clearr {clear:right; padding:0; margin:0;}
a,a:hover,a:visited{
font-size:12px;
color:#3a65a0;
text-decoration:none;
}
td {
padding:0;
vertical-align:top;
}
h2{
margin:0px;
padding:0px;
font-size:16px;
}
h3{
font-size:14px;
margin-bottom:5px;}
img{
border:none;}
.header{
background:url(../images/header.png) repeat-x;
height:45px;
width:100%;
min-width:970px;
}
.logo a,.logo a:hover,.logo a:visited{
background:url(../images/logo.png) no-repeat;
width:180px;
height:40px;
float:left;
display:block;
margin:0px 10px;
}
.menu_main_li ul {width: auto; margin:0; padding:0; list-style-type:none;
margin:8px 0 0 15px;
float:left;}
.menu_main_li li {float:left; margin-right:1px;padding: 0 6px 0 0;}
.menu_main_li ul a,.menu_main_li ul a:visited{float: left; display: block; font-weight:bold; /* color:#BF0000; */ padding: 5px 1px 7px 1px; font-size:15px;color:#FFF;}
.menu_main_li ul li.current {float:left; margin-right:1px;padding: 0 8px 0 0;background:url(../images/menu.png) 100% 0px no-repeat; color:#386a97;}
.menu_main_li ul li.current a,.menu_main_li ul li.current a:visited {float: left; display: block; font-weight:bold;padding: 5px 2px 8px 10px; background:transparent url(../images/menu.png) 0% 0px no-repeat; font-size:15px;color:#386a97;}
.menu_main_li ul li.current a:hover {background:transparent url(../images/menu.png) 0% 0px no-repeat; font-size:15px; color:#386a97;}

.menubox{
position:absolute;
width:350px;
background:#FFF;
border:4px solid #CCC;
height:300px;
top:50px;
left:15px;
padding:10px;
-moz-border-radius-bottomleft:0.6em;
-moz-border-radius-bottomright:0.6em;
-moz-border-radius-topleft:0.6em;
-moz-border-radius-topright:0.6em;}
.menuboxs{
position:absolute;
width:180px;
background:#FFF;
border:2px solid #0a9afa;
top:33px;
left:155px;
-moz-border-radius-topleft:0.4em;
-moz-border-radius-topright:0.4em;
-moz-border-radius-bottomleft:0.4em;
-moz-border-radius-bottomright:0.4em;}
.menuboxs ul{
list-style:none;
margin:0px;
padding:0px;}
.menuboxs ul li{
margin:0px;
padding:0px;
}
.menuboxs ul li a{
margin:0px;
padding:5px 5px 5px 10px;
display:block;
}
.menuboxs ul li a:hover{
background: #0c2834;
color:#FFF;
display:block;
width:165px;
font-weight:bold;}
.messages{
background:#FFF9E9;
color:#333;
border:1px solid #EEE2BE;
padding:5px 0px;}
.exclam{
background:url(../images/exclam.png) no-repeat;
width:20px;
height:20px;
float:left;
margin:-5px 10px 0 10px;}
.messages a,.messages a:hover,.messages a:visited{
color:#a76727;
margin:0 5px;}
.m_right{
float:right;
margin:0 5px;}
.content h2{
margin:15px;}
.items{
margin:0 12px;}
.time{
float:right;
-moz-border-radius-topleft:0.4em;
-moz-border-radius-topright:0.4em;
-moz-border-radius-bottomleft:0.4em;
-moz-border-radius-bottomright:0.4em;
background:#FFF;
padding:2px 3px;
border:1px solid #CCC;
margin:8px 10px;}
.time a,.time a:hover,.time a:visited{
color:#333;
text-decoration:none;
background:url(../images/clock.png) no-repeat;
padding:3px 0 0 25px;
display:block;
height:17px;
font-size:11px;}
h2.dashboard{
float:left;
height:20px; 
margin:0px;
width:250px;
padding:0px;

}
.db,.catal,.nacenki,.add_tovar{background:url(../images/dashboard.png) no-repeat;
float:left;
margin:10px 15px;
padding:0px 0 0 40px;
height:35px;
}
.add_tovar{background:url(../images/add_tovar.png) no-repeat;}
.nacenki{background:url(../images/nacenki.png) no-repeat;
}
.catal{background:url(../images/catalog.png) no-repeat;
height:38px;
padding:0px 0 0 43px;}
.opt{
margin:0px;
padding:0px;}
.content{
background:#f2f2f2;}
.switcher {
background:#E7EFEF none repeat scroll 0 0;
border:1px solid #CDDDDD;
margin-bottom:10px;
padding:10px;
}
tr.nm_table td{
padding:5px;}
.add_new_tovar{float:right;}
.add_new_tovar a,.add_new_tovar a:visited,.add_new_tovar a:hover{
background:url(../images/new.png) no-repeat -4px 0px;
display:block;
width:225px;
height:39px;
}
.add_article{
float:left;
width:300px;}
.add_article a,.add_article a:visited,.add_article a:hover{
background:url(../images/add_article.png) no-repeat 0px 11px;
width:98px;
height:39px;
display:block;
float:left;}
.add_sobnov{
width:140px;
height:10px;
display:block;
float:left;
margin:18px 0 0 10px;
}
.add_sobnov input{
margin:0 5px 0 0;
#margin:-3px 5px 0 0;
float:left;}
dl.accordion dt, .entry-edit .entry-edit-head {
background:#2384bc none repeat scroll 0 0;
padding:2px 10px;
-moz-border-radius-topleft:0.3em;
-moz-border-radius-topright:0.3em;
}
.box, .entry-edit fieldset, .entry-edit .fieldset {
background:#FAFAFA none repeat scroll 0 0;
border:1px solid #D6D6D6;
}
.box, .entry-edit fieldset, .entry-edit .fieldset {
margin-bottom:15px;
padding:10px 15px;
}
.bold {
font-weight:bold !important;
}
.a-center {
text-align:center !important;
}
fieldset {
border:0 none;
}
* {
margin:0;
padding:0;
}
ul.tabs-horiz {
background:#F8F8F8 url(../images/horiz_tabs_ul_bg.gif) repeat-x scroll 0 100%;
margin:0 0 18px;
padding:8px 0 0 5px;
}
ul, ol {
list-style-image:none;
list-style-position:outside;
list-style-type:none;
}
ul.tabs-horiz li {
float:left;
margin:0 4px;
}

ul.tabs-horiz li a.active {
background:#FFFFFF none repeat scroll 0 0;
border-bottom:1px solid #FFFFFF;
}
ul.tabs-horiz li a {
background:#E2E2E2 none repeat scroll 0 0;
border:1px solid #CCCCCC;
color:#333333 !important;
display:block;
padding:5px 10px;
text-decoration:none !important;
}
table td {
border-color:#DADFE0;
border-style:solid;
border-width:0 0px 1px 0;
}
.grid th, .grid td {
padding:2px 4px;
}
dl.accordion dt, .entry-edit,.entry-edit-head {
padding:2px 10px;
}
.grid                           { position:relative; border-bottom:0; padding-bottom:.5em; }
.grid table                     { width:100%; border:1px solid #cbd3d4; border-bottom:none; }
.grid table.border              { border:1px solid #cbd3d4; }
.grid tbody                     { background:#fff; }    /* Zebra odd-row */
.grid tr.even, .grid tr.even tr { background:#f6f6f6; } /* Zebra even-row */
.grid tr.on-mouse               { background:#fcf5dd; cursor:pointer; } /* Rows mouse-over */
.grid tr.invalid                { background-color:#d3a5ba !important; }
.grid th, .grid td              { padding:2px 4px 2px 4px; }
.grid th                        { white-space:nowrap; }
.grid td input.input-text       { width:86%; }
.grid table td                  { border-width:0 1px 1px 0; border-color:#dadfe0; border-style:solid; vertical-align:middle;}
.grid table.border td           { background:#fff !important; }
.grid table td.last             { border-right:0; }
.grid table td.product          { text-align:right; }
.grid table td.empty-text       { padding:15px; }
.grid table td .action-select   { width:100%; } 
.grid .separator                { padding:0 4px; color:#b9b9b9; }

.grid tbody.odd tr              { background:#fff !important; }
.grid tbody.even tr             { background:#f6f6f6 !important; }
.grid tbody.odd tr td,
.grid tbody.even tr td          { border-bottom:0; }
.grid tbody.odd tr.border td,
.grid tbody.even tr.border td   { border-bottom:1px solid #dadfe0; }


/* Grid - Pager and Buttons row */
table.actions                   { width:100%; margin:.5em 0; }
table.actions td                { vertical-align:top; }
.pager select                   { width:4em!important; margin:0 4px; }
.pager input.page               { width:2em !important; }
.pager .arrow                   { margin:0 3px; vertical-align:middle; }


/* Grid - Headings */
.grid tr.headings { background:#bad5e4;}
.grid tr.headings th { border-width:1px; border-color:#f9f9f9 #d1cfcf #f9f9f9 #f9f9f9; border-style:solid; padding-top:1px; padding-bottom:0; font-size:.9em; }
.grid tr.headings th.last { border-right:0; }
.grid tr.headings th.no-link { /* Grid th with no sorting functionality */ padding-top:2px; padding-bottom:1px; color:#67767e; }
.grid tr.headings th span.nobr { display:block; /* FF3 fix */ }
.grid tr.headings th a { display:block; padding:2px 4px 1px 0; color:#2d444f; text-decoration:none; }
.grid tr.headings th a:hover { color:#d85909; text-decoration:none; }
.grid tr.headings th a.sort-arrow-desc,
.grid tr.headings th a.sort-arrow-asc { background:#185a80; border-bottom:1px solid #fff; border-right:1px solid #fff; padding-bottom:2px;width:100%;}
.grid tr.headings th span.sort-title { display:block; padding:3px 12px 4px 0; line-height:1; }
.grid tr.headings th a.sort-arrow-desc span.sort-title,
.grid tr.headings th a.sort-arrow-asc span.sort-title { background-position:right 50%; background-repeat:no-repeat; padding:3px 12px 2px 8px; }
.grid tr.headings th a.sort-arrow-desc span.sort-title { background-image:url(../images/h_arr.png); color:#FFF;}
.box, .entry-edit fieldset, .entry-edit .fieldset {
background:#FAFAFA none repeat scroll 0 0;
border:1px solid #D6D6D6;
}
.box, .entry-edit fieldset, .entry-edit .fieldset {
margin-bottom:15px;
padding:10px 15px;
}
.grid tr.even, .grid tr.even tr {
background:#F6F6F6 none repeat scroll 0 0;
}

/* TABLES
*******************************************************************************/

/* Grid - General */
.grid                           { position:relative; border-bottom:0; padding-bottom:.5em; }
.grid table                     { width:100%; border:1px solid #cbd3d4; border-bottom:none; }
.grid table.border              { border:1px solid #cbd3d4; }
.grid tbody                     { background:#fff; }    /* Zebra odd-row */
.grid tr.even, .grid tr.even tr { background:#f6f6f6; } /* Zebra even-row */
.grid tr.on-mouse               { background:#fcf5dd; cursor:pointer; } /* Rows mouse-over */
.grid tr.invalid                { background-color:#d3a5ba !important; }
.grid th, .grid td              { padding:2px 4px 2px 4px; }
.grid th                        { white-space:nowrap; }
.grid td input.input-text       { width:86%; }
.grid table td                  { border-width:0 1px 1px 0; border-color:#dadfe0; border-style:solid; }
.grid table.border td           { background:#fff !important; }
.grid table td.last             { border-right:0; }
.grid table td.product          { text-align:right; }
.grid table td.empty-text       { padding:15px; }
.grid table td .action-select   { width:100%; }
.grid .separator                { padding:0 4px; color:#b9b9b9; }

.grid tbody.odd tr              { background:#fff !important; }
.grid tbody.even tr             { background:#f6f6f6 !important; }
.grid tbody.odd tr td,
.grid tbody.even tr td          { border-bottom:0; }
.grid tbody.odd tr.border td,
.grid tbody.even tr.border td   { border-bottom:1px solid #dadfe0; }


/* Grid - Pager and Buttons row */
table.actions                   { width:100%; margin:.5em 0; }
table.actions td                { vertical-align:top; }
.pager select                   { width:4em!important; margin:0 4px; }
.pager input.page               { width:2em !important; }
.pager .arrow                   { margin:0 3px; vertical-align:middle; }


/* Grid - Mass Action */
.massaction { width:100%; height:26px; border:1px solid #d1cfcf; border-bottom:none; background:#ebebeb; font-size:.9em; 
-moz-border-radius-topleft:0.6em;
-moz-border-radius-topright:0.6em;}
.massaction td                              { width:50%; padding:5px 8px; vertical-align:middle; }
.massaction .entry-edit fieldset .select    { width:120px; display:inline; }
.massaction .entry-edit fieldset            { margin:0; padding:0; background:none; border:none; }
.massaction .entry-edit fieldset .field-row { display:inline; }
.massaction .entry-edit .field-row label    { float:none; width:auto; margin-left:13px; }
.massaction .entry-edit                     { margin:0 !important; padding:0; }
.massaction a { text-decoration:none; }
.massaction .entry-edit fieldset span.form_row,
.massaction .entry-edit fieldset span.field-row { clear:none !important; display:inline; float:left !important; margin:0; padding:0 5px 0 0; }

.massaction .entry-edit .outer-span { float:left; }

/* Grid - Filter */
.grid tr.filter                  { background:url(../images/filter_row_bg.gif) repeat-x #e3eff1; cursor:default; }
.grid tr.filter th               { padding-top:5px; padding-bottom:5px; border:1px solid #bdbdbd; border-width:0 1px 1px 0; white-space:normal; }
.grid tr.filter th.last          { border-right:0; }
.grid tr.filter input.input-text { width:85%; }
.grid tr.filter select           { width:100%; }
.grid tr.filter .range div.range-line { margin-bottom:4px; width:110px; }
.grid tr.filter .range div.date  { min-width:121px; }
.grid tr.filter .range input     { width:4.5em !important; margin-bottom:-1px; margin-top:0; }
.grid tr.filter .range select    { width:5em !important; width:4.88em; margin-bottom:-1px; margin-top:0; }
.grid tr.filter .range .label    { display:block; width:3em; float:left; padding-left:2px; }
.grid tr.filter .date img        { width:15px; height:15px; cursor:pointer; vertical-align:middle; }
.grid .head-massaction select    { width:50px !important; }

/* Grid Footer */
.grid table tfoot tr            { background:#D7E5EF; }
.grid table tfoot tr td         { border-top:1px solid #9babb9; background:#e5ecf2; line-height:1.7em; }
.grid table.border tfoot tr td  { background:#D7E5EF !important; }


/* Dynamic Grid */ /* Used in pages like Catalog -> Attributes */
.dynamic-grid th                { padding:2px;width:100px; }
.dynamic-grid td                { padding:2px; }
.dynamic-grid td input          { width:94px; }
tr.dynamic-grid td,
tr.dynamic-grid th { padding:2px 10px 2px 0; width:auto; }
tr.dynamic-grid input.input-text { width:154px; }




/



/*****************************************/
/******** ALIGNMENTS AND CLEARS **********/
/*****************************************/

/* Directional and spacial */
.f-left, .left      { float:left; }
.f-right, .right    { float:right; }
.v-top              { vertical-align:top; }
.v-middle           { vertical-align:middle !important; }
.v-bottom           { vertical-align:bottom; }
.a-left             { text-align:left !important; }
.a-center           { text-align:center !important; }
.a-right            { text-align:right !important; }
.nm                 { margin:0 !important; }
.np                 { padding:0 !important; }
.no-display         { display:none; }
.no-show            { display:none; }
.nowrap, .nobr      { white-space:nowrap; }
.wrap               { white-space:normal !important; }
.no-float           { float:none !important; }
.pointer            { cursor:pointer; }

/* Color */
.emph, .accent      { color:#eb5e00 !important; }
.subdue             { color:#306375; }

/* Font */
.bold               { font-weight:bold !important; }
.normal             { font-weight:normal !important; }

/* Clear */ /* This keeps our HTML free of buncha clearing elements */
.login-form .form-buttons:after,
.wrapper:after,
.bundle .option-title:after,
.columns:after,
.main-col:after,
.content-header-floating:after,
.entry-edit .entry-edit-head:after,
.content-header:after,
.login-box .button-set:after,
ul.tabs-horiz:after,
.header-top:after,
dl.accordion dt:after,
.field-100:after,
.entry-edit fieldset li:after,
.entry-edit fieldset span:after,
.content:after,
#topnav:after,
.main:after,
.container:after,
.footer:after,
.middle:after,
.header:after,
.box-head:after,
div.actions:after,
.tier-container:after,
.clear:after,
.notification-global:after,
.files .row:after,
.files-wide .row:after { display:block; clear:both; content:"."; font-size:0; line-height:0; height:0; overflow:hidden; }
.add{
position:absolute;
top:150px;
right:0px;
padding:15px;
background:#FFF;
border:5px solid #1981bd;
width:600px;
-moz-border-radius-bottomleft:0.8em;
-moz-border-radius-bottomright:0.8em;
-moz-border-radius-topleft:0.8em;
-moz-border-radius-topright:0.8em;}

.ch a:hover {
background:url(../images/ch2.png) no-repeat scroll 5px 2px;
color:#AE4B06;
display:block;
font-size:11px;
padding:12px 0 12px 20px;
}
.ch a {
background:url(../images/ch1.png) no-repeat scroll 5px 2px;
color:#AE4B06;
display:block;
font-size:11px;
padding:12px 0 12px 20px;
}
.ch_bg_top{
background:#CCC;
color:#999999;
font-weight:bold;}
.close_table a,.close_table a:hover,.close_table a:visited{
background:url(../images/trash.png);
margin:4px 15px;
float:left;
display:block;
width:15px;
height:15px;
}
.close_table a:hover{
background:url(../images/trash2.png);
}
tr.nm_table td{
vertical-align:middle;}
h2.h2t{
padding:0px;
margin:0px;}
.close{
float:right;
background:url(../images/close.png) no-repeat 38px 3px;
padding:0 15px 0 0;
font-size:14px;
font-weight:bold;
}
td.ch input[type=radio]{
margin:0 5px;}
/* FORMS
*******************************************************************************/
select.countries option         { background-repeat:no-repeat; }
.entry-edit .tree li            { margin:0; }


/* Entry Edit  */ /* Site-wide form fieldset */
table.form-edit                         { width:100%; }
.box,
.entry-edit fieldset,
.entry-edit .fieldset                   { padding:10px 15px; margin-bottom:15px; }
.entry-edit .entry-edit-head h4         { float:left; padding:0; background:none; margin:7px 0 0 0; color:#fff; font-size:18px; line-height:18px; min-height:0;
font-weight:normal;}
.entry-edit .entry-edit-head strong,
.entry-edit .entry-edit-head a          { color:#fff; font-size:1em; line-height:18px; min-height:0; font-weight:bold}
.entry-edit .content                    { margin-left:0 !important; padding:10px 15px; }
.entry-edit fieldset li,
.entry-edit .fieldset li                { margin:4px 0; }
.entry-edit fieldset span.form_row,
.entry-edit .fieldset span.form_row,
.entry-edit fieldset .field-row .hint,
.entry-edit .fieldset .field-row .hint  { float:left; color:#999; padding-left:12em; }
.entry-edit .form-buttons               { float:right; margin:2px -3px 2px 0pt; }
label.inline                            { float:none !important; width:auto !important; }
.nested-content .entry-edit             { margin-left:2em; }
.nested-content .entry-edit .entry-edit { margin-left:0; }

/* Form Elements */
input.input-text,textarea,select { border-width:1px; border-style:solid; border-color:#aaa #c8c8c8 #c8c8c8 #aaa; background:#fff; font:12px arial, helvetica, sans-serif; }
select { min-height:17px; /* to set the height for empty selects */ }
input.input-text,textarea       { padding:2px; }
input.qty                       { width:40px !important; }
input.item-qty                  { width:22px !important; }
input.price                     { width:50px !important; text-align:right; }
select optgroup                 { font-style:normal; }
select optgroup option          { padding-left:10px; }
select optgroup option.even     { background:#f6f6f6; } /* Zebra even-row */
select.multiselect option       { padding:3px 4px; border-bottom:1px solid #ddd; }
.field-100 { background-color:#fff; border-width:1px; border-style:solid; border-color:#aaa #c8c8c8 #c8c8c8 #aaa; padding:2px; }
.field-100 textarea,
.field-100 input.input-text { float:left; width:100% !important; border:0 !important; padding:0 !important; }


/* Form List */ /* Table for default form data */
.form-list                      { width:auto; border:0 !important; }
.form-list td                   { border:0 !important; padding-top:5px !important; padding-bottom:5px !important; background:0 !important;  }
.form-list td.hidden            { border:0 !important; padding:0 !important; background:0 !important; }
.form-list td.label             { width:150px; }
.form-list td.label label       { display:block; width:150px; padding-right:15px; }
.form-list td.value input.input-text,
.form-list td.value textarea    { width:274px; }
.form-list td.value textarea    { height:12em; }
.form-list td.value select      { width:280px; }
.form-list td.use-default       { padding-left:15px; }
.form-list td.note              { background:url(../images/note_cell_bg.gif) no-repeat 6px 10px !important; padding-left:18px; }
.form-list td.scope-label       { padding-left:5px; color:#6f8992; font-size:.9em; }

.columns .form-list             { width:auto; }
.columns .form-list td.value    { width:280px; padding-right:5px !important; }
.columns .form-list td.value .next-toinput { width:75px; display:inline; margin-right:5px; }
.columns .form-list td.value .next-toselect input.input-text { width:180px; display:inline; }

.fieldset-wide .form-list { width:100% !important; }
.fieldset-wide .form-list td.value { width:auto !important; }
.fieldset-wide .form-list td.value textarea { width:98% !important; }

.multi-input                    { margin-bottom:8px; } /* Example: Address fields with 2 input lines */
.grid tr .form-list tr          { background:#fff !important; } /* Follows grid row background-color */
.grid tr.even .form-list tr     { background:#f6f6f6 !important; } /* Follows grid row background-color */
.grid tr.on-mouse .form-list tr { background:#fcf5dd !important; } /* Follows grid row background-color */
.grid tr .form-list             { margin:8px 0; }
.field-row                      { display:block; margin-bottom:5px; }
span.delete-image               { display:block; white-space:nowrap; padding-left:25px; }

/* Back compatibility with span forms */
.entry-edit .field-row          { display:block; }
.entry-edit .field-row label    { float:left; width:150px; }

/* Form Button */
.content-buttons.form-buttons,
.content-header .form-buttons   { text-align:right; margin-bottom:0; white-space:nowrap; }
.content-header .content-buttons-placeholder { display:inline !important; }
.content-header .form-buttons   { float:right; }
.content-header td.form-buttons   { float:none; }
.content-header .form-buttons button { margin-bottom:3px; }
.sub-btn-set { border:1px solid #ddd; border-width:0 1px; background:url(../images/sub_button_bg.gif) repeat; padding:3px 10px; text-align:right; }
button,
.form-button { border-width:1px; border-style:solid; border-color:#CCC; padding:3px 7px 3px 7px; background:#f2f2f2 ;color:#333; font:bold 12px arial, helvetica, sans-serif; cursor:pointer; text-align:center !important; white-space:nowrap;
-moz-border-radius-bottomleft:0.3em;
-moz-border-radius-bottomright:0.3em;
-moz-border-radius-topleft:0.3em;
-moz-border-radius-topright:0.3em; }
button:hover                    { background:#185A80;color:#FFF;}
button:active                   { background:#185A80;color:#FFF;}
button span                     { line-height:1.35em; background-repeat:no-repeat; background-position:0 50%; }
button.delete,
button.save,
button.add                      { padding-left:6px; }
button.cancel span,
button.delete span,
button.save span,
button.add span,
button.back span { padding-left:20px; }
button.back { border-color:#ccc #aaa #aaa #ccc; background-color:#fff; background-image:url(../images/btn_back_bg.gif); color:#555; }
button.back span { background-image:url(../images/icon_btn_back.gif); }
button.cancel,
button.delete { border-color:#d24403 #a92000 #a92000 #d24403; background-image:url(../images/cancel_btn_bg.gif); background-color:#fcaf81; color:#fff; }
button.cancel:hover,
button.delete:hover { background-image:url(../images/cancel_btn_over_bg.gif); }
button.cancel:active,
button.delete:active { background-image:url(../images/cancel_btn_active_bg.gif); background-color:#e0612f; }
button.cancel span,
button.delete span { background-image:url(../images/cancel_btn_icon.gif); }
button.add span     { background-image:url(../images/add_btn_icon.gif); }
button.save span    { background-image:url(../images/save.png); }

button.disabled,
button.disabled:hover,
button.disabled:active { border-color:#777 #505050 #505050 #777; background:#919191 url(../images/btn_bg-disabled.gif) 0 0 repeat-x; color:#fff; cursor:default; opacity:.8; }
button.add.disabled span { background-image:url(../images/add_btn_icon-disabled.gif);}

button.icon-btn { width:32px!important; }
button.icon-btn span { text-indent:-999em; display:block; width:16px; padding:0; overflow:hidden; }


/* SWITCHER
*******************************************************************************/
.switcher { margin-bottom:10px; border:1px solid #cddddd; background:#e7efef; padding:10px;-moz-border-radius-bottomleft:0.4em;
-moz-border-radius-bottomright:0.4em;
-moz-border-radius-topleft:0.4em;
-moz-border-radius-topright:0.4em; }
.side-col .switcher select { width:100%; }
/*.side-col .switcher     { margin-right:20px; margin-bottom:20px; }*/
.catalog-categories .side-col .switcher { margin-right:0; margin-bottom:15px; }


/* SPACE
*******************************************************************************/
.box-left, .box-right   { width:48.5%; }
.box-left               { float:left; }
.box-right              { float:right; }
.box-left .content,
.box-right .content     { padding:6px 14px; }
.separator, .pipe       { padding:0 6px; font-size:.9em; } /* vertical pipe */
.divider                { display:block; height:1px; margin:8px 0; background:#ddd; overflow:hidden; }  /* horizontal pipe */
td.divider              { font-size:1px; line-height:0; }
.box,
.entry-edit fieldset,
.entry-edit .fieldset { border:1px solid #d6d6d6; background:#fafafa; }


/* SCOLLER */ /* Used primarily in Sales -> Order -> Create Order */ /*
*******************************************************************************/
.scroll-cont {
    position:absolute;
    top:-25px;
    left:503px;
    width:16px;
    height:265px;
    background:transparent url(../images/db-scroll-bg.gif) no-repeat top;
    z-index:10000;
    }
.auto-scroll                { overflow:auto; height:11em; }
.root                       { position:relative; height:260px; margin:0; width:1px; }
.thumb                      { position:absolute; height:40px; width:16px; margin-top:-28px; z-index:11000; }
.up                         { margin-top:254px; height:16px; }
.dn                         { margin-top:0; padding:0; height:15px; }
.up a, .up a img,
.dn a, .dn a img,
.thumb a ,
.thumb a img                { border:0; }
.up a:active, .dn a:active  { outline:none; }
.scrollContainer {
    position:absolute;
    left:0;
    top:19px;
    clip:rect(0 467px 200px 0);
    overflow:auto;
    border:0;
    }
.scrollContent              { position:absolute; left:0; top:0; }

/* Horizontal scroll */
.hor-scroll                 { width:100%; overflow:auto; padding-bottom:4px; margin-bottom:-4px; } /* IE has personal style, see iestyles.css */


/**/
.note-list { width:100%; overflow:hidden; }
.note-list li { border-top:1px solid #e3e3e3; margin-top:9px !important; background:url(../images/icon_note_list.gif) no-repeat 0 4px; padding-bottom:9px; padding-left:18px; }
.content-header table           { width:100%; }
.content-header h3              { float:left; margin:.3em .5em 10px 0; color:#eb5e00; font-size:1.25em; line-height:1.2em; }
.content-header .head h3        { float:none; }
.content-header .button-set     { white-space:nowrap; text-align:right; }
.content-header .content-buttons  { white-space:nowrap!important; margin:0; }
.content-header td.content-buttons  { width:13%;white-space:nowrap!important; margin:0; }
.content-buttons button,
.content-header button,
.filter-actions button          { margin:0 0 0 5px; }
.side-col .content-header       { border-bottom:0; margin-right:12px; margin-bottom:.6em; }
.catalog-categories .side-col .content-header { margin-right:0; }
* LAYOUT
*******************************************************************************/
.wrapper { min-width:960px; }
.wrapper-popup { min-width:750px; }
.middle { min-height:450px; background:url(../images/simple_container_bg.gif) repeat-x #fff; padding:23px 27px 0 27px; }
.middle-popup { border-bottom:3px solid #fff; background:url(../images/middle_bg.gif) repeat-x 0 100% #fff; padding:0 0 0 0; background:yellow; }
.container-collapsed { padding:1.8em 2.2em 1.8em 2em; padding-top:0; }
.columns {background:url(../images/side_col_bg.gif) repeat-y 217px 0; }
div.side-col { float:left; width:220px; margin-right:-220px; padding-bottom:25px; }
div.main-col { margin-left:220px; min-height:450px; padding:0 0 25px 25px; }
div.main-col-inner { float:left; /* Fixes some inner clears in the liquid main-col */ width:100%; }

.simple-container-popup { min-height:50px !important; padding:1.8em 2.3em 6em 2.3em; background:url(../images/simple_container_bg.gif) repeat-x; }




.categories-side-col .content-header { padding:0; }
.categories-side-col .content-header h3 { float:none; }
.categories-side-col .content-header button { margin:5px 0 0; }
.categories-side-col .switcher { margin:10px 20px 0 0; }
.categories-side-col .tree-actions { text-align:center; margin:10px 20px 10px 0; }
.categories-side-col .tree-holder { margin-right:20px; }

.no-active-category a span                  { color:#aaa !important; }

#tree-div { overflow:auto!important; padding-bottom:15px; width:200px; }
.content-header {
margin-bottom:18px;
padding-bottom:0.25em;
}
.edit_icon a,.edit_icon a:hover,.edit_icon a:visited{background:url(../images/edit.png) no-repeat;
display:block;
font-size:11px;
padding:5px 0 2px 22px;
height:20px;
}
a.add_buttons,a.add_buttons:hover,a.add_buttons:visited{
background:url(../images/add.png) no-repeat 0px 1px;
display:block;
font-size:11px;
padding:0 0 0 15px;
} 
select.selecting{
border:none;
height:350px;
width:200px;
background:#F2F2F2;
padding:5px;
-moz-border-radius-bottomleft:0.4em;
-moz-border-radius-bottomright:0.4em;
-moz-border-radius-topleft:0.4em;
-moz-border-radius-topright:0.4em;
}
select.selecting option{
background:url(../images/folder.png) no-repeat 3px 6px;
padding:3px 2px 3px 22px;
margin:0 0 0 10px;}
select.selecting option.mainbs{
background:url(../images/folder2.png) no-repeat 3px 6px;
padding:3px 5px 3px 25px;
margin:0px;}
select.selecting option.mainbst{
background:url(../images/folder3.png) no-repeat 3px 4px;
padding:3px 5px 3px 25px;
margin:0px;}
select.selecting option.mainbsm{
background:url(../images/folder4.png) no-repeat 3px 6px;
padding:3px 5px 3px 25px;
margin:0px;}
.add_nacenki a,.add_nacenki a:hover,.add_nacenki a:visited{
background:url(../images/add_nacenki.png) no-repeat;
display:block;
float:right;
margin:4px 0;
width:162px;
height:31px;
}
.tov_upload a,.tov_upload a:hover,.tov_upload a:visited{background:url(../images/upload.png) no-repeat;
display:block;
float:left;
margin:0;
width:102px;
height:25px;}
.osnovnoe_photo{
float:left;
}
.osnovnoe_photo a,.osnovnoe_photo a:hover,.osnovnoe_photo a:visited{background:url(../images/main_photo.png) no-repeat;
display:block;
float:left;
margin:0;
width:159px;
height:27px;}
/* Vertical  Tabs */
ul.tabs                         { border-top:1px solid #bebebe; background-color:#e7efef; }
ul.tabs a, ul.tabs span         { display:block; }
ul.tabs a, ul.tabs a:hover      { text-decoration:none; }
/* ul.tabs a.notloaded             { color:#999; } */
ul.tabs a, ul.tabs a:hover      { color:#000; }
ul.tabs, ul.tabs a              { background:url(../images/tabs_link_bg.gif) repeat-y 100% #E7EFEF; }
ul.tabs a:hover                 { background-color:#D8E6E6; background-image:url(../images/tabs_link_over_bg.gif); }
ul.tabs a.active                { padding:0; border-bottom:1px solid #bebebe; background:none; }
ul.tabs a:hover.active          { padding:0; }
ul.tabs span                    { background:url(../images/tabs_span_bg.gif) repeat-x 0 100%; padding:.5em 0.5em .5em 1.5em; cursor:pointer; }
ul.tabs span em                 { float:right; }
ul.tabs a.active span,
ul.tabs a:hover.active span     { background:#fff; font-weight:bold; }
ul.tabs a.subitem               { padding-left:2.2em; }
ul.tabs span.changed,
ul.tabs span.error              {background:0; padding:0; }
ul.tabs a.changed span.changed  { background:url(../images/fam_bullet_disk.gif) 0 0 no-repeat !important; width:16px; height:16px; }
ul.tabs a.error span.error      { background:url(../images/fam_bullet_error.gif) 0 0 no-repeat !important; width:16px; height:16px; }
ul.tabs a.changed               { font-style:italic; }
.tov_photo{
width:150px;
text-align:center;
float:left;
margin:15px 35px;}
.tov_photo img{
border:1px solid #CCC;
padding:2px;
margin:5px;}
.tov_photo a,.tov_photo a:hover,.tov_photo a:visited{
-moz-border-radius-bottomleft:0.3em;
-moz-border-radius-bottomright:0.3em;
-moz-border-radius-topleft:0.3em;
-moz-border-radius-topright:0.3em;
border:1px solid #CCC;
display:block;
position:absolute;
background:#FFF;
width:20px;
height:20px;
margin:5px 35px 0 0;}
.tov_photo a img{
border:none;
margin:0px;}
.fr{
float:right;
position:absolute;}