@charset "windows-1251";
body  {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	font-size: 11pt;
	background-color: #E5E5E5;
	text-align: center; /* centra il contenitore nei browser IE 5*. Il testo viene quindi impostato con l'allineamento predefinito a sinistra nel selettore #container */
	color: #000000;
	margin-top: 10px;
	margin-bottom: 10px;
}

/* стили таблицы-каркаса для сайта*/
.pattern{
	background: #FFFFFF;
	border-style: solid;
	border-width: 1px;
	border-collapse: collapse;
	border-color: #000000;
}
.leftcol {
	vertical-align: top;	
	background-color: #fafafa;
}
.maincol {
	width: 100%;
	vertical-align: top;	
}

.rightcol {
	vertical-align: top;	
	background-color: #fafafa;
}

.topmenu
{
	background-color: #DEE3E7;
	background-image: url(images/cellpic1.gif);
	background-repeat: repeat-x;
}
/* классы элементов*/
.texttable
{
	margin-top: 5px;
	margin-bottom: 10px;
	margin-left: 5px;
	margin-right: 5px;
	width: auto;
}

.containertable
{
	margin-top: 5px;
	margin-bottom: 10px;
	width: 100%;

}

.tableheader td /* ячейки заголовка таблицы с перечислением статей раздела */
{
	background-color: #dee3e7;	
	color: #006699;
	padding-top: 1px;
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
	border-right-width: 2px;
	border-right-color: #ffffff;
	border-right-style:solid;
	vertical-align: top;
	white-space: normal;
}


.row td /* ячейки обычных строк таблицы, находящейся в тексте статьм */
{
	background-color: #fafafa;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 2px;
	padding-bottom: 4px;
	border-right-width: 2px;
	border-right-color: #ffffff;
	border-right-style:solid;
	vertical-align: top;
	border-bottom-width: 2px;
	border-bottom-color: #ffffff;
	border-bottom-style:solid;
}

.row td.rightcell, .tableheader td.rightcell
/* самые правые ячейки всех строк таблицы, находящейся в тексте статьм */
{
	border-right-style: none;
}

/* стили div-блоков  */
#logo
{
	text-align: left;
	color: #006699;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 22pt;
	font-weight: 800;
	padding-left: 10px;
	padding-bottom: 15px;
	background-color: #dee3e7;
	margin-bottom: 2px;
}

#favourites
{
	text-align: right;
	float: right;
	padding-top: 0.5em;
	padding-right: 0.75em;
	font-size: 10pt;
}

#leftmenu
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11pt;
	text-align: left;
	margin-top: 2px;
}

#content {
	text-align: left;
	background: #ffffff;
	padding-right: 10px;
	padding-left: 10px;
	padding-bottom: 10px;
	padding-top: 10px;
}

/*то же, что и content, но ширина установлена в 100% - иначе не работает*/
#forumcontent {
	text-align: left;
	background: #ffffff;
	margin: 10px 10px 10px 10px;
	width: 100%;
}


#about {
	background-color: #fafafa;
	/*height: 200px;*/
	text-align: justify;
	margin-left: 5px;
	margin-right: 5px;
	padding-left: 5px;
	padding-right: 5px;
	margin-top: 5px;
	margin-bottom: 10px;
}

#codegear {
	font-size: 10pt;	
	text-align: left;
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 3px;
	padding-top: 3px;
}

#smalladv {
	font-size: 10pt;	
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 3px;
	padding-top: 3px;
	background-color: #efefef;
	text-align: center;
}

#subscribe {
	font-size: 10pt;
	text-align: left;
	padding-left: 5px;
	background-color: #efefef;
}

#yandexdirect {
	text-align: left;
	font-size: 9pt;
	margin-top: 2px;
}

#google
{
	font-size: 10pt;
	text-align: left;
	padding-left: 5px;
	background-color: #efefef;
}

#footer_hi
	{
		font:Verdana, Arial, Helvetica, sans-serif;
		font-size: 10pt;
		background-color: #dee3e7;
		text-align: right;
		color: #006699;
		padding-top: 2px;
		padding-bottom: 6px;
		padding-right: 10px;
		vertical-align: middle;
	}

#footer_lo
	{
		background-color: #efefef;
		text-align: left;
		padding-top: 10px;
		padding-bottom: 10px;
	}

#counters
	{
		margin-left: 56px;
		margin-bottom: 0px;
	}

#links
{
	/*background-color: #dee3e7;*/

	/*margin-top: -10px;*/
	/*float: right;
	display: inline-block;*/
	font-size: 8pt;	
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 3px;
	padding-top: 3px;
	background-color: #efefef;
	text-align: left;
}

#blockheader
{
	background-color: #efefef;
	color: #006699;
	font-weight: 600;
	text-align: left;
	padding-left: 5px;
	font-size: 11pt;
	padding-top: 3px;
	padding-bottom: 3px;
	margin-top: 2px;
}

#toc
{
	padding-left: 5px;
	margin-bottom: 10px;
}

#subtoc
{
	padding-left: 15px;
}

#content #code
{
	font-family: "courier new", courier, monospace;
	font-size: 11pt;
	background-color: #efefef;
	margin-left: 5px;
	padding: 5px 5px 5px 5px;
	margin-right: 5px;
	white-space: pre;
	margin-bottom: 10px;
}

#content #author
{
	float: right;
	text-align: right;
	margin-top: 5px;
	margin-bottom: 10px;
	margin-left: 5px;
	margin-right: 5px;
	font-size: 11pt;
	font-style: italic;
}

#content #vclheader
{
	font-size: 13pt;
	font-weight: 600;
	color: #006699;
	margin-bottom: 5px;
	margin-top: 5px;
	
}

#content #container
{
	margin-right: 5px;
	margin-left: 5px;
}

/* стили отдельных тэгов */
#content h1
{
	color: #006699;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 17pt;
	margin-top: 0px;
	margin-bottom: 20px;
	text-align: center;
}

#content h2
{
	color: #006699;
	font-size: 13pt;
	margin-top: 5px;
	margin-bottom: 10px;
}

#content h3
{
	color: #006699;
	font-size: 12pt;
	margin-top: 5px;
	margin-bottom: 10px;
}

#content h4
{
	color: #006699;
	font-size: 10pt;
	margin-top: 5px;
	margin-bottom: 5px;
}

#content h2#h2top /* самый верхний заголовок идет с уменьшенным margin-top - иначе получается слишком большой верхний отступ,
смотрится некрасиво */
{
	color: #006699;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13pt;
	margin-top: 0px;
	margin-bottom: 10px;
}

#content p
{
	font: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11pt;
	text-align: justify;
	margin-top: 5px;
	margin-bottom: 10px;
	margin-left: 5px;
	margin-right: 5px;
}

/*замена тэгу center для изображений*/
#content div#centerimage
{
	text-align: center;
}

#content p#note
{
	margin-top: 5px;
	margin-bottom: 10px;
	margin-left: 5px;
	margin-right: 5px;
	font-style:italic;
	font-size: 10pt;
}

#content img
{
	margin-top: 5px;
	margin-bottom: 10px;	
}

#content p#imagetitle
{
	font: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11pt;
	text-align: center;
	font-style:italic;
	/*color: #006699;*/
}

#content p#title
{
	font: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11pt;
	text-align: left;
	font-style:italic;
	/*color: #006699;*/
}

#content ul
{
	margin-top: 5px;
	margin-bottom: 10px;
	list-style-type: square;
	text-align: justify;
}

#content ul li
{
	margin-left: -9px;
	margin-right: 5px;
	margin-bottom: 5px;
}

#content ol
{
	margin-top: 5px;
	margin-bottom: 10px;
	list-style-type: decimal;
	text-align: justify;
}

#content ol li
{
	margin-left: 0px;
	margin-right: 5px;
	margin-bottom: 5px;
}

/* задаем стиль leftmenu только для списка - пунктов меню */
ul.leftmenu
{
	list-style-type: none;
	margin-top: 0px;
	margin-bottom: 0px;
}

ul.leftmenu li {
	list-style-type: none;
	cursor: pointer;
	margin-left: 0px;
}

ul.leftmenu a
{
	color: #006699;
	cursor: pointer;
	text-decoration: none;
	margin-left: -41px;
	padding-left: 12px;
  padding-top: 3px;
	padding-bottom: 5px;
	display: block;
	width: 200px; /*ширина равна ширине колонки*/
}
/* Menu items that have mouse over or focus have a blue background and white text */
ul.leftmenu a:hover, ul.leftmenu a:focus
{
	cursor: pointer;
	background-color: #dee3e7;
	margin-left: -41px;
	padding-left: 12px;
	display: block;
	width: 200px; /*ширина равна ширине колонки*/
	/*text-decoration: underline;*/
}

/* конец определения стилей для списка - пунктов меню */

/* правка стилей по умолчаниютэгов для отдельных тэгов  */
form
{
	margin: 0px;
}

a:link, a:active, a:visited
{
	color : #006699;
}

a:hover
{
	text-decoration: underline;
	color : #DD6900;
}

/* для подсвекти кода*/
span.comment            { color: #008800;}
span.string             { color: #007777;}
span.character          { color: black;}
/*span.keyword            { color: blue;}*/
span.keyword            { color: #000080; font-weight: bold;}
span.preprocessor       { color: blue;}
span.number             { color: black;}
span.accent             { color: red;}

pre
{
	font-family: "courier new", courier, monospace;
	font-size: 11pt;
	background-color: #efefef;
	margin-left: 5px;
	padding: 5px 5px 5px 5px;
	margin-right: 5px;
	white-space: pre;
	margin-bottom: 10px;
}
