@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

body {
    min-width: auto !important;
    font-family: 'Inter', sans-serif;
}

html {
    background: #ffffff;
}

/* Base styles */

p {
    font-size: 14px;
    line-height: 20px;
}

a {
    color: #367EB2;
}

ul li,
ol li {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 8px;
}

ol, ul {
    padding-left: 18px;
}

main {
    color: #394149;
}

main h1 {
    margin-top: 0;
    font-size: 30px;
    line-height: 36px;
    color: #0A141E;
}

h2 {
    font-size: 22px;
    line-height: 26px;
    color: #0A141E;
    font-weight: 700;
}

h3 {
    font-size: 18px;
    line-height: 1.2;
    color: #0A141E;
    font-weight: 700;
}

h4 {
    font-size: 16px;
    line-height: 1.2;
    color: #0A141E;
    font-weight: 700;
}

h5 {
    font-size: 15px;
    line-height: 1.2;
    color: #0A141E;
    font-weight: 700;
}

h6 {
    font-size: 14px;
    line-height: 1.2;
    color: #0A141E;
    font-weight: 700;
}

@media (max-width: 1300px) {
    img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    main h1 {
        font-size: 22px;
        line-height: 30px;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
}

/* end Base styles */

/* Header */

.navbar-brand--mobile {
    display: none;
}

nav.navbar {
    box-shadow: none;
    background-color: #E9E9E9;
    padding: 25px 42px;
    padding-bottom: 20px;
    display: block;
}

.navbar-brand {
    padding-top: 25px;
    padding-left: 30px;
    margin-bottom: 20px;
    margin-right: 0;
}

.navbar-brand img {
    max-width: 100%;
    height: auto;
}

.nav-link {
    color: #233255;
}

.nav-link:hover {
    color: #000000;
}

.search-block {
    width: 40%;
}

.search-block .form-control {
    width: 100%;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    padding-right: 35px;
    padding-top: 8px;
    padding-bottom: 8px;
}

nav.navbar li.nav-item.dropdown span {
    border-style: none !important;
}

.dropdown-menu.show {
    top: 100%;
    background: #FFFFFF;
    box-shadow: 10px 15px 20px rgba(0, 0, 0, 0.1);
    min-width: 60px;
    padding: 7px 0px !important;
    border: none;
}

nav.navbar li.nav-item.dropdown .dropdown-menu.show {
    top: 100%;
    border: none;
    min-width: 60px;
    left: 0;
}

nav.navbar li.nav-item.dropdown .dropdown-menu.show .dropdown-item:hover {
    background-color: rgba(213, 232, 244, 0.5);
}

.dropdown-menu.show .dropdown-item {
    font-size: 16px;
    width: 100%;
    display: block;
    transition: 0.2s;
    color: #233255;
}

.dropdown-menu.show .dropdown-item:hover {
    background-color: rgba(213, 232, 244, 0.5);
    color: #1E6599;
}

.nav-link--lang {
    padding-left: 10px !important;
    padding-right: 5px !important;
    margin-left: 10px;
    margin-right: 5px;
    position: relative;
}

.nav-link--lang::before {
    position: absolute;
    content: url('/upload/kb-new/lang.svg');
    left: 0;
    top: 9px;
}

.nav-link--lang::after {
    position: absolute;
    content: url('/upload/kb-new/arrow-down.svg');
    right: 0;
    top: 7px;
}

.navbar-nav {
    flex-direction: row;
    flex-shrink: 0;
}

.mobile-icons {
    display: none;
}

.form-inline {
    position: relative;
}

.form-inline::after {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    content: url('/upload/kb-new/search.svg');
}

.article h2, .attachment h2 {
    font-weight: bold;
}

.txt-tpl {
    word-wrap: break-word;
    max-width: 1037px;
    width: 80%;
}

pre[class*="language-"] {
    max-width: 1037px;
    width: 80%;
}

.row_no-side-gap {
    margin-left: 0;
    margin-right: 0;
}

@media (min-width: 1400px) {
    .nav-link {
        font-size: 17px;
        margin: 0 7px;
    }
}

@media (min-width: 769px) {
    .navbar-nav {
        padding-left: 15px;
    }
}

@media (max-width: 991px) {
    .navbar-nav .nav-link {
        margin: 0 5px;
    }

    .txt-tpl {
        width: 100%;
    }
    pre[class*="language-"] {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .mobile-icons {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        margin-left: auto;
        list-style: none;
    }

    .mobile-icons__item {
        margin-bottom: 0;
        cursor: pointer;
        
    }
    .mobile-icons__item + .mobile-icons__item {
        margin-left: 10px;
    }

    .mobile-icons__item--search {
        padding-top: 3px;
    }

    nav.navbar {
        padding: 22px 18px 26px;
    }

    .form-inline .form-control {
        min-height: 40px;
    }

    .kb-style__wrapper {
        position: relative;
    }

    .search-block {
        position: absolute;
        width: 100%;
        opacity: 0;
        transform: translateY(-100%);
        transition: 0.3s;
    }

    .search-block.opened {
        opacity: 1;
        transform: none;
        top: -6px;
    }

    .navbar-brand {
        display: none;
    }

    .navbar-brand--mobile {
        display: inline-block;
        margin: 0;
        padding: 0;
        max-width: 200px;
    }

    .kb-style__wrap-menu {
        display: block;
    }


    .dropdown-menu.show .dropdown-item {
        font-size: 17px;
    }
}

/* end Header */

/* Side menu */



.fa-minus-square::before {
    content: '';
    width: 20px;
    height: 20px;
    left: 0;
    top: 0;
    position: absolute;
    display: block;
    background-image: url("/upload/kb-new/minus.svg");
    background-position: center;
    background-repeat: no-repeat;
}

.fa-plus-square::before {
    content: '';
    width: 20px;
    height: 20px;
    left: 0;
    top: 0;
    position: absolute;
    display: block;
    background-image: url("/upload/kb-new/plus.svg");
    background-position: center;
    background-repeat: no-repeat;
}

.indicator {
    height: 20px;
    width: 20px;
    position: absolute;
    left: -5px;
    top: 8px;
    cursor: pointer;
}

.current-article.branch > .indicator {
    top: 13px;
}

.tree li {
    white-space: normal;
    position: relative;
    padding-left: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.4;
}

.tree > li {
    border-bottom: 1px solid #E2E2E2;
}

.kb-style__nav {
    padding-left: 30px;
}

.kb-style__nav > ul:not(.tree) ul {
    display: none;
}

.kb-style__nav > ul:not(.tree) {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kb-style__nav > ul:not(.tree) > li {
    border-bottom: 1px solid #E2E2E2;
    white-space: normal;
    position: relative;
    padding-left: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.4;
    position: relative;
    margin: 0;
}

.kb-style__nav > ul:not(.tree) > li::before {
    content: '';
    display: block;
    position: absolute;
    height: 20px;
    width: 20px;
    left: -5px;
    top: 8px;
    background-image: url(/upload/kb-new/plus.svg);
    background-position: center;
    background-repeat: no-repeat;
}

.kb-style__nav > ul:not(.tree) > li.current-article::before {
    top: 13px;
}

.kb-style__nav > ul:not(.tree) > li a {
    color: #0A141E;
    display: inline-block;
    line-height: 1.4;
}

.tree li a {
    color: #0A141E;
    display: inline-block;
    line-height: 1.4;
}

.tree ul::before {
    content: none;
}

.tree ul li::before {
    content: none;
}

.kb-style__md-panel {
    display: none;
    position: fixed;
    padding-left: 26px;
    padding-top: 34px;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 80px;
    background: #FFFFFF;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
}

.kb-style__md-panel .navbar-brand {
    transform: rotate(90deg);
    width: 221px;
    position: absolute;
    left: -61px;
    bottom: 20%;
    margin-bottom: 0;

}

.burger-menu {
    cursor: pointer;
}

.burger-menu .burger {
    display: block;
    width: 24px;
    height: 2px;
    margin-bottom: 5px;
    position: relative;
    background: #394149;
    border-radius: 3px;
    z-index: 2;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), background 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.55s ease;
}

.burger-menu .burger:first-child {
    transform-origin: 0% 0%;
}

.burger-menu .burger:nth-last-child(2) {
    transform-origin: 0% 100%;
}

.burger-menu.opened-left-panel .burger {
    opacity: 1;
    transform: rotate(45deg) translate(-5px, -10px);
    background: #000;
}

.burger-menu.opened-left-panel .burger:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

.burger-menu.opened-left-panel .burger:nth-last-child(2) {
    transform: rotate(-45deg) translate(-4px, 10px);
}


@media (max-width: 1200px) {
    .kb-style__md-panel {
        display: block;
    }

    .kb-style__wrap-menu {
        display: none;
    }

    .kb-style__wrap-menu.opened {
        display: block;
        width: 450px;
        height: 100vh;
        box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
        position: fixed;
        z-index: 2;
        padding-left: 80px;
        overflow-y: auto;
    }

    .kb-style__wrap-menu.opened #tree {
        height: 88%;
    }
}

@media (max-width: 768px) {
    html.locked {
        overflow: hidden;
    }

    .kb-style__left-col {
        display: none;
    }

    .kb-style__left-col.opened {
        display: block;
        position: fixed;
        z-index: 2;
    }

    .kb-style__wrap-menu.opened {
        padding-left: 0;
        width: 100%;
        top: 73px;
        box-shadow: none;
        padding-top: 30px;
        padding-bottom: 20px;
        height: 93vh;
    }

    .navbar-nav {
        display: none;
    }

    .kb-style__wrap-menu {
        display: none;
    }

    .kb-style__md-panel {
        display: none;
    }

}

/* end Side menu */

/* Article */

.current-article > a {
    background-color: #E0E9F1;
    /* padding-top: 5px !important; */
    padding: 5px 20px;
    margin-left: -20px;
    margin-right: -20px;
}

.kb-style__left-col {
    flex-shrink: 0;
    flex-grow: 0;
    width: 360px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
    background: #ffffff;
}

.kb-style__right-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
}

.kb-style__wrap-menu {
    padding-right: 15px;
}

.kb-style__wrapper {
    /*max-width: 1100px;*/
    display: flex;
    align-items: center;
}

.breadcrumb {
    padding-left: 16px;
}

.breadcrumb a,
.breadcrumb span {
    color: #C7C3C3;
    font-size: 12px;
    line-height: 15px;
}

main h1 {
    font-weight: 700;
}

#content main {
    border: none;
}

.txt-tpl ul, .txt-tpl ol, .txt-tpl ul li, .txt-tpl ol li, .txt-tpl table, .txt-tpl p, .txt-tpl div {
    font-size: 14px;
    line-height: 20px;
}

.warning-tpl {
    border: 2px solid #FABE00;
    background-color: #ffffff;
    padding-bottom: 20px;
}

.warning-tpl-header {
    background-image: url('/upload/kb-new/alert-icon.svg');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
    color: #394149;
    font-size: 16px;
    font-weight: 700;
    height: 22px;
    padding: 0;
    padding-right: 30px;
}

.info-tpl {
    background: #F7F7F7;
    padding: 15px 25px 10px;
}

.info-tpl-header {
    color: #394149;
    background: none;
    padding-left: 0;
}

#content .category.private {
    background: #ffffff !important;
    border: 1px solid #FABE00;
}

#content .article.private {
    background: #ffffff !important;
}

#content .category.private ul li {
    border-bottom: none;
}

#content .category.private.private--index {
    background: #ffffff !important;
    border: none;
}

.error-tpl {
    padding: 18px 26px;
    border: 2px solid #FABE00;
    box-sizing: border-box;
    border-radius: 4px;
    background-color: #FFFFFF;
}

.error-tpl-header {
    height: auto;
    color: #394149;
    padding-left: 0;
    background-position: right top;
    font-size: 16px;
    background-image: url("/upload/kb-new/alert-icon.svg");
    min-height: 26px;
}

.error-tpl-header br {
    display: none;
}

.sections {
    border: 1px solid #E2E2E2 !important;
}

.category ul li {
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    border: none;
    margin-bottom: 0;
    vertical-align: text-top;
}

.category ul li .name {
    color: #367EB2;
}

.article ul li .name {
    color: #367EB2;
}

.article ul li {
    width: 40%;
    display: inline-block;
    border-bottom: none;
    vertical-align: text-top;
}

.article ul li:nth-child(2n) {
    margin-left: 17%;
}

.article ul a {
    background: none;
    padding-left: 0;
}

.article-content p {
    text-align: left !important;
}

.article-content {
    font-size: 14px;
    line-height: 20px;
}

.article-content img {
    display: block !important;
    margin-left: 0 !important;
}

.article-content a {
    word-wrap: break-word;
}


footer {
    background-color: #F8F8F8;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-top: 0;
    padding-right: 1em;
}

#content {
    padding-bottom: 0 !important;
}

.footer-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu .nav-link {
    padding: 0;
    display: inline-block;
}

.footer-menu .nav-link--lang::before,
.footer-menu .nav-link--lang::after {
    top: 0;
}

.footer-menu .nav-link--lang {
    margin-left: 0;

    padding-left: 15px !important;
    padding-right: 10px !important;
}

.footer-menu__item--margin-bottom {
    margin-bottom: 20px;
}

.footer__copy {
    color: #9C9C9C;
    font-size: 14px;
}

.footer-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*max-width: 1100px;*/
}

.footer__social-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__social-item {
    margin-right: 0px;
    margin-left: 10px;
}

.kb-style__left-col {
    width: 360px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 2;
}

.kb-style__right-col {
    padding-left: 360px;
}

@media (max-width: 1300px) {
    #content {
        width: 100% !important;
    }
}

@media (max-width: 1200px) {
    .kb-style__left-col {
        width: 80px;
        position: absolute;
    }

    .kb-style__right-col {
        padding-left: 80px;
    }
}

@media (max-width: 768px) {
    .kb-style__right-col {
        padding-left: 0;
    }

    .kb-style__left-col {
        width: 80px;
        position: fixed;
        height: auto;
        overflow-y: auto;
    }
    
    .footer-menu {
        display: block;
    }

    .footer-menu .dropdown-menu.show {
        left: 100% !important;
        top: -29px !important;
    }

    .footer-menu .dropdown {
        display: inline-block;
    }

    footer {
        padding: 20px 18px 15px;
    }
    .footer-wrapper {
        margin-top: 27px;
    }


    .article ul li {
        width: 100%;
    }
    .article ul li:nth-child(2n) {
        margin-left: 0;
    }

}

/* end Article */

/* Index page */

#content>div:not(.breadcrumb) {
    border: none;
}

.index-content {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
}

.index-wrapper {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 848px;
}




.index-section {
    width: 100%;
    margin-bottom: 50px;
}

.index-section__list {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    list-style: none;
}

.index-section__item {
    width: 31%;
    margin-bottom: 4%;
    padding: 35px 20px 30px;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
}

.index-section__item .index-section__text {
    position: relative;
    padding-top: 93px;
    font-size: 16px;
    color: #394149;
    font-weight: 500;
}

.index-section__item .index-section__text::before {
    content: "";
    height: 88px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    background: url('/upload/kb-new/portal.svg') no-repeat center;
}

.index-section__item--2 .index-section__text::before {
    background: url('/upload/kb-new/framework.svg') no-repeat center;
}
.index-section__item--3 .index-section__text::before {
    background: url('/upload/kb-new/admin.svg') no-repeat center;
}
.index-section__item--4 .index-section__text::before {
    background: url('/upload/kb-new/video.svg') no-repeat center;
}
.index-section__item--5 .index-section__text::before {
    background: url('/upload/kb-new/integration.svg') no-repeat center;
}
.index-section__item--6 .index-section__text::before {
    background: url('/upload/kb-new/other.svg') no-repeat center;
}
.index-section__item--7 .index-section__text::before {
    background: url('/upload/kb-new/interface.svg') no-repeat center;
}
.index-section__item--8 .index-section__text::before {
    background: url('/upload/kb-new/changes.svg') no-repeat center;
}

.index-section__title {
    margin-bottom: 40px;
    font-size: 36px;
    line-height: 46px;
    text-align: center;
    color: #0A141E;
}

.last-articles a, .popular-articles a {
    background: none;
    padding-left: 0;
}

.last-articles li:not(:first-child):not(:last-child),
.popular-articles li:not(:first-child):not(:last-child) {
    border-bottom: none;
    padding: 0;
    margin-bottom: 15px;
}

.link-styled {
    display: inline-block;
    position: relative;
    padding-right: 25px;
    font-size: 14px;
}

.link-styled::after {
    content: url('/upload/kb-new/arrow-styled.svg');
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.2s;
}

.link-styled:hover::after {
    right: -4px;
}

@media (max-width: 768px) {
    .index-section__list {
        flex-direction: column;
        align-items: center;
    }

    .index-section__item {
        width: 260px;
    }
    .article-content {
        word-wrap: break-word;
    }
    .breadcrumb {
        display: none;
    }
}

.row_no-side-gap {
    margin-left: 0;
    margin-right: 0;
}

/* end Index page */