

/* Start:/local/templates/text-page/template_styles.css?17914600203586*/
@font-face {
    font-family: "SBSD";
    src: url(/local/templates/text-page/fonts/SBSansDisplay-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: "SBSD";
    src: url(/local/templates/text-page/fonts/SBSansDisplay-SemiBold.ttf);
    font-weight: 600;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #333F48;
    background: #FFFFFF;
    font-family: "SBSD", sans-serif;
    font-size: 16px;
    line-height: 22px;
}

.header {
    height: 70px;
}

.header-content,
.content {
    max-width: 1032px;
    margin: 0 auto;
}

.header-content {
    display: flex;
    align-items: center;
    height: 100%;
}

.header-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Текст страницы: CM набирает простой HTML, всё оформление — по тегам. */
.content h1 {
    margin: 32px 0 0;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
}

.content h2,
.content h3 {
    margin: 60px 0 0;
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
}

.content h3 {
    margin-top: 40px;
}

.content p,
.content ul,
.content ol,
.content table,
.content blockquote {
    margin: 24px 0 0;
}

.content h1 + *,
.content p + ul,
.content p + ol {
    margin-top: 16px;
}

.content h2 + *,
.content h3 + * {
    margin-top: 32px;
}

/* Заголовок раздела сразу под заголовком страницы: отступ раздела, а не абзаца. */
.content h1 + h2,
.content h1 + h3 {
    margin-top: 40px;
}

.content h4 + *,
.content h5 + *,
.content h6 + * {
    margin-top: 16px;
}

.content ul,
.content ol {
    padding-left: 24px;
}

/* Вложенные списки и абзацы внутри пунктов и ячеек: визуальный редактор оборачивает текст в p. */
.content li > ul,
.content li > ol,
.content li > p,
.content td > p,
.content th > p,
.content blockquote > p {
    margin-top: 8px;
}

.content li > p:first-child,
.content td > p:first-child,
.content th > p:first-child,
.content blockquote > p:first-child {
    margin-top: 0;
}

.content h4,
.content h5,
.content h6 {
    margin: 32px 0 0;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
}

.content blockquote {
    padding-left: 16px;
    border-left: 3px solid #D0D5DA;
}

.content b,
.content strong {
    font-weight: 600;
}

.content a {
    color: inherit;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.content a:hover {
    text-decoration: none;
}

.content table {
    width: 100%;
    border-collapse: collapse;
}

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

.content th {
    font-weight: 600;
}

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

.footer {
    height: 9px;
    margin-top: 60px;
    background: linear-gradient(270.01deg, #5AB0FF -2.92%, #42E3B4 23.78%, #FFD633 58.69%, #A0E720 95.65%);
}

@media screen and (max-width: 1032px) {
    .header-content,
    .content {
        max-width: 767px;
    }
}

@media screen and (max-width: 767px) {
    .header-content,
    .content {
        max-width: 327px;
    }

    .content h1 {
        margin-top: 16px;
    }

    /* Широкая таблица прокручивается сама, а не растягивает страницу. */
    .content table {
        display: block;
        overflow-x: auto;
    }

    .content h2,
    .content h3,
    .content h1 + h2,
    .content h1 + h3 {
        margin-top: 24px;
    }
}

/* End */
/* /local/templates/text-page/template_styles.css?17914600203586 */
