/* =========================================================
   FOFCON / NEXT GEN EVENT TICKET TABLE
   ========================================================= */

/* Give the ticket section all available space */
#neon-page-1 .ticket-table-header,
#neon-page-1 .ticket-table-row {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   TICKET NAME
   --------------------------------------------------------- */

#neon-page-1 .ticket-table-row .col-name > span {
    display: block !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    margin: 0 0 5px 0 !important;
}


/* ---------------------------------------------------------
   TICKET DESCRIPTION
   --------------------------------------------------------- */

#neon-page-1 .ticket-table-row .ticket-desc {
    display: block !important;
    font-style: italic !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}


/* ---------------------------------------------------------
   SPACE BETWEEN EACH TICKET / SPONSORSHIP
   --------------------------------------------------------- */

#neon-page-1 .ticket-table-row {
    display: flex !important;
    align-items: center !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    min-height: 0 !important;
}

/* Divider between ticket options */
#neon-page-1 .ticket-table-row + .ticket-table-row {
    border-top: 1px solid #e1e5eb !important;
}


/* ---------------------------------------------------------
   COLUMN WIDTHS
   Give the ticket description as much room as possible
   --------------------------------------------------------- */

#neon-page-1 .ticket-table-row .col-name,
#neon-page-1 .ticket-table-header .col-name {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    padding-right: 15px !important;
}

/* Price column */
#neon-page-1 .ticket-table-row .col-price,
#neon-page-1 .ticket-table-header .col-price {
    flex: 0 0 80px !important;
    width: 80px !important;
    min-width: 80px !important;
    text-align: right !important;
    padding-left: 5px !important;
    padding-right: 10px !important;
}

/* Quantity column */
#neon-page-1 .ticket-table-row .col-qty,
#neon-page-1 .ticket-table-header .col-qty {
    flex: 0 0 70px !important;
    width: 70px !important;
    min-width: 70px !important;
    text-align: center !important;
}


/* ---------------------------------------------------------
   TABLE HEADER
   --------------------------------------------------------- */

#neon-page-1 .ticket-table-header {
    display: flex !important;
    align-items: center !important;
}

#neon-page-1 .ticket-table-header .col-name,
#neon-page-1 .ticket-table-header .col-price,
#neon-page-1 .ticket-table-header .col-qty {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}


/* ---------------------------------------------------------
   QUANTITY INPUT
   --------------------------------------------------------- */

#neon-page-1 .col-qty input,
#neon-page-1 .col-qty select {
    width: 55px !important;
    max-width: 55px !important;
    min-width: 55px !important;
    box-sizing: border-box !important;
}


/* ---------------------------------------------------------
   GENERAL SPACING
   --------------------------------------------------------- */

#neon-page-1 .ticket-table-row .col-name {
    overflow-wrap: normal !important;
    word-break: normal !important;
}


/* =========================================================
   MOBILE
   Stack information more naturally on small screens
   ========================================================= */

@media screen and (max-width: 600px) {

    #neon-page-1 .ticket-table-row {
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    #neon-page-1 .ticket-table-row .col-name {
        flex: 0 0 100% !important;
        width: 100% !important;
        padding-right: 0 !important;
        margin-bottom: 10px !important;
    }

    #neon-page-1 .ticket-table-row .col-price {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        text-align: left !important;
        padding-left: 0 !important;
    }

    #neon-page-1 .ticket-table-row .col-qty {
        flex: 0 0 70px !important;
        width: 70px !important;
        min-width: 70px !important;
        text-align: right !important;
    }

    #neon-page-1 .ticket-table-header {
        display: none !important;
    }

    #neon-page-1 .ticket-table-row .col-name > span {
        font-size: 16px !important;
    }

    #neon-page-1 .ticket-table-row .ticket-desc {
        font-size: 13px !important;
    }
}