/* General WooCommerce Styles */
.woocommerce-input-wrapper .radio {
    display: inline !important;
    margin-left: 5px;
}

.woocommerce-input-wrapper label.radio::after {
    content: "\A";
    white-space: pre;
}

.woocommerce div.product.product-type-simple form.cart,
.woocommerce .product-type-variable form.cart .variations_button {
    display: block !important;
}

/* My Account > Orders > Ticket Styles */
table.fooevents-order-table {
    margin: 1em 0;
}

.woocommerce .fooevents-order-table h2 {
    margin: 0;
    padding: 0;
    line-height: 1em;
}

.woocommerce img.fooevents-order-ticket-code,
.woocommerce-page img.fooevents-order-ticket-code {
    float: left !important;
    width: 60px;
    height: 60px;
    margin: 0 1em 0 0;
}

.fooevents-order-ticket-details {
    float: left !important;
    clear: none;
}

.woocommerce .fooevents-order-ticket-id {
    padding: 0;
    margin: 0;
}

#fooevents-thankyou-tickets {
    margin: 1em 0;
}

#fooevents-thankyou-tickets .fooevents-thankyou-tickets-table {
    width:100% !important;
    margin-bottom: 1em
}

#fooevents-thankyou-tickets .fooevents-thankyou-tickets-table td {
    vertical-align: top;
}

#fooevents-thankyou-tickets .fooevents-thankyou-tickets-table .fooevents-thankyou-ticket-barcode {
    width:160px; 
}

#fooevents-thankyou-tickets .fooevents-thankyou-tickets-table .fooevents-thankyou-ticket-event-details {
    width:38%; 
}

#fooevents-thankyou-tickets .fooevents-thankyou-tickets-table .fooevents-thankyou-ticket-attendee {
    border-right: 0
}

#fooevents-thankyou-tickets .fooevents-thankyou-tickets-table .fooevents-thankyou-ticket-pdfticketlink {
    text-align: right;
    vertical-align: top;
    white-space: nowrap;    
}

#fooevents-thankyou-tickets .fooevents-thankyou-tickets-table .fooevents-thankyou-ticket-pdfticketlink .button {
    position: static;
    transform: none;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    text-align: center;
}

#fooevents-thankyou-tickets .fooevents-thankyou-tickets-table .fooevents-thankyou-ticket-barcode img {
    max-height: 120px;
    width: auto;
    max-width:100%
}

#fooevents-thankyou-tickets .fooevents-thankyou-tickets-table ul {
    list-style: none;
    margin:0;
    padding:0;
    font-size:.9em
}

@media screen and (max-width: 30em) { 

    .woocommerce img.fooevents-order-ticket-code,
    .woocommerce-page img.fooevents-order-ticket-code {
        margin-bottom: 1em;
    }
}

@media (max-width: 1024px) {

    #fooevents-thankyou-tickets .fooevents-thankyou-tickets-table .fooevents-thankyou-ticket-event-details {
        width: auto; 
    }

}

@media (max-width: 768px) {

    #fooevents-thankyou-tickets .fooevents-thankyou-tickets-table ul {
        display: block;
        width: 100%;
        clear: both
    }

    #fooevents-thankyou-tickets .fooevents-thankyou-tickets-table ul li {
     display: block;
        width: 100%;
        clear: both
    }

    #fooevents-thankyou-tickets .fooevents-thankyou-tickets-table,
    #fooevents-thankyou-tickets .fooevents-thankyou-tickets-table tbody,
    #fooevents-thankyou-tickets .fooevents-thankyou-tickets-table tr.fooevents-thankyou-ticket,
    #fooevents-thankyou-tickets .fooevents-thankyou-tickets-table tr.fooevents-thankyou-ticket td {
        display: block;
        width: 100%;
        clear: both
    }

    #fooevents-thankyou-tickets .fooevents-thankyou-tickets-table tr.fooevents-thankyou-ticket {
        margin-bottom: 1em;
        padding: .75em;
    }

    #fooevents-thankyou-tickets .fooevents-thankyou-tickets-table tr.fooevents-thankyou-ticket td {
        border: 0;
        padding: .5em 0;
        text-align: left;
    }

    #fooevents-thankyou-tickets .fooevents-thankyou-tickets-table tr.fooevents-thankyou-ticket td + td {
        margin-top: .5em;
        padding-top: .5em;
    }

    #fooevents-thankyou-tickets .fooevents-thankyou-tickets-table .fooevents-thankyou-ticket-barcode {
        width: auto;
    }

    #fooevents-thankyou-tickets .fooevents-thankyou-tickets-table .fooevents-thankyou-ticket-barcode img {
        max-height: inherit;
        width: auto;
        max-width:100%
    }    
}
