
html,body { margin: 0; padding: 0; width: 100%; height: 100%; }
body { color: #000; background: #FFF; font: 62.5% Arial, Helvetica, sans-serif; 
	min-width: 1000px; width: expression((documentElement.clientWidth) < 1000 ? "1000px" : "100%"); }	

a img { border: none }	 
tr.article_have_comment td { color: #ff0000; font-weight: bold;}
td,th { font: 1em Arial, Helvetica, sans-serif; font: "0.75em Arial, Helvetica, sans-serif"; color: #000; }

input,select,textarea { color: #000; font: 12px Arial, Helvetica, sans-serif; }
a { color: #1B41AC; }	
form { margin: 0; }
div.clear, br.clear { clear: both; font-size: 0px; position: relative; }
p { margin: 0 0 15px; }
div.wrapper { float: left; width: 100%; }

#carrier { font-size: 1.2em; min-height: 100%; background: #CECECD url(../img/bg_x.jpg) repeat-x 0 57px; }
* html #carrier { height: 100%; }

#header { height: 56px; background: #E1E1E1; border-bottom: 1px solid #BDBDBD; position: relative; margin-bottom: 16px; }
#logo { position: absolute; left: 15px; top: 0px; }

#top_line { margin-left: 306px; background: #777877 url(../img/bg_top_x.gif) repeat-x 0 0; color: #E6E6E6; }
#top_line div.bg { background: url(../img/bg_top_left.gif) no-repeat 0 0; height: 28px; padding: 0 12px 0 29px; line-height: 28px; }
#top_line a { color: #FFF;background: #767676 }
#time { float: left; color: #DBDBDB; font-size: 1.08em; }
#top_line div.links { float: right; padding-left: 10px; }
#top_line div.name { float: right; font-weight: bold; }

ul#top_act { padding: 0 14px 0 0; list-style: none; line-height: 27px; font-size: 1.08em; float: right; margin: 0; }
ul#top_act li { float: left; padding-left: 20px; }
#top_act a { padding-left: 21px; background-position: 0 center; background-repeat: no-repeat; }
#top_act a.add { background-image: url(../img/ico_add.gif); }
#top_act a.list { background-image: url(../img/ico_list.gif); }
#top_act a.filter { background-image: url(../img/ico_filter.gif); }
ul#top_act li.name { color: #3C3C3C; font-weight: bold; position: relative; left: 13px; font-size: 0.92em; }


#main_right { margin: 0 9px 0 254px; }

#main_left { width: 254px; float: left; margin-left: -100%; position: relative; }
#main_left.small { width: 63px; }

#bg_menu { margin-left: 12px; margin-bottom: 17px; background: url(../img/arrow_menu_popup.gif) no-repeat -100px -100px; 
	width: 227px; }

#bg_menu a.root { display: block; width: 192px; height: 31px; position: relative; left: 1px; top: -2px; margin-bottom: 4px; 
	background: url(../img/menu0.gif); float: left; color: #FFF; font-size: 14px; font-weight: bold; line-height: 31px; 
	text-decoration: none; padding-left: 33px; }

#menu, #menu ul { list-style:none; margin: 0; padding: 0; }
#menu { border: 1px solid #A8A8A8; background: #F4F4F4; clear: both; }
.big #menu { width: 225px; border-top: none; }
.small #menu { width: 37px; border: 1px solid #A8A8A8; }
#menu ul { padding: 8px 19px 10px 23px; background: #FFF; }
.small #menu li { position: relative; font-size: 0; }
#menu a { display: block; text-decoration: none; color: #000; font-weight: bold; font-size: 13px;   
	background-repeat: no-repeat; background-position: 0 0; padding-left: 33px; }
#menu a.a { height: 36px; line-height: 36px; width: 192px; }
#menu a.fin { background-image: url(../img/menu_fin.gif); }
#menu a.records { background-image: url(../img/menu_records.gif); }
#menu a.inferiors { background-image: url(../img/menu_inferiors.gif); }
#menu a.service { background-image: url(../img/menu_service.gif); }
#menu a.terminals { background-image: url(../img/menu_terminals.gif); }
.big #menu a:hover { background-position: 0 -36px; }
#menu a.on { background-position: 0 -72px !important; color: #FFF; font-size: 14px; }
#menu ul a { display: inline; text-indent: 0 !important; font-size: 12px; font-weight: normal; padding: 0; }
#menu ul a:hover { text-decoration: underline; }
#menu ul li { padding: 3px 0 4px 12px; background: url(../img/menu2_li.gif) no-repeat 0 7px; }
#menu a.on2 { font-weight: bold; }
#menu a.a:hover { cursor: default; }

#bg_menu.small { width: 39px; }
#bg_menu.small a.root { width: 39px; background-position: 0 -31px; left: 0; padding: 0; text-indent: -999px; } 

.small #menu a.a { width: 37px; text-indent: -999px; padding: 0; background-position: 0 -108px !important;}
.small #menu a.on { background-position: 0 -144px !important; }
.small #menu ul { position: absolute; top: 0; left: 39px; border: 1px solid #A8A8A8; width: 195px; padding: 8px 15px 10px 15px; }
#menu ul li.title { font-weight: bold; font-size: 14px; color: #2B2B2B; padding: 2px 0 15px 15px; margin-left: -15px;
	background: url(../img/arrow_menu_popup.gif) no-repeat 0 5px; }
	


#act_left { width: 6px; height: 63px; font-size: 0; background: #898989 url(../img/act_menu_left.gif); cursor: pointer;
	position: absolute; left: 0; top: 163px; display: none; }
#act_right { width: 5px; height: 63px; font-size: 0; background: #898989 url(../img/act_menu_right.gif); cursor: pointer;
	position: absolute; left: 239px; top: 163px; }

#history { margin-left: 12px; width: 199px; border: 1px solid #B1B1B1; background: #F9F9F9; padding: 8px 13px; }
#history div.title { font-weight: bold; margin-bottom: 5px; font-size: 1.08em; }
#history ul { margin: 0; padding: 0; list-style: none; }
#history li { padding: 3px 0; }
#history a { color: #000; }
#history a.on { font-weight: bold; text-decoration: none; }


#h1_title { position: relative; height: 28px; line-height: 28px; margin-bottom: 2px; }
#h1_title div { position: absolute; left: 2px; top: 0; padding-left: 27px; color: #515151; font-size: 1.83em;
	background-position: 0 center; background-repeat: no-repeat; }
#h1_title div.root { background-image: url(../img/ico_root.gif); }
#h1_title div.inferiors { background-image: url(../img/ico_inferiors.gif); }
#h1_title div.service { background-image: url(../img/ico_service.gif); }
#h1_title div.terminals { background-image: url(../img/ico_terminals.gif); }
#h1_title div.records { background-image: url(../img/ico_record.gif); }
#h1_title div.fin { background-image: url(../img/ico_fin.gif); }
#h1_title span { position: absolute; top: 0; right: 10px; font-size: 1.17em; }

div.line_corner { font-size: 0; height: 2px; background: #FFF; }
div.line_corner div { width: 2px; height: 2px; float: left; }
div.line_corner div.left1 { background: url(../img/corner_content1.gif); }
div.line_corner div.right1 { background: url(../img/corner_content2.gif); float: right; }
div.line_corner div.left2 { background: url(../img/corner_content3.gif); }
div.line_corner div.right2 { background: url(../img/corner_content4.gif); float: right; }

#content { background: #FFF; min-height: 500px; height: auto !important; height: 500px; }
	
#front_block { padding: 15px 9px 20px 0; text-align: center; position: relative; }
#front_block table { border-collapse: collapse; margin: auto; }
#front_block td { padding: 0; }
div.h2_title { font-size: 1.5em; margin-bottom: 5px; }
div.float_title { margin: 0; float: left; position: relative; top: -2px; }
#front_block div.h2_title { text-align: left; margin-left: 42px; }
#front_block select { float: right; font-weight: bold; width: 200px; border: 1px solid #848484; margin-top: 1px; }

#columns { padding: 6px 15px; }
#columns .column { margin: 0; padding: 0; list-style: none;	float: left; width: 49.9%; 
	 min-height: 200px; height: auto !important; height: 200px; }	 
#columns .widget { margin-bottom: 14px; border: 1px solid #C0C0C0; }
#columns #column1 .widget, #column1 .widget-placeholder { margin-right: 10px; }
#columns #column2 .widget, #column2 .widget-placeholder { margin-left: 10px; }
#columns .widget .widget-head { color: #515151; overflow: hidden; height: 32px; line-height: 32px; background: #EBEBEB; 
	padding: 0 9px; font-size: 14px; font-weight: bold; }
#columns .widget .widget-head div.title {  }
#columns .widget .widget-content { padding: 8px 11px 20px; }
.widget-placeholder { margin-bottom: 12px; border: 2px dashed #C0C0C0; }
#add_widget { background: #F5F5F5; text-align: center; border: 1px dashed #717171 !important; 
	height: 214px; line-height: 200px; font-size: 0.92em; }
#add_widget a { color: #000; }

.widget div.clear { float: right; width: 100%; }
.widget .widget-content div.clear { float: none; }
div.switch { position: absolute; right: 7px; top: -26px; }
div.in-section { top: -62px; }
div.switch div { float: left; width: 43px; height: 20px; line-height: 19px; font-size: 11px; text-align: center; }
div.switch div.on { background: #CBE1FF url(../img/switch_widget.gif); font-size: 12px; font-weight: bold; }
div.switch a, div.switch div.on a:hover { color: #000; text-decoration: none; }
div.switch a:hover { text-decoration: underline; }

.widget ul.ul { margin: 0; padding: 0; list-style: none; font-size: 1.08em; }
.widget ul.ul li { padding: 3px 0; }
.widget ul.ul a { color: #000; text-decoration: none; }
.widget ul.ul a:hover { text-decoration: underline; }

.widget table.table { border-collapse: collapse; width: 100%; }
.widget table.table th { color: #676767; text-align: left; font-weight: bold; padding: 0 8px 4px; }
.widget table.table th.right, .widget table.table td.right { text-align: right; white-space: nowrap; }
.widget table.table td { padding: 3px 8px 4px; }
.widget table.table tr.bg { background: #E8F4FF; }
.widget table.table td.time { width: 36px; white-space: nowrap; }
.widget table.table tr.total { background: #FFF !important; }
.widget table.table tr.total td { border-top: 1px solid #B3B3B3; padding-top: 2px; font-size: 1.09em; }
.widget table.table thead td { padding-bottom: 6px; }
.size11 { font-size: 0.92em; }
.nowrap { white-space: nowrap; }
.widget p { margin-bottom: 5px; }
.widget span.red { color: #EB0000; }
.widget span.green { color: #0B9D00; }
   
#tooltip { position: absolute; z-index: 3000; border: 1px solid #2B2A2A; background: #FFF; padding: 5px; font-size: 12px; }          
#tooltip h3, #tooltip div { margin: 0; }
#tooltip h3 { font-weight: normal; font-size: 11px; }
#tooltip div.arrow { width: 17px; height: 10px; font-size: 0; position: absolute; left: 45px; bottom: -10px; 
			background: url(../img/tooltip_arrow.png) no-repeat 0 0; }
.hide { display: none; }
#tooltip span.gray { color: #6B6C6B; }

#customize_panels { float: right; margin: 4px 0; background: #AAA url(../img/bg_customize.gif) no-repeat 0 0; font-size: 0.92em;
	line-height: 21px; height: 21px; }
#customize_panels a { color: #404040; text-decoration: none; display: block; width: 142px; padding-left: 8px; }



.button_ok_blue { width: 119px; height: 29px; cursor: pointer; border: none; background-color: transparent;
	color: #FFF; font-size: 15px; padding: 0 12px 2px 0;
	background-image: url(../img/button_ok_blue.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_ok_blue.png,sizingMethod=crop); }
	
.button_cancel { width: 104px; height: 30px; cursor: pointer; border: none; background-color: transparent;
	color: #3E3E3E; font-size: 15px; padding-bottom: 2px;
	background-image: url(../img/button_cancel.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_cancel.png,sizingMethod=crop); }		
	
.bc15 { width: 150px; 
	background-image: url(../img/button_cancel15.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_cancel15.png,sizingMethod=crop); }	
.bc2 { width: 200px; 
	background-image: url(../img/button_cancel2.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_cancel2.png,sizingMethod=crop); }
.bc3 { width: 300px; 
	background-image: url(../img/button_cancel3.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_cancel3.png,sizingMethod=crop); }
	
.button_blue { width: 104px; height: 30px; cursor: pointer; border: none; background-color: transparent;
	color: #FFF; font-size: 15px; padding-bottom: 2px;
	background-image: url(../img/button_blue.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_blue.png,sizingMethod=crop); }	
	
.bb15 { width: 150px; 
	background-image: url(../img/button_blue15.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_blue15.png,sizingMethod=crop); }	
.bb2 { width: 200px; 
	background-image: url(../img/button_blue2.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_blue2.png,sizingMethod=crop); }
.bb3 { width: 300px; 
	background-image: url(../img/button_blue3.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_blue3.png,sizingMethod=crop); }	
	
.button_ok { width: 92px; height: 28px; cursor: pointer; border: none; background-color: transparent;
	background-image: url(../img/button_ok.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_ok.png,sizingMethod=crop); }
	
.button_next_black, .button_next_gray, .button_next_blue { width: 203px; height: 29px; cursor: pointer; border: none; 
	background-color: transparent; color: #FFF; font-size: 15px; padding: 0 9px 2px 0; }

.button_next_black { background-image: url(../img/button_next_black.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_next_black.png,sizingMethod=crop); }

.button_next_gray { background-image: url(../img/button_next_gray.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_next_gray.png,sizingMethod=crop); }
	
.button_next_blue { background-image: url(../img/button_next_blue.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_next_blue.png,sizingMethod=crop); }		
	
.button_bw { width: 119px; height: 29px; cursor: pointer; border: none; background-color: transparent;
	background-image: url(../img/button_bw.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_bw.png,sizingMethod=crop); }
	
.button_fw { width: 119px; height: 28px; cursor: pointer; border: none; background-color: transparent;
	background-image: url(../img/button_fw.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_fw.png,sizingMethod=crop); }
	
.button_double_black { width: 119px; height: 29px; cursor: pointer; border: none; background-color: transparent;
	color: #FFF; font-size: 15px; padding-bottom: 2px;
	background-image: url(../img/button_double_black.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_double_black.png,sizingMethod=crop); }
.button_double_black_on { background-image: url(../img/button_double_black_on.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_double_black_on.png,sizingMethod=crop); }
	
.button_double_gray { width: 119px; height: 29px; cursor: pointer; border: none; background-color: transparent;
	color: #FFF; font-size: 15px; padding-bottom: 2px;
	background-image: url(../img/button_double_gray.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_double_gray.png,sizingMethod=crop); }
.button_double_gray_on { background-image: url(../img/button_double_gray_on.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/button_double_gray_on.png,sizingMethod=crop); }

.button_white_small { width: 80px; height: 19px; cursor: pointer; border: none; background-color: transparent;
	color: #3E3E3E; font-size: 11px; padding-bottom: 3px;
	background-image: url(../img/button_white_small.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/img/button_white_small.png,sizingMethod=crop); }

.bws_xls { width: 100px;
    background-image: url(../img/button_white_small_xls.png);
    //background-position: 50% 50%;
//	 background-image: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/img/button_white_small2.png,sizingMethod=crop); }
.bws2 { width: 160px; 
	background-image: url(../img/button_white_small2.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/img/button_white_small2.png,sizingMethod=crop); }	
.bws3 { width: 240px; 
	background-image: url(../img/button_white_small3.png); 
	//	 background-image: none;  
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/img/button_white_small3.png,sizingMethod=crop); }
	
.button_plus { 
	width: 11px; 
	height: 11px; 
	cursor: pointer; 
	border: none; 
	background-color: transparent;
	color: #ffffff; 
	font-size: 9px; 
	padding-left: 2px;
	background-image: url(../img/expand.gif);
	}
	
.button_minus { 
	width: 11px; 
	height: 11px; 
	cursor: pointer; 
	border: none; 
	background-color: transparent;
	color: #ffffff; 
	font-size: 9px; 
	padding-left: 2px;
	background-image: url(../img/collapse.gif);
	}
	
.button_attach { 
	width: 16px; 
	height: 16px; 
	cursor: pointer; 
	border: none; 
	background-color: transparent;
	color: #ffffff; 
	font-size: 9px; 
	padding-left: 2px;
	background-image: url(../img/attach.gif);
	}
	
.button_help { 
	width: 16px; 
	height: 19px; 
	cursor: pointer; 
	border: none; 
	background-color: transparent;
	color: #ffffff; 
	font-size: 11px; 
	padding-bottom: 2px;
	background-image: url(../img/comment.PNG);
	}

div.top_line input.button_white_small { float: left; }


.currency_value{
	
	white-space: nowrap;
}

.hidden_currency_value{
	display: none;
}

.diff_green{
	
	color: green;
	white-space: nowrap;
	font-weight: bold;
}

.diff_red{
	
	color: red;
	white-space: nowrap;
	font-weight: bold;
}

.diff_blue{
	
	color: blue;
	white-space: nowrap;
	font-weight: bold;
}

table.horizontal tr.narrow td {
    border: none;
    padding-top: 0px; padding-bottom: 0px;
}

#content-main a.comments {
    background: url(../img/comments.png) left top no-repeat;
    padding-left: 20px;
}

select#id_expense_item option[value*="g"] {
    color: blue;
}
