/* Basic styles for the challenge template and popup */

.title_wrapper {
    position: relative;
    height: 300px; /* Adjust as needed */
    overflow: hidden;
}

.title_image {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    position: absolute;
    top: 0;
    left: 0;
}

.bg_gradient {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
}

.bg_darken {
    background: rgba(0,0,0,0.3);
}

.title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    text-align: center;
}

.title_text_wrapper {
    padding: 20px;
}

.title_text_h0 {
    font-size: 2em;
    font-weight: bold;
}

.title_text_h1 {
    font-size: 3em;
    font-weight: bold;
}

.page {
    padding: 20px 0;
}

.shelf_wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content_wrapper {
    display: flex;
    flex-wrap: wrap;
}

.content_top {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.content_right {
    width: 30%;
    padding-left: 20px;
}

.content_left {
    width: 70%;
    padding-right: 20px;
}

@media (max-width: 768px) {
    .content_right, .content_left {
        width: 100%;
        padding: 0;
    }
}

/* Tickets Table */
.challenges_2col_table, .event_1col_block {
    border: 1px solid #eee;
    margin-bottom: 20px;
    padding: 15px;
}

.challenges_2col_row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
}

.challenges_2col_row:last-child {
    border-bottom: none;
}

.challenges_2col_l {
    font-weight: bold;
}

.sc_button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #cc0000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

/* Payment Popup */
.payment_popup {
    padding: 20px;
    background: #fff;
    max-width: 800px;
    margin: 20px auto;
}

.tix_basket_wrapper {
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 20px;
}

.tix_basket_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.tix_basket_head_col_1 h1 {
    margin: 0;
    font-size: 1.5em;
}

.tix_basket_head_col_1 h2 {
    margin: 5px 0 0;
    font-size: 1.2em;
    color: #666;
}

.tix_basket_price_wrapper, .tix_basket_qty_wrapper {
    text-align: right;
}

.tix_basket_price_lbl, .tix_basket_qty_lbl {
    font-weight: bold;
}

.qty_pull_down {
    width: 80px;
    padding: 5px;
}

.tix_basket_total_row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.col_1_total_wrapper {
    font-weight: bold;
}

.tix_section_wrapper {
    margin-bottom: 20px;
}

.tix_section_heading {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
}

.tix_form_details_block {
    padding: 10px;
    border: 1px solid #eee;
}

.tix_form_line {
    margin-bottom: 15px;
}

.tix_form_label {
    margin-bottom: 5px;
}

.tix_form_entry_box, .tix_form_pull_down {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.payments_btn_cntr_cls input[type="submit"], .payments_btn_cntr_cls input[type="button"] {
    padding: 10px 20px;
    background-color: #cc0000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
}

#stripeResponse {
    color: red;
    margin-top: 10px;
}

.form_msg {
    background: #7fef2b;
    color: green;
    padding: 20px;
    font-weight: bold;
}

.validation_error {
    color: red;
    font-weight: bold;
}


