/*Common*/
html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100%;
    word-break: break-word;
}

iframe {
    max-width: 100%;
}

pre {
    word-break: break-word;
    padding: 10px;
    color: #353535;
    background: hsla(0, 0%, 78%, .3);
    border: 1px solid hsl(0, 0%, 77%);
    border-radius: 2px;
    text-align: left;
    direction: ltr;
    tab-size: 4;
    white-space: pre-wrap;
    font-style: normal;
}

code {
    word-break: break-word;
    white-space: pre-wrap;
}

figure {
    margin: 0;
}

.mobile {
    background: #fff;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 75px;
    padding-right: 10px;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
}

.public .container {
    padding: 0;
}

.mobile.inner .container_search {
    padding: 0 10px;
    max-height: 60px;
    margin-bottom: 0;
    margin-top: 10px;
}

.mobile .container {
    padding: 10px;
}

.container_search {
    max-height: 40px;
    margin-bottom: 10px;
}

.container_category {
    flex: none;
    flex-direction: column;
}

.container_news,
.container_search-results,
.container_article {
    flex-direction: column;
}

/*Common*/

/*Header*/
.header {
    height: 80px;
    display: flex;
}

.header .container {
    gap: 10px;
}

.header__logo {
    display: flex;
    align-items: center;
    flex: 1;
}

.mobile .header__logo img {
    max-height: 30px;
}

.mobile.inner .header {
    display: none;
}

.header__lng-switcher select {
    outline: none;
    border-radius: 3px;
    height: 30px;
    box-sizing: border-box;
}

.header__lng-switcher {
    flex: 1;
    max-width: 45px;
    text-align: right;
    display: flex;
    align-items: center;
}

.header__login {
    display: flex;
    align-items: center;
}

.header__login a {
    padding: 0 15px;
    box-sizing: border-box;
    font-size: 16px;
    border-radius: 3px;
    color: #fff;
    background-color: #23869b;
    border-color: #23869b;
    height: 30px;
    display: block;
    line-height: 30px;
}

.header__login a:hover {
    background-color: #4f9eaf;
    border-color: #4f9eaf;
}

/*Header*/

/*Search*/
.search {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-radius: 20px;
    background: #fff;
    height: 40px;
    border: 1px solid #DCDFE6;
    box-sizing: border-box;
    box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, .04), 0px 8px 20px rgba(0, 0, 0, .08);
    position: relative;
}

.search > ul {
    position: absolute;
    max-height: 226px;
    overflow-y: scroll;
    box-sizing: border-box;
    left: 0;
    right: 0;
    margin: 0.5rem 0 0 0;
    top: 40px;
    padding: 0;
    z-index: 1;
    list-style: none;
    border-radius: 0.6rem;
    background-color: #fff;
    border: 1px solid rgba(33, 33, 33, 0.07);
    box-shadow: 0 3px 6px rgba(149, 157, 165, 0.15);
    outline: none;
    transition: opacity 0.15s ease-in-out;
    -moz-transition: opacity 0.15s ease-in-out;
    -webkit-transition: opacity 0.15s ease-in-out;
}

.search > ul[hidden],
.search__input-container > ul:empty {
    display: block;
    opacity: 0;
    transform: scale(0);
}

.search > ul > li {
    margin: 0.3rem;
    padding: 0.3rem 0.5rem;
    text-align: left;
    font-size: 1rem;
    color: #212121;
    border-radius: 0.35rem;
    background-color: rgba(255, 255, 255, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s ease;
}

.search .icon {
    max-height: 18px;
}

.search > ul > li mark {
    background-color: transparent;
    color: #23869b;
    font-weight: bold;
}

.search > ul > li:hover {
    cursor: pointer;
    background-color: rgba(79, 158, 175, 0.15);
}

.search > ul > li[aria-selected="true"] {
    background-color: rgba(79, 158, 175, 0.15);
}

.search__input {
    background: #fff;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border: none;
    outline: none;
    padding-left: 20px;
    font-size: 16px;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.search__button {
    max-width: 60px;
    min-width: 60px;
    background: #fff;
    cursor: pointer;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border: none;
    font-size: 16px;
}

/*Search*/

/*Breadcrumbs*/
.breadcrumbs {
    margin-top: 20px;
}

.breadcrumbs ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap: 5px;
    font-size: 14px;
    flex-wrap: wrap;
}

.breadcrumbs li:after {
    content: '>';
    padding-left: 5px;
    color: #d9d9d9;
}

.breadcrumbs li:last-child:after {
    content: '';
    padding: 0;
}

/*Breadcrumbs*/

/*Categories*/
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px 20px;
    grid-auto-rows: max-content;
    max-width: 100%;
    width: 100%;
    flex: 1;
    padding: 20px 0;
}

.category ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category li {
    line-height: 1.5;
    font-size: 14px;
}

.category a {
    color: #303133;
}

.category a:hover {
    color: #4f9eaf;
}

.category-header,
.category-article {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.category-article_is-active a {
    color: #4f9eaf;
}

.category-article__icon {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 1.5;
    text-align: center;
}

.category-article__name {
    font-size: 14px;
    line-height: 1.5;
}

.category-article__icon img {
    max-width: 14px;
    max-height: 14px;
}

.category-header {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: normal;
    color: #303133;
    margin-top: 0;
}

.category-header__name {
    line-height: 25px;
}

.category-header__icon img {
    max-width: 20px;
    max-height: 20px;
}

.category-header__icon {
    max-width: 20px;
    height: 20px;
    text-align: center;
    font-size: 20px;
    line-height: 20px;
}

.category__show-more {
    margin-top: 10px;
}

.category__show-more a {
    color: #23869b;
    font-size: 12px;
}

.container_category .categories {
    gap: 0 20px;
}

/*Categories*/

/*Article*/
.article {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-header {
    display: flex;
    font-size: 24px;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.article-header__icon img,
.article-header__icon {
    max-width: 24px;
    min-width: 24px;
}

.article-header__name {
    font-size: 24px;
    margin: 0;
    font-weight: normal;
    flex: 1;
}

.article-header__id {
    color: #23869b;
}

.article-header__name a {
    color: #303133;
}

.article-header__name a:hover {
    color: #4f9eaf;
}

.article-author {
    border-top: 1px solid #DCDFE6;
    border-bottom: 1px solid #DCDFE6;
    display: flex;
    gap: 10px;
    padding: 10px 0;
}

.article-author__avatar {
    height: 45px;
    width: 45px;
    border-radius: 90%;
    margin: auto;
    box-sizing: border-box;
    max-width: 45px;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, .12);
}

.article-author__name {
    flex: 1;
    font-size: 16px;
    margin-top: 5px;
}

.article-author__last-updated {
    margin-top: 5px;
    font-size: 12px;
    color: #909399;
}

.article-content {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    flex-wrap: wrap;
    flex: 1;
}

.article-content__text {
    flex: 1;
    line-height: 24px;
    font-size: 14px;
}

.article-content__text ul,
.article-content__text p {
    line-height: 1.5;
}

.article-content__text .image-style-block-align-right {
    margin-right: 0;
    margin-left: auto;
    text-align: right;
}

.article-content__text .image-style-block-align-left{
    margin-right: auto;
    margin-left: 0;
    text-align: left;
}

.article-content__text .image-style-align-center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.article-content__text img {
    max-width: 100%;
    height: 100%;
}

.article-content__text .text-huge {
    font-size: 1.8em;
}

.article-content__text .text-big {
    font-size: 1.4em;
}


.article-content__text .text-small {
    font-size: .85em;
}

.article-content__text .text-tiny {
    font-size: .7em;
}

.article-content__text code {
    background-color: #c7c7c780;
}

.article-content__text pre code {
    background-color: unset;
}

.article-content__text .table {
    margin: 10px auto;
    display: table;
}

.article-content__text .table table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.article-content__text .table table th,
.article-content__text .table table td {
    min-width: 2em;
    padding: 0.4em;
}

.article-content__text blockquote {
    box-sizing: border-box;
    padding-right: 1.5em;
    padding-left: 1.5em;
    margin-left: 0;
    margin-right: 0;
    font-style: italic;
    border-left: solid 5px hsl(0, 0%, 80%);
}

.article-content__sidebar {
    flex: 1;
    max-width: 250px;
    min-width: 250px;
}

@media (max-width: 594px) {
    .article-content {
        flex-direction: column;
    }

    .article-content__sidebar {
        max-width: unset;
    }
}

.article-content__sidebar .category:last-child {
    margin-bottom: 0;
}

.article-content__sidebar .category {
    margin-bottom: 20px;
}

.article-useful__buttons button {
    cursor: pointer;
}

.article-footer {
    padding: 20px 0;
    display: flex;
    border-top: 1px solid #DCDFE6;
}

.article-footer__views {
    flex: 1;
    font-size: 12px;
    color: #909399;
    text-align: right;
}

.article-favorite__button {
    background: none;
    border: none;
    cursor: pointer;
    color: #909399;
    padding: 0;
    margin: 0;
    font-size: 20px;
    outline: none;
}

.article-favorite__button_active {
    color: #FF0000
}

.article-files {
    margin-top: 10px;
}

.article-file {
    display: flex;
    margin-bottom: 10px;
    flex-direction: column;
    font-size: 14px;
}

.article-file__meta {
    display: flex;
    gap: 10px;
    flex-direction: row;
}

.article-file__buttons {
    display: flex;
    gap: 10px;
}

.article-file__icon {
    color: #303133;
}

.article-file__download:hover,
.article-file__preview:hover {
    color: #4f9eaf;
}

.article-file__preview,
.article-file__download {
    color: #303133;
    font-size: 12px;
}

.article-useful {
    border-top: 1px solid #DCDFE6;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.article-useful__heading {
    margin-bottom: 10px;
}

.article-useful__buttons {
    margin-bottom: 10px;
}

.article-useful__stats {
    font-size: 12px;
}

.article-useful__buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.article-useful__button {
    border-radius: 3px;
    color: #23869b;
    background-color: #e9f3f5;
    border: 1px solid #bddbe1;
    padding: 3px 5px;
    width: 60px;
    outline: none;
}

.article-useful__button_active {
    color: #fff;
    background-color: #23869b;
    border-color: #23869b;
}

.article-useful__button_active:hover {
    background-color: #4f9eaf;
    border-color: #4f9eaf;

}

.article-footer__read-more {
    text-align: right;
    font-size: 14px;
    width: 100%;
}

/*Article*/

/*Access denied*/
.access-denied {
    text-align: center;
    flex: 1;
    padding-top: 20px;
}

.access-denied h2 {
    font-size: 20px;
    font-weight: normal;
}

/*Access denied*/

/*Home page*/
.inner .hero {
    background: none;
    height: 40px;
    margin-bottom: 10px;
}

.mobile.inner .hero {
    height: 60px;
    margin-bottom: 0;
}

.mobile .hero {
    height: 100px;
}

.hero {
    height: 150px;
    display: flex;
    justify-items: center;
    align-items: center;
    width: 100%;
    background: -moz-linear-gradient(left, #2c9b75 0%, #23879a 100%);
    background: -webkit-linear-gradient(left, #2c9b75 0%, #23879a 100%);
    background: linear-gradient(to right, #2c9b75 0%, #23879a 100%);
}

/*Home page*/

/*Search results*/

.search-results__total-found {
    margin-top: 20px;
    font-size: 14px;
}

.search-results__total-found span {
    font-weight: bold;
}

.search-results__no-results {
    text-align: center;
    padding-top: 20px;
}

.search-results__no-results h2 {
    font-size: 20px;
    font-weight: normal;
}

/*Search results*/

/*News page*/
.news-pagination {
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.news-pagination__button {
    cursor: pointer;
    font-size: 14px;
    border: none;
    background: none;
}

.news-pagination__button:hover {
    color: #4f9eaf;
}

.news__no-news {
    text-align: center;
    flex: 1;
    padding-top: 20px;
}

.news__no-news h2 {
    font-size: 20px;
    font-weight: normal;
}

/*News page*/

/*Management*/
.kb-management {
    border-bottom: 1px solid #DCDFE6;
    background: #fff;
}

.kb-management__buttons {
    display: flex;
    justify-content: end;
    align-items: center;
    height: 30px;
    width: 100%;
    gap: 10px;
}

.kb-management__button {
    font-size: 12px;
    border-right: 1px solid #DCDFE6;
    padding-right: 10px;
}

.kb-management__button:last-child {
    border: none;
}

/*Management*/

/*Footer*/
.mobile .footer {
    height: 30px;
}

.footer {
    height: 60px;
    border-top: 1px solid #DCDFE6;
    display: flex;
    align-items: center;
}

.footer__copyright {
    text-align: center;
    width: 100%;
    color: #909399;
    font-size: 12px;
}

/*Footer*/