table{border:0px;border-collapse:collapse;}
table td{padding:0px; vertical-align: top;}
table tr{margin: 0 0 0 0;padding: 0 0 0 0;}

img{border: 0;margin: 0 0 0 0;padding: 0 0 0 0;}

p.pc {text-align: center; line-height: 1px;}
p.pcb {text-align: center; font-weight: bold;}
p.pci {text-align: center; font-style: italic;}
p.pcbi {text-align: center; font-weight: bold;font-style: italic;}
p.pr {text-align: right;}
p.prb {text-align: right;font-weight: bold;}
p.pri {text-align: right;font-style: italic;}
p.prbi {text-align: right;font-weight: bold;font-style: italic;}

#cntbl{margin: 0 10% 0 10%;}

/*блок новостей*/
#ib h4{font-size: 12px;}
#ib .news{font-size: 12px;}
#ib .nlnk{text-align: right;}

/*стили для гостевой книги*/
.ansv{border: dashed 1px #cdcdcd;margin: 0 0 0 25px;font-size: 12px;padding: 5px 5px 5px 5px;font-style: italic;}

/*Стили фотоальбома*/
ul#thumbs, ul#thumbs li{margin: 10px 0 0 0;padding:0;list-style:none;}
ul#thumbs li{float:left;margin-right:5px;border:0px solid #999;padding:1px;}
ul#thumbs a{display:block;float:left;width:82px;height:82px;line-height:100px;overflow:hidden;position:relative;z-index:1;}
ul#thumbs a img{float:left;position:absolute;top:-2px;left:-2px;}
ul#thumbs a:hover{overflow:visible;z-index:1000;border:none;}
ul#thumbs a:hover img{border:0px solid #999;background:#fff;padding:2px;}
ul#thumbs:after, li#thumbs:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
ul#thumbs, li#thumbs{display:block;}
ul#thumbs, li#thumbs{min-height:1%;}
* html ul#thumbs, * html li#thumbs{height:1%;}	
.ftc{text-align: center; margin: 15px 0 0 0;}
.ftc h3{text-align: center; text-transform: none; margin: 0 0 0 0; padding: 0 0 0 0;font-family: times; font-size: 14px; font-style: italic;}



/* *** DDU447 custom styles *** */
body {
    /*background: url("/sm.aspx?guid=4273") repeat;*/
    font-size: 14px;
    font-family: Arial, Helvetica,sans-serif;
    color: #797979;
    height: 100%;
    margin: 0;
    padding: 0;
}

a img {
    border: none !important;
}

.shadow-corner-l,
.shadow-corner-r,
.shadow-b {
    height: 35px;
}

.wrap-content {
    /*width: 1024px;*/
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
}

.header {
    position: relative;
    height: 289px;
    background: url("/sm.aspx?guid=6643") no-repeat;
    padding-bottom: 28px;
}

.header:before {
    content: "";
    position: absolute;
    background: url("/sm.aspx?guid=28533") no-repeat;
    left: calc(50% - 125px);
    top: 94px;
    width: 250px;
    height: 228px;
    z-index: 20;
}

@media (max-width: 1620px) {
.header:before {
    display: none;
}
} 

.wrap-02:before {
    content: "";
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 289px;
    top: 0;
    right: 0; 
    background: #ffffff url("/sm.aspx?guid=28523") repeat-x right top;
}

.header .lang-bar {
    text-align: right;
    max-height: 32px;
}

.header .lang-bar img {
    margin: 0 0 0 8px;
    width: 20px;
}

.header .lang-bar a:hover, 
.header .lang-bar a {
    text-decoration: none !important;
}

.header .lang-bar a:hover img {
    outline: 1px dotted #ffffff;
}

.header .logo {
    float: left;
}

.header .logo img {
    margin-top: -7px;
}

.header-r {
    float: right;
    padding: 10px 30px 0 0;
}

.header .contacts {
    color: #2763b0;
    font-size: 16px;
    text-align: right;
    font-weight: bold;
    margin-top: 10px;
    width: 731px;
    position: relative;
    z-index: 30;
}

@media (max-width: 559px) {
    .header .contacts {
        text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    }
}

.header-title {
    margin-top: 5px;
    position: relative;
    right: -4px; 
    z-index: 30;
}

@media (max-width: 1031px) {
    .header-r {
         max-width: 75%;
         box-sizing: border-box;
    }

    .logo {
         max-width: 25%;
         box-sizing: border-box;
    } 

    .header-r .contacts {
         max-width: 100%;
    }  
}

@media (max-width: 934px) {
    .advert-bitv {
        display: none;
    }

    .header {
    background: url("/sm.aspx?guid=28583") no-repeat;
    }
}

.header-title img {
    max-width: 100%;
    height: auto;
}

.footer {
    background: url("/sm.aspx?guid=28573") repeat-x bottom center;
    height: 297px;
    clear: both;
    position: relative;
}

.footer:before {
   background: url("/sm.aspx?guid=28543") repeat-x bottom center;
   height: 297px;
   position: absolute;
   width: 100%;
   content: "";
}

.body {
    clear: both;
    /*padding: 0 30px 0 30px;*/
    background: url("/sm.aspx?guid=4283") repeat-x bottom left;
}

.footer .contacts {
    color: #454d2d;
    padding: 8px 25px 8px 25px;
    background: url("/sm.aspx?guid=4303") repeat;
    margin: 0 auto 0 auto;
    text-align: center;
    width: 600px;
    position: relative;
    top: 52px;
}

.footer .stats {
    text-align: center;
    position: relative;
    top: 100px;
}


.footer .contacts a {
    color: #2763b0;
}

.footer .contacts a:hover {
    text-decoration: none;
}

.banners {
    text-align: center;
    background: #f5f5f5;
    padding: 30px 30px 30px 30px;
    /*max-width: 1024px;*/
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.banners a {
    margin: 5px;
    display: inline-block;
}

.menu-main {
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    font-family: 'Comic Sans MS';
    text-transform: uppercase;
}

div.menu-main {
    text-align: center;
    height: 48px;
    position: relative;
}

div.menu-main:before {
    content:"";
    height: 2px;
    width: calc(50% - 548px);
    position: absolute;
    bottom: 0;
    left: 0;
    /*background: #FF2313;*/
    background: linear-gradient(60deg, #00FF07, #FDFF00, #FD0304);
}

div.menu-main:after {
    content:"";
    height: 2px;
    width: calc(50% - 548px);
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(60deg, #482EC5, #F100FF, #FE0002);
}

ul.menu-main {
   display: inline-block;
   height: 48px;
}

.menu-main a, 
.menu-main span {
    text-decoration: none;
    color: #ffffff;
    padding: 12px 0 12px 0;
    display: block;
    text-align: center;
    white-space: nowrap;
}

.menu-main a:hover {
    text-decoration: underline;
}

ul.menu-main {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.menu-main li {
    float: left;
    background: #A6C92F url("/sm.aspx?guid=4253") no-repeat top right;
}

ul.menu-main li a {
    padding-left: 25px;
    padding-right: 25px;
}

ul.menu-main li:first-child {
    background: #FF4023 url("/sm.aspx?guid=4223") no-repeat top right;
    width: 160px;
}

ul.menu-main li:first-child + li {
     background: #F6A201 url("/sm.aspx?guid=4243") no-repeat top right;
    width: 208px;
 }

ul.menu-main li:first-child + li + li {
    background: #F2C824 url("/sm.aspx?guid=4213") no-repeat top right;
    width: 157px;
}

ul.menu-main li:first-child + li + li + li {
      background: #A6C92F url("/sm.aspx?guid=4253") no-repeat top right;
    width: 173px;
}

ul.menu-main li:first-child + li + li + li + li {
    background: #4273BF url("/sm.aspx?guid=4263") no-repeat top right;
    width: 134px;
}

ul.menu-main li:first-child + li + li + li + li + li {
    background: #794FD9 url("/sm.aspx?guid=4233") no-repeat top right;
    width: 132px;
}

ul.menu-main li:hover {
    margin-top: -5px;
    padding-top: 5px;
}

ul.menu-main a:hover {
    position: relative;
    top: -5px;
}

.wrap-collage {
    /*height: 374px;*/
    clear: both;
    width: 100%;
    overflow-x: hidden;
}

.news-line {
    /*background: url("/sm.aspx?guid=4203") no-repeat top left;*/
    padding: 12px 16px 12px 16px;
    height: 22px;
    font-family: 'Comic Sans MS';
    font-size: 16px;
    font-weight: bold;
    color: #d12b2b;
    clear: both;
    text-transform: uppercase;
    background: linear-gradient(60deg, #FD0304, #FDFF00, #00FF07, #00FDF8, #0300FF, #F100FF, #FE0002);
    position: relative; 
}

.news-line:before {
    content: "";
    position: absolute;
    opacity: 0.6;
    background: #ffffff;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    box-sizing: border-box;
    top: 4px;
    left: 4px;
}

.news-line marquee * {
    padding: 0 !important;
    margin: 0 !important;
    font-size: 16px !important;
}

.news-line marquee p {
    display: inline-block;
    padding-right: 10px !important;
}

.content,
.content-row {
    clear: both;
}

.content-row-list-2 {
    display: flex;
    padding: 0 15px 0 15px;
}

.block h2 {
    margin: 0;
    padding: 5px;
    font-family: 'Comic Sans MS';
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
}

.block h2 span {
    display: block;
    border-top: 2px dashed #ffffff;
    border-bottom: 2px dashed #ffffff;
    text-align: center;
    padding: 3px 0 3px 0;
}

.block.voiting,
.block.electronic-messages,
.block.internet {
    margin-left: 15px;
    margin-right: 15px;
    box-sizing: border-box;
}

.block.voiting,
.block.electronic-messages {
    width: 25%;
}

.block.internet {
    width: 50%;
}

.block.internet .cell:first-child + .cell + .cell + .cell, 
.block.internet .cell:first-child + .cell + .cell + .cell + .cell, 
.block.internet .cell:first-child + .cell + .cell + .cell + .cell + .cell {
     padding-top: 30px;
}

.block.internet h2 {
     background: #FF582E;
 }

.block.electronic-messages h2 {
    background: #935EE2;
}

.block.voiting h2 {
    background: #487fc5;
}

.block-content {
    padding: 20px 20px 16px 20px;
    font-size: 13px;
}

/* *** */
button, 
.block h2.button, 
.voiting-button {
    margin: 0 auto 0 auto;
    display: block;
    background: #487fc5;
    padding: 9px 21px 9px 21px;
    border: none;
    color: #ffffff;
    font-family: 'Comic Sans MS';
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    text-transform: none !important;
    width: 83px;
    height: 21px;
}

.voiting-button .button {
    font-size: 14px !important;
    margin: 0;
    text-align: center;
}

.body-block-content table.voiting-table tr td:first-child {
    padding-left: 15px;
}

.voiting-table + div {
    padding-top: 10px;
    padding-bottom: 15px;
}

button:hover, 
.block h2.button:hover {
    outline: 2px dotted #acc8eb;
}

/* *** */

.more {
    color: #0eaff6;
    font-family: 'Comic Sans MS';
    font-size: 14px;
}

.more:hover {
    text-decoration: none;
}

.block.voiting .more {
    display:  block;
    margin: 0 auto 0 auto;
    text-align: center;
}

.block.voiting .block-content b {
    display: inline-block;
    padding-top: 25px;
}

.block.voiting .block-content b:first-child {
    padding-top: 0;
}

/*.block.voiting .voiting-result,
.block.internet .block-content,
.block.electronic-messages .block-content {
    text-align: center;
    padding: 30px;
    height: 21px;
}*/

.block.voiting {
    border-left: 2px solid #487fc5;
    border-right: 2px solid #487fc5;
    border-bottom: 2px solid #487fc5;
    position: relative;
}

.block.voiting .voiting-result {
    position: absolute;
    bottom: 0;
    padding-top: 10px;
    padding-bottom: 30px;
    width: 100%;
    text-align: center;
}

/*.block.voiting .block-content,*/
.block.internet .block-content, 
.block.electronic-messages .block-content {
    padding: 30px !important;
}

.block.voiting .block-content {
    padding-bottom: 140px !important;
}

.block.internet {
    border-left: 2px solid #FF582E;
    border-right: 2px solid #FF582E;
    border-bottom: 2px solid #FF582E;
    
}

.block.electronic-messages {
    border-left: 2px solid #935EE2;
    border-right: 2px solid #935EE2;
    border-bottom: 2px solid #935EE2;
    position: relative;
}

.block.electronic-messages .more {
    display: block;
    text-align: center;
}

.block.electronic-messages .block-content img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    clear: both;
}

.block.electronic-messages .block-content a img {
    border: none !important;
    max-width: 100%;
    height: auto !important;
}

.block.electronic-messages .block-content .more {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
}

.voiting-bottom {
    position: absolute;
    bottom: 60px;
    width: 130px;
    left: calc(50% - 65px);
    padding-top: 10px;
}

.voiting-bottom h2 {
    margin: 0;
}

.voiting-bottom:hover {
    cursor: pointer;
    /*outline: 2px dotted #acc8eb;*/
}


/* News */
.block.news {
    border-bottom: 2px solid #77ab1b; 
}

.block-content-items-list {
    display: flex;
}

.block.news .news-item {
    margin-bottom: 4px;
    overflow: hidden;
    width: 20%;
    flex-grow: 1;
    padding-left: 15px;
    padding-right: 15px;
}

.block.news .news-item:first-child, 
.block.news .pager-news + .news-item {
    margin-left: 0;
}

.block.news .news-item img {
    display: block;
    margin-bottom: 10px;
    width: 100%;
}

.block.news .news-item a {
    text-decoration: none;
    color: #797979;
}

.block.news .news-item a:hover {
    text-decoration: underline;
    color: #0eaff6;
}

.block.news h2 {
    background: #77ab1b;
}

.block.news a {
    clear: both;
}

.block.news .pager-news {
   display: none !important;
} 

.block.news .block-content {
    min-height: 205px;
    padding: 30px 15px 30px 15px;
}

.block.news .block-content > p {
    margin: 0;
    padding: 0 0 0 0;
    text-align: right;
    font-size: 14px;
    clear: both;
}

.block.news .block-content .block-content-items-list + p {
 padding: 15px 15px 0 15px;
}

.content-row {
    padding-top: 30px;
}

.content-row .wrap-col-r {
    padding-left: 263px;
}

.news-date {
    color: #ff007e; /*#FC01EF;*/
    font-weight: bold;
}

.block.news .news-date {
    padding-bottom: 3px;
    display: inline-block;
} 

/* News-Org */
.block.news-org {
    border-bottom: 2px solid #f57a02;
}
.block.news-org h2 {
    background: #f57a02;
}

.block.news-org .block-content {
    padding: 30px 20px 30px 20px;
    /*border-left: 2px solid #f57a02;
    border-right: 2px solid #f57a02;*/

    height: 215px;
    display: flex;
}

.rssarena {
    /*float: left;*/
    /*width: 278px;*/
    width: 30%; 
    height: 215px;
    padding: 0 18px 0 0;
    overflow-y: auto;
    overflow-x: hidden;
    margin-left: 15px;
    margin-right: 15px;
}

.rssarena h1 {
    color: #ff007e;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

.rssarena h4 {
    font-weight: normal;
    margin: 12px 0 8px 0;
    padding: 0;
}

.rssarena .more {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.rssarena p {
    text-align: right;
}

.clear {
    clear: both;
}

.wrap-detail-col-r {
    padding-left: 273px;
}

.wrap-detail-col-r h1 {
    font-size: 36px;
    font-family: 'Comic Sans MS';
    color: #0eaff6;
    margin: 0;
    position: relative;
    top: -6px;
}

.wrap-detail-col-l {
    float: left;
    width: 243px;
}

.block.menu-left {
    margin-bottom: 30px;
}

.block.menu-left h2 {
    background: #7aad1d;
}

.block.menu-left .block-content {
    border-left: 2px solid #7aad1d;
    border-right: 2px solid #7aad1d;
    border-bottom: 2px solid #7aad1d;
    padding-top: 16px;
}

.block.menu-left ul {
    margin: 0;
}

.block.menu-left .block-content > ul {
    padding-left: 0;
    padding-right: 0;
    list-style: none;
    font-size: 14px;
    font-family: 'Comic Sans MS';
    font-weight: bold;
}

.block.menu-left a {
    text-decoration: none;
}

.block.menu-left a:hover {
    text-decoration: underline;
}

.block.menu-left .block-content > ul li:first-child a,
.block.menu-left .block-content > ul li:first-child span {
    color: #4274be;
}

.block.menu-left .block-content > ul li:first-child + li a,
.block.menu-left .block-content > ul li:first-child + li span {
    color: #ff0000;
}

.block.menu-left .block-content > ul li:first-child + li + li a,
.block.menu-left .block-content > ul li:first-child + li + li span {
    color: #f35c01;
}

.block.menu-left .block-content > ul li:first-child + li + li + li a,
.block.menu-left .block-content > ul li:first-child + li + li + li span {
    color: #e9ad15;
}

.block.menu-left .block-content > ul li:first-child + li + li + li + li a,
.block.menu-left .block-content > ul li:first-child + li + li + li + li span {
    color: #77ab1b;
}

.block.menu-left .block-content > ul li:first-child + li + li + li + li + li a,
.block.menu-left .block-content > ul li:first-child + li + li + li + li + li span {
    color: #4274be;
}

.block.menu-left .block-content > ul li:first-child + li + li + li + li + li + li a,
.block.menu-left .block-content > ul li:first-child + li + li + li + li + li + li span {
    color: #8655dd;
}

.block.menu-left .block-content > ul ul {
    padding-left: 30px;
    list-style: square;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    color: #797979;
}

.block.menu-left .block-content > ul ul li {
    padding-top: 2px;
    padding-bottom: 2px;
}

.block.menu-left .block-content > ul li ul a,
.block.menu-left .block-content > ul li ul span {
    color: #797979 !important;
}

.content-detail {
    padding-top: 30px;
}

#way {
    background: #f5f5f5;
    padding: 3px 10px 3px 10px;
}

#way,
#way a {
    color: #0eaff6;
    text-decoration: none;
    font-size: 12px;
    font-family: 'Comic Sans MS';
}

#way a:hover {
    color: #0eaff6;
    text-decoration: underline;
}

.content-detail-detail {
    padding-top: 22px;
    line-height: 22px;
}

.content-detail-detail h1 {
    line-height: 31px;
}

.content-detail-detail p {
    margin-bottom: 0;
}

.content-detail-detail p:first-child {
    margin-top: 0;
}

p.center {
    text-align: center;
}

.banners a:hover img {
    outline: #797979 dotted 1px;
}

/* Опросы */

.content-detail-detail fieldset {
    margin: 0;
    border: 1px solid #f5f5f5;
    padding: 10px !important;
}

/* News */

.ArxiwDetail > table td {
    vertical-align: top;
}

.ArxiwDetail > table td:first-child + td {
    padding-left: 10px;
}

.ArxiwDetail > table td h4 {
    color: #ff007e;
    margin: 0;
    line-height: normal !important;
}

.ArxiwDetail p.nlnk {
    text-align: right;
}

.ArxiwMap {
    padding-right: 20px !important;
}

.ArxiwMap .mytree {
    font-size: 12px;
}

/* Photo-gallery */

.photo-gallery-wrap {
    width: 100%;
}

fieldset.voiting-result {
    margin-top: 20px;
}

.voiting-question {
    padding-bottom: 20px;
}

.content-detail-detail hr {
    border: none 0;
    border-bottom: dotted 1px silver;
}

.advert-bitv {
    position: absolute;
    top: 0;
    margin-left: calc(50% - 176px);
    font-family: Comic Sans MS;
    font-size: 12px;
    padding-top: 7px;
    text-align: left;
}

.advert-bitv a {
    color: #ffffff;
}

.advert-bitv img {
    margin-right: 7px;
    vertical-align: middle;
    width: 24px;
}

.advert-bitv a:hover {
    text-decoration: none;
} 

.link-external {
    padding-right: 14px;
    background: url("/sm.aspx?guid=11543") no-repeat right center;
    color: #0077cc !important;
}

.banners img {
    max-height: 60px;
}

/* Contact icons */

.ico-contact {
    padding: 2px 0 3px 26px;
}

.ico-skype {
    background: url("/sm.aspx?guid=7163") no-repeat left;
}

/* Social-network panel */
.social-network {
    position: fixed;
    width: 32px;
    top: 126px;
    margin-left: 761px;
}
.social-network a {
    display: block;
}

.social-network a img {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

.social-network a:hover img {
    transition: transform 2s;

    -webkit-transition-timing-function: ease; /* Safari */
    transition-timing-function: ease;

    -webkit-transform: rotateZ(360deg); /* Safari */
    transform: rotateZ(360deg);
}

/*** Search ***/
.wrap-outer-search {
    width: 1024px;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

.ya-site-form__search-input {
    padding-top: 0 !important;
}

.wrap-search {
    width: 250px;
    position: absolute;
    top: 9px;
    z-index: 500;
    right: 81px;
}

.wrap-search > #ya-site-form0 .ya-site-form__submit_type_image,
.wrap-search #ya-site-form0 .ya-site-form__form .ya-site-form__submit_type_image, 
.wrap-search #ya-site-form0 .ya-site-form__submit_type_image, 
.wrap-search #ya-site-form0 input.ya-site-form__submit_type_image {
    min-height: 21px !important;
    min-width: 22px !important;
    max-height: 21px !important;
    max-width: 22px !important;
    padding: 0 !important;
    background: #0097d1 url("/sm.aspx?guid=11703") no-repeat center center !important;
    border-top-right-radius:2px;
    border-bottom-right-radius:2px;
    -webkit-border-top-right-radius:2px;
    -webkit-border-bottom-right-radius:2px;
    -moz-border-top-right-radius:2px;
    -moz-border-bottom-right-radius:2px;
}

.wrap-search #ya-site-form0 .ya-site-form__submit {
    margin: 0 !important;
    min-height: 21px !important;
    min-width: 22px !important;
    max-height: 21px !important;
    max-width: 22px !important;
}

.wrap-search > #ya-site-form0 .ya-site-form__form .ya-site-form__input-text,
.wrap-search #ya-site-form0 .ya-site-form__form .ya-site-form__input-text, 
.wrap-search #ya-site-form0 .ya-site-form__form input.ya-site-form__input-text {
   border: 1px solid #0097d1 !important;
   font-family: Comic Sans MS;
   padding-top: 0 !important!
   max-height: 16px;
   min-height: 16px;
   height: 16px;   
   padding-bottom: 2px;
   max-width: 212px;
   box-sizing: initial !important;
}

/* search result fix position */
#ya-site-results {
   position: relative;
   top: -30px;
}

#ya-site-results .b-wrapper {
   clear: none !important;
}


/*** Электронное обращение ***/
.content-detail-detail .QA_add table tr > td {
   width: auto !important;
   padding-right: 10px !important;
}

.content-detail-detail .QA_add table tr > td + td {
   width: 406px !important;
   min-width: 406px !important;
   max-width: 406px !important;
   padding-right: 0 !important;
   padding-bottom: 2px;
   vertical-align: bottom;
}

.content-detail-detail .QA_add table input[type="text"] {
   padding-left: 2px;
   padding-right: 2px;
   border-width: 1px;
}

.content-detail-detail .QA_add table tr > td[colspan="2"] {
   padding-right: 0 !important;
}

/*** Menu bottom ***/
div.menu-bottom {
   max-width: 1024px; 
   margin: 0 auto;
   position: relative;
   top: -18px;
   text-align: center;
}

div.menu-bottom, 
div.menu-bottom a {
   color: #454d2d;
   font-family: "Comic Sans MS";
   font-size: 12px;
   font-weight: bold;
}

div.menu-bottom a:hover {
   text-decoration: none;
}

div.menu-bottom ul {
   list-style: inside none none;
   padding: 0;
   width: 100%;
   margin: 0;
   max-width: 1024px;
}

div.menu-bottom ul li {
   border-left: 1px solid #454d2d;
   display: inline-block;
   padding-left: 10px;
   padding-right: 10px;
   text-align: center;
}

div.menu-bottom ul li:first-child {
   border-left: none !important;
}

.clear-both {
   clear: both;
}

/*** Соц. сети и сервисы ***/
.block.internet .cell {
   float: left;
   clear: none;
   width: 33%;
   text-align: center;
   
}

.block.internet .cell img {
   max-width: 100%;
   display: block;
   margin-left: auto;
   margin-right: auto;
   margin-bottom: 5px;
}

.block.internet {
  /*font-size: 12px;*/
  font-family: "Comic Sans MS";
} 

.block.internet a {
  color: #0eaff6; 
}

.block.internet a:hover {
   text-decoration: none;
}

.block.internet .block-content .internet-row:first-child {
   line-height: 13px;
}

.block.internet .block-content p {
   line-height: 5px;
}

.block.internet .block-content p + .internet-row {
   line-height: 14px;
}


/*** Яндекс статистика ***/
.stats {
   position: relative;
   margin-top: -42px;
   float: right;
   text-align: center; 
}


/*** Виртуальный тур ***/
.panorama iframe {
   border: none !important;
   width: 100%;
   height: 80vh;
}

.block.panorama h2 {
   background: #E8B118;
}

.block.panorama .block-content {
    border-bottom: 2px solid #E8B118;
    border-left: 2px solid #E8B118;
    border-right: 2px solid #E8B118;
    min-height: 205px;
    padding: 0 !important;
    height: 80vh;
}


.clearfix:not(#optMenu *):not(#optMenu) {
    float: none;
    clear: both;
    height: 0;
    font-size: 0;
    margin: 0;
    padding: 0;
    display: table;
}

/* *** Content max-width *** */
.news-org .block-content, 
.content-row-list-2,
.block.news .block-content {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* *** Mobil-menu *** */
.cookcodesmenu_menu {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    border: 2px solid #ffffff;
    border-radius: 6px;
    background: #2EB3ED !important;
    opacity: 0.9;
    box-sizing: border-box;
}

.cookcodesmenu_btn {
    float: left !important;
}

.cookcodesmenu_menu:hover {
    border-color: #ffffff !important;
    border-style: dotted;
    border-width: 2px !important;
    opacity: 1;
}

body.opened .cookcodesmenu_menu, 
.cookcodesmenu_menu.opened {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 1;
    padding-top: 10px;
    padding-left: 10px;
    border-style: solid;
}

body.opened .cookcodesmenu_menu:hover,
.cookcodesmenu_menu.opened:hover {
    border-style: solid;
}

.cookcodesmenu_brand, 
.cookcodesmenu_menutxt {
    display: none !important; 
}

.cookcodesmenu_icon {
    margin-left: 0 !important;
}

@media (max-width: 980px) {
    .menu-main {
        display: none;
    }
    .menu-bottom .stats {
        float: none !important;
        margin-top: 0 !important;
     }

     .menu-bottom li {
        margin-bottom: 10px;
     } 

     .footer .contacts {
         width: auto !important;
         margin-left: 30px;
         margin-right: 30px;
     }

    body.opened {
       overflow: hidden;
    }

    .block.voiting,
    .block.electronic-messages {
        width: calc(50% - 30px);
        order: 2;
        margin-top: 30px;
    }

    .block.internet {
        width: 100%;
        order: 1;
    }     
    .content-row-list-2 {
        flex-wrap: wrap;
    }

    .block.electronic-messages .block-content {
        padding-bottom: 60px !important; 
    }
    .block.news .news-item:last-child {
        display: none;
    }
}

@media (max-width: 767px) {
    .block.news .news-item {
        width: calc(50% - 30px); 
    }

    .news .block-content-items-list {
        flex-wrap: wrap;
    }

    .block.news .news-item:first-child + .news-item + .news-item + .news-item, 
    .block.news .news-item:first-child + .news-item + .news-item {
        margin-top: 30px;
    }
    div.menu-bottom {padding-left: 30px; padding-right: 30px;}
}

@media (max-width: 699px) {
    .news-org .block-content {
        flex-wrap: wrap;
        height: auto !important;
    }
    .news-org .rssarena {
        width: 100%;
        height: auto !important;
        margin-top: 30px;
        padding-right: 0;  
    }
    .news-org .rssarena:first-child {
        margin-top: 0;  
    }
}

@media (max-width: 599px) {
    .block.news .news-item, 
    .block.voiting,
    .block.electronic-messages {
        width: 100%; 
    }

    .block.news .news-item {
        margin-top: 30px;
    }

    .block.news .news-item:first-child {
        margin-top: 0;
    }

    .block.voiting .block-content {
        padding-bottom: 120px !important;
    }
}

.wrap-outer-search {
   width: auto !important;
   display: inline-block !important; 
   margin-left: 0 !important;
   margin-right: 0 !important;
}

@media (max-width: 450px) {
    .block.internet .cell {
        width: 50%;
    } 
    .block.internet .cell:first-child + .cell + .cell {
        padding-top: 30px;
    }

    .banners a {
        max-width: calc(50% - 10px);
    }
    .banners img {
        max-width: 100%;
    }

    .wrap-search {
         width: 100%;
         right: 25px;
         top: 11px;
    }
    .ya-site-form__search-input-layout-l {
         overflow: hidden;
    }

    .lang-bar {
        margin-top: -6px;
    }

    .header .logo {
        margin-top: 70px;
    }

    .logo img {
        max-width: 100%;
    }
    .header-title {
        margin-top: 25px;
    }
    .header .contacts {
        font-size: 12px;
        margin-top: 14px;
    } 
    .header {
        padding-bottom: 0;
        height: 246px;
    } 

    .header .lang-bar img { width: 32px;}

    .wrap-outer-search {
         width: calc(100% - 120px) !important;
    } 
}

#top_bar {
    position: relative !important;
    width: 100% !important;
    min-width: 320px !important;
    max-width: 100% !important; 
    z-index: 500 !important;
}

.wrap-search {
   position: relative !important;
   top: 0;
   right: 0;
}

.top_bar-r {
    display: flex;
    width: 320px;
    max-width: 100%;
    position: absolute;
    right: 30px !important;
    top: 12px; 
}

.top_bar-l {
    text-align: center;
}

.cookcodesmenu_menu {
    top: 90px;
}

@media (max-width: 980px) {
    .top_bar-r {
        position: static;
        margin-left: auto;
        margin-right: 16px;
        padding-top: 12px;
    }

    .top_bar-l {
        text-align: right;
        padding-right: 12px; 
    }
   
    .cookcodesmenu_menu {
        top: 16px;
        left: 30px; 
    }
}

@media (max-width: 450px) {
    .cookcodesmenu_menu {
        top: 12px;
        left: 10px; 
    } 

    .top_bar-r {
        margin-right: 0;
    }

    .wrap-outer-search {
        margin-left: 16px !important;
    }
}

@media (max-width: 320px) {
    .cookcodesmenu_menu {
        top: 68px;
        left: 22px; 
    } 

    .top_bar-l {
        text-align: center;
        padding-right: 0;
    }
}

.header .logo a, 
.header .logo a img {
    display: block;
}

.header .logo {
    position: relative;
}

.header .logo .banner-wrap {
    position: absolute;
    bottom: 0;
    left: 25px; 
}

@media (min-width: 981px) {
    .cookcodesmenu_menu {
        display: none;
    }
}

@media (max-width: 980px) {
    .header .logo .banner-wrap {
        bottom: 4px;
        left: 30px; 
    }
}