* {box-sizing: border-box;}
body{padding:0px;margin:0px;font-family:arial;font-size:12px;color:#333333;background:#FFFFFF}
.all {width: 1003px;}
form{margin:0px;padding:0px;}
img {
    border:0px;
    max-width: 100%;
}

.clear {clear: both;}

.clearfix:after{content:"";display:table;clear:both;}

.right_side {float: right;}

#page_header .right_side a {
   display: inline-block;
   vertical-align: middle;
}

.logo {
    margin: 16px 0 0 0;
}

.logo a,
.logo {
    width: 220px;
    height: 84px;
    display: inline-block;
    vertical-align: middle;
}

.site_title {
    margin: 9px 0 0 92px;
    display: inline-block;
    vertical-align: middle;
    width: 346px;
    height: 40px;
}

#page_header .right_side a {
    width: 110px;
    text-align: center;
}

#page_header .right_side a:first-of-type {
    width: 90px;
}

.left_bg_img::before,
.right_col .taxonomy::before {
    content: '';
    display: inline-block;
    vertical-align: bottom;
    width: 32px;
    height: 4px;
    background: #fff;
    margin: 0 7px 2px 0;
}

.date {
    display: inline-block;
    vertical-align: middle;
    line-height: 18px;
}

.hdr {
    background-image:url(/desimages/hdr.jpg);
    background-repeat:no-repeat;
    /*height: 99px;*/
}

.hdr_en{background-image:url(/desimages/hdr_en.jpg);background-repeat:no-repeat;}
.h11{padding: 29px 35px 20px 53px; width: 90px;}
.h13{padding-top:1px;vertical-align:top;text-align:center;}

a.hdr_text{font-family:Arial;font-weight:bold; text-decoration:none; color:#333333}
a.hdr_text:hover{font-family:Arial;font-weight:bold; text-decoration:none; color:#999999}


.header1 {
    background-color:#959595;
    font-weight: bold;
    font-size: 11px;
    color: #FFFFFF;
    font-family:Arial;
    height: 18px;
    border-bottom: 1px solid #959595;
}

.header1 a{font-weight: bold; font-size: 11px; color: #FFFFFF;font-family:Arial; line-height:18px;}
.header1 a:hover{text-decoration:none}

.header2{padding: 3px 33px 12px 34px;background-color:#CECECE;border-top:1px solid #AFAFAF;font-weight: bold; font-size: 11px; color: #FFFFFF;font-family:Arial;}
.header3 {font-weight: bold; font-size: 11px; color: #707070}
.header3 a{font-weight: bold; font-size: 11px; color: #707070;text-decoration:underline}
.header3 a:hover{font-weight: bold; font-size: 11px; color: #707070;text-decoration:none}

.border_left{border-left:1px solid #BEC2CB;}
.border_middle{border-left:1px solid #cccccc;}

.header4_top{border-top:1px solid #B7D4C0;border-bottom: 1px solid #ffffff;background-color:#C8E2D0;}
.header4_bottom{border-bottom: 3px solid #C8E2D0;background-color:#FFFFFF;}

.block_header {
    min-height: 22px;
    line-height: 19px;
}

.left_col_contacts {
    background-image: url(/desimages/left_col_contacts_bg.jpg);
    background-repeat: no-repeat;
}

.left_col_contacts a {
    padding-right:5px;
    font-family:Arial;
    font-weight:bold;
    text-decoration:underline;
    font-size:11px;
    color:#333333;
    display: inline-block;
    margin: 50px 0 0 14px;
}

.left_col_contacts a:hover {
    text-decoration:none;
    color:#333333;
}

.grey_border{border-top:1px solid #DFDFDF; border-bottom: 1px solid #959595;}
table.left_column{border-top:1px solid #C1C1C1;border-bottom:1px solid #C1C1C1;border-left:1px solid #BEC2CB;background-color:#DCDCDC;}

td.l11{background-image:url(/desimages/l11.gif);background-repeat:no-repeat;}
td.l21{background-image:url(/desimages/l21.jpg);background-repeat:no-repeat;}
td.l22{background-image:url(/desimages/l22.jpg);background-repeat:no-repeat;}
td.l23{background-image:url(/desimages/l23.jpg);background-repeat:no-repeat;}
td.l33{background-image:url(/desimages/l33.gif);background-repeat:no-repeat;}
td.l42{background-image:url(/desimages/l42.gif);background-repeat:no-repeat;}

.right_col {
    width: 768px;
    order: 1;

}


.page_content, .inner_block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.left_col_contacts {
    height: 84px;
    position: relative;
}

.rubrics_list {
    padding: 6px 4px 6px 6px;
}

.submit{border:1px solid #999999;}
select.rubric{width:190px;border:1px solid #999999;font-family:Arial;font-size:11.5px;font-weight:normal;font-style:normal;}
option.not_act_rub{background-color:#ffffff !important;color:#999999 !important;}

.top_rubric_list {
    background-color: #F9F9F9;
    margin: -30px -30px 0;
    padding: 5px 5px 23px 5px;
    clear: both;
}

.top_rubric_list .col {
    display: inline-block;
    vertical-align: top;
}

.top_rubric_list a {
    background: url(/desimages/rub_menu_btn.gif) no-repeat left 8px;
    display: block;
    padding: 3px 0px 0px 12px;
    font-size: 11px;
    font-weight: bold;
    text-decoration: underline;
    color: #000000;
    margin-left: 34px;
}

.top_rubric_list a:hover {
    text-decoration: none;
}

table.search{color:#333333;font-size:11px;font-family:Arial;}
table.search a{color:#666666;font-size:11px;font-family:Arial;text-decoration:underline;}
table.search a:hover{text-decoration:none;}
.border_search{border:1px solid #A5A5A5;}
input.edit{width:300px;height:15px;border:1px solid #A5A5A5;}
input.search_date{width:70px;height:15px;border:1px solid #A5A5A5;font-family:arial;font-size:11px}

td.smL1{padding:0px 9px 8px 0px}
td.smL1_title{padding:0px 0px 8px 5px; text-align:left;}
td.smL1_title a{font:bold 11px Arial;color:#333333;text-decoration:none}
td.smL1_title a:hover{color:#666666}
td.smL2{padding:1px 5px 3px 18px;}
td.smL2_title{padding:1px 0px 3px 5px; text-align:left;}
td.smL2_title a{font:11px Arial;color:#333333;text-decoration:underline}
td.smL2_title a:hover{text-decoration:none}

.header_pages {background-color:#EFEFEF;
              font-size:11px;
              min-height: 27px;
}

.right_col_content .header_pages {
    margin: -30px -30px 30px;
}

.header_pages.wide {
    margin: 0 -30px;
}

.header_pages a{color:#000} 
.header_pages a:hover{text-decoration:none}

.table_list_btns {
    display: inline-block;
    vertical-align: middle;
    margin: 3px 0 0 39px;   
}

.table_list_btns a {
    display: inline-block;
    vertical-align: top;
}

.table_list_btns img {
    cursor: pointer;
}

/* отображение списком */

.list_view .media_item {
    display: block;
    width: 100%;
}

.list_view .media_item .link_img {
    width: 152px;
    float: left;
}

.list_view .media_item .link_img + .info_right {
    margin-left: 152px;
}

.list_view .info_right {
    padding: 0 0 0 11px;
}

.list_view .photo_separator {
    clear: both;
    padding-top: 1px;
}

.list_view .photo_date {
    margin-bottom: 10px;
}

.list_view .theme_quantity_block {
    margin-bottom: 6px;
}

.list_view .photo_title {
    padding: 0;
    font-weight: bold;
}

/* конец отображение списком */

.media_item {
    width: 152px;
    display: inline-block;
    vertical-align: top;
    margin-left: 26px;
}

.media_item .info_top {
    margin-bottom: 7px;
}

/* новости таблицей */
.one_media_table .media_item{
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.one_media_table .info_top{
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
}

/* новости строками */
.column_style .media_item{
    display: block;
    -webkit-box-orient: unset;
    -webkit-box-direction: unset;
    -ms-flex-direction: unset;
    flex-direction: unset;
    padding-bottom: 10px;
    border-bottom: 1px solid #cccccc;;
}

.column_style.clearfix::after { 
    content: '';
    clear: both; 
    display: block;
   }

.column_style .media_item{
    margin-top: 40px;
}

.column_style .media_item:first{
    margin-top: 0;
}

.column_style .link_img{
    margin-right: 11px;
    float: left;
    width: 150px;
}

.column_style .photo_title{
    padding: 0;
    font-weight: bold;
}

.column_style .d-none{
    display: none;
}

.column_style .photo_separator{
    display: none;
}

.photo_small{border:1px solid #CCCCCC;background-color:#E1E1E1;width:150px;height:152px;vertical-align:middle;}
.photo_date{font-size:11px;font-weight:bold;border-bottom:3px solid #C8E2D0; display: inline-block;vertical-align: top;}
.photo_title {
    padding:15px 0px 31px 0px;
}
.photo_author{padding:5px 0px 31px 0px;}
.photo_author font{font-weight:bold;font-size:11px;color:#999999;}
.photo_separator {
    padding:0px 0px 34px 0px;
    margin-left: 26px;
}
.photo_separator hr{border:0px;border-bottom:1px solid #cccccc;}

#ph_big {
    max-width: 400px;
}

.photoFullList {
    background-color: #F4F4F4;
    padding: 6px 2px 0px 6px;
    margin-bottom: 3px;
}

.list_photo {
    background-color: #E4E4E4;
    border: 1px solid #979797;
    display: inline-block;
    vertical-align: top;
    width: 135px;
    height: 135px;
    margin: 1px 2px 4px 0;
    position: relative;
    overflow: hidden;
}

.list_photo img,
.media_item .link_img img {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    cursor: pointer;
    object-fit: contain;
}

.media_item .link_img img {
    max-height: 152px;
}

.list_photo img {
    max-height: 135px;
}

td.photo_list_title{padding:0px 0px 4px 0px;font-weight:bold;}
td.photo_list_text{padding:0px 0px 10px 0px;}
td.photo_list_author font{font-weight:bold;font-size:11px;color:#999999;}

.big_photo_box {margin-bottom: 13px;}
.photo_full_border{border-top:1px solid #CCCCCC;border-bottom:1px solid #CCCCCC;}
.photo_full_border td {vertical-align: top;}
table.photo_full_border_in{border-top:1px solid #E0E0E0;border-left:1px solid #CFCFCF;border-right:1px solid #CFCFCF;border-bottom:1px solid #E0E0E0;}
td.photo_full_border_bottom{font-weight:bold;border-bottom:1px solid #E0E0E0;padding:3px 8px 3px 10px;} 
.photo_full_border_bottom a{color:#333333;text-decoration:underline} 
.photo_full_border_bottom a:hover{text-decoration:none}
td.photo_full_border_right{border-right:1px solid #CFCFCF;border-bottom:1px solid #E0E0E0;padding:0px 5px 0px 9px;vertical-align:top}
.white_background{background-color:#ffffff;}
.photoFullList .white_background {height: 3px;}
td.photoFullList{background-color:#F4F4F4;padding:6px 0px 0px 6px;}
td.list_photo{background-color:#E4E4E4;border:1px solid #979797;}

.theme_desc {
    padding: 14px 47px 14px 26px;
    text-align: justify;
}

.rubric_desc {
    font-weight: bold;
}

.photo_full_title{font:13px Arial;color:#333333;text-align:left;padding-bottom:17px;}
.photo_full_border_bottom_last{padding:3px 8px 3px 10px; font-weight: bold;} 
.photo_full_border_bottom_last a{color:#333333;text-decoration:underline; font-weight: bold;} 
.photo_full_border_bottom_last a:hover{text-decoration:none} 
.photo_full_border_right_last{border-right:1px solid #CFCFCF;padding:0px 5px 0px 9px;vertical-align:top}

.description_href{padding:5px 0px;text-align:center;} 
.description_href a{color:#333;text-decoration:underline;font-weight:bold} 
.description_href a:hover{text-decoration: none}

.one_media {
    padding: 23px 32px 0px 36px;
    margin-left: -26px;
}

.right_col_content .one_media {
    padding: 0;
    margin: -7px 0 0 -20px;
}

.one_media .link_img {
    display: block;
    height: 152px;
    border: 1px solid #CCCCCC;
    background-color: #E1E1E1;
    position: relative;
    overflow: hidden;
}


.theme_quantity_block{padding:1px 0px 5px 0px;}
.theme_quantity {font-weight:bold;font-size:11px;color:#999999;}
.theme_quantity_block span.quantity{font-weight:bold;font-size:11px;color:#339966;}

td.taxonomy{font-weight: bold; font-size: 11px; color: #707070;}
td.taxonomy a{font-weight: bold; font-size: 11px; color: #707070;text-decoration:none}
td.taxonomy a:hover{font-weight: bold; font-size: 11px; color: #707070;text-decoration:underline}

td.pages_u{font-size: 11px; color: #333333;padding:0px 7px 0px 0px;}
td.pages_u a{font-size: 11px; color: #333333;text-decoration:underline;}
td.pages_u a:hover{font-size: 11px; color: #333333;text-decoration:none;}

.header_pages .p_prev,
.header_pages .p_next,
.header_pages .p_prev:hover,
.header_pages .p_next:hover {
    font-weight: normal;
}

.header_pages .p_prev {
    margin-right: 7px;
}

.header_pages .p_next {
    margin-left: 7px;
}

.header_pages .pages_m .center_block {
    display: inline-block;
    vertical-align: middle;
}

.header_pages .pages_m {
    margin-bottom: 0;
    float: right;
    margin-right: 4px;
    line-height: 23px;
}

.pages_m {
    margin-bottom: 18px;
}

.page_sel {
    text-align: center;
    font-size: 12px;
    color: #999999;
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
    min-width: 10px;
}

.next_prev_arrow {
    display: inline-block;
    vertical-align: middle;
    margin-top: 3px;
}

.p_prev {
    margin-right: 12px;
}

.p_next {
    margin-left: 12px;
}

.page_n_sel a,
.p_prev,
.p_next,
.p_next_block,
.p_prev_block {
    font-size: 12px;
    color: #000000;
    font-weight:bold;
    text-decoration:underline;
    display: inline-block;
    vertical-align: middle;
    min-width: 10px;
}

.page_n_sel a:hover,
.p_prev:hover,
.p_next:hover,
.p_next_block:hover,
.p_prev_block:hover {
    font-size: 12px;
    color: #000000;
    font-weight:bold;
    text-decoration:none;
}

td.paging2_s{text-align:center;font-size: 12px; color: #666666;font-weight:bold;background-color:#ffffff;border-top:1px solid #999999;border-left:1px solid #999999;}
td.paging2_s2{text-align:center;font-size: 12px; color: #999999;font-weight:bold;}

table.rub_menu_t{background-color:#F9F9F9;}
td.rubr_menu{padding:3px 0px 0px 8px;font-size:11px;font-weight:bold;color:#000000;}
td.rubr_menu a{font-size:11px;font-weight:bold;text-decoration:underline;color:#000000;}
td.rubr_menu a:hover{font-size:11px;font-weight:bold;text-decoration:none;}
td.rubr_menu_s{padding:3px 0px 0px 8px;font-size:11px;font-weight:bold;color:#999999;}

td.b_title{padding-top:5px;font-size:11px;font-family:Arial;}
a.b_at{color:#666;font-weight:bold;text-decoration:none;}
a.b_at:hover{color:#666;font-weight:bold;text-decoration:none;}
a.b_al{color:#000;font-size:11px;font-family:Arial;text-decoration:underline;}
a.b_al:hover{color:#000;font-size:11px;font-family:Arial;text-decoration:none;}

.logo_link {width: 500px; height: 98px; position: relative;}
.logo_link > a {position: absolute; top: 31px; height: 50px; left: 117px; width: 345px;}

.left_col{width: 234px; background-color: #ECECEC;}
.right_col{border-left: 1px solid #cccccc;}
.right_col .taxonomy{
    padding: 0px 36px 1px 0;
    border-top: 1px solid #B7D4C0;
    border-bottom: 1px solid #ffffff;
    background-color: #C8E2D0;
    font-weight: bold;
    font-size: 11px;
    color: #707070;
    line-height: 19px;
}
.right_col .taxonomy a{text-decoration: none; color: #707070;}
.right_col .taxonomy a:hover{text-decoration: underline;}
.right_col_content, .sitemap_inner {
    padding: 30px 30px 25px 30px;
}

.sitemap_inner .s_m_block_title a{font: bold 11px Arial; color: #333333; text-decoration: none;}
.sitemap_inner .s_m_block_title a:hover{color: #666666;}
.sitemap_inner .s_m_block_title a::before{
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: url(/desimages/sm_dot.gif) no-repeat;
    margin: 0 15px 1px 0;}
.sitemap_inner ul {list-style: none; margin: 7px 0; padding: 0 0 0 13px;}
.sitemap_inner ul a{font: 11px Arial; color: #333333; text-decoration: underline;}
.sitemap_inner ul a:hover{text-decoration: none;}
.sitemap_inner ul a::before{
    content: '';
    display: inline-block;
    width: 6px;
    height: 5px;
    background: url(/desimages/sm_l2.gif) no-repeat;
    margin: 0 9px 1px 0;}

/* футер */

.copyright {
    background-color: #F3F3F3;
    color: #959595;
    padding: 10px 0;
    text-align: center;
}

.info_block_footer {
    position: relative;
    padding-bottom: 48px;
    background: #F3F3F3;
    border-bottom: 1px solid #CFCFCF;
    border-top: 1px solid #CFCFCF;
}

.footer_img {
    position: absolute;
    top: -10px;
    width: 236px;
    height: 79px;
    background: url(/desimages/f-img-b.jpg) no-repeat;
    
}

.info_block_footer .right_side {
    width: 769px;
}

#error_word {
    font-weight: bold;
    font-size: 20px;
}

.counters a {
    display: inline-block;
    vertical-align: top;
    margin: 5px 20px 5px 0px;
    border: 0px;
    float: left;
}


/*изменение стилей по кнопкам для тем рубрики*/
.column_style .one_media{
    display:flex;
    flex-wrap: wrap;
}
.column_style .media_item{
    width: 100%;
}