:root {
    --body-font: "info" !important;
    --mud-typography-body1-family: "info" !important;
    --mud-typography-body2-family: "info" !important;
}

@font-face {
    font-family: 'info';
    font-style: normal;
    font-weight: 400;
    src: url(../font/PFDinTextUniversal-Regular.woff2) format('woff2'), url(../font/PFDinTextUniversal-ExtraThin.woff2) format('woff2'), url(../font/PFDinTextUniversal-ExtraBlack.woff2) format('woff2'), url(../font/PFDinTextUniversal-Light.woff2) format('woff2'), url(../font/PFDinTextUniversal-Bold.woff2) format('woff2');
}

body, .ms-Fabric {
    font-family: "info";
}

button {
    font-family: "info";
}

fluent-button,
fluent-text-field,
fluent-select,
fluent-select *,
fluent-switch,
fluent-option,
.selected-value {
    font-family: "info" !important;
}

.mud-typography-body1,
.info-font {
    font-family: "info" !important;
}

.label.label {
    font-family: "info" !important;
}

.toast-title {
    font-family: "info" !important;
}

.lock-btn {
    right: auto;
    left: -6.5rem;
}

    .lock-btn:hover {
        left: -2.5rem;
        right: auto;
    }

.sidebar-toggle-btn {
    transform: rotate(180deg);
}

.sidebar-toggle-btn-rotate {
    transform: rotate(0deg);
}

.ms-Icon--Send,
.ms-Icon--ChevronLeftMed, .ms-Icon--ChevronLeftSmall,
.ms-Icon--ChevronRightMed, .ms-Icon--ChevronRightSmall {
    transform: rotate(180deg);
}

.help-btn {
    left: 0;
    right: auto;
    transform: rotate(90deg);
}

.mud-input > input.mud-input-root, div.mud-input-slot.mud-input-root {
    padding: 5px 9px !important;
}

.mud-select .mud-select-input .mud-input-adornment-end {
    margin-inline-start: 5px !important;
}

fluent-select fluent-option {
    padding-right: .5rem;
}

.mud-list-item-gutters p {
    font-size: 14px !important;
}

.dropdown-menu li a.dropdown-item.active::before {
    left: auto;
    right: 0;
}

fluent-select fluent-option.selected::before {
    left: auto !important;
    right: 0 !important;
}

fluent-accordion ::part(button) {
    text-align: right !important;
}

#toast-container .toast-title {
    font-family: "info";
}

.ms-icon {
    font-family: 'FabricMDL2Icons' !important;
}

.ltr-text fluent-select::part(selected-value) {
    direction: ltr !important;
    text-align: end;
}

.ltr-text fluent-option {
    direction: ltr !important;
}

.ltr-text fluent-select fluent-option.selected::before {
    right: auto !important;
    left: 0 !important;
}

.ltr-text .mud-input-slot {
    text-align: left !important;
}

fluent-text-field.ltr-text,
.mud-input-control.ltr-text,
.custom-input.ltr-text {
    direction: ltr;
    text-align: right;
}

    fluent-text-field.ltr-text::part(control),
    .mud-input-control.ltr-text input,
    .custom-input.ltr-text input {
        text-align: right;
        padding-inline-start: 9px !important;
        padding-inline-end: 9px !important;
    }

.mud-rtl-provider ~ .mud-list {
    direction: ltr !important;
}

.add-to-fav-wrapper {
    right: auto !important;
    left: -6.5rem !important;
}

    .add-to-fav-wrapper.active {
        left: -9.25rem !important;
    }

    .add-to-fav-wrapper:hover {
        left: -2.25rem !important;
    }

.custom-input .custom-slot.end {
    left: 6.5px;
    right: auto;
}

.custom-input .custom-slot.start {
    right: 6.5px;
    left: auto;
}

.sidebar-toggle-btn ~ div > div.rounded-pill {
    transform: rotate(180deg) !important;
    margin-inline-end: 0 !important;
}

    .sidebar-toggle-btn ~ div > div.rounded-pill fluent-button i {
        transform: rotate(0) !important;
    }

input[type=date],
input[type=time],
input[type=datetime-local] {
    width: 100% !important;
    /* text-align: left !important; */
}

.custom-input .custom-slot.end ~ input {
    padding: 5px 9px 4px 32px !important;
}

.customer-header {
    /* border-bottom: ; */
}

.brand-img {
    object-position: right !important;
}

.cart-btn {
    transform: rotate(90deg) scale(1.35) !important;
    right: auto !important;
    left: -1.25rem !important;
}

    .cart-btn.krd {
        left: -0.25rem !important;
    }

.custom-input .custom-slot.start ~ .custom-slot.end ~ input {
    padding: 3px 32px 4px 32px !important;
}

td.rtl-text.text-start {
    text-align: end !important;
}

.fit-start {
    object-position: right;
}

.fit-end {
    object-position: left;
}

.toast-top-right {
    right: auto;
    left: 12px;
}

fluent-horizontal-scroll::part(scroll-action-next) {
    /* transform: translate(50%, -50%) scaleY(-1) rotate(180deg) !important; */
    /* right: auto !important; */
    /* left: 0 !important; */
}

fluent-horizontal-scroll::part(scroll-action-previous) {
    /* transform: translate(50%, -50%) scaleY(-1) rotate(180deg) !important; */
    /* right: 0 !important; */
    /* left: auto !important; */
}

fluent-horizontal-scroll::part(scroll-next) {
    left: 0 !important;
    right: auto !important;
    transform: rotate(180deg);
}

fluent-horizontal-scroll::part(scroll-prev) {
    left: auto !important;
    right: 0 !important;
    transform: rotate(180deg);
}

/* hrtree */

.tree ul:before,
.tree code:before,
.tree span:before {
    left: unset;
    right: 50%;
}


.tree li:first-child:before {
    right: 50% !important;
    left: 0 !important;
}

.tree li:last-child:before {
    left: 50% !important;
    right: 0 !important;
}

.tree li:last-child:first-child:before {
    right: 50% !important;
}

.tree ul.members > li:last-child:first-child::before {
    left: 50% !important;
    right: 0 !important;
}

.offcanvas .mud-overlay, .modal .mud-overlay {
    right: unset !important;
    left: 0 !important;
}

.tree li .board {
    right: 15.25rem !important;
    left: unset !important;
}

    .tree li .board::before {
        left: 100% !important;
        right: unset !important;
    }

.tree .assistants li:first-child::after {
    right: 50% !important;
    left: 0 !important;
}

.tree .assistants li:last-child:after {
    left: 50% !important;
    right: 0 !important;
}

.tree .assistants .spacer:first-child + li::before {
    left: 0 !important;
    right: 50%;
}

.tree .assistants .spacer:first-child + .spacer::before {
    left: 0 !important;
    right: 52%;
}
