/**
 * Tickets
 */

.ticketSummary__overview {
    width: 100%;
    border: none !important;
    border-spacing: 0;
    border-collapse: collapse;
}

.ticketSummary__title {
    font-weight: 700;
    text-align: left;
    margin-bottom: var(--marginSmall);
}

.ticketSummary__value,
.ticketSummary__price {
    padding: var(--marginExtraSmall) 0;
    font-family: inherit;
    font-weight: normal;
    font-style: normal;
    text-align: left;
    vertical-align: top;
    border: none !important;
}

.ticketSummary tr {
    border: none !important;
}

.ticketSummary__price {
    text-align: right;
    white-space: nowrap;
}

.ticketSummary__value--total,
.ticketSummary__price--total {
    font-weight: 700;
}

.ticketSummary__separatorBefore::before {
    content: '';
    border-top: 1px solid var(--baseLight400);
    margin: var(--marginExtraSmall) 0 var(--marginSmall);
    width: 100%;
    display: block;
}

.ticketSummary__mobileSummary,
.ticketSummary__closeButton {
    display: none;
}

.ticketSummary__totalPrice {
    font-weight: bold;
}

@media screen and (max-width: 699px) {
    .ticketSummary__mobileSummary {
        position: fixed;
        display: block;
        right: 0;
        bottom: 0;
        left: 0;
        min-height: 0;
        margin: 0;
        padding: 16px 1em;
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
        background-color: rgba(255, 255, 255, 0.97);
        z-index: 9999;
    }

    .ticketSummary__footer {
        display: none;
    }

    .ticketSummary__container {
        position: fixed;
        top: 100%;
        right: 0;
        bottom: 0;
        left: 0;
        overflow: hidden;
        padding: 3em 1em 64px;
        opacity: 0;
        visibility: hidden;
        background-color: rgba(242, 242, 242, 0.97);
        transition: opacity 0.1s ease-in, top 0s 0.1s, visibility 0s 0.1s;
        z-index: 9998;
    }

    .ticketSummary__container--visible {
        position: fixed;
        top: 0;
        overflow: auto;
        opacity: 1;
        visibility: visible;
        transition: top 0.2s ease-out, visibility 0s;
    }

    .ticketSummary__button {
        display: flex;
        justify-content: space-between;
        margin: 0;
    }

    .ticketSummary__ticketAmount::after {
        content: '';
        display: inline-block;
        width: 0.6em;
        height: 0.6em;
        margin-left: 0.5em;
        opacity: 0.9;
        background: url(chevron.svg) no-repeat;
        background-size: 0.6em;
        transition: transform 0.3s ease;
    }

    [aria-expanded='true'] .ticketSummary__ticketAmount::after {
        transform: rotate(180deg);
    }

    .ticketSummary__closeButton {
        position: absolute;
        display: block;
        top: 1em;
        right: 1em;
        width: 1.4em;
        height: 1.4em;
        text-indent: -999em;
        opacity: 0.9;
        background: url(close.svg) no-repeat;
        background-size: 1.4em 1.4em;
    }
}

/**
 * Fallback
 */

.Registration__ticketFallback {
    display: flex;
    width: 100%;
    min-height: 8.5em;
    height: 7em; /* ie11 center align items fix */
    margin: 0;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
}

@media screen and (max-width: 699px) {
    .Registration__ticketFallback {
        min-height: 0;
        height: auto;
    }

    .Registration__ticketFallback--desktop {
        display: none;
    }
}
