/**
 * Bootstrap overrides for RTL
 *
 * This file is only for overriding sass from upstream bootstrap, all general rtl fixes for
 * moodle scss should be placed immediately after the definition of the ltr rule.
 */

.dir-rtl .custom-select {
    background-position: 0.75rem center;
}

/*rtl:raw:
.dropdown-menu {
    right: auto;
    left: 0;
    text-align: right;
}
*/

.dir-rtl .custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(-($custom-switch-width - $custom-control-indicator-size));
}
