@charset "utf-8";
/*
	html spravochnik
	version: 05.02.10
	
	structure:
	- menu
	- poligon
	- attributes and events
	- content
	
*/

/* menu -----------------------*/
.htmlMenu {
	background: #fff;
	border: 2px solid #539127;
	position: relative;
	padding: 10px;
}
.htmlMenu h2 {
	margin: 15px -10px 10px -10px;	
}
.htmlMenu ul li {
	margin: 0 0 7px 15px;
}
.htmlMenu ul li a {
	padding-left: 9px;
	background: url(../img/sidebar/arr.gif) 0 8px no-repeat;
	display: inline-block;
}
.htmlMenu ul li ul {
	margin: 5px 0 10px 10px;
	list-style: none;
	text-align: left;
	display: none;
}
.htmlMenu ul li .longUl {
	height: 300px;
	overflow: auto;
}
.htmlMenu #tagsCategory .longUl {
	height: auto;
}
*+html .htmlMenu ul li .longUl {
	overflow-y: scroll;
}
*+html #tagsCategory .longUl {
	height: auto;
}
.htmlMenu ul li ul li {
	margin-bottom: 5px;
}
.htmlMenu ul span {
	cursor: pointer;
	text-decoration: underline;
	background: url(../img/sidebar/submenu-show-hide.gif) 0 5px no-repeat;
	padding-left: 14px;
}
.htmlMenu ul .minus {
	background-position: 0 -17px;
}
.htmlMenu ul strong {
	background: #67b400;
	color: #fff;
	padding: 0 9px;
	cursor: default;
}
.htmlMenu .sectionIn ul {
	margin: 10px 0;
	padding: 0;
}
.htmlMenu .sectionIn #tagsAbs,
.htmlMenu .sectionIn #tagsCategory,
.htmlMenu .sectionIn #attrAbs {
	height: 245px;
	overflow: auto;
}
*+html .htmlMenu .sectionIn #tagsAbs,
*+html .htmlMenu .sectionIn #tagsCategory,
*+html .htmlMenu .sectionIn #attrAbs {
	overflow-y: scroll;
}
.htmlMenu .sectionIn #sectionChoose {
	height: auto;
	margin: 5px 0;
}
.htmlMenu #tagsCategory {
	display: none;
}
.htmlMenu .sectionIn #tagsCategory li {
	background: none;
	padding-left: 0;
	margin-bottom: 8px;
}
.htmlMenu .sectionBody {
	display: none;
	zoom: 1;
}
.htmlMenu .sectionIn .sectionClose {
	width: 9px;
	height: 9px;
	overflow: hidden;
	background: url(../img/sidebar/section-close.gif);
	cursor: pointer;
	position: absolute;
	top: 2px;
	right: 0
}
.htmlMenu .section strong {
	cursor: pointer;
	text-decoration: underline;
	font-weight: normal;
}
.htmlMenu .section .specHtml strong {
	cursor: default;
	text-decoration: none;
	font-weight: bold;
	color: #fff !important; /* чтобы не ставить доп условий в скрипте для ховер */
}
.htmlMenu .section strong.activeSection,
.htmlMenu .section .sectionBody strong {
	text-decoration: none;
	cursor: default;
	font-weight: bold;
}
.htmlMenu .sectionIn {
	margin-bottom: 10px;
	position: relative;
}
* html .htmlMenu .sectionIn {
	clear: both;
}
.htmlMenu .section .specHtml {
	margin-top: 0;
}
.htmlMenu #sectionChoose {
	margin: 5px 0 10px 0;
}
.htmlMenu #sectionChoose li {
	display: inline;
	margin-right: 5px;
	padding: 0;
	font-size: 11px;
	cursor: pointer;
	text-decoration: underline;
}
.htmlMenu #sectionChoose li:hover {
	color: #236271;
}
.htmlMenu #sectionChoose .sectionChooseActive {
	text-decoration: none;
	cursor: default;
	color: #005d77;
}

/* poligon ----------------------*/
.tryItSelf {
	margin: 20px 0;
	border: 2px solid #6699ff;
	background: url(../img/content/minipoligon.png) 10px 5px no-repeat #eeeeff;
	padding: 35px 0 15px 15px;
	height: 295px;
}
.tryItSelf textarea,
#popupDemoCode textarea {
	display: block;
	width: 100%;
	height: 200px;
	border: 1px solid #ccc;
	margin-bottom: 10px;
}
.tryItSelf textarea:focus,
#popupDemoCode textarea:focus {
	border-color: #617f10;
}
.tryItSelf .tryCode,
#popupDemoCode .tryCode {
	float: left;
	width: 45%;
	margin-right: 4%;
	display: inline;
}
.tryItSelf .tryCode h6,
#popupDemoCode .tryCode h6 {
	margin: 5px 0;
	font-size: 100%;
	color: #617f10;
	font-style: normal;
	height: 20px;
}
.tryItSelf iframe,
#popupDemoCode iframe {
	background: #fff;
	height: 200px;
	border: 1px solid #ccc;
	width: 100%;
}
.tryItSelf form,
#popupDemoCode form {
	margin: 0;
	padding: 0;
}
.tryItSelf #bigDemoCode {
	text-decoration: underline;
	cursor: pointer;
	color: #000;
	font-size: 11px;
	float: right;
}
.tryItSelf #bigDemoCode:hover {
	color: #617f10;
}
.tryItSelf button, #popupDemoCode button {
	float: right;
}

#TB_overlay {
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: #000;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=55);
	opacity: 0.55;
}
#popupDemoCode {
	height: 500px;
	background: #e5eecc;
	border: 1px solid #ccc;
	width: 95%;
	padding: 25px 0 5px 15px;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 101;
}
#popupDemoCode .tryCode {
	width: 45%;
}
#popupDemoCode textarea,
#popupDemoCode iframe {
	width: 98%;
	height: 430px;
	margin-bottom: 5px;
}
#popupDemoCode #closePopup {
	position: absolute;
	top: 5px;
	right: 10px;
	font-size: 14px;
	font-weight: bold;
	text-decoration: underline;
	color: #000;
	cursor: pointer;
}
#popupDemoCode #popupCodeCheck {
	float: left;
	color: #617f10;
}
#popupDemoCode span {
	color: #000;
	font-weight: normal;
	margin-left: 10px;
}

/* attributes and events --------------*/
.tagsAttr input {
	margin: 0 2px 0 10px;
}
.trDopAtr, .trEvent {
	display: none;
}

/* content -------------------------*/
.content .green {
	color: #66CC33;
}
.content .yellow {
	color: #CC9900;
}
.content .red {
	color: #ff0000;
}
