@import "template";
@import "vendor/bootstrap/bootstrap-rtl";

// Global
dl,
ol,
ul {
  padding-right: 0;
}

// Redirect urls fields
#jform_new_url,
#jform_old_url,
#new_url {
  text-align: left;
}

// Database prefix
#jform_dbprefix {
  text-align: right;
  direction: ltr;
}

.input-group > .form-control:not(:last-child),
.input-group > .form-select:not(:last-child) {
  @include border-start-radius(0);
  @include border-end-radius($border-radius);
}

.btn-group > .btn:first-child:not(.dropdown-toggle) {
  @include border-end-radius($border-radius);
}

.btn-group > .btn:not(:last-child):not(.dropdown-toggle),
.btn-group > .btn-group:not(:last-child) > .btn {
  @include border-start-radius(0);
  margin-left: -1px;
}

.btn-group > .btn:last-child:not(.dropdown-toggle) {
  @include border-start-radius($border-radius);
}

.btn-group > .btn:not(:first-child),
.btn-group > .btn-group:not(:first-child) {
  @include border-end-radius(0);
}
