body
{
    margin: 0px;
    background-color: #DADADA;
    min-width: 1263px; /* :)  */
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
}

header
{
    width: 100%;
    background-color: #B1B1B1;
    min-height: 100px;
    max-width: 1350px;
}

.central
{
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

#logo
{
    float: left;
    width: 33%;
    margin-top: 20px;
    margin-bottom: 17px;
}

#logopic
{
    width: 100%;
    max-width:400px
}

#search
{
    float: right;
    width: 36%;
    margin-top: 40px;
}

.search
{
    border: 1px solid #A3A3A3;
    border-radius: 5px;
    height: 40px;
    width: 72%;
    padding-left: 10px;
    float:left;
}
.search_form
{
    position: relative;
}

form>a
{
    float: left;
    display: block;
    margin-left: 18px;
}
.sbutton
{
    position: absolute;
    top: 8px;
    left:56%;
    background-color: white;
    border: 1px dotted #A3A3A3;
    border-radius: 5px;
    color: #A3A3A3;
    height: 25px;
    display: block;
    float: left;
}

#topmenu
{
    width: 100%;
    color: black;
    text-transform: uppercase;
}

.clear
{
    clear: both;
}

#borderline
{
    width: 100%;
    height: 13px;
    background: url('images/line.png');
    margin-bottom: 10px;
}

#left_block
{
    width: 18%;
    background-color: white;
    float: left;
    min-height: 300px;
}

#right_block
{
    width: 81%;
    float: right;
    min-height: 910px;
}

.footer
{
    background-color: #ACACAC;
    border-top: 3px solid #838383;
}

#footer_block1,#footer_block2,#footer_block3
{
    float: left;
    padding: 5px;
    padding-top: 10px;
    color: white;
    font-size: 12px;
    font-family: Arial;
}

#footer_block1, #footer_block2
{
    width: 20%;
}

#footer_block3
{
    width: 55%;
}


.news-line
{
    background-image: url(images/dot2.png);
    background-position: left bottom;
    background-repeat: repeat-x;
}

.news-line>ul
{
    padding-top: 0px;
    padding-left: 0px;
    list-style-position : inherit;
    list-style-type: none;
    margin-top: 5px;
    line-height: 2;
    padding-bottom: 10px;

}

.news-line>h2
{
    color: #9B9B9B;
    margin-bottom: 5px;
    margin-top: 0px;
}
.news-line>ul>li>a
{
    text-decoration: none;
    color: black;
    margin-left: 0px;
    font-size: 14px;
}
.left_item
{
    padding: 5px;
    padding-left: 10px;
    font-family: Arial;
    font-size: 12px;
    text-decoration: none;
    color: black;
}

.left_column_publications__title
{
    margin-top: 0;
    margin-bottom: 10px;
}

.left_column_publications__title > a
{
    color: #9B9B9B;
    text-decoration: none;
}

.left_column_publications__item
{
    display: block;
    color: black;
    text-decoration: none;
    margin-bottom: 12px;
}

.left_column_publications__item:last-child
{
    margin-bottom: 0;
}

.left_column_publications__img
{
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 6px;
}

.left_column_publications__name
{
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.2;
}

.left_column_publications__text
{
    display: block;
    color: #3f3f3f;
    font-size: 12px;
    line-height: 1.35;
}

.main_hr
{
    background-image: url(/local/templates/new_main/images/dot-3.png);
    background-position: left bottom;
    background-repeat: repeat-x;
    height: 5px;
    margin-top: 6px;
    margin-bottom: 6px;
}

#left1
{
    float: left;
    width: 60%;
    margin-right: 10px;
    background-color: white;
    height: 100%;

}
#right1
{
    width: 38.9%;
    float: right;
    height: 100%;
}

.news-item
{
    margin: 0px;
    padding: 0px;
    height: 100%;
}

.section_name
{
    font-family: Verdana, Arial;
    color: #A72222;
    display: block;
    float: left;
    margin-bottom: 10px;

}
.forum_count
{
    font-family: Verdana, Arial;
    color: #919191;
    display: block;
    float: right;
    margin-bottom: 10px;
}
.forum_count>a
{
    text-decoration: none;
    color: #919191;
    font-size: 12px;
}


.preview_text
{
    font-family: Verdana;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
    text-align: justify;

}

.news_name
{
    font-family: Verdana, Arial;
    text-decoration: none;
    color: black;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.news-date-time
{
    font-family: Verdana, Arial;
    color: black;
    font-size: 12px;
    display: block;
    margin-bottom: 5px;
}

#news_block
{
    height: 478px;
    width: 100%;
    overflow: hidden;
    min-width: 910px;
}

.news-item2
{
    height: 100px;
    overflow: hidden;
    margin-bottom: 10px;
    background-color: #ffffff;
}

.news_name2
{
    font-family: Verdana, Arial;
    font-size: 14px;
    font-weight: bold;
    color: black;
    text-decoration: none;
    display: block;
    margin-top: 4px;
}

.preview-text2
{
    font-family: Verdana;
    font-size: 14px;
    display: block;
}

#ufolenta
{
    margin-bottom: 10px;
}
#ufolenta>img
{
    width: 100%;
}

.news_block2
{
    height: 470px;
    width: 100%;
    overflow: hidden;
    margin-top: 10px;
    min-width: 910px;
}

.left_block2
{
    float: left;
    width: 49%;
    margin-right: 10px;
    background-color: white;
    height: 100%;

}
.right_block2
{
    float: right;
    width: 49.8%;
    background-color: white;
    height: 100%;


}

#reklama1
{
    height: 90px;
    width: 100%;
    background-color: white;
    margin-top: 10px;
    text-align: center;
}

#arhive
{
    margin-top: 10px;
    margin-right: 0px;
    min-width: 910px;
}

.news-list3
{
    height: 470px;
}
.news-item3
{
    float: left;
    margin: 0px;
    margin-right: 10px;
    background-color: white;
    width: 32.6%;
    overflow: hidden;
    height: 460px;
    text-align: center;
}
.news-item3>a
{
    display: block;
    height: 150px;
}
.news-item3:last-child
{
    margin-right: 0;
    float:right; 
}
.news-item3:last-child>a>img
{
    width: auto !important;
    margin-bottom: 10px;
    height: 136px;
    padding: 10px;
}

.ufolenta_block
{
    overflow: hidden;
    height: 70px;
    /*width: 246px;*/
    padding-top: 5px;
}
img.preview_picture
{
    margin-right: 6px !important;
}

#pagination
{
    display: none !important;
}
.em_button
{
    color: #505050 !important;
    font-weight: bold;
    border: 1px dotted #505050;
    border-radius: 6px;
    margin-left: 1px;
    padding: 3px !important;
    height: 18px;
}
.em_button:hover
{
    background: #970102;
    color: white !important;
}

.social
{
    margin-bottom: 5px;
    height: 31px;
}
.social>a
{
    display: block;
    float: left;
    margin-right: 7px;
}
.reklama_inner
{
    width: 728px;
    margin-left: auto;
    margin-right: auto;
}
.news-date-time
{
    font-size: 14px;
    font-weight: bold;
}

#main_content
{
    
}
p
{
    font-weight: normal;
    text-decoration: none;
    color: black;
}
.news-list
{
    height: 100%;
}
/* ������� ������������� */
.k_bottom {
    min-height: 20px;
    text-align: right;
    text-decoration: none;
    color: gray;
    float: right;
}

.k_bottom > a {
    text-decoration: none;
    color: gray;
    font-size: 12px;
}

.kartochka {
    max-width: 32.5%;
    float: left;
    padding: 4px;
    font-family: Verdana, Arial;
    font-size: 14px;
    cursor: pointer;
}

.kartochka h4 {
    margin-top: 3px;
    margin-bottom: 3px;
    color: #044faa;
    font-size: 16px;
    font-family: Verdana, Arial;
}

.k_picture {
    max-height: 170px;
}

.k_picture > img {
    max-width: 100%;
}

.kniz {
    border-top: 3px solid #838383;
    background-color: white;
    padding: 3px;
}
.kniz>h4
{
    float: left
}

.ktime {
    font-family: 'Segoe UI Regular', Arial, Helvetica, Verdana, Roboto, Calibri, sans-serif;
}

.k_text {
    min-height: 53px;
}
.k_text>a
{
    text-decoration: none;
    color: black;
}

/* ������� ����: ������ ����� �� ��������� */
.topmenu-with-burger
{
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    width: 100%;
}

.topmenu-menu-wrap
{
    flex: 1;
    min-width: 0;
}

#topmenu .topmenu-menu-wrap #horizontal-multilevel-menu
{
    width: 100%;
}

.rubric-burger
{
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 34px;
    margin: 0 10px 0 0;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.12);
    cursor: pointer;
    box-sizing: border-box;
}

.rubric-burger:hover
{
    background: rgba(0, 0, 0, 0.2);
}

.rubric-burger__bar
{
    display: block;
    height: 3px;
    margin: 0 8px;
    border-radius: 1px;
    background: #fff;
}

.rubric-burger.is-open .rubric-burger__bar:nth-child(1)
{
    transform: translateY(8px) rotate(45deg);
}

.rubric-burger.is-open .rubric-burger__bar:nth-child(2)
{
    opacity: 0;
}

.rubric-burger.is-open .rubric-burger__bar:nth-child(3)
{
    transform: translateY(-8px) rotate(-45deg);
}

.rubric-burger__bar
{
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body.rubric-drawer-open
{
    overflow: hidden;
}

.rubric-drawer-overlay
{
    position: fixed;
    z-index: 10050;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.rubric-drawer-overlay.is-open
{
    visibility: visible;
    opacity: 1;
}

.rubric-drawer
{
    position: fixed;
    z-index: 10051;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: min(360px, 90vw);
    max-width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.18);
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
}

.rubric-drawer.is-open
{
    transform: translateX(0);
}

.rubric-drawer__head
{
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid #ccc;
    background: #f0f0f0;
}

.rubric-drawer__title
{
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: #4f4f4f;
}

.rubric-drawer__close
{
    margin: 0;
    padding: 0 8px;
    border: none;
    background: none;
    font-size: 26px;
    line-height: 1;
    color: #666;
    cursor: pointer;
}

.rubric-drawer__close:hover
{
    color: #000;
}

.rubric-drawer__body
{
    flex: 1;
    overflow-y: auto;
    padding-bottom: 16px;
}