:root {
  --primary-dark-blue: #1a3a68;
  --primary-light-blue: #13b0e2;
  --off-white: #f8f8f8;
  --white: #FFFFFF;
  --black: #000000;
  --error-color: red;
  --grey: rgb(157, 157, 157);
  --dark-grey: rgb(81, 81, 81);
  --light-grey: #ebebeb;
}

* {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;
  -webkit-focus-ring-color: rgba(255, 255, 255, 0) !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 99vh;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

header {
  width: 100%;
  padding: 15px 0;
  background-color: var(--off-white);
}

.main-container {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.disclaimer {
  font-size: 9px;
}

.logo {
  max-width: 140px;
}

h1 {
  font-size: 24px;
  text-transform: uppercase;
  color: var(--primary-dark-blue);
}

input.error,
select.error {
  border-color: var(--error-color) !important;
}

footer {
  color: var(--primary-dark-blue);
  font-size: 12px;
  /* position: fixed; */
  bottom: 0px;
  background-color: white;
  width: 100%;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li:first-of-type {
  padding-left: 0px;
}

footer ul li {
  display: inline-block;
  padding-left: 10px;
}

/* input[type=checkbox] {
  margin-top: 20px;
  min-width: 20px;
} */

/* .opt-in-box {
  display: flex;
  flex-direction: row;
  font-size: 13px;
} */

.opt-in-box {
  display: flex;
  align-items: center;
}

.checkbox-disclaimer {
  width: 30px;
  position: relative;
  top: -17px;
  left: 18px;
}

.opt-in-box .ui-checkbox {
  margin-top: -5px;
}

.opt-in-box p.small-font {
  font-size: 12px;
}

.form-step:first-of-type {
  display: block;
}

.privacy-label {
  color: var(--primary-light-blue);
  font-size: 16px;
  margin-top: 0px;
}

.ui-loading .ui-loader,
.ui-loader {
  display: none;
}

.form-step {
  display: none;
}

.input-button,
#submit-button {
  color: #ffffff;
  font-weight: 500;
  justify-content: space-around;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  line-height: 32px;
  padding: 15px 0;
  margin: 5px auto 15px;
  background-color: var(--primary-dark-blue);
  cursor: pointer;
  max-width: 310px;
  width: 100%;
  text-transform: uppercase;
}

#submit-button {
  background-color: var(--primary-light-blue);

}

input {
  border-radius: 5px;
  border: 2px solid var(--primary-dark-blue);
  padding: 5px 0;
  margin: 0 auto 15px;
  line-height: 32px;
  max-width: 310px;
  width: 100%;
  font-size: 20px;
  text-align: center;
}

.input-button:hover,
.input-button.selected {
  background-color: var(--primary-light-blue);
}

label {
  display: block;
  margin-bottom: 50px;
  font-size: 35px;
  color: var(--dark-grey);
}

form {
  text-align: center;
  margin: 0 auto;
  padding-bottom: 80px;
}

label span {
  font-weight: bold;
}

/*=====================================================*/
.lead-form .form-question {
  margin: 0 auto;
  max-width: 500px;
}

.lead-form .ui-select span {
  display: none;
}

.lead-form .ui-select .ui-btn {
  padding: 0;
  background: none;
}

.lead-form select {
  border: var(--primary-dark-blue) 2px solid;
  color: var(--grey);
  padding: 15px 0 15px 10px;
  margin-bottom: 30px;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  text-align: center;
  line-height: 20px;
  max-width: 310px;
  width: 100%;
  background-image: url('../img/arrow.svg');
  background-repeat: no-repeat, repeat;
  background-position: right 1em top 50%, 0 0;
  background-size: 1em auto, 100%;
  -webkit-appearance: none;
  appearance: none;
  text-transform: uppercase;
}

.lead-form .quote-image {
  margin: 15px 0 15px 0;
}

.progress-bar {
  margin: 42px 0 10px;
  max-width: 420px;
  width: 100%;
  height: 8px;
  background: var(--light-grey);
  position: relative;
  display: flex;

}

.progress-bar:before {
  content: "";
  width: 10%;
  height: 8px;
  position: absolute;
  background: var(--primary-dark-blue);
  left: 0;
  top: 0;

}

.progress-bar2:before {
  width: 25%;
}

.progress-bar3:before {
  width: 50%;
}

.progress-bar4:before {
  width: 75%;
}

.progress-bar5:before {
  width: 100%;
}

.lead-form .previous-new {
  color: var(--grey);
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
}

@media (min-width: 500px) {
  .form-step {
    width: 400px;
  }
}

@media (max-width: 500px) {

  form,
  .form-question,
  .form-step {
    width: 100%;
  }

  h1 {
    font-size: 20px;
  }

  .quote-image img {
    width: 100px;
  }

  .main-container {
    padding: 0 20px;
  }

  label {
    font-size: 24px;
  }
}