/* Приближаем заголовок к своему абзацу */
H1, H2, H3, H4, H5, H6 {margin-bottom:0.2em;}
P  {margin:0.2em 0 1em;}
.p_ul {margin:0.2em 0;}
.ul_p {margin-top:0.2em;}


/* Вёрстка в две колонки  */
TABLE.twocol { width:100%; margin-bottom:1em;}

/* Первая (левая) колонка */
TABLE.twocol .col1
{
  width:311px;   
  \width:321px;  
  w\idth:311px; 
  min-width: 311px;
  color:#666;
  padding-top:10px;
  padding-right:10px;
  vertical-align:top;
}

/* Вторая (правая) колонка */
TABLE.twocol .col2
{
  background: url(pic/vr.png) repeat-y;
  padding:10px;
  vertical-align:top;
}

TABLE.inf, TABLE.inf TR, TABLE.inf TH, TABLE.inf TD
{
  border: 1px #808080 solid;
  border-collapse: collapse; 
}

TABLE.inf TH
{
  vertical-align:top;
  text-align:left;
  background:#f3faf3;
  font-size: 0.8em;
}

TABLE.inf TD
{
  vertical-align:top;
  text-align:left;
  font-size: 0.8em;
  white-space:nowrap;
}

TABLE.inf TR.code TD
{
  vertical-align:top;
  text-align:left;
  white-space:nowrap;
  font-family: "Trebuchet MS", sans-serif;
}

TABLE.property, TABLE.property TR, TABLE.property TH, TABLE.property TD
{
  background:white;
  border: 1px #808080 solid;
  border-collapse: collapse; 
}
TABLE.property TD, TABLE.property TH 
{
  vertical-align:top;
  text-align:left;
  font-size:0.8em;
  font-family: Arial, sans-serif;
}

TABLE.property TH
{
  background:#ffc;
}

TABLE.fonts, TABLE.fonts TR, TABLE.fonts TH, TABLE.fonts TD
{
  background:white;
  border: 1px #808080 solid;
  border-collapse: collapse; 
}
TABLE.fonts TD, TABLE.fonts TH 
{
  vertical-align:top;
  text-align:left;
  font-size:0.8em;
}

TABLE.fonts TH
{
  background:#ffc;
}

TABLE.tbl, TABLE.tbl TR, TABLE.tbl TD
{
  vertical-align:top;
  text-align:left;
}

TABLE.tbl OL, TABLE.tbl UL
{
  margin-top:0;
  margin-bottom:0;
  padding-top:0;
  padding-bottom:0;
}


/* Определение */
.def
{
  border: 1px dotted gray;
  background: url(pic/vr.png) left top repeat-y;
	padding: 1em;
  color:black;
  font-size:90%;
}

/* Оформление замечания */
.note
{
  border:none;
  border-left: 1px dotted gray;
	padding-top: 90px;
  background: url(pic/note.gif) transparent 1.5em top no-repeat;
	padding-left: 1.5em;
	margin-top:1em;
  color:#666;
  font-size:90%;
  text-align:left;
}

/* Испытвтель */
.executor
{
  border:none;
  border-left: 1px dotted gray;
	padding-top: 115px;
	margin-top:0;
  background: url(pic/executor.png) transparent 1.5em top no-repeat;
	padding-left: 1.5em;
  color:#666;
  font-size:90%;
  text-align:left;
}

/* Правила дизайна */
.disign
{
  border: 1px dotted gray;
  padding: 155px 20px 20px 20px;
  background: url(pic/09p03.gif) #ffffcc 20px 20px no-repeat;
  font-size:90%;
  zoom:1;
}

CODE
{
  font-family: "Trebuchet MS", sans-serif;
  white-space:nowrap;
  font-size:102%;
}
/* Выделение названия тега */
.keyword
{
	font-weight: bold;
  color: green;
}

/* Оформление цитаты */
BLOCKQUOTE
{
  border-left: 1px dotted gray;
	padding-left: 1.5em;
  color:#666;
  font-size:90%;
}

/* Оформление определения */
DFN
{
  color:red;
}

PRE
{
  /* Раскладка */
  overflow: auto; 
  background:#f3faf3;
  border: 1px dotted gray;
  padding: 10px 10px 0 10px;
  /* Шрифты    */
  font-family: "Trebuchet MS", monospace;
  font-size:80%;
  /* Цвета     */
  color:black;
}

P.before_pre
{
  margin-bottom:0;
}

IMG.show
{
  cursor:pointer;
  cursor:hand;
}


PRE.show
{
  margin-top:0;
  font-family:monospace;
}

OL.index DIV, .praktika
{
  font-family: Arial, sans-serif;
  font-size:80%;
} 

OL.index DIV A:link
{
 color:#900;
}

OL.index DIV A:visited
{
 color:#bf00ff;
}

OL.index DIV A:hover, OL.index DIV A:active 
{
 color:red;
}

.chmenu
{
  margin-top:5px;
  height:24px;
}
.chmenu IMG
{
  cursor:pointer;
  cursor:hand;
  vertical-align:bottom;
  padding:0;
  margin:0;
}

.chmenu #messtop, .chmenu #messbottom 
{
  font: 14px Arial, sans-serif;
  padding:3px;
  margin-left:4px;
  background:#ffc;
  border: 1px dotted red;
  color:black;
  visibility:hidden;
}

.chmenu+H2
{
  margin-top:0.2em;
} 

.citesign
{
  text-align:right;
  font-style:italic;
}

/* Оформление внешней ссылки */
A.off
{
  background: url(pic/off.gif) no-repeat center right;
  padding-right: 11px;
  margin-right: 2px;   
  zoom:1; /* хак для IE  */
}
TABLE.data, TABLE.data TR, TABLE.data TH, TABLE.data TD
{
  background:#f3faf3;
  border: 1px #808080 solid;
  border-collapse: collapse; 
}
TABLE.data TR TD, TABLE.data TR TH 
{
  vertical-align:top;
  text-align:left;
  font-size:0.85em;
  font-family: Arial, sans-serif;
}

TABLE.data TD
{
  background:white;
}

TABLE.data TH
{
  background:#ffc;
}

