/**** variables ***/
body {
  --d-maincolor: #3f4273;
  --d-secondcolor: #dfe6ee;
  --d-thirdcolor: #94a3b8;
  --d-fourcolor: #473f92;
  --d-text-color: #222222;
  --d-white-color: #fff;
}

/**** font face ***/
@font-face {
  font-family: "IRANSansX";
  font-style: normal;
  font-weight: 100;
  src: url("./fonts/iransansx/IRANSansX-Thin.eot");
  src: url("./fonts/iransansx/IRANSansX-Thin.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/iransansx/IRANSansX-Thin.woff2") format("woff2"),
    url("./fonts/iransansx/IRANSansX-Thin.woff") format("woff");
}
@font-face {
  font-family: "IRANSansX";
  font-style: normal;
  font-weight: 200;
  src: url("./fonts/iransansx/IRANSansX-UltraLight.eot");
  src: url("./fonts/iransansx/IRANSansX-UltraLight.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/iransansx/IRANSansX-UltraLight.woff2") format("woff2"),
    url("./fonts/iransansx/IRANSansX-UltraLight.woff") format("woff");
}
@font-face {
  font-family: "IRANSansX";
  font-style: normal;
  font-weight: 300;
  src: url("./fonts/iransansx/IRANSansX-Light.eot");
  src: url("./fonts/iransansx/IRANSansX-Light.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/iransansx/IRANSansX-Light.woff2") format("woff2"),
    url("./fonts/iransansx/IRANSansX-Light.woff") format("woff");
}
@font-face {
  font-family: "IRANSansX";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/iransansx/IRANSansX-Regular.eot");
  src: url("./fonts/iransansx/IRANSansX-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/iransansx/IRANSansX-Regular.woff2") format("woff2"),
    url("./fonts/iransansx/IRANSansX-Regular.woff") format("woff");
}
@font-face {
  font-family: "IRANSansX";
  font-style: normal;
  font-weight: 500;
  src: url("./fonts/iransansx/IRANSansX-Medium.eot");
  src: url("./fonts/iransansx/IRANSansX-Medium.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/iransansx/IRANSansX-Medium.woff2") format("woff2"),
    url("./fonts/iransansx/IRANSansX-Medium.woff") format("woff");
}
@font-face {
  font-family: "IRANSansX";
  font-style: normal;
  font-weight: 600;
  src: url("./fonts/iransansx/IRANSansX-DemiBold.eot");
  src: url("./fonts/iransansx/IRANSansX-DemiBold.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/iransansx/IRANSansX-DemiBold.woff2") format("woff2"),
    url("./fonts/iransansx/IRANSansX-DemiBold.woff") format("woff");
}
@font-face {
  font-family: "IRANSansX";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/iransansx/IRANSansX-Bold.eot");
  src: url("./fonts/iransansx/IRANSansX-Bold.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/iransansx/IRANSansX-Bold.woff2") format("woff2"),
    url("./fonts/iransansx/IRANSansX-Bold.woff") format("woff");
}
@font-face {
  font-family: "IRANSansX";
  font-style: normal;
  font-weight: 800;
  src: url("./fonts/iransansx/IRANSansX-ExtraBold.eot");
  src: url("./fonts/iransansx/IRANSansX-ExtraBold.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/iransansx/IRANSansX-ExtraBold.woff2") format("woff2"),
    url("./fonts/iransansx/IRANSansX-ExtraBold.woff") format("woff");
}
@font-face {
  font-family: "IRANSansX";
  font-style: normal;
  font-weight: 900;
  src: url("./fonts/iransansx/IRANSansX-Black.eot");
  src: url("./fonts/iransansx/IRANSansX-Black.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/iransansx/IRANSansX-Black.woff2") format("woff2"),
    url("./fonts/iransansx/IRANSansX-Black.woff") format("woff");
}

/**** general ***/
*,
*:before {
  box-sizing: border-box;
  transition: 0.3s;
  letter-spacing: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  color: var(--d-text-color);
  font-size: 15px;
  font-weight: 400;
  font-family: "IRANSansX";
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: var(--d-text-color);
}

.align-right {
  text-align: right;
}
.align-center {
  text-align: center;
}
.align-left {
  text-align: left;
}

img {
  max-width: 100%;
}
.in-dark-mode {
  display: none;
}

/*** header ***/

header.doc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
  padding: 10px 35px;
  border-bottom: 1px solid #eaeaf5;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--d-white-color);
  z-index: 5;
}
header.doc-header .logo {}
header.doc-header .logo img {
    max-height: 30px;
}
header.doc-header > div {
  display: flex;
  align-items: center;
  position: relative;
  gap: 15px;
  user-select: none;
}

header.doc-header .logo span {
  background: #f3f3fa;
  padding: 2px 12px 3px;
  color: var(--d-maincolor);
  font-size: 11px;
  font-weight: 500;
  border-radius: 5px;
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 15px;
}

header.doc-header .logo span:before {
  content: "";
  height: 30px;
  width: 1px;
  background: var(--d-secondcolor);
  position: absolute;
  right: -15px;
}

header.doc-header .buttons span.dark-mode,
header.doc-header .buttons span.nav-toggle {
  display: flex;
  padding: 0 11px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  height: 38px;
  align-items: center;
  cursor: pointer;
}
header.doc-header .buttons span.dark-mode .sun {
  display: none;
}

header.doc-header .buttons a.btn {
  background: var(--d-maincolor);
  color: var(--d-white-color);
  padding: 0 23px;
  font-size: 12px;
  font-weight: 400;
  border-radius: 8px;
  height: 38px;
  display: flex;
  align-items: center;
}

header.doc-header .buttons a.btn:hover {
  background: var(--d-fourcolor);
}
header.doc-header .buttons span.nav-toggle {
  display: none;
}

/*** main section ***/
.sidebar-menu {
  height: calc(100% - 60px);
  overflow: hidden;
  position: fixed;
  width: 240px;
  background-color: var(--d-white-color);
}

.sidebar-menu.right {
  right: 0;
  top: 60px;
}

.sidebar-menu.right .content {
  width: 100%;
  max-width: 240px;
  margin: 30px 0;
  height: calc(100% - 60px);
  overflow-x: hidden;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0 28px;
}
.sidebar-menu.right .content:before {
  content: "";
  width: 6px;
  height: 100%;
  background: var(--d-secondcolor);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}
/* width */
.sidebar-menu.right .content::-webkit-scrollbar {
  width: 6px;
}

/* Track */
.sidebar-menu.right .content::-webkit-scrollbar-track {
  width: 6px;
  background: var(--d-secondcolor);
}

/* Handle */
.sidebar-menu.right .content::-webkit-scrollbar-thumb {
  background: var(--d-maincolor);
}

.doc-content {
  background-color: var(--d-white-color);
  width: 100%;
  padding: 37px 30px;
  margin: 0 240px;
  color: var(--d-text-color);
  line-height: 2;
}

main.doc-main {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  margin-top: 60px;
}

.sidebar-menu.left {
  left: 0;
  background: #eaeaf5;
  padding: 20px;
  overflow: hidden;
}

.sidebar-menu.left .content {
  height: 100%;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background-image: url(./img/product-bg.png);
  background-position: center;
  background-size: cover;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 35px 15px;
  color: var(--d-white-color);
  text-align: center;
}
.sidebar-menu.left .content:before {
  content: "";
  width: 100%;
  height: 100%;
  background: #000;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.4;
}
.sidebar-menu.left .content > div {
  z-index: 1;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.sidebar-menu.right .content h3 {
  margin: 40px 0 20px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-menu.right .content h3:first-child {
  margin-top: 0;
}

.sidebar-menu.right .content ul {
  margin: 0 12px 0 0;
  padding: 0 20px 0 0;
  border-right: 2px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  user-select: none;
}

.sidebar-menu.right .content ul li {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.sidebar-menu.right .content span.icon {
  border-radius: 8px;
  width: 28px;
  height: 28px;
  background: var(--d-fourcolor);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-menu.right .content ul li.active {
  color: var(--d-fourcolor) !important;
}

.sidebar-menu.right .content ul li.active:before {
  content: "";
  width: 3px;
  height: 100%;
  background: var(--d-fourcolor);
  right: -22px;
  position: absolute;
  border-radius: 5px;
}

.sidebar-menu.right .content ul li:not(.active):hover {
  color: var(--d-fourcolor);
}
.sec-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eaeaf5;
  padding: 18px 0;
  margin-bottom: 30px;
}
.doc-content p {
    line-height: 38px;
    margin: 0 0 30px 0;
    border-radius: 12px;
}

.sec-title h2 {
  color: #191b33;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.sec-title svg {
  width: 30px;
  height: 11px;
}

.doc-content section {
  display: none;
}
.doc-content section.active {
  display: block;
}

.sidebar-menu.left .content .top span {
  font-size: 16px;
  font-weight: 400;
}

.sidebar-menu.left .content .top h3 {
  margin: 5px 0 25px;
  font-size: 20px;
  font-weight: 700;
}

.sidebar-menu.left .content .top a {
  background: var(--d-white-color);
  color: #222;
  font-size: 16px;
  font-weight: 600;
  padding: 8px;
  border-radius: 12px;
}

.sidebar-menu.right.active {
  background: var(--d-white-color);
  right: 0;
}

body .shadow {
  width: 100%;
  height: 100%;
  background: #000;
  position: fixed;
  right: -100%;
  opacity: 0.4;
  display: none;
  top: 60px;
  transition: 0.5s;
}
body.nav-menu-active .shadow {
  right: 0;
  transition: 0.3s;
}
.doc-content section > h1,.doc-content section > h2,.doc-content section > h3,.doc-content section > h4,.doc-content section > h5,.doc-content section > h6 {
  margin: 0 0 30px 0;
  background: #f3f3fa;
  /* width: fit-content; */
  padding: 8px 20px 6px;
  border-radius: 0px;
  border-right: 4px solid #473f92;
  position: relative;
}
.doc-content ul, .doc-content ol {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* font-weight: 500; */
}

.doc-content ul li, .doc-content ul ol {
  display: inline-block;
}

.doc-content ul, .doc-content ol {
    padding: 10px 0;
    margin: 0 0 30px;
    position: relative;
    counter-reset: section;
}
.doc-content ol{
    padding: 20px 0;
}

.doc-content ul li, .doc-content ol li {
    position: relative;
    padding-right: 40px;
    display: block;
    /* align-items: center; */
    /* gap: 10px; */
    /* flex-wrap: wrap; */
    line-height: 2;
}

.doc-content ul li:before {
    content: '';
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDE0IDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0wLjk1OSA0LjEyMDcxSDEzIiBzdHJva2U9IiMyRjM5QkYiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPHBhdGggZD0iTTMuODg1NzQgMS4yMDQ3MUwwLjk1Nzc0MiA0LjEyMDcxTDMuODg1NzQgNy4wMzY3MSIgc3Ryb2tlPSIjMkYzOUJGIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=);
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width: 17px;
    height: 8px;
    /* margin-left: 20px; */
    z-index: 1;
    position: absolute;
    right: 0;
    top: 18px;
}
.doc-content ol li:before {
  counter-increment: section;
  content: counters(section, ".") "";
  display: flex;
  width: 17px;
  height: 16px;
  /* margin-left: 20px; */
  z-index: 1;
  position: absolute;
  right: 3px;
  font-size: 13px;
  text-align: center;
  color: #473f92;
  top: 4px;
}

.doc-content ul:before, .doc-content ol:before {
    content: '';
    width: 20px;
    height: calc( 100% - 10px );
    top: 5px;
    right: 5px;
    border: 2px solid #F3F3FA;
    position: absolute;
    box-sizing: border-box;
    border-radius: 7px;
}

.doc-content ul:after, .doc-content ol:after {
    content: '';
    width: 3px;
    height: calc( 100% - 24px );
    right: 4px;
    top: 12px;
    position: absolute;
    background: #fff;
}

.doc-content a {
  color: var(--d-fourcolor);
}

.doc-content strong {
  font-weight: 500;
  color: var(--d-fourcolor);
}



.doc-change-log-version {
  background-color: #3f4273;
  color: #fff;
  border-radius: 4px;
  height: 30px;
  line-height: 32px;
  padding: 0 15px;
  display: inline-block;
  margin-bottom: 5px;
  margin-top: 50px;
}
.doc-change-log-wrap .doc-change-log-version:first-child {
    margin-top: 0;
}

.doc-change-log-content {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid #f1f5f9;
}

.doc-change-log-content pre {
  font-family: "IRANSansX";
  margin: 0;
  color: #6a6a6a;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
}

.doc-change-log-content pre:nth-of-type(odd) {
  background: #f3f3fa;
}
.cta {
  position: relative;
  height: 150px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
}

.cta > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  /* filter: grayscale(1); */
}

.cta .content {
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 20px 35px;
  z-index: 2;
}

.cta .content .text {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    position: relative;
}

.cta .content .btn a {
  background: var(--d-maincolor);
  color: var(--d-white-color);
  padding: 0 23px;
  font-size: 14px;
  font-weight: 400;
  border-radius: 8px;
  height: 46px;
  display: flex;
  align-items: center;
}

.cta .content .btn {}
.cta .content .btn a:hover {
  background: #fff !important;
  color: #222;
}
.cta .content .text:before {
    content: '';
    background: var(--d-ctacolor);
    width: calc( 100% + 100px);
    height: 800px;
    position: absolute;
    top: -240px;
    right: 0px;
    z-index: -1;
    transform: rotate(25deg);
    border-left: 10px solid #0000004d;
    box-shadow: -10px 0px 50px 10px #000;
    opacity: 0.9;
}
.doc-content span.hightlight {
  background: #f3f3fa;
  color: #3f4273;
  padding: 0 15px;
  font-weight: 500;
  border-radius: 8px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  line-height: 2;
}

.doc-content span.hightlight span.hightlight-arrow {
  background: #473f92;
  color: #fff;
  margin: 0 5px;
  border-radius: 6px;
  display: inline-block;
  height: 20px;
  width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
}
.doc-content p.p-image {
  width: 100%;
  max-width: 100%;
  height: auto;
}
.doc-content p.p-image.center {
    text-align: center;
}

.doc-content p.p-image img {
  border: 1px solid #dfe6ee;
  padding: 10px;
}
.doc-content p.notice {
    border: 4px solid;
    padding: 25px 30px;
    color: #fff;
    border-color: rgb(0 0 0 / 20%);
    background: #000;
}

.doc-content p.notice.red {
    background: #e40022;
}
.doc-content span.note {
  background-color: #3f4273;
  color: #fff;
  padding: 3px 12px;
  border-radius: 50px;
  margin-left: 5px;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .sidebar-menu.left {
    /* display: none; */
    /* width: 0; */
    /* padding: 0; */
    left: -100%;
  }

  .doc-content {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .doc-content {
    margin-right: 0;
  }

  .sidebar-menu.right {
    right: -100%;
    z-index: 1;
    transition: 0.8s;
  }
  header.doc-header .buttons span.nav-toggle {
    display: flex;
  }
  header.doc-header .buttons a.btn {
    display: none;
  }
  header.doc-header {
    padding: 10px 15px;
  }
  header.doc-header .buttons {
    gap: 10px;
  }
  body .shadow {
    display: block;
  }
}

@media (max-width: 500px) {
  .sidebar-menu.right.active {
    width: auto;
    min-width: 300px;
    max-width: 100%;
  }
  .sidebar-menu.right.active .content {
    width: 100%;
    max-width: 100%;
  }
}










/*** dark mode ***/

body.dark-mode header.doc-header .buttons span.dark-mode .sun {
  display: block;
}
body.dark-mode header.doc-header .buttons span.dark-mode .moon {
  display: none;
}

body.dark-mode .in-dark-mode {
  display: block;
}
body.dark-mode .in-light-mode {
  display: none;
}

body.dark-mode {
  background: #101014;
}

body.dark-mode .doc-content {
  background: #101014;
}

body.dark-mode .sidebar-menu.right {
  background: #101014;
}

body.dark-mode header.doc-header {
  background: #000;
  border-color: #18181B;
}

body.dark-mode .sidebar-menu.right .content:before {
background: #1E2329;
}

/* Track */
body.dark-mode .sidebar-menu.right .content::-webkit-scrollbar-track {
background: #1E2329;
}

/* Handle */
body.dark-mode .sidebar-menu.right .content::-webkit-scrollbar-thumb {
background: #3F4273;
}

body.dark-mode header.doc-header .buttons span.dark-mode, body.dark-mode header.doc-header .buttons span.nav-toggle {
  border-color: #1E2329;
  background: #1E2329;
}

body.dark-mode header.doc-header .buttons {
  --d-thirdcolor: #fff;
}

body.dark-mode header.doc-header .logo span {
  background: var(--d-maincolor);
  color: #fff;
}

body.dark-mode .sidebar-menu.right .content ul {
  border-color: #1E1F24;
}

body.dark-mode .sidebar-menu.right .content h3, body.dark-mode .sidebar-menu.right .content ul li {
  color: #fff;
}

body.dark-mode .sec-title {
  border-color: #1E2329;
}

body.dark-mode .sec-title h2 {
  color: #fff;
}

body.dark-mode .sidebar-menu.left {
  background: #1E2329;
}

body.dark-mode header.doc-header .logo span:before {
  background: #1E2329;
}


body.dark-mode {
  --d-text-color: #fff;
}

body.dark-mode .doc-content section > h1, body.dark-mode .doc-content section > h2, body.dark-mode .doc-content section > h3, body.dark-mode .doc-content section > h4, body.dark-mode .doc-content section > h5, body.dark-mode .doc-content section > h6 {
  background: #000;
}

body.dark-mode .doc-content ul:before, body.dark-mode .doc-content ol:before {
  border-color: #1e2329;
}

body.dark-mode .doc-content ul:after, body.dark-mode .doc-content ol:after {
  background: #101014;
}

body.dark-mode .doc-change-log-content {
  background: #000000;
  border-color: #000;
}

body.dark-mode .doc-change-log-content pre:nth-of-type(odd) {
  background: #1e2329;
}

body.dark-mode .doc-change-log-content pre {
  color: #fff;
}

body.dark-mode .doc-content span.hightlight {
  background: #3f4273;
  color: #fff;
}

body.dark-mode .doc-content span.hightlight span.hightlight-arrow {
  background: #101014;
}

body.dark-mode .doc-content p.p-image img {
  border-color: #3f4273;
}
