.paymentDiv * {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.flex-row-start {
  display: -moz-box;        /* Firefox */
  display: -ms-flexbox;     /* IE10 */
  display: -webkit-box;     /* Safari */
  display: -webkit-flex;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
}

.flex-row-center {
  display: -moz-box;        /* Firefox */
  display: -ms-flexbox;     /* IE10 */
  display: -webkit-box;     /* Safari */
  display: -webkit-flex;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
}

.flex-row-end {
  display: -moz-box;        /* Firefox */
  display: -ms-flexbox;     /* IE10 */
  display: -webkit-box;     /* Safari */
  display: -webkit-flex;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  align-items: center;
}

.flex-row-between {
  display: -moz-box;        /* Firefox */
  display: -ms-flexbox;     /* IE10 */
  display: -webkit-box;     /* Safari */
  display: -webkit-flex;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}

.flex-col-center {
  display: -moz-box;        /* Firefox */
  display: -ms-flexbox;     /* IE10 */
  display: -webkit-box;     /* Safari */
  display: -webkit-flex;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
}

.flex-col-start {
  display: -moz-box;        /* Firefox */
  display: -ms-flexbox;     /* IE10 */
  display: -webkit-box;     /* Safari */
  display: -webkit-flex;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
}

.flex-col-end {
  display: -moz-box;        /* Firefox */
  display: -ms-flexbox;     /* IE10 */
  display: -webkit-box;     /* Safari */
  display: -webkit-flex;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-end;
  align-items: center;
}

.flex-col-between {
  display: -moz-box;        /* Firefox */
  display: -ms-flexbox;     /* IE10 */
  display: -webkit-box;     /* Safari */
  display: -webkit-flex;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  align-items: center;
}

/* common */
.pm-wrap{
  padding:15px;
  box-sizing: border-box;
  background: #fff;
  border-bottom: 1px solid #eaeaea;
}
.pm-header{
  flex: 1;
  margin-bottom: 5px;
  border: 0px !important;
}
.pm-header label{
  margin-bottom:0;
  font-size:12px;
}
.pm-header select{
  -webkit-appearance: normal!important;
  appearance:auto!important;
  height:22px;
  width:56px;
  padding:0 8px;
  font-size:14px;
  margin-left:4px;
  border:1px solid #ebebeb;
}
.layui-layer{
  background: transparent!important;
  box-shadow:none!important;
}
.layui-layer-shade{
  background-color:#000!important;
  opacity: .5!important;
}
.layui-form-item{
  position: relative;
  background:transparent;
}
.logo-box{
  width:100%;
  height:45px;
  background:transparent;
}
.logo-box img{
  position:absolute;
  top:0;
}
.pm-title{
  color: rgb(0, 0, 0);
  text-align:center;
  font-size: 1.2em;
  font-weight:bold;
  padding-top: 20px;
  border-top: 1px solid #eaeaea;
}
.pm-btm-email{
  background-color:#fff;
  padding: 10px 20px 30px 20px;
}
#closeModal {
  position: relative;
  cursor: pointer;
  width: 18px;
  height: 18px;
  margin-bottom: 20px;
  opacity: 0.7;
}
#closeModal:hover {
  opacity: 1;
}

#closeModal:before{
  position: absolute;
  left: 0;
  top: 9px;
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: #333;
  transform:rotate(45deg);
}

#closeModal:after{
  position: absolute;
  left: 0;
  top: 9px;
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: #333;
  transform:rotate(135deg);
}
.hide-item-email, .hide-step1-msg, .hide-step2-msg, .hide-item-postcode, .hide-item-country {
  display: none;
}
.error-msg{
  display: block;
  width:100%;
  /* margin-top:10px; */
  background-color: rgb(252, 236, 236);
  color: rgb(224, 81, 81) !important;
  font-size: 13px !important;
  padding: 0.8rem 1rem;
  margin-top: 0.3rem;
  border-radius: 0.3rem;
  box-sizing: border-box;
}
.pm-btm-box .input-box{
  position: relative;
  padding-top:10px;
}
.input-box img{
  width:22px;
  height:22px;
  position: absolute;
  left:20px;
  top:23px;
}
.input-box .pm-input{
  width:100%;
  font-size: 1.2em;
  padding-left:54px;
  box-sizing: border-box;
  height:48px;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
  border-radius: 4px;
  border: 1px solid #dcdcdc ;
}
#email:focus {
  outline: none !important;
  border:1px solid rgb(161, 207, 238);
  box-shadow: 0 0 10px rgb(192, 230, 255);
}

.pm-money-box{
  color: rgb(85, 85, 85);
  font-size:18px;
  font-weight: 700;
  text-align: center;
  padding-top:20px;
}
.pm-money-box label{
  color:rgb(133, 178, 0) !important;
}
.pm-next-button button{
  width:100%;
  height:50px;
  color:#fff;
  background-color:rgb(89, 178, 0);;
  border-radius:5px;
  border:1px solid #ebebeb;
  margin:20px 0 0 0;
  cursor: pointer;
  font-size:18px;
}
.pm-paypal-button button{
  width:100%;
  height:40px;
  color:#fff;
  background-color:#fff;
  background: url("https://payhut.me/pay/images/paypal.png") no-repeat scroll 0 0 transparent;
  background-position: center center;
  border-radius:5px;
  border:2px solid #318BCC;
  margin:0;
  cursor: pointer;
  font-size:18px;
}

.pm-item-country{
  margin-left:6px;
}

/* layer for other count select dialog */
#layerOtherCount{
  background-color:#fff;
}
.layui-layer-btn{
  background-color: #fff;
  box-shadow: 1px 1px 50px #888;
}
.other-modal{
  display:none;
  padding:20px 30px 0 30px;
  background-color:#fff;
}
.other-modal p{
  font-size:14px;
}
.other-count-input{
  width:100%;
  margin-top:10px;
}
.layui-layer-btn0{
  border-color: #1E9FFF;
  background-color: #1E9FFF;
  color: #fff!important;
  font-size:14px;
}
.layui-layer-btn1{
  border: 1px solid #C9C9C9;
  background-color: #fff;
  color: #555;
}
.other-count-error{
  color:red;
  font-size:14px;
  margin-top:8px;
  display:none;
}

/* country */
.pm-btm-country {
  display: none;
  padding: 15px 0;
  background-color: #fff;
}
.pm-btm-country p:nth-child(1) {
  font-size: 16px;
  color: rgb(0, 0, 0);
  font-weight: bold;
}
.pm-btm-country p:nth-child(2) {
  font-size: 12px;
  color: rgb(85, 85, 85);
  margin-top: 10px;
}
.pm-country-select {
  margin-top: 10px;
}
.pm-country-select select {
  width: 100%;
  height: 50px;
  padding-left: 10px;
  border:#dcdcdc solid 1px;
  color: rgb(85, 85, 85);
  cursor: pointer;
  border-radius: 4px;
  font-size: 15px;
}
.pm-country select option {
  width: 290px;
}
.hide-postal-code {
  display: none;
}
.show-postal-code {
  display: block !important;
}

/* payment info */
.pm-btm-info{
  display:none;
  padding:0 15px 15px 15px;
  background-color:#fff;
}
.pm-btm-info .pm-money-box{
  padding-top:15px;
}
.red{
  display:none!important;
  font-size:10px!important;
  color:red!important;
  text-align:left!important;
  font-weight: 500!important;
  margin-top: 3px!important;
}
.err{
  display:block!important;
}

/* change email address */
.language-select{
  background-color:#888;
  opacity:0.6;
  color:rgba(220, 220, 220, 0.85);
}
.language-select option{
  background-color:#fff;
  opacity:0.9;
  color:#999;
  font-size:12px;
}
.language-select option:hover{
  background-color:#999;
  color:rgba(220, 220, 220, 0.85);
}
.footer-email{
  display:none;
}
.footer-email-box{
  padding:0px;
}
.footer-email-box select{
  -webkit-appearance: normal!important;
  appearance:auto !important;
  height:22px;
  font-size:12px;
  border:none;
}
#footer-email{
  font-size:11px;
  font-weight: bold;
}
.footer-email div{
  color:rgba(220, 220, 220, 0.85);
}
.footer-email div span{
  font-size:11px;
}
.footer-email div a{
  font-size:11px;
  text-decoration: underline;
  color:rgba(220, 220, 220, 0.85);
  margin-left:5px;
}
.footer-email div a:hover{
  color:#555;
}
#productName{
  margin-left:5px;
}
.modal-item-currency{
  margin-left:5px;
}
.layui-icon {
  font-family: layui-icon!important;
  font-size: 18px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.layui-icon-close:before {
  content: "\1006";
}

.paymentDiv *, 
.paymentDiv ::after, 
.paymentDiv ::before {
  box-sizing: border-box;
}
.purchase-text{
  color:#888;
  font-weight: 500;
}

.disable{
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.5;
}

#payment-element {
  margin-top: 20px;
}

.recurringlabel {
  color: #666;
  text-align: center;
  font-weight: 400;
}

/* Center the loader */
.pm-loader {
  display: none;
  position: absolute;
  z-index: 1;
  top: 45%;
  width: 40px;
  height: 40px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  border: 6px solid #e3e3e3;
  border-radius: 50%;
  border-top: 6px solid #999;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#currency, #currentMoney, #infoMoney {
  font-size: 18px !important;
  font-weight: 700 !important;
}

.language-text {
  color: rgb(85, 85, 85);
  font-size: 18px;
  font-weight: 700;
}

option.language-text {
  font-size: 14px !important;
  font-weight: 400 !important;
}

header#ppsplit {
  display: table;
  width: 100%;
  max-width: 100%;
}

header#ppsplit div {
  display: table-row;
  line-height: 1.5em;
  font-size: 2em;
  white-space: nowrap;
}

header#ppsplit h1 {
  font-size: 14px !important;
  /* Change font-size in header */
  overflow: hidden;
  display: table-cell;
  vertical-align: middle;
  width: 1px;
  line-height: normal;
  padding: 0 10px;
  font-weight: 400 !important;
}

header#ppsplit span.spacer {
  display: table-cell;
}

header#ppsplit span.spacer:after {
  display: inline-block;
  width: 100%;
  content: ".";
  font-size: 0;
  color: transparent;
  height: 1px;
  background: #eaeaea;
  vertical-align: middle;
  position: relative;
  top: -3px;
}

#LAY_payhut::-webkit-scrollbar{
  width:10px;
  height:10px;
  /**/
}
#LAY_payhut::-webkit-scrollbar-track{
  background: rgb(239, 239, 239);
  border-radius:5px;
}
#LAY_payhut::-webkit-scrollbar-thumb{
  background: #eaeaea;
  border-radius:10px;
}
#LAY_payhut::-webkit-scrollbar-thumb:hover{
  background: #e0e0e0;
}
#LAY_payhut::-webkit-scrollbar-corner{
  background: #179a16;
}

#cp_add{
  text-align: center;
  padding-top: 10px;
}

#cp_add a {
  color:rgb(89, 178, 0);
  font-weight: 500 !important;
  font-size: 1em;
  text-decoration: underline;
}

#cp_edit .cp_input {
  width:100%;
  font-size: 1em;
  font-weight: 500;
  padding-right:60px;
  text-align: center;
  box-sizing: border-box;
  height:32px;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
  border-radius: 4px;
  border: 1px solid #dcdcdc;
  text-transform: uppercase;
}

#coupon:focus {
  outline: none !important;
  border:1px solid rgb(227, 227, 227);
  box-shadow: 0 0 10px rgb(192, 230, 255);
}

#cp_apply {
  width:60px !important;
  height:22px !important;
  position: absolute;
  font-size: 0.7em !important;
  background-color: #E9E9E9;
  color: #808080;
  top:15px !important;
  overflow: hidden;
  white-space: nowrap;
  display: block;
  text-overflow: ellipsis;
  border: 1px solid #A0A0A0;
  cursor:pointer;
  line-height: 21px;
}

#cp_apply:hover {
  background-color: #F0F0F0;
}

#cp_show {
  width:100%;
  font-size: 1em;
  font-weight: 500;
  box-sizing: border-box !important;
  height:58px;
  margin-top: 10px;
  padding:5px !important;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
  border-radius: 4px;
  border: 1px solid #dcdcdc !important;
  line-height: 21px;
}

#cp_show #cp_info {
  float: left;
  width: 94%;
  color: rgb(107, 105, 105);
}

#cp_show #dismissCoupon{
  float: right;
  cursor: pointer;
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

#cp_show #dismissCoupon:hover {
  opacity: 1;
}

#cp_show #dismissCoupon:before{
  position: relative;
  left: 0;
  top: 9px;
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: #333;
  transform:rotate(45deg);
}

#cp_show #dismissCoupon:after{
  position: relative;
  left: 0;
  top: 8px;
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: #333;
  transform:rotate(135deg);
}
