body {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 90%;
	color: #000;
}

body {
	margin: 0;
	padding: 0;
	background: #fff;
}

th {
	font-size: 82%;
	background: #d0d0d0;
}

table.data {
	border-collapse: collapse;
	margin: 0 auto 1em auto;
	font-size: 100%;
}

.data td, .data th {
 	border: 1px solid #333;
}

table.data td.select {
	background: #f6f6f0;
}

caption {
	font-family: 'Times New Roman', Times, serif;
	font-style: italic;
	text-align: right;
	padding-bottom: 0.5em;
	color: navy;
}

A {
	color: #004f9d;
}

A:visited {
	color: #780a7a;
}

A:hover {
  	color: #d86600;
}

A.extern {
	background: url('/images/download2.gif') no-repeat;
	padding-left: 15px; 
}

H1 {
	font-size: 160%;
	margin: 0;
	text-align: center;
	color: #07234f;
}

H2 {
	font-size: 140%;
	font-weight: normal;
	margin-bottom: 0;
	color: #800000;
}

H3 {
	font-size: 110%;
	font-weight: bold;
	margin-bottom: 0;
	color: #045070;
}

H4 {
	font-size: 110%;
	font-weight: normal;
	margin: 0;
}

P {
	margin-top: 0.5em;
	margin-bottom: 1em;
}

#bread {
	background: #ded6c9;
	border-bottom: #930 solid 1px;
	margin-bottom: 10px;
	font-size: 9pt;
	padding: 5px;
}

#bread .line {
  float: left;
  margin-right: 5px;
  position: relative;
  top: 1px;
}

LI {
	margin-bottom: 0.3em;
}

.example {
	border:	dashed 1px #634F36;
	background: #fffff5;
	font-family: "Courier New", Courier, monospace; 
	padding: 7px;
	margin: 0 0 1em;
}

.comment {
	color: #5a8985;
}

.exampleTitle, .noteTitle {
	border: 1px solid black;
	border-bottom: none;
	padding: 3px;
	display: inline;
	background: #efecdf;
	font-weight: bold;
	font-size: 90%;
	margin: 0;
	white-space: nowrap;
}

.result {
	margin: 20px 18% 15px;
	background: #f0f0f0;
	padding: 7px;
	border: 1px solid black;
}

span.select {  
	font-weight: bold; 
	color: #960;
}

.tag { 
	font-family: "Courier New", Courier, mono; 
	font-size: 110%;
	color: #125157;
}

.element {
	color: #b61039;
}

.var {
	color: #008b97;
}

#title {
	background: #f2edde;
	border-bottom: 2px #930 solid;
	height: 60px;
}

#title IMG, A IMG {
	border: none;
}

#m1, #m2, #m3, #m4, #m5 { 
	position: absolute;
	top: 34px;
}

#m1 { left: 240px; }
#m2 { left: 313px; }
#m3 { left: 377px; }
#m4 { left: 494px; }
#m5 { left: 578px; }

#bottom {
	clear: both;
	padding: 3px;
	background: #e9e4d6;
	border-top: solid 2px #930;
	border-bottom: solid 1px #333;
	font-size: 90%;
}

#bottom p {
	margin-bottom: 4px;
	margin-top: 0;
}

P.fig, td.fig {
	font-family: Times, serif;
	text-align: center;
	font-style: italic;
	font-size: 110%;
	margin: 0;
}

P.fig + P.fig {
	color: navy;	
	margin: 5px 0 1em;
}

td.fig {
	font-size: 100%;
}

.note {
	border:	solid 1px #634F36;
	background: #F3F0E9;
	padding: 7px;
	margin: 0 0 1em 0;
}

.noteTitle {
	background: #ffeebf;
}

.author {
	font-weight: bold;
	margin: 0;
	font-size: 90%;
	text-align: right;
}

#content {
	width: 70%;
	padding: 10px;
	margin-bottom: 0;
	float: left;
}

#toc {
	margin: 80px 0 20px 74%;
}

#toc DIV {
	padding: 3px;
}

#toc .descrsection, #toc DIV.nav {
	border-bottom: 1px solid #800;
	background: #eee;
	font-size: 90%;
}

#toc DIV.nav {
	margin: 0 0 15px 0;
	padding: 0 0 7px 0;	
}

#tagnav, #cssnav, #searchnav {
	margin-bottom: 15px;
	border-bottom: 1px solid #800;
}

#tagnav {background: #e8efef;}
#cssnav {background: #e8efea;}
#toc div#searchnav {background: #857F75; padding: 5px;}

#toc DIV.curnav {
	padding-left: 10px;
	background: #fff url('/images/bullet.gif') no-repeat 1px 6px;
}

#toc DIV.titlenav, #toc #tagtitle, #toc #csstitle, #toc #searchtitle {
	background: #ded4c4 url('/images/section.gif') no-repeat 3px 4px; 
	border-bottom: 1px solid #666;
	padding: 5px 5px 5px 24px;
	font-weight: bold;
	font-size: 90%;
}

#toc #tagtitle {
	background: #ded4c4 url('/images/tag.gif') no-repeat 3px 4px; 
}

#toc #searchtitle {
	background: #ded4c4 url('/images/search.gif') no-repeat 3px 4px; 
}

#toc #csstitle {
	background: #ded4c4 url('/images/css.gif') no-repeat 3px 4px; 
}

#toc DIV P {
	margin-bottom: 0.5em;
}

* HTML #toc {
	margin-left: 72%;
}

.title {
	padding: 5px;
	background: #f0f0f0;
	border-bottom: #1e521b 2px solid;
	margin-bottom: 15px;
}

.small {
	font-size: 82%;
}

.descr {
	font-size: 90%;
	margin-left: 14px
}

.publish {
	width: 100%;
  background: #eee;
	border-top: #1e521b 2px solid;
	font-size: 90%;
	margin: 1em 0
}

.term {
	border-bottom: 1px dotted red;
	font-style: italic;
	font-size: 110%;
	font-family: Times, serif;	
}

#fichi {
	padding: 4px;
	background: #f4f3ef;
	border: 1px solid #333;
	margin-bottom: 1.5em;
	font-size: 90%;
}

.advert {
	font-size: 80%;
	padding: 4px;
	text-align: center;
	margin-bottom: 10px;
}

#comment h2, #add_comment h2 {
	color: #5a8985;
	background: #fff;
	font-size: 130%;
	font-weight: normal;
	padding: 3px;
  margin: 0.2em 0 0.3em;
}

#form_comment .row {
  margin-bottom: 5px;
}

#form_comment .label {
  width: 100px;
  float: left;
  margin-right: 10px;
  text-align: right;
}

#form_comment .field input, #form_comment .field textarea {
  width: 75%; 
}

#form_comment form {
  margin-top: 10px;
}

#form_comment .field textarea {
  height: 10em;
}

#comment .example {
  margin: 0 5px 5px 0;
}

#comment p {
  margin-left: 108px;
}

#new_comment {
  clear: both;
}

#add_comment .c_row {
  clear: left;
  padding: 5px 0;
  border-bottom: 1px dashed #ccc;
}

#add_comment .odd {
  background: #fafafa;
}

#add_comment .c_user {
  width: 120px;
  float: left;
  margin-right: 10px;
  text-align: right;
}

#add_comment .c_user p {
  margin: 0;
  padding-bottom: 5px;
}

#add_comment .c_name {
  color: brown;
  font-size: 9pt;
}

#add_comment .c_date {
  font-size: 9pt;
}

#add_comment .c_text {
  _float: left;
  margin-left: 135px;
  _margin-left: 0;
  padding-bottom: 5px;
  color: #000;
  font-size: 10pt;
}

#new_comment {
  background: #f0f0f0;
}

.clear {
  clear: both;
  font-size: 1px;
}

.context, #votefaq {
  background: #f5f5f5;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  font-size: 90%;
}

.context .head, #votefaq .head {
  padding: 5px 5px 5px 10px;
  margin-bottom: -0.5em;
  font-weight: bold;
}

.context .wrap, #votefaq .wrap {
  padding: 10px;
}

.context .wrap p, #votefaq .wrap p {
  margin: 0.2em 0 0.3em;
}

#votefaq {
  background: #eceff5; 
  border: 1px solid #9fbaf5;
}

#votefaq .wrap p {
  margin: 0.2em 0;
}

#votefaq form {
  margin: 0;
}

.voteresult p {
  font-size: 90%;
  margin: 0;
  padding-bottom: 5px;
}

.valid {
  float: right;
  padding: 3px 0 3px 3px;
  width: 88px;
}

.error, .ok {
	min-height: 27px;
	padding: 3px 3px 3px 30px;
	min-height: 21px;	
}

.error {
	background: #F7ECDC url(/images/icon_error.png) no-repeat 3px 3px; 
}

.ok {
	background: #E3F7E7 url(/images/icon_ok.png) no-repeat 3px 3px;
}

.errormsg {
	background: #ffe;
	color: maroon;
	margin-bottom: 10px;
	padding: 5px;
	border: 1px dashed #333;
}

.okmsg {
  background: #ccc;
	color: #000;
	border: 1px dashed #333;
	padding: 5px;
	margin-bottom: 10px;
}

.errormsg p, .okmsg p {
  margin-top: 0;
  margin-bottom: 0.2em;

}

#ticket {
  height: 70px;
}

TH { 
	text-align: left;	
	font-weight: bold;
}

table.data {
	margin: 0 auto;
}

table.data td, table.data th {
	padding: 3px;
}

.cssref {
  margin-bottom: 10px; 
  text-align: center;
}

.ushko {
background: url(/images/ushki-bg.png) repeat-x;
height: 118px;
margin: 0 5px 5px 0;
}
.ushko .l {
background: url(/images/ushki-leftcorner.png) no-repeat;
float: left;
height: 118px;
width: 10px;
}
.ushko .r {
background: url(/images/ushki-rightcorner.png) no-repeat;
float: right;
height: 118px;
width: 10px;
}

.ushko .content {
text-align: center;
}