/* Css Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, kbd, q, samp,
small, strike, strong, tt, var,
center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
.clear {
    clear: both !important;
    height: 0px !important;
    font-size: 1px !important;
    overflow: hidden !important;
    float: none !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

div.ml-coll-title{
    height: auto!important;
    padding-top: 3px!important;
    padding-bottom: 3px!important;
    line-height: 130%!important;
}
div.ml-coll-title span{
    padding-right: 20px;
}
#BX_file_dialog.editor_dialog{
    height: 500px!important;
}
div.mlcolllevel-0, div.mlcolllevel-1, div.mlcolllevel-2, div.mlcolllevel-3{
    background: #cfd9de!important;
    background-image: none!important;
}
div.ml-coll-title.mlcollt-active{
    background-color: #ffd28c!important;
    background-image: none!important;
}
/* Стили шаблона */

/* Common */
html, body {
    width:100%;
    height: 100%;
    color: #333333;
    font-family: Arial, Geneva, serif;
    font-size: 14px;
    min-width: 996px;
}

html {
    background: url(img/mbg.png) repeat center top;
}

body {
    min-height: 100%;
    height: auto !important;
    position: relative;
    margin: 0px auto;
    background: url(img/mbg_t.png) repeat-x center top;
}

th {
    font-weight: bold;
}

/* Elements */
.hidden {
    display: none;
}

.empty {
    color: #999;
}

input[type = "text"], input[type = "password"], select, textarea {
font-size: 100%;

border: 1px solid #777777;
border-radius: 3px 3px 3px 3px;
padding: 5px;
}

.clr {
    clear: both;
    content: "";
    display: block;
}


/* Links */
a, a:link, a:visited, a:active {
    color: #007CC3;
    text-decoration: underline;
}

a:hover {
    color: #007CC3;
    text-decoration: none;
}


/* Headers */
H1 {
 color: #5E5E5E;
 font-size: 18px;

    padding: 20px 0px 15px;
    font-weight: bold;
}

H2 {
    font-size: 16px;
    padding: 20px 0px 15px;
    font-weight: bold;
    color: #000000;
}

H3 {
    font-size: 15px;
    padding: 20px 0px 15px;
    font-weight: bold;
}

H4 {
    font-size: 12px;
    padding: 20px 0px 15px;
    font-weight: bold;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}


/* Lists */
li ul, li ol {
    margin-top: 0.5em;
}

ul {
    list-style-type: none;
}

ol {
    list-style-type: decimal;
}

li {
    margin: 10px 0 5px 15px;
    padding: 0;
}

div.spage ul li, div.fntxt ul li, .fntext ul li {
    list-style: disc outside;
    list-style-image: url(img/ul_li_8080.gif);
}

ul li {
    padding: 0;
    //padding-left: 4px;
}

ol li {
    margin-left: 2.3em;
}

ul > li > * {
    text-indent: 0;
}


/* Table */
.content_tp table {
    width: 100%;
    background: #ebebeb;
}

.content_tp table th {
    padding: 5px;
    text-align: center;
    border-left: 1px solid #ebebeb;
    color: #ffffff;
}

.content_tp table th:first-child {
    border-left: none;
}

.content_tp table td {
    padding: 5px;
    border-left: 1px solid #ebebeb;
}

.content_tp table td:first-child {
    border-left: none;
}

.content_tp table tr:nth-child(even) {
    background-color: #ffffff;
}

.content_tp img {
    margin-bottom: 20px;
    margin-right: 20px;
}


/* Header */
.header {
    background: url(img/hbg.png) no-repeat center top;
    margin: 0px auto;
}

.header_w {
    width: 960px;
    margin: auto;
    height: 244px;
}

.hlogo {
    background: url(img/logo.png) no-repeat left top;
    width: 146px;
    height: 161px;
    padding-top: 11px;
    float: left;
}

.h2logo {
    background: url(img/h2logo.gif) no-repeat left top;
    width: 146px;
    height: 168px;
    padding-top: 4px;
    float: left;
}

.hlogo a {
    display: block;
    float: left;
    width: 146px;
    height: 161px;
}

.h2logo a {
    display: block;
    float: left;
    width: 146px;
    height: 161px;
}

ul.hmenu {
    float: right;
    padding-top: 5px;
}

ul.hmenu li {
    float: left;
    background-image: url(img/hicon.gif);
    background-repeat: no-repeat;
    padding: 8px 20px 8px 28px;
    margin: 0px;
}

ul.hmenu li a {
    color: #777777;
    text-decoration: none;
    font-size: 11px;
}

ul.hmenu li a:hover {
    text-decoration: underline;
}

li.htwi {
    background-position: left 7px;
}

li.hmob {
    background-position: left -38px;
}

li.hlarge {
    background-position: left -79px;
}

li.hsrch {
    background: url(img/hsbg.png) no-repeat center top !important;
    width: 245px;
    height: 30px;
    padding: 0px !important;
}

li.hsrch .s_text {
    background: none;
    border: none;
    color: #919191;
    font-size: 11px;
    padding: 9px 0 7px 10px !important;
    width: 195px;
}

noindex:-o-prefocus, li.hsrch .s_text {
    padding: 11px 0px 6px 10px !important;
}

li.hsrch .searchBtn {
    background: url(img/hsbtn.gif) no-repeat center 8px;
    float: right;
    height: 30px;
    padding: 0;
    width: 34px;
    border: none;
}

li.hsrch .searchBtn:hover {
    background: url(img/hsbtn.gif) no-repeat center -30px;
    cursor: pointer;
}

.header_w h1 {
    font-size: 24px;
    color: #ffffff;
    text-shadow: 0px 1px 0px #09679d;
    float: left;
    margin-left: 40px;
    padding: 56px 0 0 0;
}

.header_w h1 p {
    padding: 10px 0 0 0;
    margin: 0px;
    font-size: 15px;
    color: #d3f0ff;
    font-weight: normal;
}

.mainnav {
    padding-top: 30px;
}

.mainnav li {
    margin: 0;
    float: left;
    position: relative;
    padding: 11px 25px 16px;
    background: url(img/mnline.png) no-repeat left 5px;
}

.mainnav li:first-child {
    background: none;
    padding-left: 5px;
}

.mainnav li a {
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #106da2;
}

.mainnav li a:hover {
    text-decoration: underline;
}

* html ul.mainnav li a {
    display: inline-block;
}
	
ul.mainnav li ul {
    left: 0;
    display: block;
    position: absolute;
}

ul.mainnav li ul li ul {
    top: 0;
}


ul.mainnav li a.selected_root {
    color: #d0d0d0;
}

ul.sub_mainnav, ul.sub_sub_mainnav {   
    width: 320px;
    z-index: 1000;
    visibility: hidden;
    background: #3b9cd3;
}

ul.sub_mainnav {
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;

    -webkit-border-bottom-right-radius: 4px;
    -moz-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

ul.sub_sub_mainnav {
    border: solid 1px #fff;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;

    -webkit-box-shadow: 8px -8px 16px rgba(50, 50, 50, 0.35);
    -moz-box-shadow: 8px -8px 16px rgba(50, 50, 50, 0.35);
    box-shadow: 8px -8px 16px rgba(50, 50, 50, 0.35);
}

ul.sub_mainnav li {
    float: none;
    margin: 20px;
    color: #ffffff;
    padding: 0.25em;   
    background: none;
}

ul.sub_mainnav li:first-child {
    padding: 5px;
    background: inherit;
}

ul.sub_mainnav li a {
    color: inherit;
    font-size: inherit;  
    text-shadow: inherit;
}

ul.sub_sub_mainnav {

}


/* Main */
.content {
    background: url(img/cbg.png) repeat-y center top;
    margin: 0 auto;
    padding: 0 3px 0px 3px;
    width: 990px;
}


/* Content - leftside */
.lside {
    float: left;
    width: 700px;
    padding-bottom: 20px;
}

.lside h1 {
    border-bottom: 1px solid #e2e2e2;
    margin: 10px 0px 10px 20px;
    padding: 10px 0px;

    color: #5E5E5E;
    font-size: 18px;
    font-weight: bold;
    padding-right: 20px;
    text-decoration: none;
}

.lside h1 a {
    background: url(img/h1a.gif) no-repeat right 7px;
    font-size: 18px;
    font-weight: bold;
    color: #5e5e5e;
    padding-right: 20px;
    text-decoration: none;
}

.fnblk {
    margin: 10px 0 10px 20px;
}

.fntitle {
    border-bottom: 1px solid #E2E2E2 !important;
    margin: 10px 0 10px 20px !important;
    padding: 10px 0 !important;
}

.lside h1 a:hover {
    text-decoration: underline;
}


/* хлебные крошки */
.n2blk ul {
    font-size: 12px;
    padding: 10px 0px;
    margin: 14px 0px 10px 20px;
    border-bottom: 1px solid #e2e2e2;
}

.n2blk ul li {
    margin: 0;
    padding: 0;
    display: inline;
    line-height: 1.25em;
}

.n2blk ul li a {
    padding: 0;
    color: #777777;
    text-decoration: underline;
}

.n2blk ul li a:first-child {
    margin-left: 0;
}

.n2blk ul li span.separator {
    padding: 0 10px;
    font-weight: bold;
}

.n2blk ul li a:hover {
    text-decoration: none;
}


/* leftside - newsslider */
.newsslider {
    height: 229px;
    margin: 10px 0;
    width: 700px;
}

.ns_img, .ns_img ul li {
    float: right;
    height: 229px;
    width: 352px;
}

.ns_img ul li img {
float: right;
}

#nsblk {
    float: right;
    width: 348px;
}

#nsblk ul {
    margin: 0;
    padding: 0;
}

#nsblk ul li {
    cursor: pointer;
    list-style-type: none;
}

#nsblk ul li a {
    text-decoration: none;
}

#nsblk ul li a .title {
    color: #007cc3;
    font-size: 14px;
    font-weight: bold;
    line-height: 18px;
    text-shadow: 0 1px 0 #ffffff;
}

#nsblk ul li a .active {
    color: #FFFFFF;
    text-shadow: 0 1px 0 #3883ac;
}

#nsblk li {
    background: #ffffff url("img/lnbgg.png") repeat-x left bottom;
    height: 57px;
    margin: 0;
    overflow: visible;
    padding: 10px 20px 10px 20px;
    position: relative;
    width: 308px;
}

#nsblk .act {
    background: url("img/lnbgb.png") no-repeat scroll left top;
    height: 55px;
    margin: 0;
    overflow: visible;
    padding: 10px 50px 10px 30px;
    position: relative;
    width: 302px;
}


/* leftside - news */
.nblk {
    float: left;
    width: 440px;
    min-height: 400px;
}

.fntxt {
    color: #5E5E5E;
    font-size: 13px;
    padding: 10px 0px;
    line-height: 18px;
    text-decoration: none;
}

.ntitle {
    font-weight: bold;
}

.npost, .spage {
    font-size: 14px;
    line-height: 17px;
    margin: 25px 0 0 20px;
}

.banner_top {
    margin: 25px 0 0 20px;
    font-size: 14px;
    line-height: 17px;
    background: #3d9d02 url(img/banner.png) no-repeat 5px 5px;
    min-height: 190px;
    padding-left: 190px;
    padding-right: 20px;
}

.banner_top {
    margin: 25px 0 0 20px;
    font-size: 14px;
    line-height: 17px;
    background: #3d9d02 url(img/banner.png) no-repeat 5px 5px;
    min-height: 190px;
    padding-left: 190px;
    padding-right: 20px;
    padding-top: 7px;
    color: #ffffff;
    line-height: 20px;
}

.regbuttn {
    background: url(img/regbutton.png) no-repeat center top;
    width: 209px;
    height: 27px;
    display: block;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    padding-top: 7px;
    text-decoration: none !important;
    color: #6682A2 !important;
}

.regbuttn:hover {
    color: #C52329 !important;
}

.rscontcts {

}

.rscic {
    color: #464646;
    font-size: 15px;
    display: block;
    padding: 5px 0px 10px 25px;
}

.icskype {
    background: url(img/cont_ic.png) no-repeat 1px 7px;
}

.icmail {
    background: url(img/cont_ic.png) no-repeat 1px -52px;
}

.ictell {
    background: url(img/cont_ic.png) no-repeat 1px -22px;
}

.npostp {
    margin: 0px 0 0 0px;
    font-size: 14px;
    line-height: 17px;
}

.npostp p {
    color: #7993a2;
    font-size: 12px;
    font-style: italic;
    margin: 0px;
    padding: 0px 0px 8px;
}

.npost i {
    /*color: #00528b;*/
    font-style: italic;
}

.npostp p img {
    margin-left: 5px;
}

.fngall {
    padding: 25px;
    overflow: hidden;
    padding-bottom: 15px;
    border: 1px solid #2f98d3;
}
/*
.npostp a {
    color: #5e5e5e;
    font-size: 14px;
    text-decoration: none;
}
*/
.fnws {
    margin-top: 24px !important;
    margin-right: 2px !important;
}
/*
.npostp a:hover {
    text-decoration: underline;
}
*/
.npibg {
    background: url(img/nimbg.png) no-repeat left top;
    padding: 4px 5px 4px 5px;
    width: 112px;
    height: 75px;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.npibg2 { /* для списка вице-губернаторов */
    background: url(img/nimbg2.png) no-repeat left top;
    width: 62px;
    height: 83px;    
}

.fnpibg {
    padding: 4px 5px 4px 5px;
    width: 170px;
    /*height: 200px;*/
    float: left;
    margin-right: 10px;
}


/* левая сторона страницы детального просмотра ОВ */

.fnpibgpp {
    margin-bottom: 1.5em;
}

.fnpibgpp img {
    margin: 0 auto;
    display: block;
    margin-bottom: 1em;
}

.fnpibgpp p {
    display: inline;
}


/* левая сторона страницы детального просмотра ОВ */

.npibg a {
    margin: 0px !important;
}

a.ntitle {
    display: block;
    margin-left: 132px;
    margin-bottom: 7px;
    font-size: 14px;
}

a.ntitle2 {
    margin-left: 82px;    
}

.ntext {
    display: block;
    margin-left: 132px;
    font-size: 12px;
}

.ntext2 {
    margin-left: 82px;    
}

.fntext {
    display: block;
    font-size: 12px;
    margin-left: 200px;
}

.npost p {
}

.npost p.datetime, span.time {
    margin: 0px;
    color: #7993a2;
    font-size: 12px;
    font-style: italic;
    padding: 0px 0px 8px;
}

.npost p.datetime img {
    margin-left: 7px;
    vertical-align: middle;
}

.npost a, .fbtxt a {
    color: #007CC3;
    font-size: 14px;
}
/*
.npost a:hover, .fbtxt a:hover {
    text-decoration: underline;
}
*/
/*
.afix a {
    color: #007cc3;
    font-size: inherit;
    text-decoration: underline;
}

.afix a:hover {
    text-decoration: none;
}
*/


/* fullnews - video */

.fnvid {
    margin: 20px 0 10px 20px;
    border-bottom: 1px solid #E2E2E2;
    padding-bottom: 30px;
}

.fnnews {
    margin: 10px 0 10px 20px;
    padding-bottom: 30px;
}

.fnvid span{
    float: right;
    font-size: 12px;
    line-height: 20px;
    width: 230px;
}


/* leftside - foto and video */

.fblk {
    float: right;
    width: 230px;
}

.fblk h1.frst {
    border-bottom: none;
    margin: 10px 0px 0px;
    padding: 7px 0px;
}

.fblk h1.frst a {
    background: url(img/h1a.gif) no-repeat right 7px;
    font-size: 17px;
    font-weight: bold;
    color: #5e5e5e;
    padding-right: 20px;
    text-decoration: none;
}

.fblk h1.frst a:hover {
    text-decoration: underline;
}

.fbbg {
    background: url(img/fotobg.png) no-repeat center top;
    padding: 7px 7px 9px 6px;
    width: 216px;
    height: 142px;
}

.fbbg img {
    border: 1px solid #ffffff;
}

.fbbg img:hover {
    border: 1px solid #007cc3;
}

.fblk p {
    color: #7993A2;
    font-size: 10px;
    font-style: italic;
    margin: 0;
    padding: 10px 0 2px;
}

.fblk {
    color: #5e5e5e;
    font-size: 12px;
    line-height: 17px;
}

.fbtxt {
    padding: 0 8px;
}

.allfo {
    text-align: left;
    padding-top: 10px;
}

a.allfo {
    color: #007CC3;
    font-style: italic;
    font-size: 12px;
    margin-left: 7px;
    padding-top: 0px;
    float: left;
}

.vbbg {
    background: url(img/videobg.png) no-repeat center top;
    padding: 9px 10px 9px 10px;
    margin-left: -3px;
    width: 216px;
    height: 140px;
}


/* leftside - news bottom */

.newsline {
    padding-left: 20px;
    padding-top: 10px;
}

.nlpost {
    padding: 10px 0px 20px;
}

.nlpost p {
    color: #7993A2;
    font-size: 12px;
    font-style: italic;
    margin: 0;
    padding: 0 0 5px;
}

.nlpost p img {
    margin-left: 5px;
}

.nlpost a {
    color: #007CC3;
    font-size: 14px;
    line-height: 18px;
}

.allnewsp {
    text-align: left;
    padding-top: 0px;
}

a.allnewsp {
    color: #007CC3;
    font-style: italic;
    font-size: 12px;
    margin-left: 7px;
    padding-top: 3px;
    float: left;
}


/* Content - rightside */

.rside {
    float: right;
    width: 250px;
    padding-right: 20px;
    padding-bottom: 20px;
}

.rside h1 {
    border-bottom: 1px solid #e2e2e2;
    margin: 11px 0px 10px;
    padding: 10px 0px;
}

.rside h1, .rside h1 a {
    font-size: 18px;
    font-weight: bold;
    color: #5e5e5e;
    padding-right: 20px;
    text-decoration: none;
}

.rside h1 a {
    background: url(img/h1a.gif) no-repeat right 7px;
}


/* rightside - quotes */

.rside h1.frst {
    border-bottom: none;
    margin: 10px 0px 0px;
    padding: 10px 0px;
}

.rside h1.frst a {
    background: url(img/h1a.gif) no-repeat right 7px;
    font-size: 18px;
    font-weight: bold;
    color: #5e5e5e;
    padding-right: 20px;
    text-decoration: none;
}

.rside h1 a:hover {
    text-decoration: underline;
}

.qbg {
    width: 250px;
    background: url(img/qbg.png) repeat-y center top;
}

.qbgt {
    width: 250px;
    background: url(img/qbgt.png) no-repeat center top;
    padding-top: 6px;
}

.qbgb {
    width: 210px;
    padding: 10px 20px 30px;
    background: url(img/qbgb.png) no-repeat center bottom;
    color: #007cc3;
    font-size: 12px;
    font-style: italic;
    text-shadow: 0px 1px 0px #ffffff;
    line-height: 18px;
    min-height: 209px;
}

.qperson {
    padding: 5px;
    width: 225px;
    margin-top: 10px;

    line-height: 17px;
    padding-left: 10px;
    border: solid 5px #eaeef0;
    text-shadow: 0px 1px 0px #ffffff;
    background: url("img/lnbgg.png") repeat-x left top #d5dde1;
}

.qperson img {
    float: right;
    padding-left: 40px;
}

.qperson p {
    color: #7993a2;
    margin: 0;
    font-size: 11px;
    font-style: italic;
    line-height: 15px;
    padding: 7px 0 3px 0;
}

.qperson span {
    color: #0680c5;    
    font-weight: bold;
    line-height: 20px;
}


/* rightside - announcements */

.announc {
    font-size: 12px;
    line-height: 18px;
}

.announc p {
    color: #7993a2;
    font-style: italic;
    padding: 5px 0px;
    margin: 0px;
}

a.rssb {
    background: url("img/rss.gif") no-repeat left 3px !important;
    display: block;
    width: 26px;
    height: 20px;
    padding: 0px !important;
    margin: 0px !important;
    float: right;
}

a.rssb:hover {
    background: url("img/rss.gif") no-repeat left -17px !important;
}

.allblc {
    text-align: right;
    padding-top: 10px;
}

a.allann {
    color: #007CC3;
    float: right;
    font-style: italic;
    font-size: 12px;
    margin-left: 7px;
}


/* rightside - banners */
.rsbblock {
    padding-top: 25px;
}

.rsba {
    height: 66px;
    width: 250px;
    padding-top: 5px;
}

.rsba a {
    color: #6682a2;
    font-size: 12px;
    font-style: italic;
    font-weight: bold;
    text-decoration: none;
    display: block;
    line-height: 18px;
    padding: 11px 20px 12px 75px;
    text-shadow: 0px 1px 0px #ffffff;
}

.rsba a:hover {
    color: #c52329;
}

.gosusl {
    background: url("img/ba_gosusl.png") no-repeat left top;
}

.gosmun {
    background: url("img/ba_gosmun.png") no-repeat left top;
}

.opprav {
    background: url("img/ba_opprav.png") no-repeat left top;
}

.goszak {
    background: url("img/ba_goszak.png") no-repeat left top;
}

.rsbas {
    height: 66px;
    width: 228px;
    padding-top: 5px;
}

.rsbas a {
    font-style: normal;
    font-weight: bold;
    text-decoration: none;
    display: block;
    line-height: 18px;
    text-shadow: 0px 1px 0px #ffffff;
}

.ares {
    background: url("img/ba_ares.png") no-repeat left top;
}

.mksviaz {
    background: url("img/ba_mksros.png") no-repeat left top;
}

.dalinfocom {
    background: url("img/ba_dalinfonkom.png") no-repeat left top;
}

.strone {
    padding-top: 20px !important;
}

.prif {
    background: url("img/ba_prif.png") no-repeat left top;
}

.common {
    background: url(img/ba_common.png) no-repeat left top;
}

.ares a {
    color: #007cc3;
    font-size: 19px;
    padding: 20px 20px 21px 75px;
}

.ares span {
    color: #c52329;
}

.armap span {
    color: #c52329;
    font-size: 13px;
}

.obpriemka span {
    color: #c52329;
    font-size: 12px;
}

.ares a:hover, .armap a:hover, .obpriemka a:hover {
    color: #c52329;
}

.armap {
    background: url("img/ba_map.png") no-repeat left top;
}

.armap a {
    padding: 11px 10px 12px 75px;
    color: #007cc3;
    font-size: 17px;
}

.obpriemka {
    background: url("img/ba_obpriemka.png") no-repeat left top;
}

.obpriemka a {
    padding: 12px 5px 11px 75px;
    color: #007cc3;
    font-size: 11px;
}

.vacancy {
    background: url("img/ba_vacancy.png") no-repeat left top;
}

.vacancy a {
    padding: 18px 5px 21px 75px;
    color: #007cc3;
    font-size: 16px;
    text-decoration: underline;
}

.vacancy a:hover {
    color: #c52329;
}

.allmer {
    text-align: left;
    padding-top: 5px;
}

a.allmer {
    color: #007CC3;
    font-style: italic;
    font-size: 12px;
    margin-left: 7px;
    padding-top: 2px;
    float: left;
}


/* rightside - cloud */
.clblk {
    width: 250px;
}

.cal_topbg td {
    background: #57b5e2;
    color: #ffffff;
}

.cal_mnth {
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    text-shadow: 0 1px 0 #1973bd;
}

.tr_frst td {
    vertical-align: middle;
    border-bottom: 1px solid #bee1f3;
    padding: 10px;
}

.tr_wk {
    background: #2f83b3;
    font-style: italic;
    font-size: 10px;
    color: #bee1f3;
}

.tr_wk td{
    padding: 3px 0px;
}

.NewsCalOtherMonth, .custom_table th {
    background: #c0c0c0 url(img/g2bg.png) repeat-x left top;
    padding: 9px;
    border-right: 1px solid #aaaaaa;
}

.NewsCalOtherMonth_l {
    background: #c0c0c0 url(img/g2bg.png) repeat-x left top;
    padding: 9px;
}

.NewsCalDefault, .custom_table td {
    background: #e2e2e2 url(img/gbg.png) repeat-x left top;
    padding: 9px;
    border-right: 1px solid #aaaaaa;
}

.NewsCalDefault a {
    color: #007cc3;
}

.NewsCalDefault a:hover {
    text-decoration: none;
}

.NewsCalWeekend {
    background: #f0d4d4 url(img/rbg.png) repeat-x left top;
    padding: 9px;
    border-right: 1px solid #aaaaaa;
}

.NewsCalWeekend_l {
    background: #f0d4d4 url(img/rbg.png) repeat-x left top;
    padding: 9px;
}

.NewsCalToday {
    background: #1186c9 url(img/bbg.png) repeat-x left top;
    padding: 9px;
    color: #ffffff;
    font-size: 12px;
}

.NewsCalWeekend, .NewsCalWeekend_l, .NewsCalDefault, .NewsCalOtherMonth, .NewsCalOtherMonth_l {
    font-size: 12px;
    font-style: italic;
    color: #6f6d6d;
}

.c_arrl {
    background: url(img/arl.gif) no-repeat left top;
    display: block;
    height: 10px;
    width: 10px;
}

.c_arrr {
    background: url(img/arr.gif) no-repeat left top;
    display: block;
    height: 10px;
    width: 10px;
}

/* rightside - calculate */
.calblk {
    /*width: 250px;*/
    margin-top: 30px;
    font-family: Arial;
    background: #58b3e2;    
}


/* rightside - foto & video */
.rfblk {
    width: 250px;
}

.rfblk h1.frst {
    padding: 10px 0px;
    border-bottom: none;
    margin: 10px 0px 0px;
}

.rfblk h1.frst a {
    background: url(img/h1a.gif) no-repeat right 7px;
    font-size: 18px;
    font-weight: bold;
    color: #5e5e5e;
    padding-right: 20px;
    text-decoration: none;
}

.rfblk h1.frst a:hover {
    text-decoration: underline;
}

.rfblk p {
    color: #7993A2;
    font-size: 10px;
    font-style: italic;
    margin: 0;
    padding: 10px 0 2px;
}

.rfblk {
    color: #5e5e5e;
    font-size: 12px;
    line-height: 17px;
}


/* rightside - newslinks */
.nrsbg {
    width: 230px;
    margin-top: 30px;
    margin-bottom: 20px;
    background: #047ec4 url("img/nrsbg.png") no-repeat center top;
    padding: 15px 10px 20px;
}

.nrsbg span {
    font-size: 14px;
    text-shadow: 0 1px 0 #126db8;
    color: #ffffff;
    font-weight: bold;
    line-height: 18px;
    padding-bottom: 15px;
    display: block;
}

.nrsbg li {
    margin: 0px;
    list-style-type: none;
    padding: 7px 0 7px 18px;
    background: url("img/linkline.gif") no-repeat left 14px;
}

.nrsbg li:before {
    color: #ffffff;
    font-size: 12px;
    text-shadow: 0 1px 0 #126db8;
}

.nrsbg ul li a {
    color: #ffffff;
    font-size: 12px;
    text-shadow: 0 1px 0 #126db8;
}


/* rightside - search */
.rssearch {
    padding-top: 5px;
}

.rssrcbg {
    background: url("img/rssrcbg.png") no-repeat center top;
    height: 30px;
    padding: 0;
    margin: 0;
    width: 250px;
}

.rssrcbg .s_text {
    background: none;
    border: none;
    color: #919191;
    font-size: 11px;
    padding: 9px 10px 7px 7px !important;
    width: 230px;
    margin-bottom: 10px;
}

noindex:-o-prefocus, .rssrcbg .s_text {
    padding: 11px 10px 6px 7px !important;
}

.rssrcbg .date_from, .rssrcbg .date_to {
    background: none;
    border: none;
    color: #919191;
    font-size: 10px;
    padding: 9px 33px 9px 7px !important;
    width: 75px;
    background: url("img/datebg.png") no-repeat center top;
    cursor: pointer;
}

noindex:-o-prefocus, .rssrcbg .date_from, .rssrcbg .date_to {
    padding: 11px 33px 8px 7px !important;
}

.rssrcbg .date_from {
    margin-right: 16px;
}

.rsend {
    margin-top: 10px !important;
}

.bluebtn {
    background: url("img/bluebtn.png") no-repeat left top;
    padding: 0px;
    height: 31px;

    display: -moz-inline-stack;
    display: inline-block;
    _overflow: hidden;
    *zoom: 1;
    *display: inline;
}

.bluebtn span {
    background: url("img/bluebtn.png") no-repeat right -33px;
    padding: 9px 15px 9px 15px;

    display: -moz-inline-stack;
    display: inline-block;
    _overflow: hidden;
    *zoom: 1;
    *display: inline;
    color: #ffffff;
    text-shadow: 0 1px 0 #126DB8;
    font-style: italic;
    font-size: 13px;
}

.bluebtn:hover {
    background: url("img/bluebtn.png") no-repeat left -66px;
}

.bluebtn span:hover {
    background: url("img/bluebtn.png") no-repeat right -99px;
}

.srcrs {
    float: right;
    margin-top: 16px;
}


/* Footer linkblock */
.flb {
    background: url("img/fbg.png") repeat-y center 2px;
}

.flbbg {
    background: url("img/fbgimg.png") no-repeat center top;
    /*min-height: 182px;*/
    padding: 60px 20px 30px;
}

/*
.flbbg ul li:first-child {
    font-size: 15px;
    font-weight: bold;
}

.flbbg ul li:first-child a {
    font-size: 15px;
    font-weight: bold;
}

.flbbg ul {
    float: left;
    width: 210px;
    margin: 0px;
    padding: 0 0 0 30px;
}

.flbbg ul:first-child a {
    padding-left: 0px;
    font-weight: bold;
    font-size: 15px;
}

.flbbg ul.map-level-0 {
    float: left;
    width: 25%;
}
*/

.flbbg ul:first-child {
    margin: auto;
}

.flbbg ul li {
    margin-left: 2em;
    /*padding: 5px 0px 8px;*/
    line-height: 17px;
}

.flbbg ul li a {
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #146bb7;
}

.flbbg ul li a:hover {
    text-decoration: underline;
}

.flbbg ul li.link_root_node {
    width: 288px;
    float: left;
}

.flbbg ul li.link_root_node > a {
    font-size: 15px;
    font-weight: bold;
}

/* Footer */
.footer {
    padding: 15px 0px 10px;
    background: #1373aa url("img/footbg.png") repeat-x center top;
}

.footer p {
    color: #87c8ed;
    font-size: 12px;
    line-height: 17px;
    float: left;
    text-shadow: 0px 1px 0px #116697;
    margin: 10px 20px;
}

.footer a {
    color: #87c8ed;
    font-size: 12px;
    line-height: 17px;
    float: right;
    text-shadow: 0px 1px 0px #116697;
    text-decoration: underline;
    margin: 10px 20px;
}

.footer a:hover {
    color: #ffffff;
}


/* сие моё творчество */

.header_w h1 span {
    padding: 10px 0 0 0;
    margin: 0;
    font-size: 15px;
    color: #d3f0ff;
    font-weight: normal;
    
    display: block; /* ради валидности вёрстки (в h1 не может быть блочных элементов) */
}

div.ns_img ul li {
    margin: 0;
    padding: 0;
    position: absolute;
}

/*
ul.breadcrumbs {
    padding: 20px;
    border-bottom: 1px solid #E2E2E2;
}

ul.breadcrumbs li {
    display: inline;
    margin: 0 0.5em 0 0;
}

ul.breadcrumbs li span {
    color: #dfdfdf;
}

ul.breadcrumbs li a {
    color: #777777;
    font-size: 12px;
    background: none repeat scroll 0 0 transparent;
}


q {
    quotes: '“' '”' '‘' '’';
}

q:before {
    content: '“';
    content: open-quote;
}

q:after {
    content: '”';
    content: close-quote;
}

q q:before {
    content: '‘';
    content: open-quote;
}

q q:after {
    content: '’';
    content: close-quote;
}

blockquote q:before {
    content: '‘';
    content: open-quote;
}

blockquote q:after {
    content: '’';
    content: close-quote;
}

blockquote q q:before {
    content: '“';
    content: open-quote;
}

blockquote q q:after {
    content: '”';
    content: close-quote;
}
*/

blockquote:before {
    /*
    content: "—";
    */
    margin-right: 0.5em;
}

blockquote p {
    margin-top: 0.5em !important;
}

small {
    font-size: 70%;
}

div.all_event_list {
    margin: 1em 20px;
}

table.form tbody tr {
    border-bottom: solid 1px #dfdfdf;
}

table.form tbody tr td, table.form tfoot tr td {
    padding: 0.5em;    
    vertical-align: top;
}

table.form tbody tr td label {
   line-height: 1.5em; 
}

ul.form_errors {
    color: red;
}

/* видео в новости */
div.fnvid div:first-child {
    display: -moz-inline-stack;
    display: inline-block;
    _overflow: hidden;
    *zoom: 1;
    *display: inline;
}

input.date_to {
    float: right;
}

div.mailing_list_item, div.mailing_list_item label {
    margin-bottom: 0.5em;    
}

ul.tag_list, ul.tag_list li {
    margin: 0;
    display: inline;
}

ul.tag_list li.separator {
    margin-right: 5px;
}

div.search_path {
    margin-bottom: 8px;
}

ul.search_path_chain {
    display: inline;
    margin-left: 10px;
    border-bottom: none;
}

div.noimg {
    background-image: url(img/noimg.png);
}

a.npil {
    width: 112px;
    height: 73px;
    display: block;    
    overflow: hidden;
}

a.nxtitle {
    margin-left: auto;
}

.nxtext {
    margin-left: auto;
}

.hlogo_index { /* парадный герб */
    background-position: -194px 0;
}

div.fnbi img {
    display: block;
    margin: 20px auto;
}

/* на странице детального просмотра органа власти, под обращением главы (его должность и имя) */
div.badge {
margin-top: 1em;
}

div.badge p {
    display: inline;
}


.popup-window-center-column {
    height: auto !important; /* костыль для битриксовского календаря (высота в 8px создаёт пустое пространство) */
}


ul.social_menu {
    margin: 15px 0;    
}

ul.social_menu li {
    margin: auto;
    display: inline;
}


a.socialbutton {
    width: 40px;
    height: 40px;
    margin-right: 5px;
    background: url(img/socicon.png);

    display: -moz-inline-stack;
    display: inline-block;
    _overflow: hidden;
    *zoom: 1;
    *display: inline;
}


a.twitter_button {
    background-position: -150px 0;
}

a.twitter_button:hover {
    background-position: -150px -50px;
}


a.youtube_button {
    background-position: -200px 0;
}

a.youtube_button:hover {
    background-position: -200px -50px;
}


a.facebook_button {
    background-position: 0 0;
}

a.facebook_button:hover {
    background-position: 0 -50px;
}


a.odnoklassniki_button {
    background-position: -50px 0;
}

a.odnoklassniki_button:hover {
    background-position: -50px -50px;
}


a.vkontakte_button {
    background-position: -100px 0;
}

a.vkontakte_button:hover {
    background-position: -100px -50px;
}

a.picassa_button {
    background-position: -250px 0;
}

a.picassa_button:hover {
    background-position: -250px -50px;
}

a.instagram_button {
    background-position: -300px 0;
}

a.instagram_button:hover {
    background-position: -300px -50px;
}


a.old {
    width: 153px;
    height: 30px;				
    background: url(img/old_ver_button.png) top;

    color: #fff;
    text-align: center;	
    
    position: relative;
    top: 15px;
    left: 45px;

    display: -moz-inline-stack;
    display: inline-block;
    _overflow: hidden;
    *zoom: 1;
    *display: inline;
}

a.old:hover {
    background-position: 0 -40px;
}

a.old span {
    margin-top: 8px;
    font-size: 12px;

    display: -moz-inline-stack;
    display: inline-block;
    _overflow: hidden;
    *zoom: 1;
    *display: inline;	
}



div.lside h1.frst {
    margin-bottom: 0;
    border-bottom: none; 
}

p.nsep {
    margin-bottom: 25px;
    background: url(img/sepline.png) center 2px repeat-x;
}

span.nsepvoid {
    padding-right: 10px;
    background-color: #ffffff;
}

span.time {
    margin-top: 3px;
    margin-right: 15px;
    vertical-align: top;

    display: -moz-inline-stack;
    display: inline-block;
    _overflow: hidden;
    *zoom: 1;
    *display: inline;
}

a.mnposttitle {
    width: 630px;
    vertical-align: top;

    display: -moz-inline-stack;
    display: inline-block;
    _overflow: hidden;
    *zoom: 1;
    *display: inline;
}

div.npostbadges {
    margin-left: 41px;
    margin-bottom: 2px;
}

div.npostbadges img {
    margin-left: 5px;
}



div.photoslider {
    float: right;
    width: 680px;
    height: 121px;
    overflow: hidden;
    padding: 18px 0;
    margin: 25px 0;
    position: relative;
    background: url(img/ns_bg.png) center top no-repeat;
}

div.photoslider div.photoslider_larrow, div.photoslider div.photoslider_rarrow {
    width: 34px;
    cursor: pointer;
}

div.photoslider div.photoslider_larrow {
    float: left;
}

div.photoslider div.photoslider_rarrow {
    float: right;
}

div.photoslider div.photoslider_base, div.photoslider div.photoslider_larrow, div.photoslider div.photoslider_rarrow {
    height: 130px;

    display: -moz-inline-stack;
    display: inline-block;
    _overflow: hidden;
    *zoom: 1;
    *display: inline;
}

div.photoslider div.photoslider_larrow div.photoslider_larrow_icon, div.photoslider div.photoslider_rarrow div.photoslider_rarrow_icon {
    width: 20px;
    height: 45px;
    top: 35px;
    position: relative;
    background: url(img/ns_sliner.png);
}

div.photoslider div.photoslider_larrow div.photoslider_larrow_icon {
    float: left;
    background-position: 0 0;    
}

div.photoslider div.photoslider_larrow div.photoslider_larrow_icon:hover {
    background-position: 0 -64px;    
}

div.photoslider div.photoslider_rarrow div.photoslider_rarrow_icon {
    float: right;
    background-position: -60px 0;
}

div.photoslider div.photoslider_rarrow div.photoslider_rarrow_icon:hover {
    background-position: -60px -64px;
}

div.photoslider_image {
    width: 174px;
    height: 123px;
    margin: 0 10px;
    padding: 4px 0 0 10px;
    background: url(img/ns_img_bg.png) no-repeat center top;
}



div.lside h1 a.infographics {
    float: right;
    padding-left: 15px;
    margin-right: -40px;
    background: url(img/infographics.gif) no-repeat left 5px;
}


div.fbbg div.vbbgthumbscreener, div.fbbg div.vbbgthumblabel,
div.vbbg div.vbbgthumbscreener, div.vbbg div.vbbgthumblabel {
    position: relative;
    height: 142px;
}

div.fbbg div.vbbgthumbscreener,
div.vbbg div.vbbgthumbscreener {
    bottom: 146px;
    background: url(img/photo.png) center center no-repeat #000;
    
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    filter: alpha(opacity=40);
    -moz-opacity: 0.4;
    -khtml-opacity: 0.4;    
    opacity: 0.4;
}

div.fbbg div.vbbgthumbscreener {
    left: 1px;
    bottom: 143px !important;
    bottom: 147px\9 !important;
}

div.fbbg div.vbbgthumblabel,
div.vbbg div.vbbgthumblabel {   
    bottom: 288px;
    bottom: 292px\9;
    color: #fff;
}

div.fbbg div.vbbgthumblabel div,
div.vbbg div.vbbgthumblabel div {
    position: absolute;
    left: 5px;
    bottom: 2px;
}

div.fbbg div.vbbgthumblabel div {
    bottom: 0;
}

div.vbbg div.vbbgthumbscreener {
    background: url(img/play.png) center center no-repeat #000;
}

/* для хрома */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    div.fbbg div.vbbgthumbscreener,
    div.vbbg div.vbbgthumbscreener {
        height: 142px;
        bottom: 142px;
    }

    div.fbbg div.vbbgthumblabel div,    
    div.vbbg div.vbbgthumblabel div {
        bottom: -2px !important;
    }
}

/* для оперы */
x:-o-prefocus, div.fbbg div.vbbgthumbscreener,
x:-o-prefocus, div.vbbg div.vbbgthumbscreener {
    height: 142px;
    bottom: 142px;
}

x:-o-prefocus, div.vbbgthumblabel div {
    bottom: -2px !important;
}



span.starrequired {
    color: red;
}



div.spage > img {
margin: 10px;
}



.hlogo a img {
display: none;
}


table.subscribe_form_table {
margin-bottom: 10px;
}

table.subscribe_form_table td {
padding: 5px;
vertical-align: middle;
}

table.subscribe_form_table tbody tr td > div {
margin-top: 15px;
}

table.subscribe_form_table tbody tr td > div input {
margin-top: 5px;
}


ul.hmenu {
height: 48px;
width: 633px;
}

ul.hmenu li.blind_contrast {
padding-top: 0 !important;
background: none !important;
}

ul.hmenu li.blind_contrast a {
width: 194px;
height: 30px;
display: block;
background: url(img/blind.png) no-repeat top;
}

ul.hmenu li.blind_contrast a:hover {
background-position: bottom;
}


table.link_block {
width: 100%;
border-spacing: 15px;
border-collapse: separate;
}

table.link_block td {
width: 25%;
}

table.link_block td a {
color: #fff;
}

table.link_block td ul li {
margin: 0;
padding: 0;
line-height: 15px;
border-bottom: dotted 1px #fff;
}

table.link_block td ul li a {
font-size: 11px;
}

table.link_block td ul li.link_block_last_child {
border-bottom: none;
}

div.link_block_header {
color: #fff;
font-weight: bold;
}

td.root_link_block_header {
padding-bottom: 10px;
border-bottom: solid 2px #fff;
}

ul#wizard li[data-label] {
display: none;
}


.news_badge {
color: white;
margin: 0 2px;
padding: 0 4px;
font-size: 90%;
display: inline-block;
background-color: #0066c0;

overflow: hidden; 
font-style: italic;
box-sizing: border-box;
height: 15px;

vertical-align: middle;
line-height: 1.3em;

-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}

.datetime .news_badge:first-child {
margin-left: 5px;
}

.npostbadges .news_badge {
vertical-align: baseline;
}