* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}
a {
  text-decoration: none;
}
body {
  font-family: "Arial", sans-serif;
  font-size: 14px;
  line-height: 1;
  background: #eee;
  color: #333;
}
.out {
  background-color: #fff;
  min-width: 320px;
  max-width: 1000px;
  width: 100%;
  padding: 0 15px 10px;
  margin: 0 auto 10px;
  position: relative;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.logo {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}
.logo img {
  width: 240px;
  height: 46px;
}
.secure {
  background-color: #eee;
  padding: 10px 0;
  margin-top: 5px;
  border-radius: 4px;
  text-align: center;
}
.secure h1 {
  font-size: 22px;
  line-height: 24px;
  font-weight: 500;
}
.secure h1 i {
  margin-right: 10px;
}
form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.wrap {
  max-width: 485px;
  width: 100%;
  margin-top: 5px;
  padding-right: 15px;
  padding-left: 15px;
}
.wrap .customer {
  margin-bottom: 37px;
}
.wrap h2 {
  width: 100%;
  font-size: 18px;
  line-height: 27px;
  font-weight: 500;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}
.wrap .input-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.wrap .input-group .input-wrapper:first-child {
  max-width: 267px;
  width: 100%;
}
.wrap .input-group .input-wrapper:last-child {
  max-width: 178px;
  width: 100%;
}
.wrap .input-group.input-group-more .input-wrapper {
  max-width: 100%;
  width: 32%;
}
.wrap .input-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-bottom: 15px;
}
.wrap .input-wrapper .input-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 5px;
}
.wrap .input-wrapper .input-label span {
  display: inline-block;
  max-width: 100%;
  width: 100%;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}
.wrap .input-wrapper .input-label .card-ico {
  max-width: 173px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.wrap .input-wrapper .input-label .card-ico img {
  width: 100%;
}
.wrap .input-wrapper input,
.wrap .input-wrapper select {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 6px 12px;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s,
    -webkit-box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s,
    -webkit-box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s,
    -webkit-box-shadow ease-in-out 0.15s;
}
.wrap .input-wrapper input.error {
  border-color: #b52b27;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.wrap  .input-wrapper .custom-validate-card-holder {
  opacity: 1 !important;
  line-height: 18px;
  display: block;
  color: #a94442;
  padding: 0 3px;
  font-size: 13px;
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
  display: inline-block;
}

.wrap  .input-wrapper .custom-validate-name {
  opacity: 1 !important;
  line-height: 18px;
  display: block;
  color: #a94442;
  padding: 0 3px;
  font-size: 13px;
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
  display: inline-block;
}

.wrap .input-wrapper input + label {
  opacity: 0;
  line-height: 18px;
  display: block;
  color: #a94442;
  padding: 0 3px;
  font-size: 13px;
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
}
.wrap .input-wrapper input.error + label {
  opacity: 1;
}
.wrap .input-wrapper a {
  font-size: 15px;
  line-height: 21px;
  margin: 0 2px;
  color: #5bc0de;
  text-decoration: underline;
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
}
.wrap .input-wrapper .select-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.wrap .input-wrapper .select-wrapper select {
  max-width: 48%;
  width: 100%;
  font-size: 18px;
  color: #555;
}
.wrap .summary {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin-bottom: 42px;
}
.wrap .summary span {
  font-size: 16px;
  line-height: 18px;
  font-weight: 700;
}
.wrap .summary .prod {
  width: 100%;
  margin-bottom: 20px;
}
.wrap .summary .prod img {
  width: 50px;
  height: 74px;
  margin-right: 5px;
}
.wrap .summary .price {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.wrap .summary .price div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

form .button-wrapper {
  max-width: 450px;
  width: 100%;
  display: block;
  margin: 20px auto 30px;
}
form .button-wrapper button {
  width: 100%;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: white;
  background-color: #e5202e;
  border: 1px solid #e1e1e1;
  padding: 7px 15px;
  cursor: pointer;
  margin: 10px 0;
}
form button-wrapper button:hover {
  background-color: #d41d2a;
  border-color: transparent;
  color: white;
}
form .button-wrapper p {
  font-size: 12px;
  line-height: 16px;
  color: #94959c;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
form .button-wrapper p b {
  color: #3080ed;
}
.security {
  max-width: 330px;
  width: 100%;
  margin: 0 auto 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.security img {
  width: 254px;
  height: 24px;
}
.guarantee {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
}
.guarantee h4 {
  font-size: 18px;
  line-height: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}
.guarantee p {
  font-size: 13px;
  line-height: 18px;
}
.popup {
  display: none;
  width: 100%;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 11;
}
.popup .wrapper {
  max-width: 450px;
  width: 100%;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  outline: 0;
  position: absolute;
  top: 50%;
  right: 50%;
  -webkit-transform: translate(50%, -50%);
  transform: translate(50%, -50%);
  padding: 35px 0 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}
.popup .wrapper h2 {
  width: 100%;
  font-size: 35px;
  line-height: 38px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 25px;
}
.popup .wrapper .content {
  padding: 15px;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.popup .wrapper p {
  font-size: 14px;
  line-height: 20px;
}
.popup .wrapper img {
  width: 172px;
  height: 93px;
  margin: 15px 0;
}
.popup .wrapper .button {
  display: inline-block;
  color: #333;
  background-color: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  border: 1px solid #ccc;
  padding: 6px 12px;
  border-radius: 4px;
  margin-top: 15px;
  margin-right: 15px;
}
@media (max-width: 1000px) {
  .wrap .input-wrapper {
    margin-bottom: 15px !important;
  }
  form {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}
@media (max-width: 510px) {
  .wrap {
    padding-left: 0;
    padding-right: 0;
  }
  .wrap .input-group {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .out .wrap .input-group .input-wrapper {
    max-width: 100%;
  }
  .wrap .input-group.input-group-more .input-wrapper {
    width: 100%;
  }
  .wrap .input-wrapper .input-label span br {
    display: none;
  }
  .wrap .input-wrapper .input-label {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
}
