* {	margin: 0px; padding: 0px; }

body {
	margin:0px;
	padding:0px;
	background: #eaeaea;
}

body, p, table, td, input, select, textarea { 
	font:12px verdana, Arial, sans-serif;
	color:#333;
}

a { color: #333; text-decoration:underline; }
a.nodecor { text-decoration:none; }
h1 { font: 25px arial, helvetica, sans-serif; font-weight:bold; margin: 15px 20px 5px; }
h2 { font: 18px arial, helvetica, sans-serif; font-weight:bold; margin: 0 0 15px; }
p { margin: 0 0 5px; }
input[type=text], input[type=password], textarea, select { 
	width: 250px; padding: 8px; border:1px solid #ccc; border-radius:5px; box-sizing: border-box; 
}

select {  }
textarea { height: 50px; }
td { padding: 0 0 5px; }
.red { color:#990000; }
.bold { font-weight:bold; }
.validate-error { color:red; }
.validate-error a { color:red; }

.flexbox { 
	display: -ms-flexbox; display: -webkit-flex; display: flex;
	-ms-flex-align: center; -webkit-align-items: center; -webkit-box-align: center; align-items: center; /** vertical align **/
}
.flexbox-top {
	display: -ms-flexbox; display: -webkit-flex; display: flex;
	-ms-flex-align: flex-start; -webkit-align-items: flex-start; -webkit-box-align: flex-start; align-items: flex-start; /** vertical align top **/
}
.clear { clear:both; }
.label { font-weight:bold; padding-right: 10px; }
.submit {
	background: #dedede !important; padding:5px 10px; 
	-moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; 
	cursor:pointer; font-size: 13px; 
	 border: 1px solid #666666;
}
.small { font-size: 11px; }

.wrapper {
	width:1000px;
	padding:0px;
	margin-right: auto;
	margin-left: auto;	
}

.body { 
	width: 100%; float:left; display:block; clear:both; background: #fff; border:1px solid #ccc; margin: 20px 0;
}

.header { 
	width: 100%; min-height: 100px; float:left; display:block; clear:both; background: #fff;
}
.header img { float:right; margin: 20px; }

.nav { 
	width: 100%; float:left; display:block; clear:both; background: #ccc; text-align:right; text-transform:uppercase; padding: 5px 0; font-size: 14px; }
}

.content { 
	width: 100%; float:left; display:block; clear:both; background: #fff;
}

.section { 
	width: 100%; float:left; display:block; clear:both; background: #fff; margin: 0 0 20px; 
}

.left { 
	margin: 20px; width: 469px; float:left; display:inline; border-right: 1px solid #ccc;
}

.right { 
	margin: 20px 20px 20px 0; width: 470px; float:left; display:inline;
}

.error { margin: 20px 20px 0; font-weight:bold; color: #990000; font-size:15px; text-transform:uppercase; border-radius: 5px; background-color:#f5fe89; }
.error div { margin: 20px; padding:20px 0; }

.wrapper-cart { border-collapse: collapse; margin: 0 0 5px; }
.wrapper-cart td { border: 1px solid #dedede; padding: 3px;  }
.wrapper-cart thead { background-color: #eaeaea; font-weight:bold; }
.wrapper-cart thead td { font-weight:bold; }

.wrapper-credit-card { margin: 20px 0 0 0; }

.wrapper-submit { width: 960px; margin: 20px; text-align:right; }

.footer { 
	width: 100%; float:left; display:block; clear:both;
}

/** products **/
#wrapper-products .product { margin:0 0 8px; -ms-flex-align: flex-start; -webkit-align-items: flex-start; -webkit-box-align: flex-start; align-items: flex-start; }
#wrapper-products .product div { margin: 0 5px 0 0; }
#wrapper-products .product div:nth-child(1) { padding-top:1px; }
#wrapper-products .product div:nth-child(2) { margin:0 8px 0 0; }
#wrapper-products .product div:nth-child(3) { font-weight:bold; }
#wrapper-products .product.other input[type=text] { margin:2px 0; }

#wrapper-products .recur { display:none; margin: 0 0 10px; padding-left:15px; }

/*** login **/
.wrapper-login .left { 
	border-right: 0; width: 400px;
}

.wrapper-login .right { 
	border-left: 1px solid #ccc;
	padding-left: 50px; width: 400px;
}

.wrapper-login .section { width:300px; }
.wrapper-login input[type=text], .wrapper-login input[type=password] { 
	width: 300px; border-radius: 5px; padding: 10px; font-size: 1.2em; 
	border:1px solid #ccc;
}
.wrapper-login input[type=submit] { 
	width: 300px; border-radius: 5px; padding: 10px 0;  font-weight:bold; cursor:pointer;
	border:1px solid #000; background: #000; color:#fff; text-transform:uppercase;
}
.wrapper-login input[type=submit]:hover { color:#ccc; }
.wrapper-login .error { margin:15px 0; background:#fff; }
#dialog-forgot p { margin: 10px 0; }

/** completed order **/
.wrapper-complete { margin: 20px; text-align:center; }
.wrapper-complete h1, .wrapper-complete p { margin:0 0 20px 0;  }
.wrapper-complete .submit { font-weight:bold; text-transform:uppercase; }

/** verify address dialog **/
.dialog-verify * { font-size: 14px; }
.dialog-verify h1 { font-size: 1.7em; padding:0px; margin: 15px 0; }
.dialog-verify p { margin: 0 0 18px; }
.dialog-verify .flexbox { 
	-ms-flex-align: flex-start; -webkit-align-items: flex-start; -webkit-box-align: flex-start; align-items: flex-start;
	margin: 0 0 15px;
}
.dialog-verify .flexbox div:nth-child(1) { width: 30px; flex: 0 0 30px; }
.dialog-verify .flexbox p { margin: 0 0 7px; }
.dialog-verify .submit {
    background: #dedede;
    padding: 5px 10px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    border: 1px solid #666666;
}

/* Payment Methods */

#payment-methods {
  margin: 0 0 20px;
  border-bottom: 2px solid #e8e8fb;
}

#payment-methods li {
  display: none;
}

#payment-methods li.visible {
  display: inline-block;
  margin: 0 20px 0 0;
  list-style: none;
}

#payment-methods input {
  display: none;
}

#payment-methods label {
  display: flex;
  flex: 1;
  cursor: pointer;
}

#payment-methods input + label {
  position: relative;
  padding: 5px 0;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
}

#payment-methods label::before {
  content: '';
  position: absolute;
  width: 100%;
  bottom: -2px;
  left: 0;
  border-bottom: 2px solid #6772e5;
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.25s ease-in-out;
}

#payment-methods label:hover {
  color: #6772e5;
  cursor: pointer;
}

#payment-methods input:checked + label {
  color: #6772e5;
}

#payment-methods label:hover::before,
#payment-methods input:checked + label::before {
  opacity: 1;
  transform: scaleX(1);
}

#payment-methods,
.payment-info {
  display: none;
}

.payment-info:not(.card) {
  margin-bottom: 15px;
}

.payment-info.ideal {
  margin-bottom: 0;
}

#payment-methods.visible,
.payment-info.visible {
  display: block;
}

.payment-info.card.visible,
.payment-info.sepa_debit.visible {
  text-align: center;
}

.payment-info p.notice {
  font-size: 14px;
  color: #8898aa;
  text-align: left;
}

#wechat-qrcode img {
  margin: 0 auto;
}

.element-errors {
  display: inline-flex;
  width:100%;
  border-radius:5px;
  margin:0px;
  padding:0px;
  font-weight:bold;
  color: #e25950;
  opacity: 0;
  transform: translateY(10px);
  transition-property: opacity, transform;
  transition-duration: 0.35s;
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
 /* background: url(/images/error.svg) center left no-repeat;*/
  background-size: 15px 15px;
  background-color:#f5fe89;
  box-sizing: border-box;
  height:0px;
}

.element-errors.visible {
  opacity: 1;
  transform: none;
  height:auto;
  padding:20px;
  margin: 15px auto;
}

#iban-errors {
  margin-top: -20px;
}

.payment-info .field {
    flex: 1;
    padding: 0 15px;
    background: transparent;
    font-weight: 400;
    color: #31325f;
    outline: none;
    cursor: text;
}

fieldset {
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 1px 3px 0 rgba(50, 50, 93, 0.15), 0 4px 6px 0 rgba(112, 157, 199, 0.15);
    border-radius: 4px;
    border: none;
    font-size: 15px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

fieldset label {
    position: relative;
    display: flex;
    flex-direction: row;
    height: 42px;
    padding: 10px 0;
    align-items: center;
    justify-content: center;
    color: #8898aa;
    font-weight: 400;
}

fieldset label span {
    /*min-width: 125px;*/
    padding: 0 15px;
    text-align: right;
}

.submit {
    background: #666ee8 !important;
    color: #fff;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    border: 0;
    font-weight: 700;
    /*width: 100%;*/
    height: 40px;
    outline: none;
    cursor: pointer;
    transition: all 0.15s ease;
}
.wrapper-coupon .submit { height:34px; }
.submit:focus {
  background: #555abf;
}

.submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 14px 0 rgba(50, 50, 93, 0.1),
    0 3px 6px 0 rgba(0, 0, 0, 0.08);
}

.submit:active {
  background: #43458b;
}

/* Order Confirmation */

#confirmation {
  display: none;
  align-items: center;
  width: 100%;
  visibility: hidden;
  overflow-x: hidden;
  opacity: 0;
  background: #f8fbfd;
  text-align: left;
  transition: visibility 0s, opacity 0.5s linear 0.5s;
}

#main.success #confirmation,
#main.error #confirmation {
  visibility: visible;
  opacity: 1;
}

#main.success #order,
#main.error #order {
  visibility: hidden;
  opacity: 0;
}

#confirmation h1 {
  font-size: 20px;
  font-weight: 300;
  color: #6863d8;
  letter-spacing: 0.3px;
  margin-bottom: 30px;
}

#confirmation .status {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 75px 0 275px;
  max-width: 75%;
  box-shadow: 0 1px 3px 0 rgba(50, 50, 93, 0.15);
  border-radius: 6px;
}

#confirmation .status.error {
  display: none;
}

#confirmation .status p {
  margin: 0 0 15px;
}

#confirmation .status li {
  margin-bottom: 5px;
  list-style: none;
}

#main.success:not(.processing) #confirmation .status.processing,
#main.success:not(.receiver) #confirmation .status.receiver {
  display: none;
}

#main.processing #confirmation .status.success,
#main.receiver #confirmation .status.success {
  display: none;
}

#main.error #confirmation .status.success,
#main.error #confirmation .status.processing,
#main.error #confirmation .status.receiver {
  display: none;
}

#main.error #confirmation .status.error {
  display: flex;
}

#main.error #confirmation .error-message {
  font-family: monospace;
}

#wrapper-credit-card .error {

}

.app-error {
	display:none;
	padding:20px; margin: 5px 10px;
	background-color:#f5fe89; color: #e25950;
	font-size: 16px; font-weight:bold; text-transform:uppercase;
	text-align:center; border-radius:5px;
	box-sizing:border-box;
}
.app-error.visible { display:block; }
