@import url(https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@32/Vazirmatn-font-face.css);

/* Tabs */

.ui.menu {
    font-family: Helvetica;
    min-height: 0;
}

.ui.tabular.menu .item {
    padding: 9px 1em;
}

.ui.menu .item {
    padding: 0;
}

.sphinx-tabs {
    margin-bottom: 1em;
}


/* Table cell */

td .line-block {
    margin-bottom: 0 !important;
}

.rst-content img {
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, .35);
    -moz-box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, .35);
    -webkit-box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, .35);
}

#hello-world img {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

.demo-cb .highlight {
    position: relative;
}

.demo-cb .viewcode-back {
    position: absolute;
    right: 10px;
    top: 4px;
    padding-left: 0px;
    background-color: #f8f8f8;
}

details {
    margin-bottom: 24px;
}


/* Adjust ``.. contents::`` style */

.contents li > p {
    margin-bottom: 0px !important;
}

.contents ul {
    margin-bottom: 8px !important;
}


/* RTL language support */

html[lang="fa"] :is(.wy-menu-vertical a, .document, footer, .wy-side-nav-search input[type=text], .caption, .wy-breadcrumbs :nth-child(2)) {
    direction: rtl;
    font-family: Vazirmatn, sans-serif;
}

html[lang="fa"] :is(.rst-footer-buttons, .highlight) {
    direction: initial;
}

html[lang="fa"] :is(.rst-content .section ol.arabic li, .rst-content .section ol li, .rst-content .toctree-wrapper ol.arabic li, .rst-content .toctree-wrapper ol li, .rst-content section ol.arabic li, .rst-content section ol li, .wy-plain-list-decimal li, article ol li, .rst-content .section ul li, .rst-content .toctree-wrapper ul li, .rst-content section ul li, .wy-plain-list-disc li, article ul li, .rst-content blockquote) {
    margin-left: 0;
    margin-right: 24px;
}

html[lang="fa"] .rst-content .admonition-title:before {
    margin-right: 0;
    margin-left: 4px;
}

html[lang="fa"] :is(.rst-content .code-block-caption .headerlink, .rst-content .eqno .headerlink, .rst-content .toctree-wrapper>p.caption .headerlink, .rst-content dl dt .headerlink, .rst-content h1 .headerlink, .rst-content h2 .headerlink, .rst-content h3 .headerlink, .rst-content h4 .headerlink, .rst-content h5 .headerlink, .rst-content h6 .headerlink, .rst-content p.caption .headerlink, .rst-content p .headerlink, .rst-content table>caption .headerlink) {
    margin-left: 0;
    margin-right: 0.5em;
}

html[lang="fa"] :is(h1, h2, h3, a, .btn) {
    font-family: Vazirmatn, sans-serif;
}

details {
    padding: 8px 12px;
    border: 1px solid #e1e4e5;
}
summary{
    cursor: pointer;
}
summary ~ * {
    margin-top: 10px;
}
