div#calculator{
	font-size: 11px;
	color: #777;
}

#calculator h1{
	margin: 0 0 10px 0;
	padding: 0;
}


.link{
	color: #135CAE;
}

.link:hover{
	text-decoration: underline;
	cursor: pointer;
}

div#calculator #type_selector{
}

div#calc_body {
	height: 300px;
}

div#calculator input{
	font-size: 10px;
	text-align: center;
	color: #444;
	border: 1px solid #b5b5b5
}

div#calculator #frame_size input {
	width: 30px;
}

div#calculator #type_selector input{
	border: none;
}
div#calculator input[type=checkbox]{
	border: none;
}

div#calculator select{
	font-size: 10px;
	text-align: center;
	color: #444;
	border: 1px solid #b5b5b5
}

/*------------ Buttons --------------------*/
div#calculator #count_btn{
	display: none;
	border: 0px;
}
/*------------ Type selector --------------*/
div#calculator #type_selector .selector_placeholder{
	padding-left: 10px;
	padding-right: 10px;
	float: left;
}

html>body div#calculator #type_selector .selector_placeholder{
	cursor: pointer;
}

div#calculator #type_selector #type_1, div#records_placeholder #type_1{
	margin-top: 5px;
	width: 31px;
	height: 52px;
	background: url("/images/type_1.jpg") no-repeat;
}

div#calculator #type_selector #type_2, div#records_placeholder #type_2{
	margin-top: 5px;
	width: 60px;
	height: 52px;
	background: url("/images/type_2.jpg") no-repeat;
}

div#calculator #type_selector #type_3, div#records_placeholder #type_3{
	margin-top: 5px;
	width: 89px;
	height: 52px;
	background: url("/images/type_3.jpg") no-repeat;
}

div#calculator #type_selector #type_4, div#records_placeholder #type_4{
	margin-top: 5px;
	width: 31px;
	height: 77px;
	background: url("/images/type_4.jpg") no-repeat;
}

div#calculator #type_selector #type_5, div#records_placeholder #type_5{
	margin-top: 5px;
	width: 62px;
	height: 77px;
	background: url("/images/type_5.jpg") no-repeat;
}

div#calculator #type_selector #type_6, div#records_placeholder #type_6{
	margin-top: 5px;
	width: 91px;
	height: 77px;
	background: url("/images/type_6.jpg") no-repeat;
}

/*------------ Frame --------------*/
/* type_1*/
div#calculator #frame_type_1{	
	width: 156px;
	height: 214px;
	margin-left: 110px;
	background: url("/images/frame_type_1.gif") no-repeat;
	position: absolute;
}
div#calculator #frame_type_1 #width_1{
	position: absolute;
	left: 80px;
}
div#calculator #frame_type_1 #height_1{
	position: absolute;
	top: 105px;
}
div#frame_type_1 #calculator_info{
	width: 250px;
	position: absolute;
	top: 220px;
	left: -30px;
	
}
/* type_2*/
div#calculator #frame_type_2{
	width: 267px;
	height: 214px;
	margin-left: 50px;
	background: url("/images/frame_type_2.gif") no-repeat;
	position: absolute;
}

div#calculator #frame_type_2 #width_1{
	position: absolute;
	left: 80px;
}
div#calculator #frame_type_2 #width_2{
	position: absolute;
	left: 192px;
}
div#calculator #frame_type_2 #height_1{
	position: absolute;
	top: 105px;
}
div#frame_type_2 #calculator_info{
	width: 250px;
	position: absolute;
	top: 220px;
	left: 30px;
}
/* type_3*/
div#calculator #frame_type_3{
	width: 376px;
	height: 214px;
	background: url("/images/frame_type_3.gif") no-repeat;
	position: absolute;
}
div#calculator #frame_type_3 #width_1{
	position: absolute;
	left: 80px;
}
div#calculator #frame_type_3 #width_2{
	position: absolute;
	left: 190px;
}
div#calculator #frame_type_3 #width_3{
	position: absolute;
	left: 302px;
}
div#calculator #frame_type_3 #height_1{
	position: absolute;
	top: 105px;
}
div#frame_type_3 #calculator_info{
	width: 250px;
	position: absolute;
	top: 220px;
	left: 80px;
}
/* type_4*/
div#calculator #frame_type_4{
	width: 156px;
	height: 315px;
	margin-left: 150px;
	background: url("/images/frame_type_4.jpg") no-repeat;
	position: absolute;
}
div#calculator #frame_type_4 #width_1{
	position: absolute;
	left: 40px;
}
div#calculator #frame_type_4 #height_1{
	position: absolute;
	left: 123px;
	top: 153px;
}
/* type_5*/
div#calculator #frame_type_5{
	width: 311px;
	height: 315px;
	margin-left: 50px;
	background: url("/images/frame_type_5.jpg") no-repeat;
	position: absolute;
}
div#calculator #frame_type_5 #width_1{
	position: absolute;
	left: 80px;
}
div#calculator #frame_type_5 #width_2{
	position: absolute;
	left: 195px;
}
div#calculator #frame_type_5 #height_1{
	position: absolute;
	top: 105px;
}
div#calculator #frame_type_5 #height_2{
	position: absolute;
	left: 277px;
	top: 153px;
}
div#frame_type_5 #calculator_info{
	width: 130px;
	position: absolute;
	top: 220px;
	left: 25px;
}
/* type_6*/
div#calculator #frame_type_6{
	width: 422px;
	height: 315px;
	background: url("/images/frame_type_6.jpg") no-repeat;
	position: absolute;
}
div#calculator #frame_type_6 #width_1{
	position: absolute;
	left: 80px;
}
div#calculator #frame_type_6 #width_2{
	position: absolute;
	left: 192px;
}
div#calculator #frame_type_6 #width_3{
	position: absolute;
	left: 306px;
}
div#calculator #frame_type_6 #height_1{
	position: absolute;
	top: 105px;
}
div#calculator #frame_type_6 #height_3{
	position: absolute;
	left: 389px;
	top: 153px;
}
div#frame_type_6 #calculator_info{
	width: 250px;
	position: absolute;
	top: 220px;
	left: 20px;
}
/*------------ Window Leaf --------------*/
div .window_leaf_0{
	width: 104px;
	height: 179px;
	background: url("/images/wnd_0.jpg") no-repeat;
	cursor: pointer;
}

div .window_leaf_1{
	width: 104px;
	height: 179px;
	background: url("/images/wnd_1.jpg") no-repeat;
	cursor: pointer;
}
div .window_leaf_2{
	width: 104px;
	height: 179px;
	background: url("/images/wnd_2.jpg") no-repeat;
	cursor: pointer;
}
div .window_leaf_3{
	width: 104px;
	height: 179px;
	background: url("/images/wnd_3.jpg") no-repeat;
	cursor: pointer;
}
div .window_leaf_4{
	width: 104px;
	height: 179px;
	background: url("/images/wnd_4.jpg") no-repeat;
	cursor: pointer;
}

div#wnd_placeholder_1_1{
	top: 30px;
	left: 46px;
	position: absolute;
}
div#wnd_placeholder_2_1{
	top: 30px;
	left: 46px;
	position: absolute;
}
div#wnd_placeholder_2_2{
	top: 30px;
	left: 156px;
	position: absolute;
}
div#wnd_placeholder_3_1{
	top: 30px;
	left: 46px;
	position: absolute;
}
div#wnd_placeholder_3_2{
	top: 30px;
	left: 156px;
	position: absolute;
}
div#wnd_placeholder_3_3{
	top: 30px;
	left: 266px;
	position: absolute;
}
div#wnd_placeholder_5_1{
	top: 30px;
	left: 46px;
	position: absolute;
}
div#wnd_placeholder_6_1{
	top: 30px;
	left: 46px;
	position: absolute;
}
div#wnd_placeholder_6_2{
	top: 30px;
	left: 156px;
	position: absolute;
}
/*------------ Parameters table --------------*/
div#calculator #parameters{
	float: right;
	width: 225px;
}
div#calculator #parameters > table tr{
	height: 25px;
}

div#parameters table td{
	padding-top: 10px;
}

div#calculator_info{
	font-size: 10px;
	text-align: center;
}
/*---------- Discount -------------*/
div#discount_placeholeder{
	display: none;
	margin-top: 10px;
	margin-bottom: 15px;
}
div#discount_placeholeder #get_discount{
	
}

div#discount_placeholeder #client_data{
	display: none;
}
/*-------- Client Data ------------*/
div#get_discount_wnd{
	border: 2px solid #444;
}

div#client_data {
	display: none;
	padding-top: 10px;
}
div#client_thnx{
	display: none;
	padding-top: 40px;
	padding-bottom: 80px;
	margin: 10px;
	font-size: 12px;
	font-weight: bold;
}

div#client_data input{
	font-size: 12px;
	text-align: left;
	padding-left: 5px;
}
div#client_data #get_count_btn{
	margin: 10px;
	width: 144px;
	height: 30px;
}
div#client_data  #get_count_btn{
	background: url("/images/button_getdiscount_dis.gif") no-repeat;
}

div#client_data .active#get_count_btn{
	background: url("/images/button_getdiscount.gif") no-repeat;
}

div#client_data .active#get_count_btn:hover{
	cursor: pointer;
	background: url("/images/button_getdiscount_hover.gif") no-repeat;
}

/*------------ Price --------------*/
div#calculation_placeholder{
	width: 220px;
}
div#price_placeholder{
	/*text-align: right;*/
	margin: 15px;
	margin-bottom:5px;
	font-size: 16px;
	font-weight: bold;
	/*display: none;*/
}

div#calc_error{
	/*display:none;*/
	margin-top: 10px;
	color: red;
}
span#price1{
	color:red;
	font-size:1.5em;
	font-weight:bold;
	line-height:1.5em;
}
span#price2{
	color:red;
	font-size: 1.2em;
	line-height: 1.2em;
	font-weight: normal;
	text-decoration: line-through;
}

span#output1{
}

span#output2{
	display: none;
}
/*------------ Basket --------------*/
div#basket{
	display: none;
}
div.record{
	width: 300px;
	height: 90px;
	border: 1px solid #ccc;
	margin-top: -1px;
}
div.record_price{
	/*margin-left:30px;
	margin-top: 25px;*/
	color: #777777;
	font-size: 16px;
	font-weight: bold;
	float: right;
}
span.record_price_num{
	margin-left: 15px;
	color:red;
	font-size:18px;
	font-weight:bold;
}

div.record_image{
	margin-top: 10px;
	margin-left: 10px;
	float: left;
}
div#records_placeholder{
	padding-left: 25px;
}
div#records_placeholder table{
	border-width: 1px;
	border-spacing: 0px;
	border-style: solid;
	border-color: gray;
	border-collapse: collapse;
	
}
div#records_placeholder tbody{
	color: #333333;
}

div#records_placeholder table tr td{
	padding: 5px;
	border: solid 1px;
}
div#addbasket_btn{
	width:144px;
	height:30px;
	/*text-decoration: underline;
	color: red;
	display: none;*/
	cursor: pointer;
	background: url("/images/button_addbasket.gif") no-repeat;
	
}
div#addbasket_btn:hover{
	color: black;
	background: url("/images/button_addbasket_hover.gif") no-repeat;
}
div#clear_basket, div#request_price{
	width: 200px;
	height: 17px;
	margin-top: 15px;
	/*background: grey;*/
	text-align: center;
	text-decoration: underline;
	color: red;
	cursor: pointer;
	float: left;
}

div#request_price{
	margin-left: 20px;
	margin-top: 20px;
}

div#clear_basket{
	margin-left: 50px;
	margin-top: 20px;
}


div#clear_basket:hover, div#request_price:hover{
	color: black;
}

div.record_delete{
	/*margin-top: 15px;*/
	width:95px;
	text-align: center;
	text-decoration: underline;
	color: red;
	cursor: pointer;
}
div.record_delete:hover{
	color: black;
}

/*====================================================================*/
#mask {
  position:absolute;
  left:0;
  top:0;
  z-index:9000;
  background-color:#000;
  display:none;
}
  
#boxes .window {
  position:absolute;
  left:0;
  top:0;
  width:500px;
  height:200px;
  display:none;
  z-index:9999;
  padding:20px;
}