body {
  margin: 20px;
  margin: 0;
  font: 0.92em Arial, sans-serif;
  min-width: 700px;
  line-height: 1.4;
  background: #fff;
  color: #000;
}

#header, #footer {
  background: #607DA0;
  padding: 5px 20px;
}
 
#header {
  font-size: 24px;
  color: #fff;
}

#footer {
  background: #E6E7E8;
  border-top: 2px solid #BBBDBF;
  padding-bottom: 10px;
}

#footer p {
  margin: 3px 0;
  font-size: 0.9em;
}

.name { font-weight: bold; }

#main {
padding: 20px;
}

a img { border: none; }
form { margin:0; }
p { margin: 0.3em 0 0.7em 30px; }
ul, ol { margin-left: 45px; }
td ul, td ol { margin-left: auto; }
a { color: #1d67a4; }
a:visited { color: #90278E; }
a:hover { color: #BD2026 !important; }

h1, h2 {
	font-size: 1.8em;
	font-weight: normal;
}

h1 {
  text-align: center;
  margin: 0 0 0.6em;
  font: 1.8em Georgia, Times, serif;
}

h2 { 
  font: 1.4em Georgia, Times, serif;
  color: #bd2026;
  margin: 1.2em 0 0; 
}

h3, .exampleTitle {
  font-size: 1.1em;
  margin: 1.2em 0 0;
  color: #666;
}

h4 {
  margin: auto 0 0 30px;
}

/* ----------------------------------------------- */

.fig {
	margin: 1.6em 0 5px;
	text-align: center;
}

.figsign {
	font: italic 1em Georgia, Times, serif;
	color: #666;
	text-align: center;	
	margin: 0 0 1.6em;
}

.note {
  background: url(../images/note.png) no-repeat 0 7px;
  padding: 10px 10px 10px 50px;
  min-height: 32px;
}

.codetitle, .exampleTitle {
  color: #685c53;
	font-weight: bold;
	margin: 10px 0 0 30px;
  padding: 5px 0 10px;
  border-bottom: none;
}

.exampleTitle {
margin: auto 350px -1.8em 0;
}

.example, pre, .example2 {
	margin: 0 0 1em 30px;
	border: none;
	background: #f8f7f2;
}

.example, pre code, .example2 {
	font: 14px "Courier New", Courier, mono;
	padding: 7px;
}

.example, .example2 {
	margin-bottom: 1em;
}

pre code {
	display: block;
	overflow: auto;
	white-space: pre;
}

pre code.no-buttons {
  border-right: none;
}

.example-view {
  float: right;
  position: relative;
  margin: 0;
  top: -65px;
  right: 4px; 
  cursor: pointer;
}

.example-win {
  padding-bottom: 7px;
}

.example-support {
	margin: 0 0 0 30px !important;
	font-size: 9pt;
	padding: 3px 0;
	text-align: right;
}

.example-support span {
  margin-left: 1px;
	padding: 4px;
}

.example-support .html, .example-support .css {
	margin-right: 3px;
}

.tag {
	font-family: "Courier New", Courier, mono; 
	color: #069;
	font-size: 1em;
	font-weight: bold;
}

.value, .function .params {
	color: #39892f;
	font-weight: normal;
}

.var {
  font: 1em "Courier New", Courier, mono;
}

.menuitem {
  background: #f8f6e3;
  padding: 0 2px;
}

.button {
  background: #ddd;
  border: 2px outset #ddd;
  padding: 0 3px;
  color: #333;
  font-size: 0.92em;
}

.attribute, .css .rule .keyword {
	color: #b61039;
	font-weight: normal;
	border: none;
	background: none;
}

.term {
	border-bottom: 1px dotted red;
	font-style: italic;
	font-size: 110%;
	font-family: Times, serif;	
}

table.term2 {
  width: 90%;
  margin: 0 auto;
}

.term2 td {
  vertical-align: top; 
  border-bottom: 1px dashed #333;
  padding: 10px 3px;
}

.term2 tr:last-child td {
  border: none;
}

.term2 tr:hover {
  background: #f0f0f0;
}

pre .doctype {
  color: #069;
}

.regexp {
  color: #b61039;
}

.keyword {
	color: #9c223f;
}

.css .keyword {
  color: #333;
  font-weight: bold;
}

.tag .keyword {
  color: #069;
}

.comment {
  color: #999;
}

.function {
  font-weight: bold;
}

ins {
	color: red;
}

del {
	color: blue;
}	

.number {
  color: #D6562B;
}

.hexcolor  {
  color: #BC3EC6;
}

/* ----------------------------------------------- */

th {
	background: #bfbfbf url(../images/th.png) repeat-x;
	font-size: 0.9em;
}

tbody {
  border-top: none;
}

table.data {
	border-collapse: collapse;
	margin: 0.3em auto 0.5em;
	width: 90%;
	border-spacing: 0;
}

.data td, .data th {
 	border: 1px solid #333;
 	padding: 4px;
}

caption {
  font: italic 1em Georgia, Times, serif;
	text-align: right;
	color: #666;
	margin: 0.5em 0 3px !important;
}

/* ----------------------------------------------- */

.info {
  padding: 5px;
  background: #f0f0f0;
  margin-bottom: 1em;
  font-size: 0.9em;
}

h2 + .info {
  margin-top: 5px;
}

.tabs {margin-bottom: 2em; margin-left: auto !important;}

.date, .author {margin: 0;} 
.date { float: left; }
.author { float: right; }

.block-similarterms { clear: both; }

.sel { background: #f6f6f0; }

/* --------------------------------------------- */

.standart {
	width: 280px;
	border-collapse: collapse;
	float: right;
	font-size: 0.9em;
}

.standart td {
 	border: 1px solid #333;
	padding: 2px;
	text-align: center;
	background-image: none !important;
}

.standart td.h, .standart td.xh {
	text-align: left; 	
	background: #FAF3D2;
}

.standart td.xh {
  border-left: 3px double #333;
}

/* --------------------------------------------- */

td.l {
	text-align: left;
}

td.rdline {
	border-right: 3px double #333;
}

span.browser {
	background: #FAF3D2;	
	padding: 3px;
	margin-right: 5px;
	position: relative;
	top: 3px;
}

/* --------------------------------------------- */

td.l {
	text-align: left;
}

.br td, .sp td {
	border-left: 3px double #333;
}

td.rdline {
	border-right: 3px double #333;
}


.br td:first-child, .sp td:first-child, .sp .sline { border-left: 1px solid #333; }

td.yes { background: #cee2d3 url(../images/icon_yes.png) no-repeat 50% 50%; height: 18px; }
td.no { background: #f2c8c8 url(../images/icon_no.png) no-repeat 50% 50%; height: 18px; }
td.bug { background: #e0c9e0 url(../images/icon_bug.png) no-repeat 50% 50%; height: 18px; }
td.part { background: #f4f1b7 url(../images/icon_part.png) no-repeat 50% 50%; height: 18px; }

.sp td.yes, .yes { background: #cee2d3; }
.sp td.no, .no { background: #f2c8c8; }
.sp td.bug, .bug { background: #e0c9e0; }
.sp td.part, .part { background: #f4f1b7; }
.sp td.warn, .warn { background: #f9e497; }

.sp td.yes span { background: url(../images/icon_yes.png) no-repeat 0 50%; }
.sp td.no span { background: url(../images/icon_no.png) no-repeat 0 50%; }
.sp td.bug span { background: url(../images/icon_bug.png) no-repeat 0 50%; }
.sp td.part span { background: url(../images/icon_part.png) no-repeat 0 50%; }
.sp td.warn span { background: url(../images/icon_warn.png) no-repeat 0 50%; }

table.browser {
	width: 100%; 
	border-spacing: 0;
}

.browser td {
	padding:2px; 
	text-align: center;
}

.br td { background-color: #FAF3D2; }

.ie, .cr, .sa, .op, .fx, .an, .ip, .sp span { min-height: 16px; padding-left: 20px; }
.ie, .br .ie  { background: url(../images/browser_ie.png) no-repeat; }
.cr , .br .cr { background: url(../images/browser_cr.png) no-repeat; }
.sa, .br .sa  { background: url(../images/browser_sa.png) no-repeat; }
.op, .br .op  { background: url(../images/browser_op.png) no-repeat; }
.fx, .br  .fx { background: url(../images/browser_fx.png) no-repeat; }
.br  .an { background: url(../images/browser_android.png) no-repeat; }
.br  .ip { background: url(../images/browser_iphone.png) no-repeat; }

.sp span { padding-left: 16px; }

.browser th { padding: 3px; }

td.browser { background: #FAF3D2; }


/* --------------------------------------------- */

table.spec {
	border-collapse: collapse;
	width: 500px;
	margin: 7px 0 0 30px;
	border-spacing: 0;
}

table.cssver {
	border-collapse: collapse;
	width: 220px;
	margin: 7px 0 0 30px;
	border-spacing: 0;
}

.spec td, .spec th, .cssver td, .cssver th {
 	border: 1px solid #333;
	padding: 2px;
	text-align: left;
	font-size: 0.9em;
}

.spec th, .cssver th {
	background: #FAF3D2;
	font-weight: normal;
}

.cssver td {
  padding: 2px 0 0;
}

.cssver th, .cssver td {
  text-align: center !important;
}

/* --------------------------------------------- */

dl.param, dl.param2 {
	margin: 0.5em 0 0.5em 30px;
}

dl.param dt, dl.param2 dt {
	color: #b61039;
	float: left; 
}

dl.param dd, dl.param2 dd {
	margin: 0.4em 0 0.5em 6.5em;
}

dl.param2 dt { color: #39892f; }


/* --------------------------------------------- */

.syntax { 
  width: 93%;
  margin: 5px 0 0 30px; 
  background: #f8f7f2;
}

.syntax td.html, .syntax td.xhtml {
  width: 60px;
  background: #d8d8ca;
  padding: 7px;
}

.syntax td {
  border: 2px solid #fff;
  vertical-align: top;
}

.syntax pre {
  margin: 0;
  padding: 0;
}

.syntax pre code {
  min-width: 500px;
  padding: 5px;
}

.leftpic {
  float: left;
  margin: 0 20px 10px 0;
  text-align: center;
}

.rightpic {
  float: right;
  margin: 0 0 10px 20px;
  text-align: center;
}

.mark { 
  background: #ffe;
  border: 1px dotted #333; 
  padding: 2px;
}

.support {
  border-top: 3px double #000;
  border-bottom: 3px double #000;
  padding: 3px 0;
  margin: 0;
  text-align: center;
}


/* --------------------------------------------- */

.spec_no, .spec_yes, .spec_x3 { height: 18px; }
.spec_no { background: url(../images/icon_no2.png) 50% 50% no-repeat; }
.spec_yes { background: url(../images/icon_yes2.png) 50% 50% no-repeat; }
.spec_x3 { background: url(../images/icon_x3.gif) 50% 50% no-repeat; }