/* ====================================================================
   Импортируем контекстно-зависимые таблицы стилейб баги
   ==================================================================== */
@import "style_context.css";
@import "style_bugs.css";


/* ====================================================================
   Ловим баги реализаций CSS
   ==================================================================== */

/* в IE.X */
div[class="аCSS"] {
 display: none;
}

/* ====================================================================
   Оформление: базовое
   ==================================================================== */

body, BODY {
 background-color: #ffffff;
 padding: 0px;
 margin: 0px;
}

div, DIV {
 margin: 0px;
 padding: 0px;
}

p, li, dd, P, LI, DD {
 color: #303030;
 background-color: transparent;
}

p, P {
 text-indent: 1.5em;
 margin: 0em;
 padding: 1em;
}

img, IMG {
 border: none;
 padding: 0em;
 margin: 0em;
}

a:visited, A:visited {
 color: #0000aa;
 background-color: transparent;
}

*.nodisplay {
 display: none;
}

*.invisible {
 visibility: hidden;
}

pre {
 border: dashed 1px #000000;
 padding-top: 1em;
 padding-left: 2em;
 padding-right: 2em;
 margin-left: 4em;
 margin-right: 4em;
}

/* ====================================================================
   Оформление текста: заголовки
   ==================================================================== */

h1, H1, h2, h3, H2, H3 {
 border: solid #c0c0c0 1px;
 margin: 0em;
 padding: 0em;
 font-weight: normal;
 clear: both;
}

h2, H2 {
 background-color: #dfdfdf;
 font-size: 110%;
}

H1, h1, h3, H3 {
 border-top: none;
 border-right: none;
/* background-color: #fffff0; */
 font-size: 100%;
 margin: 1px;
 padding: 1px;
 width: 96%;
}

/* ====================================================================
   Оформление текста: абзацы
   ==================================================================== */

p.list-item, P.list-item {
 padding: 1px;
}

p.sorry, P.sorry {
 font-style: italic;
}

div.spacer {
	clean: both;
	width: 100%;
	border: solid 1px #ff0000;
}

div.linfo {
	float: left;
	clear: left;
}

div.rinfo {
	float: right;
}

div.linfo, div.rinfo {
	text-align: center;
        border: dashed 1px #c0c0c0;
	padding: 0.5em;
	margin: 1.5em;
	width: 200px;
}

p.info, P.info {
	clear: both;
	margin: 1em;
	margin-top: 1.7em;
        padding: 0.1em;
	text-align: left;
	font-family: monospace;
	/* background-color: #dfdfdf; */
	/* border: solid #c0c0c0 1px; */
}


/* ====================================================================
   Оформление текста: блоки, (выделения -- rfloat, lfloat)
   ==================================================================== */

div.center, DIV.center {
 width: 100%;
 text-align: center;
 clear: both;
}

div.lfloat, div.rfloat, DIV.lfloat, DIV.rfloat, div.navigation {
/* border: solid 1px #000000; */
 margin: 1px;
 padding: 1px;
}

.lfloat, div.navigation {
 float: left;
}

.rfloat {
 float: right;
}

div.navigation {
    cursor: pointer;
    border: dashed 1px #000000;
    padding: 0.5em;
    padding-left: 2em;
    padding-right: 2em;
}

span.prev, span.d-prev, SPAN.prev, SPAN.d-prev {
	float: left;
}

span.next, span.d-next, SPAN.next, SPAN.d-next {
	float: right;
}

span.d-prev, span.d-next, SPAN.d-prev, SPAN.d-next {
	color: #c0c0c0;
}


div.subnail, div.subnail-emp, DIV.subnail, DIV.subnail-emp {
	text-align: center;
	float: left;
}

div.subnail, DIV.subnail {
	border: solid #ffffff 1px;
}

div.subnail-emp, DIV.subnail-emp {
	border: solid #c0c0c0 1px;
}


/* ====================================================================
   Оформление текста: выделения
   ==================================================================== */

span.disabled, SPAN.disabled {
 color: #a0a0a0;
}

span.note, SPAN.note {
 font-size: 90%;
 color: #a0a0a0;
}

span.warning, SPAN.warning {
 font-size: 90%;
 color: red;
}


span.quote, SPAN.quote {
 color: #606060;
}

/*
span.quote:hover, SPAN.quote:hover {
 background-color: #ffffa0;
}
*/

span.quote a, SPAN.quote A {
 color: #606060;
 text-decoration: none;
}

span.quote a:hover, SPAN.quote A:hover {
 text-decoration: underline;
}

span.quote:before, SPAN.quote:before {
 content: "\""
}

span.quote:after, SPAN.quote:after {
 content: "\""
}

span.deprecated, SPAN.deprecated {
 text-decoration: line-through;
}

span.emphasis, SPAN.emphasis {
 color: #ff0000;
 font-family: monospace;
}


/* ====================================================================
   Основные элементы страницы: заголовок, зона текста, зоны навигации
   ==================================================================== */

div.title-block, DIV.title-block {
 border-bottom: solid #000000 1px;
}

div.menu-block, div.text-block, DIV.menu-block, DIV.text-block {
 float: left;
 padding: 1em;
}

div.menu-block, DIV.menu-block {
 min-width: 10em;
 width: 18%;
}

div.text-block, DIV.text-block {
 border-left: solid #000000 1px;
 width: 55%;
}

div.lang, DIV.lang {
 padding: 1em;
 float: right;
 clear: none;
}

/* ====================================================================
   Оформление текста: таблицы, deprecated
   ==================================================================== */

div.cell, div.line div, DIV.cell, DIV.line DIV {
 float: left;
 width: 48%;
 margin: 1px;
 padding: 1px;
}

div.line div, DIV.line DIV {
 border: solid 1px #c0c0c0;
}

table, TABLE {
 border-collapse: collapse;
 border-spacing: 0px;
}

table.grid100, TABLE.grid100 {
 width: 100%;
/* --------------------------------------------------------------------
   По правилам полиграфии, ширина строки должна быть приблизительно
   70 символов. Это около 35em. Однако, подождём.
   -------------------------------------------------------------------- */
/* max-width: 35em;                                                     */
 clear: both;
}

td, th, TD, TH {
 text-align: left;
 padding-top: 0.1em;
 padding-bottom: 0.1em;
 padding-left: 0.5em;
 padding-right: 0.5em;
}

tr > td, th, TR > TD, TH {
 text-align: center;
}

td + td + td, TD + TD + TD {
 text-align: left;
}

td.cell, td.cell-r, td.cell-b, td.cell-br, TD.cell, TD.cell-r, TD.cell-b, TD.cell-br {
 text-align: left;
 display: table-cell;
 vertical-align: top;
 padding: 0px;
 margin: 0px;
 border-width: 0px;
}

/* right shadow cell */
td.cell-r, TD.cell-r {
 width: 16px;
 background-image: url("img-shadow-right");
 background-repeat: repeat-y;
}

/* bottom shadow cell */
td.cell-b, TD.cell-b {
 height: 16px;
 background-image: url("img-shadow-bottom");
 background-repeat: repeat-x;
}

/* bottom'n'right shadow cell */
td.cell-br, TD.cell-br {
 height: 16px;
 width: 16px;
 background-image: url("img-shadow-right-bottom");
 background-repeat: no-repeat;
}


/* ====================================================================
   Блоки форм
   ==================================================================== */

div.form, DIV.form {
 float: right;
}

div.stack, DIV.stack {
 color: red;
 margin-top: 1em;
 padding-bottom: 2px;
 border-bottom: dotted 1px #c0c0c0;
 border-right:  dotted 1px #c0c0c0;
}

div.button-block, DIV.button-block {
 text-align: right;
}