
/* ----- START - Iran Sans Font -------- */
@font-face {
    font-family: IRANSans;
    font-display: swap;
    src: url('/download/attachments/2392238/IRANSans.eot') format("embedded-opentype"),url('/download/attachments/2392238/IRANSans.ttf') format("truetype"),url('/download/attachments/2392238/IRANSans.woff') format("woff"),url('/download/attachments/2392238/IRANSans.woff2') format("woff2")
}

/* ----- START - Iran Sans Bold Font -------- */
@font-face {
    font-family: IRANSansBold;
    font-display: swap;
    src: url('/download/attachments/2392238/IRANSansWeb%28FaNum%29_Medium.eot') format("embedded-opentype"),url('/download/attachments/2392238/IRANSansWeb%28FaNum%29_Medium.ttf') format("truetype"),url('/download/attachments/2392238/IRANSansWeb%28FaNum%29_Medium.woff') format("woff"),url('/download/attachments/2392238/IRANSansWeb%28FaNum%29_Medium.woff2') format("woff2")
}

html, body{
scroll-behavior: smooth;
}

.toc-macro,
.wiki-content {
   font-size: 16px;
}

.toc-macro,
.plugin_pagetree_children_span,
.wiki-content,
.wiki-content p,
.wiki-content table,
.wiki-content tr,
.wiki-content td,
.wiki-content th,
.wiki-content ol,
.wiki-content ul,
.wiki-content li {
 font-family: IRANSans;
}

.wiki-content strong,
.wiki-content p strong,
.wiki-content table strong,
.wiki-content tr strong,
.wiki-content td strong,
.wiki-content th strong,
.wiki-content ol strong,
.wiki-content ul strong,
.wiki-content li  strong {
 font-family: IRANSansBold;
}

/* ----- END - Iran Sans Font -------- */

/* ----- START - Selected sidenav page -------- */
.plugin_pagetree ul.plugin_pagetree_children_list li, .plugin_pagetree ul.plugin_pagetree_children_list li div.plugin_pagetree_children_container {
    overflow: visible;
}
.ia-fixed-sidebar div.plugin_pagetree ul.plugin_pagetree_children_list .plugin_pagetree_children_span {
    overflow: visible;
    position: relative;
}

.plugin_pagetree_children_span.plugin_pagetree_current:before {
    content: '';
    position: absolute;
    pointer-events: none;
    touch-action: none;
    width: calc(100% + 40px);
    height: calc(100% + 8px);
    top: -4px;
    left: -26px;
    right: 0;
    bottom: 0;
    background-color: #0052CC;
    opacity: 0.1;
    border-radius: 6px;
}
/* ----- END - Selected sidenav page -------- */

/* ----- START - sidenav item ellipsis -------- */
.ia-fixed-sidebar div.plugin_pagetree ul.plugin_pagetree_children_list .plugin_pagetree_children_span a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* ----- END - sidenav item ellipsis -------- */

/*---  START Retrospective styles ----*/
#content .panelContent{
    direction: rtl;
    text-align: right;
}
/* ----- END - Retrospective styles -------- */

/*---  START drawio-macro  ----*/
.drawio-macro {
    direction: ltr;
}
/* ----- END - drawio-macro -------- */


/*---  START page meta direction  ----*/
.page-metadata:has(~ .bidi-direction-rtl) {
    direction: rtl;
}
/* ----- END - page meta direction -------- */


/*---  START page spacing  ----*/
#main #content {
    padding: 0;
}

/* Put page title a little down */
#main-header:not(.doctheme-no-override) #title-text {
   padding-top: 24px
}
/* ----- END - page page spacing -------- */


