/* -- Fonts ----------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');

/* -- Page layout ----------------------------------------------------------- */

div.related-pages {
    display: none;
}

/* -- Body styles ----------------------------------------------------------- */

a {
    /*color: rgb(84, 105, 212);*/
    text-decoration: none;
    border-bottom: none;
}

a:hover {
    /*color: rgb(61, 78, 172);*/
    text-decoration: none;
    border-bottom: none;
}

a.reference {
    text-decoration: none;
    border-bottom: none;
}

a.reference:hover {
    text-decoration: none;
    border-bottom: none;
}

.guilabel {
    font-weight: bold;
    background-color: inherit;
    border: none;
    color: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

h4, h5, h6 {
    text-transform: initial;
}

img {
    margin-top: 10px;
    margin-bottom: 15px;
    margin-right: 2px;
    margin-left: 2px;
    vertical-align: top;
}

img.inline {
    margin: 0;
    vertical-align: middle;
}

input {
    line-height: initial;
}

.responsive-toc {
    display: inline-block;
    width: 230px;
    margin-right: 12px;
    margin-bottom: 20px;
    margin-top: 20px;
    /*border: 1px solid #339900;*/
    text-align: center;
    vertical-align: top;
}

ol {
    list-style: none!important;
    counter-reset: steps;
}

ol > li {
    position: relative;
    counter-increment: steps;
    padding-left: 0.8rem;
    margin-top: 10px;
}

*:not(li)>ol > li::before {
    content: counter(steps);
    margin-left: -34px;
    border-radius: 50%;
    background: none;
    position: absolute;
    width: 20px;
    border: 1.6px solid;
    height: 20px;
    text-align: center;
    font-size: 16px;
    line-height: 18px;
    font-weight: 400;
    padding: 1px;
    top:1px
}

ol > li::before {
    content: counter(steps)".";
    margin-left: -20px;
    position: absolute;
    font-size: 18px;
    font-weight: 500;
}

.sidebar-brand-text {
    font-weight: light;
    color: var(--color-foreground-primary);
}

/* Disable scrolling to currently selected item in table of contents. */
*:not(.sidebar-scroll) {
    scroll-behavior: smooth;
}

.sidebar-scroll {
    scroll-behavior: auto !important;
}

/* -- Table styles----------------------------------------------------------- */

table.align-default {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

thead, th.stub {
    background-color: rgba(84, 105, 212, 0.05);
    text-align: left;
}

table.docutils {
    border: 0px;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

table.docutils td, table.docutils th {
    border: 0px;
    /*padding: 0.25em 0.7em;*/
    vertical-align: top;
}

table.docutils tr.row-even {
    border-top: 1px solid rgba(84, 105, 212, 0.15);
}

table.docutils tr.row-odd {
    border-top: 1px solid rgba(84, 105, 212, 0.15);
}

table.layout {
    border: 0px;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

table.layout td, table.layout th {
    border: 0px;
    padding: 4px 5px;
    vertical-align: top;
}

table.layout tr.row-even {
    border-top: 0px;
}

table.layout tr.row-odd {
    border-top: 0px;
}

.table-wrapper {
    padding: 0px;
}

/* -- gif: on hover replace png w/ gif -------------------------------------- */

.gif img:last-child {
    display: none;
}

.gif:hover img:first-child {
    display: none;
}

.gif:hover img:last-child {
    display: inline-block;
}

/* -- Tutorial styles-------------------------------------------------------- */

.start-tutorial-button {
    margin-top: 25px;
}

.start-tutorial-button p {
    margin-top: 8px;
    margin-bottom: 8px;
}

.start-tutorial-button, .start-tutorial-button a, .start-tutorial-button a:hover {
    display: inline-block;
    padding: 2px 25px;
    border-radius: 8px;
    background: #0085FF;
    color: white;
}

.previous-next-buttons {
    margin-top: 35px;
}

.previous-next-buttons p a:first-child span::before {
    line-height: 1.2;
}

.previous-next-buttons p a:first-child span::before {
    content: url('../_static/images/system/next.svg');
    transform: rotate(180deg);
    display: inline-block;
    margin-right: 5px;
}

.previous-next-buttons p a:nth-child(2) span {
    float: right;
    line-height: 1.3;
}

.previous-next-buttons p a:nth-child(2) span::after {
    content: url('../_static/images/system/previous.svg');
    transform: rotate(180deg);
    display: inline-block;
    margin-left: 5px;
}