.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

/*global*/
:root {
    --header-height: 72px;
    --footer-height: 88px;

    --color-text-primary: #333333;
    --color-text-secondary: #333333;
    --color-text-tertiary: #333333;
    --color-text-tertiary-2: #333333;
    --color-text-tertiary-3: #333333;
    --color-text-tertiary-4: #444444;
    --color-text-quaternary: #333333;
    --color-text-quinary: #333333;
    --color-text-senary: #444444;
    --color-text-septenary: #f2f2f2;
    --color-text-octonary: #808080;
    --color-text-nonary: #f94a0c;
    --color-text-decimal: #cccccc;
    --color-text-undecimal: #444444;
    --color-text-duodecimal: #ffffff;
    --color-text-tridecimal: #000000;

    --color-bg-primary: #F5F5F5;
    --color-bg-secondary: #ffffff;
    --color-bg-tertiary: #ffffff;
    --color-bg-quaternary: #ffffff;
    --color-bg-quinary: #f9f9f9;
    --color-bg-senary: #333333;
    --color-bg-septenary: #efefef;
    --color-bg-octonary: #404040;
    --color-bg-nonary: #F5F5F5;
    --color-bg-decimal: #eceef1;
    --color-bg-undecimal: #ffffff;
    --color-bg-duodecimal: #f9f9f9;
    --color-bg-tridecimal: #ffffff;
    --color-bg-tetradecimal: #444444;

    --color-border-primary: #2a2a2a;
    --color-border-secondary: #2a2a2a;
    --color-border-tertiary: #d0d5dA;
    --color-border-quaternary: #e2e2e2;
    --color-border-quinary: #e2e2e2;
    --color-border-senary: #aaaaaa;
    --color-border-septenary: #e3e3e3;
    --color-border-octonary: #efefef;
    --color-border-nonary: #d7d8dc;
    --color-border-decimal: #efefef;
    --color-border-undecimal: #eceef1;
    --color-border-duodecimal: #d0d5da;
    --color-border-tridecimal: #CCCCCC;

    --color-code-bg: #f9f9f9;
    --color-code-border: #d5d9de;
    --color-code-tag: #00f;
    --color-code-keyword: #00f;
    --color-code-title: #a31515;
    --color-code-string: #a31515;
    --color-code-text: #333333;
    --color-code-doc: #446995;
    --color-code-spread: #40865C;
    --color-code-present: #AA5252;

    --color-box-shadow-primary: 0px 7px 15px 0px rgba(85, 85, 85, 0.1);

    --color-layout-header: #ebebeb;
    --color-layout-header-2: #ebebeb;
}

h1,
h2,
h3,
p,
pre,
a,
code,
em,
img,
strong,
dd,
dl,
dt,
li,
ul,
ol,
form,
label,
button,
table,
tbody,
tfoot,
thead,
tr,
th,
td {
    border: 0 none;
    font-family: inherit;
    font-size: 100%;
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    margin: 0;
    padding: 0;
}

b,
td {
    scroll-margin-top: 71px;
    scroll-snap-margin-top: 71px;
    /* iOS 11 and older */
}

@supports (croll-margin-top: 0) {

    b,
    td {
        scroll-margin-top: 71px;
    }
}

ul {
    list-style: disc outside none;
    margin: 8px 0 8px 24px;
}

img {
    max-width: 100%
}

li {
    margin: 0 0 10px;
}

ol {
    margin: 8px 0 8px 20px;
}

ol>li {
    margin-bottom: 18px;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

b {
    font-weight: bold;
}

em {
    font-style: italic;
}

p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 22px;
}

textarea {
    background: #f4f4f4;
    border: 1px solid #bfbfbf;
    height: 300px;
    padding: 5px;
    resize: none;
}

input[type="text"] {
    border: 1px solid #DCDCDC;
    font-size: 14px;
    height: 25px;
    padding: 3px 5px;
    margin: 2px 0 8px;
    width: 100%;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

tr {
    vertical-align: top;
}

.ahead {
    font-size: 22px;
    margin: 10px 0 20px;
    line-height: 1.3em;
    letter-spacing: -0.02em;
    color: #FF6F3D;
    position: relative;
    word-break: break-word;
    font-weight: 700;
}

.ahead2 {
    font-size: 15px;
    margin: 10px 0 20px;
    line-height: 1.3em;
    letter-spacing: -0.02em;
    color: #333333;
    position: relative;
    word-break: break-word;
    font-weight: 700;
}

/*logo*/
.logo {
    background-image: url("img/logo72.png");
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    height: 71px;
    outline: none;
    width: 255px;
    min-width: 255px;
}

/*layout*/
body,
html {
    height: 100%;
    margin: 0;
    min-height: 100%;
    padding: 0;
    width: 100%;
    font-family: 'Open Sans', sans-serif, Arial;
    font-size: 14px;
    color: var(--color-text-tertiary-2);
}

.p-font {
    font-size: 14px;
}

.layout-table {
    border: medium none;
    display: flex;
    height: 100%;
    margin: 0;
    padding: 0;
    max-width: 1120px;
    margin: auto;
    padding: 0 40px;
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

.header-navigation {
    max-width: 1120px;
    margin: auto;
}

.layout-table-header {
    box-sizing: border-box;
    height: var(--header-height);
    width: 100%;
    background-color: var(--color-bg-senary);
    position: fixed;
    z-index: 1000;
}

.main-page .layout-table-header {
    display: flex;
}

.main-page .layout-header {
    display: flex;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 40px;
}

.layout-header {
    display: block;
    height: 100%;
}

.layout-table-side {
    box-sizing: border-box;
    position: relative;
    background-color: var(--color-bg-primary);
    border-right: 1px solid var(--color-border-octonary);
}

.layout-table-side::before {
    content: "";
    position: absolute;
    top: 0;
    right: 100%;
    width: 100vw;
    height: 100%;
    background-color: var(--color-bg-primary);
}

#sidebar-button {
    display: none;
    margin-right: 17px;
    min-width: 24px;
    height: 24px;
    background-image: url("img/sidebar.svg");
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
}

.menu-header {
    display: none;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    color: #FF6F3D;
    text-transform: uppercase;
}

.ham_menu {
    display: none;
    margin: 0 -16px 0 auto;
    padding: 12px 16px;
    cursor: pointer;
}

.ham_menu span {
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("img/menu.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.ham_menu.open-menu span {
    background-image: url("img/cross.svg");
}

.nav-list {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 184px);
    padding-right: 11px;
}

.nav-list::-webkit-scrollbar {
    width: 4px;
}

.nav-list::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background-color: #D0D5DA;
    transition: background-color 0.3s;
    ;
}

.nav-list.scroll-active::-webkit-scrollbar-thumb {
    background-color: #A3A9AE;
}

.background-body {
    width: 100%;
    background-color: var(--color-bg-secondary);
    padding-top: var(--header-height);
}

body>.background-body {
    border-bottom: 0px solid var(--color-border-secondary);
}

.main-body>.background-body {
    border-bottom: 1px solid var(--color-border-primary);
}

.mainBody {
    background-color: var(--color-bg-primary);
    width: 100%;
}

.layout-side {
    box-sizing: border-box;
    position: sticky;
    padding: 32px 0;
    margin-right: 32px;
    top: 72px;
    width: 232px;
    max-height: 100vh;
    overflow: hidden;
}

.layout-table-content {
    margin: 0;
    padding: 0 0 0 12px;
    box-sizing: border-box;
    width: 100%;
}


.layout-content {
    margin-top: 20px;
    max-width: 832px;
    width: 100%;
}

/*table*/
.table {
    border: medium none;
    border-collapse: collapse;
    margin: 20px 0;
    width: 100%;
}

.table td {
    border: medium none;
    vertical-align: middle;
    padding: 15px 8px;
    font-size: 14px;
    word-break: break-word;
    min-width: 120px;
}

.error-table {
    border: medium none;
    border-collapse: collapse;
    margin: 20px 0;
    width: 100%;
}

.error-table td {
    border: medium none;
    vertical-align: middle;
    padding: 15px 16px 22px;
    font-size: 13px;
    word-break: break-word;
    min-width: 120px;
}

.table-conversion-matrix-text,
.table-conversion-matrix-spreadsheet,
.table-conversion-matrix-presentation,
.table-formats {
    vertical-align: middle;
    padding: 5px;
    font-size: 12px;
    width: 100%;
}

.table-formats {
    display: block;
    max-width: 832px;
    overflow-x: scroll;
}

.table-conversion-matrix-text td,
.table-conversion-matrix-spreadsheet td,
.table-conversion-matrix-presentation td,
.table-formats td {
    border: medium none;
    text-align: center;
    vertical-align: middle;
    padding: 5px;
    font-size: 12px;
    border-bottom: 1px solid var(--color-border-nonary);
}

.table-conversion-matrix-text td {
    width: 5%;
}

.table-formats td {
    width: 5%;
}

.table-conversion-matrix-spreadsheet td {
    width: 7%;
}

.table-conversion-matrix-presentation td {
    width: 6%;
}

.table-conversion-matrix-text th,
.table-conversion-matrix-spreadsheet th,
.table-conversion-matrix-presentation th,
.table-formats th {
    text-align: center;
    vertical-align: bottom;
    padding: 5px;
    font-size: 12px;
    font-weight: bold;
    border-bottom: 1px solid var(--color-border-nonary);
}

.table-conversion-matrix-cell-tick {
    background: #F4F4F4;
}

.table td:first-child {
    padding-left: 8px;
}

.error-table td:first-child {
    padding-left: 8px;
}

.table td:last-child {
    padding-right: 8px;
    min-width: 120px;
    word-break: break-word;
}

.table .tablerow {
    border-bottom: 1px solid var(--color-border-nonary);
}

.table .tablerow .borders {
    border-bottom: 1px solid var(--color-border-nonary);
    border-top: 1px solid var(--color-border-nonary);
    border-left: 1px solid var(--color-border-nonary);
    border-right: 1px solid var(--color-border-nonary);
}

.error-table .tablerow {
    border-bottom: 1px solid var(--color-border-nonary);
}

.table thead td {
    font-weight: 400;
    padding-top: 0;
    padding-bottom: 4px;
    font-size: 16px;
}

.error-table thead td {
    font-weight: 400;
    padding-top: 0;
    padding-bottom: 4px;
    font-size: 16px;
}

.table.hover tbody .tablerow:hover {
    background-color: var(--color-border-octonary);
}

.table .infotext {
    color: #999;
}

.tablerow-note td {
    padding-top: 0;
}

.tablerow-note .note {
    margin-top: 0;
}

/*links*/
a,
a:hover,
a:visited {
    color: #FF6F3D;
}

a:hover {
    text-decoration: none;
}

.dotline {
    border-bottom: 1px dotted;
}

.fakelink {
    text-decoration: underline;
}

.uppercase {
    text-transform: uppercase;
}

/*headers*/
h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0 20px;
    line-height: 1.3em;
    letter-spacing: -0.02em;
    color: #FF6F3D;
    position: relative;
    word-break: break-word;
}

h1 .up,
h1 .up:hover {
    background-color: #f9f9f9;
    border: 1px solid #bfbfbf;
    border-radius: 2px;
    float: left;
    margin: 5px 8px 0 0;
    padding: 4px;
    text-decoration: none;
}

h1 .up:after {
    background: url("img/sprite.svg") no-repeat scroll 0 -150px transparent;
    content: "";
    display: block;
    height: 12px;
    width: 12px;
}

h1 .comment {
    color: #666;
    font-size: 12px;
    line-height: 12px;
    text-transform: none;
    display: block;
    margin-left: 32px;
}

h2 {
    color: var(--color-text-tertiary-2);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 1.5em 0;
}

h3 {
    font-size: 14px;
    font-weight: 700;
}

h5 {
    color: var(--color-text-tertiary-2);
    font-size: 22px;
    font-weight: 300;
    margin: 25px 0 5px;
    text-transform: none;
}

.table-header-gray {
    background-color: var(--color-layout-header-2);
}

.header-gray {
    background-color: var(--color-layout-header);
    margin-top: 32px;
    padding: 6px 17px;
    font-size: 13px;
    line-height: 20px;
}

.copy-link[id]:hover {
    cursor: pointer;
}

.copy-link[id]:hover:before {
    background: url("img/sprite.svg") no-repeat scroll 0 -125px transparent;
    content: " ";
    display: inline-block;
    height: 16px;
    margin: 2px 0 0 -24px;
    position: absolute;
    width: 23px;
}

h2.copy-link[id]:hover:before {
    margin-top: 5px;
}

td.table-style.copy-link[id]:hover:before {
    margin-left: -32px;
    margin-top: 30px;
}

li b.copy-link[id]:hover:before {
    margin-left: -40px;
}

p.copy-link[id]:hover:before {
    margin-left: -45px;
}

li.copy-link[id]:hover:before {
    background: none;
}

.header-gray.copy-link[id]:hover:before {
    margin-left: -35px;
}

.list-header {
    margin: 32px 0 16px;
}

.todo {
    color: red !important;
}

.header-try-now {
    position: relative;
    margin-left: auto;
}

.header-tn-popup {
    display: block;
}

.header-try-now:hover .header-tn-popup {
    display: block;
}

.header-try-now:hover .header-btn {
    background-color: #FF865C;
}

.header-tn-popup {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: 4px;
    box-sizing: border-box;
}

.header-tn-wrapper {
    border: 1px solid var(--color-border-quinary);
    border-radius: 5px;
    padding: 32px;
    color: var(--color-text-tertiary-2);
    width: max-content;
    max-width: 382px;
    background-color: var(--color-bg-tertiary);
    box-shadow: var(--color-box-shadow-primary);
}

.header-tn-title {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.36px;
}

.header-tn-description {
    margin: 0 0 32px;
    font-size: 14px;
    line-height: 21px;
}

a.header-tn-btn {
    display: inline-flex;
    margin-right: 32px;
    border-radius: 3px;
    padding: 15px 24px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    line-height: 17px;
    letter-spacing: 0.52px;
    background-color: #FF6F3D;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s;
}

a.header-tn-btn:hover {
    background-color: #FF865C;
}

a.header-tn-link {
    display: inline-flex;
    color: var(--color-text-tertiary-4);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    text-decoration: none;
}

a.header-tn-link:hover {
    text-decoration: underline;
}

.header-btn {
    padding: 8px 12px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    border-radius: 3px;
    background-color: #FF6F3D;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s;
}

/*footer*/
.layout-table-footer {
    padding: 24px 0 24px;
    background-color: #333333;
    width: 100%;
    box-sizing: border-box;
}

.layout-footer {
    padding: 0 40px;
    max-width: 1120px;
    margin: auto;
}

.footer-menu {
    display: flex;
}

.footer-item {
    min-width: 160px;
}

.footer-item:not(:last-child) {
    margin-right: 64px;
}

.footer-item-title {
    margin: 0 0 16px;
    color: #808080;
    font-size: 13px;
    font-weight: 600;
    line-height: 17px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-item-list {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.footer-item-list li:not(:last-child) {
    margin-bottom: 8px;
}

.footer-item-list li a {
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: 0.52px;
    text-decoration: none;
}

.footer-item-list li a:hover {
    color: #FF6F3D;
}

.footer-info {
    /*border-top: 1px solid #616161;
    padding-top: 24px;
    margin-top: 24px;*/
    text-align: right;
    margin-top: -60px;
}

.footer-text {
    margin: 0;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    line-height: 17px;
    letter-spacing: 0.52px;
    text-transform: uppercase;
}

.footer-text a {
    text-decoration: none;
    color: #FFFFFF;
}

.footer-text a:hover {
    color: #FF6F3D;
}

.copyReserved {
    margin: 16px 0 0 0;
    font-size: 13px;
    color: #AAAAAA;
}

/*search form*/
.search-box {
    margin-bottom: 24px;
}

.search-input {
    position: relative;
}

.search-box input {
    box-sizing: border-box;
    border: 1px solid var(--color-border-tertiary);
    padding: 10px 48px;
    margin: 0;
    height: 46px;
    color: var(--color-text-primary);
    background-color: #fff;
    outline: none;
}

.search-big {
    position: relative;
}

.search-box .search-big input {
    box-sizing: border-box;
    border: 1px solid var(--color-border-tertiary);
    border-radius: 4px;
    width: 100%;
    max-width: 736px;
    height: 64px;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-primary);
    height: 64px;
    margin: 0;
    padding: 20px 56px;
    outline: none;
    background-color: var(--color-bg-secondary);
}

.search-box .search-big input::placeholder {
    color: var(--color-text-octonary);
}

.search-box-main,
.search-box-result {
    margin: 0 auto;
    width: 100%;
    max-width: 736px;
    text-align: left;
}

.search-box-main {
    margin-bottom: 96px;
}

.search-box-result ul {
    list-style: none;
}

.search-box-result li {
    margin-bottom: 30px;
}

.search-clear {
    display: inline-block;
    background: url("img/sprite.svg") no-repeat scroll 4px -168px transparent;
    width: 24px;
    height: 24px;
    position: absolute;
    right: 14px;
    display: none;
    top: 50%;
    transform: translateY(-50%) scale(1.5, 1.5);
    cursor: pointer;
}

.search-clear:hover {
    background-position: 4px -188px;
}

.search-box .btn {
    position: absolute;
    top: 50%;
    left: 12px;
    margin: 0;
    width: 17px;
    height: 17px;
    cursor: pointer;
    z-index: 10;
    background: url("img/search.svg") no-repeat;
    transform: translateY(-50%);
}

.search-box .search-big .btn {
    left: 24px;
}

.search-box .search-big .search-clear {
    right: 24px;
}

.not-found {
    margin-bottom: 140px;
    margin-top: 32px;
    text-align: center;
}

/*start page*/

.home .layout-content {
    margin: 0 auto 0;
    text-align: center;
    max-width: 100%;
    display: block;
}

.home .layout-table-content {
    padding: 112px 0 209px;
    box-sizing: border-box;
    display: block;
    width: 100%;
    border-left: none;
}

.home .background-body.mainBody {
    padding-top: 0;
}

.products-info h1 {
    margin: 0 0 48px;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-quinary);
    line-height: 43px;
    letter-spacing: -0.02em;
}

.product-list .product:last-child {
    margin-right: 0;
}

.product {
    display: inline-block;
    font-size: 15px;
    width: 212px;
    margin-right: 35px;
    text-align: center;
    vertical-align: top;
}

.product img {
    display: block;
    margin: 0 auto;
}

.product a {
    color: #333;
    outline: none;
    text-decoration: none;
}

/*.hdr {
    font-size: 32px;
    font-weight: 700;
    margin: 10px 0 20px;
    line-height: 1.3em;
    color: #333;
    position: relative;
    margin-bottom: 70px;
}*/

/*code example*/
pre,
.commandline {
    border: 1px solid var(--color-code-border);
    background-color: var(--color-code-bg);
    border-radius: 3px;
    display: block;
    font-family: Monaco, Andale Mono, Courier New, monospace;
    font-size: 12px;
    line-height: 14px;
    margin: 18px 0 24px;
    padding: 12px 12px 12px 4px;
    white-space: pre-wrap;
    word-break: break-word;
}

pre.hljs {
    word-break: break-word;
}

pre.hljs a {
    color: inherit;
}

pre.hljs a span {
    text-decoration: underline;
}

pre.hljs a:hover span {
    text-decoration: none;
}

/*note block*/
.note,
note {
    padding: 8px 0 8px 12px;
    display: block;
    margin: 16px 0;
    position: relative;
    font-size: 12px;
    border-radius: 2px;
    border-left: 5px solid var(--color-border-duodecimal);
    line-height: 18px;
}

/*.note:before, note:before {
    content: 'N';
    font-size: 15px;
    font-weight: bold;
    position: absolute;
    left: 15px;
    color: #808080;
    top: 10px;
}

.note:after, note:after {
    content: 'B:';
    font-size: 15px;
    font-weight: bold;
    position: absolute;
    left: 22px;
    color: #808080;
    top: 10px;
}*/

.note-important {
    border-color: red;
    padding-left: 30px;
}

.note-important:before,
.note-important:after {
    display: none;
}

.note-important-label {
    color: #f94a0c;
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 6px;
}

/*Highliter*/
.bracket {
    color: #090;
}

.param-name {
    color: #36C;
}

.search-result {
    color: #e34603;
}

#embeddedEditor {
    min-height: 550px;
    background: #f1f1f1;
    border: 1px solid #cccccc;
}

.button-container {
    text-align: right;
    display: block !important;
}

.button,
.button:visited,
.button:active {
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    vertical-align: middle;
    padding: 16px 20px;
    text-align: center;
    text-decoration: none !important;
    border-radius: 3px;
    /* text-transform: uppercase; */
    font-weight: 600;
    line-height: 1em;
    color: var(--color-text-undecimal);
    border: 1px solid #AAAAAA;
}

.button.red {
    background-color: #ff642e;
}

.button.active {
    background: #FF6F3D;
    border: 1px solid #FF6F3D;
    color: #FFFFFF;
}

.button.disabled {
    color: var(--color-text-decimal);
    border-color: var(--color-border-tridecimal);
    pointer-events: none;
}

.button:hover {
    text-decoration: none;
    color: #FF6F3D;
    border: 1px solid #FF6F3D;
}

.button.red:hover {
    background-color: #ff7a4b;
}

.button.active:hover {
    background: #ff7a4b;
    border: 1px solid #FF6F3D;
    color: #FFFFFF;
}

/* .button-upper {
    text-transform: uppercase; 
} */

.demo-tab-panel {
    margin-bottom: -1px;
    width: 100%;
}

.demo-tab-panel td {
    height: 48px;
    width: 25%;
}

.demo-tab-center {
    margin: 0 -1px;
}

.demo-tab-panel a {
    background: #ECEEF1;
    border: 1px solid #ECEEF1;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    height: 34px;
    outline: none;
    padding-top: 13px;
    text-align: center;
    text-decoration: none;
    width: 98%;
}

.demo-tab-panel a:hover {
    background: #fcfcfc;
}

.demo-tab-panel a.active {
    background: #fff;
    border: 1px solid #ECEEF1;
    box-shadow: 0px 0px 15px rgba(85, 85, 85, 0.1);
}

.demo-block {
    border: 1px solid #ECEEF1;
    border-top: none;
    margin-bottom: 18px;
    padding: 20px 9px 9px;
}

.list-buttons {
    margin: 0 0 30px;
}

.list-buttons li {
    display: inline-block;
    margin: 8px;
}

.required,
a.required {
    color: #C00;
    text-decoration: none;
}

.required-descr {
    display: block;
    font-size: 12px;
}

.table-name {
    width: 115px;
}

.table-type {
    width: 90px;
}

.table-example {
    width: 200px;
}

.table-api {
    width: 300px;
}

.table-wopi {
    width: 290px;
}

.button-popap-try {
    border-bottom: 1px dotted;
    cursor: pointer;
}

.button-popap-free {
    border-bottom: 1px dotted;
    cursor: pointer;
}

.language-example-table td {
    padding: 10px;
    vertical-align: top;
    text-align: center;
}

.try-now-table {
    width: 100%;
}

.try-now-table th {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 30px;
    vertical-align: top;
}

.try-now-table tbody th {
    text-align: left;
    padding: 10px 30px 10px 10px;
    vertical-align: top;
    max-width: 260px;
}

.try-now-table tr {
    border-bottom: 1px solid var(--color-border-nonary);
}

.try-now-table td {
    padding: 10px 28px;
    vertical-align: top;
    text-align: center;
}

.try-now-table .button {
    box-sizing: border-box;
    background-color: transparent;
    color: #666;
    border: 1px solid #b2b2b2;
    padding: 4px;
    width: 64px;
    min-height: 28px;
    font-size: 14px;
    line-height: 18px;
    margin: 0 0 10px;
    border-radius: 3px 0 0 3px;
    vertical-align: top;
    transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}

.try-now-table .doc {
    color: var(--color-code-doc);
    border: 1px solid #446995;
}

.try-now-table .doc:hover {
    background-color: #446995;
}

.try-now-table .spread {
    color: var(--color-code-spread);
    border: 1px solid #40865C;
}

.try-now-table .spread:hover {
    background-color: #40865C;
}

.try-now-table .spreadfree {
    color: var(--color-code-spread);
    border: 1px solid #40865C;
    width: 112px;
}

.try-now-table .spreadfree:hover {
    background-color: #40865C;
}

.try-now-table .present {
    color: var(--color-code-present);
    border: 1px solid #AA5252;
}

.try-now-table .present:hover {
    background-color: #AA5252;
}

.try-now-table .button:hover {
    color: #ffffff;
}

.try-now-table .button-popap-try {
    box-sizing: border-box;
    background-color: #44444430;
    border-left: 0 none;
    border: 1px solid #AA5252;
    width: 48px;
    height: 28px;
    border-radius: 0 3px 3px 0;
    margin: 0 0 10px;
    display: inline-block;
    background-image: url("img/shopping-car.png");
    background-position: center;
    background-repeat: no-repeat;
}

.try-now-table .button-popap-try:hover {
    background-color: #AA5252;
    background-image: url("img/shopping-cart-hover.png");
}

.try-now-table .button-popap-free {
    box-sizing: border-box;
    /* background-color: #44444430; */
    border-left: 0 none;
    border: 1px solid var(--color-code-spread);
    width: 48px;
    height: 28px;
    border-radius: 0 3px 3px 0;
    margin: 0 0 10px;
    display: inline-block;
    background-image: url("img/shopping-cart-free.png");
    background-position: center;
    background-repeat: no-repeat;
}

.try-now-table .button-popap-free:hover {
    background-color: #40865C;
    background-image: url("img/shopping-cart-free-hover.png");
}


.try-icon-code {
    display: inline-block;
    vertical-align: middle;
    width: 48px;
    height: 28px;
    background-image: url("img/code-dark.svg");
    background-position: center;
    background-repeat: no-repeat;
}

.try-now-table td div {
    display: flex;
    align-items: center;
    justify-content: center;
}

/********************
    popap
******************/
.popap-dialog {
    background-color: var(--color-bg-secondary);
    border: 0 none;
    box-shadow: 1px 1px 8px #aaa;
    cursor: default;
    display: none;
    opacity: 1;
    padding: 0;
    z-index: 1200;
}

.popap-header {
    /* text-transform: uppercase; */
    color: var(--color-text-tridecimal);
}

.popap-container {
    padding: 15px;
}

.popap-close {
    background-color: transparent;
    cursor: pointer;
    display: block;
    font-size: 28px;
    font-weight: bold;
    height: 16px;
    margin-right: 0;
    margin-top: 0;
    padding: 5px;
    position: absolute;
    right: 8px;
    top: 0;
    width: 16px;
    color: var(--color-text-tridecimal);
}

/******************
    video
******************/
.video-link {
    background-color: #000;
    cursor: pointer;
    float: right;
    height: 138px;
    margin: 0 0 20px 20px;
    overflow: hidden;
    position: relative;
    width: 246px;
}

.video-link:before,
.video-link:after {
    color: white;
    line-height: 1px;
    position: absolute;
}

.video-link:before {
    background: white;
    content: "";
    height: 93px;
    left: 76px;
    opacity: 0.3;
    top: 22px;
    width: 93px;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
}

.video-link:after {
    border-top: 28px solid transparent;
    border-left: 50px solid white;
    border-bottom: 28px solid transparent;
    content: "";
    height: 0;
    left: 103px;
    opacity: 0.8;
    top: 41px;
    width: 0;
}

.video-link:hover:after {
    opacity: 1;
}

.video-link img {
    opacity: 0.7;
}

.video-frame {
    height: 365px;
    margin: 18px 0 24px;
    width: 650px;
}


/********
    docbuilder
**************/
#startButton {
    background: #FF6F3D;
    border: 1px solid #FF6F3D;
    color: #FFFFFF;
}

#startButton:hover {
    background: #ff7a4b;
}

.doc-builder-file-types {
    display: block;
    text-align: left;
    height: 35px;
    margin-bottom: 25px;
    margin-left: 0;
    border: none;
    box-shadow: inset #bfbfbf 0 -1px 0 0;
}

.doc-builder-file-types li {
    display: block;
    float: left;
}

.doc-builder-file-types a {
    display: block;
    color: rgb(121, 121, 121);
    margin: 0 28px 0 0;
    min-width: 100px;
    font-size: 13px;
    line-height: 34px;
    font-weight: 600;
    padding: 0;
    text-transform: uppercase;
    text-decoration: none;
}

.doc-builder-file-types li.active a,
.doc-builder-file-types a:hover {
    color: #f94a0c;
}

.doc-builder-file-types li.active a {
    border-bottom: 2px solid #FF6F3D;
}

.doc-builder-list-buttons {
    margin: 16px -8px;
}

#doc-builder-search-box div {
    margin-bottom: 25px;
    background: rgb(249, 249, 249);
    display: flex;
    border-radius: 3px;
    width: 99%;
}

#doc-builder-search-box input {
    font: inherit;
    color: rgb(51, 51, 51);
    background: var(--color-bg-secondary);
    position: static;
    width: 100%;
    border-radius: 0;
}

.builder-search-results {
    padding: 0 !important;
    max-height: 235px;
    overflow-y: auto;
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
    margin: 0;
    top: -20px;
    border-radius: 3px;
    border: 1px solid #bfbfbf;
    background: rgb(249, 249, 249);
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    position: relative;
}

.builder-search-results li {
    display: inline-flex;
    margin: 0;
    padding: 5px 5px 5px 50px;
    cursor: pointer;
    list-style-type: none;
}

.builder-search-results li:hover {
    background: rgb(239, 239, 239);
}

.builder-search-results li p {
    padding: 0 1px 0 1px;
    max-width: 30vw;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.docbuilder-script {
    outline: none;
    background: rgb(249, 249, 249);
    border-radius: 3px;
    padding: 15px 24px;
    width: 95%;
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
}

.details {
    border-left: 2px solid #ddd;
    font-size: 14px;
    line-height: 20px;
    margin-top: 6px;
}

.details>span {
    margin-left: 10px;
}

.details dt {
    float: left;
    padding-left: 10px;
    width: 120px;
}

.details dd {
    margin-bottom: 6px;
    margin-left: 70px;
    margin-top: 6px;
}

.details ul {
    list-style-type: none;
    margin: 0;
}

.param-type {
    margin: 14px 0;
}

.param-type dd {
    display: inline-block;
}

.param-type dt {
    display: inline-block;
}


h2+.copy-code,
h2+.copy-code:active {
    float: right;
    margin-top: -50px;
}

.docnote {
    background-color: var(--color-bg-septenary);
    font-size: 13px;
    line-height: 1.5em;
    margin: 20px 0;
    padding: 10px 20px;
}

.document_structure {
    border: 1px solid #d9d9d9;
    margin: 15px 0 0;
    padding: 10px 20px 20px;
    text-align: left;
    vertical-align: top;
    word-break: initial;
}

.document_structure.tablerow_node {
    display: inline-block;
}

.document_structure.tablecell_node {
    display: inline-block;
    width: 42%;
}

.document_structure.textrun_node {
    display: inline-block;
}

.document_structure.textrun_node .document_structure.image_node {
    width: 16%;
    padding-left: 10px;
    padding-right: 10px;
}

.document_structure.textrun_node .document_structure.shape_node {
    width: 56%;
    padding-left: 10px;
    padding-right: 10px;
}

.document_structure.textrun_node .document_structure.chart_node {
    width: 16%;
    padding-left: 10px;
    padding-right: 10px;
}

.document_structure.range_node {
    display: inline-block;
    width: 94%;
}

.document_structure.range_node .document_structure.paragraph_node {
    width: 22%;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
}

.document_structure.range_node .document_structure.table_node {
    width: 22%;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
}

.document_structure.range_node .document_structure.blockcontentcontrol_node {
    width: 44%;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
}

.document_structure.blockcontentcontrol_node {
    display: inline-block;
    width: 94%;
}

.document_structure.blockcontentcontrol_node .document_structure.paragraph_node {
    width: 22%;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
}

.document_structure.blockcontentcontrol_node .document_structure.table_node {
    width: 22%;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
}

.document_structure.blockcontentcontrol_node .document_structure.blockcontentcontrol_node {
    width: 44%;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
}

.document_structure.inlinecontentcontrol_node {
    display: inline-block;
    width: 94%;
}

.document_structure.inlinecontentcontrol_node .document_structure.textrun_node {
    width: 22%;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
}

.document_structure.inlinecontentcontrol_node .document_structure.inlinecontentcontrol_node {
    width: 44%;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
}

.document_structure.inlinecontentcontrol_node .document_structure.hyperlink_node {
    width: 22%;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
}

.document_structure.image_node {
    display: inline-block;
    width: 27%;
}

.document_structure.shape_node {
    display: inline-block;
    width: 27%;
}

.document_structure.chart_node {
    display: inline-block;
    width: 27%;
}

.spreadsheet_document .document_structure.image_node,
.spreadsheet_document .document_structure.chart_node {
    display: inline-block;
    width: 44.9%;
}

.spreadsheet_document .document_structure.shape_node {
    display: block;
    width: auto;
}

.presentation_document .document_structure.image_node,
.presentation_document .document_structure.chart_node {
    display: inline-block;
    width: 44.6%;
}

.presentation_document .document_structure.shape_node {
    display: block;
    width: auto;
}

.node_description {
    margin: 0;
    padding: 5px 0 0;
}

p.node_label {
    color: #FF6F3D;
    font-size: 18px;
    margin: 0;
    padding: 0;
}

.global-list ul li {
    list-style-type: none;
}


.table-classlist {
    table-layout: fixed;
    width: 100%;
}

.table-classlist .table-classlist-name {
    width: 20%;
}

.builder_page_class {
    color: #5891d0;
    font-size: 22px;
    font-weight: 300;
    margin: 25px 0 5px;
    text-transform: none;
}

ul.buider_page_methods_list,
.buider_page_methods_list {
    -webkit-columns: 3 200px;
    -moz-columns: 3 200px;
    columns: 3 200px;
    column-gap: 0;
    padding-bottom: 30px;
}

.buider_page_methods_list li {
    list-style-type: none !important;
}

.kb_index_page {
    display: inline-block;
    vertical-align: top;
    min-width: 100%;
}

.kb_index_page h5 {
    margin-bottom: 10px;
}

.kb_index_page ul {
    margin-left: 0;
}

.kb_index_page li {
    position: relative;
}

.kb_index_page li:before {
    content: '- ';
    color: #5891d0;
}

.tags_content {
    line-height: 1;
}

.tags_content h5 {
    color: #333;
    font-size: 18px;
    font-weight: 300;
    margin: 0 0 0 20px;
    text-transform: none;
}

.tag_name {
    background-color: #999;
    color: #fff;
    display: inline-block;
    padding: 1px 5px 3px;
    font-weight: 600;
}

.tags_content ul {
    margin: 20px 40px 30px;
}

.tags_content li {
    list-style-type: none;
}

.global-type-definitions {
    position: relative;
}

.global-type-definitions .anchor-position {
    position: absolute;
    top: -72px;
}

/********************************
    docbuilder action
********************************/
.builder-code {
    width: 75%;
}

.builder-run {
    background: no-repeat center 0 transparent;
    color: var(--color-text-tertiary-2);
    cursor: pointer;
    display: inline-block;
    float: right;
    font-weight: bold;
    padding-top: 100px;
    text-align: center;
    width: 100px;
}

#generateButton {
    background-image: url("img/docbuilder/download.png");
    margin: 80px 50px 0 0;
}

#createDocx,
#createXlsx,
#createPdf {
    margin: 32px 8px 0 0;
}

#createDocx {
    background-image: url("img/docbuilder/file_docx.png");
}

#createXlsx {
    background-image: url("img/docbuilder/file_xlsx.png");
}

#createPdf {
    background-image: url("img/docbuilder/file_pdf.png");
}

#builderFile {
    width: 0;
    height: 0;
}

.own-data {
    float: left;
    width: 50%;
}

.spoiler_code {
    display: none;
}

pre.spoiler_code {
    display: none;
}

.spoiler_heading {
    color: #808080;
    cursor: pointer;
    border-bottom: 1px dotted #808080;
    display: inline-block;
    background: url("img/sprite.svg") no-repeat 0 -100px transparent;
    background-position-x: 30px;
    padding-right: 10px;
}

.spoiler_changelog {
    background-position-x: 35px;
}

.spoiler_plugin {
    background-position-x: 75px;
}

span.yes,
span.no {
    width: 10px;
    height: 10px;
    display: inline-block;
    margin: 0 auto;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    vertical-align: middle;
}

span.yes {
    background-color: #666;
}

span.no {
    background-color: #dedede;
}

.main-faq-section {
    margin: 70px 0 0;
}

.qa-blocks-wrapper {
    max-width: 1000px;
    margin: 30px auto 0;
}

.qa-blocks {
    display: table-row;
}

.qa-block {
    display: table-cell;
    max-width: calc(50% - 30px);
    margin: 0;
    text-align: left;
    font-size: 16px;
    line-height: 2em;
    position: relative;
}

.qa-questions {
    padding: 0 30px 0 0;
    border-right: 1px solid #D9D9D9;
}

.qa-answers {
    padding: 0 0 0 30px;
}

.qa-block-question,
.qa-block-answer {
    width: 469px;
}

a.qa-question-link {
    color: #333;
    cursor: pointer;
}

.selected a.qa-question-link,
a.qa-question-link:hover {
    color: #5891d0;
}

.qa-block-answer {
    position: absolute;
    top: 0;
    left: 30px;
}

.qa-read-more {
    display: block;
    margin-top: 10px;
}

.faq_block {
    padding: 20px 0 20px 50px;
    border-top: 1px solid #e5e5e5;
}

.faq_block:last-of-type {
    border-bottom: 1px solid #e5e5e5;
}

.faq_block:before {
    content: none;
}

.faq_block dt {
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    position: relative;
}

.faq_block dt:before {
    display: block;
    content: '';
    width: 29px;
    height: 24px;
    background-image: url("img/accordions_sprite.png");
    background-repeat: no-repeat;
    background-position: 0 0;
    position: absolute;
    left: -36px;
    top: -1px;
}

.faq_block dt.expanded_node:before {
    background-position: -34px 0;
}

.faq_block dd {
    display: none;
    font-size: 14px;
    padding-bottom: 0;
}

.fq_expand,
.fq_collapse {
    text-align: right;
}

.fq_expand span,
.fq_collapse span {
    border-bottom: 1px dotted #FF6F3D;
    color: #FF6F3D;
    cursor: pointer;
}

.fq_collapse {
    display: none;
}

.faq_all_list li {
    line-height: 1.5em;
    list-style-type: none;
    margin: 6px 0;
    max-width: 650px;
}

.faq_all_list li a {
    text-decoration: none;
}

.faq_all_list li a:hover {
    text-decoration: underline;
}

a.link_in_heading {
    color: #333;
    text-decoration: none;
}

a.link_in_heading:hover {
    text-decoration: underline;
}

.strikethrough {
    position: relative;
}

.strikethrough:after {
    content: '';
    display: block;
    position: absolute;
    top: 2px;
    left: -4px;
    transform: rotate(-60deg);
    width: 10px;
    height: 10px;
    border-bottom: 1px solid #333;
}

table.parameters_permissions td {
    padding: 5px 10px;
    font-size: 14px;
    vertical-align: top;
}

table.parameters_permissions thead th {
    padding: 25px 10px 15px;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    vertical-align: bottom;
    height: 44px;
}

table.parameters_permissions tbody th {
    padding: 5px 10px;
    font-family: 'Open Sans';
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    vertical-align: top;
}

table.parameters_permissions th:first-child,
table.parameters_permissions td:first-child {
    padding-left: 0;
}

table#result th:first-child,
table#result td:first-child {
    width: 5%;
}

table.parameters_permissions th:first-child,
table.parameters_permissions td:first-child,
table.parameters_permissions td:first-child p,
table.parameters_permissions th:first-child p {
    text-align: right;
}

table.parameters_permissions tr {
    border-bottom: 1px solid #f2f2f2;
}

.table-box {
    overflow-x: auto;
    word-break: normal;
}

.table_wrapper {
    display: table-cell;
    padding: 0 30px 0 0;
}

.table_wrapper:first-of-type {
    min-width: 326px;
}

.table_wrapper:last-of-type {
    padding: 0;
    min-width: 417px;
}

td.paramEdit,
td.paramView,
td.paramTrue,
td.paramFalse {
    cursor: pointer;
}

.active_param p:after,
.inactive_param p:after,
.allowed p:after,
.notallowed p:after {
    content: '';
    width: 10px;
    height: 10px;
    display: block;
    margin: 5px auto 0;
    border-radius: 10px;
    vertical-align: middle;
    transition: background-color .3s;
}

table.parameters_permissions td p,
table.parameters_permissions th p {
    text-align: center;
    font-size: 14px;
}

.active_param p,
.allowed p {
    color: #666;
    transition: color .3s;
}

.inactive_param p,
.notallowed p {
    color: #dedede;
    transition: color .3s;
}

.active_param p:after,
.allowed p:after {
    background-color: #666;
}

.inactive_param p:after,
.notallowed p:after {
    background-color: #dedede;
}

.expanded_node {
    border-top: none;
}

article {
    padding: 0;
    margin-top: 150px;
}

.mobile-content {
    display: none;
}

.left-half {
    float: left;
    width: 50%;
}

.right-half {
    float: right;
    width: 50%;
}

.left-half label,
.right-half label {
    display: inline-block;
    color: #666666;
    width: 33%;
}

.left-half input,
.right-half input {
    border: 1px solid #D0D5DA;
    border-radius: 2px;
    box-sizing: border-box;
    margin: 4px;
    padding: 4px 8px;
    height: 30px;
    width: 57%;
}

#controlsBlock {
    display: flex;
    margin-bottom: 25px;
    word-break: normal;
}

.content-control-radio {
    cursor: pointer;
    width: 28px !important;
    vertical-align: middle !important;
}

.label-radio {
    margin-right: 30px;
    width: auto !important;
}

select {
    box-sizing: border-box;
    padding: 8px 16px;
    width: 100%;
    max-width: 544px;
    height: 48px;
    border: 1px solid #808080;
    border-radius: 3px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    margin-bottom: 25px;
}

select:invalid {
    color: #CCCCCC;
}

.columns-4 {
    column-count: 4;
}

.columns-3 {
    column-count: 3;
}

.columns-2 {
    column-count: 2;
}

.columns-3,
.columns-4 {
    margin: 0;
}

@media screen and (max-width: 1060px) {
    #controlsBlock {
        flex-direction: column;
    }

    .left-half,
    .right-half {
        float: initial;
        width: 100%;
    }

    .left-half label,
    .right-half label {
        width: 100%;
    }

    .left-half input,
    .right-half input {
        margin: 4px 0;
        width: 100%;
    }

    .right-half input.content-control-radio {
        margin: 4px 4px 4px 0;
    }

    .right-half label.label-radio {
        margin-right: 12px;
    }

    .doc-builder-file-types {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin: 0 0 25px;
        height: initial;
        box-shadow: initial;
        text-align: center;
    }
}

@media screen and (max-width: 1024px) {
    :root {
        --header-height: 60px;
    }

    .layout-content {
        max-width: 100%;
        min-width: 0px;
        word-break: break-word;
    }

    .layout-side {
        top: 48px;
        width: 223px;
    }

    .layout-table-side {
        margin-left: -40px;
        padding-left: 40px;
    }

    .layout-table-side::before {
        content: none;
    }

    .layout-table-side.hide {
        border-right: 0;
        padding-left: 0;
    }

    .layout-table-side.hide .layout-side {
        margin-right: 0;
        width: 0;
    }

    .layout-table-side.hide~.layout-table-content {
        padding-left: 40px;
    }

    .layout-table-side.transition .layout-side {
        transition: width 0.3s ease-in, margin-right 0.3s ease-in;
    }

    .layout-table-side.transition {
        transition: padding-left 0.3s ease-in;
    }

    .layout-table-side.transition~.layout-table-content {
        transition: padding-left 0.3s ease-in;
    }

    .home .layout-table-content {
        padding: 48px 0;
    }

    img {
        max-width: 100%;
    }

    .table td:first-child {
        min-width: 100px;
        word-break: break-word;
    }

    li {
        margin: 0 0 0;
    }

    .logo {
        width: 134px;
        min-width: 134px;
        height: 48px;
    }

    .bottommenu {
        padding: 21px 0 0 0;
        text-align: center;
        float: none;
        margin: 0;
    }

    .copyReserved {
        text-align: center;
        float: none;
    }

    .layout-table-footer {
        padding: 24px 0;
    }

    .footer-menu {
        margin-bottom: 24px;
    }

    .footer-item {
        min-width: 170px;
    }

    .footer-item:not(:last-child) {
        margin-right: 32px;
    }

    .footer-item-title {
        font-size: 12px;
        line-height: 16px;
    }

    .footer-info {
        padding-top: 16px;
        text-align: center;
        border-top: 1px solid #616161;
        margin-top: 24px;
    }

    .footer-text {
        font-size: 10px;
        line-height: 12px;
        letter-spacing: initial;
    }

    .copyReserved {
        margin: 8px 0 0 0;
        font-size: 10px;
        line-height: 12px;
    }

    .products-info h1 {
        margin: 0 0 32px;
        font-size: 30px;
        line-height: 40px;
    }

    .search-box-main {
        margin-bottom: 42px;
    }

    .search-box .search-big input {
        padding: 13px 56px;
        font-size: 14px;
        line-height: 21px;
        height: 48px;
    }

    #sidebar-button.show {
        display: block;
    }

    .logo.smallLogo {
        margin-right: 54px;
    }

    .columns-3,
    .columns-4 {
        column-count: 2;
        padding: 8px 0;
    }

    .columns-2 li,
    .columns-3 li,
    .columns-4 li {
        margin-bottom: 10px;
    }

    .table-conversion-matrix-text,
    .table-conversion-matrix-spreadsheet,
    .table-conversion-matrix-presentation {
        display: block;
        width: 90vw;
        overflow-x: scroll;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .try-now-table thead {
        display: none;
    }

    .try-now-table {
        justify-content: space-between;
    }

    .try-now-table td {
        display: inline-table;
        width: 32%;
    }

    .try-now-table tr {
        display: block;
    }

    .try-now-table table td {
        display: flex;
        font-size: 14px;
    }

    .try-now-table td div {
        justify-content: initial;
    }

    .document_structure.textrun_node .document_structure.image_node,
    .document_structure.textrun_node .document_structure.chart_node {
        width: 42%;
    }

    .document_structure.blockcontentcontrol_node {
        width: 78%;
    }
}

@media screen and (max-width: 896px) {
    .table {
        display: none;
    }

    .table td {
        min-width: 0px;
    }

    .contentItem {
        padding: 16px 0;
        border-bottom: 1px solid #ECEEF1;
    }

    .itemRow {
        margin-bottom: 8px;
        word-break: break-word;
    }

    .itemRow .param {
        font-weight: bold;
    }

    .itemRow .infotext {
        color: #afafaf;
        margin-left: 4px;
        display: contents;
    }

    .itemRow object {
        max-width: 100%;
    }

    .mobile-content {
        display: block;
    }

    .video-link {
        float: initial;
        margin: 0 0 20px;
    }

    .document_structure.textrun_node .document_structure.image_node,
    .document_structure.textrun_node .document_structure.chart_node,
    .document_structure.textrun_node .document_structure.shape_node {
        width: 90%;
    }

    .document_structure.blockcontentcontrol_node {
        width: 78%;
    }

    .document_structure.tablecell_node {
        width: 86%;
    }

    .document_structure.inlinecontentcontrol_node .document_structure.textrun_node,
    .document_structure.blockcontentcontrol_node .document_structure.paragraph_node,
    .document_structure.range_node .document_structure.paragraph_node,
    .document_structure.inlinecontentcontrol_node .document_structure.hyperlink_node {
        width: 40%;
    }
}

@media screen and (max-width: 768px) {
    .logo {
        margin-right: 30px;
    }

    .logo.smallLogo {
        margin-right: 32px;
        width: 26px;
        min-width: 26px;
        height: 24px;
        background-image: url("img/logo-small.svg");
        background-repeat: no-repeat;
        background-position: center;
    }

    .hidden-body .close-menu {
        background-image: url("img/close.svg");
        background-repeat: no-repeat;
        cursor: pointer;
        width: 30px;
        height: 30px;
        z-index: 102;
        position: fixed;
        display: block;
        right: 10px;
        top: 57px;
    }

    img {
        max-width: 100%;
    }

    .layout-table {
        min-width: 0px;
    }

    .footer-item {
        min-width: initial;
    }

    .error-table td:first-child {
        min-width: 60px;
    }

    .try-now-table td div {
        display: initial;
    }

    .try-now-table td .button {
        border-radius: 3px 3px 0 0;
        margin: 0;
        width: 64px;
    }

    .try-now-table .button-popap-try {
        border-radius: 0 0 3px 3px;
        width: 64px;
    }

    .try-now-table .button-popap-free {
        border-radius: 0 0 3px 3px;
        width: 64px;
    }

    .document_structure {
        padding: 10px 5px 20px;
    }

    .document_structure.image_node,
    .document_structure.chart_node,
    .document_structure.shape_node,
    .document_structure.tablecell_node,
    .document_structure.tablecell_node .document_structure.chart_node,
    .document_structure.tablecell_node .document_structure.image_node,
    .document_structure.tablecell_node .document_structure.shape_node {
        width: 80%;
    }

    .document_structure.inlinecontentcontrol_node .document_structure.textrun_node,
    .document_structure.blockcontentcontrol_node .document_structure.paragraph_node,
    .document_structure.inlinecontentcontrol_node .document_structure.inlinecontentcontrol_node,
    .document_structure.inlinecontentcontrol_node .document_structure.hyperlink_node,
    .document_structure.blockcontentcontrol_node,
    .document_structure.blockcontentcontrol_node .document_structure.table_node,
    .document_structure.blockcontentcontrol_node .document_structure.blockcontentcontrol_node,
    .document_structure.range_node .document_structure.paragraph_node,
    .document_structure.range_node .document_structure.table_node,
    .document_structure.range_node .document_structure.blockcontentcontrol_node {
        width: 87%;
    }

    .doc-builder-file-types {
        grid-template-columns: repeat(1, 1fr);
        text-align: initial;
    }

    .doc-builder-file-types li.active a {
        border-bottom: none;
    }
}

/********************************
    product versions
********************************/
.pvl_wrapper {
    display: flex;
    margin: 0px 0 24px;
}

.pvl_product {
    display: inline-block;
    color: var(--color-text-duodecimal);
    background-color: var(--color-bg-tetradecimal);
    padding: 4px 8px;
    font-size: 12px;
    line-height: 19px;
    border-radius: 2px 0px 0px 2px;
}

.pvl_version {
    display: inline-block;
    color: #fff;
    background-color: #FF6F3D;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 19px;
    font-weight: 600;
    border-radius: 0px 2px 2px 0px;
    white-space: nowrap;
}

/********************************
    page navigation
********************************/
@media screen and (max-width: 592px) {
    :root {
        --header-height: 48px;
        --footer-height: 174px;
    }

    body {
        margin: 0;
        min-width: 100px;
        padding: 0;
        width: 100%;
    }

    h2 {
        margin: 1em 0;
    }

    .hidden-body {
        overflow-y: hidden;
    }

    .layout-table {
        padding: 0 16px;
    }

    .layout-table-footer {
        padding: 16px 0;
    }

    .layout-footer {
        padding: 0 16px;
    }

    .footer-menu {
        flex-direction: column;
        margin-bottom: 16px;
    }

    .footer-item-list {
        display: none;
    }

    .footer-item {
        padding: 16px 0 0;
        min-height: 40px;
    }

    .footer-item:not(:last-child) {
        margin-right: initial;
    }

    .footer-item-title {
        display: flex;
        justify-content: space-between;
        margin: 0;
        padding-bottom: 8px;
        font-size: 13px;
        line-height: 24px;
        cursor: pointer;
    }

    .footer-item-title.active::after {
        transform: rotate(180deg);
    }

    .footer-item-title::after {
        content: "";
        display: flex;
        margin-left: 20px;
        width: 24px;
        min-width: 24px;
        height: 24px;
        background-image: url("img/arrow-down.svg");
    }

    .footer-item-list {
        padding: 0 0 16px;
    }

    .footer-item-list li a {
        line-height: 20px;
    }

    .footer-info {
        margin-top: 32px;
        border-top: 1px solid #616161;
        padding-top: 24px;
    }

    .bottommenu {
        padding: 16px 0px 0 16px;
        text-align: left;
    }

    .bottommenu ul li {
        margin: 12px 40px 0 0;
    }

    .treeview ul {
        padding: 0;
    }

    .main-page .layout-header {
        padding: 0 16px;
    }

    .layout-table-header {
        border-bottom: none;
        z-index: 101;
    }

    .search-big {
        width: 100%;
        margin: 0;
    }

    .layout-table-content {
        padding: 0 0 32px;
    }

    .home .layout-table-content {
        padding: 42px 0;
    }

    b,
    i,
    em {
        word-break: break-word;
    }

    .fakelink {
        word-break: break-word;
    }

    .video-link {
        float: none;
    }

    #generateButton {
        margin: 10px 0px;
    }

    .builder-run {
        float: none;
    }

    .own-data {
        float: none;
        width: 100%;
    }

    .builder-code {
        width: 100%;
    }

    img {
        width: auto;
        height: auto;
        max-width: 100% !important;
    }

    h2+.copy-code,
    h2+.copy-code:active {
        padding: 10px;
    }

    a,
    a:hover,
    a:visited {
        word-break: break-word;
    }

    .demo-tab-panel a {
        height: 65px;
    }

    ol {
        padding: 8px 0 8px 24px;
        margin: 0;
    }

    ul {
        padding: 8px 0 8px 24px;
        margin: 0;
    }

    .list-buttons {
        padding: 0;
        margin: 0;
    }

    .note,
    note {
        padding: 10px 0px 10px 12px;
    }

    .required-descr {
        padding-top: 16px;
    }

    .header-gray {
        margin-top: 16px;
    }

    .error-table {
        min-width: 0px;
    }

    .error-table td {
        padding: 15px 0;
    }

    .scroll-arrow {
        background: url(img/orange-arrow.svg) no-repeat 50% 50%;
        background-color: #fff;
        width: 56px;
        height: 56px;
        position: absolute;
        right: 0;
        color: transparent;
        box-shadow: 0px 20px 50px rgba(85, 85, 85, 0.15);
        border-radius: 50%;
        border-color: transparent;
        margin-top: 100px;
    }

    .scroll-arrow .hidden {
        display: none;
    }

    .value {
        word-break: break-word;
    }

    .doc-builder-file-types {
        box-shadow: none;
    }

    .docbuilder-script {
        width: 90%;
        width: -moz-available;
        width: -webkit-fill-available;
        width: fill-available;
    }

    .products-info h1 {
        margin: 0 0 24px;
        font-size: 28px;
        line-height: 37px;
    }

    .search-box .search-big input {
        padding: 12px 47px;
        height: 45px;
    }

    .logo {
        width: 116px;
        min-width: 116px;
        height: 32px;
    }

    .logo.smallLogo {
        margin-right: 20px;
    }

    .menu-header {
        display: block;
    }

    .menu-header.active {
        margin-left: auto;
    }

    .menu-header.active~.ham_menu {
        margin-left: 4px;
    }

    .ham_menu {
        display: block;
    }

    .header-try-now {
        display: none;
    }

    .layout-table-side {
        position: fixed;
        top: 48px;
        left: 0;
        display: block;
        margin: 0;
        padding: 0 16px;
        width: 100%;
        height: calc(100vh - 48px);
        background-color: #F5F5F5;
        z-index: 101;
        opacity: 0;
        visibility: hidden;
    }

    .layout-table-side::before {
        content: none;
    }

    .layout-table-side .nav-list {
        overflow-y: auto;
        max-height: calc(100vh - 156px);
        padding-right: 11px;
    }

    .layout-side {
        margin: 0;
        width: 100%;
        transition: initial;
    }

    .layout-table-side.hide {
        padding-left: 16px;
        opacity: 1;
        visibility: visible;
    }

    .layout-table-side.hide::before {
        width: initial;
    }

    .layout-table-side.hide .layout-side {
        width: 100%;
    }

    .layout-table-side.hide~.layout-table-content {
        padding: 0 0 32px;
    }

    .layout-table-side::before {
        transition: initial;
    }

    .layout-table-content {
        transition: initial;
    }

    #sidebar-button.active {
        background-image: url("img/cross.svg");
    }

    .search-box {
        margin-bottom: 16px;
    }

    .search-box input {
        height: 44px;
        background-color: #f9f9f9;
    }

    .columns-3,
    .columns-4 {
        padding: 0;
    }

    .document_structure.image_node,
    .document_structure.chart_node,
    .document_structure.shape_node,
    .document_structure.tablecell_node,
    .document_structure.tablecell_node .document_structure.chart_node,
    .document_structure.tablecell_node .document_structure.image_node,
    .document_structure.tablecell_node .document_structure.shape_node {
        width: 95%;
    }

    .document_structure.inlinecontentcontrol_node .document_structure.textrun_node,
    .document_structure.blockcontentcontrol_node .document_structure.paragraph_node,
    .document_structure.inlinecontentcontrol_node .document_structure.inlinecontentcontrol_node,
    .document_structure.inlinecontentcontrol_node .document_structure.hyperlink_node,
    .document_structure.blockcontentcontrol_node,
    .document_structure.blockcontentcontrol_node .document_structure.table_node,
    .document_structure.blockcontentcontrol_node .document_structure.blockcontentcontrol_node,
    .document_structure.range_node .document_structure.paragraph_node,
    .document_structure.range_node .document_structure.table_node,
    .document_structure.range_node .document_structure.blockcontentcontrol_node {
        width: 90%;
    }

    .document_structure.blockcontentcontrol_node {
        width: 94%;
    }

    .doc-builder-file-types {
        padding: 0;
    }
}

/********************************
    extensions
********************************/

.browser {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 24px 0;
    list-style-type: none;
}

.browser .tab {
    display: flex;
    justify-content: center;
    flex: 0 1 50%;
    border-bottom: 1px solid transparent;
    padding: 8px 12px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: 0.04em;
    color: var(--color-text-tertiary-2);
    text-align: center;
    background-color: transparent;
    cursor: pointer;
}

.browser .tab.active {
    border-color: #FF6F3D;
    color: #FF6F3D;
}

.content {
    display: none;
}

.content.active {
    display: inline;
}

.img-block-2 {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 16px;
    margin: 0;
    margin-top: 32px;
}

.img-block-3 {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 16px;
    margin: 0;
    margin-top: 32px;
}

#replies {
    margin-left: 50px;
}

.add-comment-area {
    outline: none;
    background: rgb(249, 249, 249);
    border-radius: 3px;
    padding: 15px 24px;
    width: 95%;
    height: 100px;
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
}

.add-reply-area {
    outline: none;
    background: rgb(249, 249, 249);
    border-radius: 3px;
    padding: 5px 10px;
    margin-left: 50px;
    width: 95%;
    height: 40px;
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
}


.comment-author {
    color: #666666;
    display: inline-block;
}

.comment-date {
    color: #666666;
    display: inline-block;
    margin-left: 16px;
}

.comment-message {
    color: #333333;
    font-style: italic;
    margin-top: 5px;
}

.comment {
    margin-bottom: 12px;
}

.comment.reply {
    background-image: url("img/Editor/reply.svg");
    background-image: url(img/Editor/reply.svg);
    background-repeat: no-repeat;
    background-position-y: 4px;
    padding-left: 38px;
}

.screenshot {
    outline: 1px solid var(--color-border-octonary);
    outline-offset: -1px;
}

.max-width-832 {
    width: 100%;
    max-width: 832px;
}

.max-width-700 {
    width: 100%;
    max-width: 700px;
}

.max-width-550 {
    width: 100%;
    max-width: 550px;
}

.max-width-416 {
    width: 100%;
    max-width: 416px;
}

.max-width-400 {
    width: 100%;
    max-width: 400px;
}

.max-width-300 {
    width: 100%;
    max-width: 300px;
}

.max-width-260 {
    width: 100%;
    max-width: 260px;
}

#configArea {
    width: 55%;
    display: inline-block;
    float: right;
}

#configArea .hljs {
    max-height: calc(100vh - 236px);
    margin: 8px 0;
    white-space: pre;
}

.screenshot {
    outline: 1px solid #EFEFEF;
    outline-offset: -1px;
}

.nav-item {
    border-bottom: 1px #D9D9D9 solid;
    color: #666666;
    display: inline-block;
    padding: 8px 16px;
    cursor: pointer;
}

.nav-item.active {
    color: #F94A0C;
    border-bottom: 1px #F94A0C solid;
}

.nav-item:hover {
    color: #F94A0C;
    border-bottom: 1px #F94A0C solid;
}


#controlFields {
    padding-right: 32px;
    width: 40%;
    display: inline-block;
    float: left;
}

#controlFields label {
    color: #333333;
    font-size: 12px;
}

#controlFields input {
    color: #333333;
    font-size: 12px;
    background-color: #F9F9F9;
    padding-left: 8px;
}

#controlFields input:focus {
    outline: none;
    border-color: #999999;
    background-color: #ffffff;
}

#controlFields select {
    color: #333333;
    font-size: 12px;
    width: 100%;
    height: 36px;
    border: 1px #E5E5E5 solid;
    background-color: #F9F9F9;
    -webkit-appearance: none;
    background-image: url("img/arrow-select.svg");
    background-position: right;
    background-origin: content-box;
    background-repeat: no-repeat;
    padding-left: 5px;
    padding-right: 5px;
    display: block;
    margin: 0;
}

#controlFields select:focus {
    outline: none;
    border-color: #999999;
}

#controlFields input[type="text"] {
    box-sizing: border-box;
    margin: 0;
    height: 36px;
}

#controlFields input[type="checkbox"] {
    cursor: pointer;
}

#controlFields .half-line {
    width: 49%;
    display: inline-block;
    margin: 3px 0;
}

#controlFields .line {
    margin-top: 16px;
}

#controlFields .line.input_line {
    margin-top: 12px;
}

#controlFields .line.input_line label {
    color: #666666;
    text-transform: uppercase;
}

#controlFields #checkboxes {
    display: none;
    border: 1px #dadada solid;
}

#controlFields .selectBox {
    position: relative;
    cursor: pointer;
}

#controlFields .overSelect {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

#controlFields #checkboxes label {
    display: block;
    cursor: pointer;
}

#controlFields #events label {
    cursor: pointer;
    text-transform: none;
    font-size: 14px;
}

#controlFields .hidden {
    display: none;
}

#controlFields .add-button {
    width: 23px;
    height: 23px;
    border-radius: 3px;
    font-size: 28px;
    line-height: 1px;
    font-weight: 100;
    cursor: pointer;
}

#editorSpace {
    min-height: 550px;
}

#editorSpace iframe {
    position: relative !important;
}

#configArea {
    width: 55%;
    display: inline-block;
    float: right;
}

#configArea .hljs {
    max-height: calc(100vh - 236px);
    margin: 8px 0;
    white-space: pre;
}

.dataItemSpan {
    display: flex;
    margin-top: 16px;
}

.dataItemSpan span {
    -webkit-appearance: none;
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 16px;
    margin-right: 2px;
    margin-left: 0;
    outline: none;
    width: 16px;
}

.dataItemSpan label {
    padding: 0px 5px;
}

.dataItemSpan span:hover,
.dataItemSpan span:active {
    border-color: #666
}

.dataItemSpan input:checked+span {
    background-color: #f9feef;
    border-color: #8bba25;
    background-image: url("img/Editor/green-checkbox.svg");
    background-position: center;
    background-repeat: no-repeat
}

.config_object_holder {
    padding-left: 24px;
}

.config_nested_group {
    margin-bottom: 18px;
}

.config_nested_group div.line {
    margin-top: 6px !important;
}



.select {
    position: relative;
    color: #333333 !important;
    font-size: 12px;
    width: 100%;
    height: 36px;
    background-color: #F9F9F9;
    -webkit-appearance: none;
    background-image: url("img/arrow-select.svg");
    background-position: right;
    background-origin: content-box;
    background-position: calc(100% - 5px);
    background-repeat: no-repeat;
    display: block;
    margin: 0;
}

.new-select {
    border-radius: 4px;
    position: relative;
    border: 1px solid #DCDCDC;
    padding: 10px 8px;
    cursor: pointer;
    user-select: none;
}

.new-select__list {
    max-height: 200px;
    overflow: scroll;
    overflow-x: hidden;
    padding-top: 4px;
    padding-bottom: 4px;
    border-radius: 3px;
    position: absolute;
    top: 41px;
    left: 0;
    border: 1px solid #aaa;
    cursor: pointer;
    box-sizing: border-box;
    width: 100%;
    z-index: 2;
    background: #fff;
    user-select: none;
}

.try-tabs {
    height: 37px;
    margin: 0 0 25px 0;
    display: grid;
    grid-template-columns: auto auto auto auto;
    text-align: center;
    padding-right: 15px;
    max-width: 833px;
}

.try-tabs li {
    display: block;
    float: left;
    /*padding: 0px 12px 0 12px;*/
}

.try-tabs li.active a {
    color: #FF6F3D;
    border-bottom: 2px solid #FF6F3D;
}

.try-tabs a {
    color: #CCC;
    font-size: 13px;
    font-weight: 600;
    line-height: 35px;
    outline: none;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.try-tabs a:hover {
    color: #FF6F3D;
    border-bottom: 2px solid #FFFFFF;
}

/********************************
    Try New
********************************/
.try-new-block {
    height: 100%;
    align-content: center;
    position: relative;
}

#tryNew {
    white-space: nowrap;
}

/*
 *
 * (c) Copyright Ascensio System SIA 2024
 *
 * This program is freeware. You can redistribute it and/or modify it under the terms of the GNU 
 * General Public License (GPL) version 3 as published by the Free Software Foundation (https://www.gnu.org/copyleft/gpl.html). 
 * In accordance with Section 7(a) of the GNU GPL its Section 15 shall be amended to the effect that 
 * Ascensio System SIA expressly excludes the warranty of non-infringement of any third-party rights.
 *
 * THIS PROGRAM IS DISTRIBUTED WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR
 * FITNESS FOR A PARTICULAR PURPOSE. For more details, see GNU GPL at https://www.gnu.org/copyleft/gpl.html
 *
 * You can contact Ascensio System SIA by email at sales@onlyoffice.com
 *
 * The interactive user interfaces in modified source and object code versions of ONLYOFFICE must display 
 * Appropriate Legal Notices, as required under Section 5 of the GNU GPL version 3.
 *
 * Pursuant to Section 7 � 3(b) of the GNU GPL you must retain the original ONLYOFFICE logo which contains 
 * relevant author attributions when distributing the software. If the display of the logo in its graphic 
 * form is not reasonably feasible for technical reasons, you must include the words "Powered by ONLYOFFICE" 
 * in every copy of the program you distribute. 
 * Pursuant to Section 7 � 3(e) we decline to grant you any rights under trademark law for use of our trademarks.
 *
*/


.site-overlay {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 100;
}

.site-overlay.hidden {
    display: none;
}

.pushy {
    margin: 0 auto;
}

.pushy-submenu {
    position: relative;
    margin: 0;
    list-style-type: none;
    min-width: 65px;
}

.pushy-submenu-item {
    padding: 0 15px;
    cursor: pointer;
}

.pushy-submenu.active .pushy-submenu-item {
    color: #FF6F3D;
}

a.pushy-submenu-item {
    color: #CCC;
}

.pushy-submenu-item {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 72px;
    box-sizing: border-box;
    display: inline-flex;
    color: #CCC;
    font-size: 18px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.pushy-submenu-item2 {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 72px;
    box-sizing: border-box;
    display: inline-flex;
    font-size: 11px;
    /* font-weight: 600;  */
    line-height: 11px;
    letter-spacing: 0.48px;
    /* text-decoration: none; */
    white-space: nowrap;
}

.pushy-submenu:hover .pushy-dropdown {
    display: block;
}

.pushy-submenu:hover>.pushy-submenu-item {
    color: #FF6F3D;
}

.pushy-submenu:hover .pushy-dropdown::before {
    animation: 0.3s forwards ease-in-out menuLineLeft;
}

.pushy-submenu:hover .pushy-dropdown::after {
    animation: 0.3s forwards ease-in-out menuLineRight;
}

.pushy-dropdown {
    display: none;
    box-sizing: border-box;
    position: absolute;
    top: 100%;
    left: 50%;
    margin: 0;
    padding: 32px;
    list-style-type: none;
    border: 1px solid var(--color-border-quinary);
    border-radius: 0 0 8px 8px;
    width: max-content;
    min-width: 256px;
    max-width: 300px;
    background-color: var(--color-bg-tertiary);
    box-shadow: var(--color-box-shadow-primary);
    transform: translateX(-50%);
}

.pushy-dropdown:before {
    display: block;
    position: absolute;
    width: 0;
    content: "";
    height: 1px;
    background-color: #FF6F3D;
    transition: width 0.2s ease-in-out;
    left: 50%;
    top: -1px;
}

.pushy-dropdown:after {
    display: block;
    position: absolute;
    width: 0;
    content: "";
    height: 1px;
    background-color: #FF6F3D;
    transition: width 0.2s ease-in-out;
    left: 50%;
    top: -1px;
}

.pushy-dropdown li {
    margin-bottom: 16px;
}

.pushy-dropdown li:last-child {
    margin-bottom: 0;
}

.pushy-dropdown a {
    display: flex;
    align-items: center;
    color: var(--color-text-tertiary-3);
    font-variant-numeric: lining-nums tabular-nums;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
}

.pushy-dropdown a:hover {
    color: #FF6F3D;
}

.pushy-dropdown a::before {
    content: "";
    display: inline-flex;
    margin-right: 12px;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position-x: center;
}

.pushy-dropdown a.plugin::before,
.pushy-dropdown a.pluginssdk::before {
    background-image: url("img/header/plugins.svg");
}

.pushy-dropdown a.docbuilder::before {
    background-image: url("img/header/doc-builder.svg");
}

.pushy-dropdown a.desktop::before {
    background-image: url("img/header/desktop.svg");
}

.pushy-dropdown a.jssdk::before {
    background-image: url("img/header/jssdk.svg");
}

.pushy-dropdown a.backend::before,
.pushy-dropdown a.officeapi::before,
.pushy-dropdown a.workspaceapi::before {
    background-image: url("img/header/api.svg");
}

.pushy-dropdown a.apisystem::before {
    background-image: url("img/header/seld-hosted.svg");
}

.pushy-dropdown a.editors::before {
    background-image: url("img/header/docs-api.svg");
}

.top-nav {
    position: absolute;
    top: 0;
    display: flex;
    margin: 0;
    transform: translateX(-70%);
}

@keyframes menuLineLeft {
    0% {
        width: 0;
        left: 50%;
    }

    100% {
        width: 50%;
        left: 0;
    }
}

@keyframes menuLineRight {
    0% {
        width: 0;
    }

    100% {
        width: 50%;
    }
}

@media screen and (max-width: 1024px) {
    .pushy-submenu-item {
        padding: 0 37px;
        min-height: 60px;
    }

    .top-nav {
        position: relative;
        top: initial;
        left: initial;
        transform: translateX(-15%);
    }
}

@media screen and (max-width: 896px) {
    .pushy-submenu-item {
        padding: 0 24px;
    }
}

@media screen and (max-width: 650px) {
    .pushy-submenu-item {
        padding: 0 16px;
    }
}

@media screen and (max-width: 592px) {
    .pushy {
        position: absolute;
        top: 100%;
        left: 0;
        border-top: 1px solid #444444;
        width: 100%;
        max-width: 100%;
        background-color: var(--color-bg-secondary);
        box-shadow: 0px 7px 15px 0px rgba(85, 85, 85, 0.1);
        opacity: 0;
        visibility: hidden;
    }

    .pushy.pushy-submenu-open {
        opacity: 1;
        visibility: visible;
    }

    .top-nav {
        display: flex;
        flex-direction: column;
        padding: 16px;
        transform: initial;
    }

    .pushy-submenu {
        display: block;
        margin: 0;
        padding: 0;
        cursor: initial;
    }

    .pushy-submenu:not(:last-child) {
        margin-bottom: 16px;
    }

    .pushy-submenu::after {
        display: block;
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 24px;
        height: 24px;
        background-image: url("img/arrow-down.svg");
        background-position: center;
        background-repeat: no-repeat;
    }

    .pushy-submenu:hover .pushy-dropdown {
        display: none;
    }

    .pushy-submenu.show .pushy-dropdown {
        display: block;
    }

    .pushy-submenu.show::after {
        transform: rotate(180deg);
    }

    a.pushy-submenu-item {
        color: var(--color-text-secondary);
    }

    .pushy-submenu-item {
        min-height: initial;
        padding: 0;
        font-size: 13px;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: 0.04em;
        color: var(--color-text-secondary);
        cursor: pointer;
    }

    .pushy-submenu-item2 {
        min-height: initial;
        padding: 0;
        font-size: 13px;
        /* font-weight: 600; */
        line-height: 24px;
        letter-spacing: 0.04em;
        color: var(--color-text-secondary);
        cursor: pointer;
    }

    .pushy-dropdown {
        position: relative;
        top: initial;
        left: initial;
        padding: 0;
        border: none;
        border-radius: initial;
        width: 100%;
        min-width: initial;
        max-width: initial;
        background-color: initial;
        box-shadow: initial;
        transform: initial;
    }

    .pushy-dropdown:before,
    .pushy-dropdown:after {
        content: none;
    }

    .pushy-dropdown a {
        margin-top: 16px;
        font-size: 13px;
        line-height: 20px;
        font-weight: 400;
        color: var(--color-text-quaternary);
    }
}

/*
 *
 * (c) Copyright Ascensio System SIA 2024
 *
 * This program is freeware. You can redistribute it and/or modify it under the terms of the GNU 
 * General Public License (GPL) version 3 as published by the Free Software Foundation (https://www.gnu.org/copyleft/gpl.html). 
 * In accordance with Section 7(a) of the GNU GPL its Section 15 shall be amended to the effect that 
 * Ascensio System SIA expressly excludes the warranty of non-infringement of any third-party rights.
 *
 * THIS PROGRAM IS DISTRIBUTED WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR
 * FITNESS FOR A PARTICULAR PURPOSE. For more details, see GNU GPL at https://www.gnu.org/copyleft/gpl.html
 *
 * You can contact Ascensio System SIA by email at sales@onlyoffice.com
 *
 * The interactive user interfaces in modified source and object code versions of ONLYOFFICE must display 
 * Appropriate Legal Notices, as required under Section 5 of the GNU GPL version 3.
 *
 * Pursuant to Section 7 � 3(b) of the GNU GPL you must retain the original ONLYOFFICE logo which contains 
 * relevant author attributions when distributing the software. If the display of the logo in its graphic 
 * form is not reasonably feasible for technical reasons, you must include the words "Powered by ONLYOFFICE" 
 * in every copy of the program you distribute. 
 * Pursuant to Section 7 � 3(e) we decline to grant you any rights under trademark law for use of our trademarks.
 *
*/


.root:not(.treeview) ul {
    display: none;
}

.treeheader {
    padding: 7px 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0.28px;
    color: var(--color-text-tertiary-3);
    text-transform: uppercase;
}

.treeheader:not(:first-child) {
    margin-top: 16px;
}

ul.side-nav,
.side-nav ul,
.treeview {
    margin: 0;
    list-style: none;
}

.treeview .selected {
    color: #FF6F3D;
    font-weight: 700;
}

.treeview ul {
    list-style: none;
}

.side-nav li,
.treeview li {
    margin: 0;
    padding: 0 0 0 16px;
}

.side-nav>li,
.treeview.root>li {
    font-size: 13px;
}

.treeview:not(.root) li:last-child {
    padding-bottom: 0;
}

.side-nav a,
.treeview a,
.treeview a:visited {
    display: block;
    padding: 5px 0;
    line-height: 22px;
    color: var(--color-text-tertiary-2);
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    text-overflow: ellipsis;
    word-wrap: break-word;
}

.treeview a.selected {
    color: #FF6F3D;
}

.treeview a:hover {
    text-decoration: underline;
}

.treeview .hitarea {
    margin: 11px 0 0 -16px;
    height: 11px;
    width: 11px;
    float: left;
    cursor: pointer;
}

.treeview .collapsable-hitarea {
    background: url("img/sprite.svg") no-repeat -2px -106px transparent;
}

.treeview .expandable-hitarea {
    background: url("img/sprite.svg") no-repeat -2px -86px transparent;
}

@media screen and (max-width: 1024px) {

    .side-nav a,
    .treeview a,
    .treeview a:visited {
        word-wrap: initial;
        white-space: nowrap;
    }
}

@media screen and (max-width: 592px) {

    .button,
    .button:visited,
    .button:active {
        padding: 8px 10px;
    }

    .treeheader {
        padding: 6px 0;
        font-size: 12px;
        font-weight: 600;
        line-height: 16px;
        letter-spacing: 0.05em;
        color: #808080;
    }

    .treeview .selected {
        font-weight: 400;
        max-width: 100%;
    }

    .side-nav:not(:last-child) {
        margin-bottom: 8px;
    }

    .side-nav a,
    .treeview a,
    .treeview a:visited {
        padding: 6px 0;
        font-size: 14px;
        line-height: 22px;
        color: #333333;
    }

    ul.side-nav,
    .treeview {
        padding: 0;
    }

    .side-nav>li ul {
        padding: 0 0 0 19px;
    }

    .side-nav li,
    .treeview li {
        line-height: initial;
        padding: 0;
    }

    .side-nav>li,
    .treeview.root>li {
        font-size: 14px;
        line-height: 22px;
        color: #333333;
    }

    .treeview .hitarea {
        margin: 11px 8px 0 0;
    }
}

/*

Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>

*/
.hljs {
    display: block;
    overflow-x: auto;
    padding: 12px 24px;
    background: var(--color-code-bg);
    color: var(--color-code-text);
}

.hljs-comment,
.hljs-quote,
.hljs-variable {
    color: #008000;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-name {
    color: #00f;
}

.hljs-built_in,
.hljs-keyword {
    color: var(--color-code-keyword);
}

.hljs-tag {
    color: var(--color-code-tag);
}

.hljs-title,
.hljs-section,
.hljs-attribute,
.hljs-template-tag,
.hljs-template-variable,
.hljs-type,
.hljs-addition {
    color: var(--color-code-title);
}

.hljs-literal,
.hljs-string {
    color: var(--color-code-string);
}

.hljs-number {
    color: var(--color-code-text);
}

.hljs-deletion,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-meta {
    color: #2b91af;
}

.hljs-doctag {
    color: #808080;
}

.hljs-attr {
    color: #f00;
}

.hljs-symbol,
.hljs-bullet,
.hljs-link {
    color: #00b0e8;
}


.hljs-emphasis {
    font-style: italic;
}

.hljs-strong {
    font-weight: bold;
}