

/* Start:/local/components/custom/documentation/templates/.default/style.css?17605326437943*/
:root {
    --primary-color: #0F1B46;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --border-color: #e5e7eb;
    --sidebar-width: 250px;
}

.documentation-container {
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    grid-template-columns: var(--sidebar-width) 1fr;
    /*min-height: 100vh;*/
}

.documentation-content .documentation-breadcrumbs {
    font-size: 0.9em;
    color: var(--text-color);
    margin-bottom: 20px;
}

.documentation-breadcrumbs a {
    color: var(--primary-color);
    text-decoration: underline;
}

.documentation-breadcrumbs a:last-child {
    pointer-events: none;
    font-weight: bold;
    text-decoration: none;
}

.documentation-breadcrumbs a:hover {
    color: #595a5b;
}

.documentation-container .documentation-content {
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.documentation-container .documentation-nav {
    width: 100%;
    max-width: 370px;
    padding: 30px 0 0 0;
    margin: 0 auto; /*0 -85px*/
}

.documentation-tags {
    padding: 15px 0;
}

.tags-down {
    display: none;
}

.documentation-menu .section .section {
    padding-left: 15px;
}

.section .section-header {
    cursor: pointer;
    background-color: #e6e6e6;
    border-radius: 3px;
    margin: 3px 0;
    position: relative;
    white-space: break-spaces;
    padding: 5px 25px 5px 5px;
}

.section .section-header:hover {
    background-color: #d0d0d0;
}

.section .section-header:after {
    content: '';
    display: block;
    width: 12px;
    height: 10px;
    background: url("/local/templates/2019/images/arr-down.svg") no-repeat center;
    background-size: contain;
    position: absolute;
    top: 35%;
    right: 13px;
    transition: all .1s;
    transform: rotate(-90deg);
}

.section .section-content {
    display: none;
}

.section .section-content.active {
    display: block;
}

.section .section-header.active:after {
    transform: rotate(0deg);
}

.section-content .elements {
    margin-left: 15px;
}

.elements .element {
    padding: 3px 5px;
    margin: 3px 0;
    background-color: #f9f9f9;
    font-size: 16px;
    cursor: pointer;
    color: black;
    line-height: 1.4;
}

.elements .element:hover, .elements .element.active {
    background-color: #f0f0f0;
    color: #C32D7F;
}

.documentation-content h1 {
    color: var(--primary-color);
    margin-top: 0;
}

.documentation-content .section-description {
    margin-bottom: 30px;
    color: #555;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.documentation-content .subsections {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
}

.subsections .subsection {
    /*border: 1px solid var(--border-color);*/
    width: 30%;
    margin: 10px 30px 20px 0;
    border-radius: 4px;
    padding: 10px 20px;
    background: no-repeat right center rgba(242, 246, 252, 0.9);
    border: 1px solid rgba(206, 220, 242, 0.9);
}

.subsection:hover {
    border: 1px solid #a8a6a6;
    box-shadow: 8px 10px 5px 2px #e3e0e0;
}

.subsection-description {
    color: #555;
    margin: 10px 0;
    font-size: 15px;
}

.documentation-content .articles-list {
    margin-top: 30px;
}

.articles-list .article-item {
    margin: 15px;
    padding: 5px;
}

.articles-list .article-item:before {
    content: '-';
}

.article-item a {
    text-decoration: none;
    font-weight: 500;
}

.article-item a:hover {
    color: var(--primary-color);
}

/*.menu-button {*/
/*    display: none;*/
/*}*/


/* Общие стили */
.article-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
}

/* Заголовки */
.article-content h1 {
    font-size: 2.2em;
    margin: 1em 0 0.5em;
    font-weight: 600;
    color: #222;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.3em;
}

.article-content h2 {
    font-size: 1.8em;
    margin: 1.5em 0 0.7em;
    font-weight: 500;
    color: #333;
}

.article-content h3 {
    font-size: 1.4em;
    margin: 1.3em 0 0.6em;
    font-weight: 500;
    color: #444;
}

.article-content h4 {
    font-size: 1.2em;
    margin: 1.2em 0 0.5em;
    font-weight: 500;
    color: #555;
}

/* Параграфы */
.article-content p {
    margin: 0 0 1.2em;
    font-size: 1.05em;
    line-height: 1.7;
}

/* Ссылки */
.article-content a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #004499;
    text-decoration: underline;
}

/* Изображения */
.article-content img {
    max-width: 65%;
    height: auto;
    display: block;
    margin: 1.5em auto;
    border-radius: 4px;
}

/* Акценты */
.article-content strong {
    font-weight: 600;
}

.article-content em {
    font-style: italic;
}

/* Блоки */
.article-content div {
    margin-bottom: 1.2em;
}

.article-content span {
    font-size: inherit;
}

/* Списки */
.article-content ul, .article-content ol {
    margin: 1.2em 0;
    padding-left: 2em;
}

.article-content li {
    margin-bottom: 0.6em;
    line-height: 1.6;
}

.article-content ul li {
    list-style-type: disc;
}

.article-content ol li {
    list-style-type: decimal;
}

/* Код и преформатированный текст */
.article-content pre {
    background-color: #f6f8fa;
    border-radius: 6px;
    padding: 16px;
    overflow: auto;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.9em;
    line-height: 1.45;
    margin: 1.5em 0;
}

.article-content code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.9em;
    background-color: rgba(175, 184, 193, 0.2);
    border-radius: 3px;
    padding: 0.2em 0.4em;
}

.article-content pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

/* Таблицы */
.article-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5em 0;
    font-size: 0.95em;
}

.article-content th, .article-content td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}

.article-content th {
    background-color: #f2f2f2;
    font-weight: 600;
}

.article-content tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Цитаты */
.article-content blockquote {
    border-left: 4px solid #ddd;
    padding: 0 1em;
    color: #666;
    margin: 1.5em 0;
}

/* Горизонтальная линия */
.article-content hr {
    border: 0;
    height: 1px;
    background-color: #eee;
    margin: 2em 0;
}

/* Дополнительные классы для оформления */
.article-content .note {
    background-color: #e7f5ff;
    border-left: 4px solid #4dabf7;
    padding: 1em;
    margin: 1.5em 0;
    border-radius: 0 4px 4px 0;
}

.article-content .warning {
    background-color: #fff3bf;
    border-left: 4px solid #ffd43b;
    padding: 1em;
    margin: 1.5em 0;
    border-radius: 0 4px 4px 0;
}

@media (max-width: 1500px) {
    .subsections .subsection {
        width: 29%;
    }
}

@media (max-width: 1300px) {
    .subsections .subsection {
        width: 27%;
    }
}

@media (max-width: 1024px) {
    .documentation-container {
        display: block;
    }

    .documentation-container .documentation-detail {
        display: none;
    }

    .documentation-container .documentation-nav {
        max-width: none;
    }

    .tags-up {
        display: none;
    }

    .tags-down {
        display: block;
    }

    .subsections .subsection {
        width: 45%;
        margin: 10px 10px 20px 10px;
    }

    .article-content {
        padding: 0;
        word-break: break-word;
    }
}

@media (max-width: 490px) {
    .subsections .subsection {
        width: 100%;
        margin: 10px 15px 20px 0;
    }
}


/* End */
/* /local/components/custom/documentation/templates/.default/style.css?17605326437943 */
