﻿.MembershipSelectWrapper {
    overflow: auto;
    height: 100%;
}

.MembershipSelect {
    margin: 100px auto 0 auto;
    width: 100%;
    max-width: 1210px;
    min-height: calc(100vh - 270px);

    /* This variable is set in the JS. */
    padding-bottom: calc(var(--CartCheckout-h) + env(safe-area-inset-bottom, 0px));
}

.MembershipSelect > h2 {
    margin-top: 0;
}

.MembershipSelect > h1 {
    font-weight: normal;
}

.MembershipGroup {
    margin-bottom: 20px;
}

.MembershipPicture {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--secondary-radius, 8px);
    margin-right: 10px;
}

.MembershipCard {
    border: 1px solid var(--border-color);
    border-radius: var(--secondary-radius, 8px);
    margin-bottom: 10px;
    padding: 10px;
    transition: 0.2s ease;
}

.MembershipCard:hover {
    border: 1px solid var(--border-color-dark);
    box-shadow: var(--shadow-light);
}

.MembershipCardContent {
    display: flex;
    justify-content: space-between;
}

.MembershipCardLeft {
    flex: 1 1 auto;
    min-width: 0;
}

.MembershipCardRight {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 20px;
}

.MembershipName {
    font-size: 20px;
    color: var(--black-color);
}

.MembershipTixInfo {
    font-size: 14px;
}

.HouseholdMemberWarning {
    margin-top: 15px;
    font-size: 14px;
    color: #2874b7;
}

.MembershipPriceCapInfo {
    margin-top: 8px;
    font-size: 14px;
    color: #2874b7;
}

.MembershipPriceCapApplied {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #1d7a3e;
}

.PriceAndCounter {
    display: flex;
    align-items: center;
    gap: 20px;
}

.MembershipPrices {
    display: flex;
    flex-direction: column;
}

.MembershipPriceOptions > select {
    margin: 0;
    max-height: 40px;
}

.GroupNameHeader {
    font-weight: normal;
    font-size: 24px;
    margin-bottom: 8px;
}

.MembershipCard .TicketNotesTrigger {
    margin-top: 10px;
    display: block;
}

.MembershipCard .ContentToggle {
    margin-top: 5px;
}

.MembershipDetails {
    overflow: hidden;
    font-size: 14px;
    margin-top: 10px;
    padding-top: 10px;
}

.AutoRenewInfo {
    white-space: nowrap;
}

@media only screen and (max-width: 650px) {
    .MembershipPicture {
        width: 100%;
        aspect-ratio: 1;
        height: unset;
        margin-bottom: 10px;
    }

    .MembershipCardContent {
        flex-direction: column;
    }

    .MembershipCardRight {
        margin-top: 10px;
        flex-direction: column;
        gap: 10px;
    }

    .PlusMinus {
        aspect-ratio: 1 / 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .PriceAndCounter {
        display: flex;
        align-items: center;
        justify-content: space-around;
        width: 100%;
    }
}

/**************** TO GO INTO Branded.css **********************/

.Price {
    font-size: 17px;
    color: var(--black-color);
}

.PriceAndFees {
    font-size: 13px;
    color: var(--secondary-color);
    white-space: nowrap;
}
