.clearfix {float: none; clear: both;}
.left {text-align: left;}
.center {text-align: center;}
.right {text-align: right;}
.hidden {display: none;}

.g-overflowh {overflow: hidden;}

b, strong, .b, .strong {font-weight: bold;}
i, em {font-style: italic;}
sup {vertical-align: super;}
sub {vertical-align: sub;}

body {font: 12px/1.2em Arial, sans-serif; margin: 0; background: #fff;}
.overwrap {position: relative; margin: 0 auto; padding: 0; margin: 0 10px;}

.topline {background: #204379; height: 52px; margin: 0 10px;}

.toplink {right: 300px; z-index: 2600; position: fixed; display: block; bottom: 10px; padding: 32px 12px 4px; color: white; background: #333 url(/static/pics/b-j-top.png) no-repeat 50% 11px; border-radius: 7px; opacity: 0.5; cursor: pointer; color: #fff;
          text-align: center;
          font-family: Arial;
          line-height: 25px;
          margin-bottom: 10px;}

.toplink:hover {opacity: 1;}

.mainleft {position: absolute; background: #204379; width: 220px; }
.maincenter {position: absolute; background: #E0D2C7; left: 220px; right: 240px;}
.mainright {position: absolute; background: #ECD5DE; width: 240px; right: 0; }

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}
body {
    font: 12px/18px Arial, sans-serif;
}

/* End of of styles for the demo */
.wrapper {
    min-width: 200px;
    max-width: 2000px;
    margin: 0 auto;
}


/* Header
-----------------------------------------------------------------------------*/
.header {margin: 0 10px; background: #204379; height: 240px; overflow: hidden; text-align: center;}
.header__cross {display: block; background: url(/static/pics/header_cross.png) no-repeat left top; width: 111px; height: 108px; position: absolute; top: 36px; left: 70px;}
.header__logo {display: block; width: 698px; height: 165px; margin: 20px auto 0;}
.header__icon {display: block; width: 133px; height: 184px; position: absolute; right: 50px; top: 0;}
.header__topline {height: 50px; border-top: 2px solid #F9E680; margin: 2px 0 0;}
.header__topline_openmenu {height: 50px; border-top: 0; margin: 0;}
.topsearch {float: right; width: 200px; padding: 8px 0 0;}
.topsearch__form {}
.topsearch__input {color: #333; font-size: 12px; line-height: 16px; height: 16px; font-weight: bold; border: 1px solid #ccc; width: 146px; padding: 2px; background: #FFEC9F; float: left; margin: 5px 6px 0 0;}
.topsearch__submit {background: url(/static/pics/topsearch_submit.gif); border: 0; display: block; width: 27px; height: 23px; cursor: pointer;}

.topSocial { /*CDW*/
    float: right;
    margin-right: 9px;
    margin-top: 8px;
}


.header__openmenu {display: none; float: left; width: 22px; height: 22px; background: url(/static/pics/menu_open.png) no-repeat left top; margin: 14px 0 0 14px;}

/* Middle
-----------------------------------------------------------------------------*/
.middle {
    border-left: 280px solid #204379;
    border-right: 280px solid #fff;
    position: relative;
    margin: 0 10px;
}
.middle:after {
    display: table;
    clear: both;
    content: '';
}
.container {
    width: 100%;
    float: left;
    overflow: hidden;
    margin-right: -100%;
}
.content {
    padding: 10px 20px;
}

.redline {background: url(/static/pics/content_heading.gif) repeat-x left bottom; margin: 20px 0; height: 7px;}

.content__heading {background: url(/static/pics/content_heading.gif) repeat-x left bottom; color: #F00; font-size: 16px; font-weight: bold; padding-bottom: 10px; margin: 0 0 10px; position: relative;}
.content__heading-print {display: block; background: url(/static/pics/print22x20.gif) no-repeat left top; width: 22px; height: 20px; position: absolute; right: 0; top: 0;}
.content__subheading {color: #204479; font-size: 16px; font-weight: bold; margin: 20px 0 20px;}
h3.content__subheading {
    margin-left: 32px;
    margin-bottom: 6px;
    margin-top: 8px;
    font-size: 14px;
}
li.content-list-bookmarks__item {
    font-size: 14px;
    margin-left: 32px;
    font-weight: normal;
}
.content__inner {font-size: 14px; color: #333; margin: 0 0 40px;}
.content__inner p {margin: 0 0 1em; color: #333;}
/*.content__inner p a {color: #333; line-height: 1.2;}*/
.content__inner img {margin: 10px;
                     max-width: 90%;
                     height: auto;
}

.content_pic {margin: 10px;}
.content_pic_right {float: right;}

.content-list {margin: 0 0 40px;}
.content-list__items {}
.content-list__item {margin: 10px 0px 10px 0px; line-height: 18px; font-size: 14px; color: #333;
                     cursor: pointer;}
.content-list__link {color: #333;}
.content-list__title {color: black; 
                      font-weight: bold;
                      font-size: 16px;}
/* CDW .content-list__calendpic {float: right; margin: 10px;}*/
li.content-list__item a {
    text-decoration: none; /*CDW*/
    color: #204479;
}
li.content-list__item span {
    font-weight: bold; /*CDW*/
}
li.content-list__item:hover {
    text-decoration: underline;  /*CDW*/
}
li.content-list__item i {
    font-style: normal; /*дата*/
}

.content-list-magazine {display: block; margin: 0 0 40px;}
.content-list-magazine__items {display: block;}
.content-list-magazine__item {display: block; width: 150px; margin: 0 0 0px; height: 190px; float: left; text-align: center; font-size: 16px; line-height: 1;}
li.content-list-magazine__item {padding-top: 10px;}
.content-list-magazine__number {display: block; color: #333; font-weight: bold;}
.content-list-magazine__number a {color: #333;}
.content-list-magazine__pic {display: block; margin: 10px 0 0;}
.content-list-magazine__pic a {}

.content-list-bookmarks {display: block; padding: 0 0 0 40px;}
.biblio .content-list-bookmarks {padding: 0 0 0 0;}
.keywords .content-list-bookmarks {padding: 0 0 0 0;}
.persons .content-list-bookmarks {padding: 0 0 0 0;}
.news .content-list-bookmarks {padding: 0 0 0 0;}
.authors .content-list-bookmarks {padding: 0 0 0 0;}
.common .content-list-bookmarks {padding: 0 0 0 0;}
.content-list-bookmarks__item {
    display: block; margin: 0 0 5px; display: block; font-size: 16px; color: #333; font-weight: bold;
    padding-left: 32px;
}
.content-list-bookmarks__item {
    padding-left: 0px;
}
.content-list-bookmarks__link {color: black;}
.news .content-list-bookmarks__link {    
    /*color: #204479;*/
    color: black;
    font-weight: bold;
}
a.content-list-bookmarks__link {
    display: table-cell;
    padding-left: 32px;
    font-weight: normal;
}
.biblio a.content-list-bookmarks__link { /*biblio*/
    display: table-cell;
    padding-left: 0px;
    font-weight: bold;
    font-size: 16px;
    color: #204379;
}
.keywords a.content-list-bookmarks__link { /*keywords*/
    display: table-cell;
    padding-left: 0px;
    font-weight: bold;
    font-size: 16px;
    color: #204379;
}
.persons a.content-list-bookmarks__link { /*keywords*/
    display: table-cell;
    padding-left: 0px;
    font-weight: bold;
    font-size: 16px;
    color: #204379;
}
.content-list-bookmarks__item span.redDate {
    display: table-cell;
}

.content-list-biblio {padding: 0 0 20px 40px;}
.content-list-biblio__item {margin: 0 0 10px; display: block; font-size: 14px; color: #333; font-weight: bold;}
.content-list-biblio__link {color: #333;}

.content-list-gray {display: block;}
.content-list-gray__item {display: block; margin-bottom: 5px; color: #333; font-size: 14px; font-weight: bold;}
.content-list-gray__link {
    color: #204379;
    padding-left: 32px;
    display: block;
}
.authors .content-list-gray__link {
    padding-left: 0px;
    font-size: 16px;
}

.content-list-news {display: block; margin: 0 0 40px;}
.content-list-news__item {display: block; margin: 0 0 10px; font-size: 14px; font-weight: bold; clear: both; padding: 0 0 0 80px;}
.content-list-news__date {color: #f00; display: block; float: left; margin: 0 0 0 -80px;}
.content-list-news__text {color: #333;}
.content-list-news__link {color: #333;}

.content-list-links {display: block; margin: 0 0 40px;}
.content-list-links__item {display: block; clear: both; margin: 0 0 10px; padding: 0 0 0 260px;}
.content-list-links__item:after {display: block; clear: both; margin: 0 0 10px; content: "";}
.content-list-links__item a {color: #333;}
.content-list-links__banner {display: block; width: 260px; float: left; margin-left: -260px;}
.content-list-links__title {font-size: 14px; font-weight: bold; color: #333;}
.content-list-links__code {font-size: 12px;}

.vote {margin: 0 0 20px;}
.vote__like {}
.vote__like span {color: #008000;}
.vote__like a {color: #008000; border-bottom: 1px dotted #008000; text-decoration: none;}
.vote__dislike {}
.vote__dislike span {color: #f00;}
.vote__dislike a {color: #f00; border-bottom: 1px dotted #f00; text-decoration: none;}

.comments {margin: 0 0 1em;
           font-size: 14px;}
.comments__title {margin: 0 0 0.5em !important;}
.comments__name {color: #1462B4;}
.comments__text {margin: 0 !important;}

.block-add-comment {}
.block-add-comment__inner {}
.block-add-comment__item {clear: both; margin: 0 0 0.5em;}
.block-add-comment__label {display: block; width: 100px; float: left;}
.block-add-comment__input {width: 66%;}
.block-add-comment__textarea {width: 66%;}
.block-add-comment__captcha {}
.block-add-comment__captcha img {margin: 0 0 1em !important;}
input.block-add-comment__submit {padding: 5px 10px; color: #333; background: #D3D3D3; cursor: pointer;}

/* Left Sidebar
-----------------------------------------------------------------------------*/
.left-sidebar {float: left; width: 280px; position: relative; left: -280px; margin: -40px 0 0;}
.left-sidebar__inner {background: #204379; width: 280px; overflow: hidden;}
.left-sidebar__block {padding: 0 20px; margin: 0 0 30px;}
.left-sidebar__block_menu {}
.left-sidebar__heading {border-bottom: 1px solid #B9DEE8; color: #f00; font-size: 14px; font-weight: bold; padding-bottom: 5px; margin-bottom: 20px; text-align: left;}
.left-sidebar__heading_menu {margin-bottom: 0;}
.left-sidebar__block a {color: #FDE58B; text-decoration: none;}
.left-sidebar__block p {margin: 0 0 1em;}
.mainmenu {display: block;}
.mainmenu__item {display: block; font-size: 14px; color: #FDE58B; background: url(/static/pics/mainmenu_marker.gif) no-repeat left center; padding: 10px 10px 10px 16px; border-bottom: 1px solid #28548B;}
.mainmenu__link {text-decoration: none;}
.mainmenu__link:hover {text-decoration: underline;}

.mainmenu__item.donate  {
    background: url(/static/pics/mainmenu_marker.gif) no-repeat left top 15px; /*CDW*/
}
.mainmenu__item.donate ul {/*CDW*/
    padding-top: 7px;
    padding-left: 10px;
}
/* Right Sidebar
-----------------------------------------------------------------------------*/
.right-sidebar {
    float: right;
    margin-right: -280px;
    width: 280px;
    position: relative;
    background: #fff;
}

.right-sidebar__block {padding: 10px 0; margin: 0 0 40px;}
.right-sidebar__heading {background: url(/static/pics/content_heading.gif) repeat-x bottom left; color: #F00; font-size: 16px; font-weight: bold; padding-bottom: 10px; margin: 0 0 10px;}

.right-sidebar-list {
    font-weight: bold;
}
.right-sidebar-list__item {display: block; margin: 0 0 10px;     font-size: 14px;}
.right-sidebar-list__date {display: block; color: #204479; font-weight: normal;}
span.right-sidebar-list__author {
    color: #1462B4;
}
.right-sidebar-list__text {display: block; color: black; text-decoration: none;}
.right-sidebar-list__text a {color: black; text-decoration: none;}
.right-sidebar-list__text a:hover {color: black; text-decoration: underline;}

/* Footer
-----------------------------------------------------------------------------*/
.footer {
    height: 280px;
    background: #000000;
    margin: 0 10px;
    position: relative;
    padding: 10px 15px;
    color: #fbe58b;
    font-size: 12px;
    line-height: 14px;
}
.footer a {
    color: #fbe58b;
}
.footer p {
    padding-bottom: 10px;
}
.footer__copyright {width: 240px; float: left;}
.footer_counters {position: absolute; left: 240px; right: 240px; text-align: center; padding: 24px 0 0;}
.footer__development {width: 240px; float: right; text-align: right; padding: 25px 0 0;}

@media only screen and (max-width: 1224px) {
        .day_icon {display:none;}
}


@media only screen and (max-width: 1024px) {
    .header__cross {display: none;}
    .header__icon {display: none;}
    .middle {border-right: 0;}
    .right-sidebar {display: none;}

    .footer {height: auto;}
    .footer__copyright, .footer_counters, .footer__development {float: none; width: auto; text-align: left; position: static; margin: 0 0 10px; padding: 0;}
    .footer_counters {height: 31px;}
    .day_icon {display:none;}
    .nomob {display: none};
}

@media only screen and (max-width: 790px) {
    .header {height: auto; margin: 0;}
    .header__openmenu {display: block;}
    .middle {border-left: 0; margin: 0;}
    .left-sidebar {display: none; position: fixed; top: 0; left: 0; margin: 0; overflow: auto; width: 100%; background: rgba(0,0,0,0.55);}
    .left-sidebar__inner {position: relative;}
    .header__logo {width: 100%; height: auto; max-width: 698px;}
    .header__logo img {width: 100%; height: auto; max-width: 698px;}

    .content__inner img {margin: 10px auto; float: none !important; display: block;}

    .footer {margin: 0;}
    .footer_counters {height: auto; overflow: hidden;}
    .nomob {display: none};
}

/*** CDW ***/

@media print {
     .header {display:none;}
    .header__openmenu {display: block;}
    .middle {border-left: 0; border-right: 0; margin: 0;}
    .left-sidebar {display: none; }
    .right-sidebar {display: none; }

    .header__logo {display:none;}
    .header__logo img {display:none;}

    .content__inner img {margin: 10px auto; float: none !important; display: block;}

    .footer {display:none;}
    .footer_counters {display:none;}
    
    h1.content__heading { display: none;}
    form {display: none;}
    .noprint { display: none;}
   
}

.content-list-bookmarks__item span.redDate{
    color:red;
    font-weight: bold;
}
span.redDate{
    color:red;
}

div.day_icon{
    float: right;
    text-align: center;
}

.doc_author, .doc_date {
    text-align:right;
    font-size: 14px;
}
.doc_date {
    font-weight: normal;
}
.doc_author{
    font-weight: bold;
    color: #204379;
}

.doc_author a {
    text-decoration: underline;
    color: #204379;
}

h2{
    font-size: 16px;
    font-weight: bold;   
    margin-bottom: 16px;
}
h3{
    font-size: 14px;
    font-weight: bold;   
    margin-bottom: 12px;
}

.red_date {
    font-weight: bold;
    color: red;
}
a {
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}
h1 a {
    color: red;
}
h1 a:hover {
    text-decoration: none;
    color: #b70000;
    /*filter: drop-shadow(0px 0px 4px #ffa9a9);*/

}
h1.content__heading a:before {
    content: "\00BB";
    margin-right: 5px;
}
h1.content__heading a:before {
    text-decoration: none!important;
}
h1.content__heading a:first-child:before {
    content: '';
    margin-right: 0px;
}
h1.content__heading a.content__heading-print:before {
    content: '';
}

li.content-list-magazine__item.currentNumber1 {
    background-color: #e7e3e0;
}

.content-list-onelevel {
    padding: 0 0 0 0;
}
li.content-list-onelevel__item {
    margin-left: 32px;
    margin-left: 32px;
    display: block;
    margin: 0 0 5px;
    color: #333;
    font-weight: bold;
    padding-left: 32px;
}
a.content-list-onelevel__link {
    display: table-cell;
    padding-left: 0px;
    font-weight: bold;
    font-size: 16px;
    color: #204379;
}

.seeAlso ul.content-list__items {
    margin-left: 32px;
}
.seeAlso {
    margin-bottom: 32px;
}
.seeAlso ul.content-list__items {
    list-style-type: disclosure-closed;
}

h1 a {
    /*max-width: 30%;*/
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
h1 a:nth-last-of-type(3) {
    max-width: 30%;
}
/*
h1 a:nth-last-of-type(2) {
    color: black;
}
*/
h1.content__heading {
    white-space: nowrap;
    overflow: hidden;
    /* padding-right: 50px; */
}

.content__inner a {
    text-decoration: underline;
    color: #010178;
    /*font-weight: bold;*/
}

.title_vote_comment {
    font-weight: bold;
}

.block-comments-form__messages {
    color: red;
    font-weight: bold;
}

.block-comments-form__success {
    color: green;
    font-size: 207%;
    text-align: center;
    font-weight: bold;
        line-height: 132%;
}