/* Core html setup */

html { height: 100%; background: #faf3e3 url(images/html_bgr.png) repeat-x 0 0; }
body { background: transparent url(images/body_bgr.jpg) no-repeat center top; }

html, body, div.ie_body {
	width: 100%;
	padding: 0px;
	margin: 0px;
}

body {
	font-family: 'Trebuchet MS',Arial,Helvetica,sans-serif;
	line-height: 21px;
	font-size: 13px;
	font-size-adjust: none;
	text-align: center;
	position: relative;
	min-width: 1000px;
	min-height: 100%;
}

div.ie_body {
	text-align: center;
	position: relative;
}

#conteiner {
	text-align: left;
	position: relative;
	margin: 0px auto;
	width: 960px;
	padding: 0;
}

#row_footer {
	position: absolute;
	width: 100%;
	overflow: hidden;
	bottom: 0;
	left: 0;
	height: 188px; 
}

#row_left {
	float: left;
	width: 250px;
	overflow: hidden;
}

#row_body {
	float: left;
	width: 710px;
	overflow: hidden;
}

.box_emulator {
	overflow: hidden;
	clear: both;
	padding-bottom: 200px;
}

.inbox {
	padding: 10px;
}

/* logo_box, link_box, phone_box */

#logo_box, #link_box, #phone_box, #phone_box_x2 { position: absolute; }
#logo_box { left: -4px; width: 300px; top: 14px; font-size: 14px; }
#logo_box img { float: left; }
#logo_box img.i2 { margin-top: 9px; margin-left: 9px; }
#logo_box a { text-decoration: none; }
#logo_box span, #phone_box span, #phone_box_x2 span { margin-top: -3px; float: left; }
#logo_box a span, #phone_box span { color: #491f01; }
#logo_box a span, #logo_box span { margin-left: 11px; }
#logo_box a:hover span, #logo_box span, #phone_box_x2 span { color: #faf3e3; }

#link_box { left: 400px; top: 18px; }

#phone_box { left: 807px; width: 171px; top: 28px; }
#phone_box img, #phone_box_x2 img { float: left; }
#phone_box span { margin-left: 40px; }

#phone_box_x2 { left: 807px; width: 160px; top: 28px; }
#phone_box_x2 span { float: right;}

span.img-ie6a { display: none; }

/* link_box */

#link_box ul { padding: 0; margin: 0; list-style: none; }
#link_box ul li { padding: 0; margin: 0 20px 0 0; float: left; background: none; }
#link_box ul li a img{ margin: 0; padding: 0; }
#link_box ul li a, #link_box ul li a:visited a { opacity: 0.3; -moz-opacity: 0.3; }

#link_box ul li.active a, #link_box ul li.active a:hover { opacity: 0.1; -moz-opacity: 0.1; }
#link_box ul li a:hover { opacity: 1; -moz-opacity: 1; }

/* left_block */

.left_block {
	padding: 140px 20px 40px 0px; margin: 0px;
	/*background: #af6f43 url(images/body_bgr.jpg) no-repeat -139px 0px;*/
}
.left_block ul { margin: 0; padding: 0; list-style: none; font-size: 12pt; }
.left_block li { margin: 0 0 10px 0; padding: 0 0 0 32px; background: transparent url(images/bull.png) no-repeat 10px 7px; }
.left_block li a, .left_block li a:visited { color: #faf3e3; text-shadow: 0px 0px 2px #5e2300; }
.left_block li.active a:after { content: '...'; }
.left_block li a:hover,
.left_block li.active a, .left_block li.active a:visited { color: white; text-decoration: none; }

/* row_body -> inbox */

#row_body .inbox { padding: 106px 10px 30px 10px; text-shadow: 0 1px 0 #fff; }
#row_body .inbox h1.title { margin: 0; margin-left: 139px; height: 16px; font-size: 16px; }
#row_body .inbox .text { padding-top: 12px; overflow: hidden; clear: both; color: #333; }
#row_body .inbox .text p { padding: 0 4px; }

#row_body .inbox #main_first_bl { height: 200px; padding-bottom: 0; }
#row_body .inbox #main_last_bl { padding-top: 0; }

/* ico_links */

.i_calculate a { background-image: url(images/i_calculate.png); }
.i_contact a { background-image: url(images/i_contact.png); }

.ico_links a { display: block; padding-left: 80px; background-position: 8px 0; background-repeat: no-repeat; font-size: 12pt; }
.ico_links { padding: 60px 0 0 0; }
.ico_links a span, .ico_links a:visited span { text-decoration: underline; color: #faf3e3; text-shadow: 0px 0px 2px #5e2300; }
.ico_links a:link, .ico_links a:visited, .ico_links a:hover span, .ico_links a i { text-decoration: none; }
.ico_link a:hover span, .ico_links a:hover i { color: white; }
.ico_links a i { color: #270f01; font-size: 8pt; font-style: normal; line-height: 1em; }

/* 2 row in */

#row2_left, #row2_right { float: left; }
#row2_left { width: 400px; padding-left: 50px; }
#row2_right { width: 240px; }

#row2_right .calc { 
	background: transparent url(images/i_big_calculate.jpg) no-repeat center top; 
	height: 22px;
	margin: 0 auto;
	padding: 15px 20px 190px 20px;
	width: 130px;
	position: relative;
}
#row2_right .calc span { float: right; font-size: 17px; letter-spacing: 1pt; line-height: 23px; }
#row2_right .calc .ch_calc { 
	position: absolute; 
	background: transparent url(images/hint_calc.png) no-repeat 0 0; 
	width: 121px; height: 141px; padding: 35px 10px 10px 30px;
	left: -4px; top: 29px;
}

#row2_right .cont { background: transparent url(images/i_big_contact.png) no-repeat center top; height: 262px; }

/* footer */

#row_footer .inbox {
	width: 960px;
	margin: 0 auto; 
	position: relative;
	text-align: left;
	color: #a59981;
	font-size: 9pt;
}

#row_footer .inbox a, #row_footer .inbox a:link, #row_footer .inbox:visited { color: inherit; }
#row_footer .inbox a:hover { color: #333; }

#row_footer .inbox, #row_footer .inbox .box { height: 188px; padding: 0; }
#row_footer .inbox .box { padding-left: 264px; padding-right: 8px; }
#row_footer .inbox .bottom_menu { border-top: 3px solid #cbc2ae; height: 41px; clear: both; }
#row_footer .inbox .r { position: absolute; padding: 39px 22px 0px 152px; float: none; top: 44px; right: -22px; width: 88px; height: 105px; background: transparent url(images/footer_bgr.png) right bottom no-repeat; }

#row_footer .inbox .r a img { float: left; margin-bottom: 3px; opacity: 0.5; -moz-opacity: 0.5; }
#row_footer .inbox .r a:hover img { opacity: 1; -moz-opacity: 1; }

#row_footer .inbox .bottom_menu ul { list-style: none; margin: 10px 0 7px -10px; padding-bottom: 3px; overflow: hidden; }
#row_footer .inbox .bottom_menu ul li.last { border:medium none; }
#row_footer .inbox .bottom_menu ul li { background: none; border-right: 1px solid #cbc2ae; float: left; margin: 0 0 7px 0; padding: 0 10px; }
#row_footer .inbox .bottom_menu ul li.active a { color: #333; }
#row_footer .inbox .bottom_menu ul li a,
#row_footer .inbox .bottom_menu ul li a:link,
#row_footer .inbox .bottom_menu ul li a:visited { text-decoration: none; float: left; line-height: 1.1em; margin: -2px 0 0; text-transform: lowercase; white-space: nowrap; }

#row_footer .copy { overflow: hidden; padding-right: 190px; margin-bottom: 20px; line-height: 16px; }
#row_footer .copy p { margin: 2px 0; }
#row_footer a.logo { display: block; float: left; height: 56px; margin-right: 15px; overflow: hidden; width: 44px; }	
#row_footer a.logo:hover img { margin-top: -56px; }	

/* i_calc */

#i_calc { width: 384px; color: #581c00; padding-left: 16px; padding-top: 8px; font-size: 12px; position: relative; }
#i_calc .i_title, #i_calc .i_title h2 span { border-top: 1px solid white; border-bottom: 1px solid white; }
#i_calc .i_title { height: 33px;  overflow: hidden; padding-top: 1px; background: #faf3e3 url(images/dash_table.png) repeat-x 0 0; }
#i_calc .i_title h2 { margin: 0; height: 32px; padding: 0 0 1px 0; background: #faf3e3 url(images/dash_table.png) repeat-x left bottom; }
#i_calc .i_title h2 span { display: block; font-size: 12px; padding-left: 15px; line-height: 31px; height: 30px; }

#i_calc .field { background: white; margin: 0; padding: 7px; line-height: 0; position: relative; z-index: auto; }
#i_calc .field label { margin: 0 7px; vertical-align: top; line-height: 14px; }
#i_calc .field label img.help { cursor: help; vertical-align: top; margin: 0 5px; }
#i_calc .field label.fld { line-height: 25px; }
#i_calc .field input, #i_calc .field textarea { font-size: 14px; line-height: 20px; font-weight: bold; color: #581c00; background: #f9ffee; line-height: 23px; font-family: 'Trebuchet MS',Arial,Helvetica,sans-serif; }
#i_calc .field input.small { width: 105px; text-align: right; font-size: 15px; height: 21px; letter-spacing: 1pt; }
#i_calc .field input.ch { margin: 0 7px; padding: auto; height: auto; float: left; border: 0 none; }

#i_calc .i_separate { overflow: hidden; height: 1px; background: #faf3e3 url(images/dash_table.png) repeat-x 0 0; border: 1px solid white; }

#i_calc .select_emulator, #i_calc .field input, #i_calc .field textarea, #i_calc .field .f-box { border: 1px solid #cbc2ae; margin: 0; padding: 2px; -moz-border-radius: 2px; -webkit-border-radius: 2px; -khtml-border-radius: 2px; }
#i_calc .field textarea { width: 364px; height: 250px; }
#i_calc .field .select_emulator.enter { padding: 0 21px 0 0; height: 25px; }
#i_calc .select_emulator { cursor: pointer; overflow: hidden; background: #ffffff url(images/select_u.png) right top no-repeat; }
#i_calc .select_emulator:focus, #i_calc .select_emulator:active { border-color: #B2BF9B; background-color: #f9ffee; }
#i_calc .field input[type=text]:focus, #i_calc .field input[type=text]:active, 
#i_calc .field textarea:focus, #i_calc .field textarea:active { border-color: #B2BF9B; background-color: #e3efcd; }
#i_calc .select_emulator span { margin-left: 7px; line-height: 20px; }

#i_calc .select_emulator label { position: absolute; top: 14px; }
#i_calc .select_emulator label.lb { left: 9px; }
#i_calc .select_emulator label.rb { right: 34px; }
#i_calc .field .select_emulator.enter input { border: 0 none; margin:0; padding: 2px 40px 2px 109px; width: 190px; } /* // */

#i_calc .field .f-box { padding: 0; }
#i_calc .field input.normal { font-size: 15px; border: 0 none; height: 21px; padding-left: 100px; width: 266px; }
#i_calc .field .f-box label, #i_calc .select_emulator label.xb { position: absolute; width: 95px; text-align: right; top: 15px; left: 7px; margin: 0; }
#i_calc .field .select_emulator input.normal { padding-right: 2px; padding-left: 100px; width: 237px; }

#i_calc .field .submit { cursor: pointer; border: 0 none; outline: 0 none; width: 207px; height: 38px; display: block; overflow: hidden; margin-left: 5px; margin-top: 5px; background: transparent url(images/submit.png) no-repeat 0 0; }
#i_calc .field .submit:hover { background-position: 0 -38px; }
#i_calc .field .submit.disable, #i_calc .field .submit.disable:hover { background-position: 0 -76px; cursor: default; } /* // */
#i_calc .field .submit span { line-height: 1000px; }

#i_calc .field img.help { position: absolute; right: 12px; top: 8px; cursor: help; }

#i_calc .option_emulator {
	background: white;
	border: 1px solid #cbc2ae; 
	left: 7px;
	line-height: 17px;
	margin: 0;
	overflow: auto;
	max-height: 245px;
	padding: 0;
	position: absolute;
	right: 7px;
	z-index: 200;
	top: 33px;
	text-shadow: none; /* Mozilla scroll bug fix */
}
#i_calc .option_emulator.top { bottom: 33px; top: auto; } /* // */
#i_calc .option_emulator li { list-style: none; margin: 0; padding: 0; background: none; }
#i_calc .option_emulator li.title{ padding: 7px 10px; background: #f9ffee; font-weight: bold; float: none; width: auto; text-align: right; }
#i_calc .option_emulator li a { display: block; padding: 7px 10px; color: black; text-decoration: none; }
#i_calc .option_emulator li a strong { font-size: 14px; }
#i_calc .option_emulator li span { display: block; color: #555; font-weight: normal; }
#i_calc .option_emulator li a { display: block; padding: 7px 10px; color: black; text-decoration: none; }
#i_calc .option_emulator li a:hover { background: #efefef; color: black; }

#i_calc .warjs { color: darkred; padding: 10px; }

#i_calc .add { background: #E4EFD1; padding: 0 0 1px 0; }
#i_calc .add label:first-child { padding-top: 1px; }
#i_calc .add label { background: #f9ffee; display: block; overflow: hidden; padding: 4px 10px; margin: 1px 0 0 0; }
#i_calc .add label:hover { background: none; }
#i_calc .add input { float: left; margin: 5px; margin-right: 12px; padding: 0; border: none; }

#row2_right .itogo { white-space: nowrap; height: 22px; padding: 39px 0 39px 39px; font-size: 15px; font-family: Georgia, Times, "Times New Roman", sans-serif; }
#row2_right .itogo .sum { color: darkred; font-size: 30px; margin: 0 5px; }
#row2_right .itogo .rub { text-decoration: line-through; }

/* help_box */

#help_box { position: absolute; width: 383px; left: 17px; top: 0; display: none; z-index: 400; }
#help_box .t { height: 17px; background: transparent url(images/hint_info_top.png) no-repeat 0 0; overflow: hidden; }
#help_box .b { height: 8px; background: transparent url(images/hint_info_bottom.png) no-repeat 0 0; overflow: hidden; }
#help_box .c { background: transparent url(images/hint_info_center.png) repeat-y 0 0; overflow: hidden; }
#help_box .c .help_text{ color: #3E2613; line-height: 16px; padding: 0 12px 3px; }

/* */

/* video_block */

.video_block { overflow: hidden; position: relative; margin-bottom: 40px; clear: both; }
.video_block img.ico { position: absolute; top: 9px; left: 3px; }
.video_block h2 { height: 32px; background: #cbc2ae; padding: 3px 0 0 0; border-top: 1px solid white; margin: 0; }
.video_block h2 span { display: block; background: white; font: 16px Georgia, Times, "Times New Roman", sans-serif; padding: 5px 5px 5px 60px; height: 22px; overflow: hidden; }

.video_block .content { overflow: hidden; }
.video_block .content .separate { height: 3px; overflow: hidden; background: #cbc2ae; border-right: 12px solid white; border-bottom: 1px solid white; margin-bottom: 30px; }
.video_block .content .in { clear: both; }
.video_block .content .video { float: right; width: 425px; height: 344px; overflow: hidden; border: 1px solid white; border-top: 0 none; background: white url(images/play.png) no-repeat center center; }
.video_block .content .in p, .video_block .content .in ul, .video_block .content .in ol { border-right: 12px solid #FAF3E3; overflow: hidden; }

/* art_block */

.art_block { margin: 30px 80px 30px 70px; overflow: hidden; position: relative; }
.art_block h2 { height: 31px; margin: 0; padding-top: 8px; }
.art_block h2 a img.abs { left: 12px; position: absolute; top: 0; }
.art_block h2 a { margin-left: 60px; }
.art_block .anons { background: white; padding: 0 12px 10px 12px; }
.art_block .anons .separate { background: #CBC2AE; border-left: 48px solid #FFFFFF; border-top: 1px solid white; height: 3px; margin-bottom:5px; overflow: hidden; }

.paginate { margin: 30px 80px 10px 70px; overflow: hidden; }
.paginate span, .paginate a { float: left; margin: 0 1px; background: white; padding: 0 8px; }
.paginate span.ditto_currentpage, .paginate span.tx { background: none; }
.paginate span.tx { margin-left: 0; padding-left: 0; }

/* photo_block */

.photo_block { overflow: hidden; position: relative; margin: 40px 0; }
.photo_block h2 { background: white; font: 16px Georgia, Times, "Times New Roman", sans-serif; margin: 0 145px 0 135px; padding: 8px 4px; white-space: nowrap; }
.photo_block img.abs { left: 68px; position: absolute; top: 26px; }
.photo_block .separate { height: 3px; overflow: hidden; background: #cbc2ae; margin:0 98px 0 122px; }
.photo_block .photos { margin: 0 145px 0 136px; border-top: 2px solid white; }
.photo_block .photos ul { margin: 0; padding: 0; }
.photo_block .photos ul li { background: white; float: left; margin: 10px; position: relative; padding: 0; }
.photo_block .photos ul li.first { margin-left: 0; }
.photo_block .photos ul li.last { margin-right: 0; }
.photo_block .photos ul li a { display: block; width: 115px; height: 115px; border: 4px solid white; overflow: hidden; }
.photo_block .photos ul li a:hover { border-color: #cbc2ae; }
.photo_block .photos ul li a span { position: absolute; width: 115px; height: 115px; display: none; top: 0; left: 0; background: transparent url(images/zoom.png) no-repeat center center; } /* // */
.photo_block .photos ul li a:hover span { display: block; }

/* nfld, chbhox */

.nfld { background: transparent url(images/success-no.png) no-repeat scroll 0 0; color: darkred; font-size: 12px; height: 24px; margin-left: 7px; padding-left: 32px; }
.nfld span { color: #3E2613; }

.chbhox { position: absolute; width: 28px; height: 24px; overflow: hidden; top: 9px; left: -34px; width: 28px; }
.chbhox img { float: left; }
.chbhox img.enable { margin-top: -24px; }
.chbhox img.hidden { display: none; }

/* hint, alert */

#alert_box { background: transparent url(images/hint_alert.png) no-repeat 0 0; height: 131px; left: 46px; padding: 0; position: absolute; top: 126px; width: 326px; z-index: 500; }
#alert_box .close { background: transparent url(images/hint_close_me.png) no-repeat 0 0; cursor: pointer; height: 14px; position: absolute; right: 18px; top: 12px; width: 17px; opacity:0.5; -moz-opacity: 0.5; }
#alert_box .close:hover { opacity: 1; -moz-opacity: 1; }
#alert_box .message { 
	background: #FFFFFF url(images/warning.png) no-repeat 12px 10px; border: 1px solid #DDDDDD; color: #3E2613; height: 63px; line-height: 19px; margin: 35px 19px 10px; overflow: auto; padding: 8px 8px 2px 40px; 
	-moz-border-radius: 2px; -webkit-border-radius: 2px; -khtml-border-radius: 2px;
	-moz-box-shadow: 0 0 3px #DDDDDD inset; -webkit-box-shadow: 0 0 3px #DDDDDD inset; -khtml-box-shadow: 0 0 3px #DDDDDD inset;
}
#alert_overlay { background: white; height: 100%; position: absolute; width: 385px; z-index: 400; opacity: 0.7; -moz-opacity: 0.7; } /* // */

/* all */

.l { float: left; }
.r { float: right; }

/* HTML */

table, tr, form { margin: 0; padding: 0; }
table, img, a img { border: 0 none; }
table, tr, td, th { border-collapse: collapse; }
td, th { margin: 0; padding: 5px 10px; }

table.dash_table tr { background-image: url(images/dash_table.png); background-position: left bottom; background-repeat: repeat-x; }

a, a:visited {
	text-decoration: underline;
	font-weight: normal;
	color: #1F0D0A;
}

a:hover {
	text-decoration: underline;
	font-weight: normal;
	color: #9F8977;
}

a:active, a:focus { outline: 0 none; }

p { margin-top: 0; margin: 0.5em 0; }


h1, h2, h3, h4, h5, h6 { padding: 0; margin: 1em 0; color: #461101; margin-left: 25px; }
/* cpecial for black font * / 
h1, h2, h3  { font-weight: normal; margin-left: 25px; }
h4, h5, h6 { font-weight: bold; } /* */

h1 { font-size: 1.3em; }
h2 { font-size: 1.2em; }
h3 { font-size: 1.1em; }
h4 { font-size: 1em; }
h5 { font-size: 0.9em; }
h6 { font-size: 0.8em; }

ul, ol { padding: 0; margin: 0.5em 0; }
ul li { list-style: none; padding: 0 0 0 26px; margin: 0.1em 0; background: transparent url(images/bull_2.png) no-repeat 6px 8px; }
ol li { padding: 0 0 0 0.4em; margin: 0.1em 0 0.1em 2.2em; }

#row_body ul, #row_body ol { overflow: hidden; }
