html, body, div, span, img {
	margin: 0;
	padding: 0;
	border: 0 none;
	outline: 0 none;
}

body {
	font-family: sans-serif, arial;
	font-size: 14px;
	background: none repeat scroll 0% 0% #fff;
	text-align: left;
	color: #000;
/*	line-height: 22.5px;	*/
	line-height: 1.6;
}

* { margin: 0; }
html, body { height: 100%; }

h1, h2 {
	/*border-bottom: 1px solid #aaa;*/
	font-weight: normal;
	margin-bottom: 11px;
}
h3, h4, h5 {
	font-weight: bold;
}

h1 {
	font-size: 26px;
	line-height: 1.2em;

	margin-top: 0;
	padding-top: 0;
	margin-bottom: 14px;
	padding-bottom: 0;
}
h2 {
	font-size: 22px;
	margin-top: 0;
	padding-top: 9px;
	padding-bottom: 3px;
}
h3 {
	font-size: 17px;
	margin-top: 0;
	padding-top: 8px;
	padding-bottom: 2px;
}
h4 {
	font-size: 14px;
	margin: 0 0 5px 0;
	padding: 0;
	border-bottom: 1px solid #ccc;
}
h5 {
	font-size: 13px;
	margin: 0 0 5px 0;
	padding: 0;
}
small { font-size: 9pt; color: #777; font-weight: normal; line-height: 1;}
h1>small {font-size: 19px;}
h2>small {font-size: 17.5px;}
h3>small {font-size: 14px;}
h4>small {font-size: 14px;}
h5>small {font-size: 12px;}

table { border-collapse:collapse; border-spacing:0; width:auto; padding:0; margin:0;}
th, td { text-align:left; vertical-align:top; padding:0; margin:0; }

p { margin: 0.5em 0 0; line-height: 1.6em; }

a { color: #039; text-decoration: none; }

a:hover, a:focus { color: #0000aa; text-decoration: underline; transition: color 1s; }

a:hover h5, a:focus h5 {text-decoration:underline;}

:focus { outline: 0 none; }

blockquote {
	display: block;
	background-color: #fafafa;
    border-radius: 6px;
    box-shadow: 0 2px 5px #666;
    margin: 30px 38px;
    padding: 15px 43px 15px 43px;
    text-align: left;
	font-style: italic;
}

hr {
	border: 0;
	color: #D1D9C4;
	background-color: #D1D9C4;
	height: 1px;
	margin: 0;
}


/* Form */

.form td { padding: 5px; }
.form th { padding: 5px; text-align: right; line-height: 28px; }
div.form { padding: 5px; }

.form input.input {
	min-width: 100px;
	width: 50%;
	height: 20px;
	padding: 3px;
	color: #333;
	border: 1px solid #ccc;
	border-radius: 2px;
	box-shadow: 0 0 0.5em #ccc inset;
}
.form textarea {
	min-width: 100px;
	width: 100%;
	height: 150px;
	min-height: 150px;

	padding: 3px;
	color: #333;
	border: 1px solid #ccc;
	border-radius: 2px;
	box-shadow: 0 0 0.5em #ccc inset;
}

.form input.input:focus, .form textarea:focus { background-color: #fafafa; }

.form select {
    background-color: #FFFFFF;
    color: #555555;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    font-size: 14px;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    margin-bottom: 10px;
    padding: 4px 6px;
}

/* Handy classes */

.clr {clear: both; display: block;}

.rel {position: relative;}
.abs {position: absolute;}
.align_left { text-align: left; }
.align_right { text-align: right; }
.align_center { text-align: center; }
.align_justify { text-align: justify; }
.width_wide { width: 99.5%; }
.float_left { float: left; }
.float_right { float: right; }
.db { display: block; }
.dib { display: inline-block; height: 20px; }

.mt {margin-top: 15px;}
.mr {margin-right: 15px;}
.mb {margin-bottom: 15px;}
.ml {margin-left: 15px;}

/* Title first, Title inner, Title last */
.tf {padding:0; margin: 0 0 15px 0; }
.ti {padding:0; margin: 15px 0 15px 0; }
.ti20 {padding:0; margin: 20px 0 15px 0; }
.tl {padding:0; margin: 15px 0 0; }
.source { font-style: italic; }

.epigraf {
	text-align: right;
	display: block;
	margin-top: 1em;
	margin-bottom: 1em;
	margin-left: 40px;
	margin-right: 40px;
	font-style: italic;
}

img.big { max-width:100%; }

.required { color: #b94a48; }

.ajax_wait {
	background: url(i/ajax.png) no-repeat 50% 50%;
	width: 64px;
	height: 64px;
}

.error {
	padding: 8px;
	border-radius: 4px;
	word-wrap: break-word;
	border: 1px solid #888;
	background-color: #eee;
	color: #aa0000;
}

.fl:first-letter
{
	font-size: 25px;
	font-weight: bold;
}

.noselect {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.border_in {
	border: 1px solid #CCCCCC;
	border-radius: 2px 2px 2px 2px;
	box-shadow: 0 0 0.5em #CCCCCC inset;
}

.ul { text-align: justify; font-size:15px; }
.ul li		{ padding: 5px;}
.ul li li		{ margin-left: 45px; }
.ul li li li		{ margin-left: 45px; }
.ul li li li li	{ margin-left: 45px; }
.ul li li li li li	{ margin-left: 45px; }
.ul li:hover	{ background-color: #eee }
.ul li li:hover	{ background-color: #ddd }
.ul li li li:hover{ background-color: #ccc }
.ul li li li li:hover{ background-color: #bbb }
.ul a {text-decoration: none; }

.ul ul {
	list-style-image: none;
	list-style-type: none;
	line-height: 1.5em;
	padding: 0;
	margin: 0;
}

.uldot {
	list-style-image: url("i/ul.gif");
	list-style-position: outside;
}

/* Subtitle */

.subtitle {
	font-style: italic;
}
h2 .subtitle {
	font-size: 14px !important;
}




/* Blocks */

.row:before, .row:after {
    content: "";
    display: table;
    line-height: 0;
}
.row:after {	clear: both;}
.span {float:left; width: auto;}
.span1 {float:left; width: 99%}
.span2 {float:left; width: 48%}
.span3 {float:left; width: 32%}
.span4 {float:left; width: 24%}
.span5 {float:left; width: 19%}
.span6 {float:left; width: 16%}
/*.row div:first-child {margin-left:0}*/
.span_left {float:left; margin-right:20px}


.legend {
	background-color: #f9f9f9;
	border: 1px solid #aaaaaa;
	width: auto;
	margin: 0 auto 1em;
	padding: 7px 4px 0 4px;
	border-radius: 6px;
}

.legend .title {
	font-weight: bold;
	float: left;
	margin: -20px 0 0 .85em;
	padding: 1px 5px;
	font-size: 17px;
	color: #1414ef;
}
.legend p { margin:15px; }
.legend ul { padding:0; margin:15px;}

.legend + .legend { margin-top:20px }

.block_toc_right {
	float: right;
	width: 300px;
	position: relative;
	z-index: 10;
	margin: 0 0 10px 10px;
}

.block_toc {
	background-color: #F9F9F9;
	border: 1px solid #AAAAAA;
	font-size: 12.2px;
	padding: 5px;
}

.block_toc h4, .block_toc h5 {
	text-align: center;
}

.block_toc ul {
	list-style-image: none;
	list-style-type: none;
	margin-left: 0;
	padding: 0;
	text-align: left;
	line-height: 1.5em;
}
.block_toc li {
	padding-bottom: 4px;
}

.block {
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.block > .title {
	padding: 3px 3px 3px 7px;
	font-size: 14.5px;
	font-weight: bold;
	border-radius: 4px 4px 0 0;
}

.block > .title > .title_right {
	float: right;
}
.block > .title > .title_right > input {
	border-top-right-radius: 4px;
}

.block > .body {padding: 10px 13px 13px 13px; word-wrap: break-word; }

.block					{	border: 1px solid #ccc;			background-color: #fff;		}
.block > .title			{	border-bottom:1px solid #ccc;	background-color: #eee;	}

.block.blue				{	border: 1px solid #B9DDE8;		background-color: #fff;		}
.block.blue > .title		{	border-bottom:1px solid #B9DDE8;background-color: #89BECD;	}

.block.green			{	border: 1px solid #9bb290;		background-color: #fff;		}
.block.green > .title	{	border-bottom:1px solid #9bb290;background-color: #dff7d5;	}

.block.magenta			{	border: 1px solid #ccbbee;		background-color: #fff;		}
.block.magenta > .title	{	border-bottom:1px solid #ccbbee;background-color: #ddddee;	}

.block.gold				{	border: 1px solid gold;			background-color: #fff;		margin: 0 15px 15px 0;}
.block.gold > .title		{	border-bottom: 1px solid gold;	background-color: #ffffaa;	}

.block.sienna			{	border: 1px solid Sienna;		background-color: Cornsilk;	}
.block.sienna > .title	{	border-bottom: 1px solid Sienna;background-color: Wheat;	}



/* Overlay */

.lbdiv {
	display:none;
	background-color: #fff;
	padding: 15px;
	border-radius: 4px;
	max-width: 100vh;
}

.lbdiv img { max-width: 84vh; }

.lb_overlay {
}


/* A bar */

.abar { display: inline-block; margin-right: 15px; }
.abar a {
	display: inline-block;
	padding: 4px 6px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	text-decoration: none;
}
.abar a:hover { background-color: #eee; }
.abar a:first-child { border-left: 1px solid #ccc; }

/* Bottom bar */

#bottom_bar {
	position: fixed;
	z-index: 9999;
	bottom: 0;
	right: 0;
}
#bottom_bar > a, #bottom_bar > div {
	float: right;
	background-color: #fff;
	margin-left: 15px;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	text-decoration: none;
}
#bottom_bar > a:hover { text-decoration:none; }


/* Nodes */

.text_l { float: left; margin: 0 15px 15px 0; }
.text_r { float: right; margin: 0 0 15px 15px; }
.text_l + .text { overflow: hidden; }

/* List */

table.list th {
	padding: 10px;
	vertical-align: top;
	text-align: right;
	width: 200px;
	border-bottom: 1px solid #ccc;
	background-color: #eee;
}

table.list td {
	padding: 10px;
	vertical-align: top;
	border-bottom: 1px solid #ccc;
}

.list > .item {
	padding: 8px;
	border-bottom: 1px solid #ccc;
	background-color: #fff;
	color: #000;
	display: block;
	text-decoration: none;
}
.list > .item:hover {background-color:#eee;}

.block .list { max-height: 500px; overflow: auto; }




/* Tooltip */

.tooltip {
	font-size: 12px;
	font-weight: normal;
	white-space: normal;	/* fix: required in div.btn-group */
	max-width: 700px;
	z-index: 9500;
}
.tooltip a {color:#fff}
.tooltip.in {
	opacity: 0.92;
	filter: alpha(opacity=92);
}
.tooltip-inner {
	/*background-color: #1067D0;*/
	background-color: #444;
}
.tooltip.top .tooltip-arrow {
  border-top-color: #444;
}
.tooltip.right .tooltip-arrow {
  border-right-color: #444;
}
.tooltip.left .tooltip-arrow {
  border-left-color: #444;
}
.tooltip.bottom .tooltip-arrow {
  border-bottom-color: #444;
}

/* bootstrap */

.nav-tabs {border-bottom: 1px solid #aaa;}
.nav-tabs > .active > a, .nav-tabs > .active > a:hover, .nav-tabs > .active > a:focus { border-color: #aaa #aaa transparent; }
.nav-tabs > li > a:hover, .nav-tabs > li > a:focus { border-color: #bbb #bbb #aaa; }

.tabs-below > .nav-tabs { border-top: 1px solid #aaa;}
.tabs-below > .nav-tabs > li > a:hover, .tabs-below > .nav-tabs > li > a:focus { border-color: #aaa; }
.tabs-below > .nav-tabs > .active > a, .tabs-below > .nav-tabs > .active > a:hover, .tabs-below > .nav-tabs > .active > a:focus { border-color: transparent #aaa #aaa #aaa;}

.tabs-left > .nav-tabs {border-right: 1px solid #bbb; padding:10px 0}
.tabs-left > .nav-tabs .active > a, .tabs-left > .nav-tabs .active > a:hover, .tabs-left > .nav-tabs .active > a:focus {
    border-color: #bbb transparent #bbb #bbb;
}
/*
.tabs-left > .nav-tabs > li > a, .tabs-right > .nav-tabs > li > a {margin-bottom: 1px;}
*/


/* Page */

#page_top {}
	#page_img { display: block; float: left; }
		#page_img img { display: block; }

	#page_logo:hover, #page_logo:active  { text-decoration:none; }
	#page_logo {
		display: block;
		padding-top: 12px;
		height: 101px;
		letter-spacing: 2px;
		line-height: 22.5px;
	}
		#page_top1 { text-align: center; color:#000; font-size: 25px; margin-top: 6px; }
		#page_top2 { text-align: center; color:#000; font-size: 16px; margin-top: 22px; }

#page_menu {
	height: 33px;
}
	#page_menu a {
		float: left;
		padding: 5px 9px;
		border-top: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
		border-right: 1px solid #ccc;
		transition: background-color 1s;
	}
	#page_menu a:hover {
		background-color: #ddd;
		transition: background-color 1s;
	}

#page {
	position: relative;
	width: 100%;
	min-width: 300px;
	max-width: 800px;
	margin: 0 auto;
	padding-bottom: 60px;
}

	#content_w {
		width: 100%;
		margin: 0 auto;
		text-align: justify;
	}
		#content {
			padding: 10px 0;
		}

	#page_footer_w {
		/*
		position: fixed;
		bottom: 0;
		*/

		width: 100%;
		min-width: 300px;
		max-width: 800px;
		margin: 0 auto;

		overflow: hidden;
		
		text-align: center;
		font-size: 10pt;
		border-top: 1px solid #ccc;
		background-color: #eee;
	}
	
		#page_footer {
			padding: 25px 15px;
		}
			
			#footer_left {float: left; text-align: center; margin-top: 3px}
			#footer_right {float: right; }

	/* stick footer to the bottom */
	#page {
		min-height: 92%;
		height: 92%;
		height: auto !important;
		margin-bottom: -87px;
	}
	#page_footer_w, .footer_push { height: 87px; }

@media (max-width:990px) {
	#page_img img { max-height:120px; }

	#page_top1 { text-align: left; margin-left: 150px; margin-top: 12px; }
	#page_top2 { text-align: left; margin-left: 150px; }

	#page_menu { clear:left; width:100%; }
	#page_menu a { padding: 6px 8px; }
	#page_menu a:first-child { border-left: 1px solid #ccc; }

	#content { padding: 10px 15px; }

	#page_footer_w {position: absolute !important;}
	
	#footer_left { float: none; padding-bottom: 20px; }
	#footer_right { float: none; padding-bottom: 20px; }

	#page {
		margin-bottom: -126px;
	}
	#page_footer_w, .footer_push { height: 126px; }
}
@media (max-width:388px) {
	#page_top1 { margin-top: 0; line-height: 30px; }
	#page_top2 { margin-top: 10px; }
}

.admin_info { border: 1px solid #ccc; padding: 10px; border-radius: 6px; margin: 10px; background-color: #eee; }

.thumb_list { text-align: center; }
.thumb_list a { padding: 5px; }

.msg_add { border-bottom: 1px solid #ccc; padding: 0 15px 25px 15px; }
.msg { border-bottom: 1px solid #ccc; padding: 15px; }
.msg_author { font-weight:bold; letter-spacing: 0.5px; }
.msg_user { background-color: #ffffbb; }

.icon_add { padding-left: 20px; background:url(i/add.gif) no-repeat 0 50%;}
.icon_edit { padding-left: 20px; background:url(i/edit.gif) no-repeat 0 50%;}
.icon_delete { padding-left: 20px; background:url(i/close.png) no-repeat 0 50%;}
.icon_tree{ padding-left: 20px; background:url(i/tree.gif) no-repeat 0 50%;}



/* Player */


.player {
	max-width: 600px;
	min-height: 75px;
	min-height: 53px;
	background-color: #f1f1f1;

/*
	// no need in .folder2:
	width: 100%;
	height: 70px;
*/
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 2px;
}

.player_w > .player { float: left; }
.player_img {
	display: block;
	float: left;
	height: 117px;
	padding: 0;
}


.player .player_disc {
	background: url(i/save.png) no-repeat 0 0;
	padding-left: 11px !important;
	/* display: block; */
	height: 17px;
}

.player  .ptitle {
/*	float: left;	*/
	font-weight: bold;
	margin:0;
	padding:0;
}

.player .pposition {}
.player .pduration {}

.player .pbar {
	width: 100%;
	height: 18px;
	border: 1px solid #005DCD;
	border-radius: 2px;
	background-color: #fff;
	overflow: hidden;

	cursor: pointer;
	margin: 0 0 6px 0;
}

.player .pbar > .pprogress {
	width: 0;
	height: 18px;
/* #CFE8F6, #2285B8 */
	background-color: #0081c2;
	background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
	background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
	background-image: -o-linear-gradient(top, #0088cc, #0077b3);
	background-image: linear-gradient(to bottom, #0088cc, #0077b3);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}

.player .pbar > .pbar_text {
	font-size: 11px;
	float: right;
	position: relative;
	top: -8px;
	line-height: 0;
	color: #000;
	width: 100px;
	text-align: center;
	text-shadow: 0px 1px 3px #fff;
}

.player .player_btn_w {
	display: inline-block;
	vertical-align: middle;
	line-height: 9px;
}

	.player .player_btn_w > .btn > .icon-play { margin-top:0px; }
	.player .player_btn_w > .btn > .icon-pause { margin-top:0px; }
	.player .player_btn_w > .btn > .icon-stop { margin-top:0px; }
	.player .player_btn_w > .btn {
		display: inline-block;
		min-width: 12px;
		padding: 4px 6px 8px 6px;
		height: 11px;
		line-height: 14px;
		cursor: pointer;
		border-radius: 0;
	}
	.player .player_btn_w > .btn:first-child {
		border-top-left-radius: 2px;
		border-bottom-left-radius: 2px;
	}
	.player .player_btn_w > .btn:last-child {
		border-top-right-radius: 2px;
		border-bottom-right-radius: 2px;
	}

.player .pvolume_w {
	display: inline-block;
	vertical-align: middle;
	line-height: 0;
	margin-left: 5px;
	position: relative;
}
	.player .pvolume_w .pvolume_bar {
		display: inline-block;
		width: 100px;
		height: 18px;
		cursor: pointer;
		text-align: right;
		background-color: #fff;
	}
	.player .pvolume_w .pvolume_level {
		height: 18px;
		background: url(i/volume.png) no-repeat 100% 1px;
	}
	.player .pvolume_w .pvolume_text {
		font-size: 11px;
		position: absolute;
		top: 10px;
		color: #000;
		width: 100px;
		text-align: center;
		text-shadow: 0px 1px 3px #fff;
	}

	.player .pvolume_w  .pvolume_bar_after {
		display: inline-block;
		width: 20px;
		height: 18px;
		cursor: pointer;
	}

.player.player_compact .pvolume_bar { width:80px }
.player.player_compact .pvolume_bar_after { display:none }
.player.player_compact .player_download { display:none }

.player_loading .pbar {
	animation: 2s linear 0s normal none infinite progress-bar-stripes;
    background-color: #149BDF;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
}
/*
.player_loading .pwait { display: block !important; font-size: 8pt; position: absolute; background-color:#fff;}
*/


div.book_list {
}

.book {
	padding: 20px 0 20px 0;
	border-bottom: 1px solid #ccc;
}

.book:first-child { padding-top: 5px; }
.book:last-child { padding-bottom: 10px; }


.book .text_l {
	margin-top: 5px;
}
.book .text_l img {
	width:170px;
}

.book .title {
	font-weight: bold;
	font-size: 18px;
}

.book .subtitle {
	margin-bottom: 15px;
}
/*
.book .text {
	overflow: hidden;
}
*/

.book .source {
	font-style: normal;
	text-align: right;
}

.book .links a {
	padding-right: 13px;
}


@media only screen and (max-width: 500px) {
	.text_l { float:none; width: 100%; margin-left:0; }
	.text_l img {
		width: 100%;
		max-width: 280px;
	}

	.text_r { float:none; width: 100%; margin-right:0; }
	.text_r img {
		width: 100%;
		max-width: 280px;
	}
}

.subnode {
	min-height: 34px;
/*
	line-height: 2.4;
*/
}

.subnode:hover { background-color: #eee; }