
#padding_bot { padding-bottom: 15px; }
#header { margin-bottom: 11px; }
#act_left, #act_right { top: 202px; }
#content { padding: 10px 16px 20px; }
#h1_title { margin-bottom: 5px; }

#top_insets { margin: 0; padding: 0; float: right; list-style: none; font-size: 0.92em; line-height: 25px; height: 25px; 
    position: relative; background: #E6E6E5 url(../img/top_insets_x.png); }
#top_insets li { float: left; padding: 0 4px; }
#top_insets a { color: #313131; }
#top_insets a.on { font-weight: bold; text-decoration: none; }
#top_insets a.on:hover { text-decoration: underline; }
#top_insets div { width: 3px; height: 25px; font-size: 0; position: absolute; top: 0; }
#top_insets div.left { left: 0; background: url(../img/top_insets_left.gif); }
#top_insets div.right { right: 0; background: url(../img/top_insets_right.gif); }

div.select_top { font-size: 0; position: relative; }
div.select_top select { font-weight: bold; border: 1px solid #848484; position: absolute; left: 0; top: -20px; height: 20px; }

div.top_line { height: 41px; line-height: 41px; padding: 0 11px; }
div.line_black { border: 1px solid #3C3C3C; background: #7D7E7D url(../img/bg_top_gray.gif); color: #F0F0F0; font-size: 1.17em; }
div.line_black span { font-size: 1.29em; }

table.vertical { border-collapse: collapse; width: 100%; margin-bottom: 12px; }
table.vertical td { padding: 7px 0; font-size: 0.92em; border-bottom: 1px solid #EEE; }
table.vertical td.left { padding-right: 13px; padding-left: 21px; text-align: right; white-space: nowrap; 
    border-right: 1px solid #999; }
table.vertical td.right { width: 100%; }
table.vertical div.graph { background: #487DB3; height: 12px; font-size: 0; border: 1px solid #D5E1EE; border-left: none; 
    float: left; margin-right: 7px; }
table.vertical span.red { color: #D40000; }
table.vertical tr.bg { background: #EAEAEA url(../img/bg_vert_bg.gif) repeat-x 0 0;  }
table.vertical tr.bg td.left { font-weight: bold; }

#content input.button { padding: 0 10px; height: 19px; border: 1px solid #BBB; margin-right: 8px; background: #FBFBFB;
    font-size: 11px; color: #464646; cursor: pointer; padding-bottom: 2px; }
#content input.button_big { padding: 0 25px; height: 25px; border: 1px solid #C3C3C3; margin-right: 11px; background: #FAFAFA;
    font-size: 15px; color: #2B2B2B; cursor: pointer; padding-bottom: 2px; }
#content input.button_big_blue { padding: 0 25px; height: 25px; border: 1px solid #3C71A7; margin-right: 11px; 
    background: #268CC3 url(../img/bg_button_blue.gif) repeat-x 0 0;
    font-size: 15px; color: #FFF; cursor: pointer; padding-bottom: 2px; }

#middle_act { float: right; margin: 0 0 18px; padding: 0; list-style: none; font-size: 0.92em; color: #727272; }
#middle_act li { float: left; padding: 1px 0 1px 12px; }
#middle_act a { color: #727272; text-decoration: none; padding: 1px 0 1px 20px;
    background-repeat: no-repeat; background-position: 0 center; }
#middle_act a:hover { text-decoration: underline; }
#middle_act a.export { background-image: url(../img/ico_export.gif); }
#middle_act a.print { background-image: url(../img/ico_print.gif); }

div.line_gray { height: 50px; border: 1px solid #C1C1C1; border-bottom: none; background: #CECECE; }
div.top_line div.bg { margin-top: 17px; }
div.top_line select {
    font-size: 11px; 
    border: 1px solid #BBB; 
    margin-right: 3px; 
    float: left;
    margin-right: 7px;
    width: 140px;
    height: 19px;
}
div.top_line select[multiple] {
    height: 80px;
    width: 200px;
}
#content div.top_line input.button { float: left; }
div.top_line div.calendar { float: left; padding: 1px 15px 1px 0px; }
div.top_line div.calendar input { font-size: 11px; border: 1px solid #BBB; text-align: center; float: left; width: 70px; }
div.top_line div.calendar a.ico { float: left; background: url(../img/ico_calendar.png); display: block; width: 16px; height: 16px; 
    margin: 1px 0 0 1px; cursor: pointer; }
div.top_line div.calendar div { float: left; line-height: 14px; padding: 0 6px; }
div.top_line input.button_cancel { float: left; position: relative; top: -5px; }
#content div.top_line label, #content div.top_line input, #content div.top_line div { float: left; line-height: 12px; }
#content div.top_line label { position: relative; top: 2px; }

div.line_blue { height: 50px; border: 1px solid #C1C1C1; background: #258ECD url(../img/bg_top_blue.gif); }
#bg_graph { border: 1px solid #D9D9D9; border-top: none; padding: 10px 13px; margin-bottom: 20px; 
    background: url(../img/graph_grad.png) repeat-x 0 bottom; }

div.div_scroll { overflow: scroll; width: 100%;}
table.horizontal { border-collapse: collapse; width: 100%; }
table.horizontal th { font-weight: bold; text-align: left; padding: 0; padding: 2px 8px;
    background: #E0E0E0 url(../img/bg_horizont_th.gif) repeat-x 0 0; }
table.horizontal .right { text-align: right; }
table.horizontal td { border-bottom: 1px solid #E4E4E4; padding: 10px 8px; }
table.horizontal .first { border-left: 1px solid #D9D9D9; }
table.horizontal .last { border-right: 1px solid #D9D9D9; }
table.horizontal th div.link { font-weight: normal; position: relative; left: -9px; }
table.horizontal th a { color: #000; }
table.horizontal .red { color: #B71111; }
table.horizontal .green { color: #1B9F09; }
table.horizontal .margin { margin-right: 15px; }
table.horizontal div.overflow { overflow: hidden; height: 15px; font-weight: bold; position: relative; }
table.horizontal div.overflow a { text-decoration: none; }
table.horizontal div.overflow a:hover { text-decoration: underline; }
div.light { width: 56px; height: 15px; font-size: 0; position: absolute; top: 0; right: 0;
    background: url(../img/bg_grad.png) no-repeat 0 0; }
table.horizontal tr.bg { background: #F8F9FB; }

table.report td { border-bottom: 1px solid #E4E4E4; padding-bottom: 4px; padding-top: 4px; }
    
div.bot_line { background: #CECECE; border: 1px solid #C1C1C1; padding: 10px 32px; }

img.kz_button, img.ru_button { position: relative; top: 1px; width: 19px; height: 13px; }
img.kz_button { background: url(../img/ico_kz_button.gif) no-repeat 0 0; }
img.ru_button { background: url(../img/ico_ru_button.gif) no-repeat 0 0; }
a.on img.ru_button, a.on img.kz_button { background-position: 0 -13px; }

table.table_form2 { border-collapse: collapse; margin-bottom: 15px; }
table.table_form2 td, table.table_form2 th  { font-size: 1.08em; color: #2B2B2B; vertical-align: top; padding: 10px 75px 10px 15px; text-align: left; }
table.table_form2 tr.bg { background: #F8F9FB; }
table.table_form2 input, table.table_form2 select, table.table_form2 textarea { border: 1px solid #DDD; color: #2B2B2B; width: 160px;}
table.table_form2 select { font-size: 13px; }
table.table_form2 label { font-weight: bold; }
table.table_form2 input, table.table_form2 textarea { font-size: 14px; padding-top: 2px; }
table.table_form2 input#id_title, table.table_form2 input#id_path {width: 400px;}
table.table_form2 td.cke_bottom, table.table_form2 td.cke_top, table.table_form2 td.cke_contents {padding: 0;}

.dots { text-decoration: none; background: url(../img/dots.gif) repeat-x 0 bottom; padding-bottom: 2px; }

table.table_form { border-collapse: collapse; margin-bottom: 15px; }
table.table_form th { font-weight: bold; text-align: left; padding: 8px 24px 8px 16px;
    background: #E0E0E0 url(../img/bg_vert_bg.gif) repeat-x 0 0; }
table.table_form td { padding: 9px 24px 9px 16px; }
table.table_form tr.bg { background: #F8F9FB; }
table.table_form p.money { margin: 0 45px 0 0; font-weight: bold; font-size: 1.17em; text-align: right; 
    width: 60px; white-space: nowrap; }
table.table_form input { border: 1px solid #BBB; color: #2B2B2B; font-size: 14px; padding: 3px 5px; }
table.table_form input.bggray { background: #F5F5F5; }
table.table_form input.bgred { background: #FFE0E0; border: 1px solid #F29C9C; }
table.table_form input.red { color: #B71111; font-weight: bold; }
table.table_form select { border: 1px solid #DDD; color: #2B2B2B; width: 160px;}

div.ala_tray { margin-bottom: 10px; font-size: 1.42em; }
div.ala_tray span.big { font-size: 18px; }
div.ala_tray div.select { background: #E4EEF5 url(../img/bg_select.gif); float: left; position: relative; cursor: pointer;
    width: 110px; height: 26px; line-height: 26px; }
div.ala_tray div.select span { padding-left: 10px; }
div.ala_tray div.popup { position: absolute; left: 0; top: 26px; border: 1px solid #B0CCE0; padding: 5px 10px; 
    font-size: 12px; background: #FFF; cursor: default; width: 130px; line-height: 1.25em; display: none; }
div.ala_tray div.popup ul { margin: 0; padding: 0; list-style: none; }
div.ala_tray div.popup li { margin-bottom: 5px; }
div.ala_tray a { color: #000; text-decoration: none; }
div.ala_tray a:hover { text-decoration: underline; }
div.ala_tray div.arrow { position: absolute; top: 0; right: 0; width: 17px; height: 26px; cursor: pointer; }

#graph_type { float: left; margin: 0; padding: 0; list-style: none; }
#graph_type li { float: left; margin-right: 12px; height: 18px; line-height: 18px; position: relative; }
#graph_type li.on { font-weight: bold; background: #2788B9; }
#graph_type a { color: #000; }
#graph_type li.on a { color: #FFF; text-decoration: none; }
#graph_type div { width: 6px; height: 18px; position: absolute; font-size: 0; top: 0; display: none; }
#graph_type div.left { background: url(../img/graph_type_left.png); left: -6px; }
#graph_type div.right { background: url(../img/graph_type_right.png); right: -6px; }
#graph_type li.on div { display: block; }

#ico_money { float: right; }
#ico_money a { cursor: pointer; }
#ico_money a.on { cursor: default; }

div.big_graph { text-align: center; padding: 25px 0 7px; }
div.big_graph table { border-collapse: collapse; margin: auto; }
div.big_graph td { padding: 0; }

div.h3_title { font-size: 1.17em; font-weight: bold; margin-bottom: 18px; text-align: left; }
div.graph_top { border-bottom: 1px solid #D1D1D1; margin-bottom: 12px; padding-bottom: 32px; text-align: center; text-align: center; }
div.graph_left { float: left; width: 50%; border-right: 1px solid #D4D4D4; padding-bottom: 9px; }
div.graph_riht { float: left; width: 49%; padding-bottom: 9px; }
div.graph_riht div.bg { padding-left: 14px; }

.b-fade{overflow:hidden;white-space:nowrap; }
div.fade{
background: url(../img/bg_grad.png) no-repeat scroll 0;
float:right;
width: 40px;
height:1.4em;
margin-top:-1.2em;
overflow:hidden;
padding-left:16px;
margin-right:-8px;
position:relative
}
.b-fade a { font-weight: bold; text-decoration: none; }
.b-fade a:hover { text-decoration: underline; }
table.horizontal tr.bg div.fade { background: url(../img/bg_grad2.png) no-repeat 0 0; }

.fixedHead table{
    width:220px;
}

.fixedHead td{
    font-weight: bold;
    height: 32px;
    background-color:#E0E0E0;
}
.fixedHead td.c1{
    width:10px;
}

.fixedHead td.c2{
    text-align:center;
    width:150px;
}
.fixedHead td.c3{
    text-align:center;
    width:100px;
}

.fixedContainer td{
    text-align: right;  
}

.fixedColumn td {
    max-width: 100px;
    min-width: 10px;
}

.fixedArea .row1 {
    background-color: #F8F9FB; // none repeat scroll 0 0;
}

.fixedHeadCenter td {
    height: 49px;
    width: 48px;
    background-color:#E0E0E0;
    text-align: center;
    font-weight: bold;
}

.fixedHeadCenter td.c1 {
    width: 233px;
    max-width: 233px;
    text-align: left;
}

.fixedColumn td.c1 {
    width: 233px;
    max-width: 233px;
    text-align: left;
}
.fixedContainer td.card {
    height: 33px;
    min-width: 80px;
    max-width: 80px;
    text-align: right;
}

.button_resizeable {
    -moz-background-size: 100%; /* Firefox 3.6+ */
    -webkit-background-size: 100%; /* Safari 3.1+ и Chrome 4.0+ */
    -o-background-size: 100%; /* Opera 9.6+ */
    background-size: 100%; /* Современные браузеры */
    background-repeat: no-repeat;
    width: auto;
    height: 30px;
}

table.table_form2 input.large_input,
table.table_form2  select.large_input,
table.table_form2 textarea.large_input,
input.large_input {
    width: 300px;
}

table.table_form2 input.very_large_input,
table.table_form2  select.very_large_input,
table.table_form2 textarea.very_large_input,
input.very_large_input {
    width: 450px;
}

optgroup.territory {
    font-style: normal;
    font-size: 12pt;
    font-weight: bold;
    color: red;
}

div.back_button{
    float:right;
    font-size:1.3em;
}
/*----------------------------*/
#fixed_tableDiv .profitFixedHead td{
    font-weight: bold;
    background-color:#E0E0E0;
    border: 1px solid #000000;
    padding-right: 5px;
    height: 35px;
    text-align: right;
}
#fixed_tableDiv .profitFixedHead table{
    border-collapse: collapse;
    border-spacing: 1px;
}

.fixedColumn {
    margin-right: 1px;
}

#profitFixedHeadColumn1 {
    margin-left: 6px;
    width: 15px;
    height: 35px;
    background-color:#E0E0E0;
    text-align: right;
}
#profitFixedHeadColumn2 {
    width: 345px;
    height: 35px;
    max-width: 500px;
    background-color:#E0E0E0;
    text-align: right;
}
td.FixedColumnCounter {
    height: 35px;
    width: 15px;
    text-align: right;
    padding-top: 1px;
    border: 1px solid #000000;
    max-width: 500px;
}
td.FixedColumnNames {
    height: 35px;
    width: 345px;
    text-align: right;
    max-width: 500px;
    border: 1px solid #000000;
    margin-right: 2px;
}
#profitTable td {
    height: 37px;
    padding-bottom: 0px;
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 5px;
    background-color:#FFFFFF;
    border: 1px solid #000000;
    /*border-bottom: 1px solid #000000;*/
    text-align: right;
}
#profitTable table{
    margin-left: 1px;
    border-spacing: 0px;
}
#fixed_tableDiv div.fixedColumn div.fixedTable table{
    border-collapse: collapse;
    padding-top: 1px;
    width: 360px;
}
#fixed_tableDiv div.fixedTable{
    margin-top: 1px;
}
#cornerColumn1{
    width: 10px;
}
#cornerColumn2{
    width: 250px;
}
.column{
    width: 115px;
}
.profitCell{
    width: 109px;
}
.profitHeadCell{
    width: 105px;
}

table.normal_weight label, table.normal_weight th { font-weight: normal; }

.custom-combobox {
    position: relative;
    display: inline-block;
}
.custom-combobox-toggle {
    height: 22px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin-top: -4px;
    margin-left: -3px;
    padding: 0;
    /* support: IE7 */
    *height: 1.7em;
    *top: 0.1em;
}
.ui-corner-all .custom-combobox-input {
    margin: 0;
    padding: 0.3em;
    background: none;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

/* Действия */
a.add { 
    padding-left:18px; 
    padding-top: 3px;
    background:url(../img/add.png) 0 0 
    no-repeat; 
}
a.edit {
    padding-left:18px; 
    padding-top: 3px;
    background:url(../img/edit.png) 0 0
    no-repeat; 
}
a.delete { 
    padding-left:18px; 
    padding-top: 3px;
    background:url(../img/delete.png) 0 0
    no-repeat; 
}
a.dismiss, span.dismiss {
    padding-left:18px; 
    padding-top: 3px;
    background:url(../img/dismiss.png) 0 0
    no-repeat; 
}

a.copy_rights {
    padding-left: 24px;
    padding-top: 5px;
    padding-bottom: 5px;
    background:url(../img/copy_rights.png) 0 0
    no-repeat;
}

.dialog-error {
    border-color: #ff0000;
}
.dialog-error div.ui-dialog-titlebar {
    color: #ff0000;
}

.column-space {
    display: block;
    padding-bottom: 10px;
}

table.hover > tbody > tr:hover {
    background-color: #99CCFF;
}

table.account-form{
    width: 300px;
}

table.account-form tr{
    width: 300px;
}

.helptext.group_help.red{
    color: red;
}
.helptext.group_help.green{
    color: green;
}

.terminal-money .fixedContainer > .fixedHead > table{
    width:840px !important;
}
.terminal-money .fixedHead table td{
    width:120px !important;
}
.terminal-money .fixedContainer > .fixedTable > #Open_Text_Arrays{
    width:840px !important;
}
.terminal-money .fixedContainer > .fixedTable > #Open_Text_Arrays td{
    width:120px !important;
}
.terminal-money #Open_Text_Arrays.FixedTables .totalrow {
    background-color: #c6c6c6;
}
.terminal-money #Open_Text_Arrays.FixedTables tr:hover {
    background-color: #a7d293;
}