xhtml {
    padding:0;
    margin:0;
}
body {
    margin: 0;
    background-color: #ffffff;
    color: #333333;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 80%;
    padding: 9px;
    background-repeat: repeat;
    background-position: 0 0;
    background-attachment: fixed !important;
    /*text-shadow: 0 1px 0 rgba(0,0,0,.3);*/
}
#wrapper {
    margin:0;
    margin-left: auto;
    margin-right: auto;
    min-width: 1005px;
    /*	max-width: 1260px;
            _width: expression((document.documentElement.clientWidth||document.body.clientWidth)<980 ?'980px':((document.documentElement.clientWidth||document.body.clientWidth)>1260 ?'1260px':'100%'));*/
}
#page-c {
    width:100%;
    display: inline;
}
#side {
    display: inline;
    width:224px;
    /*overflow:hidden;*/
    padding: 0;
}
.left #page-c {
    float:right;
    /*margin-left: -234px;*/
}
.left #page-t {
    /*margin-left: 234px;*/
}
.left #side {
    float:left;
}
.right #page-c {
    float:left;
    /*margin-right: -234px;*/
}
.right #page-t {
    /*margin-right:234px;*/
}
.right #side {
    float:right;
}
h2,h3,h4 {
    margin:0;
}
.header h2,.header h3 ,.header h4 {
    display:inline;
}
.aleft {
    text-align:left;
}
.fleft {
    float:left;
}
.fright {
    float:right;
}
.postInner{
    width: 100%;
    float: right;
    margin-left: -160px;
}
.paragraph2{
    margin-left: 0px;
    padding:0 5px 5px 5px;
    line-height: 130%;
    text-align: justify;
}
.paragraph{
    margin-left: 160px;
    padding:0 5px 5px 5px;
    line-height: 130%;
    text-align: justify;
    position: relative;
}
/*.pay26 .paragraph{margin-left: 140px;}*/
/*.pay26 .postInner{margin-left: -140px;}*/

.paragraph textarea.code {min-height: 3.5em;}
.commentAuthor{
    width: 150px;
    float:left;
    margin-left: 5px;
    display: inline;
    overflow:hidden;
    position:relative;
}
.commentAuthor div{
    width: 150px;
    margin: 0 0 10px 0;
}
.pay26 .commentAuthor, .pay26 .commentAuthor div{width: 150px;}

.sign{
    overflow: hidden;
    font-size:85%;
}
.postActionLinks  {
    list-style:none;
    margin:0;
    padding:0;
    float:right;
    position:relative;
}
.postActionLinks li {
    float:left;
    list-style:none;
    margin:0 0 0 5px;
    padding:0;
    overflow:hidden;
}
.postActionLinks .delPostLink{
    margin:0 0 0 2px;
}
.postActionLinks .upPostLink{
    margin:0 0 0 3px;
}
.postActionLinks li a {
    padding-left:0px;
    display: block;
}
.voting {
    margin:0 0 10px;
    clear:left;
}
.atMusic,.atMood,.atTag {
    margin:0;
    clear:both;
    font-size:92%;
    padding:0;
}
.atMusic span,.atMood span,.atTag span {
    font-size:108%;
}
.postLinks {
    /*	float:right;  */
    display:inline;
    font-size:100%;
    margin:0 0 1px 0;
    padding:0;
}
.postLinks li {
    list-style:none;
    display:inline;
    padding:0;
    margin:0 0 0 10px;
}
a {
    text-decoration:none;
}
a:hover {
    text-decoration:underline;
}
.paragraph a {
    text-decoration:underline;
}
.paragraph a:hover {
    text-decoration:none;
}
#side ul {
    padding:0;
    margin:0;
}
#side ul li {
    padding:0;
    margin:0 0 1px 0;
    list-style:none;
}

/*#groupLinkTextBox,#groupLinkComboBox{
        width:400px;
}*/
#sortOrder {
    float: right;
    list-style:none;
    padding:0;
    margin:0;
}
#sortOrder li {
    float:left;
    list-style:none;
    margin:0 0 0 5px;
    padding:0;
    height: 14px;
}
#sortOrder li a {
    padding-left:0px;
    display:block;
}
.postLinksOld{
    padding:0;
    font-size:100%;
    clear:both;
    margin:0;
}
.postLinksOld li {
    list-style:none;
    display:inline;
    padding:0;
    margin:0;
}

.prevNextLinks {
    margin-bottom:1px;
    height:1.2em;
}
.prevNextLinks .prevPostLink {
    float:left;
    margin-left:0;
    padding:0 0 5px 0;
}
.prevNextLinks .nextPostLink {
    text-align:right;
    margin-left:0;
    padding:0 0 5px 0;
}
/*??? ??????????*/
#topNav {
    padding:5px;
    margin:0 0 1px 0;
    text-align:center;
    font-size:93%;
}
#topNavLinks {
    margin:0;
    padding:0;
    list-style:none;
}
#topNavLinks li {
    margin:0 10px;
    padding:0;
    list-style:none;
    display:inline;
}
#bottomNav {
    padding:5px;
    margin:0 0 1px 0;
    text-align:center;
    font-size:93%;
    display:none;
    height: 31px;
}
#bottomNavLinks {
    margin:0;
    padding:0;
    list-style:none;
    line-height:28px;
}
#bottomNavLinks li {
    margin:0 10px;
    padding:0;
    list-style:none;
    display:inline;
}
.singlePost, .menuSection, #side h1, .header, .postContent, .singleComment, .section, .postDate{
    margin-bottom:1px;
}
.postContent, .menuSection, .bordered{
}
#epigraph, .list_box {
    padding: 5px 5px 5px 5px;
    width: auto;
}
#epigraph a {
    text-decoration:underline;
}
#epigraph a:hover {
    text-decoration:none;
}
#side h1 {
    padding:5px;
    text-align:center;
    margin: 0 0 1px 0;
    display:inherit;
}

.header, .postDate{
    text-align:left;
    padding:5px;
}
.header *, .postDate *{
    font-size:100%;
}
.postDate{
    text-align: right;
}
.postLinksBackg{
    padding: 5px;
    font-size: 85%;
    text-align: right;
}
.formcontainer{
    margin: 0 0 1px 0;
    padding: 5px;
}
img {
    border:none;
}
table {
    font-size:100%;
    border-collapse:collapse;
}
#thisDiaryInfo {
    text-align:center;
}
#thisDiaryPhoto {
    margin:0 0 10px 0;
}
.menuSection{
    overflow:visible;
    font-size:92%;
    margin:0 0 1px 0;
    padding:5px 10px 5px 10px;
}
.section{
    font-size: 100%;
    margin:0 0 1px 0;
    padding:5px 10px 5px 10px;
}
.authorName{
    padding:3px 0 7px 5px;
}
.communityName{
    padding: 3px 0 0 5px;
}
#TagsList {
    padding:5px 0 0 10px;
    font-size:90%;
}
#TagsList ul {
    width:95%;
    overflow:hidden;
}
#TagsList ul li {
    margin:0 0 5px;
    width:100%;
    overflow:hidden;
}
#TagsList ul li span {
    display:block;
    float:right;
}
.birthday {
    background:url("http://static.diary.ru/images/sharik.gif") no-repeat 0%;
    padding-left:15px;
}
.headlineTitle {
    font-weight:normal;
}


input {
    font-size:100%;
    font-family:"Verdana",monospace;
    margin: 0 2px 2px 0;
}
label{
    /*	margin-left: 3px;*/
}
input.text,select {
    padding:1px 2px;
    margin: 2px 0 0 0;
    color: #333;
    border: 1px solid #cccccc;
    background-color: transparent;
}
textarea {
    background-color: transparent;
    font-size:100%;
    font-family:"Verdana",monospace;
    color: #333;
}

#content{
    padding: 5px;
    overflow: auto;
}
#forTextarea #content{
    /*overflow: inherit;*/
}
.tags_ul_all{
    float: left;
    width: 25%;
    margin-right: 3%;
    margin-bottom: 20px;
    padding-left: 15px;
    margin-left:5px;
}
.tags_header{
    font-weight:bold;
    list-style: none;
    margin-left: -15px;
    margin-bottom: 3px;
}

.smilieTable {
    border-width:2px;
    border-style:outset;
}
#commentForm table,#commentForm td {
    border-collapse:collapse;
    padding:0;
}
#commentForm p {
    margin:5px 0;
}
.vDash {
    margin:0 5px;
}
#codebuttons td {
    padding:0 5px 5px 0;
}
#codebuttons .group_right{
    margin-right: 1px;
}
#forTextarea{
    border-collapse: collapse;
    width: 100%;
}
#message {
    width:99%;
}
#description{
    width: 70%;
    border-width: 1px;
    border-style: solid;
}
#addCommentArea {
    padding-bottom:0;
}

/* Some very old stuff from diary.ru */

.calnd {
    margin:5px;
}
.calnd th, .calnd td.cal-mnth{
    text-align:center;
}
.calnd td {
    text-align:right;
    font-weight:bold;
    font-size:92%;
}
.calnd small {
    text-align:center;
    font-size:100%;
    display:block;
    margin-bottom:2px;
    font-weight:normal;
}
.calnd big {
    text-align:center;
    font-size:150%;
    display:block;
    margin-bottom:2px;
    font-weight:normal;
}
.calnd small b{
    font-weight: bold;
}
.swb,.s {
    font-size:92%;
}
.s li {
    list-style-position:outside;
    list-style-type:square;
    padding:0 0 2px 10px;
    margin:0 0 2px 10px;
}
#cn1 {
    width:100%;
    margin-left:20%;
    text-align:right;
}

/* Popups */
.withfloat {
    display: block;
}
.withfloat:hover {
    text-decoration:none;
    position: relative;
    z-index: 10;
}
.withfloat b{
    font-weight: normal;
}
.withfloat .flwin {
    display:none;

}
.withfloat:hover .flwin {
    display:block;
    left: 20px;
    bottom: 120%;
    position:absolute;
    z-index:10;
    width:300px;
    text-align:left;
    text-decoration: none;
}
.withfloat:hover .flwin:hover {
    display:none;
}
.withfloat .flwin strong {
    display:block;
    padding:3px 9px;
    background:#800000;
    color:#fff;
    font-weight:normal;
}
.withfloat .flwin em {
    white-space: normal;
    display:block;
    padding:8px;
    background:#fffbf6;
    color:#666;
    font-style:normal;
    font-weight:normal;
    border-width:1px;
    border-style:solid;
    border-color:#800000;
    overflow:hidden;
}
.withfloat .flwin.right {
    left: -300px;
    _margin-left:-300px;
}
.withfloat:hover .flwin.top{
    bottom:0;
    top: 0;
}
/*?????????????? ??????*/
#info_wind .withfloat{
    display: inline;
}
#info_wind .flwin {
    background-color:#ffffff;
    border:1px solid #ffffff;
    opacity:0.9;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=90);
    padding:5px;
    width:250px;
    font-weight:normal;
}
#info_wind .withfloat:hover .flwin {
    _bottom: 102%;
}
#info_wind .flwin b{
    font-weight: bold;
}
#publick_info.withfloat:hover .flwin{
    left:-154px;
}
#rewrite_record_info.withfloat:hover .flwin{
    left:-194px;
}
/*???????? ??? ?????*/
@media all and (min-width:0px) {
    head~body .withfloat:hover{
        position:static;
    }
    head~body .withfloat:hover .flwin{
        bottom:auto;
        left: auto;
        margin-left: 125px;
        margin-top: -125px;
    }
    head~body .flwin em{
        min-height: 70px;
    }
    head~body .withfloat:hover .flwin.top{
        bottom:auto;
        left: auto;
        top: auto;
        margin-left: 0;
        margin-top: 3px;
    }
    head~body .withfloat .flwin.right{
        left: auto;
        margin-left: -280px;
    }
    head~body .calnd .withfloat .flwin{
        margin-left: 20px;
    }
    head~body .calnd .withfloat .flwin.right{
        margin-left: -300px;
    }
    head~body #info_wind .withfloat:hover .flwin{
        margin-top: -140px;
        margin-left:0;
    }
}
/*
html:first-child .withfloat:hover{
     position:static;
}
html:first-child .withfloat:hover .flwin{
     bottom:auto;
     left: auto;
     margin-left: 125px;
     margin-top: -125px;
}
html:first-child .flwin em{
     min-height: 70px;
}
html:first-child .withfloat .flwin.right{
     left: auto;
     margin-left: -280px;
}
html:first-child .calnd .withfloat .flwin{
     margin-left: 20px;
}
html:first-child .calnd .withfloat .flwin.right{
     margin-left: -300px;
}
html:first-child #info_wind .withfloat:hover .flwin{
     margin-top: -140px;
     margin-left:0;
}
*/
/* buttons */
input.submit{
    font: normal 90% Tahoma;
    vertical-align: middle;
    margin: 1px 0 1px 0;
    cursor: pointer;
    border: #999 1px solid;
    background: #e6e6e6;
    color: #666;
    /*width: 120px;*/
}
input.simplebutton {
    padding: 0px 2px 1px 2px;
    font: normal 90% Tahoma;
    background: #e6e6e6;
    border: #b8b8b8 1px solid;
    cursor: pointer;
    margin-left: 1px;
}
.img_div{
    width:100%;
    overflow:auto;
    overflow-y:hidden;
    display:block;
}

/* formTags */
.formTags {
    width: 100%
}
.formTags .content {  }
.formTags .favTags {
    float:right;
    width:57%;
}
.formTags .favTagsContent {
    height:165px;
    overflow:auto;
    overflow-y:hidden;
    border:ridge 1px;
    font-size:85%;
    background:#FFFFFF;
}
.formTags .sndTags {
    float:left;
    width:42%;
    overflow:hidden;
}

/*????? ????*/
#my_tags{
    border: 1px solid #cccccc;
    padding: 5px;
    margin: 3px 0 3px 0;
    overflow:auto;
    overflow-y:hidden;
    _width: 98%;
}
#my_tags ul{
    list-style: none;
    margin: 0 40px 0 0;
}
#my_tags ul li{
    white-space:nowrap;
    padding: 0;
}
#my_tags ul li input,
#my_tags ul li label{
    padding: 0;
    margin-bottom: 0;
}

/* ????????? */
#msgWin
{
    width:300px;
    position:fixed;
    margin-left:-150px;
    margin-top:-100px;
    left:50%;
    top:50%;
    visibility:hidden;
    display:none;
    z-index: 34;
}
#msgTitle
{
    display:block;
    background:#800000;
    color:#fff;
    font-weight:bold;
    width:100%;
}
#msgText
{
    display:block;
    padding:8px;
    background-color:#fffbf6;
    /*	height:70px;*/
    padding:10px;
    color:#666;
    font-style:normal;
    border:1px solid #800000;
    text-align:justify;
    vertical-align:middle;
}
#msgText a{
    color: #640e06;
    border-bottom: 1px solid #e5dfda;
    text-decoration: none;
}
#msgText a:hover{
    border-bottom: 1px solid #640e06;
    text-decoration: none;
}
.msgErr
{
    background:#f6f1ed url("http://static.diary.ru/i/alert.png") no-repeat 10px 40% !important;
    padding-left:70px !important;
}
*html #msgWin
{
    position: absolute;
}

.TagL {
    text-decoration: none !important;
    font-weight: bold;
}
.TagJIco { background:url('http://static.diary.ru/images/j.gif') no-repeat 0%; position:relative; padding-left:16px;display: inline-block; text-decoration: none !important;}


.AttMessage1{
    width:98%;
    position:absolute;
    left:1px;
    top:0px;
    padding:0px;
}
.AttMessage2{
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:9px;
    color:#ff0000;
    background:#eeeeee;
    border:1px #000000 solid;
    padding:3px;
    width:100%;
}
.AttMessage3{
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:9px;
    color:#000000;
    margin:0;
    padding:0;
}
.offtop{color:#999;}
.selectlist {
    background-color:#f0f0ee;
    display:inline;
    font-size:7pt !important;
    font-weight:normal;
    margin:3px;
    padding:0pt;
    vertical-align:top;
}
#list_smiles{
    margin: 0 5px 5px 5px;
}
.SmilePanelElement{
    float:left;
    text-align:center;
    border:1px;
}
.SmilePanelElement small{
    border:1px #bbbbbb solid;
    padding:0 2px 0 2px;
    margin:2px;
    display:block;
    color:#000000;
    font-size:70%;
}
*:first-child+html #shsmile{
    position: relative;
}
#msg_form {
    padding:0;
    margin:0;
    font-size: 100%;
}
#msg_form .mce table td{
    padding: 2px;
}
#msg_form .mce .mceToolbarTop{
    padding:0 2px 2px 0;
}

/*???????*/
#vkl{
    position: relative;
    bottom: -1px;
    top: 1px;
    list-style: none;
    text-align: center;
    z-index: 2;
    margin: 7px 0 0 0;
}
#vkl{
    height: 23px;
}
#vkl .z_top{
    height: 2px;
    display: block;
    margin: 0;
}
#vkl .z_top b{
    display:block;
    height: 1px;
    overflow: hidden;
    font-size: 0%;
}
#vkl .z_v{
    margin: 0 2px 0 2px;
    background-color: #cccccc;
}
#vkl .z_n{
    margin: 0 1px 0 1px;
    border-left: #cccccc 1px solid;
    border-right: #cccccc 1px solid;
}
#vkl li{
    float: left;
    margin: 0;
    display: block;
    margin-right: 2px;
}
#vkl li a{
    font: 11px Tahoma;
    padding: 3px 5px 4px 5px;
    display: block;
    text-decoration: none;
    border-left: #cccccc 1px solid;
    border-right: #cccccc 1px solid;
    border-bottom: #cccccc 1px solid;
    white-space:nowrap;
}
#vkl .current a{
    padding: 3px 5px 5px 5px;
    border-bottom: none;
}
/*end ???????*/

.quote_text{
    font-style: italic;
}

/*????????*/
#suggestform{
    border-style: solid;
    border-width: 1px;
    border-color: #cccccc;
    background-color: #ffffff;
    z-index: 100;
    position: absolute;
    font-size: 100%;
    padding: 0;
    cursor: pointer;
    margin-top: -2px;
    text-align: left;
    color: #333333;
}
.suggest_select, .suggest_unselect{
    padding: 2px 2px 2px 5px;
}
.suggest_select{
    background-color:#f0f0ee;
}

.pageBar {
    text-align:center;
    font-size: 90%;
    margin-bottom:1px;
    padding:5px;
}
.pageBar table{
    margin-left: auto;
    margin-right: auto;
}
.pageBar td{
    white-space: nowrap;
    padding: 0;
}
.pageBar a,
.pageBar strong{
    margin: 0 1px 0 1px;
    padding: 0 5px 0 5px;
}
.pageBar .active
{
    font-size: 120%;
    font-weight: bold;
}
.pageBar strong{
    font-size: 105%;
}
.pages_str a{
    font-weight: normal;
    margin: 0 7px 0 7px;
    padding: 0;
}
.clear{
    clear:both;
}
#login_change{
    display: none;
    border: 1px solid #928477;
    padding: 5px 12px 5px 12px;
    position: absolute;
    background-color: #ffffff;
    color: #333333;
    width:175px;
    z-index: 10;
    font-size:11px;
}
#login_change a{
    color: #640e06;
}
#login_change table,
#login_change form{
    margin: 0;
    padding: 0;
}
#login_change h3{
    font-size: 100%;
    margin-bottom: 5px;
}
#login_change input{
    margin-bottom: 0;
}
#login_change .submit{
    width: 70px;
    margin-top: 7px;
    border: 1px solid #928477;
}
#login_change input.text{
    border: 1px solid #928477;
    background-color: #ffffff;
    color: #333333;
}
#YaSearchForm{
    margin: 3px 0 0 0;
}
#YaSearchForm input.submit{
    width: 60px;
    margin: 0;
    padding: 1px 2px 0 2px;
}
.block_design #YaSearchForm input.submit{
    width: 50px;
}
html:first-child #YaSearchForm input.submit{
    padding: 2px;
}
#YaSearchForm input.text{
    width: 97%;
    margin: 0;
}
#GroupOp {
    padding:5px;
    text-align: right;
}
/* ??? ?????? ?????? ? ?? */
blockquote, .paragraph li, .paragraph ul {
    margin-top:0;
    margin-bottom:0;
}
.linkssection{
    margin-bottom: 1px;
}
.linkssection .paragraph{
    padding: 5px;
}

.linkssection .postLinks{
    clear: none;
    font-size: 85%;
    font-weight: normal;
    float:right;
}

/*.block_design - ??????? ??????*/
.block_design #topNav{
    display: none;
}
.block_design .bordered{
    border-style:solid;
    border-width:1px;
    margin-bottom:10px;
    padding:10px;
}
body.block_design:not(.pay26) .bordered{
    box-shadow: 1px 1px 3px 0 rgba(0,0,0,.5);
    border-radius: 3px;
}

.block_design .singlePost, .block_design .menuSection, .block_design #side h1, .block_design .header, .block_design .postContent, .block_design .singleComment, .block_design .postDate{
    margin:0;
}
.block_design .singlePost, .block_design .menuSection, .block_design .singleComment, .block_design .pageBar{
    border-top: 1px solid #ffffff;
    padding: 10px 0 10px 0;
}
.menu_block_inner{
    border-top: none !important;
}
.block_design .singlePost,
.block_design .singleComment{
    padding: 5px 0 5px 0;
}
.block_design #epigraph{
    border-top: none;
    border-bottom: 1px solid #ffffff;
    padding:0 0 10px 0;
    margin:0 0 10px 0;
}
.block_design .list_box{
    border-top: none;
    padding:0 0 10px 0;
}
.block_design .menuSection{
    padding: 10px 5px 0 5px;
    margin: 10px 0 0 0;
}
.block_design .section{
    padding: 0 5px 10px 5px;
    margin:0 0 10px 0;
    border-bottom: 1px solid #ffffff;
}
.block_design .lastPost{
    border: none;
    margin: 0;
    padding: 0;
}
.block_design .first{
    border: none;
}
.block_design #side h1, .block_design .header, .block_design .authorName, .block_design .postDate{
    padding: 0;
    margin: 0 0 10px 0;
}
.block_design #side h1{
    font-size: 100%;
    font-weight: normal;
}
/*.block_design .postTitle{
        margin-bottom: 0;
}*/
.block_design .formcontainer{
    margin-bottom: 0;
    padding: 0;
}
.block_design .postInner{
    margin-left: -165px;
}
.block_design .paragraph{
    margin-left: 165px;
    padding: 0 0 5px 0;
}
/*.pay26.block_design .paragraph{margin-left: 145px;}*/
/*.pay26.block_design .postInner{margin-left: -145px;}*/

.block_design .commentAuthor{
    margin-left: 0;
}
.block_design #content{
    padding: 0;
}
.block_design .postLinksBackg{
    padding: 5px 0 0 0;
}
.block_design #GroupOp {
    padding:10px 0 0 0;
    border-bottom: none;
    border-top-width: 1px;
    border-top-style: solid;
    margin-top: 10px;
}
.block_design .communityName{
    padding: 0;
}
.block_design .group_link{
    border-top: 1px solid #ffffff;
    padding: 10px 0 0 0;
    margin-top: 10px;
}
.block_design .linkssection{
    margin-top: 10px;
    margin-bottom: 0;
}
.block_design .linkssection .postLinksBackg{
    padding: 0;
}
.block_design #side h1{
    font-size: 92%;
    font-weight: normal;
    font-style: normal;
}
/*end .block_design*/
.prevNextLinks span{
    font-size: 115%;
}
.checkPostLink input{
}
#lastComments ul {
    width:100%;
    overflow:hidden;
}
#lastComments ul li {
    margin:0 0 0.5em 0;
    width:100%;
    overflow:hidden;
}
#lastComments ul li span {
    display:block;
    float:right;
}
.in-list.first{
    padding-top:0;
}
/* ???????????? */
.Attention, .urlLink{
    float:left;
}
/*
.Attention a, .urlLink a{
        text-decoration:none !important;
}
.Attention a:hover, .urlLink a:hover{
        text-decoration:underline !important;
}
.Attention{
        visibility:hidden;
}
.singlePost:hover .Attention, .singleComment:hover .Attention{
        visibility:visible;
}
/**/
.prevnext{
    margin-top:1px;
}
.block_design .prevnext{
    margin-top:0;
}
p{
    margin:5px 0 10px 0;
}
form{
    margin: 0;
    padding: 0;
}
.group_link{
    text-align: right;
}
#login_form td span{
    white-space: nowrap;
}
#login_form input.inp_check{
    margin-bottom: 0;
}
#login_form input.submit{
    width:70px;
    margin: 5px 0 5px 0;
}
#usrlog{
    width: 85px;
    margin-right: 5px;
}
#usrpass{
    width: 85px;
}
#open_uri{
    width: 180px;
}
.block_design #open_uri{
    width: 168px;
}
#login_change #usrlog,
#login_change #usrpass{
    width:75px;
}
#login_change #open_uri{
    width: 151px;
}
#open_id input, #open_id_com input{
    background-image: url('http://static.diary.ru/images/openid.gif');
    background-repeat:no-repeat;
    background-position: left;
    padding-left: 18px;
}
#log_pass td, #log_pass_r td{
    padding: 0;
}
#save, #openid{
}
#from_form td{
    height: 1.8em;
}
#from_form table td{
    height: 1em;
}
#msg_form #from_form td{
    padding: 0;
}
.opac6{
    opacity: 0.5;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
}

#Journal.journal_list .postInner,
#Journal.journal_list .paragraph,
#post0 .paragraph,
#post0 .postInner{
    float: none;
    margin-left: 0;
}
#Journal.journal_list .commentAuthor,
#post0 .commentAuthor{
    float: none;
    display: none;
}
#change_bg_area{
    float:right;
    position:relative;
    z-index:50;
    line-height: 23px;
}
#change_bg_area input, #change_bg_area_comm input{
    margin: 0 2px 0 0;
}
#pchs ul{
    overflow: hidden;
    width: 100%;
}
.input_line tr{
    vertical-align: middle;
}
.input_line input{
    margin-bottom: 0;
}
.input_line td{
    padding: 1px 4px 1px 0;
}
#trspisok{
    margin: 3px 0 3px 30px;
}
#AvatarSelector{
    padding-left: 20px;
    margin: 3px 0 3px 0;
}
#addPictureSection{
    padding-left:25px;
    border-style:none;
}
.blockquote {
    padding-left:30px;
}
.rssIco{
    opacity: 0.6;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=60);
}
input.std_submit{
    border: 1px solid #928477;
    background: #ffffff url(http://static.diary.ru/images/2007/but_bg.gif) repeat bottom left;
    color: #786f66;
    font-weight: bold;
    font-size: 100%;
    cursor: pointer;
    margin: 0;
    padding: 1px 2px 1px 2px;
    font-family: Tahoma;
}
.menu_block .adoff{
    width:728px;
    font-size: 90%;
    text-align:right;
}
#closetext_box td{
    padding-top: 5px;
}
#close_text{
    width:100%;
}
#NContentFrame{
    width: 50%!important;
}
.code{
    font-family:"Courier New", Courier, monospace;
    font-size:90%;
    border-width:1px;
    width:97%;
    padding:0 3px;
}
.menuSection_title{
    display:none;
}
#pchs_title, #lastComments_title{
    display:block;
}

/*??????? ????*/
.top .menuSection_title{ display:block; cursor:pointer; }
.top #topNav{ display:none; }
.top #bottomNav{ display:block; }
#bottomNav #Stats{float:right;}
/*#bottomNavLinks{float:left;}*/
.top #wrapper{position:relative;min-width: 755px;_width: expression((document.documentElement.clientWidth||document.body.clientWidth)<1005 ?'1005px':'100%'));}
.top #side{ float: none; display:block; margin-bottom:1px; width:auto; }
.top #page-c{ float: none; margin:0; display:block; width:inherit; }
.top #page-t{ float: none; margin:0; }
.top .menuSection{ float:left; background-color: transparent; }
.top.block_design .menuSection{padding-top:0; margin-top: 0;}
.top #side h1{ text-align:left;}
.top.block_design #side h1{padding-bottom:10px;}
.top #YaSearchForm_title,  .top #YaSearch_title{ display:none; }
.top .menuSection ul, .top #sign{ display:none; position:absolute; z-index:50; margin-top:0px; padding:7px!important; }
.top .menuSection:hover ul, .top .menuSection.iehover ul,  .top #login_form:hover #sign,  .top #login_form.iehover #sign{ display:block; }
.top .menuSection ul li{ white-space:nowrap; }
.top #YaSearch{width:200px;position:absolute;right: 0;top: 23px;}
.top.block_design #YaSearch{top: 45px;}
.top #YaSearchForm{display:block!important; visibility:visible!important;}
.top .menuSection ul b{ font-weight:normal; }
.top #lastComments ul{ width:250px; }
.top #lastComments ul li{ width: auto; }
.top #thisDiaryPhoto{ display:none; position:absolute; padding:10px; margin-top:25px; right:0;}
.top #thisDiaryInfo:hover #thisDiaryPhoto,  .top #thisDiaryInfo.iehover #thisDiaryPhoto{ display:block; }
.top #authorName{ font-size: 130%; padding: 5px; font-weight:bold; display:block; white-space:nowrap; float:right; text-align:right;}
.top #thisDiaryInfo{ width:120px; position: absolute; right:0; top:0; text-align:right; margin: 0; z-index:50; }
.top #pchs ul{width: 250px;}
.top #pchs ul li{white-space: normal;}
.top.block_design #thisDiaryInfo{top:10px;}
.top #sign{width: 200px;}

#side #search_selectnewsel{
    margin:0;
    border-right: none;
    height: 1.35em;
    padding: 0 2px;
}
#side #search_selectbtid{
    background: #ffffff url('http://static.diary.ru/images/2007/select_but_journal.gif') no-repeat center;
    cursor: pointer;
    width: 12px;
    padding: 	0;
    opacity: 0.7;
    margin:0;
    border: 1px solid #cccccc;
    height: 1.35em;
}
#side .search_select_list{/*????? ?????*/
    border-style: solid;
    border-width: 1px;
    background-color: #ffffff;
    color: #666666;
    position:absolute;
    z-index: 10;
    font-size: 100%;
    padding: 0;
    cursor: pointer;
}
#side .search_select_list .select_line{/*?????????? ?????? ??? ??????*/
    background-color: #e0dbd6;
}
#side #search_selectsform{
    border-color: #928477;
    margin: -1px 0 0 0;
    background-color: #ffffff;
}
#side #search_selectsform .unselect_line,
#side #search_selectsform .select_line{
    padding: 2px 2px 2px 5px;
    white-space:nowrap;
}
#YaSearchForm #yaquery{
    height: 1.35em;
    padding: 0 2px;
}
#ChebraCounter img{
    width:0;
    height:0;
}
#ChebraCounter{
    position:absolute;
    width:0;
    height:0;
    font-size: 0;
    left:0;
    top: 0;
    opacity: 0;
}
.EditFavSmileysLink{
    line-height:20px;
}
.htmlbox, #shsmile{
    border: 1px solid #cccccc;
}
/*??????*/
.mceToolbarTop{background-color:#f0f0ee;}
a.mceButtonNormal img, a.mceButtonSelected img, a.mceButtonDisabled img{
    border: #cccccc 1px solid;}
*html a.mceButtonNormal, *html a.mceButtonSelected, *html a.mceButtonDisabled{
    border: #cccccc 1px solid;}
span.mceMenuButton img, span.mceMenuButtonSelected img{border: #cccccc 1px solid;}
span.mceMenuButton img.mceMenuButton, span.mceMenuButtonSelected img.mceMenuButton, span.mceMenuButton:hover img.mceMenuButton, span.mceMenuButtonSelected:hover img.mceMenuButton{border-left:none!important;}
#shsmile, #jsbut{background-color: #f9f9f9;}

/*???????*/
#vkl .current a, #vkl .current .z_n{background-color:#f9f9f9;}
#vkl li a, #vkl .z_n{background-color:#f9f9f9;}

#YaSearchForm table td{
    padding:2px;
}
#YaSearchForm table td td{
    padding:0;
}
.authorName .othercommposts{
    float: right;
    font-size:85%;
    padding-right: 5px;
}
.menu_block_inner{
    padding:0 !important;
}
.block_design .menu_block_inner{
    margin-bottom:10px;
}
.menu_block {
    font-size:80%;
    text-align: center;
    padding:10px !important;
    display:block /*!important*/;
    visibility:visible /*!important*/;
}
.menu_block .bottom
{
    padding:10px !important;;
}
.op05{
    opacity: 0.5;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
}


body:not(.block_design) .relap-diary_ru__promo-wrapper { padding: 5px; }

body:not(.pay26) .postInner { overflow: hidden; }
body.pay26 .side_banners_box, body.pay63 .side_banners_box, body.pay64 .side_banners_box { display: none; }
body:not(.top):not(.pay26):not(.wide) #wrapper {max-width: 1005px;padding-right: 250px;}

/*top ---------------------------------------*/
body.top:not(.pay26):not(.pay63):not(.pay64) a#authorName { margin-right: 10px; }
body.top:not(.pay26):not(.pay63):not(.pay64) .bordered.menu_block > div {max-width: 728px;}

@media (max-width: 1024px) { body.top .side_banners_box { display:none;} }
@media (min-width: 1024px) and (max-width: 1600px)
{
    body.top:not(.pay26):not(.pay63):not(.pay64) #YaSearch {display:none;}
    body.top:not(.pay26):not(.pay63):not(.pay64) #wrapper {left:0;padding-right:260px;margin:0;}

    body.top:not(.pay26):not(.pay64):not(.pay63) .side_banners_box {position:fixed; top: 0 !important;right: 0;left: auto !important;background: #fff;padding: 0px 10px;height: 100%;box-shadow: 3px 0 3px -2px #111 inset;}
    body.top:not(.pay26) .side_banners_box > * {background:none !important; border: none !important; box-shadow:none !important;}
}
@media (min-width: 1200px) { .top:not(.pay26) #YaSearch {right:10px;display:block;} }
@media (min-width: 1600px) {
    body.top:not(.wide):not(.pay26):not(.pay63):not(.pay64) #wrapper {width:1000px; padding-right:260px;}
    body.top:not(.wide):not(.pay26) .side_banners_box { right: calc(50% - 630px); }
}
/* если меньше 1300 */
@media (max-width: 1300px)
{
    body:not(.top):not(.wide):not(.pay26):not(.pay63):not(.pay64) #wrapper {/* width: 100%; */max-width: 100%;padding-right: 0;}
    body:not(.pay26) .side_banners_box { display: none; }
    body:not(.pay26) .ads_left {
        position: absolute;
        width: 242px;
    }
}

/* если больше 1300 */
@media (min-width: 1300px)
{
    body:not(.pay26) .side_banners_box { position: fixed;top: 10px;width: 240px; }
    /*body:not(.pay26) .ads_left { position: fixed;top: 10px;width: 240px; }*/
    body:not(.pay26) .side_banners_box { right: 10px; }
    body.left:not(.pay26):not(.wide) .side_banners_box { right: calc(50% - 637px); }
    body.left:not(.pay26):not(.wide) .ads_left { right: calc(104% - 637px); }
    /*body:not(.pay26):not(.wide) .side_banners_box { right: calc((100% - 1255px) /2); }*/

    body.right:not(.pay26) .side_banners_box {left:10px;right:auto;}
    body.right:not(.pay26):not(.wide) .side_banners_box { left: calc(50% - 637px); }

    body.wide:not(.pay26):not(.pay64):not(.pay63) #wrapper {max-width: calc(100% - 260px); padding-right: 260px;padding-left: 0px;}
    body.right:not(.pay26):not(.pay64):not(.pay63) #wrapper {padding-left: 260px; padding-right: 0;}

    body.block_design:not(.top):not(.pay26) .side_banners_box { top: 0px;}

    body.pay64:not(.pay26):not(.wide) #wrapper, body.pay63:not(.pay26):not(.wide) #wrapper { max-width: 1255px; padding-left: 0; padding-right: 0;}

    body:not(.pay26):not(.pay64):not(.pay63) .side_banners_box {top: 0;padding: 0px 10px;height: 100%;/* box-shadow: 3px 0 3px -2px #111 inset; right: 0 !important; left: auto !important; background: #fff;*/}
    /*body.right:not(.pay26):not(.pay64):not(.pay63) .side_banners_box {right: auto !important;left:0 !important;box-shadow: -3px 0 3px -2px #111 inset; }*/
    body:not(.block_design):not(.pay26):not(.pay64):not(.pay63) .side_banners_box { padding-top:10px;}
    /*body:not(.pay26) .side_banners_box > * {background:none !important; border: none !important; box-shadow:none !important;}*/
}
/*---------------------------------------*/
body > #diaryInfo { background: white; text-align: center; color: #640e06; font-weight: bold; padding: 7px; box-shadow: 0 -1px 1px 0 rgba(0,0,0,.5) inset; font-size: 1.2em; }
body > #diaryInfo > div { float: right; }
body > #diaryInfo > div > a {text-decoration: none;border:none;}

.pool-bar{
    height: 10px;
    border: 1px solid #111;
    box-shadow: 0px 1px 2px 0 rgba(0,0,0,.5), 1px 1px 0px 0 rgba(255,255,255,.4) inset;
    opacity: .8;
}
.pool-bar.b1{background: #7bd69c;}
.pool-bar.b2{background: #f76b6b;}
.pool-bar.b3{background: #6b6bf7;}
.pool-bar.b4{background: #f7bd6b;}
.pool-bar.b5{background: #f76bf7;}
.pool-bar.b6{background: #6bd6d6;}
.pool-bar.b7{background: #7bd69c;}
.pool-bar.b8{background: #f76b6b;}
.pool-bar.b9{background: #6b6bf7;}
.pool-bar.b10{background: #f7bd6b;}
.pool-bar.b11{background: #f7f3b2;}

.admin{position: absolute; left:10px;}

/* form fileuploader --------------------*/
#addPictureSectionRes .uploadform {background: rgba(198,198,198,0.3); border: solid 1px rgba(0,0,0,0.2); width: 102px; height: 102px; margin: 2px; padding: 2px; float:left; }
#addPictureSectionRes .uploadform td{overflow: hidden;position: relative;vertical-align: middle;background-color: #f4efeb;}
#addPictureSectionRes .uploadform td > .progressbar {position: absolute; right: 0; top: 0; bottom: 0; left: 0; background: rgba(255,255,255,.7);}
#addPictureSectionRes .uploadform .error:before, #addPictureSectionRes .uploadform .error:after{content: ''; display: block; position: absolute; right:0; bottom:0; top: 0; left: 0; background: rgba(255,255,255,.8);}
#addPictureSectionRes .uploadform .error:before {background: rgba(255,255,255,.8); box-shadow:1px 1px 2px -1px #111 inset;}
#addPictureSectionRes .uploadform .error:after {background: url("https://diary.ru/images/icons/error.svg") no-repeat 50% /80%;opacity: .7;filter: drop-shadow(0px 0px 3px #111);}
#addPictureSectionRes .uploadform:hover .error:before {background: rgba(255,255,255,.9);}
#addPictureSectionRes .uploadform:hover .error:after {background:none;opacity:1;content:attr(data-error);filter: none;padding:5px;font-size:.9em;display:table-cell;vertical-align: middle;}
/*---------------------------------------*/
/* msgWin -------------------------------*/
#msgWin{border-radius:3px;box-shadow:1px 1px 7px -1px #111;}
#msgWin #msgTitle {text-shadow:1px 1px 1px #111;border-radius:3px 3px 0 0;width:100%;box-shadow:0 1px 3px 0 #111;}
#msgWin #msgTitle span {margin:3px;display:inline-block;}
#msgWin button.close{width:15px;height:15px;line-height:10px;font-size:15px;padding:0 0 0 1px;text-align:center;font-weight:bold;border-radius:2px;border:1px solid #888;right:3px;top:3px;position:absolute;}
#msgWin button.ok{min-width:70px;border: 1px solid #928477;border-radius: 3px;background: #bbb;color: #444;font-weight: bold;font-size: 100%;cursor: pointer;margin: 0;padding: 3px 7px;font-family: Tahoma;box-shadow: 1px 1px 2px -1px #111, 0 10px 10px 0 rgba(255,255,255,.7) inset;text-shadow: 0 1px 0 rgba(255,255,255,.5);margin-top: 20px;}
/*---------------------------------------*/

.process:before {content: '';background: url('https://static.diary.ru/images/process.svg') 100%/100% no-repeat;display: inline-block;width: 10px;height: 11px;position: absolute;top: 4px;left: 6px;margin: 0 7px 0 -2px;top: calc(50% - 6px);}
.process {position:relative;}
li.process:before{top:1px;left:0px;}
li.process{padding-left:12px !important;}
.delPostLink .process:before { height: 12px; width: 12px; left: 2px; top: 3px; }

#oamLink{display:none;}
#oamLink:after {content: '';background: url(https://static.diary.ru/images/oam.gif);display: inline-block;height: 14px;width: 35px;}
#oamLink.process:before {left: -10px;}
#oamLink.active:after{background: url(https://static.diary.ru/images/cam.gif);}
#oamLink {position: relative;cursor: pointer;display: inline-block;float: right;/* outline: 1px solid rgba(128,128,128,.9); *//* padding: 0px 5px 1px 3px !important; */border-radius: 1px;font-size:7px;margin-right: 3px;margin-top: 1px;opacity: .6;}
#Journal #oamLink{opacity:1; margin-top:0;margin-right:0;}
/*body:not(.Admin) #oamLink{display:none!important;}*/

.sml_box { display: inline-block; margin: 5px; text-align:  center; }
.sml_box label{display:none;}
.sml_box img {max-height: 50px;}

/*-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
.popover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1010;
    display: none;
    max-width: 300px;
    padding: 1px;
    text-align: left;
    background-color: #ffffff;
    background-clip: padding-box;
    border-radius: 4px;
    -webkit-box-shadow: 0px 0px 13px 1px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 13px 1px rgba(0, 0, 0, 0.15);
    white-space: normal; }

.popover.top {
    margin-top: -10px; }

.popover.right {
    margin-left: 10px; }

.popover.bottom {
    margin-top: 10px; }

.popover.left {
    margin-left: -10px; }

.popover-title {
    margin: 0;
    padding: 11px;
    float: right; }

.popover-content {
    padding: 7% 9%;
    color: #808080;
    font-weight: normal !important;
    overflow: hidden; }

.popover .arrow, .popover .arrow:after, .dropdown > a .arrow, .dropdown > a .arrow:after, .my-popover .arrow, .my-popover .arrow:after, .more-info .arrow, .more-info .arrow:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid; }

.popover .arrow, .my-popover .arrow, .more-info .arrow, .dropdown > a .arrow {
    border-width: 11px; }

.popover .arrow:after, .my-popover .arrow:after, .more-info .arrow:after, .dropdown > a .arrow:after {
    border-width: 10px;
    content: ""; }

.popover.top .arrow, .my-popover.top .arrow, .dropdown > a .arrow {
    left: 50%;
    margin-left: -11px;
    border-bottom-width: 0;
    border-top-color: #999999;
    border-top-color: rgba(0, 0, 0, 0.04);
    bottom: -11px; }

.popover.top .arrow:after, .my-popover.top .arrow:after, .dropdown > a .arrow:after {
    content: " ";
    bottom: 1px;
    margin-left: -10px;
    border-bottom-width: 0;
    border-top-color: #ffffff; }

.popover.right .arrow {
    top: 50%;
    left: -11px;
    margin-top: -11px;
    border-left-width: 0;
    border-right-color: #999999;
    border-right-color: rgba(0, 0, 0, 0.25); }

.popover.right .arrow:after {
    content: " ";
    left: 1px;
    bottom: -10px;
    border-left-width: 0;
    border-right-color: #ffffff; }

.popover.bottom .arrow, .my-popover.bottom .arrow, .more-info .arrow {
    left: 50%;
    margin-left: -11px;
    border-top-width: 0;
    border-bottom-color: rgba(0, 0, 0, 0.04);
    border-bottom-color: rgba(0, 0, 0, 0.04);
    top: -11px; }

.popover.bottom .arrow:after, .my-popover.bottom .arrow:after, .more-info .arrow:after {
    content: " ";
    top: 1px;
    margin-left: -10px;
    border-top-width: 0;
    border-bottom-color: #ffffff; }

.popover.left .arrow {
    top: 50%;
    right: -11px;
    margin-top: -11px;
    border-right-width: 0;
    border-left-color: #999999;
    border-left-color: rgba(0, 0, 0, 0.25); }

.popover.left .arrow:after {
    content: " ";
    right: 1px;
    border-right-width: 0;
    border-left-color: #ffffff;
    bottom: -10px; }
.popover button{display:none;}
/*-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
h1{
    display:inline-block;
}
.postTitle.header h1 {
    background: inherit;
    margin: inherit;
}

.last_open_post_list_block > div:not(:last-child) {
    line-height: 1em;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 50%;
    float: left;
}

.block_design .last_open_post_list_block {
    padding-top: 10px;
}

.last_open_post_list_block a {
    display: block;
    margin-bottom: 10px;
}
