/* Sidebar at checkout */
.opc-block-summary.subscription-update a.cancel {
  color: #e90e0e;
  text-decoration: none;
  cursor: pointer;
}
/* OnePage Checkout payment section */
.opc-payment .subscription-update.review .payment-method-content {
  display: block;
  padding: 1em 0;
}
.opc-payment .subscription-update.review .payment-method-content div.plan {
  margin-bottom: 1em;
}
.opc-payment .subscription-update.review .payment-method-content div.plan th {
  font-weight: normal;
}
@media (min-width: 1200px) {
  .opc-payment .subscription-update.review .payment-method-content div.plan {
    display: inline-block;
    width: 45%;
    margin-right: 4%;
  }
}
@media (max-width: 770px) {
  .opc-payment .subscription-update.review .payment-method-content {
    padding: 1em;
  }
}
/* Payment Element */
.stripe-payments-elements.no-wrap {
  white-space: nowrap;
  margin-bottom: 10px;
}
.stripe-permanent-error {
  text-align: center;
  padding: 0 2em 2em 2em;
  font-size: large;
}
/* My Subscriptions customer account section */
a.subscription-name {
  display: block;
}
.subscription-card input {
  margin-right: 5px;
}
.subscription-card {
  padding: 5px 0 0 5px;
}
.subscription-card .exp,
.details.stripe-payments .exp {
  color: #aaa;
}
.subscription-card.add-new {
  padding: 10px;
  text-align: center;
}
.stripe-subscriptions .section b {
  padding-bottom: 0.5em;
  display: inline-block;
}
.stripe-subscriptions .subscription-name {
  font-size: 1.1em;
}
.stripe-subscriptions div.billed {
  font-size: smaller;
  color: #999;
}
body.stripe_payments-customer-subscriptions {
  /* Actions dropdown */
}
body.stripe_payments-customer-subscriptions .stripe-subscription-edit {
  margin-left: -5px;
  max-height: 30em;
  overflow: hidden;
  transition: max-height;
  transition-duration: 0.8s;
  vertical-align: top;
  display: inline-block;
}
body.stripe_payments-customer-subscriptions .stripe-subscription-edit .section {
  padding: 5px;
}
body.stripe_payments-customer-subscriptions .stripe-subscription-edit span.label {
  margin-left: 5px;
}
body.stripe_payments-customer-subscriptions .stripe-subscription-edit.payment-method img.icon {
  position: relative;
  top: 10px;
}
body.stripe_payments-customer-subscriptions .stripe-subscription-edit.payment-method span.exp {
  margin-left: 12px;
}
body.stripe_payments-customer-subscriptions .stripe-subscription-edit.payment-method label {
  position: relative;
  top: -2px;
  padding-left: 5px;
}
body.stripe_payments-customer-subscriptions .stripe-subscription-edit .details {
  padding-bottom: 1.2em;
}
body.stripe_payments-customer-subscriptions .stripe-subscription-edit .action.edit {
  margin-left: 10px;
}
body.stripe_payments-customer-subscriptions .stripe-subscription-edit.show {
  max-height: 30em;
}
body.stripe_payments-customer-subscriptions .stripe-subscription-edit .section {
  margin: 5px 0;
}
body.stripe_payments-customer-subscriptions .stripe-subscription-edit .mutable {
  display: none;
}
body.stripe_payments-customer-subscriptions .stripe-subscription-edit .actions {
  margin-top: 10px;
}
body.stripe_payments-customer-subscriptions .stripe-subscription-edit input {
  margin: 2px 0;
}
@media only screen and (max-width: 639px) {
  body.stripe_payments-customer-subscriptions .stripe-actions-dropdown {
    margin-top: 1em;
  }
  body.stripe_payments-customer-subscriptions .stripe-actions-dropdown .action.toggle {
    display: none;
  }
}
@media only screen and (min-width: 640px) {
  body.stripe_payments-customer-subscriptions .stripe-actions-dropdown ul {
    display: none;
    position: absolute;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
    padding: 12px 12px 6px 12px;
    list-style: none;
    margin-top: 5px;
    box-shadow: 0 3px 3px #ccc;
    width: 170px;
    margin-left: -148px;
  }
  body.stripe_payments-customer-subscriptions .stripe-actions-dropdown ul li.cancel {
    border-top: 1px solid #ccc;
    padding-top: 10px;
  }
  body.stripe_payments-customer-subscriptions .stripe-actions-dropdown ul li.cancel a.delete {
    color: red;
  }
  body.stripe_payments-customer-subscriptions .stripe-actions-dropdown ul:before {
    z-index: 99;
    right: 18px;
    top: -6px;
    border-bottom-style: solid;
    content: '';
    display: block;
    height: 0;
    position: absolute;
    width: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ccc;
  }
  body.stripe_payments-customer-subscriptions .stripe-actions-dropdown.active ul {
    display: block;
  }
  body.stripe_payments-customer-subscriptions .stripe-actions-dropdown.active span.toggle {
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 9px 15px 4px 15px;
  }
  body.stripe_payments-customer-subscriptions .stripe-actions-dropdown span.toggle {
    padding: 10px 16px 5px 16px;
    display: inline-block;
  }
  body.stripe_payments-customer-subscriptions .stripe-actions-dropdown span.toggle:hover {
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 9px 15px 4px 15px;
  }
  body.stripe_payments-customer-subscriptions .stripe-actions-dropdown a {
    text-decoration: none;
  }
}
/* My Payment Methods section */
body.stripe_payments-customer-paymentmethods .stripe-payments.delete-method {
  padding-left: 20px;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+ZGVsZXRlLS1saW5rPC90aXRsZT48cGF0aCBkPSJNMTEuODY2IDkuOTk5bDIuNzQzLTIuNzQ0YTEuMzIyIDEuMzIyIDAgMCAwIC4wMDItMS44NjggMS4zMTggMS4zMTggMCAwIDAtMS44NjguMDAyTDEwIDguMTMzIDcuMjUyIDUuMzg0YTEuMzIzIDEuMzIzIDAgMCAwLTEuODYzLjAwMyAxLjMxNCAxLjMxNCAwIDAgMC0uMDAzIDEuODYzTDguMTM0IDEwbC0yLjc0MyAyLjc0M2ExLjMyMiAxLjMyMiAwIDAgMC0uMDAyIDEuODY4IDEuMzE4IDEuMzE4IDAgMCAwIDEuODY4LS4wMDJMMTAgMTEuODY0bDIuNzQ4IDIuNzQ5YTEuMzIzIDEuMzIzIDAgMCAwIDEuODYzLS4wMDNjLjUyLS41MTkuNTE3LTEuMzUuMDAzLTEuODYzbC0yLjc0OC0yLjc0OHoiIGZpbGw9IiMwMDk5RTUiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==');
  background-repeat: no-repeat;
}
body.stripe_payments-customer-paymentmethods .saved-payment-methods img.saved-payment-method-icon {
  position: relative;
  top: 8px;
  height: 32px;
}
body.stripe_payments-customer-paymentmethods .saved-payment-methods td {
  line-height: 28px;
}
body.stripe_payments-customer-paymentmethods .saved-payment-methods td.saved-payment-method-name {
  padding: 0 10px 10px 10px;
}
body.stripe_payments-customer-paymentmethods .saved-payment-methods td.saved-payment-method-name label {
  margin-left: 10px;
}
body.stripe_payments-customer-paymentmethods .saved-payment-methods {
  margin-bottom: 3em;
}
body.stripe_payments-customer-paymentmethods .actions-toolbar {
  margin-top: 1.5em;
}
body.stripe_payments-customer-subscriptions td.col.order {
  width: 120px;
}
/* Card Icons */
.stripe-payments span.type.Visa,
.stripe-payments span.type.visa {
  background: url(../img/cards/visa.svg) no-repeat;
}
.stripe-payments span.type.American.Express,
.stripe-payments span.type.amex {
  background: url(../img/cards/amex.svg) no-repeat;
}
.stripe-payments span.type.MasterCard,
.stripe-payments span.type.mastercard {
  background: url(../img/cards/mastercard.svg) no-repeat;
}
.stripe-payments span.type.Discover,
.stripe-payments span.type.discover {
  background: url(../img/cards/discover.svg) no-repeat;
}
.stripe-payments span.type.Diners,
.stripe-payments span.type.diners {
  background: url(../img/cards/diners.svg) no-repeat;
}
.stripe-payments span.type.JCB,
.stripe-payments span.type.jcb {
  background: url(../img/cards/jcb.svg) no-repeat;
}
.stripe-payments span.type.Cartes.Bancaires,
.stripe-payments span.type.cartes_bancaires {
  background: url(../img/svg/cartes_bancaires.svg) no-repeat;
}
.stripe-payments span.type.Visa,
.stripe-payments span.type.visa,
.stripe-payments span.type.American.Express,
.stripe-payments span.type.amex,
.stripe-payments span.type.MasterCard,
.stripe-payments span.type.mastercard,
.stripe-payments span.type.Discover,
.stripe-payments span.type.discover,
.stripe-payments span.type.Diners,
.stripe-payments span.type.diners,
.stripe-payments span.type.JCB,
.stripe-payments span.type.jcb,
.stripe-payments span.type.Cartes.Bancaires,
.stripe-payments span.type.cartes_bancaires {
  padding-left: 40px;
  background-position-y: -3px;
  display: inline-block;
  height: 22px;
  font-size: 16px;
  background-size: 30px;
}
.payment-method.stripe-payments .checkout-agreements-block {
  margin-bottom: 10px;
}
.payment-method.stripe-payments.mobile {
  padding-top: 1em;
}
@media only screen and (max-width: 767px) {
  .checkout-payment-method .step-title.mobile {
    padding-left: 0;
  }
}
/* Apple Pay */
.stripe-payments-apple-pay-section {
  text-align: center;
  margin-bottom: 25px;
}
.stripe-payments-apple-pay-section label {
  font-weight: bold;
  margin: 10px 0;
  float: none;
  display: block;
}
/* Authorized Apple Pay Result */
.stripe-payments-apple-pay-result label {
  display: inline-block;
  font-weight: bold;
  margin-bottom: 18px;
}
.stripe-payments-apple-pay-result {
  text-align: center;
  padding: 10px 0 15px;
  font-size: 1.1em;
}
.stripe-payments-apple-pay-result > div {
  margin-bottom: 18px;
}
.indent {
  margin-right: 20px;
}
/* Stripe Express */
@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.box-tocart .action.tocart.payment-request-button {
  padding: 0;
}
.payment-request-button {
  width: 240px;
}
.payment-request-button.disabled,
.payment-request-button.disabled * {
  pointer-events: none !important;
}
.payment-request-button.disabled {
  opacity: 0.5;
  filter: grayscale(50%);
}
.payment-request-button.disabled::after {
  position: relative;
  height: 1em;
  width: 1em;
  display: block;
  left: 50%;
  margin-left: -.5em;
  margin-top: -1.2em;
  content: '';
  -webkit-animation: spin 1s ease-in-out infinite;
  animation: spin 1s ease-in-out infinite;
  background: url(../svg/loader.svg) center center;
  background-size: cover;
  line-height: 1;
  text-align: center;
  font-size: 2em;
  color: rgba(0, 0, 0, 0.75);
}
.stripe-payments-express-minicart {
  margin-top: 15px;
}
.stripe-payments-express-minicart .payment-request-button,
.payment-request-button.cart {
  width: 100% !important;
}
.cart-summary .stripe-payments-express-minicart {
  margin-top: 0;
  margin-bottom: 25px;
}
.catalog-product-view .payment-request-button {
  margin-bottom: 15px;
  margin-right: 1%;
  width: 49%;
}
/* Saved payment methods dropdown */
div.stripe-dropdown {
  background: #ffffff url(../svg/select-bg.svg) no-repeat 98% 14px;
  background-size: 0.8em;
  background-clip: padding-box;
  vertical-align: baseline;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
}
.stripe-element-border {
  border: 1px solid #e6e6e6;
  border-radius: 5px;
}
.stripe-element-font {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
}
.stripe-element-font .instructions span {
  padding-left: 3px;
}
.stripe-card-cvc-element {
  margin-top: 10px;
  margin-bottom: 10px;
}
#stripe-card-cvc-element,
.stripe-card-cvc-element span,
.stripe-card-cvc-element svg {
  padding: 10px;
}
#stripe-card-cvc-element {
  display: inline-block;
  width: 40px;
  min-height: 18px;
}
div.stripe-dropdown-selection {
  margin: -10px;
  /* affects the clickable region */
  padding: 10px;
}
div.stripe-dropdown img {
  height: 32px;
  display: inline-block;
  margin-bottom: -10px;
  margin-top: -6px;
  margin-right: 5px;
  margin-left: 2px;
}
div.stripe-dropdown,
ul.stripe-dropdown-list {
  padding: 10px;
  cursor: pointer;
  user-select: none;
}
ul.stripe-dropdown-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}
ul.stripe-dropdown-list li {
  padding: 12px;
  margin: 0;
  background-position: 10px 45%;
  background-repeat: no-repeat;
  background-size: 30px 30px;
  opacity: 0.8;
}
ul.stripe-dropdown-list li:first-child {
  margin-top: 5px;
}
ul.stripe-dropdown-list li:hover {
  opacity: 1;
  background-color: #f3f8fd;
}
ul.stripe-dropdown-list a {
  text-decoration: none;
}
.stripe-icon-container img.stripe-icon {
  height: 1.7em;
  position: relative;
  top: 0.4em;
  margin-right: 2px;
}
.stripe-icon-container.right {
  float: right;
  position: relative;
  top: -0.6em;
}
.stripe-checkout-icon-container {
  padding: 1em 0;
}
.stripe-checkout-icon-container .stripe-icon {
  height: 2em;
  margin-right: 0.25em;
}
/* Card element at multishipping page */
.stripe-card-element {
  border: 1px solid #e6e6e6;
  padding: 1em;
  border-radius: 5px;
}
/* Trialing Subscriptions */
.trialing_shipping .mark,
.trialing_tax .mark,
.trialing_discount .mark {
  text-indent: 0.5em;
}
.trialing_shipping .mark::before,
.trialing_tax .mark::before,
.trialing_discount .mark::before {
  content: "- ";
}
