/*
 * Bootstrap 4 compatibility for the public login, registration and signed-out
 * error pages only. Loaded after Bootstrap 5.3 so per-portal login CSS and
 * markup written against Bootstrap 4.6 class names keep their layout.
 * This is not a full Bootstrap 4 theme.
 */

/* Spacing, float and text utilities removed or renamed in Bootstrap 5. */
.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: 0.25rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.ml-3 { margin-left: 1rem !important; }
.ml-4 { margin-left: 1.5rem !important; }
.ml-5 { margin-left: 3rem !important; }
.ml-auto { margin-left: auto !important; }
.ml-n1 { margin-left: -0.25rem !important; }
.ml-n2 { margin-left: -0.5rem !important; }
.ml-n3 { margin-left: -1rem !important; }
.ml-n4 { margin-left: -1.5rem !important; }
.ml-n5 { margin-left: -3rem !important; }
.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: 0.25rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.mr-4 { margin-right: 1.5rem !important; }
.mr-5 { margin-right: 3rem !important; }
.mr-auto { margin-right: auto !important; }
.mr-n1 { margin-right: -0.25rem !important; }
.mr-n2 { margin-right: -0.5rem !important; }
.mr-n3 { margin-right: -1rem !important; }
.mr-n4 { margin-right: -1.5rem !important; }
.mr-n5 { margin-right: -3rem !important; }
.pl-0 { padding-left: 0 !important; }
.pl-1 { padding-left: 0.25rem !important; }
.pl-2 { padding-left: 0.5rem !important; }
.pl-3 { padding-left: 1rem !important; }
.pl-4 { padding-left: 1.5rem !important; }
.pl-5 { padding-left: 3rem !important; }
.pl-auto { padding-left: auto !important; }
.pr-0 { padding-right: 0 !important; }
.pr-1 { padding-right: 0.25rem !important; }
.pr-2 { padding-right: 0.5rem !important; }
.pr-3 { padding-right: 1rem !important; }
.pr-4 { padding-right: 1.5rem !important; }
.pr-5 { padding-right: 3rem !important; }
.pr-auto { padding-right: auto !important; }
.float-left { float: left !important; }
.float-right { float: right !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
@media (min-width: 576px) {
.ml-sm-0 { margin-left: 0 !important; }
.ml-sm-1 { margin-left: 0.25rem !important; }
.ml-sm-2 { margin-left: 0.5rem !important; }
.ml-sm-3 { margin-left: 1rem !important; }
.ml-sm-4 { margin-left: 1.5rem !important; }
.ml-sm-5 { margin-left: 3rem !important; }
.ml-sm-auto { margin-left: auto !important; }
.ml-sm-n1 { margin-left: -0.25rem !important; }
.ml-sm-n2 { margin-left: -0.5rem !important; }
.ml-sm-n3 { margin-left: -1rem !important; }
.ml-sm-n4 { margin-left: -1.5rem !important; }
.ml-sm-n5 { margin-left: -3rem !important; }
.mr-sm-0 { margin-right: 0 !important; }
.mr-sm-1 { margin-right: 0.25rem !important; }
.mr-sm-2 { margin-right: 0.5rem !important; }
.mr-sm-3 { margin-right: 1rem !important; }
.mr-sm-4 { margin-right: 1.5rem !important; }
.mr-sm-5 { margin-right: 3rem !important; }
.mr-sm-auto { margin-right: auto !important; }
.mr-sm-n1 { margin-right: -0.25rem !important; }
.mr-sm-n2 { margin-right: -0.5rem !important; }
.mr-sm-n3 { margin-right: -1rem !important; }
.mr-sm-n4 { margin-right: -1.5rem !important; }
.mr-sm-n5 { margin-right: -3rem !important; }
.pl-sm-0 { padding-left: 0 !important; }
.pl-sm-1 { padding-left: 0.25rem !important; }
.pl-sm-2 { padding-left: 0.5rem !important; }
.pl-sm-3 { padding-left: 1rem !important; }
.pl-sm-4 { padding-left: 1.5rem !important; }
.pl-sm-5 { padding-left: 3rem !important; }
.pl-sm-auto { padding-left: auto !important; }
.pr-sm-0 { padding-right: 0 !important; }
.pr-sm-1 { padding-right: 0.25rem !important; }
.pr-sm-2 { padding-right: 0.5rem !important; }
.pr-sm-3 { padding-right: 1rem !important; }
.pr-sm-4 { padding-right: 1.5rem !important; }
.pr-sm-5 { padding-right: 3rem !important; }
.pr-sm-auto { padding-right: auto !important; }
.float-sm-left { float: left !important; }
.float-sm-right { float: right !important; }
.text-sm-left { text-align: left !important; }
.text-sm-right { text-align: right !important; }
}
@media (min-width: 768px) {
.ml-md-0 { margin-left: 0 !important; }
.ml-md-1 { margin-left: 0.25rem !important; }
.ml-md-2 { margin-left: 0.5rem !important; }
.ml-md-3 { margin-left: 1rem !important; }
.ml-md-4 { margin-left: 1.5rem !important; }
.ml-md-5 { margin-left: 3rem !important; }
.ml-md-auto { margin-left: auto !important; }
.ml-md-n1 { margin-left: -0.25rem !important; }
.ml-md-n2 { margin-left: -0.5rem !important; }
.ml-md-n3 { margin-left: -1rem !important; }
.ml-md-n4 { margin-left: -1.5rem !important; }
.ml-md-n5 { margin-left: -3rem !important; }
.mr-md-0 { margin-right: 0 !important; }
.mr-md-1 { margin-right: 0.25rem !important; }
.mr-md-2 { margin-right: 0.5rem !important; }
.mr-md-3 { margin-right: 1rem !important; }
.mr-md-4 { margin-right: 1.5rem !important; }
.mr-md-5 { margin-right: 3rem !important; }
.mr-md-auto { margin-right: auto !important; }
.mr-md-n1 { margin-right: -0.25rem !important; }
.mr-md-n2 { margin-right: -0.5rem !important; }
.mr-md-n3 { margin-right: -1rem !important; }
.mr-md-n4 { margin-right: -1.5rem !important; }
.mr-md-n5 { margin-right: -3rem !important; }
.pl-md-0 { padding-left: 0 !important; }
.pl-md-1 { padding-left: 0.25rem !important; }
.pl-md-2 { padding-left: 0.5rem !important; }
.pl-md-3 { padding-left: 1rem !important; }
.pl-md-4 { padding-left: 1.5rem !important; }
.pl-md-5 { padding-left: 3rem !important; }
.pl-md-auto { padding-left: auto !important; }
.pr-md-0 { padding-right: 0 !important; }
.pr-md-1 { padding-right: 0.25rem !important; }
.pr-md-2 { padding-right: 0.5rem !important; }
.pr-md-3 { padding-right: 1rem !important; }
.pr-md-4 { padding-right: 1.5rem !important; }
.pr-md-5 { padding-right: 3rem !important; }
.pr-md-auto { padding-right: auto !important; }
.float-md-left { float: left !important; }
.float-md-right { float: right !important; }
.text-md-left { text-align: left !important; }
.text-md-right { text-align: right !important; }
}
@media (min-width: 992px) {
.ml-lg-0 { margin-left: 0 !important; }
.ml-lg-1 { margin-left: 0.25rem !important; }
.ml-lg-2 { margin-left: 0.5rem !important; }
.ml-lg-3 { margin-left: 1rem !important; }
.ml-lg-4 { margin-left: 1.5rem !important; }
.ml-lg-5 { margin-left: 3rem !important; }
.ml-lg-auto { margin-left: auto !important; }
.ml-lg-n1 { margin-left: -0.25rem !important; }
.ml-lg-n2 { margin-left: -0.5rem !important; }
.ml-lg-n3 { margin-left: -1rem !important; }
.ml-lg-n4 { margin-left: -1.5rem !important; }
.ml-lg-n5 { margin-left: -3rem !important; }
.mr-lg-0 { margin-right: 0 !important; }
.mr-lg-1 { margin-right: 0.25rem !important; }
.mr-lg-2 { margin-right: 0.5rem !important; }
.mr-lg-3 { margin-right: 1rem !important; }
.mr-lg-4 { margin-right: 1.5rem !important; }
.mr-lg-5 { margin-right: 3rem !important; }
.mr-lg-auto { margin-right: auto !important; }
.mr-lg-n1 { margin-right: -0.25rem !important; }
.mr-lg-n2 { margin-right: -0.5rem !important; }
.mr-lg-n3 { margin-right: -1rem !important; }
.mr-lg-n4 { margin-right: -1.5rem !important; }
.mr-lg-n5 { margin-right: -3rem !important; }
.pl-lg-0 { padding-left: 0 !important; }
.pl-lg-1 { padding-left: 0.25rem !important; }
.pl-lg-2 { padding-left: 0.5rem !important; }
.pl-lg-3 { padding-left: 1rem !important; }
.pl-lg-4 { padding-left: 1.5rem !important; }
.pl-lg-5 { padding-left: 3rem !important; }
.pl-lg-auto { padding-left: auto !important; }
.pr-lg-0 { padding-right: 0 !important; }
.pr-lg-1 { padding-right: 0.25rem !important; }
.pr-lg-2 { padding-right: 0.5rem !important; }
.pr-lg-3 { padding-right: 1rem !important; }
.pr-lg-4 { padding-right: 1.5rem !important; }
.pr-lg-5 { padding-right: 3rem !important; }
.pr-lg-auto { padding-right: auto !important; }
.float-lg-left { float: left !important; }
.float-lg-right { float: right !important; }
.text-lg-left { text-align: left !important; }
.text-lg-right { text-align: right !important; }
}
@media (min-width: 1200px) {
.ml-xl-0 { margin-left: 0 !important; }
.ml-xl-1 { margin-left: 0.25rem !important; }
.ml-xl-2 { margin-left: 0.5rem !important; }
.ml-xl-3 { margin-left: 1rem !important; }
.ml-xl-4 { margin-left: 1.5rem !important; }
.ml-xl-5 { margin-left: 3rem !important; }
.ml-xl-auto { margin-left: auto !important; }
.ml-xl-n1 { margin-left: -0.25rem !important; }
.ml-xl-n2 { margin-left: -0.5rem !important; }
.ml-xl-n3 { margin-left: -1rem !important; }
.ml-xl-n4 { margin-left: -1.5rem !important; }
.ml-xl-n5 { margin-left: -3rem !important; }
.mr-xl-0 { margin-right: 0 !important; }
.mr-xl-1 { margin-right: 0.25rem !important; }
.mr-xl-2 { margin-right: 0.5rem !important; }
.mr-xl-3 { margin-right: 1rem !important; }
.mr-xl-4 { margin-right: 1.5rem !important; }
.mr-xl-5 { margin-right: 3rem !important; }
.mr-xl-auto { margin-right: auto !important; }
.mr-xl-n1 { margin-right: -0.25rem !important; }
.mr-xl-n2 { margin-right: -0.5rem !important; }
.mr-xl-n3 { margin-right: -1rem !important; }
.mr-xl-n4 { margin-right: -1.5rem !important; }
.mr-xl-n5 { margin-right: -3rem !important; }
.pl-xl-0 { padding-left: 0 !important; }
.pl-xl-1 { padding-left: 0.25rem !important; }
.pl-xl-2 { padding-left: 0.5rem !important; }
.pl-xl-3 { padding-left: 1rem !important; }
.pl-xl-4 { padding-left: 1.5rem !important; }
.pl-xl-5 { padding-left: 3rem !important; }
.pl-xl-auto { padding-left: auto !important; }
.pr-xl-0 { padding-right: 0 !important; }
.pr-xl-1 { padding-right: 0.25rem !important; }
.pr-xl-2 { padding-right: 0.5rem !important; }
.pr-xl-3 { padding-right: 1rem !important; }
.pr-xl-4 { padding-right: 1.5rem !important; }
.pr-xl-5 { padding-right: 3rem !important; }
.pr-xl-auto { padding-right: auto !important; }
.float-xl-left { float: left !important; }
.float-xl-right { float: right !important; }
.text-xl-left { text-align: left !important; }
.text-xl-right { text-align: right !important; }
}

/* BS3 leftovers still used by these templates and some portal styles. */
.pull-left { float: left !important; }
.pull-right { float: right !important; }

.col-xs-1 { flex: 0 0 auto; width: 8.333333%; }
.col-xs-2 { flex: 0 0 auto; width: 16.666667%; }
.col-xs-3 { flex: 0 0 auto; width: 25%; }
.col-xs-4 { flex: 0 0 auto; width: 33.333333%; }
.col-xs-5 { flex: 0 0 auto; width: 41.666667%; }
.col-xs-6 { flex: 0 0 auto; width: 50%; }
.col-xs-7 { flex: 0 0 auto; width: 58.333333%; }
.col-xs-8 { flex: 0 0 auto; width: 66.666667%; }
.col-xs-9 { flex: 0 0 auto; width: 75%; }
.col-xs-10 { flex: 0 0 auto; width: 83.333333%; }
.col-xs-11 { flex: 0 0 auto; width: 91.666667%; }
.col-xs-12 { flex: 0 0 auto; width: 100%; }
.col-xs-auto { flex: 0 0 auto; width: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.font-weight-light { font-weight: 300 !important; }
.font-weight-lighter { font-weight: lighter !important; }
.font-weight-normal { font-weight: 400 !important; }
.font-weight-bold { font-weight: 700 !important; }
.font-weight-bolder { font-weight: bolder !important; }
.font-italic { font-style: italic !important; }

.border-left { border-left: 1px solid #dee2e6 !important; }
.border-right { border-right: 1px solid #dee2e6 !important; }
.rounded-left {
  border-top-left-radius: 0.25rem !important;
  border-bottom-left-radius: 0.25rem !important;
}
.rounded-right {
  border-top-right-radius: 0.25rem !important;
  border-bottom-right-radius: 0.25rem !important;
}

.no-gutters {
  margin-right: 0;
  margin-left: 0;
}
.no-gutters > .col,
.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -5px;
  margin-left: -5px;
}
.form-row > .col,
.form-row > [class*="col-"] {
  padding-right: 5px;
  padding-left: 5px;
}

@media (min-width: 576px) {
  .form-inline {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
  }
  .form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
  }
  .form-inline .form-group {
    display: flex;
    flex: 0 0 auto;
    flex-flow: row wrap;
    align-items: center;
    margin-bottom: 0;
  }
}

.btn-block {
  display: block;
  width: 100%;
}
.btn-block + .btn-block {
  margin-top: 0.5rem;
}
input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
  width: 100%;
}

/* Bootstrap 4 theme colors. Bootstrap 5.3 repaints .btn-* from these variables. */
.btn-primary {
  --bs-btn-bg: #007bff;
  --bs-btn-border-color: #007bff;
  --bs-btn-hover-bg: #0069d9;
  --bs-btn-hover-border-color: #0062cc;
  --bs-btn-active-bg: #0062cc;
  --bs-btn-active-border-color: #005cbf;
  --bs-btn-disabled-bg: #007bff;
  --bs-btn-disabled-border-color: #007bff;
  --bs-btn-focus-shadow-rgb: 0, 123, 255;
}
.btn-secondary {
  --bs-btn-bg: #6c757d;
  --bs-btn-border-color: #6c757d;
  --bs-btn-hover-bg: #5a6268;
  --bs-btn-hover-border-color: #545b62;
  --bs-btn-active-bg: #545b62;
  --bs-btn-active-border-color: #4e555b;
  --bs-btn-disabled-bg: #6c757d;
  --bs-btn-disabled-border-color: #6c757d;
}
.btn-success {
  --bs-btn-color: #fff;
  --bs-btn-bg: #28a745;
  --bs-btn-border-color: #28a745;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #218838;
  --bs-btn-hover-border-color: #1e7e34;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #1e7e34;
  --bs-btn-active-border-color: #1c7430;
  --bs-btn-disabled-bg: #28a745;
  --bs-btn-disabled-border-color: #28a745;
}
.btn-danger {
  --bs-btn-bg: #dc3545;
  --bs-btn-border-color: #dc3545;
  --bs-btn-hover-bg: #c82333;
  --bs-btn-hover-border-color: #bd2130;
  --bs-btn-active-bg: #bd2130;
  --bs-btn-active-border-color: #b21f2d;
  --bs-btn-disabled-bg: #dc3545;
  --bs-btn-disabled-border-color: #dc3545;
}
.btn-warning {
  --bs-btn-color: #212529;
  --bs-btn-bg: #ffc107;
  --bs-btn-border-color: #ffc107;
  --bs-btn-hover-color: #212529;
  --bs-btn-hover-bg: #e0a800;
  --bs-btn-hover-border-color: #d39e00;
  --bs-btn-active-color: #212529;
  --bs-btn-active-bg: #d39e00;
  --bs-btn-active-border-color: #c69500;
  --bs-btn-disabled-color: #212529;
  --bs-btn-disabled-bg: #ffc107;
  --bs-btn-disabled-border-color: #ffc107;
}
.btn-info {
  --bs-btn-color: #fff;
  --bs-btn-bg: #17a2b8;
  --bs-btn-border-color: #17a2b8;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #138496;
  --bs-btn-hover-border-color: #117a8b;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #117a8b;
  --bs-btn-active-border-color: #10707f;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #17a2b8;
  --bs-btn-disabled-border-color: #17a2b8;
}

.form-control {
  border-color: #ced4da;
  border-radius: 0.25rem;
}
.form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.badge-primary { color: #fff; background-color: #007bff; }
.badge-secondary { color: #fff; background-color: #6c757d; }
.badge-success { color: #fff; background-color: #28a745; }
.badge-danger { color: #fff; background-color: #dc3545; }
.badge-warning { color: #212529; background-color: #ffc107; }
.badge-info { color: #fff; background-color: #17a2b8; }
.badge-light { color: #212529; background-color: #f8f9fa; }
.badge-dark { color: #fff; background-color: #343a40; }
.badge-pill { border-radius: 10rem; }

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
  background-color: transparent;
  border: 0;
  padding: 0;
  appearance: none;
}
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  opacity: .75;
}
.alert-dismissable,
.alert-dismissible {
  position: relative;
  padding-right: 4rem;
}
.alert-dismissable .close,
.alert-dismissible .close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 0.75rem 1.25rem;
  color: inherit;
}

.input-group-prepend,
.input-group-append {
  display: flex;
}
.input-group > .input-group-prepend,
.input-group > .input-group-append {
  flex: 0 0 auto;
}
.input-group-prepend .btn,
.input-group-append .btn {
  position: relative;
  z-index: 2;
}
.input-group > .input-group-prepend > .btn,
.input-group > .input-group-prepend > .input-group-text,
.input-group > .input-group-append:not(:last-child) > .btn,
.input-group > .input-group-append:not(:last-child) > .input-group-text,
.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle),
.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-group > .input-group-append > .btn,
.input-group > .input-group-append > .input-group-text,
.input-group > .input-group-prepend:not(:first-child) > .btn,
.input-group > .input-group-prepend:not(:first-child) > .input-group-text,
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.input-group > .form-control:not(:first-child),
.input-group > .custom-select:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.input-group > .form-control:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.custom-control {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 1.5rem;
  padding-left: 1.5rem;
}
.custom-control-inline {
  display: inline-flex;
  margin-right: 1rem;
}
.custom-control-input {
  position: absolute;
  left: 0;
  z-index: -1;
  width: 1rem;
  height: 1.25rem;
  opacity: 0;
}
.custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: #007bff;
  background-color: #007bff;
}
.custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
  border-color: #80bdff;
}
.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
  color: #fff;
  background-color: #b3d7ff;
  border-color: #b3d7ff;
}
.custom-control-input:disabled ~ .custom-control-label,
.custom-control-input[disabled] ~ .custom-control-label {
  color: #6c757d;
}
.custom-control-input:disabled ~ .custom-control-label::before,
.custom-control-input[disabled] ~ .custom-control-label::before {
  background-color: #e9ecef;
}
.custom-control-label {
  position: relative;
  margin-bottom: 0;
  vertical-align: top;
}
.custom-control-label::before {
  position: absolute;
  top: 0.25rem;
  left: -1.5rem;
  display: block;
  width: 1rem;
  height: 1rem;
  pointer-events: none;
  content: "";
  background-color: #fff;
  border: 1px solid #adb5bd;
}
.custom-control-label::after {
  position: absolute;
  top: 0.25rem;
  left: -1.5rem;
  display: block;
  width: 1rem;
  height: 1rem;
  content: "";
  background: no-repeat 50% / 50% 50%;
}
.custom-checkbox .custom-control-label::before {
  border-radius: 0.25rem;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
  border-color: #007bff;
  background-color: #007bff;
}
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e");
}
.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before,
.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before,
.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: rgba(0, 123, 255, 0.5);
}
.custom-radio .custom-control-label::before {
  border-radius: 50%;
}
.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}
.custom-switch {
  padding-left: 2.25rem;
}
.custom-switch .custom-control-label::before {
  left: -2.25rem;
  width: 1.75rem;
  pointer-events: all;
  border-radius: 0.5rem;
}
.custom-switch .custom-control-label::after {
  top: calc(0.25rem + 2px);
  left: calc(-2.25rem + 2px);
  width: calc(1rem - 4px);
  height: calc(1rem - 4px);
  background-color: #adb5bd;
  border-radius: 0.5rem;
  transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out;
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
  background-color: #fff;
  transform: translateX(0.75rem);
}
.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: rgba(0, 123, 255, 0.5);
}

.custom-select {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  appearance: none;
}
