﻿/*اصلاح نمایش پیشرفت در سبد خرید step*/
.ant-steps-item-title::after {
    left: auto !important;
    right: 100% !important;
}

/* برای حذف ستاره کنار فیلدهای اجباری فقط باید کلاس هاید استار را داد */
/*<FormItem Label="عنوان" Class="hide-star" > مثال*/
.hide-star .ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before {
    display: none !important;
}

/* ستاره قرمز برای فیلدهای اجباری */
/*<FormItem Label="عنوان" Class="hide-star red-star ant-row" > مثال*/
.red-star:before {
    display: inline-block;
    margin-right: -8px;
    color: #ff4d4f;
    font-size: 14px;
    font-family: SimSun,sans-serif;
    line-height: 1.5;
    content: '*';
    font-weight: bold;
}

.ant-form-item-row {
    width: 100% !important;
}
/* ستاره قرمز برای فیلدهای اجباری */

/* برای قراگیری لیبل ها در سمت راست برای وب و موبایل */
.ant-form-rtl .ant-form-item-label {
    text-align: right !important;
}

/* تعیین عرض تکستهای دریافت اعداد */
.ant-input-number {
    width: 100% !important;
}

/* دکمه بستن مودال سمت چپ */
.ant-modal-close {
    right: auto !important;
    left: 0 !important;
}

/* رنگ دکمه خالی کردن سلکت */
.ant-select-clear span {
    color: red;
}

/* تغییر رنگ کولپس همرنگ هدر جداول */
.ant-collapse {
    background-color: #F0F0F0 !important;
    border: none !important;
}

/* دکمه های کانفیرم سمت چپ */
.ant-modal-confirm .ant-modal-confirm-btns {
    float: left !important;
}

/* دکمه های پایین مودال سمت چپ */
.ant-modal-footer {
    text-align: left !important;
}

/* Ant استایل تگ ها در */
.site-tag-plus {
    background: #fff;
    border-style: dashed;
}

/*تغییر مکان دکمه های کانفیرم*/
.ant-modal-confirm-btns {
    direction: ltr;
}

/* اصلاح دکمه های فلش دار پیجر */
button, input, optgroup, select, textarea {
    line-height: normal !important;
}

/*حذف فوتر تام پیکر */
/*.ant-picker-footer {
    display: none;
}*/
.ant-picker-footer {
    padding: 10px !important;
}

.search-text-width {
    min-width: 200px !important;
    margin-bottom: 10px !important;
}

.c-link {
    color: white !important;
    margin: 0.1em !important;
    height: 30px;
}

/* رنگ دکمه های آبی */
.ant-btn-primary {
    background: #313852;
}

    .ant-btn-primary:hover {
        background: #454C66;
    }
/* رنگ لینک ها */
.ant-btn-link {
    color: #1565c0;
}

    .ant-btn-link:hover {
        color: #0047A2;
    }

/* رنگ دارک */
#main .main-content {
    background-color: #F1F2F7;
}

/* رنگ تب های انتخاب شده */
.nav-pills .nav-link.active {
    background: #313852;
}

body.dark .nav a.nav-link:not(.active) {
    color: #313852;
}

    body.dark .nav a.nav-link:not(.active):hover {
        color: #F1F2F7;
    }

body.dark a:not(.btn):hover {
    color: #F1F2F7;
}

.ant-modal-body {
    background-color: #F1F2F7;
}

.ant-table thead th {
    background-color: #313852 !important;
    color: white !important;
}

body.dark a:not(.btn):hover {
    color: #252525;
}

/* رنگ لینک نام کاربر */
.nav-link dropdown-toggle a {
    color: #fbf5f5;
}

body.dark .dropdown-menu .dropdown-item {
    color: #fbf5f5;
}

#main {
    min-height: 100%;
}

body.dark a:not(.btn) {
    color: #252525;
}


.header ul.navbar-nav li.nav-item a.nav-link {
    color: #ECECEF;
}

body.dark .dropdown-menu .dropdown-item:hover {
    color: white;
}

label {
    color: #707173;
}


.xcore-page-title {
    color: #313852 !important;
}

.navigation-divider {
    color: #fff !important;
}

.login-box input {
    padding-top: 0px !important;
}

.login-box label {
    margin-bottom: 0px !important;
    background-color: transparent !important;
}

.xcore-modal-footer {
    text-align: left !important;
}

/*دیت پیکر فارسی*/
.month-grid-box > .header {
    padding: 0 !important;
    height: 30px !important;
}

.clear-btn.right {
    right: auto !important;
    left: 0 !important;
}

#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;
    }

.nav-pills .nav-link {
    margin: 3px !important;
}

.ant-result-subtitle {
    color: blue !important;
}


.login-box {
    border-right: 0px !important;
    padding: 10px !important;
}

.navigation-divider {
    color: #e8eab5 !important;
}

body.dark .navigation .navigation-menu-body ul li a.active {
    color: #ffa8c0;
}

/*فاصله سطرهای جدول*/
.ant-table tfoot > tr > td, .ant-table tfoot > tr > th, .ant-table-tbody > tr > td, .ant-table-thead > tr > th {
    padding: 8px 8px !important;
}

.dropdown-item {
    color: white !important;
}

.ant-col-8 {
    max-width: 20% !important;
}

.ant-col-16 {
    max-width: 80% !important;
}

.userTask-id-width{
    width:90px !important;
}
.userTask-result-width {
    width:90px !important;
}
.userTask-result-command {
    width: 100px !important;
}

/*مخفی کردن دکمه امروز دیت پیکر*/
.pwt-btn-today, .pwt-btn-calendar {
    visibility: hidden !important;
}
