﻿:root {
    --rz-multiselect-checkbox-margin: 0 0 0 0.5rem;
}

.FieldSize{
    min-height:50px;
}
.ActionCol, .ActionCol .rz-cell-data {
    overflow: unset !important;
}

    .ActionCol .dropdown-menu{
        min-width :30px !important;
    }

    .ActionCol .dropdown-menu li{
        display: inline;
    }
        .ActionCol .btn i {
            padding-left:0px
        }


.rz-dropdown-label.rz-inputtext {
/*    display: flex;
    align-items: center;
*/    height: 100%;
    padding-right: 5px;
    white-space: normal;
}
.rz-multiselect-trigger, .rz-dropdown-trigger{
    right:unset;
    left:0;
}


.rz-datatable-edit td, .rz-datatable-edit th {
    padding-left: 3px;
    padding-right: 3px;
}

.rz-dropdown.RP-1 {
    padding: 0.25rem !important;
}
.RP-1 input {
    padding: 0.25rem !important;
}
.RP-1 .mud-input-slot {
    padding: 0.5rem .25rem !important;
}

.rz-dropdown-clear-icon {
    right: unset !important;
    left: calc(var(--rz-dropdown-trigger-icon-width) + 0.5rem) !important;
}

.form-control .dtp-field-grp {
    border: 0 !important;
}
.form-control.bit-dtp {
    padding-top:22px !important;
}
.bit-dtp.bit-dtp-fluent .dtp-field-grp input{
    font-size:unset !important;
}




.form-floating .form-select {
    padding: 0.775rem 1rem 0.775rem 3rem;

}



.rz-datatable-thead th, .rz-grid-table thead th {
    background-color: #6d7ae0;
    color:white;
    padding-top:5px;
    padding-bottom:5px;
}

    .rz-datatable-thead th .rz-column-title-content, .rz-grid-table thead th .rz-column-title-content {
        
        color: white;
    }
    .rz-datatable-thead th.rz-frozen-cell, .rz-grid-table thead th.rz-frozen-cell {
        background-color: #c8ceff;
        color: white;
    }



.rz-data-grid-data tbody tr:nth-of-type(odd) {
    background-color: #f8f7ff;
}
.rz-datatable-data tr > td:first-child, .rz-grid-table tr > td:first-child {
    border-left: var(--rz-grid-frozen-cell-border) !important;
}
.rz-datatable-data tr > td.rz-frozen-cell, .rz-grid-table tr > td.rz-frozen-cell {
    background-color: #c8ceff;
}

.rz-datatable-data tr > td, .rz-grid-table tr > td {
    padding-right: 2px;
    padding-left: 5px;
}

main::-webkit-scrollbar-thumb, span::-webkit-scrollbar-thumb, ol::-webkit-scrollbar-thumb, ul::-webkit-scrollbar-thumb, pre::-webkit-scrollbar-thumb, div::-webkit-scrollbar-thumb {
    background-color: #a5abdb !important;
    border-radius: 10px !important;
}

main:hover::-webkit-scrollbar-thumb, span:hover::-webkit-scrollbar-thumb, ol:hover::-webkit-scrollbar-thumb, ul:hover::-webkit-scrollbar-thumb, pre:hover::-webkit-scrollbar-thumb, div:hover::-webkit-scrollbar-thumb {
    background-color: #6d7ae0 !important;
}

main::-webkit-scrollbar, span::-webkit-scrollbar, ol::-webkit-scrollbar, ul::-webkit-scrollbar, pre::-webkit-scrollbar, div::-webkit-scrollbar {
    height: 1rem !important;
}


/*مشکل فاصله پدینگ در فیلد ها
*/
/*.form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown), .form-floating > .form-control-plaintext:focus, .form-floating > .form-control-plaintext:not(:placeholder-shown) {
    padding-top: 1.7rem !important;
}*/

.rz-spinner input[type='number'], .rz-spinner input[type='text'] {
    padding-top: 8px;
    padding-bottom: 8px;
    font-weight: 500;
}


.form-floating .rz-dropdown-chips.form-control {
    padding-top: 1.5rem !important;
}
.rz-dropdown-chips .rz-chip {
    padding: 0.12rem !important;
}
.rz-dropdown-chips .rz-chip .rz-chip-text {
    padding-right: 1rem !important;
}

/*.rz-form-field-label {
    right: var(--rz-form-field-label-left);
    left: auto;
}

.rz-textbox:focus ~ .rz-form-field-label, .rz-textarea:focus ~ .rz-form-field-label, .rz-spinner:focus-within ~ .rz-form-field-label, .rz-autocomplete:focus-within ~ .rz-form-field-label, .rz-textbox:not(:placeholder-shown) ~ .rz-form-field-label, :not(.rz-state-empty) ~ .rz-form-field-label, .rz-variant-filled .rz-textarea:focus ~ .rz-form-field-label, .rz-variant-flat .rz-textarea:focus ~ .rz-form-field-label, .rz-variant-filled :not(.rz-state-empty) ~ .rz-form-field-label, .rz-variant-flat :not(.rz-state-empty) ~ .rz-form-field-label {
    right: var(--rz-form-field-label-left);
    left: auto;
}*/

.Lvalue {
    height: var(--rz-input-height);
}


.rz-form-field-content .mud-input-control {
    margin-top: 0px !important;
    padding-inline-start: 5px;
}
.rz-form-field-content .mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-text {
        margin-top: 4px;
    }


.rz-form-field-content .mud-icon-button {
    padding: 8px ;
}

.rz-form-field-content .mud-input > input.mud-input-root.mud-input-root-filled, div.mud-input-slot.mud-input-root.mud-input-root-filled {
    padding: 10px 12px 10px;
}


.rz-dropdown-chips .rz-dropdown-chips-wrapper{
    margin-right:0px;
}


.mudgridinput .mud-input-control {
    margin-bottom: 14px;
    margin-top:6px;
/*    min-height: 55px;
*/}

.mudgridinput .mud-input {
    background-color: #fff;
    min-height: 42px
}


.rz-datatable-loading {
    background-color: #ffffff75;
}

.rz-data-row.rz-state-highlight {
    font-weight: 500;
    background-color: #cfffd2 !important;
}
    .rz-data-row.rz-state-highlight td {
        border-top-style: outset;
        border-bottom-style: outset;
        border-width: 3px;
        border-inline-start-style: unset;
        border-inline-end-style: unset;
        mask-border-width:unset;
    }
    .rz-data-row.rz-state-highlight > td:first-child {
        border-inline-start-style: outset;
    }
    .rz-data-row.rz-state-highlight > td:last-child {
        border-inline-end-style: outset;
    }
    .rz-data-row.rz-state-highlight > td:first-child:after {
        content: "\f00c";
        font-family: "Font Awesome 6 Pro";
        font-weight: bolder;
        font-size: large;
        text-decoration: none;
        color: green;
        position: absolute;
        height: 20px;
        width: 20px;
        right: 0;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
    }

.rz-selectable{
    cursor:pointer;
}


/*گرید*/

:root {
    --rz-grid-cell-font-size: 1rem;
}

/*.rz-datatable-thead th .rz-column-title:has(* :not(.rz-badge)), .rz-grid-table thead th .rz-column-title:has(+:not(.rz-badge)) {
    padding: 0 0 0 .1rem !important;
} */
.rz-column-title .rz-column-title-content {
    width: 100%;
} .rz-column-title .rz-sortable-column-icon {
    position: absolute;
    left: 0;
}


  /*خطوط گرید*/
.rz-grid-table.rz-grid-gridlines-both > thead > tr > th.rz-composite-cell:not(:last-child), .rz-grid-table.rz-grid-gridlines-both > tbody > tr > td:not(:last-child), .rz-grid-table.rz-grid-gridlines-both > tfoot > tr > td:not(:last-child) {
    border-inline-end: .5px solid #00000010;
}

/*    .rz-grid-table.rz-grid-gridlines-both > thead > tr > th:not(:last-child)
*/
    .rz-grid-table td.LDir {
        direction: unset;
    }
.rz-grid-table th.LDir {
    direction: unset;
}

    .rz-grid-table th.LDir .rz-column-title-content {
        text-align:center;
    }

.rz-grid-table td.LDir .rz-cell-data/*, .rz-grid-table td.LDir .rz-cell-data .form-control*/ {
    direction: ltr;
}

.rz-datatable-thead th > div:not(.rz-cell-filter), .rz-grid-table thead th > div:not(.rz-cell-filter) {
    padding: .35rem 0;
}

