﻿@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/IRANYekan/eot/iranyekanwebthinfanum.eot');
    src: url('../fonts/IRANYekan/eot/iranyekanwebthinfanum.eot?#iefix') format('embedded-opentype'), url('../fonts/IRANYekan/woff/iranyekanwebthinfanum.woff') format('woff'), url('../fonts/IRANYekan/ttf/iranyekanwebthinfanum.ttf') format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/IRANYekan/eot/iranyekanweblightfanum.eot');
    src: url('../fonts/IRANYekan/eot/iranyekanweblightfanum.eot?#iefix') format('embedded-opentype'), url('../fonts/IRANYekan/woff/iranyekanweblightfanum.woff') format('woff'), url('../fonts/IRANYekan/ttf/iranyekanweblightfanum.ttf') format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/IRANYekan/eot/iranyekanwebregularfanum.eot');
    src: url('../fonts/IRANYekan/eot/iranyekanwebregularfanum.eot?#iefix') format('embedded-opentype'), url('../fonts/IRANYekan/woff/iranyekanwebregularfanum.woff') format('woff'), url('../fonts/IRANYekan/ttf/iranyekanwebregularfanum.ttf') format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/IRANYekan/eot/iranyekanwebmediumfanum.eot');
    src: url('../fonts/IRANYekan/eot/iranyekanwebmediumfanum.eot?#iefix') format('embedded-opentype'), url('../fonts/IRANYekan/woff/iranyekanwebmediumfanum.woff') format('woff'), url('../fonts/IRANYekan/ttf/iranyekanwebmediumfanum.ttf') format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/IRANYekan/eot/iranyekanwebboldfanum.eot');
    src: url('../fonts/IRANYekan/eot/iranyekanwebboldfanum.eot?#iefix') format('embedded-opentype'), url('../fonts/IRANYekan/woff/iranyekanwebboldfanum.woff') format('woff'), url('../fonts/IRANYekan/ttf/iranyekanwebboldfanum.ttf') format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/IRANYekan/eot/iranyekanwebextraboldfanum.eot');
    src: url('../fonts/IRANYekan/eot/iranyekanwebextraboldfanum.eot?#iefix') format('embedded-opentype'), url('../fonts/IRANYekan/woff/iranyekanwebextraboldfanum.woff') format('woff'), url('../fonts/IRANYekan/ttf/iranyekanwebextraboldfanum.ttf') format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/IRANYekan/eot/iranyekanwebblackfanum.eot');
    src: url('../fonts/IRANYekan/eot/iranyekanwebblackfanum.eot?#iefix') format('embedded-opentype'), url('../fonts/IRANYekan/woff/iranyekanwebblackfanum.woff') format('woff'), url('../fonts/IRANYekan/ttf/iranyekanwebblackfanum.ttf') format('truetype');
}

* {
    font-family: 'iranyekan';
    direction: rtl;
}

a {
    text-decoration: none;
}

html::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.focus-none:focus {
    outline: 0;
    box-shadow: none !important;
}

.box-shadow-none {
    box-shadow: none !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-group-append, .input-group-prepend {
    display: -ms-flexbox;
    display: flex;
}

input[type=number] {
    -moz-appearance: textfield;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

h1, .h1 {
    font-size: 2rem;
}

h2, .h2 {
    font-size: 1.75rem;
}

h3, .h3 {
    font-size: 1.5rem;
}

h4, .h4 {
    font-size: 1.25rem;
}

h5, .h5 {
    font-size: 1.1rem;
}

h6, .h6 {
    font-size: 1rem;
}

.f10 {
    font-size: 10px;
}

.f11 {
    font-size: 11px;
}

.f12 {
    font-size: 12px;
}

.f13 {
    font-size: 13px;
}

.f14 {
    font-size: 14px;
}

.f15 {
    font-size: 15px;
}

.pointer {
    cursor: pointer
}

.form-label {
    position: relative;
    font-weight: bold
}

.required {
    color: red;
    position: absolute;
    top: -5px;
    left: -11px;
    font-size: 15px;
}

.ltr {
    direction: ltr
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
    border-color: #1266f1;
    box-shadow: inset 0 0 0 1px #1266f1;
}

/* ------------------------ */

.loginPage {
    background: url('../images/loginBg.jpg');
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100vh;
    justify-content: center;
}

    .loginPage .title {
        margin: 8px 0 0 0;
    }

        .loginPage .title img {
            width: 30%;
            margin: auto;
            display: block;
            margin-bottom: 20px;
        }

        .loginPage .title span {
            font-weight: 800;
            font-size: 22px;
            text-align: center;
            display: block;
        }

/* ------------------------ */

footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 14px;
}

/* ------------------------ */

#pageAlert {
    position: fixed;
    z-index: 9999;
}

    #pageAlert span {
        min-width: 300px;
        text-align: center;
        padding: 16px;
        color: #fff;
        border-radius: 10px;
        position: relative;
        display: block;
        margin-bottom: 5px;
    }

        #pageAlert span.danger {
            background-color: #dc3545;
        }

        #pageAlert span.success {
            background-color: #157347;
        }

            #pageAlert span.danger::after,
            #pageAlert span.success::after {
                background: #fff;
                bottom: 2px;
                position: absolute;
                right: 4px;
                left: 0px;
                content: '';
                height: 2px;
                z-index: 2;
                border-radius: 5px;
                animation: runProgress 2.5s linear forwards;
            }

@keyframes runProgress {
    0% {
        left: 0;
    }

    100% {
        left: 100%;
    }
}


/* ------------------------ */

@media only screen and (max-width: 768px) {

    #pageAlert {
        right: 10px;
        bottom: 0;
        left: 10px;
    }
}

@media only screen and (min-width: 768px) {

    #pageAlert {
        right: 30px;
        bottom: 40px;
    }
}
