/* WooCommerce customizations */

.woocommerce a.button,
.woocommerce button.button {
    background-color: #0056ad !important;
    outline-color: #0056ad;
    color: #fefefe !important;
}
.woocommerce button.button:disabled[disabled] {
    color: #fefefe !important;
}
.woocommerce a.button.alt {
    background-color: #006FB8 !important;
    outline-color: #006FB8;
}
.woocommerce-message::before {
    color: #006FB8 !important;
}
.woocommerce div.product p.price {
    color: #006FB8 !important;
}
.woocommerce div.product span.price {
    color: #006FB8 !important;
}
.woocommerce div.product .stock {
    color: #006FB8 !important;
}
.woocommerce-message {
    border-top-color: #006FB8 !important;
}

.woocommerce-checkout p.woocommerce-invalid-required-field span.error {
    display: block !important;
    color: #a00;
    font-weight: bold;
}

.loading {
    margin-left: 1rem;
    height: 1.5rem;
}

.ticket-datepicker {
    margin: 0 1rem;
    width: calc(100% - 2rem);
    max-width: 300px;
}

.ticket-datepicker-label {
    font-size: 1rem;
    font-weight: bold;
}

.ticket-datepicker-input {
    font-size: 1.5em;
    border-color: rgba(0, 111, 184, 0.5);
}

.day-pass-tickets-list {
    opacity: 0;
    transition: opacity 0.3s;
}

.day-pass-tickets-list.show-result {
    opacity: 1;
}

.ticket-product-result {
    position: relative;
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: 1px solid #006FB8;
    background-color: rgba(0, 111, 184, 0.2);
    margin: 1rem;
    padding: 1rem;
}
@media (max-width: 640px) {
    .ticket-product-result, input.ticket-datepicker {
        width: 100%;
        margin: 1rem 0;
    }
}
.ticket-product-result .ticket-title {
    width: 38%;
    padding-right: .5rem;
}

.ticket-product-result .ticket-price {
    flex-grow: 1;
    text-align: center;
}

.ticket-product-result .ticket-title p {
    font-size: .95rem;
    margin: 0;
}

.ticket-product-result .ticket-title__title {
    font-weight: 700;
    font-size: 1rem;
    color: #333;
}

.ticket-product-result form {
    display: flex;
    align-items: center;
    width: 100%;
}
.ticket-product-result form > * {
    padding: 0 .5rem;
}

/**
HIDE BARCODE FROM CHECKOUT PAGE
 */
#barcode_container {
    display: none;
}
#barcode-scan-form form {
    background-color: #006FB8;
    padding: 2rem;
    margin-bottom: 2rem;
}
#barcode-scan-form input#scan-code {
    margin: 0 !important;
}
#barcode-scan-form input[type="text"] {
    font-size: 1.2em;
}
#barcode-scan-form input[type="submit"] {
    margin-top: 2rem;
    padding: 1rem;
}
#barcode-scan-form select {
    font-size: 1.2em;
}
#barcode-scan-result {
    margin: 1rem;
}