a {
  cursor: pointer;
}

a.inline-link,
input.inline-link {
  font-weight: 400;
  text-decoration: none;
  color: #1372E2;
}

a.link-label {
  width: 100%;
  max-width: 540px;
  min-width: 360px;
  height: 22px;
  font-size: 18px;
  line-height: 22px;
  margin-top: 44px;
  color: #1372E2;
}

button {
  height: 44px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  border: 0.0625rem solid #0000;
  border-radius: 888px;
  text-align: center;
  transition: background-color 0.2s ease 0s, border-color 0.2s ease 0s, box-shadow 0.2s ease 0s, color 0.2s ease 0s;
  cursor: pointer;
  color: #0E1941;
  background: #45BCE5;
}

button.back-button {
  width: 28%;
  max-width: 150px;
  min-width: 120px;
  background: #F3f6F9;
  border: 0.0625rem solid #94A1B0;
  color: #0E1941;
}

button.donttrust-button {
  width: 47%;
  background: #F3f6F9;
  border: 0.0625rem solid #94A1B0;
  color: #0E1941;
}

button.trust-button {
  width: 47%;
}

button.next-button {
  width: 47%;
  max-width: 253px;
  min-width: 150px;
}

button.trust-button:hover,
button.next-button:hover {
  background: #FFFFFF;
  color: #0033A0;
  box-shadow: #45BCE5 0 0 0 0.125rem;
}

button.back-button:hover,
button.donttrust-button:hover {
  background: #FFFFFF;
  color: #0E1941;
}

button.back-button:focus,
button.trust-button:focus,
button.donttrust-button:focus,
button.next-button:focus {
  background: #FFFFFF;
  color: #0033A0;
  /*box-shadow: #FFFFFF 0 0 0 0.25rem, #45BCE5 0 0 0 0.5rem, #45BCE5 0 0 0 0.125rem inset;*/
}

div.error-div {
  display: none;
  justify-content: center;
  align-items: center;
  line-height: 18px;
  height: fit-content;
  min-height: 32px;
  background: #C91228;
  border-radius: 4px;
  margin: 16px auto;
  padding-left: 10px;
  padding-right: 10px;
}

div.error-message {
  font-size: 12px;
  font-weight: bold;
  color: #FFFFFF;
  text-align: center;
}

div.error-message:empty {
  display: none;
}

div.standard-page-content {
  width: 100%;
  max-width: 640px;
  min-width: 360px;
}

div.inline-error-message {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  font-weight: 700;
  font-size: 12px;
  line-height: 32px;
  color: #FFFFFF;
  width: fit-content;
  height: 32px;
  background: #C91228;
  border-radius: 4px;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 4px;
}

div.inline-error-message:empty {
  display: none;
}

div.error-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90%;
  min-height: 48px;
  align-items: flex-start;
}

div.form-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 50px;
  width: 100%;
  max-width: 540px;
  background: #FFFFFF;
  margin-top: 32px;
}

div.form-group#intermediateGroup1 {
  width: 75%;
}

div.cert-form-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 50px;
  width: 100%;
  max-width: 540px;
  background: #FFFFFF;
  margin-top: 320px;
}

div.verificationDiv {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: #FFFFFF;
  margin: 0;
}

div.LoginDiv {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: #FFFFFF;
  margin: 0;
}

div.form-group#cantLocateGroup {
  display: none;
  align-items: flex-start;
  height: 472px;
}

div.form-group-title {
  width: 100%;
  min-height: 48px;
  font-size: 40px;
  color: #0E1941;
  text-align: center;
}

div.error-group-title {
    width: 650px;
    min-height: 70px;
    font-weight: bolder;
    font-size: 3em;
    color: #ff0000;
    text-align: center;
}

div.error-group-code {
    width: 100%;
    min-height: 70px;
    font-weight: bold;
    font-size: 2em;
    color: #ff0000;
    text-align: center;
}

div.inline-bottom-text {
  width: 100%;
  max-width: 540px;
  min-width: 340px;
  height: 44px;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  margin-top: 40px;
  padding: 0px 10px;
  text-align: center;
}

div.inline-bottom-text#twoFactorBottomText {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

div.radio-button-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  max-width: 540px;
  min-width: 340px;
  height: 78px;
  margin-top: 32px;
}

div.one-button-section {
  display: flex;
  justify-content: center;
  width: 100%;
}

div.two-button-section {
  display: flex;
  justify-content: center;
  width: 100%;
}

div.two-button-section {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

label {
  color: #2F3847;
}

label.highlight {
  color: #1372E2;
}

label.form-label {
  font-weight: 700;
  height: 20px;
  font-size: 16px;
  line-height: 20px;
  color: #2F3847;
  text-align: left;
}

label.form-label.disabled {
  color: grey;
}

label.form-label {
  margin-top: 32px;
}

label.form-section-label {
  font-family: allstatesansw-bold, Verdana, sans-serif;
  font-weight: bold;
  width: 100%;
  height: 24px;
  font-size: 18px;
  color: #2F3847;
  line-height: 24px;
  margin-top: 32px;
  margin-left: 50px;
}

label.radio-button-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: flex-end;
  position: absolute;

  font-size: 18px;
  line-height: 22px;
  box-sizing: border-box;

  padding-left: 56px;
  max-width: 540px;
  min-width: 340px;
  width: 90%;
  height: 70px;
  border: 3px solid #2F3847;
}

label.radio-button-label.selected {
  border: 3px solid #2F3847;
  outline-color: #45BCE5;
}

label.radio-button-label:focus {
  border: 3px solid #2F3847;
  outline-color: #45BCE5;
}

div.form-group-title#intermediateTitle {
  width: 600px;
  font-size: 35px;
}

p.instructions#intermediateInstructions {
  font-size: 18px;
  line-height: 30px;
}

p.instructions {
  width: 100%;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #333333;
  margin-top: 4px;
  margin-bottom: 0;
  text-align: justify;
}

select.error {
  border: 2px solid #C91228;
}

select:focus {
  border: 2px solid #1372E2;
  outline-color: #1372E2;
}

strong {
    font-family: allstatesansw-bold, Verdana, sans-serif;
    font-weight: bold;
    font-size: 1.25em;
    color: #0033a0;
}

strong.ABtitle__allstate {
    font-family: allstatesansw-bold, Verdana, sans-serif;
    font-weight: bold;
    font-size: 1em;
    color: #0033a0;
}
@media (max-width: 640px) {
  div.form-group-title {
    font-size: 32px;
  }

  div.form-group-title#firstTimeTitle {
    font-size: 29px;
  }

  div.form-group-title#intermediateTitle {
    font-size: 29px;
  }

  p.instructions#intermediateInstructions {
    font-size: 15px;
  }

  div.form-group {
    padding: 48px 5%;
    width: 90%;
    max-width: 640px;
    margin-top: 13px;
  }

  div.one-button-section {
    height: 50px;
  }
}

@media (max-width: 414px) {
  div.form-group-title {
    font-size: 28px;
  }

  div.error-section {
    min-height: 28px;
  }

  div.form-group-title#firstTimeTitle {
    font-size: 25px;
  }

  div.form-group-title#intermediateTitle {
  font-size: 25px;
  }

  div.one-button-section {
    height: 50px;
  }
}


