/* 
This CSS file is used to apply front-end styles for the Stripe Payments plugin.

This CSS file is enqueued from the front-end using the 'stripe-handler-ng-style' handler. So it will be available on every page of the front end.

Used in the [asp_product] shortcode also.
CSS class names should use dashes. Example: asp-product-description
*/

/* Small Spinner */
.asp-spinner {
    text-indent: -9999px;
    vertical-align: middle;
    margin-left: 5px;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #333;
    animation: asp-spinner .6s linear infinite;
}

@keyframes asp-spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Button Spinner */
.asp-btn-spinner-container {
    width: 100%;
    text-align: center;
    padding: 10px;
}

.asp-btn-spinner {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

.asp-btn-spinner div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 51px;
    height: 51px;
    margin: 6px;
    border: 6px solid #6fcef3;
    border-radius: 50%;
    animation: asp-btn-spinner 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #6fcef3 transparent transparent transparent;
}

.asp-btn-spinner div:nth-child(1) {
    animation-delay: -0.45s;
}

.asp-btn-spinner div:nth-child(2) {
    animation-delay: -0.3s;
}

.asp-btn-spinner div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes asp-btn-spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.asp_line_through {
    text-decoration: line-through;
}

.asp_product_coupon_input_container {
    margin: 5px 0 10px 0;
}

.asp_btn_normalize {
    text-transform: none;
    border: none;
    margin: 0;
    padding: 0;
    width: auto;
    overflow: visible;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: normal;
    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;
    -webkit-appearance: none;
}

&::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.asp_product_custom_field_error {
    display: none;
    color: red;
}

.asp_out_of_stock {
    font-weight: bold;
}

.asp_product_buy_button input, .asp_product_buy_button select {
    display: inline-block;
    line-height: 1;
    padding: 8px 10px;
    height: auto;
}

.asp_product_custom_field_label {
    margin-right: 10px;
}

.asp-product-variations-label {
    margin-right: 10px;
}

.asp_product_coupon_field_label {
    margin-right: 10px;
}

.asp_product_coupon_input_container input.asp_product_coupon_field_input {
    width: auto;
    max-width: 200px;
    margin-right: 10px;
}

.asp_product_buy_btn_container {
    display: inline-block;
}

.asp_product_buy_button input::placeholder {
    font-style: italic;
    color: #bbb;
}

@keyframes blink {
    0% {
        opacity: .2;
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.asp-processing-cont {
    display: none !important;
}

.asp-processing i {
    animation-name: blink;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

.asp-processing i:nth-child(2) {
    animation-delay: .1s;
}

.asp-processing i:nth-child(3) {
    animation-delay: .2s;
}

.asp-popup-iframe {
    z-index: 2147483647;
    background: rgba(0, 0, 0, 0.004);
    border: 0px none transparent;
    overflow: auto;
    -webkit-overflow-scrolling: touch !important;
    visibility: visible;
    margin: 0px;
    padding: 0px;
    -webkit-tap-highlight-color: transparent;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

.asp-popup-iframe-cont {
    align-items: center;
    justify-content: center;
    z-index: 2147483647;
    background: rgba(0, 0, 0, .3);
    border: 0px none transparent;
    overflow: auto;
    -webkit-overflow-scrolling: touch !important;
    visibility: visible;
    margin: 0px;
    padding: 0px;
    -webkit-tap-highlight-color: transparent;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

.asp-popup-spinner-cont {
    text-align: center;
    height: 85px;
    padding-top: 10px;
}

@media (max-width: 500px) {
    .asp_product_buy_btn_container {
        display: block;
        margin-left: 0;
        margin-top: 10px;
        text-align: center;
        width: 100%;
    }
}

/* Start of 'Thank You' page shortcode related CSS */
.asp-order-data-box {
    display: flex;
    border-style: solid;
    border-color: lightgrey;
    border-width: 1px 0 0 1px;
    width: 100%;
 }

.asp-order-data-box-col{
    border-style: solid;
    border-color: lightgrey;
    border-width: 0 1px 1px 0;
    word-break: break-all;
    flex-grow: 1;
    padding: 15px;
}

.asp-order-data-box-col :first-child {
    font-weight: bold;
    margin-bottom: 10px;
    margin-right: 10px;
}

@media screen and (max-width: 768px) {
    .asp-order-data-box {
        flex-direction: column;
    }
}

.asp-order-details-table,
.asp-order-downloads-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid lightgray;
}

.asp-order-details-table td,
.asp-order-details-table th,
.asp-order-downloads-table td,
.asp-order-downloads-table th {
    padding: 15px;
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
}

.asp-order-shipping-address,
.asp-order-billing-address {
    padding: 15px;
    border: 1px solid lightgray;
    white-space: pre-line;
}
/* End of 'Thank You' page shortcode related CSS */
/*
This CSS file is used to apply styles to the product display output. 
Used by the [asp_product] shortcode. Also used by the individual custom post type (CPT) page of the product.
CSS class names should use dashes. Example: asp-product-description
*/
.asp_product_item {
    display: block;
    border: 1px solid #E7E9EB;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 15px;
}
.asp_product_item_thumbnail img {
    width: 75px;
    height: 75px;
    float: left;
    margin-right: 10px;
    object-fit: cover;
}

.asp_product_name {
    float: left;
    font-size: 24px;
    font-weight: bold;
    line-height: 75px;
}

.asp_product_description {
    margin: 15px 0 15px 0;
    border-bottom: 1px solid #EEEEEE;
}

.asp_price_container {
    font-weight: bold;
    margin: 5px 0px;
}

.asp_price_container .asp_under_price_line {

}

.asp_product_item_amount_input_container, .asp_product_custom_field_input_container, .asp_product_currency_input_container{
    margin: 5px 0 10px 0;
}

.asp_product_item_qty_input_container{
    margin: 10px 0;
}
.asp_product_item_qty_input{
    max-width: 50px;
}

/* Post Item */
.asp_post_item {
    width: 90%;
}
.asp_post_item_top {
    display: block;
}

.asp_post_thumbnail img {
    width: 100%;
    border: 1px solid #e8e4e3;
    padding: 5px;
}

.asp_post_title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Buttons */

.asp_product_buy_button input {
    display: inline-block;
    line-height: 1;
    padding: 8px 10px;
}

.asp_product_buy_button input::placeholder {
    font-style: italic;
    color: #bbb;
}

.asp_product_buy_button {
    display: block;
}

.asp_product_buy_btn{
    text-decoration: none;
    font: bold 13px/13px HelveticaNeue, Arial;
    padding: 8px 15px;
    text-transform: none;
    height: 32px;
    border-radius: 4px;
    vertical-align: middle;
    border: 0;
}
.asp_product_buy_btn:hover{
    transition: none;
    text-transform: none;
}

.asp_product_buy_btn span {
    vertical-align: middle;
}

@media (max-width: 500px) {
    .asp_product_buy_btn {
	min-width: 130px;
    }
    .asp-stripe-form {
	text-align: center;
    }
    .asp_price_container {
	text-align: center;
    }
}

.asp_product_buy_btn.blue {
    background: #92dbf6;
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#abe4f8', endColorstr='#6fcef3'); /*  IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#abe4f8), to(#6fcef3)); /*  WebKit */
    background: -moz-linear-gradient(top,  #abe4f8, #6fcef3);
    border-color: #8dc5da #76b7cf #63abc7;
    color: #1E4657 !important;
    text-shadow: 0 1px 0 #b6e6f9;
    -webkit-box-shadow: 0 1px 1px #d6d6d6, inset 0 1px 0 #c0ebfa;
    -moz-box-shadow: 0 1px 1px #d6d6d6, inset 0 1px 0 #c0ebfa;
    box-shadow: 0 1px 1px #d6d6d6, inset 0 1px 0 #c0ebfa;
}
.asp_product_buy_btn.blue:hover {
    background: #92dbf6;
    border-color: #7caec0 #68a3ba #5a9cb5;
    text-shadow: 0 1px 0 #bee9fa;
    -webkit-box-shadow: 0 1px 1px #d6d6d6, inset 0 1px 0 #ade4f8;
    -moz-box-shadow: 0 1px 1px #d6d6d6, inset 0 1px 0 #ade4f8;
    box-shadow: 0 1px 1px #d6d6d6, inset 0 1px 0 #ade4f8;
}
.asp_product_buy_btn.green {
    background: #b7d770;
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#cae285', endColorstr='#9fcb57'); /*  IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#cae285), to(#9fcb57)); /*  WebKit */
    background: -moz-linear-gradient(top,  #cae285, #9fcb57);
    border-color: #adc671 #98b65b #87aa4a;
    color: #2F4014 !important;
    text-shadow: 0 1px 0 #cfe5a4;
    -webkit-box-shadow: 0 1px 1px #d3d3d3, inset 0 1px 0 #d7e9a4;
    -moz-box-shadow: 0 1px 1px #d3d3d3, inset 0 1px 0 #d7e9a4;
    box-shadow: 0 1px 1px #d3d3d3, inset 0 1px 0 #d7e9a4;
}
.asp_product_buy_btn.green:hover {
    background: #b9d972;
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#b8d872', endColorstr='#b9d972'); /*  IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#b8d872), to(#b9d972)); /*  WebKit */
    background: -moz-linear-gradient(top,  #b8d872, #b9d972);
    border-color: #8bb14d #83a648 #7d9e45;
    text-shadow: 0 1px 0 #d5e8aa;
    -webkit-box-shadow: 0 1px 1px #d5d5d5, inset 0 1px 0 #cae295;
    -moz-box-shadow: 0 1px 1px #d5d5d5, inset 0 1px 0 #cae295;
    box-shadow: 0 1px 1px #d5d5d5, inset 0 1px 0 #cae295;
}

.migration-checkout-form{text-align:center;margin:1.5em 0}.migration-buy-button{cursor:pointer}.migration-checkout-status{font-size:14px;line-height:1.6}.migration-buy-button:disabled{opacity:.6;cursor:wait}.migration-search-results a{display:block;padding:18px 0;border-bottom:1px solid #ddd}.migration-search-results small{display:block;color:#666}
.migration-product-grid .wp-asp-grid-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.migration-product-grid .wp-asp-grid-item{box-sizing:border-box;min-width:0;border:1px solid #ddd;padding:20px;text-align:center;background:#fff}.migration-product-grid .wp-asp-product-name{font-size:18px;line-height:1.6;margin:0 0 12px}.migration-product-grid .wp-asp-product-price{font-size:18px;font-weight:700;margin:12px 0}.migration-product-grid .migration-checkout-form{margin-bottom:0}.migration-contact-form input:not([type=submit]),.migration-contact-form textarea{box-sizing:border-box;max-width:100%;width:100%}.migration-contact-form textarea{min-height:180px}.migration-contact-status:empty,.migration-checkout-status:empty{margin:0}.migration-purchase-compat{line-height:1.8}@media(max-width:640px){.migration-product-grid .wp-asp-grid-row{grid-template-columns:minmax(0,1fr)}}.asp_product_item .migration-checkout-form{margin:0;text-align:left}@media(max-width:500px){.asp_product_item .migration-checkout-form{text-align:center}}