* {
  box-sizing: border-box;
  -webkit-text-size-adjust: none;
}

body {
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 16px;
  font-weight: 400;

  letter-spacing: 0.5px;

  color: rgba(0, 0, 0, 0.6);

  margin: 0;
  overflow-x: hidden;
}

main {
  z-index: inherit;
  margin-top: 138px;
  display: block;
  position: relative;
  width: 100vw;
  height: 100%;
}

.header {
  position: fixed;
  top: 0;
  z-index: 99;
  width: 100%;
  background: #ffffff;
  min-height: 60px;
}

.header .row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
@media (max-width: 992px) {
  .header .row {
    justify-content: center;
  }
}
.header .container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.header__top {
  font-family: "Roboto", sans-serif;
  min-height: 48px;
  position: relative;
  z-index: 110;
  display: none;
}
.header__top.show {
  display: block;
}
@media (min-width: 576px) {
  .header .container {
    max-width: 540px;
  }
}

@media (min-width: 992px) {
  .header .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .header .container {
    max-width: 1140px;
  }
}

@media (min-width: 1440px) {
  .header .container {
    max-width: 1380px;
  }
}
.header__logo {
  min-width: 270px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-decoration: none;
}
.header__logo .navixy {
  background-image: url("../img/logo.png");
  background-repeat: no-repeat;
  background-position: 0 50%;
  background-size: 150px;
  padding-left: 145px;

  height: 55px;
}

.header__logo .b2field {
  background-image: url("../img/api_main.png");
  background-repeat: no-repeat;
  background-position: 0 50%;
  background-size: 112px;
  padding-left: 112px;
  height: 48px;
}

.header__logo .developer-hub {
  height: 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.header__logo .developer-hub::after {
  font-size: 14px;
  font-weight: 400;
  margin-top: 5px;
  margin-left: 9px;
  content: "| Developer Portal";
  letter-spacing: 1.3px;
  color: rgba(0, 0, 0, 0.54);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .header__logo {
    min-width: auto;
  }
  .header__logo .navixy,
  .header__logo .b2field {
    background-size: 76px;
    padding-left: 80px;
  }
  .header__logo .developer-hub::after {
    font-size: 14px;
    margin-top: 0;
    margin-left: 0;
  }
}

@media (max-width: 320px) {
  .header__logo .developer-hub::after {
    font-size: 13px;
  }
  .md-header-nav__button[for="__drawer"] {
    margin-left: 0;
  }
  .md-header-nav__button[for="__search"] {
    margin-right: 0;
  }
}

.main-navigation .menu-toggle {
  display: none;
}

@media (max-width: 991px) {
  .header {
    z-index: 999999;
  }
  .main-navigation {
    display: none;
  }
  .main-navigation.open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
  }
  .menu-main-menu-ru-container {
    height: 100%;
  }
  .main-navigation.open .nav-menu {
    height: 100%;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .main-navigation.open .menu-item {
    padding: 0;
    margin: 0 !important;
  }
  .header:after {
    display: none;
  }
}

.main-navigation .nav-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  text-align: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.main-navigation .nav-menu .menu-item:not(:last-child) {
  margin-right: 15px;
}

@media (max-width: 576px) {
  .main-navigation .nav-menu .menu-item:not(:last-child) {
    margin-right: 8px;
  }
}

.main-navigation .nav-menu .menu-item.active a {
  border-bottom: 4px solid #6c7ce1;
  color: #6c7ce1;
}

@media (max-width: 1199px) {
  .main-navigation .nav-menu .menu-item.active a {
    border-top: 0;
  }
}

.main-navigation .nav-menu .menu-item a {
  border-top: 4px solid transparent;
  color: rgba(0, 0, 0, 0.54);
  font-size: 13px;
  text-decoration: none;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
  display: inline-block;
  padding: 13px 10px;
}

@media (max-width: 1199px) {
  .main-navigation .nav-menu .menu-item a {
    border-top: 0;
  }
}

.main-navigation .nav-menu .menu-item a:hover {
  color: #6c7ce1;
  text-decoration: none;
}

@media (max-width: 576px) {
  .main-navigation .nav-menu .menu-item a {
    font-size: 0.8rem;
    padding: 7px 5px;
  }
}

.app-nav.no-badge,
.header:after {
  display: none;
}

.header {
  -webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  z-index: 9999;
}

main {
  margin-top: 0;
  padding-top: 0;
}

h2 a,
h2 a:hover {
  text-decoration: none;
  pointer-events: none;
}

.markdown-section h1 {
  font-size: 60px;
  font-weight: 600;
  letter-spacing: -0.5px;
  text-align: center;
  color: #34495e;
}

.markdown-section h2 {
  font-size: 34px;
  font-weight: 400;
  text-align: center;
  margin: 0 0 1rem 0;
  padding: 1rem 0 0 0;
  margin-bottom: 20px;
  letter-spacing: 0.25px;
  color: rgba(0, 0, 0, 0.87);
}

.markdown-section h3 {
  font-size: 24px;
  font-weight: 400;

  letter-spacing: 0;

  color: rgba(0, 0, 0, 0.87);
}

.markdown-section h4 {
  font-size: 20px;
  font-weight: 500;

  letter-spacing: 0.5px;

  color: rgba(0, 0, 0, 0.87);
}

.markdown-section .subtitle {
  font-size: 16px;
  font-weight: 500;

  letter-spacing: 0.15px;

  color: rgb(0, 0, 0);
}

.markdown-section h1 a {
  font-weight: 600;
}

.markdown-section figure,
.markdown-section ol,
.markdown-section p,
.markdown-section ul {
  font-size: 16px;
  font-weight: 400;

  margin-bottom: 25px;

  letter-spacing: 0.5px;

  color: rgba(0, 0, 0, 0.6);

  line-height: 1.6rem;
  word-spacing: 0.05rem;
}

/* header start */

.app-nav.no-badge {
  position: fixed;
  top: 51px;
  left: -865px;
  z-index: 9999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 500px;
  height: 48px;
  margin: 0 auto;
  padding: 34px 0;
  background: transparent;
  color: #ffffff;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.app-nav {
  right: 0;
  text-align: right;
}

body.close .app-nav.no-badge,
body.close .header {
  -webkit-transform: translateY(-16rem);
  transform: translateY(-16rem);
}

.app-nav.no-badge ul {
  padding-left: 0;
  margin: 0 auto;
  max-width: 1380px;
  width: 100%;
  text-align: left;
}

.app-nav li {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  min-width: 130px;
  margin: 0 0rem;
  padding: 0;

  text-align: center;
  text-transform: uppercase;
}

.app-nav a {
  display: inline-block;

  width: 100%;
  padding: 13px 10px;

  color: #ffffff;
}

.app-nav a:hover {
  color: #ffffff;
}

.app-nav a.active {
  color: #ffffff;
  border-bottom: 0px solid #6c7ce1;
}

.app-nav a.active:after {
  content: "";
  display: block;
  background: #ffffff;
  width: 100%;
  height: 3px;
  position: absolute;
  bottom: -11px;
  left: 0;
}
/* header end */

/* sidebar start */

.app-name {
  position: fixed;
  z-index: 9;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;

  width: 304px;
  height: 48px;
  margin: 0;
}

.sidebar {
  border: none;
  background: transparent;
  z-index: 25;
  padding-top: 0;
}

.sidebar > h1 a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  height: 48px;
  padding-left: 24px;

  -webkit-box-align: center;

  -ms-flex-align: center;

  align-items: center;
}

.app-name-link img {
  width: 112px;
}

.sidebar > h1 a:after {
  font-size: 14px;
  font-weight: 400;

  margin-top: 5px;
  margin-left: 9px;

  content: "| Developer Hub";
  letter-spacing: 1.3px;

  color: rgba(0, 0, 0, 0.54);
}

body.sticky .sidebar {
  position: absolute;
  position: fixed;
  z-index: 9;
}

.sidebar ul {
  margin: 0 20px;
  order: 5;
}

.sidebar ul.app-sub-sidebar {
  order: 1;
}

.sidebar .sidebar-nav {
  position: fixed;

  overflow: auto;

  width: 270px;
  height: 100vh;

  border-right: 1px solid rgba(0, 0, 0, 0.07);

  padding-top: 150px;
}

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

.sidebar .sidebar-nav::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: transparent;
}

.sidebar .sidebar-nav:hover::-webkit-scrollbar-thumb {
  background: hsla(0, 0%, 53%, 0.4);
}

.sidebar .sidebar-nav:hover::-webkit-scrollbar-track {
  background: hsla(0, 0%, 53%, 0.1);
}

.sidebar ul li a {
  margin-bottom: 8px;
}
.sidebar li {
  display: flex;
  flex-direction: column;
}
.sidebar li.active {
  background-color: transparent;
}

.app-sub-sidebar > .app-sub-sidebar {
  margin-left: 0;
}

.app-sub-sidebar > li {
  font-size: 14px;
  font-weight: 400;

  position: relative;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;

  min-height: 40px;
  padding: 0;

  letter-spacing: 0.2px;

  color: rgba(0, 0, 0, 0.87);
  border-left: 2px solid rgba(0, 0, 0, 0.07);

  -webkit-box-align: center;

  -ms-flex-align: center;

  align-items: center;
}

.app-sub-sidebar > li a {
  font-size: 14px;
  line-height: 1.5;

  position: relative;

  display: -webkit-box !important;

  display: -ms-flexbox !important;

  display: flex !important;

  width: 100%;
  min-height: 40px;
  margin-bottom: 0 !important;
  padding-left: 20px;

  color: rgba(0, 0, 0, 0.54);

  -webkit-box-align: center;

  -ms-flex-align: center;

  align-items: center;
}

.app-sub-sidebar > li a:hover::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: -100%;

  display: block;

  width: 45rem;
  height: 100%;

  content: "";

  background: rgba(0, 0, 0, 0.05);
}

.app-sub-sidebar > .section-link--active a::after {
  position: absolute;
  left: -2px;

  display: block;

  width: 2px;
  height: 50%;

  content: "";

  background: #6c7ce1;
}

.app-sub-sidebar > li:first-child::before {
  position: absolute;
  top: 0;
  left: -2px;

  display: block;

  width: 2px;
  height: 10px;

  content: "";

  background: #fff;
}

.app-sub-sidebar > li:last-child::after {
  position: absolute;
  bottom: 0;
  left: -2px;

  display: block;

  width: 2px;
  height: 10px;

  content: "";

  background: #fff;
}

.app-sub-sidebar > li:hover::before,
.app-sub-sidebar > li:hover::after {
  content: "";

  background: #f2f3f2;
}

.app-sub-sidebar .app-sub-sidebar > li::before,
.app-sub-sidebar .app-sub-sidebar > li::after {
  display: none;
}

.sidebar-toggle {
  position: fixed;
  z-index: 999 !important;
  left: 275px;

  width: 35px;

  cursor: pointer;
}

.close .sidebar-toggle {
  left: 0;
}

.sidebar-toggle span {
  background-color: #6c7ce1;
}

.app-name.hide,
.sidebar-nav.hide {
  display: none;
}

/* sidebar end */

/* content start */

body {
  -webkit-text-size-adjust: none;
  box-sizing: border-box;
  height: auto;
  background: url(../images/home/ellipse.svg);
  background-position: 650px 0;
  background-repeat: no-repeat;
  font-family: "Roboto", "Arial", sans-serif;
}

body .markdown-section {
  max-width: 1185px;
  padding: 60px 7px 40px;
  /* background: url(../img/api_main.svg);
  background-position: 93% 13%; */
  background-repeat: no-repeat;
  background-size: 370px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

body .markdown-section img[data-origin="_media/logo.svg"] {
  max-width: 270px;
  margin-bottom: -10px;
}

body .markdown-section p {
  line-height: 24px;
  max-width: 100%;
  letter-spacing: 0.3px;
  text-align: center;
}

body .markdown-section > ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  margin: 0;
  margin-top: 70px;
  padding-left: 0;

  list-style-type: none;

  -webkit-box-pack: justify;

  -ms-flex-pack: justify;

  justify-content: space-between;

  box-sizing: border-box;
}

body .markdown-section > ul > li {
  width: 100%;
  max-width: 370px;

  border-radius: 4px;
  -webkit-box-shadow: 0 16px 24px 0 rgba(0, 0, 0, 0.16);
  box-shadow: 0 16px 24px 0 rgba(0, 0, 0, 0.16);

  background: #ffffff;

  position: relative;

  padding: 100px 20px 0;
  line-height: 1.5;
  margin: 0;
}
body .markdown-section > ul > li > a {
  font-size: 24px;

  display: inline-block;

  width: 100%;
  padding: 19px 23px;

  text-decoration: none;
  text-transform: uppercase;

  color: #fff;
  background: #6c7ce1 url(../img/baseline-arrow-forward.png);
  background-repeat: no-repeat;
  background-position: 95% center;

  border-top-left-radius: 4px;
  border-top-right-radius: 4px;

  position: absolute;
  top: 0;
  left: 0;
}

body .markdown-section ul ul {
  padding: 0 23px 15px;
  list-style-type: none;
  margin: 1.2em 0;
}

body .markdown-section ul ul li:before {
  content: "";
  margin-left: -10px;
  margin-right: 10px;
  position: absolute;
  top: 9px;
  left: -5px;
  width: 7px;
  height: 7px;
  background: #6c7ce1;
  border-radius: 50%;
}

body .markdown-section ul ul li {
  position: relative;
  line-height: 1.5;
  margin: 0;
}

body .markdown-section ul ul li:last-child {
  margin-top: 25px;
  position: static;
}

body .markdown-section ul ul li:last-child:before {
  content: "";
  background: transparent;
}

body .markdown-section ul ul li:last-child a {
  position: absolute;
  left: 20px;
  bottom: 20px;
  word-spacing: 0.05rem;
}

body .markdown-section strong {
  font-size: 20px;

  display: block;

  margin-top: 80px;
}

body .sidebar,
body .sidebar-toggle {
  display: none;
}

body .content {
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  padding-top: 60px;
  transition: left 250ms ease;
}

.content {
  min-height: 100vh;
  position: relative;
  padding-top: 0;
}

.markdown-section {
  max-width: 730px;
  padding: 25px 7px 40px;
  left: -16rem;
}

body .markdown-section {
  left: 0;
}

.markdown-section a {
  color: var(--theme-color, #6c7ce1);
}

/* content end */

@media screen and (max-width: 1170px) {
  body .markdown-section {
    background: none;
    padding-top: 25px;
  }
  body .markdown-section ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  body .markdown-section > ul > li {
    margin: 20px 0 10px;
  }

  .markdown-section {
    left: 0;
  }
  .markdown-section h1 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  body.close .sidebar > h1 {
    display: none;
  }

  .sidebar {
    -webkit-box-shadow: 0 0 9px 2px rgba(0, 0, 0, 0.18);
    box-shadow: 0 0 9px 2px rgba(0, 0, 0, 0.18);
    left: -40rem;
    width: 20rem;
    background: #ffffff;
    z-index: 99 !important;
  }

  body.close .sidebar {
    -webkit-transform: translateX(40rem);
    transform: translateX(40rem);
  }

  .search {
    width: 20rem;
    height: 100vh;
    overflow: auto;
  }

  .search input {
    padding: 0 20px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1170px) {
  .sidebar .sidebar-nav {
    margin-top: 115px;
  }
  .content {
    padding-top: 0;
  }
  .content .markdown-section {
    padding-top: 60px;
  }
  .search {
    left: 520px;
  }
  .markdown-section h1 {
    font-size: 3rem;
  }
}
@media screen and (min-width: 768px) and (max-width: 1170px) {
  .content {
    left: 21rem;
  }
}

@media screen and (max-width: 768px) {
  .content {
    padding: 25px;
    padding-top: 50px;
  }
  .sidebar-toggle {
    left: 0;
  }
  .sidebar .sidebar-nav {
    border-right: 0;
    width: 320px;
  }

  .sidebar > h1 {
    width: 100%;
    left: 0;
    top: 0;
    background: #ffffff;
    -webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  }

  .app-nav.no-badge,
  .sidebar nav {
    display: none;
  }

  .search {
    right: auto;
  }
}

@media screen and (max-width: 1380px) {
  .search {
    max-width: 300px;
  }
  .app-nav.no-badge {
    left: 0;
    margin: 0;
  }
}
