html 
{ 
	height: 100%; 
	margin: 0; 
	padding: 0; 
	overflow: hidden;
	background-color:white; 
}

body 
{ 
	color: black;
	font-family: tahoma, verdana, sans-serif;
	font-size: 12px;
	height: 100%; 
	margin: 0; 
	padding: 0;
	min-width: 750px;
	overflow: hidden;
}

div#main 
{ 
	position: relative; 
	top: 131px; 
	height: 75%; 
	margin-left: 16px;
	margin-right: 16px; 
	min-width: 750px;
	overflow: auto;
}

div#top 
{ 
	position: absolute; 
	top: 0px; 
	left: 0px; 
	height: 131px; 
	width: 100%; 
	padding-left: 0px;
	text-align: center;
	min-width: 750px;
	overflow: hidden; 
}

div#bottom 
{ 
	position: absolute; 
	bottom: 0px; 
	left: 0px; 
	height: 32px; 
	width: 100%; 
	font-size: 12px;
	padding: 0px 0px 0px 0px;
	background-color:#ffd700; 
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	min-width: 750px;
	overflow: hidden; 
}

div#left
{
	float: left;
	width: 250px;
	margin-top: 4px;
	padding: 0px 8px 20px 8px;
	position:relative;
	border-right: 1px solid silver;
	overflow: hidden;
}

div#right
{
	margin-top: 4px;
	padding: 0px 8px 0px 16px;
	text-align: left;
	position:relative;
	overflow:hidden;
}

div#lruler
{
	position: absolute; 
	top: 0px; 
	left: 0px; 
	height: 100%;
	width: 16px;
	background-image: url("../images/bgleft.gif");
	background-repeat: repeat-y;
	background-position: left top;
}

div#rruler
{
	position: absolute; 
	top: 0px; 
	right: 0px; 
	height: 100%;
	width: 16px;
	background-image: url("../images/bgright.gif");
	background-repeat: repeat-y;
	background-position: left top;
}

div#topstripetitle
{
	height: 91px; 
	background-color:#ffd700; 
	border-bottom: 1px solid black;
}

div#topicons
{
	width: 27px; 
	float: left; 
	margin: 7px 0px 0px 32px;
}

div#toptitle
{
	width: 261px; 
	float: left; 
	margin: 16px 0px 0px 64px;
}

div#tophappy
{
	width: 230px; 
	float: left; 
	margin: 1px 16px 0px 16px;
}

span#topinfocompany
{
	font-size: 24px;
	font-weight: bold;
}

div#topinfo
{
	font-size: 12px;
	float: right; 
	margin: 16px 48px 0px 16px;
	text-align: right;
}

/* верхнее меню */
div#topstripemenu
{
	height: 35px; 
	margin-top: 2px;
	padding: 0px 16px 0px 16px;
	background-color:#ffd700; 
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}

/* навигационная панель */
div#navpath
{
	width: 100%;
	font-size: 11px;
	color: gray;
	margin-bottom: 8px;
	background-color: white;
	border-bottom: 1px solid silver;
}

a.navpathlink
{
	text-decoration: none;
	color: gray;
}

a.navpathlink:hover
{
	text-decoration: underline;
	color: blue;
}

/* элементы меню вверху */
.menutop
{
	color: black;
	font-size: 14px;
	text-decoration: none;
}

/* заголовок левого меню */
span#lmenutitle
{
    display: block;
	margin: 0px 0px 14px 0px;
	font-weight: bold;
	font-size: 16px;
}

/* картинка свернуть/развернуть меню */
img.menuecbtn
{
	margin-right: 5px;
	border: 1px solid white;
}

/* картинка свернуть/развернуть меню при наведении*/
img.menuecbtn:hover
{
	border: 1px solid blue;
}

/* ссылка в меню */
a.menulink
{
	text-decoration: none;
	color: black;
}

/* ссылка в меню при наведении */
a.menulink:hover
{
	cursor: pointer;
	text-decoration: underline;
	color: blue;
}

/* раздел меню */
.menusection
{
	display:block;
	margin: 12px 0px 0px 0px;
	color: black;
	background-color: gold;
	text-align: left;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	position: relative;
}

/* выбранный раздел меню */
.menusectionactive
{
	display:block;
	margin: 12px 0px 0px 0px;
	color: black;
	background-color: lightsalmon;
	text-align: left;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	position: relative;
}

/* контейнер для элементов меню */
div.menusectioncontainer
{
	padding-left: 12px;
}

/* элемент меню */
.menuitem
{
	display:block;
	margin: 6px 0px 0px 0px;
	color: black;
	text-align: left;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	position: relative;
}

/* выбранный элемент меню */
.menuitemactive
{
	display:block;
	margin: 6px 0px 0px 0px;
	color: black;
	background-color: lightsalmon;
	text-align: left;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	position: relative;
}

/* контейнер для вложенных меню */
div.menuitemcontainer
{
	padding-left: 18px;
}

/* элемент вложенного меню */
.submenuitem
{
	display:block;
	margin: 6px 0px 0px 0px;
	color: black;
	text-align: left;
	font-size: 12px;
	text-decoration: none;
	position: relative;
}

/* выбранный элемент вложенного меню */
.submenuitemactive
{
	display:block;
	margin: 6px 0px 0px 0px;
	color: black;
	background-color: lightsalmon;
	text-align: left;
	font-size: 12px;
	text-decoration: none;
	position: relative;
}

/* ссылка на SamDesign */
a.samdesign
{
   color: DarkRed;
   text-decoration: none;
}

/* счетчики */
div#counters
{
  border-width: 1px;
  border-style: solid;
  border-color: #E0E0FF;
  margin: 32px 0px 0px 0px;
  padding: 8px;
  text-align: center;
  width: 234px;
  overflow:hidden;
}


/* левая часть нижней надписи */
span#botleft
{
	position: relative;
	display: block;
	width: 60%;
	height: 32px;
	float:left;
	margin-left: 24px;
	margin-right: 12px;
}

span#botright
{
	position: relative;
	display: block;
	height: 32px;
	margin-right: 24px;
	text-align: right;
}

/* кнопки и элементы ввода */
input
{
   font-size: 14px;
}

textarea
{
   font-size: 14px;
}

/* ошибки */
.error
{
  font-size: 14px;
  color: red;
}

/* Для обычного текста (основные материалы, статьи) */
/* ссылки */
h2>a
{
  color: #202080;
}

h3>a
{
  color: black;
}

/* параграфы */
p
{
   font-size: 14px;
   text-indent: 16px;
   line-height: 1.4;
   margin: 0px 0px 0px 0px;
}

/* заголовки */
h3
{
  clear: both;
  font-size: 14px;
  font-weight: bold;
  color: DarkGoldenRod;
  text-align: left;
  text-indent: 16px;
  margin: 8px 0px 3px 0px;
}

h2
{
  clear: both;
  font-size: 14px;
  font-weight: bold;
  color: DarkGoldenRod;
  text-align: left;
  text-indent: 16px;
  margin: 20px 0px 6px 0px;
}

h1
{
  clear: both;
  font-size: 16px;
  font-weight: bold;
  color: GoldenRod;
  text-align: center;
  text-indent: 0px;
  margin: 0px 0px 16px 0px;
}

/* списки */
ul
{
  margin-top: 4px;
  margin-bottom: 4px;
  font-size: 14px;
}

ol
{
  margin-top: 4px;
  margin-bottom: 4px;
  font-size: 14px;
}

/* таблицы */
caption
{
  text-align: right;
  font-style: italic;
}

table
{
  margin-bottom: 8px;
  font-size: 14px;
  border: 2px solid darkgray;
  border-collapse: collapse;
}

td
{
  border: 1px solid darkgray;
}

/* картинки */
/* просто картинки */
img
{
  margin: 0px;
  border-style: none;
}

/* параграф с картинкой */
p.figure
{
  position: relative;
  margin: 8px 0px 8px 0px;
  text-align: center;
  font-style: italic;
}

/* подписи с картинкой */
div.figure
{
  position: relative;
  font-style: italic;
  text-align: center;
  margin: 8px;
}

/* картинка */
div.figure>img
{
  width: 100%;
}

/* промежутки */
p+p
{
  margin: 2px 0px 0px 0px;
}

/* для новостей */
/* заголовки новостей */
h2.news
{
  font-size: 14px;
  font-weight: bold;
  color: Olive;
  text-align: left;
  text-indent: 0px;
  margin: 0px 0px 4px 0px;
  background-color: Cornsilk;
  clear: left;
}

/* параграфы */
p.news
{
   text-indent: 16px;
   margin: 0px 0px 0px 0px;
}

/* ссылки на полный текст в новостях */
a.newslink
{
   display:block;
   width: 100%;
   text-align: right;
   margin: 2px 0px 0px 0px;
   color: DarkGoldenrod;
}

/* ссылки на навигационной панели */
a.newsnav
{
   text-decoration: unbd;
   color: blue;
   border-width: 1px;
   border-style: solid;
   border-color: gray;
   margin: 0px 4px 0px 4px;
}

/* текущая (активная) ссылка на навигационной панели */
a.newsnavactive
{
   text-decoration: none;
   background-color: #802121;
   color: white;
   border-width: 1px;
   border-style: solid;
   border-color: gray;
   margin: 0px 4px 0px 4px;
}

/* навигационная панель */
div.newsnav
{
   text-align: center;
   margin: 24px 0px 4px 0px;
   clear: left;
   color: black;
}

/* подпись даты к новости */
div.newsdate
{
   text-align: right;
   text-decoration: none;
   margin: 2px 0px 0px 0px;
   color: black;
}

/* подпись автор к новости */
div.newsauthor
{
   text-align: left;
   margin: 2px 0px 16px 0px;
   float: left;
   color: Peru;
}

/* ссылки на автора в новостях */
a.newsauthor
{
   text-decoration: none;
   color: Olive;
}

/* промежутки между параграфами в новостях */
p.news+p.news
{
  margin: 3px 0px 0px 0px;
}

/* для статей */
/* авторы статьи */
div.artsauthor
{
   text-align: center;
   font-style: italic;
   margin: 8px 0px 8px 0px;
   color: black;
}

/* автор комментария */
div.comtitle
{
   border-top-width: 1px;
   border-top-style: solid;
   border-color: #d0c0c0;
   text-align: left;
   color: #707070;
}

/* сам комментарий */
div.comment
{
   clear: both;
   text-align: left;
   margin: 3px 8px 30px 8px;
   color: #909090;
}

