#custom-stripe-payment {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.5);
  z-index: 999999;
  left: 0;
  top: 0;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  display: inline-block; 
  display: none;
}
#custom-stripe-payment-iframe {
  position: absolute;
  left: 10%;
  top: 2%;
  height: 96% !important;
  width:80% !important;
}
#close-custom-stripe-payment {
  position: absolute;
  right: 11%;
  top: 3%;
  background: red;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  box-shadow: rgba(0,0,0,.5) 0 0 5px;
  border: #efefef solid 3px;
  z-index: 1;
  cursor: pointer;
  transition:all ease-in-out .2s;
}
#close-custom-stripe-payment:hover{
  transform:scale(1.1);
}
body.processing-payments {
  overflow: hidden;
}

    #payment-form {
      width: 100%;
      max-width: 680px;
      display: flex;
      flex-wrap: wrap;
      margin: 0 auto;
  }
    #submit-payment{
    background: #00B67A;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border:none;
    border-radius: 100px;
    padding: 15px 20px;
    line-height: 1;
    width: 100%; 
    margin:15px 0;
    cursor: pointer;
    transition: all ease-in-out .2s;
    }  
    #submit-payment:hover{
    background: #000;
    }
  /* Style for the individual card input fields */
          .StripeElement {
              padding: 12px;
              border: 1px solid #ccc;
              border-radius: 4px;
              margin-bottom: 20px;
              width: 100%;
              box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
              background-color: #f8f8f8;
          }
  
          #submit-button {
            background-color: #28a745;
            color: white;
            padding: 12px 20px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            width: 100%;
            height: 56px;
            font-size: 16px;
            font-weight: 500;
        }
          #submit-button:hover {
              background-color: #000;
          }
  
          #payment-result {
            margin-top: 20px;
  font-size: 16px;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 12px;
  width: 100%;
  color: #000;
  border: transparent solid 1px;
          }
  
          .StripeElement label {
              display: block;
              margin-bottom: 10px;
              font-size: 14px;
              font-weight: bold;
          }
#payment-form .full-row {
display: flex;
flex-wrap: wrap;
width: 100%;
position: relative;
}
#card-number{
  background:#FAFAFA url(../img/cards.png) no-repeat 96%;
  min-height: 56px;
  border-radius: 8px;
  border: #F4F4F4 solid 1PX;
  padding-top: 17px;
}
#payment-form  #card-expiry{
  width: 50%;
  height: 56px;
  border-radius: 8px;
  border: #F4F4F4 solid 1PX;
  padding-top: 17px;
}
#payment-form  #card-cvc{
  width: 24%;
  margin: 0 0 0 auto;
  height: 56px;
  border-radius: 8px;
  border: #F4F4F4 solid 1PX;
  padding-top: 17px;
}
#payment-form  #card-postal{
  width: 24%;
  margin: 0 0 0 auto;
  height: 56px;
  border-radius: 8px;
  border: #F4F4F4 solid 1PX;
  padding-top: 17px;
}
.details-col.order-number p{
  font-size: 12px;
}
#payment-result.error {   
  color: red;
  border: red solid 1px;
  background: #efefef;
}
#payment-result.success {   
  color: #28a745;
  border: #28a745 solid 1px;
  background: #efefef;
}
#payment-form #card-number:hover,#payment-form #card-expiry:hover,#payment-form #card-cvc:hover,#payment-form #card-postal:hover {
  border-color: #00B67A;
  background-color: #EBFFF8;
}
#payment-form #card-number.StripeElement--invalid,#payment-form #card-expiry.StripeElement--invalid,#payment-form #card-cvc.StripeElement--invalid,#payment-form #card-postal.StripeElement--invalid {
  border-color: red; 
}
@media(max-width:480px){
  #card-number { 
    background-size: 160px;
}
#payment-form #card-expiry,#payment-form #card-cvc,#payment-form #card-postal{
  width: 100%;
}
}