html {
  background: #fff;
}

html.bjpfg--variant-light * {
  outline-color: #e2001a;
}

body h1,
html.bjpfg--variant-light .bjpfg-icon {
  color: #e2001a;
}

body h2,
body h3,
body h4,
body h5,
body h6 {
  color: #000;
}

body h1.--success,
body h2.--success,
body h3.--success,
body h4.--success,
body h5.--success,
body h6.--success {
    color: #e2001a !important;
}

body button:not(.--link).--primary:not([disabled]) {
  color: #fff;
  font-weight: 600;
  background: #e2001a;
}

body button:not(.--link).--primary:not([disabled]):hover {
  color: #e2001a;
  font-weight: 600;
  background: #fff;
}

body .bjpfg-tos__confirm {
  background-color: #f5f5f5;
  border-color: #f5f5f5;
}

body button:not(.--link):not([disabled]):hover {
  -webkit-box-shadow: inset 0 0 0 1px #e2001a;
  box-shadow: inset 0 0 0 1px #e2001a;
}

body .bjpfg-popover {
  border: 2px solid #e2001a;
}

body button:not(.--link) {
  color: #e2001a;
  font-weight: 600;
  background: #fff;
  background-image: none;
  -webkit-box-shadow: inset 0 0 0 1px #e2001a, inset 0 -1px 0 #e2001a;
  box-shadow: inset 0 0 0 1px #e2001a, inset 0 -1px 0 #e2001a;
}

body button:not(.--link):hover,
body button:not(.--link):not([disabled]):hover,
body button:not(.--link):hover .bjpfg-icon {
  color: #e2001a;
  background-image: none;
  background-color: #fff;
}

html.bjpfg--variant-dark button:not(.--link),
html.bjpfg--variant-dark .bjpfg-icon {
  color: #e2001a;
}

html.bjpfg--variant-dark button:not(.--link) {
  color: #e2001a;
  background: #fff;
}

html.bjpfg--variant-dark button:not(.--link):not([disabled]):hover {
  color: #e2001a;
  background-color: #fff;
}

html.bjpfg--variant-dark button:not(.--link):not([disabled]):hover .bjpfg-icon {
  color: #fff;
  background-color: transparent;
}

html.bjpfg--variant-dark button:not(.--link).--primary:not([disabled]),
html.bjpfg--variant-dark button:not(.--link).--success:not([disabled]) {
  color: #fff;
}

body .bjpfg-submit {
  background-color: #f5f5f5;
  border-top: 1px solid #f5f5f5;
  border-bottom: 1px solid #f5f5f5;
}

body input:not([type=checkbox]).--disabled,
body input:not([type=checkbox]):disabled,
body select.--disabled, select:disabled,
body textarea.--disabled,
body textarea:disabled,
body button:not(.--link).--disabled,
body button:not(.--link):disabled {
  background-color: #f5f5f5;
}

body .bjpfg-popover__actions button:nth-child(2) {
  pointer-events: none;
  display: none;
}