HTML, BODY {
    margin: 0;
    padding: 0;
    }
H1, H2, H3, H4, H5, H6, P, BLOCKQUOTE, PRE, 
OL, UL, LI, DL, DT, DD,
TD, FORM, FIELDSET,
ABBR, CODE {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: normal;
    font-size: 1em;
	}
TABLE {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    font-weight: normal;
    font-size: 1em;
    }

OL, UL, .sidebar-links DD { list-style: none; }

A IMG { border: 0; }

HTML BODY .i-ljuser-userhead {
	vertical-align: top !important;
	}

BODY {
	background: #F2F6F9;
	font: 14px/1.4 Arial, sans-serif;
	color: #333;
	}

A:link, A:visited {
	text-decoration: underline;
	color: #0273c9;
	}
A:hover {
	text-decoration: none; 
	}	

.hr {
	display: none; 
	}
#page {
	background: url(//wh.lj.ru/s2/navalniy/v2/top-bg.png) repeat-x center top;
	margin-bottom: 70px;
	padding-right: 20px;
	}
.layout {
	min-width: 1070px;
	max-width: 1400px;
	//width: 1070px;
	margin: 0 auto;
	}
	.layout-inner {
		/* margin-right: 20px; */
		}
	.layout:after {
		display: block;
		clear: both;
		visibility: hidden;
		content: " ";
		}
	.content {
		position: relative;
		margin-right: 0 !important;
		padding-left: 340px;
		width: auto;
		}
		.content-inner {
			position: relative;
			float: right;
			width: 100%; 
			//width: 720px;
			}
	.sidebar {
		float: left;
		width: 320px;
		}	
		
/* Header
------------------------------------------*/ 		
.header {
	position: relative;
	width: 100%;
	height: 315px;
	}
	.header-upic {
		position: absolute;
		top: 103px;
		width: 122px;
		height: 122px;
		margin-left: 46px;
		background: url(//wh.lj.ru/s2/navalniy/v2/up.png) no-repeat scroll 0 0;
		}
		.header-upic .userpic{
			margin: 11px 0 0 11px;
			}
	.header-heads {
		position: relative;
		top: 115px;
		margin-left: 320px;
		}
		.header-heads H2 {
			position: relative;
			left: 50%;
			margin-left: -210px;
			width: 410px;
			height: 105px;
			background: url(//wh.lj.ru/s2/navalniy/title.png) no-repeat center top;
			}
		.header-heads H2 A {
			display: block;
			overflow: hidden;
			width: 410px;
			height: 105px;
			text-indent: -1000px;
			}
	.header-nav {
		position: absolute;
		right: 0;
		height: 40px;
		top: 25px;
		padding: 0 15px;
		border: 1px solid #BABDBF;
		border-radius: 5px;
		background-color: white;
		}
		.header-nav A {
			display: inline-block;
			line-height: 40px;
			}
			.nav, .nav-sub {
				float: left;
				}
			.nav {
				margin-right: 30px;
				}	
			.nav LI,
			.nav-sub LI {
				float: left;
				margin-right: 17px;
				}
				.item-profile,
				.item-rss {
					margin-right: 0 !important;
					}	
					.item-rss A {
						padding-left: 30px;
						background: url(//wh.lj.ru/s2/navalniy/sprite.png) no-repeat left -49px;
						}
					.item-addfriend A {
						padding-left: 30px;
						background: url(//wh.lj.ru/s2/navalniy/sprite.png) no-repeat left -105px;
						}
				.item-selected A {
					font-weight: bold;
					}		
/* Sidebar
------------------------------------------*/ 			
.sidebar-inner {
	width: 100%;
	}
.sidebar-block {
	position: relative;
	clear: both;
	margin-bottom: 30px;
	}
	.sidebar-block DT {
		padding-left: 45px;
		}
		.sidebar-tags DT,
		.sidebar-summary DT {
			margin-bottom: 10px;
			font: 22px/1.4 Arial, sans-serif;
			color: #0273c9;
			}
	.sidebar-block DD A,
	.sidebar-block DD A:visited {
		color: #333;
		text-decoration: none; 
		}			
		.sidebar-block DD A:hover {
			color: #0273c9;
			text-decoration: underline; 
			}
		.tags, .summary-list,
		.sidebar .calendar-wrap,
		.sidebar-custom DD {
			width: 225px;
			margin-left: 45px;
			}
			.sidebar-block .tags A {
				color: #193f66;
				}
			.tags .comma,
			.tags .emdash,
			.tags .tag-count {
				display: none; 
				}		
.sidebar-about DT {
	height: 35px;
	line-height: 35px;
	background: url(//wh.lj.ru/s2/navalniy/paper2.jpg) repeat-y left top;
	}
	.sidebar-about DT IMG{
		vertical-align: middle !important
		}		
.about-inner {
	position: relative;
	min-height: 212px;
	background: url(//wh.lj.ru/s2/navalniy/paper2.jpg) repeat-y -315px top;
	}
	.about-content {
		position: relative;
		z-index: 10;
		width: 225px;
		margin-left: 45px;
		padding: 20px 0 80px;
		}
	.sidebar-about-top,
	.sidebar-about-footer {
		position: absolute;
		z-index: 8;
		width: 100%;
		height: 195px;
		background: url(//wh.lj.ru/s2/navalniy/paper2.jpg) no-repeat left -36px;
		}	
	.sidebar-about-top {
		top: 0;
		}	
	.sidebar-about-footer {
		bottom: 0;
		background-position: -630px bottom;
		}
	.sntw {
		float: left;
		clear: both;
		width: 100%;
		padding-bottom: 15px;
		}	
	.sntw-item {
		display: block;
		float: left; 
		overflow: hidden;
		width: 32px;
		height: 32px;
		margin-right: 7px;
		background: url(//wh.lj.ru/s2/navalniy/sprite.png) no-repeat left top;
		text-indent: -1000px;
		}
		.fb-link {
			background-position: -57px top;
			}
			.vk-link {
				background-position: -113px top;
				}
	.sidebar-links {
		margin-top: 15px;
		}
		.sidebar-block .sidebar-links A {
			color: #193f66;
			}
	.summary-list LI {
		margin-bottom: 5px;
		padding-bottom: 5px;
		border-bottom: 1px dotted #CFDDE7;
		}	
	.sidebar-cal {
		padding-top: 10px;
		}	
/* Calendar widget
------------------------------------------*/   
DD.calendar-wrap TABLE {
	width: 100%;
	}
.sbar-cal-nav {
	float: left;
	clear: both;
	width: 100%;
	padding-bottom: 15px;
	}
.sbar-cal-nav-month {
    float: left;
    }
.sbar-cal-nav-year {
    float: right;
    }
#js .sbar-cal-nav-prev, 
#js .sbar-cal-nav-next {
    position: relative;
    display: inline-block;
    width: 10px;
    vertical-align: middle;
    cursor: pointer;
    }
    .disabled {
        cursor: default !important;
        }
    .sbar-cal-month,
    .sbar-cal-year {
        padding: 0 5px;
        }
    .sbar-cal-nav-prev .sbar-cal-nav-arr {
        margin-top: -4px;
        border-right-color: #005d8e;
        }
    .sbar-cal-nav-prev .sbar-cal-nav-arr {
        left: 5px;
        border-right: 6px solid #005d8e;
        }
    .sbar-cal-nav-next .sbar-cal-nav-arr {
        margin-top: -4px;
        border-left-color: #005d8e;
        }
    .sbar-cal-nav-next .sbar-cal-nav-arr {
        border-left: 6px solid #005d8e;
        }   
        .sbar-cal-nav-next.disabled .sbar-cal-nav-arr {
            border-left: 6px solid #82b3cf;
            }
.sbar-cal-nav-prev .sbar-cal-nav-arr, 
.sbar-cal-nav-next .sbar-cal-nav-arr {
    position: relative;
    display: block;
    top: 50%;
    width: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    font: 0pt/0 serif;
    }     				
    DD.calendar-wrap TD {
		font-size: 12px;
		color: #999;
		}
/* Entry
------------------------------------------*/ 

.entry {
	position: relative;
	margin-bottom: 70px;
	padding-top: 45px;
	}
	.view-tags .entry {
		padding-top: 10px;
		}
	.entry:after {
			display: block;
			clear: both;
			visibility: hidden;
			content: " ";
			}
	.entry-title {
		margin-bottom: 15px;
		font: 22px/1.4 Arial, sans-serif;
		}	
		.entry-title IMG {
			margin-right: 5px;
			}	
		.entry-title A {
			text-decoration: underline;
			}
			.entry-title A:hover {
				text-decoration: none;
				}		
	.author {
		position: absolute;
		top: 0;
		width: 100%;
		padding-bottom: 10px;
		border-bottom: 1px solid #929495;
		}
		.username {
			float: right;
			}
			.username A {
				text-decoration: none;
				}
			.username A:hover {
				text-decoration: underline;
				}	
		.entry-date {
			float: left;
			color: #999;
			}
		.entry-repost {
			float:  left;
			padding-left: 7px;
			}	
		.author DT {
			display: none;
			}
	.metadata, .ljtags {
		font-size: 12px;
		}			
	.metadata{
		margin-bottom: 20px;
		}
		.metadata DT, .metadata DD {
			display: inline;
			}
			.metadata DT {
				padding-right: 7px;
				}		
	 .entry-content {
		margin-bottom: 20px;
		text-align: justify;
		}	
		.ljtags {
			margin-top: 20px;
			}	
		.entry-content SPAN {
			background: transparent !important;
			}
	.entrymenu LI {
		float: left;
		padding: 0 7px 0 0;
		}	
		.entrymenu LI:before {
			content: "|";
			padding-right: 7px;
			color: #0273C9;
			}	
			.entrymenu LI:first-child:before {
				display: none;
				border: 1px solid red;
				}		
/* Archive
------------------------------------------*/ 
.view-archive .entry {
	padding-top: 0px;
	}
	.view-archive .entry-title {
		display: none;
		}
	.view-archive .entry-text UL {
		float: left;
		clear: both;
		width: 100%;
		margin: 0 0 20px 10px;
		}
		.view-archive .entry-text LI{
			float: left;
			margin-right: 20px;
			font: 22px/1.4 Arial, sans-serif;
			}
		.calendar-wrap {
			float: left;
			width: 240px;
			height: 15em;
			margin-bottom: 30px;
			}
			DIV.calendar-wrap TABLE {
				width: 215px;
				}
			.calendar-wrap CAPTION {
				font: 18px/1.4 Arial, sans-serif;
				}
			.calendar-wrap TD {
				text-align: center;
				padding: 3px 0;
				border-bottom: 1px dotted #CFDDE7;
				}
				.calendar-wrap TD A {
					font-weight: bold;
					}
.view-month .entry-text DT {
	font: 20px/1.4 Arial, sans-serif;
	color: #0273C9;
	}
	.view-month .entry-text DD+DT {
		margin-top: 20px;
		}
	.view-month .entry-text DD {
		margin-left: 15px;
		}		
/* Entry
------------------------------------------*/ 	
#comments .entry,
.entry-comments .entry {
	padding-top: 0;
	}				
.entry-linkbar {
	position: absolute;
	z-index: 10;
	top: 0px;
	width: 100%;
	line-height: 1em;
	text-align: center;
	}		
.comments-links {
	margin-bottom: 40px;
	font: italic 20px/1.4 "Times New Roman", serif;
	text-align: center;
	}
.comment-wrap {
	margin-bottom: 35px;
	}	
	.comment-upic {
		float: left; 
		margin-right: 15px;
		}	
	.comment-head H3 {
		margin-bottom: 5px;
		font: italic 20px/1.4 "Times New Roman", serif;
		}
	.comment-controls {
		float: right;
		}	
	.comment-text {
		clear: both;
		padding: 15px 0;
		}
	.comment-menu {
		padding-top: 10px;
		border-top: 1px solid #929495;
		text-align: right;
		color: #0273c9;;
		}
	#qrformdiv, #postform-wrapper {
		margin-bottom: 20px;
		padding: 10px;
		border-radius: 5px;
		border: 1px solid #929495;
		}				
	#qrform TABLE, #postform TABLE {
		border: none !important
		}	
/* Page nav
------------------------------------------*/ 			
.page-nav {
	float: left;
	clear: both;
	width: 100%;
	padding-top: 5px;
	border-top: 1px solid #929495;
	}
	.page-nav .prev {
		position: relative;
		z-index: 10;
		float: left;
		}	
	.page-nav .next {
		position: relative;
		z-index: 10;
		float: right;
		}		
	.page-nav .ontop {
		position: absolute;
		z-index: 8;
		width: 100%;
		text-align: center;
		}	
.tag-page-header {
	margin-bottom: 30px;
	font: 20px/1.4 "Times New Roman", serif;
	}	
/* comment controls
---------------------------------------- */

.hide-comment-controls .comment-controls {
	visibility: hidden;
	padding-left: 10px;
	}
	.hide-comment-controls:hover .comment-controls {
		visibility: visible;
		}
@media screen and (max-device-width: 1024px) {
	 .hide-comment-controls .comment-controls {
	 visibility: visible;
	 }
	}			