@import "font.css";



/* custom changes */
body, h1, h2, h3, h4, h5, h6, legend {
  font-family: IRANSans !important;
}

p, .wy-plain-list-disc, .rst-content .section ul, .rst-content .toctree-wrapper ul, article ul {
    line-height: 30px;
}

.wy-body-for-nav {
    background: right repeat-y #fcfcfc;
}

.wy-nav-content {
    max-width: 1000px;
}

.rst-content blockquote {
    margin-right: 20px;
    margin-left: 0;
    border-right: 5px solid #ccc;
    padding-right: 15px;
}

@media screen and (max-width: 768px) {
	html[lang=fa] .wy-nav-side {
	    right: -10000px;
	}
}
/* end custom changes */





/**
 * international read-the-docs rtl
 *
 * https://docs.dash.org/ar/latest/
 * https://github.com/dashpay/docs
 */
.wy-breadcrumbs select.wy-breadcrumbs-aside {
    float: right;
}

html[lang=fa] {
    direction: rtl;
}

/* Preformatted and code formatted segments LTR */
html[lang=fa] pre {
    direction: ltr;
    text-align: left
}

html[lang=fa] code {
    unicode-bidi: bidi-override;
    direction: ltr;
    text-align: left
}

/* Force floated images float opposite in Arabic */
html[lang=fa] .rst-content .align-right {
    float: left;
}

/* RTD navigation changes for Arabic */
html[lang=fa] .wy-breadcrumbs select.wy-breadcrumbs-aside {
    float: left;
}

html[lang=fa] .wy-nav-side, html[lang=fa] .rst-versions {
    right:0;
}

html[lang=fa] .wy-nav-content-wrap {
    margin-right: 300px;
    margin-left: 0;
}

@media screen and (max-width: 768px) {
    html[lang=fa] .wy-nav-side {
        right:-300px;
    }
    html[lang=fa] .wy-nav-side.shift {
        right:0;
    }
    html[lang=fa] .wy-nav-content-wrap {
        margin-right:0;
    }
    html[lang=fa] .wy-nav-content-wrap.shift {
        right:85%;
    }
}

html[lang=fa] .wy-nav-top i {
    float:right;
}

html[lang=fa] .wy-menu-vertical li span.toctree-expand {
    float:none;
    margin-right: -1.2em;
    margin-left: 0;
    padding-left: .4em;
}

html[lang=fa] .wy-breadcrumbs li.wy-breadcrumbs-aside {
    float:left;
}

html[lang=fa] .wy-menu-vertical li.current>a span.toctree-expand {
    display:inline-block;
}

html[lang=fa] .wy-plain-list-disc li, .rst-content .section ul li, .rst-content .toctree-wrapper ul li, article ul li {
    margin-right: 24px;
    margin-left: 0;
}

html[lang=fa] .wy-plain-list-decimal li, .rst-content .section ol li, .rst-content ol.arabic li, article ol li {
    margin-right: 24px;
}
/* end international read-the-docs rtl */
