﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: 'myfont';
    src: url('fonts/Vazir.woff2');
    font-weight: normal;
    font-style: normal;
    font-size: 0.9em;
}

@font-face {
    font-family: 'myfont';
    src: url('fonts/Vazir-Bold.woff2');
    font-weight: bold;
    font-style: normal;
    font-size: 0.9em;
}

@font-face {
    font-family: "farsiDigits";
    src: url('fonts/Vazir-FD-WOL.woff2');
    font-weight: normal;
    font-style: normal;
    font-size: 0.9em;
}

@font-face {
    font-family: "farsiDigits";
    src: url('fonts/Vazir-Bold-FD-WOL.woff2');
    font-weight: bold;
    font-style: normal;
    font-size: 0.9em;
}

html, body {
    font-family: 'farsiDigits', 'myfont', 'Tahoma', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-align:justify;
    padding: 2px;
}

.mud-button,
.mud-typography-h5,
.mud-typography-h4,
.mud-typography-h3,
.mud-typography-h2,
.mud-typography-h1,
.mud-typography
{
    font-family: inherit;
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "بارگذاری");
    }
