@font-face {
    font-family: danabold;
    src: url(../webfonts/dana-bold.woff);
}

@font-face {
    font-family: dana;
    src: url(../webfonts/dana-regular.woff);
}

@font-face {
    font-family: Vazir;
    src: url(../webfonts/Vazir-Regular-FD.woff);
}

@font-face {
    font-family: VazirBold;
    src: url(../webfonts/Vazir-Bold-FD.woff);
}

html, body {
    font-family: "Vazir", sans-serif;
    height: 100%;
    min-height: 100vh;
    direction: rtl;
}

body {
    align-items: center;
    background-image: linear-gradient( to right, #9d9d9d, #ffffff);
}

a {
    color: #842029;
    text-decoration: none;
}

    a:hover {
        color: #5a1118;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.uf-form-signin {
    width: 100%;
    max-width: 550px;
    padding: 15px;
    margin: auto;
    background-color: #ffffff70;
    border-radius: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.uf-input-group .input-group-text {
    background: #ffffff70;
    color: #f8f9fa;
    border: unset;
    font-size: 18px;
    padding: 15px;
    width: 50px;
}

.uf-input-group .form-control {
    border: unset;
    border-left: 1px solid #ffffff05;
    font-size: 16px;
    background: #ffffff70;
}

    .uf-input-group .form-control:focus {
        box-shadow: unset;
        background: #ffffff;
    }

.uf-btn-primary {
    background: #842029;
    color: #fff;
}

    .uf-btn-primary:hover {
        background: #5a1118;
        color: #fff;
    }

.uf-form-check-input:checked {
    background-color: #842029;
    border-color: #842029;
}

.uf-social-login .uf-social-ic + .uf-social-ic {
    margin-left: 15px;
}

.uf-social-ic {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .uf-social-ic:hover {
        background: #842029;
    }

        .uf-social-ic:hover i {
            color: #fff;
        }
/*###############################*/
.funkyradio div {
    clear: both;
    overflow: hidden;
}

.funkyradio label {
    width: 100%;
    border-radius: 3px;
    border: 1px solid #D1D3D4;
    font-weight: normal;
}

.funkyradio input[type="radio"]:empty,
.funkyradio input[type="checkbox"]:empty {
    display: none;
}

    .funkyradio input[type="radio"]:empty ~ label,
    .funkyradio input[type="checkbox"]:empty ~ label {
        position: relative;
        line-height: 2.5em;
        text-indent: 3.25em;
        margin-bottom: 0.5em;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-color: #ffffff70;
    }

        .funkyradio input[type="radio"]:empty ~ label:before,
        .funkyradio input[type="checkbox"]:empty ~ label:before {
            position: absolute;
            display: block;
            top: 0;
            bottom: 0;
            right: 0;
            content: '';
            width: 3em;
            background: #D1D3D4;
            border-radius: 3px 0 0 3px;
        }

.funkyradio input[type="radio"]:hover:not(:checked) ~ label,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
    color: #888;
}

    .funkyradio input[type="radio"]:hover:not(:checked) ~ label:before,
    .funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
        content: '\2714';
        text-indent: .9em;
        color: #C2C2C2;
    }

.funkyradio input[type="radio"]:checked ~ label,
.funkyradio input[type="checkbox"]:checked ~ label {
    color: #777;
}

    .funkyradio input[type="radio"]:checked ~ label:before,
    .funkyradio input[type="checkbox"]:checked ~ label:before {
        content: '\2714';
        text-indent: .9em;
        color: #333;
        background-color: #ccc;
    }

.funkyradio input[type="radio"]:focus ~ label:before,
.funkyradio input[type="checkbox"]:focus ~ label:before {
    box-shadow: 0 0 0 3px #999;
}

.funkyradio-default input[type="radio"]:checked ~ label:before,
.funkyradio-default input[type="checkbox"]:checked ~ label:before {
    color: #333;
    background-color: #ccc;
}

.funkyradio-primary input[type="radio"]:checked ~ label:before,
.funkyradio-primary input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #337ab7;
}

.funkyradio-success input[type="radio"]:checked ~ label:before,
.funkyradio-success input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #5cb85c;
}

.funkyradio-danger input[type="radio"]:checked ~ label:before,
.funkyradio-danger input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #d9534f;
}

.funkyradio-warning input[type="radio"]:checked ~ label:before,
.funkyradio-warning input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #f0ad4e;
}

.funkyradio-info input[type="radio"]:checked ~ label:before,
.funkyradio-info input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #5bc0de;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


.form-select {
    -moz-padding-start: 40px !important;
}

.Z_Component {
    padding-top: 10px;
    padding-bottom: 10px;
    border: dotted 2px #bababa;
    margin-top: 10px;
    padding: 3px;
    border-radius: 10px;
    background-color: #0000000e;
}

    .Z_Component input {
        caret-color: red;
    }

.Z_Component_Open {
    background-color: #ebf5e8 !important;
}

    .Z_Component_Open:hover {
        background-color: white !important;
    }

.Z_Component_Save {
    background-color: #fccbcb !important;
}

    .Z_Component_Save:hover {
        background-color: white !important;
    }

.Z_Component_Reload {
    background-color: #ffecbf !important;
}

    .Z_Component_Reload:hover {
        background-color: white !important;
    }

.Z_Component_h30 {
    height: 30px !important;
    min-height: 30px !important;
}

.Z_Componnet_Katex_Label {
    background-color: #c5c5c5;
    padding: 8px;
}

.Z_Componnet_Katex_Title {
    background-color: black;
    color: white;
    padding: 8px;
    width: 200px;
}

.Z_Componnet_Dashboard_Title {
    background-color: black;
    color: white;
    padding: 8px;
}

.Z_Cursor_pointer {
    cursor: pointer;
}

/* ================================= components ================================= */

.component-label {
    position: absolute;
    top: -13px;
    right: 12px;
    z-index: 50;
    padding: 1px 5px;
    background-color: white;
    font-size: 15px;
    font-weight: bold;
    display: inline-block;
    color: #100901;
    border-radius: 11px !important;
    overflow-wrap: break-word;
}

.component-label2 {
    margin-top: -15px;
    margin-bottom: 8px;
    margin-right: 8px;
    padding: 1px 5px;
    background-color: white;
    font-size: 15px;
    font-weight: bold;
    display: inline-block;
    color: #100901;
    border-radius: 11px !important;
    overflow-wrap: break-word;
}

.Z_Component_Radio {
    font-size: 14px;
}

.component-input {
    min-height: 40px;
    font-size: 15px;
    color: #888;
}

.component-radius-right {
    border-radius: 0px 8px 8px 0px !important;
}

.component-radius-left {
    border-radius: 8px 0 0 8px !important;
}

.component-input {
    font-weight: bolder;
}

.component-div-btn {
    padding-top: 5px;
    border-top: 1px solid #dee2e6 !important;
    border-bottom: 1px solid #dee2e6 !important;
}

.pt-1px {
    padding-top: 1px;
}

.border-radius-right-0 {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}


.hover-icon-success {
    /*color: gray;*/
}

    .hover-icon-success:hover {
        color: green;
        transform: rotate(20deg);
        transition: .4s all;
    }


.hover-icon-warning {
    color: gray;
}

    .hover-icon-warning:hover {
        color: #ffc107;
        transform: rotate(20deg);
        transition: .4s all;
    }

.hover-icon-danger {
    color: gray;
    border-radius: 8px 0 0 8px;
}

    .hover-icon-danger:hover {
        color: red;
        transform: rotate(20deg);
        transition: .4s all;
    }

.input-group-text {
    background-color: white !important;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.border-radius-left-0 {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.height-40px {
    height: 40px;
}

.custom-input:focus {
    border: 1px solid #2264e5 !important;
}

.component-input:focus {
    border: 1px solid #2264e5 !important;
}

.form-control:focus {
    box-shadow: none;
}

.custom-form-select {
    background-position: left .75rem center !important;
    font-size: 12px;
    color: #888;
}

.form-select:focus {
    box-shadow: none !important;
}

.custom-checkbox {
    height: 25px;
    width: 43px !important;
}

.form-switch .form-check-input {
    border-color: #2264e5 !important;
}

.form-floating > label {
    right: 0;
}

.form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label, .form-floating > .form-select ~ label {
    transform: scale(.85) translateY(-0.5rem) translateX(1.4rem) !important;
}

.form-floatin-width {
    min-width: 210px;
}
/* ####################################### Z_DateBox Calender #######################################*/
.Z_Calender {
    background-color: #80808085;
    width: 100vw;
    height: 100%;
    position: fixed;
    z-index: 499;
    left: 0;
    top: 0;
    min-height: 100vw;
    min-width: 100vh;
}

.Z_Calender-Body {
    background-color: white;
    width: 300px;
    position: absolute;
    z-index: 500;
    left: 83px;
    top: 40px;
    border-radius: 10px !important;
}

.Z_Calender-Month {
    border-top-left-radius: 5px !important;
    border-top-right-radius: 5px !important;
    background-color: #90a3ff;
    color: #334e68;
    text-align: center;
    font-weight: 500;
    height: 40px;
    padding-top: 7px;
}

.Z_Calender-Weeks {
    height: 30px;
    background-color: #e3edff;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-size: 0.8em;
    color: #829ab1;
    text-align: center;
    padding-top: 5px;
}

.Z_Calender-Grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin: 0.5em;
    gap: 4px;
}

.Z_Calender-Day {
    position: relative;
    border: 0;
    width: 4.5ch;
    height: 4.5ch;
    border-radius: 10%;
    background-color: #c2d3d1;
    color: #486581;
}

    .Z_Calender-Day:hover {
        outline: none;
        background-color: #9ba8a6;
        color: #334e68;
    }

    .Z_Calender-Day:active,
    .Z_Calender-Day.is-selected {
        background-color: #c6f7e2;
        color: #102a43;
    }

/* ####################################### Z_DateBox Calender #######################################*/

/* ================================= end components ================================= */
.Quiz_Title_Big {
    font-size: 25px;
    font-weight: bold;
    border: 1px dashed #888;
    border-radius: 10px;
    background-color: #00000010;
    padding: 5px;
    text-align: center;
    color: #053d0d;
    margin-bottom: 5px;
}

.Quiz_Title_Med {
    font-size: 20px;
    font-weight: bold;
    border: 1px solid #888;
    border-radius: 5px;
    background-color: #ffffff;
    padding: 5px;
    color: #1c4087;
    margin-bottom: 5px;
}

.Quiz_Title_Small {
    font-size: 17px;
    font-weight: bold;
    border: 1px dotted #888;
    border-radius: 5px;
    background-color: #03670455;
    padding: 5px;
    margin-bottom: 5px;
}

.Quiz_Desc {
    font-size: 15px;
    text-align: justify;
    margin: 10px;
}

.Quiz_Paging {
    padding-top: 10px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
}

.Homeradio-Desc {
    border: 1px solid #D1D3D4;
    background-color: #fff3cd92;
    margin-top: -8px;
    margin-bottom: 10px;
    border-radius: 0px 0px 5px 5px;
    padding: 4px;
    font-size: 13px;
}
