/* Основное */
html, body {margin: 0; padding: 0; width:100%;}
html { height: 100%;}
body {min-height: 100%; height: 100%; margin: 0px; padding: 0px; background: #FFFFFF}
div.container {height: auto !important; height: 100%; width: 100%; min-height: 100%;}
div.footer_guard {height: 242px; clear: both; }
div.footer {height: 242px; margin-top: -242px;}

/* common styles */

div#measurer {position: absolute; width: 100%; top: 0; height: 1px; line-height: 1px;}

div.around {position: relative; min-height: 100%; min-width: 780px; max-width: 1400px;}

* html div.around {
height: 100%;
width: expression(
	(
		document.getElementById('measurer')
		&& document.getElementById('measurer').clientWidth < 780
	)
	?	'780px'
	:	(
			document.getElementById('measurer')
			&& document.getElementById('measurer').clientWidth < 1400
		)
		?	'100%'
		:	'1400px'
);
}
div.page-bg-add {display: table; width: 100%; height: 100%;}

body, p, td, div, li {font-family: 'Arial'; font-size: 14px; color: #333333;}
table {empty-cells: show;}
h1 {font-size: 24px; margin: 0px 0px 24px 0px; font-family: 'Arial'; text-decoration: none; font-weight: normal; color: #000000;}
h2{font-size: 18px; text-decoration: none; font-weight: normal; margin: 0px 0px 18px 0px; padding: 0px; color: #000000;}
h3{font-size: 14px; color: #000000; text-decoration: none; font-weight: bold; margin: 0px 0px 12px 0px; padding: 0px;}
p {margin: 0px 0px 12px 0px;}

a:link, a:visited, a:active {text-decoration: underline; color: #3399cc;}
a:hover {text-decoration: none; color: #006699;}

ul {margin: 0px; padding: 0px;}
ul li {display: block; list-style-type: none; list-style-image: none; list-style-position: outside; padding: 0px 0px 5px 12px; margin: 0px; background: url(/i/bullit_00.gif) no-repeat 0px 4px;}

#content {padding: 16px 30px 32px 30px;}
#content p {text-align: justify; /*text-indent: 16px;*/ line-height: 150%;}

/* Slogan */
#slogan ul {margin: 0px; padding: 0px;}
#slogan ul li {list-style-type: none; margin: 0px; padding: 0px; font-size: 14px; line-height: 133%; color: #003366; background: none;}

/* Static menu */
#menu2 {}
#menu2 ul {margin: 0px 0px 8px 0px; padding: 0px;}
#menu2 ul li {display: block; list-style-type: none; list-style-image: none; list-style-position: outside; padding: 0px 0px 5px 12px; margin: 0px; background: url(/i/bullit_00.gif) no-repeat 0px 6px; font-size: 16px;}

/* Tree menu */
#menu3 {}
#menu3 ul {margin: 0px 0px 0px 0px; padding: 0px;}
#menu3 ul li {display: block; list-style-type: none; list-style-image: none; list-style-position: outside; padding: 0px 0px 5px 12px; margin: 0px; background: url(/i/bullit_00.gif) no-repeat 0px 6px; font-size: 16px;}

#menu4 {}
#menu4 ul {margin: 0px 0px 0px 0px; padding: 0px;}
#menu4 ul li {display: block; list-style-type: none; list-style-image: none; list-style-position: outside; padding: 0px 0px 0px 12px; margin: 0px; background: #FFFFFF url(/i/bullit_00.gif) no-repeat 0px 6px; font-size: 16px;}
#menu4 b {font-size: 16px; color: #FF6600;}

/* Bottom menu */
#bmenu {background: url(/i/pline_01.gif) repeat-x left top; font-size: 11px;}
#bmenu div  {display: block; width: 160px; height: 16px;}
#bmenu a:link, #bmenu a:visited, #bmenu a:active  {display: block; width: 160px; height: 16px; text-decoration: underline; color: #555658;}
#bmenu a:hover {text-decoration: none; color: #FF6600;}

/* Phone */
#phone {font-size: 24px; color: #FF6600;}
#code {color: #999999; font-size: 14px;}

/* Contacts block */
#contacts {font-size: 11px; color: #999999; font-family: tahoma;}
#contacts a:link, #contacts a:visited, #contacts a:active  {color: #006699;}
#contacts a:hover  {color: #999999;}

/* Копирайт */
#copyright {font-size: 11px; color: #666666;}
