.tc-hidden {
    display: none;
}

.tc-hidden-important {
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.tc_warning_ticket_types_needed {
    background: yellow;
    border-radius: 5px;
    padding: 10px;
    text-align: left;
    border: 1px dashed;
    font-size: 14px;
    width: 100%;
}

.tc_cart_remove_icon {
    float: right;
    display: inline-block;
    opacity: 0.5;
    transition: opacity .15s ease-in-out;
    -moz-transition: opacity .15s ease-in-out;
    -webkit-transition: opacity .15s ease-in-out;
    cursor: pointer;
}

.tc-age-check-error {
    color: red;
    display: block;
}

.tc_field_errors{
    color: #ff0000;
    font-weight: 600;
}

.tc_cart_remove_icon:hover {
    opacity: 1;
    transition: opacity .15s ease-in-out;
    -moz-transition: opacity .15s ease-in-out;
    -webkit-transition: opacity .15s ease-in-out;
}

.tc_event_data_widget {
    font-size: 0.8em;
    display: block;
}

.tc_event_date_title_front,
.tc_event_location_title_front {
    color: #8c8c8c;
    font-size: 12px;
    text-transform: uppercase;
    padding-right: 20px;
}

.tc_event_date_title_front .fa,
.tc_event_location_title_front .fa {
    padding-right: 5px;
}

.tc_the_content_pre {
    padding-bottom: 10px;
}

form#tickera_cart label.has-error, /* Tickera Standalone */
form.checkout label.has-error /* Woocommerce + Bridge for Woocommerce */
{
    color: red;
    padding-top: 5px;
}

form#tickera_cart .tickera-input-field.has-error:not( .buyer-field-checkbox ):not( .owner-field-checkbox ), /* Tickera Standalone */
form.checkout .tickera-input-field.has-error:not( .buyer-field-checkbox ):not( .owner-field-checkbox ) /* Woocommerce + Bridge for Woocommerce */
{
    border-left: 3px solid #ff0000;
}

form#tickera_cart .tickera-input-field.valid:not(.coupon_code), /* Tickera Standalone */
form.checkout .tickera-input-field.valid:not(.coupon_code) /* Woocommerce + Bridge for Woocommerce */
{
    border-left: 3px solid #09a10f;
}

.tickera-payment-gateways {
    border: 1px solid #f1f1f1;
    padding: 6px 10px;
    width: 100%;
    margin-bottom: 15px;
}

.tickera-hide-button {
    display: none;
}

.tickera-payment-gateways .tc_gateway_form {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.5s ease-in-out;
    -moz-transition: max-height 0.5s ease-in-out;
    -ms-transition: max-height 0.5s ease-in-out;
    transition: max-height 0.5s ease-in-out;
}

.tickera-payment-gateways .tc_gateway_form .inner-wrapper {
    padding: 30px 0;
}

.tickera-payment-gateways .plugin-title {
    font-size: 0.9em;
}

.tickera-payment-gateways .plugin-title label {
    margin-bottom: 0;
}

.tickera-payment-gateways .plugin-title img {
    vertical-align: middle;
}

.tickera-payment-options {
    margin-left: 15px;
}

.tc_cart_payment_methods th {
    padding: 20px 7px;
}

.tc_gateway_form thead  th {
    padding: 20px 7px;
}

.tickera_table {
    width: 100%;
}

.cart_success{
    color: green;
}

.tc_cart_billing {
    width: 100%;
    margin-bottom: 30px;
}

.tc_cart_billing th {
    margin: 10px 0;
}

.tc_gateway_form td {
    padding: 7px;
}

.info_section h2 {
    float: left;
    width: 100%;
}

.tickera input {
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.tickera select {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 5px;
    max-width: 4em;
    width: 100%;
    margin: auto;
    display: block;
}

.tickera-input-field {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 7px;
}

.tc_cart_payment_methods {
    width: 100%;
}

.tc-form-disable {
    position: absolute;
    top: -20px;
    bottom: -20px;
    left:-20px;
    right: -20px;
    background-color: rgba(255, 255, 255, 0.8);
}

.tickera_owner_info .tc_cart_remove_icon {
    opacity: 1;
}

.tc-delete-loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #6b5f89;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: tcspin 2s linear infinite;
    z-index: 99;
    position: absolute;
}

@keyframes tcspin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



.ticket-info-wrap {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0 0 40px 0;
    float:left;
    width: 100%;
}

.fields-wrap input {
    float: left;
}

.fields-wrap label {
    width: 100%;
}

.fields-wrap span {
    float: left;
    width: 100%;
    margin-bottom: 10px;
}

.field-name {
    float: left;
}

.cart_error {
    color: red;
}

.tc-cart-form-widget {
    width: 100%;
    margin: 0 auto 0 auto;
}

.event_tickets.tickera input[type="number"]::-webkit-inner-spin-button,
.event_tickets.tickera input[type="number"]::-webkit-outer-spin-button,
.tickera-checkout input[type="number"]::-webkit-inner-spin-button,
.tickera-checkout input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.event_tickets.tickera input[type="number"],
.tickera-checkout input[type="number"] {
    -moz-appearance: textfield;
}

.tickera-checkout {
    font-family: Helvetica, Arial, sans-serif;
    color: #555;
}

.tickera-checkout .ticket-price {
    text-align: center;
}

.tickera-checkout .ticket-quantity {
    text-align: center;
}

.ticket-quantity .inner-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ticket-quantity .inner-wrap > * {
    margin: auto;
}

.ticket-quantity .quantity,
.event_tickets.tickera .tc_quantity_selector,
.tc-event-add-to-cart-dropdown .tc_quantity_selector,
.tc-add-to-cart-group-wrap ~ .tc-add-to-cart-wrap .tc_quantity_selector {
    width: 75px;
    text-align: center;
    border: 1px solid #e7e7e7;
    margin: 0;
}

.ticket-quantity .plus {
    margin-left: -4px;
}

.ticket-quantity .tickera_button {
    background: none;
    border: none;
    color: #4187c9;
    font-size: 15px;
    height: 30px;
    outline: none;
    padding: 5px;
    margin: 0;
}

.ticket-quantity .tickera_button:hover {
    cursor: pointer;
    color: #555;
    background-color: transparent;
}

.ticket-quantity .tickera_button:hover,
.ticket-quantity .tickera_button:focus {
    background: transparent;
    border: none;
}

.tickera-checkout tr {
    border-bottom: 1px solid #e7e7e7;
}

.tickera-checkout tr th {
    font-size: 14px;
    font-weight: bold;
    padding:10px;
}

.tickera-checkout thead tr th:nth-child(2),
.tickera-checkout thead tr th:nth-child(3),
.tickera-checkout thead tr th:nth-child(4),
.tickera-checkout tbody tr td:nth-child(2),
.tickera-checkout tbody tr td:nth-child(3),
.tickera-checkout tbody tr td:nth-child(4){
    text-align: center;
}

.tickera-checkout tr th:first-child {
    text-align: left;
}

.tickera-checkout tr th:last-child, .ticket-total {
    text-align: right;
}

.tickera-checkout tbody tr td {
    vertical-align: middle;
}

.tickera-button {
    border: none;
    color: #fff;
    padding: 13px 20px;
    background-color: #4187c9;
    border: none;
}

#tc_payment_form .tc_payment_confirm {
    text-decoration: none;
}

#tc_payment_form .tc_payment_confirm:hover,
#tc_payment_form .tc_payment_confirm:focus,
#tc_payment_form .tc_payment_confirm:focus-visible {
    outline: none;
}

.tickera-button:not(.tickera_checkout):hover,
.tickera-button:not(.tickera_checkout):focus,
.tickera-button:not(.tickera_checkout):focus-visible {
    background-color: #285F96;
}

.tickera_checkout{
    margin: 30px 0 0 0;
    cursor: pointer;
}

.tickera_checkout:hover,
.tickera_checkout:focus,
.tickera_checkout:focus-visible {
    background-color: #7cc576;
    color: #fff;
}

.coupon-code {
    font-size: 15px;
    border: 1px solid #e7e7e7;
    margin-bottom: 10px;
}

.tickera-checkout .ticket-total-all {
    font-weight: bold;
    text-align: right;
}

.ticket-total-all span {
    margin-bottom: 10px;
}

.tickera-checkout .last-table-row td {
    padding: 20px 10px;
}

.tickera-checkout .action-wrap {
    display: flex;
    gap: 10px;
}

.tickera-checkout .discount-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tickera-checkout .coupon_code {
    width: 50%;
    height: 100%;
    min-width: 150px;
}

.tickera-checkout .update-wrap {
    flex: 1;
    display: flex;
    gap: 10px;
    justify-content: right;
}

.tickera-checkout .apply_coupon.tc-hidden {
    display: none;
}

#tickera_cart input[type="submit"],
#tickera_cart input[type="submit"]:hover,
#tickera_cart input[type="submit"]:focus {
    text-decoration: none;
    outline: none;
}

.ticket-info-wrap p {
    line-height: 0;
    margin: 0;
}

#tickera_cart .tickera_buyer_info {
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 19px;
    padding-bottom: 20px;
    float: left;
    width: 100%;
}

.tickera_buyer_info h5 {
    float: left;
    width: 100%;
}

.tickera_additional_info select {
    display: inline-block;
    max-width: unset;
}

.tc_cart_payment_methods label {
    margin-bottom: 0px;
    float: left;
    width: 100%;
}

.tc_cart_errors {
    color: #FA1010;
}

.tc_in_cart {
    width: 100%;
    display: block;
}

.order_details_title {
    font-weight: bold;
    display: inline-block;
    width: 130px;
}

span.total_item_title {
    display: inline-block;
    font-weight: normal;
}

span.total_item_amount {
    display: inline-block;
    min-width: 85px;
    font-weight: normal;
}

span.cart_total_price_title,
span.cart_total_price {
    font-weight: bold;
    margin-top: 14px;
    margin-bottom: 0;
}

/* Cart Widget */
.tc_widget_cart_button {
    text-align: center;
    float: right;
    margin-top: 20px;
}

.tc-clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .tc-clearfix {
    display: block;
}

* html .tc-clearfix {
    height: 1%;
}


.payment-option-wrap {
    width: 33%;
    float:left;
    text-align: center;
    margin-bottom: 20px;
}

.payment-option-wrap:hover {
    cursor: pointer;
}

.payment-image-check {
    height: 70px;
    overflow: hidden;
}

.payment-option-wrap img {
    margin: -72px 0 0 0;
    width: auto !important;
}

.tc_choose_gateway {
    margin-right: 7px;
}

.payment-option-wrap label img {
    pointer-events: none;
    position: relative;
    max-width: none;
}

.payment-option-wrap label {
    display: inline-block;
    position: relative;
}

.payment-option-wrap label::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.tc_redirect_message {
    display: none;
}

.tickera-payment-gateways .free_orders.plugin-title {
    display: none;
}

.tc_checkout_error_info {
    color: red;
}

.tc-tooltip-content {
    display: block;
    padding: 10px 20px;
    margin: 0;
    border: 2px solid var( --wp--preset--color--foreground, #ccc );
    border-radius: 20px;
    border-bottom-left-radius: 0;
    font-size: 0.8em;
    max-width: 200px;
    line-height: 1.5;
    color: var( --wp--preset--color--foreground, #000 );
    background: var( --wp--preset--color--background, #fff );
}

.tc-event-dropdown-wrap .add-to-cart p {
    margin: 0;
}

.tc-event-dropdown-wrap .inner-wrap,
.tc-event-dropdown-wrap .cart_form {
    display: inline-flex;
    align-items: center;
}

.tc-event-dropdown-wrap .tc_in_cart,
.tc-event-dropdown-wrap .tc_tickets_sold {
    margin-left: 10px;
}

.tc-event-dropdown-wrap .actions .add-to-cart {
    display: none;
}

.tc-event-dropdown-wrap .actions .add-to-cart:first-child {
    display: inline-block;
}

.event_tickets.tickera a:focus,
.event_tickets.tickera a:focus-visible,
.event_tickets.tickera form:focus,
.event_tickets.tickera form:focus-visible {
    outline: none;
}

/* Email Verification */
.tc_email_verify {
    position: relative;
    width: 30% !important;
    left: -100px;
    top: 54px;
    background: #6b5f89;
    color: #fff;
    box-shadow: none;
    border: none;
    padding: 15px 18px;
    font-size: 1.05em;
    line-height: 1.6em;
    text-align: center;
}

/* Cart Page */
#tickera_cart .tc-cart-form-inner {
    position: relative;
}

#tickera_cart .proceed-to-checkout-container {
    text-align: right;
}

/**
 * ================================================
 * Mobile Responsiveness
 * ================================================
 */
@media only screen and ( max-width: 1270px ) {

    .tc-cart-form-widget {
        width: 100%;
    }
}

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

    .tc-cart-form-widget {
        width: 100%;
    }
}

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

    .tc-cart-form-widget {
        width: 100%;
    }
}

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

    .tc-cart-form-widget {
        width: 100%;
    }

    .tickera-checkout tr th {
        font-size: 14px;
    }

    .tickera-checkout tbody tr td,
    .event_tickets th,
    .event_tickets td {
        font-size: 13px;
    }
    .tc_gateway_form td {
        padding: 7px 2px;
    }

    .tc_gateway_form td {
        font-size: 14px;
    }

    .payment-option-wrap {
        width: 50%;
    }

    .tickera-checkout .action-wrap {
        flex-direction: column;
        gap: 10px;
    }

    .tickera-checkout .discount-wrap {
        flex-direction: column;
    }

    .tickera-checkout .coupon_code,
    .tickera-checkout .apply_coupon {
        width: 100%;
        text-align: center;
    }

    .tickera-checkout .discount-wrap .message {
        margin-bottom: 20px;
    }

    .tickera-checkout .update-wrap > * {
        flex: 1;
    }
}

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

    .tc-cart-form-widget {
        width: 100%;
    }

    .ticket-price, .ticket-price-header {
        display: none;
    }

    .coupon-code {
        width: 200px;
        margin: 10px 0 10px 0;
    }

    .tickera_additional_info input[type=text],
    .tickera_additional_info input[type=password],
    .tickera_additional_info input[type=email] {
        width: 100%;
        margin: 8px 0 10px 0;
    }

    .tickera-checkout .tickera_update,
    .tickera_checkout {
        width: 100%;
    }
}

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

    .tc-cart-form-widget {
        width: 100%;
    }

    .ticket-quantity .tickera_button {
        width: 100%;
        margin: 0;
    }

    .coupon-code {
        width: 248px;
        margin: 10px 0 10px 0;
    }
}

/**
 * Order Tickets Table
 */
@media only screen and ( max-width: 480px ) {

    table.order-details {
        border: 0 !important;
    }

    table.order-details tbody {
        border: 0 !important;
    }

    table.order-details th, table.order-details td {
        border: 0.1rem solid #dcd7ca;
        border-bottom: 0;
    }

    table.order-details tr:first-child {
        display: none;
    }

    table.order-details tr {
        display: block;
        border-bottom: 0.1rem solid #dcd7ca !important;
        margin-bottom: 10px !important;
    }

    table.order-details td {
        display: block;
        text-align: right;
    }

    table.order-details td:empty {
        display: none;
    }

    table.order-details td::before {
        content: attr(data-column);
        float: left;
        font-weight: bold;
        text-transform: capitalize;
    }

    table.order-details td:last-child {
        border-bottom: 0;
    }
}

/**
 * Event Tickets Table
 */
@media only screen and ( max-width: 320px ) {

    table.event_tickets {
        border: 0 !important;
    }

    table.event_tickets th, table.event_tickets table td {
        border: 0.1rem solid #dcd7ca;
        border-bottom: 0;
    }

    table.event_tickets tr:first-child {
        display: none;
    }

    table.event_tickets tr {
        border-bottom: 0.1rem solid #dcd7ca;
        display: block;
        margin-bottom: 10px;
    }

    table.event_tickets td {
        display: block;
        text-align: right;
        border-bottom: 0;
    }

    table.event_tickets td:empty {
        display: none;
    }

    table.event_tickets td::before {
        content: attr(data-column);
        float: left;
        font-weight: bold;
        text-transform: capitalize;
    }

    table.event_tickets td:last-child {
        border-bottom: 0;
    }

    table.event_tickets .tc_quantity_selector {
        display: inline-block;
    }
}
