.l { text-align: left; }
.c { text-align: center; margin-left: auto; margin-right: auto; }
.r { text-align: right; }
.left   { float: left; text-align: left; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.right  { float: right; text-align: right; }


h1 span { display: block; font-weight: normal; font-size: 60%; margin-top: 0.2em; letter-spacing: 1px;  }

#content a { text-decoration: underline; }

#content table a, #content h1 a, #content h2 a, #content h3 a, #content h4 a { text-decoration: none; }

#welcome {
	text-align: justify;
	line-height: 167%;
	font-size: 107%;
}
#welcome p {
	line-height: 100%;
	font-size: 100%;
}

.post {
	text-align: justify;
	line-height: 167%;
	font-size: 107%;
	}
.post p, .post blockquote, .post ol, .post ul {
	line-height: 167%;
	font-size: 100%;
}	



code {
	margin: 0.5em 0;
	padding: 0 0.5em;
	display: block;
}

code.console {
	min-height: 30px; _height: 30px;
	margin-left: -11px; padding-left: 30px;
	background: url(/opt/assets/templates/mods/code_console.gif) left top no-repeat;
}


table.w100 { width: 100%; margin: 0.5em 0; }
table.w100 th, table.w100 td { padding: 1px 0.3em; text-align: left; vertical-align: top; font-weight: normal; }
table.w100 caption { text-align: right; font-weight: bold; }

table.border { border-collapse: collapse; width: 100%; border: 1px #CCC solid; margin: 0.5em 0; }
table.border th, table.border td { border: 1px #AAA solid; padding: 1px 0.3em; text-align: left; font-weight: normal; }
table.border th { background: #D3D3D6; font-weight: bold; }
table.border td { background: #E3E3E6; }
table.border caption { text-align: right; font-weight: bold; }
table.border caption span { display: block; text-align: center; }


table.list { border-collapse: collapse; width: 100%; margin: 0.5em 0 1.5em 0; }
table.list th, table.list td { border-top: 1px #EEE solid; border-bottom: 1px #EEE solid; padding: 2px 0.3em; text-align: left; font-weight: normal; }
table.list td + td, table.list td + td + td { text-align: center; }
table.list th { text-align: center; font-weight: bold; background: #FFF; padding: 1px 0.5em; }

table.l th, table.l td { text-align: left; }
table.c th, table.c td { text-align: center; }
table.r th, table.r td { text-align: right; }
table tr.l th, table tr.l td { text-align: left; }
table tr.c th, table tr.c td { text-align: center; }
table tr.r th, table tr.r td { text-align: right; }
table tr th.l, table tr td.l { text-align: left; }
table tr th.c, table tr td.c { text-align: center; }
table tr th.r, table tr td.r { text-align: right; }

td img { border: 0; }

div.ditto_pages { width: 100%; overflow: hidden; margin: 0.3em 0; }
div.ditto_pages span, div.ditto_pages a { float: left; padding: 0 5px; margin: 0 0.3em 0 0; }
div.ditto_pages .ditto_currentpage { background: #DB5600; color: #fff; }

li.active a { font-weight: bold; }

#menu ul li.active, #menu ul li.active a {
	background: #DB5600;
	color: #fff;
}

#footer .wrapper { position: relative; }
#counter { position: absolute; top: 20px; right: 0; padding: 6px 20px 0 0; text-align: right; }
#footer a { color: inherit; text-decoration: underline; }




form.cool { margin: 1em 0; }

form.cool label {
        color: #515151;
        display: block;
        float: left; clear: left;
        width: 100px;
        margin: 2px 5px 0 0;
        text-align: right;
        }
form.cool input.text, form.cool input.date, form.cool textarea, form.cool select, form.cool span.input {
        margin: 0 0 0 10px;
        width: 320px;
        border-top: 1px solid #555;
        border-left: 1px solid #555;
        border-bottom: 1px solid #ccc;
        border-right: 1px solid #ccc;
        padding: 1px;
        color: #333;
        }
form.cool select { padding: 1px 0.5em; }
form.cool span.input {
        margin: 0 0 0 120px;
        width: 320px;
        display: block;
        }
form.cool div.input {
        margin: 0 0 0 120px;
        width: 320px;
        }
form.cool .input h1 { margin: 0; display: inline; }

form.cool textarea {
        overflow: auto;
        }
form.cool input.date, form.cool input.code, form.cool .short {
        width: 140px;
        }
form.cool input.submit {
        width: auto;
        margin: 5px 0;
        border: 2px solid #AAA;
        padding: 1px 0.5em;
        background: #F8FAFC;
        color: black;
        cursor: pointer; cursor: hand;
        }
form.cool input.submit { margin: 1em 0 0 115px; width: 325px; }

form.cool select {
        padding: 1px;
}
form.cool input:focus, form.cool textarea:focus {
        background: #efefef;
        color: #000;
}
form.cool small {
        display: block;
        margin: 0 0 5px 120px;
        padding: 1px 3px;
        font-size: 88%;
        width: 320px;
        }
form.cool label small {
        width: auto;
        display: block;
        font-style: italic;
        font-weight: normal;
        margin: 0.3em 0 0 0;
        padding: 0;
        }
form.cool div.req, form.cool div.opt {
        clear: left;
        }

form.cool div.req label {
        color: #313131;
        font-weight: bold;
        }
fieldset div.opt {
        display: block;
        }
form.cool fieldset {
        margin: 0.5em 0;
        border: none;
        border-top: 1px solid #313131;
        }
form.cool legend {
        margin: 0.1em 0;
        padding: 0.5em 0.5em;
        text-align: right;
        color: #313131;
        background: transparent;
        font-size: 1.3em;
        font-weight: bold;
        }
form.cool .info {
        float: right;
        width: 150px;
        padding: 2px 0.5em;
        border: 1px solid #AAA;
        background-color: #F8FAFC;
        font-size: 88%;
        }
form.cool .captcha a {
	float: right;
	margin-right: 1px;
	}
form.cool .captcha a img {
	border-color: #AAAAAA;
	}


.alert {
        background: #F8FAFC url(/opt/assets/templates/mods/lightbulb_off.png) center no-repeat;
        background-position: 15px 10px; /* x-pos y-pos */
        border-top: 2px solid #AAA;
        border-bottom: 2px solid #AAA;
        }
* html .alert { background-image: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/assets/templates/mods/lightbulb_off.png", sizingMethod="crop"); }

.attention {
        background: #FFF7C0 url(/opt/assets/templates/mods/lightbulb.png) center no-repeat;
        background-position: 15px 10px; /* x-pos y-pos */
        border-top: 2px solid #AAA;
        border-bottom: 2px solid #AAA;
        }
* html .attention { background-image: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/assets/templates/mods/lightbulb.png", sizingMethod="crop"); }

.alert, .attention {
        display: block;
        text-align: left;
        margin: 1em 0;
        padding: 5px 20px 5px 45px;
        }



/* ########## JOT ########## */

.jot-row     { position: relative; margin: 0.5em 30px 1em 0; background: #F6F6F6; padding: 4px 0; border: 1px #CCC solid; border-width: 1px 0; }
.jot-row-alt { background-color: #EEEEEE; }
.jot-row-up  { background-color: #FFE0FB; }
.jot-row-ban { border: 1px #AA0000 solid; border-width: 1px 0; }
.jot-row-me  { }
.jot-row-new { }

#content .jot-number { position: absolute; left: 415px; top: -2px; font-size: 200%; text-decoration: none; }
#content .jot-number span { font-size: 50%; vertical-align: super; }

.jot-user    { float: left; text-align: left; padding: 3px 0 3px 30px; background: url(/opt/assets/templates/jot/jot_user.png) no-repeat 10px 50%; }
.jot-creator { font-weight: bold; }
.jot-email   { float: left; text-align: left; padding: 3px 0 3px 30px; background: url(/opt/assets/templates/jot/jot_email.png) no-repeat 10px 50%; }
.jot-poster  { float: right; text-align: right; padding: 3px 10px 3px 0; }

.jot-content { clear: both; background: url(/opt/assets/templates/mods/line-dot.gif) repeat-x 0 0; padding: 0.5em 0 0 0; margin: 0 10px; }

.jot-product { padding: 3px 0 3px 20px; background: url(/opt/assets/templates/jot/jot_product.png) no-repeat 0 50%; }
.jot-message { padding: 0.2em 0 0 20px; background: url(/opt/assets/templates/jot/jot.png) no-repeat 0 0.2em; }
.jot-row-new .jot-message { background-image: url(/opt/assets/templates/jot/jot_new.png); }

.jot-extra { margin: 1em 10px 3px 30px; text-align: right; }
.jot-extra * { vertical-align: bottom; }
.jot-extra .editedby {display: block; font-size: 85%; }



blockquote { margin-left: 0.5em; padding-left: 2em; background: url(/opt/assets/templates/mods/img09001.gif) no-repeat left 0.5em; }


.review_block { width: 100%; overflow: hidden; margin: 0 0 2em 0; }
.review_block a.left { width: 210px; }
.review_block .text { display: table; _height: 0; zoom: 1; }

#content .adv { width: 100%; overflow: hidden; margin: 0.5em 0 1em 0; padding: 0.3em 0; background: white; border-top: 1px #515151 dashed;}
#content .adv .left { margin: 0 0.5em; }
#content .adv .left img { border: 0; background: white; }
#content .adv .text { display: table; _height: 0; zoom: 1; font-style: italic; margin: 0 0.5em; }

.block { width: 100%; overflow: hidden; margin: 0.5em 0 1em 0; padding: 0.3em 0; }
.block a.left { margin: 0 0.5em 0 0; }
.block a.left img { border: 0; background: none; }
.block .text { display: table; _height: 0; zoom: 1; margin: 0 0 0 0.5em; }


.addthis, .addbookmark { width: 100%; overflow: hidden; margin: 0.3em -3px; padding: 0 0; /*background: #E3E3E6; border-top: 1px #515151 dashed;*/ }
.addthis a { display: block; margin: 3px; padding: 2px; float: left; border: 1px transparent solid; }
.addthis a:hover { border: 1px #999 solid; }
.addbookmark a { display: block; margin: 3px; float: left; }


#subfooter { font-size: 85%; clear: both; width: 660px; margin: 0 auto; color: #AAA; }
#subfooter * { color: #AAA; }

#sidebar form { margin: 0 0 1em 0; }
#sidebar form label { color: #313131; font-weight: bold; }
#sidebar form input.text {
        margin: 0;
        border-top: 1px solid #555;
        border-left: 1px solid #555;
        border-bottom: 1px solid #ccc;
        border-right: 1px solid #ccc;
        padding: 2px 1px;
        color: #333;
        }
#sidebar form input.submit {
        margin: 0;
        border: 1px solid #AAA;
        padding: 1px 0.5em;
        background: #F8FAFC;
        color: black;
        cursor: pointer; cursor: hand;
        }

.imgbl{
	background: url(https://www.hl-inside.ru/images/image_bg.gif) no-repeat 50% 50% #303030;
	border: #fff 1px solid;
	margin: 10px 2px 0 2px;
	min-width: 60px;
	min-height: 51px;
}
.fl { float: left; }
.fr { float: right; }
.over { width: 100%; overflow: hidden; }

.banner_468x60 { width: 490px; margin: 1em 0 1em -15px; padding: 13px 0px 25px 3px; background:transparent url(/opt/assets/templates/mods/shuffledpapers-gray.jpg) 0 0 no-repeat; }

#googleSearchUnitIframe { margin: 0 0 0 -20px; }
#googleSearchUnitIframe iframe { width: 480px; }

dl { margin: 0.5em 0 1em 0; }
dl dt { font-style: italic; }
dl dd { margin: 0.5em 0 0.5em 1.5em; }


#welcome a.highslide {
	float: right; margin: 0 0 0.1em 1em;
}
#welcome a.highslide img {
	display: block;
	border: 2px solid #FFFFFF;
}
#welcome a:hover.highslide img {
	border: 2px #db5600 solid;
}


/* ########## PAGER ########## */

.pager { border-top: 1px solid #515151 ; margin: 10px 0; padding: 5px 0; width: 100%; overflow: hidden; }
.pager.top { border-top: none; border-bottom: 1px solid #ccc; }
.ditto_currentpage { margin: 0 0.1em; font-size: 130%; font-weight: bold; }
.ditto_page { margin: 0 0.1em; }
.prevnext { font-size: 85%; text-align: right; }
.prevnext #prevlink { margin-right: 0.5em; }
.prevnext #nextlink { margin-left: 0.5em; }
#content .prevnext span { color: #999; }
#content .prevnext a { color: #999; text-decoration: none; }
#content .prevnext a span { color: #DB5600; text-decoration: underline; }
#content .prevnext a:hover span { color: #DB5600; }


.highlighting { padding: 0 0.1em; border-bottom: 1px #A0A0A0 solid;  font-weight: bold; }
dl .highlighting { background: #FFFFFF; color: #333; }
dt .highlighting { border-bottom: 0; background: none; padding: 0 0.3em; }
a:hover .highlighting { border-bottom: 0; }
h1 .highlighting { display: inline; font-size: 100%; margin-top: 0; }



#sidebar ul.img {	margin: 0.5em 0x; padding: 0; width: 210px; overflow: hidden;
	list-style: none !important;
	}
#sidebar ul.img li {	float: left;
	margin: 0; padding: 0;
	background-image: none;
	}
#sidebar ul.img li a {
	display: block;
	background: #DDD;
	width: 40px; height: 25px;
	border: 1px #FFFFFF solid;	margin: 0; padding: 0;
	text-indent: -10000em;	}
#sidebar ul.img li a:hover {
	border: 1px #636366 solid;
	}
#sidebar ul.img li.big a {
	width: 103px; height: 61px;
	}
#sidebar ul.img li.small a {	width: 33px; height: 19px;
	}

p.sub { font-size: 90%; margin: -1em 0 1em 0; padding: 0; }
.post {
	margin: 0 0 2.5em 0;
}


.foot {
	display: block;
	text-align: left;
	margin: 2em -15px;
	padding: 5px 0;
	background: #E3E3E6;
	border-top: 1px solid #DB5600;
	overflow: hidden;
	width: 475px;
}

.foot .left  { float: left; text-align: left; }	
.foot .right { float: right; text-align: right; }	
.foot .small { width: 38%; }
.foot .big   { width: 60%; }
.foot .taglinks {
	float: left; width: 60%; text-align: left; clear: left;
}	


#content .tagcloud { line-height: 1.4em; margin: 1em 0 2em 0; font-weight: normal; text-align: center; }
#content .tagcloud a { margin: 0 0.2em; white-space: nowrap; text-decoration: none; color: #88888A; }
#content .tagcloud .s1 { font-size: 100%; } 
#content .tagcloud .s2 { font-size: 108%; }
#content .tagcloud .s3 { font-size: 116%; }
#content .tagcloud .s4 { font-size: 125%; }
#content .tagcloud .s5 { font-size: 136%; }
#content .tagcloud a span.count { vertical-align: super; font-size: 70%; text-decoration: none; color: #19343D; font-weight: normal; }
#content .tagcloud a.s1 span.count { font-size: 75%; } 
#content .tagcloud a.s2 span.count { font-size: 70%; }
#content .tagcloud a.s3 span.count { font-size: 65%; }
#content .tagcloud a.s4 span.count { font-size: 60%; }
#content .tagcloud a.s5 span.count { font-size: 55%; }

#content .tagcloud span.cur a { font-size: 136%; color: #DB5600; }
#content .tagcloud span.cur a span { }
#content .tagcloud span.cur a span.count { text-decoration: none; font-size: 50%; }
#content .tagcloud a:hover { text-decoration: none; }
#content .tagcloud a:hover span { text-decoration: underline; }
#content .tagcloud a:hover span.count { text-decoration: none; }

#adv { margin: 1em 0; }
		
#epas * { color: #999; }
#epas ul { margin: 0 0 1em 0; padding: 0; list-style: none; line-height: 120%; font-size: 100%; }
#epas ul li { list-style: none; background: none; text-align: left; padding-left: 0.8em; }
		
#kniltsurt ul { margin: 0; padding: 0; list-style: none; line-height: 120%; font-size: 100%; }		
#kniltsurt ul li { list-style: none; background: none; text-align: left; padding-left: 0.8em; }		
#kniltsurt ul li div, #kniltsurt ul li div a { color: #DB5600; font-weight: bold; text-decoration: underline; }		
#kniltsurt ul li div.text, #kniltsurt ul li div.text a { color: #000000; font-weight: normal; text-decoration: none; }		
#kniltsurt ul li div.host, #kniltsurt ul li div.host a { color: #EF7100; font-size: 85%; font-weight: normal; text-decoration: none; }		


#content .ya-site-form li {
	background: none;
	}
#content #ya-site-results a {
	text-decoration: none;
	border: none;
	padding-right: 0;
	background: none;
	}

.post img { max-width: 100%; }
.w100 { max-width: 100%; width: 100%; outline: 1px solid rgba(255,255,255,.1); }
.w100nb { outline: 0; }
	

.video
{
    position: relative;
}

.video iframe
{
    border: none;
}

.video iframe,
.video object,
.video embed,
.video .youtube5container,
.video .youtube5player
{
    position: absolute;
    top: 0;
    left: 0;

    width: 100% !important;
    height: 100% !important;
}

.video_type_youtube
{
    padding-top: 25px;
}

.video_ratio_43
{
    padding-bottom: 75%;
}

.video_ratio_169
{
    padding-bottom: 56.25%;
}

.lazyYT-container
{
    position: relative;

    display: block;
    overflow: hidden;

    height: 0;
    padding: 0 0 56.25% 0;

    background-color: #000;
}

.lazyYT-container iframe
{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 100%;

    border: 0;
}

.lazyYT-container .html5-info-bar
{
    position: absolute;
    z-index: 935;
    top: 0;

    overflow: hidden;

    width: 100%;
    height: 30px;

    transition: opacity .25s cubic-bezier(0,0,.2,1);

    color: #fff;
    background-color: rgba(0,0,0,.8);
}

.lazyYT-container .html5-title
{
    padding-right: 6px;
    padding-left: 12px;
}

.lazyYT-container .html5-title-text-wrapper
{
    overflow: hidden;

    white-space: nowrap;
       text-overflow: ellipsis;
    word-wrap: normal;

    -o-text-overflow: ellipsis;
}

.lazyYT-container .html5-title-text
{
    font-size: 13px;
    line-height: 30px;

    width: 100%;

    text-decoration: none;

    color: #ccc;
}

.lazyYT-container .html5-title-text:hover
{
    text-decoration: underline;

    color: #fff;
}

.ytp-thumbnail
{
    padding-bottom: inherit;

    cursor: pointer;

    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

.ytp-large-play-button
{
    font-size: normal !important;
    font-weight: normal !important;
    line-height: 1 !important;

    position: absolute;
    top: 50% !important;
    left: 50% !important;

    width: 86px !important;
    height: 60px !important;
    margin: -29px 0 0 -42px !important;
    padding: 0 !important;

    opacity: .9;
}

.ytp-large-play-button-svg
{
    opacity: .9;

    fill: #1f1f1f;
}

.lazyYT-image-loaded:hover .ytp-large-play-button-svg,
.ytp-large-play-button:focus .ytp-large-play-button-svg
{
    opacity: 1;

    fill: #cc181e;
}

@media (min-width: 30em) {
    .grid-container { width: 100%; display: table; table-layout: fixed; }
    .grid-container > div[class^=grid-] { display: table-cell; }
    .grid-25 { width: 25%; }
    .grid-33 { width: calc(100%/3); }
    .grid-50 { width: 50%; }
}

.grid-container .img {
  max-width: 100%;
}