@import url(//fonts.versacommerce.io/css?family=Open+Sans:400,300,600,700,400italic,600italic,300italic);
a {
  outline: 0 !important;
}

a.unlinked { cursor: default; text-decoration: none; }

h1 {
  font-size: 24px;
  font-weight: 600;
}
h2 {
  font-size: 22px;
  font-weight: 600;
}
h4 {
  font-size: 16px;
  font-weight: 600;
}

body { margin: 20px 0 }
body.legal-content .container.checkout { width: 90%; }

iframe { border: none; }

.footer {
  margin-top: 20px;
  padding-top: 20px;
  padding-bottom: 10px;
  border-top: 1px solid #ddd;
}
.glyphicon-lock {
  color: #EFBD5A
}
.maincontent .actions {
  margin-top: 20px
}
.spacer {
  padding: 5px 0;
}

span.accepts-terms {
  display: block;
}

.shipping_address {
  display: none;
}

.option-list {
  margin-top: 5px;
}

/* etwas mehr vc-styling */

body {
  background: #f1f1f1;
  font: 14px/20px "Open Sans", Arial, sans-serif;
  color: #555
}
.checkout {
  background: #fff;
}
.head {
  padding-top: 15px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 15px
}

/* fix too big logos */
.shopname { max-width: 300px; }

/* fix shop logo width */
.shopname img {
  max-width: 100%;
}

/* bootstrap customs */

.well, .panel, .panel-group .panel, .panel-heading, .panel-body, .progress {
  box-shadow: none;
  border-radius: 0;
}
.panel-title .small-title {
  font-size: 75%;
  font-weight: normal;
}
.actions {
  border: none;
  border-top: 1px solid #ddd;
  background: none;
  padding: 15px 0 0;
}
.actions .form-back.visible-xs-block {
  margin-top: 20px;
}

body.confirm .actions {
  border: none;
  padding: 0;
}
body.confirm .maincontent .actions {
  margin-top: 0px;
}

.progress {
  height: 34px;
  border-radius: 0
}
.progress-bar  {
  line-height: 32px
}
.progress-bar-todo    { background-color: #f1f1f1 }
.progress-bar-default { background-color: #555 }

.progress-bar-todo a,    .progress-bar-todo span    { color: #999 }
.progress-bar-default a, .progress-bar-default span { color: #fff }
.progress-bar-success a, .progress-bar-success span { color: #fff }

/* css3 arrows: */

.progress-bar-success,
.progress-bar-default {
  position: relative;
}
.progress-bar-success {
  z-index: 100;
}
.progress-bar-default:after,
.progress-bar-default:before,
.progress-bar-success:after,
.progress-bar-success:before {
  left: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.progress-bar-default:after,
.progress-bar-success:after {
  border-width: 18px;
  margin-top: -18px;
}
.progress-bar-success:after {
  border-left-color: #5cb85c;
}
.progress-bar-default:after {
  border-left-color: #555;
}

label.disabled { color: #CCC; }

/* WebKit browsers */
input[type="text"]::-webkit-input-placeholder { color: #CCC; }
/* Mozilla Firefox 4 to 18 */
input[type="text"]:-moz-placeholder { color: #CCC; opacity: 1; }
/* Mozilla Firefox 19+ */
input[type="text"]::-moz-placeholder { color: #CCC; opacity: 1; }
/* Internet Explorer 10+ */
input[type="text"]:-ms-input-placeholder { color: #CCC; }

.panel small { display: block; }
.panel small.hint { margin: 10px 0 10px; }

.panel hr { margin-top: 10px; }

input#payment_cc_month,
input#payment_cc_year,
input#payment_cc_verification_value {
  width: auto;
  display: inline-block;
}

#payment_versa_commerce_pay_v2_direct_debit_bank-name .form-control {
  border: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.quantity-text { display: block; }
input.item-quantity {
  width: 40px;
  float: right;
  clear: right;
  margin-top: 10px;
}

.error, .m-form__error { color: #a94442; }

img.paypal-logo,
img.giropay-logo,
img.directebanking-logo {
  margin: 10px 0 5px 5px;
}
img.cc-back { margin: 0 0 5px 5px; }

.cart-items-wrapper { background-color: #fcf8e3; }

.cart-products { margin-bottom: 10px; }

.cart-total { margin-bottom: 10px; }
.cart-total .price {
  border-bottom: 1px solid;
  text-decoration: underline;
}

/* integration-form: vc_paymill_bridge */
#paymill_form_wrapper {
  padding-top: 22px;
}

#paymill_form_wrapper header {
  margin-bottom: 30px;
}

#paymill_form_wrapper header img {
  display: block;
  float: left;
  margin-right: 15px;
  margin-top: 4px;
}

#paymill_form_wrapper header h1,
#paymill_form_wrapper header h2 {
  font-weight: normal;
  margin: 0;
}

#paymill_form_wrapper header h1 {
  font-size: 20px;
  line-height: 24px;
}

#paymill_form_wrapper header h2 {
  font-size: 16px;
  line-height: 18px;
  margin-top: 4px;
}

#paymill_form_wrapper #nav-payment-type {
  margin: 0 0 15px;
  padding: 0;
  border-bottom: 1px solid #e4e4e4;
}

#paymill_form_wrapper #nav-payment-type li {
  margin: 0 0 -1px;
  padding: 0;
  display: inline-block;
}
#paymill_form_wrapper #nav-payment-type li .btn-paymenttype {
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  height: 24px;
  line-height: 24px;
  border: 1px solid transparent;
  background: transparent;
  padding: 0 10px;
  margin: 0;
  cursor: pointer;
  color: #999;
  outline: none;
}

#paymill_form_wrapper #nav-payment-type li .btn-paymenttype:hover {
  background: #e4e4e4;
  border-bottom: 1px solid #e4e4e4;
}

#paymill_form_wrapper #nav-payment-type li .btn-paymenttype-active,
#paymill_form_wrapper #nav-payment-type li .btn-paymenttype-active:hover {
  border: 1px solid #e4e4e4;
  background: #FFF;
  border-bottom: 1px solid #FFF;
  color: #000;
}

#paymill_form_wrapper .payment_errors {
  color: #FF0000;
  display: block;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 8px;
  padding: 0 20px;
}

#paymill_form_wrapper fieldset {
  border: medium none;
  padding: 0 20px;
  margin: auto;
  margin-bottom: 8px;
}

#paymill_form_wrapper label,
#paymill_form_wrapper input {
  display: inline-block !important;
}

#paymill_form_wrapper label {
  font-size: 13px;
  font-weight: bold;
}

#paymill_form_wrapper input.field-half,
#paymill_form_wrapper .input.field-half {
  width: 82px;
}

#paymill_form_wrapper label.field-full {
  width: 110px;
}

#paymill_form_wrapper input.field-full,
#paymill_form_wrapper .input.field-full {
  width: 180px;
}

#paymill_form_wrapper span.input {
  font-size: 13px;
  font-weight: normal;
  letter-spacing: normal;
  padding: 4px;
  height: 18px;
  line-height: 18px;
  vertical-align: middle;
  display: inline-block;
}
#paymill_form_wrapper span.input {
  outline:none;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  border-radius:3px;
  -webkit-border-radius:3px;
  -moz-border-radius:3px;
  border:1px solid rgba(0,0,0, 0.2);
}

#paymill_form_wrapper span.input.disabled {
  background: #e4e4e4;
  color: #999;
}

#paymill_form_wrapper span.input:hover {
  background-color: #f9f9f9;
}

#paymill_form_wrapper span.input:focus {
  background-color: #f9f9f9;

  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */

  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

#paymill_form_wrapper .input.amount {
  text-align: right;
}

#paymill_form_wrapper #buttonWrapper {
  margin-top: 15px;
  padding-left: 11px
}

#paymill_form_wrapper button.submit-button {
  background: transparent url('/static_assets/bg_button_a.gif') no-repeat scroll top right;
  color: #444;
  display: block;
  font: normal 12px arial, sans-serif;
  height: 24px;
  margin-right: 6px;
  padding-right: 18px; /* sliding doors padding */
  text-decoration: none;
  border: none;
}

#paymill_form_wrapper button.submit-button span {
  background: transparent url('/static_assets/bg_button_span.gif') no-repeat;
  display: block;
  line-height: 14px;
  margin-top: -2px;
  padding: 5px 0 5px 18px;
}

@-moz-document url-prefix() {
  #paymill_form_wrapper button.submit-button { padding-right: 15px; /* sliding doors padding */ }
  #paymill_form_wrapper button.submit-button span { margin-top: -1px; }
}

#paymill_form_wrapper button.submit-button:active {
  background-position: bottom right;
  color: #000;
  outline: none; /* hide dotted outline in Firefox */
}

#paymill_form_wrapper button.submit-button:active span {
  background-position: bottom left;
  padding: 6px 0 4px 18px; /* push text down 1px */
}

/** CC-Icons **/
#paymill_form_wrapper .paymill-card-number-visa {
  background: #EAEFF1 url('/static_assets/checkout/images/paymill/32x20_visa.png')no-repeat center right !important;
}

#paymill_form_wrapper .paymill-card-number-mastercard {
  background: #EAEFF1  url('/static_assets/checkout/images/paymill/32x20_mastercard.png')no-repeat center right !important;
}

#paymill_form_wrapper .paymill-card-number-amex {
  background: #EAEFF1  url('/static_assets/checkout/images/paymill/32x20_amex.png')no-repeat center right !important;
}

#paymill_form_wrapper .paymill-card-number-jcb {
  background: #EAEFF1  url('/static_assets/checkout/images/paymill/32x20_jcb.png')no-repeat center right !important;
}

#paymill_form_wrapper .paymill-card-number-maestro {
  background: #EAEFF1  url('/static_assets/checkout/images/paymill/32x20_maestro.png')no-repeat center right !important;
}

#paymill_form_wrapper .paymill-card-number-carte-bleue {
  background: #EAEFF1  url('/static_assets/checkout/images/paymill/32x20_unionpay.png')no-repeat center right !important;
}

#paymill_form_wrapper .paymill-card-number-diners {
  background: #EAEFF1  url('/static_assets/checkout/images/paymill/32x20_dinersclub.png')no-repeat center right !important;
}

#paymill_form_wrapper .paymill-card-number-discover {
  background: #EAEFF1  url('/static_assets/checkout/images/paymill/32x20_discover.png') no-repeat center right !important;
}

/* NEW CHECKOUT */

/* font-size: 13px; */
/* font-weight: normal; */
/* letter-spacing: normal; */
/* padding: 4px; */
/* height: 18px; */
/* line-height: 18px; */
/* vertical-align: middle; */

.checkout #paymill_form_wrapper span.input {
  font-size: 14px;
  padding: 6px 12px;
  height: 34px;
  line-height: 1.42857143;
}

.checkout #paymill_form_wrapper button.submit-button {
  color: #fff;
  background: transparent;
  background-color: #5cb85c;
  border-color: #4cae4c;
  display: inline-block;
  height: auto;
  margin-bottom: 0;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 12px;
  line-height: 1.42857143;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  font-stretch: normal;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  outline: none;
}

.checkout #paymill_form_wrapper button.submit-button.btn-success:hover,
.checkout #paymill_form_wrapper button.submit-button.btn-success:focus,
.checkout #paymill_form_wrapper button.submit-button.btn-success:active,
.checkout #paymill_form_wrapper button.submit-button.btn-success.active {
  color: #fff;
  background-color: #449d44;
  border-color: #398439
}

.checkout #paymill_form_wrapper button.submit-button.btn-success:active,
.checkout #paymill_form_wrapper button.submit-button.btn-success.active {
  background-image:none
}

.checkout #paymill_form_wrapper button.submit-button.btn-success.disabled,
.checkout #paymill_form_wrapper button.submit-button.btn-success[disabled],
.checkout #paymill_form_wrapper button.submit-button.btn-success.disabled:hover,
.checkout #paymill_form_wrapper button.submit-button.btn-success[disabled]:hover,
.checkout #paymill_form_wrapper button.submit-button.btn-success.disabled:focus,
.checkout #paymill_form_wrapper button.submit-button.btn-success[disabled]:focus,
.checkout #paymill_form_wrapper button.submit-button.btn-success.disabled:active,
.checkout #paymill_form_wrapper button.submit-button.btn-success[disabled]:active,
.checkout #paymill_form_wrapper button.submit-button.btn-success.disabled.active,
.checkout #paymill_form_wrapper button.submit-button.btn-success[disabled].active{
  background-color: #5cb85c;
  border-color: #4cae4c
}

.checkout #paymill_form_wrapper button.submit-button span {
  background: transparent;
  display: inline;
  line-height: normal;
  margin-top: 0;
  padding: 0;
}

@-moz-document url-prefix() {
  .checkout #paymill_form_wrapper button.submit-button { padding-right: 12px; }
  .checkout #paymill_form_wrapper button.submit-button span { margin-top: 0; }
}

.checkout #paymill_form_wrapper button.submit-button:active {
  background-position: 0% 0%;
  color: inherit;
  outline: none; /* hide dotted outline in Firefox */
}

.checkout #paymill_form_wrapper button.submit-button:active span {
  background-position: 0% 0%;
  padding: 0;
}

.cart-products .error {
  margin-bottom: 10px;
}

/* CSS specific to iOS devices */
@supports (-webkit-overflow-scrolling: touch) {
  /* Prevent zooming on iOS devices by setting the minimum font-size. */
  input.form-control,
  select.form-control {
    font-size: 16px;
  }
}

.checkout-errors {
  color: red;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
}

.checkbox label[for="null"] {
  display: block;
  position: relative;
  padding-left: 2.5em;
}

.checkbox input.checkbox {
  float: left;
  margin-left: -2.5em;

  position: relative;
  top: 0;
  cursor: pointer;
  width: 18px;
  height: 18px;
  border: 1px solid #B0BEC5;
  background-color: #fff;
  box-shadow: 0 0 0 0 #263238 inset;
  transition: all 200ms ease-in-out;
  appearance: none;
  outline: none;
}

.checkbox input.m-form__input-checkbox {
  position: relative;
  margin-left: 0;
}

.checkbox .m-form__check {
  font-size: 14px;
  margin: 0 0  1em -2.5em;
  padding-left: 0;
}

.checkbox .m-form__check label {
  padding-left: 2.5em;
}

.checkbox .m-form__check .m-form__input-checkbox {
  float: left;
  margin-left: -2.5em;
  top: 0;
  margin-top: 0;
}

.checkbox input.checkbox::after {
  display: block;
  content: '✓';
  top: 1px;
  left: 3px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;

  position: absolute;
  transform: scale(0.2);
  transition: all 200ms ease-in-out;
  opacity: 0;
}

.checkbox input.checkbox:checked {
  border: none;
  box-shadow: 0 0 0 10px #1E88E5 inset;
}

.checkbox input.checkbox:checked::after {
  transform: scale(1);
  opacity: 1;
}
