#cart-container {
    margin: 50px 50px 50px 50px;
}

.warning-area {
    padding: 20px;
    background: #ff0000;
    color: white;
    font-weight: bold;
    text-align: center;
}

.action-container {
    display: grid;
    grid-template-columns: 3fr 2fr !important;
}

.coninue-shopping-btn {
    margin: 0;
    width: 200px;
    border-radius: 10px;
}

.checkout-btn {
    float: right;
}

.cart-header {
    margin: 2em 0;
}

.payment-table-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 1em 0;
    border: solid 1px #cccccc;
    padding: 1em 0;
    max-height: 130px;
    padding-left: 2em;
}

.payment-table-row:hover {
    border: solid 1px #999999;
}

.payment-table-row div {
}

.cart-item-images {
    width: 70px;
    height: 60px;
    object-fit: contain;
}

#quantity-input {
    text-align: center;
    height: 30px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.quantity-action-buttons {
    background: #01338d;
    width: 100%;
    height: 30px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    line-height: 30px;
}
.payment-table-titles {
    color: #333333;
    font-weight: bold;
    border: none;
}

.payment-table-titles:hover {
    border: none;
}

.payment-details {
    text-align: right;
    margin: 0!important;
    padding-right: 24px;
}

.empty-cart {
    text-align: center;
    font-size: 2em;
    padding: 3em 0;
}

#success_payment {
    font-size: 60px;
    padding: 30px;
    border-radius: 50%;
    background: #01338d;
    color: white;
}

#failure_payment {
    font-size: 120px;
    color: red;
}

.payment-receipt-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
}

.paid-for-items {
    margin: 0;
    border-top: none;
    padding: 0;
}

.paid-for-items div {
    border-right: 1px solid #cccccc;
    padding: 1em 0;
    width: 100%;
}

.checkout-btn {
    width: 100%;
    margin-top: 1em;
    background: #01338d;
    color: white;
    font-weight: bold;
    border: none;
    padding: 8px 0;
    cursor: pointer;
    border-radius: 10px;
}

.remove_selection {
    color: red;
    cursor: pointer;
}

#checkout-popup {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 9999;
    background: #000000cc;
}

#checkout-popup-container {
    width: 500px;
    margin: 10% auto;
    height: fit-content;
}

#checkout-popup-container-title {
    position: relative;
    cursor: default;
    text-align: left;
    padding: 12px 20px;
    font-size: 16px;
    background: #01338d;
    color: white;
    font-weight: bold;
    border-radius: 6px 6px 0 0;
}

#checkout-popup-container-content, .checkout-popup-container-content {
    background: white;
    padding: 1em;
    display: grid;
    grid-gap: 1em;
    max-height: 500px;
    overflow: auto;
}

#close-popup {
    position: absolute;
    right: 14px;
    cursor: pointer;
}

#popup-user-info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1em;
}

#popup-user-info-container > input {
    padding: 4px 10px;
}

#PayPalContextCheckout {
}

#stripeCheckout {
    background: #6769ff;
    color: white;
    text-align: center;
    font-weight: bold;
    vertical-align: middle;
    line-height: 36px;
    border-bottom: 1px solid #6769ff;
    height: 36px;
    border-radius: 4px;
    position: relative;
}

#stripeCheckout:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 75%;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-top: 22px solid #6769ff;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
}

#payment-method-container {
    display: grid;
    grid-gap: 1em;
    position: relative;
    margin-bottom: 1em;
}

#card-element, .card-element {
    border: 1px solid #b1b1b1;
    padding: 10px;
}

.stripe-pay-button {
    width: 100%;
    border: none;
    padding: 8px 0;
    background: #01338d;
    color: white;
    font-weight: bold;
}

.apple-pay-button {
    width: 100%;
    margin-bottom: 15px;
}

#payment-form input {
    color: green!important;
    pointer-events:none;
}

#stripe-not-setup {
    margin-top: 1em;
    text-align: center;
    color: red;
    font-size: 14px;
}

.stripe-pay-button {
    text-align: center;
    cursor: pointer;
}

#card-errors {
    color: red;
    font-weight: bold;
    margin-bottom: 1em;
    font-size: 14px;
    text-align: center;
}

#stripe-pos-reader {
    color: #685ef9;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
}

#pos-spinner {
    color: #685ef9;
}

#vanco-card-errors {
    color: red;
    font-weight: bold;
    margin-top: 1em;
    font-size: 14px;
    text-align: center;
}

.vanco-card-details {
    display: grid;
    grid-template-columns:1fr 80px;
    border:1px solid #b1b1b1;
    padding: 10px;
}

.glyphicon.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg); }
    to { transform: scale(1) rotate(360deg); }
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}

[v-cloak] {
  display: none;
}

.pos-status-container {
    padding: 50px;
    border: 3px dashed lightgray;
    color: gray;
}

@media only screen and (max-width: 320px) {
	#checkout-popup-container-content, .checkout-popup-container-content {
		max-height: 380px;
	}
}

@media only screen and (max-width: 768px) {
    #cart-container {
        grid-template-columns: 1fr;
        grid-gap: 2em;
    }
}

@media only screen and (max-width: 600px) {
    .action-container {
        grid-template-columns: 1fr!important;
    }

    .coninue-shopping-btn {
        width: 100%!important;
        margin-left: 0!important;
    }

    .cart-header {
        display: grid;
    }

    #cart-container {
        margin: 20px 20px 20px 20px;
    }

    .payment-table-titles, .payment-table-row {
        padding-left: 0;
        border: none;
    }

    .no-mobile {
        display: none;
    }

    .payment-table-row {
        grid-template-columns: 20px 40px 1fr 100px 50px;
        grid-gap: 12px;
    }

    .payment-table-row .cart-item-title {
        max-width: 80px;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .payment-table-row:hover {
        border: none;
    }

    #payment-method-container {
        grid-auto-flow: unset;
    }

    .cart-item-images {
	    width: 40px;
	    height: 40px;
	}

    .cart-quantity-selector {
        grid-template-columns: 20px 30px 20px!important;
    }

    .total-to-pay, #total-transaction-fees {
        grid-template-columns: 0.1fr 0.1fr 0.1fr 3.5fr 1.2fr;
        grid-gap: 0;
    }

    #checkout-popup-container {
        width: 90%;
        margin-top: 20%;
    }

    #popup-user-info-container {
        height: auto!important;
    }

    #payment-method-container, #popup-user-info-container {
        grid-template-columns: 1fr;
    }

}
