body {
	margin: 0;
	font: 0.92em/1.4 Arial, sans-serif;
	min-width: 780px;
	background: #fff;
	color: #000;
}


/* Content */

p { margin: 1em 0; }

#content ul.menu li {
	margin: 0 0 2px 0.5em;
}

li.collapsed {
	list-style: none;
	background: url(../img/bullet2.png) 0 6px no-repeat;
	padding: 0 5px 0 15px;
	margin-left: -10px;
}

li.leaf,
.view-blog-last li,
#block-views-block-faq-theme-block li,
#block-views-block-practical-theme li,
#block-views-block-blog-last-block li,
#block-views-block-similar-htmlref li,
#block-views-block-similar-practical li,
#block-views-block-similar-cssfaq li,
#block-css3naprimerakh li {
	list-style: none;
	background: url(../img/bullet.png) 0 6px no-repeat;
	margin-left: -10px;
	padding: 0 0 0 15px;
}

li.expanded {
	list-style: none;
	background: url(../img/bullet3.png) 0 7px no-repeat;
	margin-left: -10px;
	padding: 0 5px 0 15px;
}

.leftpic {
 float: left;
 margin: 0 20px 10px 0;
 text-align: center;
}

.rightpic {
 float: right;
 margin: 0 0 10px 20px;
 text-align: center;
}


/* Link */

a { color: #1D67A4; }
a:visited { color: #90278E; }
a:hover { color: #BD2026; }
a.ext {
 background: url(../img/blank.png) 100% 4px no-repeat;
 padding-right: 14px;
}
a img { border: none; }
aside a {
	color: #EEDFAC; 
	text-decoration: none; 
	display: block;
	line-height: 1.2;
	margin: 3px 0;
}
aside a:visited { color: #ccc; }
aside a:hover { color: #fff; }
aside a.is-active {
	color: #fff;
	padding: 2px 0;
}

.active-trail a.is-active,
#block-menu-html a.is-active,
#block-menu-css a.is-active,
#block-html-attr a.is-active,
#block-html-value a.is-active,
#block-css-value a.is-active {
	background: url(../img/bullet.png) 15px 7px no-repeat, #85AB70;
	margin-left: -30px;
	margin-right: -6px;
	padding-left: 30px;
	position: relative;
}

.active-trail.expanded a.is-active {
	margin-right: -10px;
	background: url(../img/bullet3.png) 15px 50% no-repeat, #85AB70;
}

li ul a.is-active {
	margin-left: -50px;
	margin-right: -5px;	
	padding-left: 50px;
}

#block-menu-html .block-content::-webkit-scrollbar,
#block-menu-css .block-content::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

#block-menu-html .block-content::-webkit-scrollbar-track-piece,
#block-menu-css .block-content::-webkit-scrollbar-track-piece {
	background: #c6cdc7;
}

#block-menu-html .block-content::-webkit-scrollbar-thumb,
#block-menu-css .block-content::-webkit-scrollbar-thumb {
	background: #74786f;
}

.active-trail.expanded a.is-active {
	margin-right: -10px;
	background: url(../img/bullet3.png) 15px 50% no-repeat, #85AB70;
}

.active-trail.submenu a.is-active {
	background-color: transparent;
}

.active-trail.submenu > a.is-active > .pointer {
	display: none;
}

li ul .active-trail a.is-active {
	background: url(../img/bullet.png) 35px 7px no-repeat, #85AB70 !important;
	margin-left: -50px;
	margin-right: -5px;	
	padding-left: 50px;
}

/* Header */

header {
	background: #4b4a45;
	display: block;
	position: relative;
	z-index: 2;
}

.logo {
	float: left;
	margin: 0 16px 0 10px;
}

#topmenu, .tile ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#topmenu li {
	height: 66px;
	display: inline-block;
	margin-right: 4px;
	text-align: center;
	min-width: 80px;
}

#topmenu a {
	color: #000;
	text-decoration: none;
	display: block;
	height: 100%;
}

#topmenu .icon {
	display: inline-block;
	margin-top: 7px;
	width: 32px;
	height: 32px;
	background-image: url(../img/icon-menu.png);
}

.icon-css {
	background-position: -32px 0;
} 

.icon-site {
	background-position: -64px 0;
}

.icon-main {
	background-position: -96px 0;
}

.tile {
	display: none;
}

.tile.show {
	display: block;
}

.tile li {
	display: inline-block;
	padding: 5px 0;
	margin-left: 5px;
}

.tile li a {
	display: inline-block;
	color: #1D71B8;
	text-decoration: none;
	padding: 2px 7px;
}

.tile li a:hover {
	text-decoration: underline;
}

.tile a.active {
	background: #B25538;
	background: #767769;
	color: #fff;
	border-radius: 5px;
}

.tile a.active:hover {
	text-decoration: none;
} 

#topmenu .show,
.tile {
	background: #EEDFAC;
}

#topmenu li { background: #f3eddf /*#C7B29E*/; }

#cse-search-box {
	position: absolute;
	right: 30px;
	top: 20px;
	background: #fff;
}

#q, #ac {
	-webkit-appearance: none;
	outline: none;
	border: none;
	width: 200px;
	padding: 2px 2px;
}

.find {
	vertical-align: -3px;
	padding-right: 2px;
}

.gsc-resultsHeader, .gsc-webResult:after {
	clear: none !important;
}


/* Footer */

footer {
 padding: 0 15px 10px;
 border-top: 2px solid #ccc;
 font-size: 0.9em;
	clear: both;
	display: block;
	background: #eee;
	background: linear-gradient(to bottom, #eee 0%, #fff 100%);
}

footer section {
 width: 190px;
 float: left;
	margin: 15px 0;
}

footer h4 {
 font-size: 1em;
 margin: 0;
}

footer section p {
 margin: 3px 0 4px 15px;
}

footer address { font-style: normal; }

footer a, footer a:visited { color: #666; }
footer a:hover { color: #BD2026; }

.li {
 float: right;
}

.hosting {
	min-height: 36px;
}

.copyright {
	clear: left;
}


/* Layout */

.layout {
	padding-bottom: 30px;
	background: linear-gradient(to right, #4b4a45, #4b4a45 210px, transparent 211px, transparent);
}

aside {
	width: 210px;
}

#content {
	padding: 0 20px 20px;
}

#sidebar {
	min-width: 240px;
	max-width: 260px;
	border-left: 1px solid #ccc;
	padding: 0 10px;
	margin-top: 15px;
}

.hb-layout {
	display: flex;
}



/* Aside */

.pointer {
	position: absolute;
	right: -12px;
	top: 0;
	border-width: 6px;
	border-style: solid;
	border-color: transparent transparent transparent #85AB70;
}


/* Book */

.book-navigation .menu {
	border-top: 1px solid #888;
	padding: 1em 0 0 3em;
}

.page-links {
	background: #CFD6D3;
	padding: 10px;
	margin: 20px 0 30px;
	text-align: center;
}

.page-links a {
	color: #0075B2;
	margin-right: 20px;
}

.page-links a:visited {
	color: #62686E;
}

.page-links a:hover { color: #BD2026; }

.arrow {
	display: inline-block;
	margin: 0 7px 0 0;
	width: 16px;
	height: 16px;
	background-image: url(../img/arrow.png);
	vertical-align: middle;
	opacity: 0.5;
}

.icon-prev {
	background-position: 0;
} 

.icon-up {
	background-position: -32px 0;
}

.icon-next {
	background-position: -16px 0;
	margin-left: 7px;
}

.page-next {
	margin: 0 15px 0 0;
}

.book {
	background: #F6F1DA;
	padding: 5px 20px;
	margin-bottom: 20px;
}

.download {
	background: url(/files/images/cc/download.png) no-repeat;
	padding-left: 25px;
}


/* Block */

aside .block {
	margin: 10px 0 15px;
}

#sidebar .block {
	margin-bottom: 25px;
}

aside .block-title {
	background: #DAD7C5;
	color: rgba(75,74,69,0.8);
	text-shadow: 1px 2px 3px #DAD7C5, 0 0 0 #000, 1px 2px 3px #DAD7C5;
	font-size: 15px;
	font-weight: bold;
	margin: 0 -6px 10px 0;
	padding: 5px 6px 4px 5px;
	position: relative;
}

#sidebar .block-title {
	background: #e0e0e0;
	margin: 0 0 10px;
	padding: 5px;
	font-size: 15px;
	font-weight: bold;
	color: #333;
}

#sidebar ul {
	margin: 0;
	padding: 0 0 0 5px;
}

#sidebar li {
	list-style: none;
	background: url(../img/bullet.png) 0 6px no-repeat;
	padding: 0 5px 0 15px;
}

aside .block-title::after {
	position: absolute;
	content: '';
	width: 0;
	height: 0;
	right: 0;
	bottom: -6px;
	border-width: 3px;
	border: solid transparent;
	border-top-color: #959A8F;
	border-left-color: #959A8F;
}

aside .block-content {
	padding: 0 5px;
	outline: none;
}

aside .menu,
.view-blog-last ul,
#block-views-block-faq-theme-block ul,
#block-menu-html ul,
#block-html-attr ul,
#block-html-value ul,
#block-menu-css ul,
#block-css-value ul {
	padding: 0 0 0.25em 10px;
	margin: 0;
	font-size: 14px;
}

aside .menu {
	padding: 0 0 0.25em 20px;
}

#block-views-block-metki-block div {
	display: inline-block;
	margin-right: 8px;
	font-size: 0.8rem;
}

#block-views-block-metki-block .is-active {
	background: #85AB70;
	padding: 0 4px;
	border-radius: 2px;
}

/* FAQ */

.tag-cat-item {
	margin-bottom: 1px;
}

.tag-cat-item img {
	vertical-align: middle;
	margin-right: 16px;
	opacity: 0.8;
}

#sidebar .faq-popular {
	background: none;
	overflow: hidden;
	padding: 0;
	margin-bottom: 1px;
	display: flex;
	align-items: flex-start;
}

.faq-popular img {
	opacity: 0.8;
	margin-right: 10px;
	margin-top: 4px;
}

.star {
	text-align: right;
	margin: 0;
	float: right;
}


/* Similar */

#similar {
	overflow: hidden;
	padding-bottom: 10px;
}

#block-views-block-similar-htmlref,
#block-views-block-similar-cssref,
#block-views-block-similar-html,
#block-views-block-similar-css,
#block-views-block-similar-cssfaq,
#block-views-block-similar-practical {
	max-width: 335px;
	display: inline-block;
	margin: 10px 10px -1000px 0;
	background: #F3EDDF;
	padding: 10px 10px 1000px;
	vertical-align: top;
	border-top: 3px solid #0083CA;
}

#block-views-block-similar-htmlref ul,
#block-views-block-similar-cssref ul,
#block-views-block-similar-cssref ul,
#block-views-block-similar-html ul,
#block-views-block-similar-css ul,
#block-views-block-similar-cssfaq ul,
#block-views-block-similar-practical ul {
	margin: 0 !important;
	padding-left: 20px;
}

#block-views-block-similar-htmlref li,
#block-views-block-similar-cssref li,
#block-views-block-similar-html li,
#block-views-block-similar-css li,
#block-views-block-similar-cssfaq li,
#block-views-block-similar-practical li,
#block-menu-css li,
#block-css-value li,
#block-menu-html li,
#block-html-attr li,
#block-html-value li {
	list-style: none;
	background: url(../img/bullet.png) 0 6px no-repeat;
	padding: 0 5px 0 15px;
}

#block-views-block-similar-htmlref .block-title,
#block-views-block-similar-cssref .block-title,
#block-views-block-similar-html .block-title,
#block-views-block-similar-css .block-title,
#block-views-block-similar-cssfaq .block-title,
#block-views-block-similar-practical .block-title {
	margin: 0 0 5px;
}


/* Tabs */

.tabs-admin {
 margin: 14px 0 !important;
}
.tabs-admin {
 margin-left: 0;
 padding-left: 0;
}
.tabs-admin li {
 display: inline-block;
 padding-left: 0;
 margin-right: 5px;
 background-image: none;
}
.tabs-admin li a {
 background-color: #F5F5F5;
 border: 1px solid #C6C6C6;
 font-size: 11px;
 color: #444;
 display: block;
 padding: 5px 16px;
 text-decoration: none;
}
.tabs-admin a:hover {
 background: #f3eddf;
}
.tabs-admin li a:active,
.tabs-admin li a:focus {
 outline: none;
}
.tabs-admin a::selection {
 background-color: #444;
 color: #fff;
}
.tabs-admin a::-moz-selection {
 background-color: #444;
 color: #fff;
}
.element-invisible, .visually-hidden { display: none; }


/* Heading */

h1, h2 {
	font-size: 1.8em;
	font-weight: normal;
}

h1 {
 margin: 0 0 0.3em;
 font: 2.4em Georgia, Times, serif;
	color: #666;
}

#content h2 { 
 font: 1.5em Georgia, Times, serif;
 margin: 1.1em 0 -12px;
 text-align: left; 
	color: #333;
}

#content h2 + .content { margin-top: 1em; }

h3, .ref .exampleTitle {
 font-size: 1.1em;
 margin: 1.2em 0 -10px;
 color: #666;
}

.quiz h3 { margin-bottom: 0; }

.ref .exampleTitle {
 margin: 1em 0 -1.5em;
}

.ref .exampleTitle2 {
	font-size: 1.1em;
 margin: 1em 0 -0.5em;
}

h4 {margin: auto 0 -10px;}

.ref h4 {
 margin: 10px 0 -10px 30px;
}

#content h2.node-title {
	margin-bottom: 10px;
}

/* Example */

.fig {
	margin: 1.5em 0 0 !important;
	text-align: center;
}

.figsign {
	font: italic 1em Georgia, Times, serif;
	color: #666;
	text-align: center;	
	margin: 0 0 1.3em !important;
}

.note {
 background: url(../img/note.png) no-repeat 0 3px;
 padding: 0 10px 10px 50px;
 min-height: 32px;
}

.exampleTitle, .exampleTitle2 {
 color: #685c53;
	font-weight: bold;
	margin: 10px 280px 0 30px;
 padding: 5px 0 0;
 border-bottom: none;
}

.exampleTitle2 {
 margin-right: 0;
 margin-bottom: 5px;
}

.exampleTitle {
 margin-bottom: -17px;
}

.exampleTitle + p {
 margin-top: 1em;
}

.exampleTitle2 {
 margin-right: 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;
	tab-size: 4;
}

.example, .example2 {
	margin-bottom: 1em;
}

.example2 { background: none; }

h3 + .example2, h4+.example2 {
	margin-top: 1em;
}

.mark {
	background: #ffe;
	border: 1px dotted #333;
	padding: 2px;
}

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 !important;
	font-size: 9pt;
	padding: 3px 0;
	text-align: right;
}

.example-support span {
	border-left: 1px solid #666;
	padding: 4px;
}

.example-support .html, .example-support .css {
	border-right: 1px solid #666;
	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;
	white-space: nowrap;
}

pre .attribute, pre .css .rule .keyword {
	white-space: normal;
}

.term {
	border-bottom: 1px dotted red;
	font-style: italic;
	font-size: 1.1em;
	font-family: Times, serif;	
}

table.term2 {
 width: 100%;
}

.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;
}


/* Table */

th {
	background: #bfbfbf;
	font-size: 0.9em;
}

tbody {
 border-top: none;
}

table.data {
	border-collapse: collapse;
	margin: 0.3em auto 0.5em;
	width: 90%;
}

.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;
}


/* Browser support */

td.l {
	text-align: left;
}

.br td, .sp td {
	border-left: 3px double #333;
}

td.rdline {
	border-right: 3px double #333;
}

.t.html5 {
	border: 1px solid #8ab643;
	background: #c9e39c;
}

.t {
	font-size: 9px;
	margin-left: 10px;
	padding: 0 2px;
}

.br td:first-child, .sp td:first-child, .sp .sline { border-left: 1px solid #333; }

td.yes { background: #cee2d3 url(../img/icon_yes.png) no-repeat 50% 50%; height: 18px; }
td.no { background: #f2c8c8 url(../img/icon_no.png) no-repeat 50% 50%; height: 18px; }
td.bug { background: #e0c9e0 url(../img/icon_bug.png) no-repeat 50% 50%; height: 18px; }
td.part { background: #f4f1b7 url(../img/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(../img/icon_yes.png) no-repeat 0 50%; }
.sp td.no span { background: url(../img/icon_no.png) no-repeat 0 50%; }
.sp td.bug span { background: url(../img/icon_bug.png) no-repeat 0 50%; }
.sp td.part span { background: url(../img/icon_part.png) no-repeat 0 50%; }
.sp td.warn span { background: url(../img/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(../img/browser_ie.png) no-repeat; }
.cr , .br .cr { background: url(../img/browser_cr.png) no-repeat; }
.sa, .br .sa { background: url(../img/browser_sa.png) no-repeat; }
.op, .br .op { background: url(../img/browser_op.png) no-repeat; }
.fx, .br .fx { background: url(../img/browser_fx.png) no-repeat; }
.an, .br .an { background: url(../img/browser_android.png) no-repeat; }
.ip, .br .ip { background: url(../img/browser_iphone.png) no-repeat; }

.sp span { padding-left: 16px; }
.sp .warn span { padding-left: 18px; }

.browser th { padding: 3px; }

td.browser { background: #FAF3D2; }


/* Article */

article, #content {
	margin-top: 1rem;
}
.info {
 padding: 5px;
 background: #f0f0f0;
 margin-bottom: 1em;
 font-size: 0.9em;
 overflow: hidden;
}

.date {
	background: url(../img/date.png) no-repeat 0 50%;
	padding-left: 24px;
}

h2 + .info {
 margin-top: 5px;
}

h2 + table {
 margin-top: 20px !important;
}


h2 + h4 {
	margin-top: 20px;
}

.date, .author {margin: 0;} 
.date { float: left; }
.author { float: right; }

.block-similarterms { clear: both; }

.sel { background: #f6f6f0; }

#article ul.menu ul {
 margin-left: 10px;
 padding-left: 0;
}


/* Blog */

.field-name-field-blog-thumb {
	float: left;
	width: 150px;
}

.node .field-name-body {
	margin-left: 170px;
	margin-top: -15px;
}

.node { overflow: hidden; }

/* Messages */
 
.messages.error {
	background-color: #FFD9DA;
	background-image: url(../../../misc/message-24-error.png);
}

.messages {
	margin: 10px 0;
	padding: 10px 10px 10px 40px;
	border: 1px solid;
	background-position: 8px 50%;
	background-repeat: no-repeat;	
}

.messages.status {
	background-color: #dbffd9;
	background-image: url(../../../misc/message-24-ok.png);
}

.messages.warning {
	background-color: #FFFCE5;
	background-image: url(../../../misc/message-24-warning.png);
	border-color: #ED5;
	color: #840;
}

.description {
	color: #666;
	font-size: 0.9em;
}


/* JQueryMenu */

ul.jquerymenu li.parent {
 list-style: none;
 list-style-image: none;
 background-image: none;
	margin-left: 5px;
}
ul.jquerymenu li.parent li {
	margin-left: -30px;
}
ul.jquerymenu li.closed ul{
 display: none;
}
ul.jquerymenu li span.parent {
 position: absolute;
 margin-left: -15px;
 margin-top: 6px;
 width: 9px;
 height: 9px;
 display: block;
}
.ie ul.jquerymenu li span.parent {
 margin-top: 4px;
}
ul.jquerymenu li.parent span.closed {
 background-image: url(../img/controls.png);
 background-repeat: no-repeat;
 background-position: 0 0;
}
ul.jquerymenu li.parent span.open {
 background-image: url(../img/controls.png);
 background-repeat: no-repeat;
 background-position: 0 -9px;
}
ul.jquerymenu li.parent span.parent {
 cursor: pointer;
}


/* Pager */

.pager {
	text-align: center;
	margin: 2em 0 20px;
	padding: 0;
}
 .pager li {
	background: #e2e2e2;
	display: inline-block;
	list-style: none;
}
.pager a,.pager-current {
	padding: 6px 10px;
	color: #333;
	text-decoration: none;
	display: block;
}
.pager-item,.pager-last,.pager-next,.pager-current,
.pager-first,.pager-previous {	
	border-radius: 4px;
	border: 1px solid #f0f0f0;
	box-shadow: 0 0 2px #666;
	margin-right: 5px;
}
.pager .pager-current {
	background: #bfd255;
	color: #fff;
}

.pager .pager-ellipsis {
	background: none;
	margin-right: 5px;
}


/* Metki */

.metki {
 margin: 10px 0 10px;
 font-size: 0.92em;
}

.tag-cat-type {
	margin: 1.5rem 0;
}

.metki a,
.tag-cat-type-item { 
	display: inline-block;
	background: url(../img/tag.png) no-repeat 0 2px;
	padding-left: 24px;
	margin-right: 20px;
}

.tag-cat-type {
	margin-left: 30px;
}

.practicum-theme span {
	margin-right: 10px;
}


/* ������ */

.m {
	border-radius: 6px;
	display: inline-block;
 width: 190px;
 height: 180px;
 background: #f0f0f0;
 text-align: center;
 margin: 0 15px 20px 0;
 font-size: .9em;
 padding-top: 7px;
	vertical-align: top;
}

.m p,
.ml p {
 margin: 3px 0;
 text-align: center;
}

.ml {
	margin-bottom: 16px;
	font-size: .9em;
	text-align: center;
}


/* Menu */

#block-menu-css .block-content,
#block-menu-html .block-content {
	height: 349px;
	width: 200px;
	overflow: auto;
}

#block-menu-html .block-content { height: 348px; }

/* Ref */

.ref #block-htmlbook-system-main h3 { margin: 12px 0 -5px; }
.ref #block-htmlbook-system-main h3 + p { margin-top: 10px; }
.ref #block-htmlbook-system-main h3 + pre +pre, .ref h3 + pre { margin-top: 10px; }
.ref #block-htmlbook-system-main .exampleTitle { margin: 0.3em 0 -15px 0; }
.ref #block-htmlbook-system-main td p { margin: 0.3em 0 0.7em 0; }
.ref #block-htmlbook-system-main p { margin: 1em 0 1em 30px; }
.ref #block-htmlbook-system-main ul, .ref ol { margin-left: 45px; }
.ref #block-htmlbook-system-main td ul, .ref td ol { margin-left: auto; }
.ref #block-htmlbook-system-main ul ul { height: auto; }
.descr {
	font-size: 1em;
}

.standart {
	width: 280px;
	border-collapse: collapse;
	font-size: 0.9em;
	margin: 8px 0 0 30px;
}

.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;
}

table.spec {
	border-collapse: collapse;
	width: 500px;
	margin: 7px 0 0 30px;
}

table.cssver {
	border-collapse: collapse;
	width: 220px;
	margin: 7px 0 0 30px;
}

.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;
}

.spec_no, .spec_yes, .spec_x3 { height: 18px; }
.spec_no { background: url(../img/icon_no2.png) 50% 50% no-repeat; }
.spec_yes { background: url(../img/icon_yes2.png) 50% 50% no-repeat; }
.spec_x3 { background: url(../img/icon_x3.gif) 50% 50% no-repeat; }

.field-label-inline div {
	display: inline;
}

.ref .field-type-taxonomy-term-ce {
	margin-left: 30px;
}

.css-col, .html-col {
	-moz-column-count: 4; 
	-moz-column-width: 120px;
	-o-column-count: 4; 
	-o-column-width: 120px;
	-webkit-column-count: 4;
	-webkit-column-width: 120px;
	column-count: 4;
	column-width: 120px;
	margin-left: 0 !important;
}

dl.param, dl.param2, .ref dl {
	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, .ref dt { color: #39892f; }

.syntax { 
 width: 93%;
 margin: 5px 0 0 30px; 
 background: #f8f7f2;
	border-collapse: collapse;
}

.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;
}



/* Advertise */

.adv_css {
	width:240px;
	height:400px;
	background:#fc0;
}


/* HTML5 */

#html5_feature-menu {overflow: hidden;}
#html5_feature-wrap h2 {margin:0;}
#html5_feature-menu a {
	display: block; 
	float: left; 
	margin-right: 10px;
	width: 32px; height: 32px;
	padding: 2px 5px;
}
#html5_feature-wrap {
	background: #e4f4d7;
}

#html5_feature li {
	padding: 10px;
}

#html5_feature-menu .wactive {
	background-color: #e4f4d7;
}

#html5_feature_link-1 {background: url(../img/html5/HTML5.png) 50% no-repeat;}
#html5_feature_link-2 {background: url(../img/html5/HTML5_Semantics.png) 50% no-repeat;}
#html5_feature_link-3 {background: url(../img/html5/HTML5_Offline_Storage.png) 50% no-repeat;}
#html5_feature_link-4 {background: url(../img/html5/HTML5_3D_Effects.png) 50% no-repeat;}
#html5_feature_link-5 {background: url(../img/html5/HTML5_MultiMedia.png) 50% no-repeat;}
#html5_feature_link-6 {background: url(../img/html5/HTML5_Performance.png) 50% no-repeat;}
#html5_feature_link-7 {background: url(../img/html5/HTML5_Styling.png) 50% no-repeat;}

.profmarkup {
 border: 1px solid #000;
 clear: both;
 margin-bottom: 1em;
}

.profmarkup h4 {
 margin: 0;
 background: #000;
 color: #fff;
 padding: 5px 10px;
}

.profmarkup .inner {
 background: url(/files/images/html5/little_professor.png) 100% 100% no-repeat;
 min-height: 253px;
 padding-top: 20px;
 margin-right: 10px;
}

.profmarkup p {
 padding-right: 200px;
 margin-left: 3em;
} 

.profmarkup span.q {
 float: left;
 font-size: 2em;
 display: block;
 margin: -0.2em 5px 0 -1.3em
}


/* Quiz */

.quiz {
	width: 760px;
	margin: 50px auto;
}

.quiz form { margin-bottom: 3em; }

#quiz_progress { font-style: normal; }

.quiz-question-body {
 border-radius: 5px;
 background: #e5e2d9; 
 padding: 10px; 
 margin-top: 0.5em;
}
.quiz-question-body p {margin: 0;}
#edit-tries-answer table {
	width: 100%;
	margin-bottom: 10px;
	border-collapse: collapse;
}
#edit-tries-answer td, #quiz-report-form td { 
 background: #f0f0f0;
 -moz-user-select: none;
 -webkit-user-select: none;
 cursor: default;
	vertical-align: middle;
	padding: 3px 0;
}

#quiz-report-form td {
	padding: 3px;
}

#edit-tries-answer tr { 
	border-bottom: 1px solid #ccc;
}

.quiz pre {
 margin:0;
 background: none; 
}

.form-item-tries-answer label {
	display: block;
	font-weight: bold;
	margin: 1em 0 0.5em;
}

.selected td { background: #ffea00 !important;}

#edit-submit {
	padding: 5px 20px;
}

#edit-button {
	border-radius: 16px;
	font-size: 1.5em;
	padding: 5px 50px;
	border: 1px solid #acacac;
}

#edit-button:hover {
	background: #a8e51a;
	border: 1px solid #7fb900;
}

#quiz-start-quiz-button-form {
	text-align: center;
}

#quiz_score_percent strong {
	background: #C1DC83;
	padding: 5px 10px;
	border-radius: 5px;
}

#edit-tries-answer p {
	margin: 4px 0;
}

.quiz-report-question,
.quiz-report-answer {
	margin-bottom: 0;
}

.q-correct, .q-wrong { 
	background: #cee2d3 url(../img/icon_yes.png) no-repeat 10px 50%; 
	min-height: 18px;
	padding: 10px 10px 10px 30px;
	border-radius: 5px;
}

.ref .q-correct {
	margin-left: 0;
}

.q-wrong { background: #f2c8c8 url(../img/icon_no.png) no-repeat 10px 50%; }

.selector-td.multichoice-icon-cell { width: 16px; }
.quiz-report table { width: 100%; }

.multichoice-icon-cell { padding: 0; }

.multichoice-icon.wrong, .multichoice-icon.correct, .multichoice-icon.should {
	display: block;
	background: url(../img/icon_quiz.png) no-repeat; 
	height: 16px; width: 16px;
}

.multichoice-icon.wrong {
	background: url(../img/icon_quiz.png) no-repeat -32px 0;
}

.multichoice-icon.should {
	background: url(../img/icon_quiz.png) no-repeat -16px 0;
}

.quiz-score-submit { margin-top: 15px; }

#quiz-question-answering-form .form-submit { margin-top: 10px; }

.quiz-score-submit .form-submit {
	padding: 5px 20px;
}


/* Practical */

.practical-list {
	column-count: 2;
	column-width: 120px;
}

.tabs-nav {
 list-style: none;
 margin: 1.4em 0;
 padding: 0 0 0 10px;
 border-bottom: 1px solid #97a5b0;
}
.tabs-nav li {
 display: inline-block;
 position: relative;
 top: 1px;
 margin: 0 5px;
	border: 1px solid #97a5b0;
 background: #f2f0da;
	text-align: center;
}
.tabs-nav a {
 font-size: 14px;
	display: block;
	padding: 5px 15px;
 font-weight: bold;
 line-height: 1.2;
 text-decoration: none;
 white-space: nowrap;
}
.tabs-nav .selected {
	border-bottom: 1px solid #fff;
	background: #fff;
}
.tabs-nav .selected a {
 color: #000;
 outline: none;
}

.tabs-nav .selected a:link, .tabs-nav .selected a:visited {
 cursor: default;
}
.tabs-nav a:hover, .tabs-nav a:focus, .tabs-nav a:active {
 cursor: pointer;
}

.comment-note {
	font-size: 0.9em;
	color: #999;
}


/* Advertise */

#block-sapelinks {
	color: #9a988e;
}

#block-sapelinks a {
	display: inline;
	color: #b1957c;
}

#block-16 {
	text-align: center;
	margin: 10px 10px 0 240px;
	position: relative;
}

#block-24 {
	margin: 30px 0 15px -13px;
}

#block-26 {
	margin: 20px 0 10px;
}

#block-15 {
	color: #cc6666;
	border: 1px solid #434343;
	font-size: 12px;
	padding: 5px;
	background: #fdf5da;
}

#block-4 {
	font-size: 12px;
}

#block-htmlbook-block-31 iframe {
	border: none;
}

/* jScrollPane */

/* jScrollPane */

.jspContainer
{
	overflow: hidden;
	position: relative;
}

.jspPane
{
	position: absolute;
}

.jspVerticalBar
{
	position: absolute;
	top: 0;
	right: 0;
	width: 12px;
	height: 100%;
}

.jspHorizontalBar
{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 16px;
}

.jspCap
{
	display: none;
}

.jspHorizontalBar .jspCap
{
	float: left;
}

.jspTrack
{
	background: #C6CDC7;
	position: relative;
}

.jspDrag
{
	background: #74786F;
	position: relative;
	top: 0;
	left: 0;
}

.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag
{
	float: left;
	height: 100%;
}

.jspArrow
{
	background: #50506d;
	text-indent: -20000px;
	display: block;
	cursor: pointer;
}

.jspArrow.jspDisabled
{
	cursor: default;
	background: #80808d;
}

.jspVerticalBar .jspArrow
{
	height: 16px;
}

.jspHorizontalBar .jspArrow
{
	width: 16px;
	float: left;
	height: 100%;
}

.jspVerticalBar .jspArrow:focus
{
	outline: none;
}

.jspCorner
{
	background: #eeeef4;
	float: left;
	height: 100%;
}


/* Adaptive layout */

@media (max-width: 1024px) {
	body {
		min-width: 930px;
	}
	#sidebar {
		display: none;
	}
	#content {
		margin-right: 0 !important;
	}
}


/* Social */

#like {
	margin: -10px 0 5px;
	overflow: hidden;
}

.pluso {
	margin: 20px 0;
}

#vk_like {
	clear: none !important;
	display: inline;
	margin-left: 20px;
}

#fb-root {
	display: inline;
}

.num_comments {
	float: right;
	display: inline-block;
	background: url(../img/comments.png) no-repeat 0 4px;
	min-height: 20px;
	padding-left: 24px;
	font-size: 13px;
}


/* Autocomlete */

#filter {
	background: #fff;
	width: 198px;
	border: 1px solid #666;
}

#ac {
	background: #fff;
	width: 173px;
	font-size: 14px;
}

.find { opacity: 0.5; }

.autocomplete-w1 { 
	position:absolute; 
	top:0; left:0; 
	margin:8px 0 0 6px; 
}
.autocomplete {
	box-shadow: 3px 3px 5px rgba(0,0,0,0.5); 
	background:#FFF; 
	cursor:default; 
	text-align:left; 
	max-height:350px; 
	overflow:auto;
	margin:-6px 6px 6px -6px; 
}
.autocomplete .selected { background:#F0F0F0; }
.autocomplete div { padding:2px 5px; white-space: nowrap; }
.autocomplete strong { font-weight:normal; color: #d00; }


/* Last node */

.view-last .view-content > div {
	overflow: hidden;
	margin-bottom: 3px;
}

.last_date {
	font-size: 12px;
	font-style: normal;
	width: 42px;
	float: left;
	margin-top: 3px;
}

.last_title {
	margin-left: 42px;
	font-size: 13px;
}

.last_type {
	color: #333;
	font-size: 12px;
	font-style: normal;	
	float: right;
	margin-top: 3px;
}

.ad {
	display: inline-block;
	background: #e82c2e;
	padding: 5px 10px;
	float: right;
	margin: 0 0 5px 5px;
	color: #fff;
}

.overlay {
	position: fixed;
	top: 0; bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	z-index: 100;
	display: none;
}

.warning_html {
	width: 500px;
	padding: 20px;
	position: fixed;
	background: #fff;
	border-radius: 5px;
	z-index: 101;
	left: 50%;
	top: 200px;
	margin-left: -270px;
	display: none;
}

img {
	max-width: 100%;
	height: auto;
}

#yandex_rtb_R-A-31105-1 {

}

#block-htmlbook-block-26 {
	margin-top: 2em;
	margin-bottom: 1em;
}

.adfinity_block_4592 {
	margin-top: 2em;
	margin-bottom: 2em;
}