/* BASIC */
.describe {color: grey; font-family: times; fony-size: small; display: none}

* {	margin:0; padding:0; }

body {	font-size: 65%;
	font-family: "Lucida Grande", Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
	background: #fbfcea;
	margin: 20px; }

h1, h2, h3, p, ul {
	padding: 0;
	margin: 0; }

/* fix IE -  the over extended h2 borders */
* html h2 { zoom: 1; }

/* WRAPPER: wraps entire contents of page */
#wrapper {
	border: solid 1px black; }

#contentWrapper {
	position: relative;
	clear: both; }

/* BANNER */
#banner {background: url(images/since_banner.png) no-repeat right top;
	position: relative; }

#banner ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	position: absolute;
	right: 60px;
	bottom: 5px; }

#banner li {
	display: inline;
	margin-left: 10px; }

#banner li a {
	color: #666666;
	text-decoration: none;
	text-transform: uppercase;
	font: 1.1em "Trebuchet MS"; }

#banner li a:hover {
	color: #CA1D07; }

.seperator {
	border-right: 1px solid #666;
	padding-right:10px; }

/* fix IE 6: неверно позиционирует ссылки 'Контакты' и 'О компании' в banner */
* html #banner {
	height: 1px; }

#banner #badge {
	position: absolute;
	left: -18px;
	top: -18px; }

#banner #logo {
	margin-left: 80px;
	position: relative; /* jumping logo fix for IE */ }

/* NAV BAR */

#mainNav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1.1em;
	background: url(images/bg_nav.png) repeat-x left top;
	float: left;
	border-bottom: 1px solid #000;
	width: 100%; }

#mainNav li {
	float: left;
	padding: 0;
	margin: 0; }

#mainNav li a, #mainNav li a:link {
	color: #FFFF77;
	text-decoration: none;
	padding: .5em 1.5em;
	border-right: 1px solid #000;
	display: block;
	font: bold 1em "Lucida Grande", Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif; }

#mainNav li a:hover {
	background: url(images/bg_nav_h.png); }

body#home a#homeLink,
body#news  a#newsLink,
body#confec a#confecLink,
body#partners a#partnersLink {background: url(images/bg_nav_s.png); }

/* IE 6 hack to make entire button clickable */
* html #mainNav a { width: 1px; }

/* MAIN CONTENT */
#main {	margin-left: 170px;
	margin-right: 170px;
	padding: 0 5px 5px 5px;
	border: 1px solid #666666;
	border-top: none;
	border-bottom: none;
	background: url(images/lemon.jpg); }

#main h1 {color: #808000;
	padding-top: 15px;
	margin-bottom: 10px;
	font: bold 1.9em Tahoma, Verdana, Times, serif; }

#main h2 {font-size: 1.4em;
	font-weight: normal;
	border-bottom: 1px solid #106A9B;
	margin-bottom: 10px;
	color: #000077;
	overflow: hidden; }

#main h3 {color: #808000;
	padding-top: 15px;
	margin-bottom: 10px;
	font: bold 1.4em Tahoma, Verdana, Times, serif; }

#main p {font-size: 1.2em; padding-bottom:0.5em; 
	margin-bottom: 0px; }

#main p.history  {
	text-align: justify;
	font-size: 1.3em;
	margin-left:2%;
	margin-right:2%;
	margin-bottom:2% ;
	text-indent: 2em; }

#main .figure {
	float: right;
	width: 230px;
	margin-bottom: 30px;
	padding: 10px;
	position: relative;  }

#main .figure p {
	position: absolute;
	text-align: center;
	bottom: -30px;
	width: 230px;
	background-color: #fbfcea;
	color: #aaa;
	border: none;
	font-size: 1.1em;
	font-weight: bold;
	text-align: center;
	padding: 5px;
	margin: 0; }

#main .figure img { border: none;
	display: block;
	width:230px; }

#main a {	color: navy;
	text-decoration: none; }
#main a:hover {color: red; }
#main a:visited {color: #666666; }

#main table { border-collapse: collapse;
	width: 100%; 
	font-family: Arial, Helvetica, sans-serif; }

caption {text-align: right;
	font-size: .85em; }

td h1,h3 { text-align: left; }

td {	border: 1px solid #8c7e43;
	text-align: center;
	font-size: 0.9em;
	vertical-align: top; }

td img {padding: 5px;
	margin: 0;
	width: 100px; }

td p {	width: 120px; color: #808000;
	line-height: 105%;
	padding: 0px 0px 0px 20px;
	margin: 0; }

#main table#news {font-size: 1.2em; }

#news td {border: 1px solid #c7c3b4;
	text-align: left;
	vertical-align: top; }
.datetd {color: navy;
	font-weight: bold;
	width:30%; }

/* MAIN Bottom CONTENT */
#mainBottom {	margin-left: 170px;
	margin-right: 170px;
	padding: 0 15px 15px 20px;
	border: 1px solid #666666;
 	text-align: center;
	background: url(images/lemon.jpg); }

#mainBottom img { border: none; }

#mainBottom h3 {font-size: 1.3em;
	margin-top: 15px;
	margin-bottom: 5px;
	color: #CA1D07; }

#mainBottom p a {
	color: #00077;
	font-size: 1.2em;
	font-weight: normal;
	text-decoration: none; }

#mainBottom a:hover {
	color: #CA1D07; }

/* SIDEBAR */
#sidebar {background-color: #F0FFFF; /* #D9ECFF */
	position: absolute;
	top: 2px;
	width: 170px; }

#sidebar h2 {
	font-size: 1.2em;
	color: #FFFFFF;
	padding: 5px 7px 7px 7px;
	margin-bottom: 5px;
	border-top: 3px solid #86B500;
	background: url(images/bg_side_head.png) repeat-x left bottom; }

#sidebar p {
	margin-right: 5px;
	margin-bottom: 10px;
	margin-left: 5px;
	color: #666666; }

#sidebar h3 {
	font-size: 1.1em;
	margin-right: 5px;
	margin-left: 5px;
	color: #663900;
	margin-bottom: 3px; }

#sidebar h3 a {
	color: #663900; }

#sidebar a:hover {
	color: #CA1D07; }

* html #sidebar {
	display: inline; /* double margin bug fix */
	width: 170px;
	w\idth: 170px; /* IE 5 box-model fix */ }

/* ADVERTISING */
#adverts {position: absolute;
	top: 15px;
	right: 0px;
	text-align: center;
	background-color: #F0FFF0;
	width: 170px; }

#adverts p {
	font: bold 1em/normal Verdana, Arial, Helvetica, sans-serif;
	color: #808000;
	text-align: center;
	background-color: #F0FFFF;
	border: 1px dashed #666;
	padding: 5px;
	margin: 10px 0 10px 0; }

#adverts img { border: none; width: 100px; }
#adverts img:hover { width: 170px; }

/* COPYRIGHT INFO */
#copyright { padding: 5px; text-align: center; color: #777777; }

/* закругление углов */
#rounded .inner-box, #rounded b { background-color: #d9eaeb; }
.inner-box p { padding-bottom:0.5em;  margin: 0px 10px;  }

.r1, .r2, .r3, .r5 { display: block; height: 1px; overflow: hidden; font-size:1px; }

.r5 { margin: 0 5px; }
.r3 { margin: 0 3px; }
.r2 { margin: 0 2px; }
.r1 { margin: 0 1px; }
/* закругление углов */

/* Auxiliary NAVIGATION */
#auxNav ul {
	border-bottom: 2px solid #506BB1;
	margin: 25px 0px 5px 0px;
	padding-left: 1px;
	float: left;
	width: 100%; }

#auxNav li { list-style: none; float: left;
	background: #FFF url(images/auxnav.png) no-repeat right top;
	margin-right: 0px; }

#auxNav li a { display: block;
	padding: 7px 15px 4px 15px;
	text-align: center;
	text-decoration: none;
	color: #506BB1;
	font-weight: bold;
	font-size: 1.0em;
	text-transform: uppercase; }

#auxNav  a:hover { color:#FF001C; }

#auxNav  ul#box_sw a#box_swLink, #auxNav  ul#chocol a#chocolLink, #auxNav  ul#caramel a#caramelLink, #auxNav  ul#stick_c a#stick_cLink,
#auxNav  ul#marmel a#marmelLink {background: #FFF url(images/auxnav2.png) no-repeat right top; }

#auxNav { clear: both;}
* html #auxNav { height: 1px; }
* html #auxNav li { height: 1px; }

#subMenu ul {
	margin: 5px 0px 0px 0px;
	padding-left: 1px;
	float: left;
	width: 100%; }
#subMenu li { list-style: none; float: left; margin-right: 0px; }
#subMenu a { display: block;
	padding: 7px 5px 0px 20px;
	text-align: center;
	color: #506BB1;
	font-weight: bold; text-decoration: none;
	font-size: 1.2em; }
#subMenu  a:hover { color:#FF001C; }
#subMenu { clear: both;}
* html #subMenu { height: 1px; }
* html #subMenu li { height: 1px; }

#scroll { padding-left: 5px; padding-right: 5px; height: 490px; overflow: auto; }
#hol { height: 30px;} /* холостой DIV перед scroll для Safari и Chrome */
* html #hol { height: 1px; }

/* Всплывающие картинки с подсказками */
.tip { z-index: 0;}

.tip:hover { background-color: transparent; z-index: 50 }

.tip span { position: absolute; visibility: hidden;
	background-color: #FFFFFF; color: black;
	padding: 2px; border: 1px dashed gray;
	text-decoration: none; }

.tip:hover span { visibility: visible; top: 85px; left: 450px; z-index: 150; }
.tip:hover span img { border-width: 0; padding: 2px; width: 230px; }

.tip img  {border-color: #FFFFFF; }
