/*@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');*/

/*@font-face {
    font-family: 'IRANYekanWeb Light';
    src: url('../fonts/') format('woff');
    font-weight: 400;
    font-style: normal
}*/
@font-face {
    font-family: font;
    src: url('../fonts/iranyekanwebregularfanum.woff');
    font-weight: 400;
    font-style: normal
}
@font-face {
    font-family: fontNastaliq;
    src: url('../fonts/IranNastaliq.eot');
    src: url('../fonts/IranNastaliq.otf');
    src: url('../fonts/IranNastaliq.ttf');
    src: url('../fonts/IranNastaliq.woff');
    src: url('../fonts/IranNastaliq.woff2');
}
html, body {
    direction: rtl;
    font-family: font;
    background-color: ghostwhite;
}    *,
    *::before,
    *::after {
        box-sizing: border-box !important;
    }


@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
a, .btn-link {
    color: #0366d6;
}
.font-green{
    color:green;
}
.font-sky {
    color: lightskyblue;
}
.font-orange {
    color: orange;
}
.font-black {
    color: black;
}
.font-red {
    color: red;
}
.font-yellow {
    color: yellow;
}
.font-blue {
    color: blue;
}
.font-purple {
    color: purple;
}
#interaction-mainmenu-box {
    margin-top: 10px;
    max-height: calc(100% - 220px);
}

@media only screen and (min-width: 120px) and (max-width: 640px) {
    #interaction-mainmenu-box {
        max-height: 200px;
    }
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.content {
    padding-top: 1.1rem;
}



.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}
