body {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity));
}

.handover {
    cursor: pointer;
}

.bold {
    font-weight: bold;
}

.required {
    color: rgba(var(--bs-danger-rgb),var(--bs-bg-opacity)) !important;
    margin-left: .25rem !important
}

a.subtle {
    color: inherit;
    text-decoration: none;
}

/* ItemSelector
****************/

.ItemSelector {
    position: relative;
}

.ItemGroups {
    margin-bottom: 5px;
}

.ItemGroup {
    margin-bottom: 20px;
}

.ItemGroupTitleBlock {
    margin-bottom: 5px;
    position: relative;
}

.ItemsTableShowHide {
    display: block;
    padding-top: 5px;
    font-size: 75%;
}

.ItemsTable {
    position: relative;
    margin-top: 10px;
}

.ItemsTableHeader {
    position: relative;
    height: 1em;
    padding-bottom: 30px;
    border-bottom: 2px solid black;
    margin-bottom: 15px;
}

.ItemsTableHeaderItem {
    position: absolute;
    left: 5px;
}

.ItemsTableHeaderPrice {
    position: absolute;
    right: 200px;
}

.ItemsTableHeaderTax {
    position: absolute;
    right: 145px;
}

.ItemsTableHeaderQuantity {
    position: absolute;
    right: 65px;
}

.ItemsTableHeaderTotal {
    position: absolute;
    right: 5px;
}

.ItemsTableBody {
    position: relative;
}

.SingleItem {
    position: relative;
    margin-bottom: 5px;
}

.SingleItemLine {
    position: relative;
    min-height: 1em;
    padding-bottom: 3px;
}

.SingleItemLineContent {
    width: 100%;
    min-height: 1em;
    padding-bottom: 3px;
    position: relative;
}

.SingleItemLineContentRadio {
    position: relative;
}

.SingleItemLineContentLabel {
    padding-left: 5px;
}

.WaitListControls {
    font-weight: bold;
    position: relative;
    display: block;
    float: right;
    margin-left: 30px;
    margin-right: 10px;
}

.ItemDescription {
    padding-left: 5px;
    padding-bottom: 5px;
    font-size: 90%;
}

.SaleableItem {
    position: relative;
    margin-bottom: 5px;
}

.ItemChildren, .SaleableItemChildren {
    position: relative;
    margin-left: 5px;
    margin-top: 5px;
}

.SaleableItemChildren {
    font-size: 90%;
}

.SaleableItemLine {
    position: relative;
    min-height: 1em;
    padding-bottom: 3px;
}

.SaleableItemRadio {
    position: absolute;
    left: 0px;
    top: 1.5px;
}

.SaleableItemRadio {
    --bs-form-check-bg: var(--bs-body-bg);
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    margin-top: .15em;
    vertical-align: top;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-form-check-bg);
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: var(--bs-border-width) solid var(--bs-border-color);
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}

.SaleableItemRadio:checked[type=radio] {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

.SaleableItemRadio:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.SaleableItemRadio:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.SaleableItemRadio[type=radio] {
    border-radius: 50%;
}

.SaleableItemLabel {
    margin-left: 23px;
    position: relative;
}

@media (min-width: 768px) {
    .SaleableItemLabel {
        padding-top: 0 !important;
    }
}

.SaleableItemLabelNoLeft {
    position: relative;
    display: block;
    float: left;
    margin-left: 0px;
    margin-right: 300px;
    position: relative;
}

.SaleableItemPricing {
    position: relative;
    top: 0px;
    right: 0px;
    width: 260px;
    min-height: 1em;
    float: right;
}

.SaleableItemSponsor {
    position: relative;
    font-size: 80%;
    text-align: right;
    display: block;
    margin-right: 150px;
    padding-top: 5px;
}

.SaleableItemSponsorCodeForm, .SaleableItemSponsorCodeLabel {
    position: relative;
}

.SaleableItemSponsorCodeField {
    position: relative;
    width: 60px;
}

.SaleableItemPrice {
    position: absolute;
    right: 190px;
    width: 75px;
    text-align: right;
    text-align: right;
}

.SaleableItemTax {
    position: absolute;
    right: 130px;
    width: 50px;
    font-size: 80%;
    text-align: right;
    padding-top: 3.5px;
}

span.SaleableItemQuantity {
    position: absolute;
    right: 80px;
    width: 30px;
}

input.SaleableItemQuantity {
    width: 30px;
    text-align: center;
    border-style: solid;
    border-width: 1px;
    color: inherit;
    background-color: inherit;
    padding-right: 2px;
}

input.SaleableItemQuantity {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

input.SaleableItemQuantity:disabled {
    background-color: var(--bs-secondary-bg);
    opacity: 1;
}

input.je-box {
    padding: 3px;
    margin: 5px 0px;
}

.SaleableItemTotal {
    position: absolute;
    right: 5px;
    width: 70px;
    text-align: right;
}

.SaleableItemTotal.TotalLine {
    width: auto !important;
    font-weight: 500;
    position: relative;
    float: right;
}

.mandatory_ledgend {
    display: block;
    margin-bottom: 20px;
    font-size: 75%;
    font-weight: bold;
    text-align: right;
}

/* external Form
*****************/
div.external-form {
    display: flex;
    flex-direction: column; /* Stacks children vertically */
    border: none;
    gap: 10px; /* Adds 20px of space between the children */
}

.extformlabel, .extforminput {
    padding: 3px;
}

.extforminput input[type=text][size="0"] {
    width: 35%;
}

.extforminput input[type="checkbox"],
.extforminput input[type="radio"] {
    vertical-align: middle;
}

.extforminput textarea {
    width: 100%;
}

.MoreInformation {
    margin-left: 5px;
    white-space: nowrap;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.note {
    color: #FF0000;
    cursor: help;
}

.already-registered {
    line-height: 200%;
    font-weight: bold;
    font-size: 100%;
    color: blue;
}

.redremaining {
    line-height: 200%;
    font-weight: bold;
    font-size: 100%;
    color: red;
}

.external-form-name {
    width: 100%;
    font-weight: bold;
    font-size: 120%;
}

.externalformheading {
    margin: 15px 0 5px;
    font-size: 1.2rem;
}

.external-form b {
    font-weight: 600;
}

.external-form .extformlabel {
    font-weight: 600;
}

/* Payment CTR
***************/
.CTR {
    font-family: monospace;
    width: 300px;
}

.CTRTa {
    border-style: none;
}

.cc-delete {
    cursor: pointer;
    height: 11px;
    width: 13px;
    vertical-align: middle;
    display: inline-block;
    background-size: 13px 11px;
    background-repeat: no-repeat;
    background-image: url('../images/icon-delete.png');
}

#ctl00_MainContent_paymentResults {
    --bs-card-spacer-y: 1rem;
    --bs-card-spacer-x: 1rem;
    --bs-card-title-spacer-y: 0.5rem;
    --bs-card-title-color:;
    --bs-card-subtitle-color:;
    --bs-card-border-width: var(--bs-border-width);
    --bs-card-border-color: var(--bs-border-color-translucent);
    --bs-card-border-radius: var(--bs-border-radius);
    --bs-card-box-shadow:;
    --bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
    --bs-card-cap-padding-y: 0.5rem;
    --bs-card-cap-padding-x: 1rem;
    --bs-card-cap-bg: rgba(var(--bs-body-color-rgb), 0.03);
    --bs-card-cap-color:;
    --bs-card-height:;
    --bs-card-color:;
    --bs-card-bg: var(--bs-body-bg);
    --bs-card-img-overlay-padding: 1rem;
    --bs-card-group-margin: 0.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: var(--bs-card-height);
    color: var(--bs-body-color);
    word-wrap: break-word;
    background-color: var(--bs-card-bg);
    background-clip: border-box;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: var(--bs-card-border-radius);
}

#ctl00_MainContent_paymentResults {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding: 2rem !important;
    margin-right: auto;
    margin-left: auto
}

@media (min-width: 576px) {
    #ctl00_MainContent_paymentResults {
        max-width: 540px
    }
}

@media (min-width: 768px) {
    #ctl00_MainContent_paymentResults {
        max-width: 720px
    }
}

@media (min-width: 992px) {
    #ctl00_MainContent_paymentResults {
        max-width: 960px
    }
}

@media (min-width: 1200px) {
    #ctl00_MainContent_paymentResults {
        max-width: 1140px
    }
}

@media (min-width: 1400px) {
    #ctl00_MainContent_paymentResults {
        max-width: 1320px
    }
}

.formContainer .formButtons {
    text-align: left !important;
}

/* Ridiculous... */
span[title="Delete this credit card"] {
    cursor: pointer;
}

.criteriaChunk {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.criteriaChunk table {
    --bs-table-color-type: initial;
    --bs-table-bg-type: initial;
    --bs-table-color-state: initial;
    --bs-table-bg-state: initial;
    --bs-table-color: var(--bs-emphasis-color);
    --bs-table-bg: var(--bs-body-bg);
    --bs-table-border-color: var(--bs-border-color);
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: var(--bs-emphasis-color);
    --bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0.05);
    --bs-table-active-color: var(--bs-emphasis-color);
    --bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), 0.1);
    --bs-table-hover-color: var(--bs-emphasis-color);
    --bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), 0.075);
    width: 100%;
    margin-bottom: 1rem;
    vertical-align: top;
    border-color: var(--bs-table-border-color);
}