:root {
  --race-entry-header-gap: 1.75rem;
}

.tab-bar {
  --msvr-step-bar-bg: #692a80;
  --msvr-step-current-bg: #2c2143;
  --msvr-step-color: #ffffff;
  --msvr-step-measure: 75rem;
  background-color: var(--msvr-step-bar-bg);
  margin-bottom: 2.25rem;
  display: grid;
  grid-template-columns: 1fr minmax(min-content, var(--msvr-step-measure)) 1fr;
}
.tab-bar > .grid-x {
  grid-column: 2/3;
}

.race-entry-widget > .tab-bar {
  position: sticky;
  top: var(--msvr-header-stuck-height);
  z-index: 2;
}

.tab-bar a.item {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0.9rem 0.75rem;
  color: var(--msvr-step-color);
  text-decoration: none;
  cursor: pointer;
}
.tab-bar a.item h3 {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}
.tab-bar a.item h3 > i:first-child {
  margin-right: 0.35rem;
  line-height: inherit;
}

.tab-bar a.item.selected {
  background-color: var(--msvr-step-current-bg);
}

.tab-bar a.item.disabled:not(.selected) {
  opacity: 0.55;
  cursor: default;
}

.tab-bar a.item.selected {
  cursor: default;
}

.tab-bar a.item:not(.disabled):not(.selected):hover {
  background-color: rgba(0, 0, 0, 0.18);
}

.tab-bar a.item h3 .step-name {
  display: none;
}

.tab-bar a.item.selected h3 .step-name {
  display: inline;
}

@media screen and (min-width: 64em) {
  .tab-bar a.item h3 .step-name {
    display: inline;
  }
}
.tab-bar.more-than-6 a.item {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.tab-bar.more-than-6 a.item h3 {
  font-size: 0.8rem;
}

@media screen and (max-width: 63.99em) {
  .tab-bar a.item {
    padding: 0.75rem 0.6rem;
  }
}
body.modal-opened {
  overflow: hidden;
}

.modal-v2-container {
  --msvr-modal-title-bg: #692a80;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.5);
  min-height: 100vh;
  min-height: 100dvh;
}
.modal-v2-container .modal-v2 {
  overflow: hidden;
  font-size: 1rem;
  margin: auto;
  width: 80%;
  max-width: 40rem;
}
@media print, screen and (min-width: 40em) {
  .modal-v2-container .modal-v2.tiny {
    width: 30%;
  }
  .modal-v2-container .modal-v2.small {
    width: 70%;
  }
  .modal-v2-container .modal-v2.large {
    width: 90%;
    max-width: 75rem;
  }
}
@media screen and (max-width: 39.99em) {
  .modal-v2-container .modal-v2 {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
  }
  .modal-v2-container .modal-v2 .body {
    flex: 1 1 auto;
    overflow: auto;
  }
}
.modal-v2-container .modal-v2 > .title {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  background-color: var(--msvr-modal-title-bg);
  color: #ffffff;
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
}
.modal-v2-container .modal-v2 > .title .btn-close {
  color: #ffffff;
  cursor: pointer;
  padding: 0 0.25rem;
}
.modal-v2-container .modal-v2 > .body {
  background-color: #ffffff;
  padding: 1.25rem;
}
.modal-v2-container .modal-v2 > .body .grid-container {
  padding-left: 0;
  padding-right: 0;
}
.modal-v2-container .modal-v2 > .body label {
  font-weight: 700;
  text-transform: uppercase;
}
.modal-v2-container .modal-v2 > .body .button {
  margin-bottom: 0;
}
.modal-v2-container .modal-v2 > .body .grid-x.align-center {
  margin-top: 1rem;
  row-gap: 0.75rem;
}
.modal-v2-container .modal-v2.three-d-secure > .body, .modal-v2-container .modal-v2.hosted-payment > .body {
  padding: 0;
}
.modal-v2-container .modal-v2.three-d-secure > .body iframe, .modal-v2-container .modal-v2.hosted-payment > .body iframe {
  display: block;
  border: 0;
  width: 100%;
}
.modal-v2-container .modal-v2.three-d-secure {
  min-height: 500px;
}
.modal-v2-container .modal-v2.three-d-secure > .body iframe {
  min-height: 500px;
}
.modal-v2-container .modal-v2.hosted-payment {
  background-color: #eeeeef;
}
@media print, screen and (min-width: 40em) {
  .modal-v2-container .modal-v2.hosted-payment {
    width: 100%;
    max-width: 35rem;
  }
}
.modal-v2-container .modal-v2.hosted-payment > .body {
  background-color: #eeeeef;
}
.modal-v2-container .modal-v2.hosted-payment > .body iframe {
  background-color: #eeeeef !important;
  height: 36rem;
}
@media screen and (max-width: 39.99em) {
  .modal-v2-container .modal-v2.hosted-payment {
    display: flex;
    flex-direction: column;
  }
  .modal-v2-container .modal-v2.hosted-payment > .body {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
  }
  .modal-v2-container .modal-v2.hosted-payment > .body iframe {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }
}

.payment-option {
  background-color: #ebebeb;
  padding: 0.75rem;
  margin-bottom: 1.25rem;
}
.payment-option > a.title {
  display: grid;
  grid-template-columns: auto 1fr 2.5rem;
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
  align-items: center;
  color: #595959;
  text-decoration: none;
}
.payment-option > a.title > .title h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 400;
  text-transform: uppercase;
}
.payment-option > a.title > .icon {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.4rem;
}
.payment-option > a.title > .icon img {
  width: auto;
  max-width: 3.25rem;
  max-height: 2.25rem;
  margin: 0;
}
.payment-option > a.title > .icon i {
  font-size: 2rem;
}
.payment-option > a.title > .expanded {
  display: flex;
  justify-content: center;
}
.payment-option > a.title > .expanded i {
  font-size: 1.5rem;
}
@media screen and (max-width: 39.99em) {
  .payment-option > a.title.cc {
    grid-template-columns: 1fr 2.5rem;
  }
  .payment-option > a.title.cc > .icon {
    grid-row: 2;
    justify-content: flex-start;
    margin-top: 0.5rem;
  }
}
.payment-option.active > a.title {
  margin-bottom: 1.25rem;
}
.payment-option.active > a.title > .title h3 {
  font-weight: 600;
}

.shop-checkout {
  --msvr-checkout-accent: #692a80;
  --msvr-checkout-panel: #ebebeb;
  --msvr-checkout-group: #7a7a7a;
  padding-top: var(--race-entry-header-gap);
}
.shop-checkout section {
  margin-bottom: 2rem;
}
.shop-checkout section > h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.shop-checkout section > h2 i {
  color: var(--msvr-checkout-accent);
  font-size: 1.75rem;
}
.shop-checkout section > h2:only-child {
  margin-bottom: 0;
}
.shop-checkout section .body {
  background-color: var(--msvr-checkout-panel);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.shop-checkout section .body > h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.shop-checkout section .body > p:last-child {
  margin-bottom: 0;
}
.shop-checkout section .body .button {
  margin-bottom: 0;
}
.shop-checkout .input-group {
  margin-bottom: 0;
}
.shop-checkout .input-group .input-group-field {
  margin-bottom: 0;
}
.shop-checkout .input-group .input-group-button > .button {
  display: flex;
  align-items: center;
  height: 100%;
}
.shop-checkout .text-warning {
  margin: 0.75rem 0 0;
}
.shop-checkout .group-info .group-title {
  background-color: var(--msvr-checkout-group);
  color: #ffffff;
  padding: 0.6rem 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.shop-checkout .group-info .group-title em {
  display: block;
  font-weight: 400;
}
.shop-checkout .group-info .group-body {
  padding: 0.75rem 0 0;
}
.shop-checkout .item-header {
  display: flex;
  padding-bottom: 0.4rem;
  color: #565656;
}
.shop-checkout .item-header .product-name {
  flex: 1 1 auto;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.shop-checkout .item-header > .shrink {
  flex: 0 1 auto;
}
.shop-checkout .item-header a {
  color: #434343;
}
.shop-checkout .product-details {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #bdbdbd;
}
.shop-checkout .product-details:last-child, .shop-checkout .product-details.has-children, .shop-checkout .product-details.child-item {
  margin-bottom: 0;
  border-bottom: 0;
}
.shop-checkout .product-details.child-item.last-child {
  margin-bottom: 1rem;
  border-bottom: 1px solid #bdbdbd;
}
.shop-checkout .product-details .text-info {
  color: #565656;
  padding-bottom: 0.4rem;
}
.shop-checkout .product-details p {
  margin-bottom: 0.25rem;
}
.shop-checkout .valid-for em {
  font-weight: 700;
}
.shop-checkout .delivery-options {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.shop-checkout .delivery-options .label label {
  cursor: pointer;
}
.shop-checkout .delivery-options .label span {
  display: block;
}
.shop-checkout .delivery-options input[type=radio] {
  transform: scale(1.2);
  margin: 0.6rem 0 0;
}
.shop-checkout .checkout-basket-container {
  position: sticky;
  top: calc(var(--msvr-header-stuck-height, 0px) + 1rem);
}
.shop-checkout .checkout-basket-container .total-to-pay {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
}
.shop-checkout .checkout-basket-container .total-to-pay p {
  margin-bottom: 0.4rem;
}
.shop-checkout .checkout-basket-container .total-to-pay .amount {
  text-align: right;
  font-size: 1.1rem;
}
.shop-checkout .checkout-basket-container .total-to-pay .total {
  margin-bottom: 0;
  font-weight: 700;
}
.shop-checkout .checkout-basket-container .total-to-pay .amount.total {
  font-size: 1.3rem;
}
.shop-checkout .basket {
  margin-bottom: 2rem;
  font-size: 1rem;
}
.shop-checkout .basket > .title {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.shop-checkout .basket > .title.show-total {
  grid-template-columns: auto 1fr auto;
}
.shop-checkout .basket > .title i {
  color: var(--msvr-checkout-accent);
  font-size: 1.75rem;
}
.shop-checkout .basket > .title .total {
  margin-left: 0.6rem;
}
.shop-checkout .basket > .body {
  background-color: var(--msvr-checkout-panel);
  padding: 1rem;
}
.shop-checkout .basket > .body > p {
  margin: 0;
}
.shop-checkout .basket .expiry-timer {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.shop-checkout .basket .expiry-timer em {
  margin: 0 0.25rem;
  color: var(--msvr-checkout-accent);
  font-style: normal;
  font-weight: 700;
}
.shop-checkout .basket .group-info + .group-info {
  margin-top: 1rem;
}
.shop-checkout .basket .product-details .line-info {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 0.5rem;
}
.shop-checkout .basket .product-details .line-info > .quantity,
.shop-checkout .basket .product-details .line-info > .price-cell {
  display: flex;
  justify-content: center;
  align-items: center;
}
.shop-checkout .basket .product-details .line-info > .optional-extras {
  grid-column: span 2;
}
.shop-checkout .basket .price-cell {
  width: 100%;
  padding: 0.5rem 0;
  background-color: #ffffff;
  text-align: center;
}
.shop-checkout .basket .price-cell .orig {
  margin-right: 0.3rem;
  text-decoration: line-through;
}
.shop-checkout .basket .price {
  color: #565656;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.shop-checkout .basket .qty-label,
.shop-checkout .basket .price-label {
  font-size: 0.8rem;
  text-transform: uppercase;
}
.shop-checkout .basket .optional-extras {
  margin-top: 1rem;
  text-align: center;
}
.shop-checkout .basket .optional-extras .button {
  margin: 0;
}
.shop-checkout .legal-text {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.basket-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background-color: rgba(0, 0, 0, 0.6);
}
.basket-overlay.show {
  display: block;
}
.basket-overlay .info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-align: center;
}
.basket-overlay .info h1,
.basket-overlay .info h2 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}
