@import url('/assets/stylesheets/yarkons3-thumbnail.css');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@media (max-width: 767px) {
  .wy-nav-content {
    max-width: 100%;
  }
  .wy-nav-top {
    background-color: #117014;
  }
  div.thumbnail-wrapper a img {
    max-width: 300px;
    max-height: 150px;
  }
  div.rst-content div.embedded-video iframe {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .docs-main {
    flex-direction: column;
  }
  .docs-sidebar {
    width: 100%;
    position: relative;
    top: auto;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 600px) {
  .docs-sidebar {
    padding: .8rem 1rem;
    font-size: 14px;
  }
  .docs-content {
    padding: 1.5rem 1rem;
    font-size: 16px;
  }
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

.rst-content {
  font-family: 'Open Sans', sans-serif;
}

.rst-content h1 {
  font-family: 'Open Sans', sans-serif;
}

.rst-content h2 {
  font-family: 'Open Sans', sans-serif;
}

.rst-content h3 {
  font-family: 'Open Sans', sans-serif;
}

.rst-content h4 {
  font-family: 'Open Sans', sans-serif;
}

.rst-content h5 {
  font-family: 'Open Sans', sans-serif;
}

.rst-content h6 {
  font-family: 'Open Sans', sans-serif;
}

.rst-content code {
  white-space: pre-wrap;
  word-wrap: break-word;
  padding: 2px 5px;
}

.rst-content pre code {
  white-space: pre;
  word-wrap: normal;
  display: block;
  padding: 12px;
  font-size: 14px;
  line-height: 22px;
  background-color: #EEE;
}

a code {
  color: #2980B9;
}

a:hover code {
  color: #3091d1;
}

a:visited code {
  color: #9B59B6;
}

pre .cs {
  font-weight: inherit;
  font-style: inherit;
}

pre .c {
  font-weight: inherit;
  font-style: inherit;
}

.rst-content .no-highlight {
  display: block;
  padding: 0.5em;
  color: #333;
}

.search-results {
  margin-top: 23px;
}

.search-results article {
  border-top: 1px solid #E1E4E5;
  padding-top: 24px;
}

.search-results article:first-child {
  border-top: none;
}

form .search-query {
  width: 100%;
  border-radius: 50px;
  padding: 6px 12px;
  border-color: #D1D4D5;
}

.rst-content .admonition code {
  color: #404040;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.7);
}

.rst-content .section .docutils {
  width: 100%;
  overflow: auto;
  display: block;
  border: none;
}

td {
  border: 1px solid #e1e4e5 !important;
  border-collapse: collapse;
}

th {
  border: 1px solid #e1e4e5 !important;
  border-collapse: collapse;
}

.wy-side-nav-search {
  background-color: #117014;
}

.wy-nav-content {
  max-width: 80%;
}

.wy-side-nav-search img {
  background-color: white;
  border-radius: 10px;
}

.wy-side-nav-search input[type=text] {
  border-radius: 5px;
}

div.rst-content p {
  font-weight: normal;
  margin-bottom: 1em;
}

div.rst-content .section ol {
  font-size: 16px;
  line-height: 22px;
}

div.rst-content .section ul {
  font-size: 16px;
  line-height: 22px;
}

div.rst-content footer {
  margin-top: 1.4em;
}

div.rst-content h1 {
  font-size: 150%;
  font-weight: bold;
  text-transform: capitalize;
}

div.rst-content h2 {
  font-size: 130%;
  font-weight: bold;
  text-transform: capitalize;
}

div.rst-content h3 {
  font-size: 110%;
  font-weight: bold;
  text-transform: capitalize;
}

div.rst-content h4 {
  font-size: 100%;
  font-weight: bold;
}

div.rst-content h5 {
  font-weight: normal;
  margin-bottom: 0.5em;
}

div.rst-content h6 {
  font-weight: normal;
  margin-bottom: 0.5em;
}

.wy-menu-vertical a:active {
    cursor: pointer;
    color: #FFA62F;
    background-color: #4e4a4a;
}

.wy-menu-vertical>ul:first>li.toctree-l1 {
  background-color: red;
  color: yellow;
}

.wy-menu-vertical p.caption {
  padding-left: 10px;
}

.wy-menu-vertical li span.toctree-expand {
  color: #d9d9d9;
}

.wy-menu-vertical li span.toctree-expand:before {
  content: "";
}

.wy-menu-vertical li.current>a span.toctree-expand:before {
  content: "";
}

div.rst-content .thumbnails-row {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

div.rst-content div.important-message {
  border: 1px solid;
  border-radius: 4px;
  padding: 10px;
  margin: 10px 10px 10px 0px;
  line-height: 15pt;
  color: white;
}

div.rst-content div.important-message.error {
  background-color: #FF1411;
  border-color: #CC0000;
}

div.rst-content div.important-message.error i.icons.error {
  display: block;
}

div.rst-content div.important-message.warning {
  background-color: #FFA62F;
  border-color: #CC7300;
}

.rst-content .warning {
  padding: 0px;
  line-height: inherit;
}

div.rst-content div.important-message.warning i.icons.warning {
  display: block;
}

div.rst-content div.important-message.info {
  background-color: #2FA6FF;
  border-color: #0073CC;
}

div.rst-content div.important-message.info i.icons.info {
  display: block;
}

div.rst-content div.important-message i.icons {
  float: right;
  font-size: 20px;
  padding-left: 10px;
  display: none;
  background: none;
}

div.rst-content div.important-message a {
  text-decoration: underline;
}

div.rst-content blockquote {
  margin-left: 0px;
  padding: 10px;
  border-left: 3px solid #117014;
  font-style: italic;
  background-color: lightgoldenrodyellow;
}

div.rst-content blockquote p {
  font-size: 16px;
  margin-bottom: 0px;
}

div.rst-content span.take-note {
  color: white;
  background-color: #d14;
  padding: 0px 4px;
}

div.rst-content table.table-full-width {
  width: 100%;
}

div.rst-content table.table-bordered {
  border: 1 px solid #DDD;
  margin-bottom: 20px;
}

div.rst-content table.table-bordered th {
  padding: 8px;
  vertical-align: top;
  text-align: left;
  font-size: 16px;
}

div.rst-content table.table-bordered td {
  padding: 8px;
  vertical-align: top;
  text-align: left;
  font-size: 16px;
}

div.rst-content table.table-bordered td ul {
  margin-bottom: 0px;
}

div.rst-content table.table-bordered td li {
  margin-left: 18px;
}

div.rst-content table.table-subscription-summary th {
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
}

div.rst-content table.table-subscription-summary td {
  text-align: left;
}

div.rst-content table.table-striped > tbody > tr:nth-child(odd) > td {
  background-color: #F0F0F0;
}

div.rst-content div.embedded-video.center {
  padding: 10px;
  text-align: center;
}

div.rst-content div.embedded-video iframe {
  width: 400px;
  height: 225px;
}

div.rst-content div.section pre {
  position: relative;
}

div.rst-content code {
  font-size: 14px;
}

a.copy-code-button {
  width: 50px;
  visibility: hidden;
  padding: 3px 4px;
  font-size: 12px;
  position: absolute;
  right: 5px;
  top: 5px;
  color: #DDD;
  background-color: #1b901f;
  box-shadow: none;
}

div.rst-content div.section pre:hover a.copy-code-button {
  visibility: visible;
}

.copy-code-button:hover {
  padding: 3px 4px;
  cursor: pointer;
  color: #DDD;
  background-color: #117014;
  box-shadow: none;
}

.copy-code-button:active {
  right: 4px;
  top: 6px;
}

.copy-code-button:focus {
  background-color: #E6E6E6;
  outline: 0;
}

:root {
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Courier New", monospace;
  --color-bg: #ffffff;
  --color-text: #111;
  --color-muted: #555;
  --color-border: #e5e7eb;
  --color-card: #fbfbfb;
  --brand-green: #2e7d32;
  --brand-green-light: #43a047;
  --brand-orange: #f28c38;
  --brand-orange-dark: #d9850f;
  --code-bg: #f4f4f4;
  --code-border: #ddd;
  --radius: 8px;
  --shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
  --max-content-width: 900px;
}

html {
  margin: 0;
  padding: 0;
  width: 100%;
}

a {
  color: var(--brand-green);
  text-decoration: none;
  transition: color .15s linear;
}

a:hover {
  color: var(--brand-orange);
}

a:focus {
  color: var(--brand-orange);
}

.docs-main {
  display: flex;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.docs-sidebar {
  width: 240px;
  position: sticky;
  top: 90px;
  background: var(--color-bg);
  border-right: 1px solid var(--color-border);
  padding: 1.5rem 1rem;
  box-sizing: border-box;
}

.docs-sidebar a {
  display: block;
  font-weight: 500;
  color: var(--color-muted);
  padding: 6px .75rem;
  border-radius: var(--radius);
}

.docs-sidebar a:hover {
  background: var(--brand-green-light);
  color: white;
}

.docs-sidebar a.active {
  background: var(--brand-green-light);
  color: white;
}

.docs-content {
  max-width: var(--max-content-width);
  padding: 2rem 1.25rem;
  margin: auto;
}

.docs-content h1 {
  font-size: 2rem;
}

.docs-content h2 {
  font-size: 1.75rem;
}

.docs-content h3 {
  font-size: 1.5rem;
}

.docs-content h4 {
  font-size: 1.3rem;
}

.docs-content p {
  margin: 1em 0;
  color: var(--color-text);
}

.docs-content ul {
  margin: 1em 0 1em 1.5em;
  padding: 0;
}

.docs-content ol {
  margin: 1em 0 1em 1.5em;
  padding: 0;
}

blockquote {
  border-left: 4px solid var(--brand-green);
  padding: .75em 1em;
  margin: 1.25em 0;
  background: #f8faf7;
  color: var(--color-text);
}

code {
  font-family: var(--font-mono);
  background: var(--code-bg);
  padding: .2rem .4rem;
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--brand-orange-dark);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

table th {
  background: #f5f5f5;
  font-weight: 600;
}

table td {
  border: 1px solid var(--color-border);
  padding: .65em .9em;
  text-align: left;
  font-size: 15px;
}

.docs-content .alert-info {
  border-left: 4px solid var(--brand-orange);
  background: rgba(242,156,56,.08);
  padding: 1em;
  margin: 1.5em 0;
  border-radius: var(--radius);
}

.docs-content h2[id] {
  position: relative;
}

.docs-content h3[id] {
  position: relative;
}

.docs-content h2[id]::before {
  content: "#";
  position: absolute;
  left: -1.3em;
  font-size: .9rem;
  color: var(--color-muted);
  opacity: 0;
  transition: opacity .18s ease;
}

.docs-content h3[id]::before {
  content: "#";
  position: absolute;
  left: -1.3em;
  font-size: .9rem;
  color: var(--color-muted);
  opacity: 0;
  transition: opacity .18s ease;
}

.docs-content h2[id]:hover::before {
  opacity: 1;
}

.docs-content h3[id]:hover::before {
  opacity: 1;
}
