/********************************************************************************
 * Стандартная конструкция для устранения ошибок ширин и эмуляции min-width в IE
 ********************************************************************************/
div.width
{
	width: 100%;
	min-width: 700px;
}
div.content
{
	position: relative;
}
* html div.minwidth
{
	padding-left: 700px;
}
* html div.container
{
	position: relative;
	margin-left: -700px;
}
/*\*/
* html div.minwidth, * html div.container, * html div.content, * html div.layout
{
	height: 1px;
}
* html div.layout
{
	height: 1%;
}
/**/


div#calc_container
{
}
div#calc_container table
{
	font-size: 100%;
}
div#calc_container form
{
	margin: 0px;
	padding: 0px;	
}
div#calc_container .calc_error
{
	color: #6d000a;
}

div.calc_menu_container
{
	padding: 18px 0px 0px 26px;
	background: #dfdfd5;
}
table.calc_menu
{
	font-family: Arial;
	font-size: 13px;
	font-weight: bold;
	color: #2f6a4e;
}
div.calc_js_warning
{
	font-family: Tahoma;
	color: #6b6b6b;
	vertical-align: bottom;
	margin-bottom: 1em;
	padding-left: 25px;
	position: relative;
}
div.calc_discount
{
	position: relative;
	width: 100%;
	font-family: Tahoma;
	color: #6b6b6b;
	margin-bottom: 1.1em;
}
div.calc_discount div
{
	color: #033414;
	margin-top: 0.3em;
}
div.calc_discount input
{
	margin-right: 6px;
	width: 2.2em;
}
input#discount
{
	width: 30px;
	height: 20px;
	margin: 5px 5px 0px 3px;
}
div.calc_warning_container
{
	position: relative;
}
div.calc_warning
{
	position: relative;
	font-family: Tahoma;
	color: #6b6b6b;
}
div.calc_auth
{
	position: absolute;
	top: -115px;
	right: 0px;
	padding-bottom: 2px; 
}
div.calc_volume_weight_container
{
	position: relative;
	min-height: 2.2em;
	margin-top: 0.3em;
}
/*\*/
* html div.calc_volume_weight_container
{
	height: 2.2em;
}
/**/
div.calc_volume_weight_link a, div.calc_volume_weight_link a:hover, div.calc_volume_weight_link a:visited
{
	font-family: Tahoma;
	position: absolute;
	z-index: 2;
}
div#calc_volume_weight
{
	position: relative;
	z-index: 1;
	left: 163px;
	width: 311px;
	top: 1em;
	margin: 0px 0px 1.9em 0px;
	background: #dfdfd5;
	border: solid 1px #777975;
	top: 3px;
}
div#vw_error_container
{
	position: absolute;
	top: 0px;
	left: 320px;
	width: 142px;
	display: block;
	text-align: left;
	border-left: 3px solid #6d000a;
	padding-left: 10px;
}
table#calc_volume_weight_table
{
	table-layout: fixed;
	font-family: Tahoma;
	color: #6b6b6b;
}
table#calc_volume_weight_table tr
{
	height: 33px;
}

input#vw_l, input#vw_w, input#vw_h
{
	width: 45px;
	height: 1.5em;
}
div.calc_volume_weight_total
{
	position: relative;
	width: 100%;
	height: 27px;
	margin-top: 7px;
	font-family: Tahoma;
	color: #033414;
}
div.calc_volume_weight_total span
{
	color: #760000;
	font-size: 120%;	
}
div.calc_volume_weight_submit
{
	position: relative;
	width: 100%;
	height: 33px;
}
div.calc_volume_weight_submit input
{
	position: absolute; 
	right: 10px;
	top: 2px;
	width: 92px;
	font-family: Tahoma;
	font-size: 13px;
}
select.tariff_service
{
	position: relative; 
	left: -4px; 
	top: 0px; 
	font-size: 11px; 
	height: 20px;
	width: 118px; 
	padding: 1px 0px 1px 0px;
}


div.calc_volume_weight_right_bottom
{
	position: absolute;
	bottom: -1px;
	right: -1px;
	width: 155px;
	height: 34px;
	background: #ebebe6;
	border-top: solid 1px #777975;
}
/*\*/
* html div.calc_volume_weight_right_bottom
{
	bottom: -2px;
	right: -2px;
}
/**/
div.calc_volume_weight_diag
{
	position: absolute;
	top: -1px;
	left: 0px;
	width: 34px;
	height: 34px;
	background: url("img/volume_weight_diag.gif");
}
div.calc_body
{
	padding: 0px 0px 70px 26px;
	background: #ebebe6;
	border: solid 1px #ebebe6;
}
div.calc_main_container
{
	background: #dfdfd5;
	border-top: solid 1px #ece9d8;
	border-right: solid 1px #aca899;
	border-bottom: solid 1px #aca899;
	border-left: solid 1px #ffffff;
}
div.calc_main_container_border
{
	background: #dfdfd5;
	border-top: solid 1px #f1efe2;
	border-right: solid 1px #716f64;
	border-bottom: solid 1px #716f64;
	border-left: solid 1px #f1efe2;
}
div.calc_table_container
{
	height: 229px;
	overflow: auto;
	margin-left: 1px;
	margin-right: 2px;
}
/*\*/
* html div.calc_table_container
{
	margin-right: -1px;
}
/**/


/******************************
 * Таблица с калькулятором
 ******************************/
table#calc_table_header
{
	font-family: Tahoma;
	font-weight: bold;
	table-layout: fixed;
	text-align: center;
}
table#calc_table_header td
{
	vertical-align: middle;
	border-right: solid 1px #d6d6cc;
	border-left: solid 1px #c2c0b9;
}
td.width_1
{
	width: 41px;
}
td.width_2, td.width_3
{
	width: 180px;
}
td.width_4
{
	width: 120px;
}
td.width_5
{
	width: 65px;
}
td.width_6
{
	width: 360px;
}
table#calc_table
{
	table-layout: fixed;
	font-family: Tahoma;
}
table#calc_table td.input_cell
{
	border-top: 1px solid #aca996;
	border-right: 1px solid #ece9d8;
	border-bottom: 1px solid #ece9d8;
	border-left: 1px solid #aca996;
	vertical-align: middle;
	background-color: white;
}
table#calc_table td.input_cell div.input_border
{
	border-top: 1px solid #727064;
	border-right: 1px solid #f1efe3;
	border-bottom: 1px solid #f1efe3;
	border-left: 1px solid #727064;
	height: 1.65em;
	padding-left: 3px;
	padding-right: 3px;
}
table#calc_table td.input_cell div.input_border_b
{
	border-top: 1px solid #727064;
	border-right: 1px solid #f1efe3;
	border-bottom: 1px solid #f1efe3;
	border-left: 1px solid #727064;
	height: 30px;
	padding-left: 3px;
	padding-right: 3px;
}
table#calc_table .input
{
	width: 100%;
}
table#calc_table td.input_cell input
{
	height: 100%;
	width: 100%;
	border: none;
}
table#calc_table td.input_cell .output
{
	padding-top: 1px;
}
table#calc_table td.disabled
{
	background-color: #dfdfd5;
}
table#calc_table .centered
{
	text-align: center;
}


table.calc_total
{
	font-family: Tahoma;
	font-weight: bold;
	color: #033414;
}
td.calc_total_label
{
	padding: 0px;
	padding-right: 5px; 
	padding-top: 5px;
	padding-bottom: 1px;
	text-align: right;
	vertical-align: bottom;
}
td.calc_total_value
{
	padding: 0px;
	vertical-align: bottom;
	width: 105px;
	padding-right: 10px;
}
span.calc_total_value
{
	color: #6d000a;
	font-size: 120%;	
}
div.buttons
{
	position: relative;
	height: 31px;
}
div.buttons input
{
	font-family: Tahoma;
	font-size: 13px;
}
div.button_calc_reset
{
	position: absolute;
	width: 500px;
	height: 33px;
	margin: 0px 0px -2px -2px;
	border-top: solid 1px #716f64;
	background: #ebebe6;
}
div.button_calc_reset_border
{
	position: relative;
	width: 100%;
	height: 100%;
	border-top: solid 1px #aca899;
}
div.buttons_excel
{
	position: absolute;
	top: 8px;
	left: 260px;
}
div.buttons_diag
{
	position: absolute;
	top: -2px;
	right: -1px;
	width: 29px;
	height: 33px;
	background: url("img/buttons_diag.gif");
}
div.button_calc_reset_border input
{
	position: absolute; 
	top: 2px;
	left: 2px; 
	width: 133px;
}
input.button_calc_submit
{
	position: absolute; 
	top: 3px;
	right: 16px; 
	width: 92px;
}

/* Стили формы авторизации */
div.calc_login_container
{
	position: absolute;
	top: 25px;
	right: 0px;
	font-family: Tahoma;
	background: #dfdfd5;
	border: solid 1px #2f2f2f;
	display: none;
}
div.calc_login_border
{
	padding: 21px 5px 21px 10px;
	border: solid 1px #cccccc;
}
input#calc_login
{
	height: 20px;
	width: 130px;
	margin: 0px 0px 5px 0px;
}
input#calc_password
{
	height: 20px;
	width: 130px;
	margin: 0px 0px 0px 0px;
}
input#calc_login_submit
{
	width: 56px;
}
input#calc_login_close
{
	width: 74px;
}
