form#theForm {
  margin-left: -8px;
}
#hpsTypeRow,
#hpsAmountRow,
.hpsCVV2WhatLink {
  display: none;
}
form#theForm input {
  font-family: "Allstate Objektiv";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  color: #4a4a4a;
}
#hpsCardSection input {
  background-color: #f8fbfc;
  box-sizing: border-box;
  height: 40px;
  box-shadow: 0px 1px 1px rgb(0 0 0 / 8%) inset !important;
  border: 1px solid #ccc !important;
  padding-left: 5px !important;
}
#hpsCardSection select {
  background-color: #f8fbfc;
  box-sizing: border-box;
  height: 40px;
  font-family: "Allstate Objektiv";
  font-weight: 400;
  font-size: 16px;
  color: #4a4a4a;
  box-shadow: 0px 1px 1px rgb(0 0 0 / 8%) inset !important;
  border: 1px solid #ccc !important;
  padding-left: 5px !important;
}
#nameLabelText,
#numberLabelText,
#CVV2LabelText,
#expirationLabelText {
  color: #777777;
  font-size: 15px;
  letter-spacing: 0.2px;
  font-family: "Allstate Objektiv";
  text-transform: uppercase;
}
#hpsCardSection {
  margin-top: 20px;
}
#hpsCardSection div.hpsRow {
  margin-bottom: 20px;
}
#hpsNameRow {
  width: 95%;
  display: none;
}
#hpsNumberRow {
  width: 95%;
}
#hpsExpirationRow {
  float: left;
}
#hpsButtonRow {
  margin-top: 10px;
  float: left;
}
button#completeButton {
  float: right;
  width: 112px;
  height: 45px;
  font-family: "Allstate Objektiv";
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  background-color: #472468;
  color: #fff;
  background: #00339f;
  border-radius: 50px;
  text-transform: uppercase;
}
button#cancelButton {
  float: right;
  width: 125px;
  height: 45px;
  font-family: "Allstate Objektiv";
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  color: #00339f;
  box-sizing: border-box;
  border: 1px solid #472468;
  margin-right: 20px;
  color: #00339f;
  background: #ffffff;
  border: 1px solid #dbdee3;
  border-radius: 50px;
  text-transform: uppercase;
}

input#name,
input#ccNumber {
  width: 65%;
}
@media only screen and (max-width: 350px) {
  input#name,
  input#ccNumber {
    width: 50%;
  }
}

input#CVV2 {
  width: 165px;
}
@media only screen and (max-width: 350px) {
  input#CVV2 {
    width: 100px;
  }
}

#hpsCVV2Row {
  width: 395px;
  float: right;
}
@media only screen and (max-width: 350px) {
  #hpsCVV2Row {
    width: 110px;
    float: right;
    margin-right: 305px;
  }
}

#hpsButtonRow {
  width: 370px;
}
@media only screen and (max-width: 350px) {
  #hpsButtonRow {
    width: 285px;
  }
}
