.legacy-phone-main {
    display: block;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
}

#modal-app {
    background-color: white;
    padding: 20px;
}

.appT {
    width: 100%;
}

.appT td {
    padding: 10px;
    text-align: center;
}

.appT a.h3 {
    font-size: 24px;
}

.mdContent .md-callout {
    display: block;
    float: none;
    width: auto;
}

.md-product-card {
    display: block;
    margin: 16px 0;
    padding: 14px 16px;
    border: 1px solid #dce9f9;
    border-radius: 6px;
    background: #f7fbff;
}

.md-product-card__title,
.md-product-card__meta {
    display: block;
}

.md-product-card__title {
    font-weight: 700;
}

.md-product-card__meta {
    color: #66758a;
}

.sub-banner {
    width: 100%;
    padding: 42px 0;
    background: linear-gradient(180deg, #fbfdff 0%, #edf4fb 100%);
    border-bottom: 1px solid #dbe6f2;
}

.sub-banner > div {
    width: min(1360px, calc(100% - 48px));
    margin: 0 auto;
}

.sub-banner p {
    margin: 0 0 8px;
    color: #0d4f9c;
    font-size: 13px;
    font-weight: 700;
}

.sub-banner h1 {
    margin: 0;
    color: #162033;
    font-size: 34px;
    line-height: 1.25;
}

.sub-banner span {
    display: block;
    margin-top: 12px;
    color: #66758a;
}

.legacy-page-banner.sub-banner {
    position: relative;
    padding: 0;
    background: none;
    border-bottom: 0;
    overflow: hidden;
}

.legacy-page-banner.sub-banner > div {
    width: auto;
    margin: 0;
}

.legacy-page-banner .crumbs {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    width: 100%;
    top: 40%;
    text-align: center;
    color: #fff;
}

.legacy-page-banner .crumbs h1 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 34px;
    line-height: 1.2;
    text-align: center;
}

.legacy-page-banner .crumbs p {
    display: block;
    margin: 0;
    color: #fff;
    font-size: 18px;
    line-height: 20px;
    font-weight: 400;
    text-align: center;
}

.legacy-page-banner .crumbs a {
    color: #fff;
}

.oldpage-banner .oldpage-subtitle,
.products-page-banner .products-subtitle {
    color: #fff;
}

.legacy-page-banner .crumbs p img {
    width: 25px;
    position: relative;
    top: 5px;
}

.legacy-page-banner .pic img {
    display: block;
    width: 100%;
    max-width: 100%;
}

.lang-select li {
    margin: 20px 0;
}

.lang-select span {
    margin-left: 15px;
}

.lang-select img {
    vertical-align: middle;
    border: 1px solid #eeeeee;
}

.language-page-bottom-spacer {
    margin-bottom: 300px;
}

.list-page,
.search-result,
.language-page,
.contact-page {
    padding: 26px 0 48px;
}

.legacy-news-list.news {
    padding: 5%;
}

.legacy-news-list .category-filter {
    margin: 0 0 4%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.legacy-news-list .category-filter a {
    padding: 7px 12px;
    color: #333;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    background: #fff;
}

.legacy-news-list .category-filter a.active,
.legacy-news-list .category-filter a:hover {
    color: #fff;
    background: #4ed8fa;
    border-color: #4ed8fa;
}

.legacy-news-list.news ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.legacy-news-list.news li {
    float: left;
    width: 45%;
    margin-bottom: 3%;
    padding-left: 70px;
    text-align: left;
    vertical-align: top;
    position: relative;
}

.legacy-news-list.news li:nth-child(even) {
    float: right;
}

.legacy-news-list.news li a {
    cursor: pointer;
}

.legacy-news-list.news li .new-title {
    height: 50px;
    line-height: 44px;
    padding-right: 28px;
    color: #333;
    font-size: 16px;
    white-space: nowrap;
    word-break: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.legacy-news-list.news li .new-title-icon {
    width: 19px;
    height: 19px;
    position: absolute;
    right: 0;
    top: 14px;
    background: #a6a6a6 url("/content/em2021/images/plus.png") center no-repeat;
}

.legacy-news-list.news li .border {
    width: 21px;
    border-top: 1px solid #4a68ec;
}

.legacy-news-list.news li .new-content {
    height: 50px;
    color: #b0b0b0;
    font-size: 14px;
    line-height: 28px;
    overflow: hidden;
    word-wrap: break-word;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.legacy-news-list.news li .time {
    position: absolute;
    left: 0;
    width: 54px;
    height: 54px;
    text-align: center;
    margin-right: 30px;
    margin-top: 14px;
}

.legacy-news-list.news li .time .day {
    margin: 0;
    padding: 6px 0 0;
    color: #fff;
    font-size: 20px;
    line-height: 1.2;
}

.legacy-news-list.news li .time .ym {
    margin: 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
}

.legacy-news-list.news li a:hover .time,
.legacy-news-list.news li a:hover .new-title-icon {
    background-color: #4a68ec !important;
}

.legacy-news-list #pager {
    padding: 5% 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.legacy-news-list #pager a,
.legacy-news-list #pager span,
.legacy-news-list #pager strong {
    display: inline-block;
    margin: 0 3px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 20px;
}

.legacy-news-list #pager a {
    border: 1px solid #d3d3d3;
    cursor: pointer;
}

.legacy-news-list #pager strong {
    border: 1px solid #4ed8fa;
    background-color: #4ed8fa;
    color: #fff;
}

.legacy-news-list #pager span {
    font-size: 12px;
}

.legacy-article-detail.article {
    padding-top: 1%;
    padding-bottom: 5%;
}

.legacy-article-detail .inner-box {
    width: 100%;
}

.legacy-article-detail .mdContent {
    width: 100%;
    margin-left: 0;
    margin-bottom: 60px;
    border-left: none;
    font-family: Georgia, Palatino, serif;
}

.oldpage-body.oldpage-markdown-body {
    box-sizing: border-box;
    width: min(1360px, calc(100% - 48px));
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    border-left: none;
}

.google-search-page {
    padding-top: 48px;
    padding-bottom: 40px;
}

.google-search-page .gsc-control-cse {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.google-search-page table.gsc-search-box,
.google-search-page table.gsc-search-box td {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.google-search-page table.gsc-search-box {
    width: 100% !important;
    margin: 0 0 24px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.google-search-page .gsc-input-box {
    height: 46px !important;
    padding: 0 !important;
    border: 1px solid #cbd9ea !important;
    border-radius: 6px !important;
    background: #fff !important;
    background-clip: padding-box !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.google-search-page td.gsc-input {
    height: auto !important;
    padding: 0 8px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.google-search-page .gsc-input-box table,
.google-search-page .gsc-input-box tbody,
.google-search-page .gsc-input-box tr,
.google-search-page .gsc-input-box td {
    height: 44px !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.google-search-page .gsc-input-box table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

.google-search-page .gsib_a {
    padding: 0 !important;
    border-radius: 6px 0 0 6px !important;
    overflow: hidden !important;
}

.google-search-page .gsib_b {
    width: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.google-search-page input.gsc-input {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    color: #273142;
    border: 0 !important;
    border-radius: 6px 0 0 6px !important;
    background: transparent none !important;
    background-image: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    font-size: 16px;
    line-height: 44px;
    text-indent: 0 !important;
}

.google-search-page .gsc-search-button-v2 {
    height: 46px !important;
    margin-left: 8px !important;
    padding: 0 18px !important;
    border-radius: 6px !important;
}

.google-search-page .gsc-results-wrapper-visible {
    margin-top: 10px !important;
}

.legacy-article-title {
    text-align: center;
    font-size: 30px;
    line-height: 1.35;
    margin: 0 0 30px;
    font-weight: bold;
}

.legacy-article-title + h1 {
    display: none;
}

.legacy-article-detail #toc.md-toc,
.legacy-article-detail #toc {
    margin: 20px !important;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
}

.legacy-article-detail #toc:not(:empty)::before {
    content: none;
    display: none;
}

.legacy-article-detail .hh {
    display: block;
    margin: 10px !important;
    padding: 0;
    border-bottom: 0;
}

.legacy-article-detail a.hh {
    color: #3281c8 !important;
}

.legacy-article-detail a.hh:hover {
    text-decoration: underline !important;
}

.legacy-article-detail .hh1 {
    font-size: 24px !important;
    font-weight: normal;
}

.legacy-article-detail .hh2 {
    margin-left: 30px !important;
    font-size: 20px;
}

.legacy-article-detail .hh3 {
    margin-left: 60px !important;
    font-size: 17px;
}

.legacy-article-detail .hh4 {
    margin-left: 90px !important;
    font-size: 14px;
}

.docs-layout.frame-box {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 20px 0 58px;
}

.docs-layout.no-sidebar {
    grid-template-columns: minmax(0, 1fr);
}

.docs-sidebar {
    position: sticky;
    top: 92px;
    max-height: calc(100vh - 116px);
    overflow: auto;
    padding: 16px 0;
    background: #fff;
    border: 1px solid #dbe6f2;
    border-radius: 6px;
}

.docs-sidebar-title {
    padding: 0 18px 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid #e6eef8;
    color: #162033;
    font-size: 18px;
    font-weight: bold;
}

.docs-sidebar-title a {
    color: #162033;
}

.docs-nav-list,
.docs-nav-item ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.docs-nav-item ul {
    margin-left: 14px;
    padding-left: 10px;
    border-left: 1px solid #e2ebf5;
}

.docs-nav-item a,
.docs-nav-group {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 14px 7px 16px;
    color: #34445a;
    border-left: 3px solid transparent;
    font-size: 14px;
    line-height: 1.35;
}

.docs-nav-item a:hover {
    color: #0a9bda;
    background: #f5fbff;
}

.docs-nav-item.active > a,
.docs-nav-item.active > .docs-nav-group {
    color: #0d63bb;
    background: #f2f8ff;
}

.docs-nav-item.current > a {
    border-left-color: #0bc0ed;
    font-weight: bold;
}

.docs-nav-icon {
    flex: 0 0 auto;
    max-width: 18px;
    max-height: 18px;
    font-size: 12px;
}

.docs-main {
    min-width: 0;
}

.docs-article.mdContent {
    width: 100%;
    margin: 0;
}

.docs-pager {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.docs-pager a,
.docs-pager > span {
    min-height: 70px;
}

.docs-pager a {
    display: block;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #dbe6f2;
    border-radius: 6px;
}

.docs-pager a:hover {
    border-color: #0bc0ed;
}

.docs-pager a.next {
    text-align: right;
}

.docs-pager span,
.docs-pager strong {
    display: block;
}

.docs-pager span {
    margin-bottom: 4px;
    color: #66758a;
    font-size: 12px;
}

.docs-pager strong {
    color: #162033;
    line-height: 1.45;
}

.content-list {
    display: grid;
    gap: 16px;
}

.list-item,
.search-panel,
.language-item,
.contact-form,
.empty-state,
.success-box {
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #dbe6f2;
    border-radius: 6px;
}

.list-item p {
    margin: 0 0 8px;
    color: #0d4f9c;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.list-item h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.list-item span,
.list-item time {
    display: block;
    color: #66758a;
    line-height: 1.7;
}

.search-panel {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.search-panel input {
    flex: 1;
}

.search-panel button,
.contact-form button {
    min-height: 40px;
    padding: 0 22px;
    color: #fff;
    background: #0a9bda;
    border: 0;
    border-radius: 4px;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.language-item {
    display: block;
    color: #2b384d;
}

.language-item.active {
    border-color: #0bc0ed;
}

.language-item strong,
.language-item span,
.language-item small {
    display: block;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form .wide {
    grid-column: 1 / -1;
}

.contact-form label {
    display: grid;
    gap: 6px;
}

.contact-form input,
.contact-form textarea,
.search-panel input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd9ea;
    border-radius: 4px;
}

.pager {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.pager a,
.pager span {
    padding: 8px 13px;
    border: 1px solid #dbe6f2;
    border-radius: 4px;
    background: #fff;
}

@media (max-width: 768px) {
    .sub-banner > div {
        width: calc(100% - 24px);
    }

    .legacy-page-banner.sub-banner > div {
        width: auto;
    }

    .legacy-page-banner .crumbs p {
        display: none;
    }

    .legacy-news-list.news li {
        width: 100%;
        float: none;
    }

    .oldpage-body.oldpage-markdown-body {
        width: calc(100% - 24px);
    }

    .google-search-page {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .docs-layout.frame-box {
        grid-template-columns: 1fr;
        width: calc(100% - 24px);
        gap: 16px;
        padding-top: 12px;
    }

    .docs-sidebar {
        position: static;
        max-height: none;
    }

    .docs-pager {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .search-panel {
        display: grid;
        grid-template-columns: 1fr;
    }
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}
