IMG, TABLE
{
	margin: 0; padding: 0; border: 0; 
	vertical-align: baseline;
}

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


HTML
{
  text-align: center; /* Центрирование BODY для IE5 */
  background: url(../pic/bodybg.gif) #F6F2E4; 
}

/* Определения для блока BODY, вложенного в блок HTML */
BODY
{
  /* Раскладка */
  margin: 10px auto;  /* Выравнивание BODY по центру HTML */
  padding:0px;
  border: 1px solid #638F7B;
  text-align: left; /* Восстановим выравнивание текста слева */
  width:760px;   
  \width:762px;  
  w\idth:760px; 
  /* Шрифты    */
  font: 24px Georgia, serif;
  /* Цвета     */
  color:black;
  background:white;
  -moz-box-shadow: 0 0 30px #CCC;
  -webkit-box-shadow: 0 0 30px #CCC;
  box-shadow: 0 0 30px #CCC;
  background: -webkit-gradient(linear, left top, left 15, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));
  background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 15px);
}

A         {text-decoration:none;}
A:link    {color:blue}
A:visited {color:purple}
A:hover   {color:red;text-decoration:underline}
A:active  {color:red}

/* Оформление внешней ссылки */
A.off, A.offSmall
{
  background: url(../pic/off.gif) no-repeat center right;
  padding-right: 11px;
  margin-right: 2px; 
  zoom:1; /* хак для IE  */
}

A.offSmall
{
  font-size:0.7em;  
}


H1,H2,H3,H4,H5,H6 
{
  color: #009900;
  margin: 1em 0 0.5em  0;
  font-family: Arial, sans-serif; 
}
H1 
{ 
  font-size: 0em; 
  margin:0;
  padding:0;
}
H2 { font-size: 1.6em; }
H3 { font-size: 1.4em; }
H4 { font-size: 1.2em; }
H5 { font-size: 1em; }
H6 { font-size: 0.9em; }

H2
{
  clear:both;
  background:#f3faf3;
  border: solid 1px #c4c4c4;
  padding: 5px;
}

H2.first
{
  margin-top:0.5em;
}

H2 IMG, H3 IMG, H4 IMG, H5 IMG, H6 IMG
{
  cursor:pointer;
}

.extitle
{
  color: #009900;
  margin: 1em 0 0.5em  0;
	font-weight: bold;
}

STRONG 
{
  color: #009900;
}

P { margin: 0.5em 0 1em  0; }

P.logo 
{
  clear:both;
  text-align:center;
}

/* Заголовок и логотип  */
.header
{
  width:760px; 
  padding:0; margin:0;
}

/*  Основная часть */
.content
{
  clear:both;
  /* Раскладка */
  border: 1px solid white;
  padding: 0px 10px 10px;
  width:738px;   
  \width:760px;  
  w\idth:738px; 
  background: white;  
}

/* Авторская подпись */
.sign
{
  font-size:14px;
  padding: 4px 4px 4px 14px;     
  white-space:nowrap;
  background: #F6F2E4; 
  border-top: 1px solid gray; 
  clear:both;
}

UL.m LI
{
  list-style-image: url(../pic/disc.gif);
}

UL.m LI OL LI
{
  list-style-image: none;
}


.context
{
  font-family: Arial, sans-serif; 
  font-size:0.9em
}


UL LI .num
{
  background:#ffdf5e;
}

SAMP  
{
  color: #009900;
  font-family: "Trebuchet MS", sans-serif;
  font-size:1em;
}

TABLE.data SAMP  
{
  color: #009900;
  font-family: "Trebuchet MS", sans-serif;
  font-size:1.1em;
}


KBD
{
  color: #009900;
  font-family: "Trebuchet MS", sans-serif;
  font-size:1em;
}

EM
{
  font-weight:bold;
  color:#3a3a3a;
  font-style:normal;
}

.mark, .marks
{
  color:red;
/*  font-style:italic; */
}

.marks
{
  font-weight:bold;
}


CITE
{
  font-family: "Trebuchet MS", sans-serif;
  font-size:102%;
}



/* Оформление замечания */
/*
.note
{
  border-left: 1px dotted gray;
	padding-left: 1.5em;
  color:#666;
  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;
  color:#666;
  font-size:90%;
  text-align:left;
}
.notecol2
{
  border:none;
  border-left: 1px dotted gray;
  padding-left: 1.5em;
  color:#666;
  font-size:90%;
  text-align:left;
}

/* Оформление определения */
.def
{
  border: 1px dotted gray;
	padding: 10px;
  background:#fff2a6;
  background:#ffc;
}

/* Сброс обтекания */
.clear
{
  clear:both;
}


/* Оформление цитаты */
/*
BLOCKQUOTE
{
  border-left: 1px dotted gray;
	padding-left: 1.5em;
  color:#666;
  font-size:90%;
}
*/
BLOCKQUOTE
{
  padding: 0 0 0 55px;
  background: url(../pic/bqtop.png) transparent 0 top no-repeat;
  margin: 1em 0 1em 0;
  color:#666;
  color:#333;
  font-size:90%;
  text-align:left;
}
BLOCKQUOTE DIV.bquote
{
  padding-right:45px;
  background: url(../pic/bqbottom.png) transparent right bottom no-repeat;
  min-height:50px;
}


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

/* Подсвеченный текст */
.nb
{
  background:#fbe7ab;
}

/* Подсвеченный текст */
.nblink
{
  background:#83ffff;
}

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

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

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

PRE
{
  padding:0;
  margin:0;
}

PRE CODE 
{
  display: block;
  background:#f3faf3;
  border: 1px dotted gray;
  padding: 10px;
  font-size:90%;
  overflow: auto; 
}

.iePRECODE
{
  //white-space:pre;
  //width:718px;   
}

.col2 PRE CODE
{
  width:474px;   
  \width:496px;  
  w\idth:474px; 
  white-space:pre;
}

/* Таблица с данными */
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;
  padding:7px;
}

TABLE.data TD
{
  background:white;
}

TABLE.data TH
{
  background:#ffc;
}

TABLE.data TD.calc
{
  font-size:1em;
}



/* Таблица с данными */
TABLE.data1
{
  width:100%;
}

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

TABLE.data1 TR TH 
{
  font-size:0.85em;
}

TABLE.data1 TD
{
  background:white;
}

TABLE.data1 TH
{
  background:#ffc;
}

TABLE.data1 TR TD.data_inf                                                                                                                   
{
  background: #eaf9fe !important;
  font-size:0.85em !important;
}

.nobr
{
  white-space:nowrap;
}

IMG.pause
{
  float:right;
} 

.picleft
{
  float:left;
  padding:10px 10px 10px 0;
} 

.picright
{
  float:right;
  padding:10px 0 10px 10px;
} 


/* --- Алгоритм --- */
DIV.alg
{
  background: url(../pic/alg.png) transparent left top no-repeat;
  padding-top:56px;
}
DIV.alg DIV.alg_
{
  border: 1px dotted gray;
	padding: 10px;
  background: url(../pic/vr.png) repeat-y;
  font: 0.9em "Trebuchet MS", sans-serif;
}


/* --- Рекомендация совет --- */
DIV.advice
{
  background: url(../pic/advice1.png) transparent left top no-repeat;
  padding-top:42px;
}
DIV.advice DIV.advice_
{
  border: 1px dotted gray;
	padding: 10px;
  background: url(../pic/vr.png) repeat-y;
  font: 0.9em "Trebuchet MS", sans-serif;
}


/***************************************
   =cluetipClass: 'ru' 
-------------------------------------- */

.cluetip-ru {
  background-color: #d9d9c2;
}
.cluetip-ru #cluetip-outer {
  position: relative;
  margin: 0;
  background: #bfe6bf; /* Фон текста */
}
.cluetip-ru h3#cluetip-title {  /* Заголовок */
  margin: 0 0 5px;
  padding: 8px 10px 4px;
  font-size: 1.1em;
  font-weight: normal;
  background-color: #87876a;
  color: #fff;
}
.cluetip-ru #cluetip-title a {
  color: #d9d9c2;
  font-size: 0.95em;
}  
.cluetip-ru #cluetip-inner {
  padding: 10px;
  font-size: 1em;
}
.cluetip-ru div#cluetip-close { 
  text-align: right;
  margin: 0 5px 5px;
  color: #900;
}

#san
{
  margin-top:1em;
}

#san IMG
{
  float:right;
  margin: 0px 0px 1em 10px;
}

/* -----------------------------------------------------------------*/
.summary
{
  margin: 1em 0 0 0;
}

.framesum
{
  border:1px solid gray;
  padding: 0.5em;
  margin: 0;
  margin-bottom: 1em;
}

/* -----------------------------------------------------------------*/
.practice
{
  font:0.8em Arial, sans-serif;
  border-bottom:1px dotted gray;
}

.left
{
  float:left;
  margin: 0 40px 0 0;
}
.picqw
{
  padding: 20px;
  background:white;
  border:1px solid black;
  margin:10px
}

.add
{
 color:#666;
} 

.edmark
{
  color: #009900;
  font-family: Arial, sans-serif; 
  font-weight:bold;
}

#label
{
  height:132px;
  background: url(../pic/label.png) 0 top no-repeat;
}

#label DIV
{
  font-family: Arial, sans-serif; 
  font-size:18px;
  text-align:right;
  padding:28px 14px 0 0;
}

.demo
{
  border:1px solid gray;
  border-top: 1px solid #ff980d;
  border-left: 1px solid #ff980d;
  padding:15px;
  margin: 1em 0;
  background: url(../pic/demobg.png) repeat-y;
}

.legend
{
  font-family: Arial, sans-serif; 
  font-size:18px;
}

.field
{
  background: url(../pic/fon_field.png) repeat-y;
  margin-top:1em;
  padding:5px;
	font:bold 34px 'courier new',monospace;
	color:#4c4c4c;
	white-space:nowrap;  
}
.field EM
{
	color:red;
}
.field_q
{
  margin-top:1em;
  padding:5px;
	font:bold 34px 'courier new',monospace;
	color:#4c4c4c;
}

.field1
{
  display:inline;
  background: url(../pic/fon_field.png) repeat-y;
  margin-top:1em;
  padding:5px;
	font: 34px Arial, sans-serif;
	color:#4c4c4c;
}
.field1 EM
{
	color:red;
}

.field2
{
  background: url(../pic/fon_field.png) repeat-y;
  padding:5px;
	font:bold 34px 'courier new',monospace;
	color:#4c4c4c;
	white-space:nowrap;  
}
.field2 EM
{
	color:red;
}

.field3
{
  background: url(../pic/fon_field.png) repeat-y;
  padding:5px;
	font: 34px Arial, sans-serif;
	color:#4c4c4c;
}
.field3 EM
{
	color:red;
}

.pre
{
  background: url(../pic/fon_field.png) repeat-y;
  padding:5px;
	font-size: 34px;
	font-weight:bold;
	color:#4c4c4c;
}

.pre1
{
  background: url(../pic/fon_field.png) repeat-y;
  margin:0;
  padding:5px;
	color:#4c4c4c;
	font:bold 34px 'courier new',monospace;
  line-height:0.5;
  white-space:pre;
}



DIV.clearAnswer
{
  /*text-align:right; */
}
DIV.clearAnswer BUTTON, BUTTON
{
  font:20px tahoma,arial,verdana,sans-serif;
}
/* Картинка с вертикальной чертой */
._v_  IMG
{
 vertical-align:middle;
 margin:2px;
}
/* Инверсия */
.invers
{
  background:blue;
  color:white;
}
.blink
{
 position:relative;
}
.poem
{
  /*white-space:pre; */
  border:1px solid black;
  padding:0 10px;
  margin: 0.5em 0;
  background:#fbdbb9;
  font-family: "Trebuchet MS", sans-serif;
  font-size:0.9em;
}
.epi
{
  font-family: "Trebuchet MS", sans-serif;
  font-size:20px;
}

.epitext
{
  width:70%;
  margin: 0 0 0 auto;
  border: none;
  border-collapse: collapse; 
}

.episign
{
  text-align:right;
  font-style:italic;
  color:#666;
}
.abc
{
  color:#666;
  font-family: "Trebuchet MS", sans-serif;
  font-size:20px;
  font-style:italic; 
}
/* --- Абзац перед UL --- */
.PfrontUL
{
  margin-bottom:0.2em;
}

/* --- UL после P --- */
.ULbeforeP
{
  margin-top:0.2em;
}
/* Рассказ  */
.story
{
  font-family: tahoma,arial,verdana,sans-serif;
  margin-left:24px;
  font-size:0.9em;
}
.story P:first-letter
{
  color:red;
  font-size:1.5em;
  font-family: Georgia, serif;
}
.ski
{
  color: #009900;
}

OL.prog
{


}

OL.prog LI SPAN
{
  color: #009900;
  font-family: arial, sans-serif;
}
/* Убрать крестик-очистку у поля ввода в IE */
input::-ms-clear 
{
   display: none;
}

/* Обозначения вагонов */
.car
{
  /*background: url(../pic/fon_field.png) repeat-y; */
  margin:0;
  padding:0px;
	color:#4c4c4c;
	font:bold 30px 'courier new',monospace;
  line-height:0.5;
  white-space:nowrap;
}

/* Имя в диалоге */
.name
{
  font-family: "Trebuchet MS", sans-serif;
  color:#c40000;
  font-style:italic;
}
/* Вопрос -- ответ*/
.qw
{
  font-family: "Trebuchet MS", sans-serif;
  color:#c40000;
  font-style:italic;
}

/* Картинка с подписью */
.picsign
{
}

.picsign IMG
{
  border:none;
}

.picsigntxt
{
  padding-left:5px;
  margin:0 0 1em 0;
  color:black;
  font-family: Arial, sans-serif; 
  background: url(../pic/fon_field.png) repeat-y;
  font-size:0.8em;
  border-bottom: 1px gray solid;
} 

/* Переход на справку Кукарачи */
.gohelp
{
}

.gohelp IMG
{
  float:left;
}

.gohelp DIV
{
  position:relative;
  top:7px;
  padding-left:5px;
  margin:0 0 1em 70px;
  color:black;
  font-family: Arial, sans-serif; 
  background: url(../pic/fon_help.png) repeat-y;
  font-size:0.8em;
  border-bottom: 1px gray solid;
}

.code, .code1 
{
  background: url(../pic/fon_field.png) repeat-y;
  margin:0;
  padding: 5px;
	color:#4c4c4c;
	font: bold 0.92em 'courier new', monospace;
  line-height:1.0;
  white-space:pre;
}

.code2 
{
	color:#4c4c4c;
	font-family: 'courier new', monospace;
  font-weight:bold;
  white-space:nowrap;
}

.code3 
{
	color:#4c4c4c;
	font: bold 1em 'courier new', monospace;
  line-height:1.0;
  white-space:nowrap;
}


/* Выделение ключевого слова */
.keyword
{
  color: #0000ff;
  font-weight:bold;
	font-family: 'courier new', monospace;
}             

.keyword1
{
  background: url(../pic/fon_field.png) repeat-y;
  margin:0;
  padding: 5px;
  font-weight:bold;
	font-family: 'courier new', monospace;
  line-height:0.9;
  white-space:nowrap;
	font-weight: bold;
  color: #0000ff;
}

.SKI
{
  color:#ca3b8c;
  font-weight:bold;
  font-family: 'courier new', monospace;
}
.comment
{
  color:#4cb04d;
  font-style:italic;
  font-weight:bold;
  font-family: 'courier new', monospace;
}

.kuk
{
  color:#800000;
  font-family: "Trebuchet MS", sans-serif;
}

.nametask
{
	color:#007f9e;
  font-style:italic;
  font-family: "Trebuchet MS", sans-serif;
}

.avtortask
{
	color:blue;
  color:#ff3737;
  font-style:italic;
  font-family: "Trebuchet MS", sans-serif;
}
.trans
{
	color:#007f9e;
  font-style:italic;
  font-family: "Trebuchet MS", sans-serif;
}

/* scroll */
.scrollup 
{
  cursor:pointer;
}

.back
{
  color:blue;
  cursor:pointer;
}
.back:hover   {color:red;text-decoration:underline}

.titl1
{
  padding: 5px;
  margin: 1em 0 0.5em;
  border: dotted gray 1px;
  font-family: Arial, sans-serif; 
  font-size:0.8em;
  color:grey;
  letter-spacing:0.1em; 
}    

/* Многоступенчатый список */
/*
ol>li{
display:block
}
ol>li:before{
content:counters(item,".") ". ";
counter-increment:item
}
ol{
counter-reset:item
}
*/

ol.level {
  counter-reset: li; /*Идентифицируем счетчик и даем ему имя li. Значение счетчика не указано - по умолчанию оно равно 0*/ 
  list-style: none; /*убираем стандартную нумерацию*/
}
ol.level > li:before {
  counter-increment: li; /*Определяем элемент, который будет нумероваться — li. Псевдоэлемент before указывает, что содержимое, вставляемое при   помощи свойства content, будет располагаться до пунктов списка. Здесь же устанавливается значение приращения счетчика -по умолчанию равно 1.*/
  
  content: counters(li,".") ". "; /*С помощью свойства content выводится номер пункта списка. counters() означает, что генерируемый текст представляет собой значения всех счетчиков с таким именем. Точка в кавычках добавляет разделяющую точку между цифрами, а точка с пробелом добавляется перед содержимым каждого пункта списка*/
}

.help
{
  color: #ff8233;
  font-family: "Trebuchet MS", sans-serif;
  font-size:1em;
  text-decoration: underline;
  text-decoration-style: dotted;
  cursor: help; 
}

/* Приподнятый бокс */

.raised {
    font-size:0.9em;
    position:relative;
    width:675px;
    padding:1em;
    margin:1em 10px 1em;
    background:#fff;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -webkit-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}        
 
.raised:before,
.raised:after {
    content:"";
    position:absolute;
    z-index:-2;
}
 
.raised p {}        

/* Подзаголовок */
.subh
{
  margin: 1em 0 0.4em;
  color: #bf0000;
  font-family: Arial, sans-serif;
  font-size:1.2em;
}
.subh1
{
  margin-top:0.4em;
}

.nocopyimg 
{ 
  pointer-events: none; 
  -moz-user-select: none; 
  -webkit-user-select: none; 
  -ms-user-select: none; 
  user-select: none;
}
