.forum_body {
    margin-top: -26px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.forum {
    max-width: 1800px;
    width: 100%;
    background-color: #333333;
    color: #ffffff;
}

.searh_body {
    width: 100%;
    max-width: 400px;
    height: 40px;
    display: flex;
    flex-direction: row;
    margin-left: auto;
    margin-bottom: 0px;
}

.searh_body .txt {
    width: 100%;
    max-width: 360px;
    height: 100%;
    margin-top: 1px;
}

.searh_body .txt input {
    width: 100%;
    max-width: 340px;
    color: #333333;
}

.searh_body .btns {
    width: 41px;
    height: 100%;
    background-color: #333333;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.searh_body .btns:hover {
    background-color: rgba(255,255,255,0.1);
}

.category .caption {
    background-color: #080049;
    display:flex;
    flex-direction: row;
    align-items: center;
    font-size: 13px;
}

.category .caption h2:hover {
    background-color: rgba(255,255,255,0.1);
}

.category .caption .btn {
    width: 150px;
    /* height: 40px; */
    margin-left: auto;
    margin-right: 40px;
}

.category h2 {
    font-weight: 400;
    padding: 15px 20px;
    margin: 0;
    cursor: pointer;
}

.category table {
    width: 100%;
    border-collapse: collapse;   
}

.category table thead {
    background-color: rgba(255,255,255,0.2);
}

.category table thead tr th {
    font-weight: 400;
}

.category table tbody {
    background-color: rgba(255,255,255,0.4);
}

.category table tbody tr {
    min-height: 60px;
    border-bottom: solid 1px rgba(255,255,255,0.2);
    margin-bottom: 1px;
}

.category .cell_icon {
    background-image: url(/core/images/category_icon.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px auto;
}

.category .cell_caption {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    padding-left: 10px;
    cursor: pointer;
}

.category .cell_caption h3 {
    color: rgb(8, 0, 73);
    font-weight: 500;
    font-size: 1.3em;
    margin: 0;
}

.category .cell_caption p {
    margin: 0;
    font-weight: 100;
    font-style: italic;
    margin-bottom: 4px;
}

.category .cell_caption:hover {
    background-color: rgba(255,255,255,0.1);
}

.category .cell_update {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
    font-weight: 100;
}

.category .cell_update:hover {
    background-color: rgba(255,255,255,0.1);
}

.category .cell_update p {
    margin: 0;
}

.category .cell_update span {
    font-style: italic;
    margin-right: 10px;
    color: rgb(8, 0, 73);
    font-weight: 400;
}

.last_change_box {
    display: flex;
    justify-content: center;
    font-size: 14px;
    font-weight: 100;
}

.last_change_cell {
    display: flex;
    flex-direction: column;
    align-items: baseline;
}

.last_change_box a {
    color: #b3d8ff;
    font-weight: 400;
}

.last_change_box span {
    margin-right: 6px;
    font-style: italic;
    color: #e7e7e7;
    font-weight: 100;
}

.last_change_box a:hover,
.last_change_box a:hover span {
    color: #4CAF50;
    text-decoration: underline;
    font-weight: bold;
}

/* Стили для результатов поиска */
.search_results {
    background-color: rgba(255,255,255,0.4);
    padding: 20px;
    margin-top: 20px;
}

.search_result_item {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 15px;
}

.search_result_item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.search_result_item h3 {
    margin: 0 0 10px 0;
    font-weight: normal;
    font-style: italic;
    color: #b3d8ff;
}

.search_result_item h3 a {
    color: #b3d8ff;
    text-decoration: none;
}

.search_result_item h3 a:hover {
    text-decoration: underline;
}

.search_result_content {
    margin: 10px 0;
    font-style: italic;
    color: #323232;
    font-weight: normal;
}

.search_result_theme {
    margin: 5px 0;
    font-style: italic;
    font-weight: normal;
}

.search_result_theme a {
    color: #b3d8ff;
    text-decoration: underline;
}

.search_result_theme a:hover {
    text-decoration: underline;
}

.search_result_item .author_info {
    margin: 5px 0;
    color: #e7e7e7;
}

.search_result_item .date_info {
    margin: 5px 0;
    font-size: 0.9em;
    color: #cccccc;
}

.result_body {
    padding: 4px;
    background-color: whitesmoke;
    font-size: 14px;
    color: #585858;
}

.result_body p,
.result_body ul,
.result_body ol,
.result_body blockquote {
    margin: 0;
    padding: 0;
}

.result_body ul,
.result_body ol {
    list-style: none;
}
/* Стили для непрочитанных тем */
.category .cell_caption h3.unread {
    color: #1cef24;
    font-style: italic;
}
/* Мобильная адаптация */
@media screen and (max-width: 768px) {
    .forum_body {
        margin-top: -2px;
    }
}