/* raleway-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/raleway-v34-latin/raleway-v34-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/raleway-v34-latin/raleway-v34-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/raleway-v34-latin/raleway-v34-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/raleway-v34-latin/raleway-v34-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
      margin: 0;
      font-family: 'Raleway';
      color: #2D2E2C;
      padding-bottom: 0px;
    }

.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
}

.container {
  width: calc(100% - 16px);
  /* max-width: 710px; */
  margin-left: auto;
  margin-right: auto;
  padding: 0px 8px;
}

h2 {
  margin-top: 15px;
  margin-bottom: 35px;
  padding: 0;
  color: #2D2E2C;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}

p {
  color: #2D2E2C;
  font-size: 17px;
  line-height: 26px;
}


form {
  margin-top: 0px;
}

legend {
  font-weight: 500;
  font-size: 19px;
  padding-left: 8px;
  padding-right: 8px;
}

legend span {
  color: #ac1b3d;
  padding-left: 6px;
  padding-right: 6px;
  font-weight: 700;
}


  button[type="submit"] {
    background-color: #ac1b3d;
    color: white;
    border: none;
    padding: 20px 25px;

    font-size: 18px;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 25px;
    display: block;
    width: calc(100% - 8px);
  }
  button[type="submit"]:hover {
    background-color: #9b1a3c;
  }

  button[type="submit"].small-but {
    font-size: 16px;
    padding: 10px 50px;
  }

  input,
  textarea,
  select {
    width: calc(100% - 30px);
    font-size: 16px;
    padding: 10px 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #777;
    font-family: Arial, Helvetica, sans-serif;
    color: #2D2E2C;
  }

  select {
    width: calc(100% - 8px);
  
  }

  option {
    font-size: 16px;
    color: #2D2E2C;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
  }

  input.input-error {
    border-color: #ac1b3d;
    border-width: 2px;
    padding: 9px 10px;
  }

  .input-grid {
    
    margin-top: 0px;
    margin-bottom: 15px;
  }

  .input-grid-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    
  }

    .input-grid-row label{
      width: 50%;
    };



  #error-message,
  #step2-error-message {
    display: none !important;
    color: #ac1b3d;
    font-size: 15px;
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 16px;
    border-radius: 6px;
    text-align: center;
    p {
      color: #ac1b3d;
      margin-bottom: 8px;
      margin-top: 8px;
    }
  }

  #error-message {
    margin-top: 24px;
    margin-bottom: 24px;
  }

  sup {
    font-family: sans-serif;
  }