.view_form {position:relative; margin:1em 1em 1em 21em; font-size:10px; display:block; font-family:Arial, Helvetica, sans-serif}
#main_wnd .view_form {position:relative; margin:0px; font-size:10px; display:block; font-family:Arial, Helvetica, sans-serif}

.btn {border:0; padding:0px; margin:0px; overflow:visible; background-color:#B6B07E}
.mme .btn {background-color:#65613F;}
.btn table{background-color:#eeebc6; color:#313665}
.mme .btn table{background-color:#65613F; color:#FFF}
.btn table td{font-size:8pt; padding: 0px; margin: 0px;}
.mme .btn table td{font-size:1em;font-family: Arial,Helvetica,sans-serif;}
.btn td.lt {background:transparent url(img/ul.gif) no-repeat top left}
.btn td.lb {background:transparent url(img/bl.gif) no-repeat bottom left}
.btn td.rt {background:transparent url(img/ur.gif) no-repeat top right}
.btn td.rb {background:transparent url(img/br.gif) no-repeat bottom right}
.mme .btn td.lt {background:transparent url(img/ulm.gif) no-repeat top left}
.mme .btn td.lb {background:transparent url(img/blm.gif) no-repeat bottom left}
.mme .btn td.rt {background:transparent url(img/urm.gif) no-repeat top right}
.mme .btn td.rb {background:transparent url(img/brm.gif) no-repeat bottom right}

.mme label {margin-left: 1em;}
.mme label input {vertical-align: sub;}
.dark table {background-color:#65613f; color:#fff}
.btn tr {background-color: inherit !important}

.form1 .btn {background-color: #bfba8a;font-weight: bold;}
.form1 .btn td {border: none; background-color:#EEEBC6}
.navigate .btn {background-color: #bfba8a;}

.btn td div {width:3px}
.btn td img {padding:4px 3px}
.btn td.lab {padding:0px 4px}

.command_btn button {width: 7.7em; margin: 2px 0px;}
.mme .command_btn button {width: auto; margin: 2px 0px;}
.command_btn {/*border: 1px solid #cfca9b;*/ padding: 1em 0em; margin-left: 2em}
/*.user_name, .head {color:#000; margin:0px 0px 0px 0px;text-align: left}*/
.user_name {font-size:1.2em; padding-left: 1em;}
.form1 .head {font-size:1.1em;font-weight:bold; color:#fff; background-color:#cfca9b;padding: 0.5em; margin-top: 0.5em;}

.form1 {margin:0px; font-size:1.2em; padding:5px 10px; background-color: #bfba8a;border:1px solid #dcd7b4; border-top:none;}
.form1 table {vertical-align:middle;font-size:1.0em; white-space:nowrap}
.form1 td.separ {width:20px; border: 0;}
.form1 tr.lab td {font-weight:bold; padding-right:5px}
.form1 textarea {width:95%; padding:4px; font-family:Arial, Helvetica, sans-serif; font-size:1.2em;}

.form1 td {background-color:#b6b07e; border:1px solid #9a9773; padding-bottom: 0.8em; padding-left:1em}
.form1 td.nd {background-color:transparent; border:0; padding: 0px;}
.form1 td h2 {padding: 0.3em; font-size:1.25em; text-align:left; font-weight:normal; color:#000; margin: 0px; font-family: Impact, sans-serif;}
.form1 td table td {border:0; padding-bottom: 0.3em;}

.form1 img.help {vertical-align:top}

.form1 table.details td {border:0; background-color:#bfba8a;}
.form1 table.details th {vertical-align: top;}
.form1 table.details h2 {font-family: Arial, Helvetica, sans-serif;background:transparent url(/img/bg_blk.gif) top left repeat-x; text-align: left; font-size:1em; margin:0px; padding: 0.4em; font-weight: normal; color:#fff; letter-spacing: normal; white-space: nowrap;}
.form1 table.details td.v {font-size:1em; border-top: 1px dotted #65613f; text-align: center; padding: 0.2em 1em; text-align: left; white-space: normal; background-color:#bfba8a;}
.form1 table.details td.sep {background-color:#bfba8a; padding:0px;}
.form1 sup {font-size: 60%;}

.form1 .images img.mark {margin-right: 20px; margin-bottom: 20px; cursor: pointer;}
.form1 .images img.photo {margin: 15px; border: 2px solid #cfca9b; cursor: pointer;}
.form1 .images table td {padding: 0px;}
.form1 td.images {padding: 0px 1em 1em 1em;}

table.goods_cmd_links {padding: 0px; margin: 0px; white-space: nowrap; font-weight: bold;}
table.goods_cmd_links td {border: none; background: transparent; padding-bottom:0.8em; padding-left:1em;}

div.goods_navigate {background-color:#BFBA8A; border-left:1px solid #DCD7B4; border-right:1px solid #DCD7B4; padding: 0.3em 0.5em;}
div.goods_navigate h2 {margin:5px 10px; font-weight: normal;}

.form1 table.goods_rubric td {border: none; background: transparent;}

.form1 table.goods_section {font-size: 120%; white-space: normal;}
.form1 table.goods_section td {border: none; background: transparent; padding-left: 1em;}
.form1 table.goods_section td span.section_cnt {font-family: "Times New Roman",Times,serif; margin-left: 1em; font-weight: bold;}

div.goods_tree table td {border: none; background: transparent; padding-left: 0.5em; padding-bottom: 0px;}
div.goods_tree table td h2 {font-family: Arial,Helvetica,sans-serif; font-size: 12pt;}

.form1 table.goods_rubric h2 {padding: 0px; font-family: Arial,Helvetica,sans-serif; font-size: 14pt; font-weight: bold; border-left: 10px solid #fff; background-color: #D7D2AC; line-height: 0.6em;}
.form1 table.goods_rubric h2 b {padding: 0px 6px; background-color: #BFBA8A;}

div.rubrics table td {white-space: nowrap;}
div.section table td {white-space: nowrap; border:0} 

div.section, div.rubrics {border:1px solid #9A9773; margin: 1em 0; padding-right: 1em; background-color: #B6B07E;}

#section_not_found {border: 1px solid #9A9773; padding: 1em 2em; background-color: #B6B07E; width: 90%; margin: -0.6em auto 1em; font-size: 120%; line-height: 1.3em}

div.goods div.item {margin: 0.5em auto; width: 90%; border-bottom: 1px solid #9A9773; padding: 0.5em; position: relative;}
div.goods div.item span.date {font-size: 80%; color:#555; position: absolute; left:-1em}
div.goods div.item span.cost, div.goods div.item span.count {font-weight: bold;}
div.goods div.item div.descript {color:#333; font-size: 90%; padding: 1em 0 0}
 
.pop_form {display: none; border: 1px #9A9773 solid;}
.pop_form .btn1 {font-size: 8pt;}
.pop_form th {background-color:#65613f; color:#fff; padding:5px; text-align: center;}
.pop_form td {background-color:#b6b07e; padding:15px !important}

.form1 input.text {padding:1px 5px; font-size:10pt; color:#000; margin-right:3px}
.form1 select { font-size:10pt;color:#000; margin-right:3px; padding: 1px;}

.bordered td {border:1px dotted #cfca9b}
.bordered td td {border:0}

.result_table td.details dl {width: 50%; margin: 1em; overflow: hidden; border-bottom: 1px #999 dotted;}
.result_table td.details dl dt {float: left; color: #999;}
.result_table td.details dl dd {float: right; font-size: 110%;}
.result_table td.details div.goods_search {position: absolute; top:0.5em; right: 1em; width:45%; text-align: center; font-size: 130%;}

.result_table {padding: 0px 5px; background-color:#bfba8a;border-left:1px solid #dcd7b4;border-right:1px solid #dcd7b4}
.result_table table {font-size:1.2em}
.result_table table td.not_found {font-size: 130%;}
.result_table table img {vertical-align:middle;}
.result_table th {background-color:#eeebc6; color:#000; /*letter-spacing:-1*/}
.result_table tr {background-color:#fdfdfd; color:#000}
.result_table tr.col_head th {background:transparent url(img/tbl_head.gif) repeat top left}
.result_table tr:hover.hov {background-color:#65613f; color:#ede9d0}
.result_table tr.hov {cursor:pointer}
.result_table tr.adv {background-color:#d8d2ae; color:#000}
.result_table tr.selected {background-color:#d8d2ae;}
/*esult_table tr.selected td {border-bottom: 1px solid #65613F;border-top: 1px solid #65613F;}*/
.result_table td.saled {color: green;}
.result_table td.archived {color: red;}
.result_table .order_by th {white-space: nowrap;}
.result_table .order_by img {cursor: pointer;}
.result_table img.hand {cursor: pointer;}
.result_table .blocked {color:#999}
.result_table sup {font-size: 70%;}