:root {
  --toa-form-container-bg: rgb(56 126 134 / 53%);
  --toa-form-progress-bar-dot-color: #FFF;
  --toa-form-progress-bar-dot-bg-color: #168E8E;
  --toa-form-progress-bar-dot-bg-color-active: #BDE0E5;
  --toa-form-progress-bar-label-color: #FFF;
  --toa-form-progress-bar-line-color: #FFF;

  --toa-form-label-color:#FFF;
  --toa-form-next-button-color:#387E86;
  --toa-form-next-button-bg-color:#BDE0E5;
  --toa-form-next-button-hover-color:#FFF;
  --toa-form-next-button-hover-bg-color:#387E86;
  --toa-form-next-button-border-color:#707070;
  --toa-form-back-button-color:#FFF;
  --toa-form-textbox-border-color:#78D7ED;
  --toa-form-textbox-error-bg-color:#F4E103;
}

.section {
  position: relative;
  width: 60%;
  min-height: 400px;
  padding: 15px;
  margin-left: auto;
  margin-right: auto;
  background: var(--toa-form-container-bg);
  border-radius: 20px;
}

.form-container {
  margin-top: 50px;
}

#pb-container {
  display: flex;
  max-width: 315px;
  margin: 20px auto;
  align-items: center;
}

.pb-dot {
  min-width: 45px;
  min-height: 45px;
  border-radius: 30px;
  background: var(--toa-form-progress-bar-dot-bg-color);
  position: relative;
}

.pb-dot:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-50%,0);
  color: var(--toa-form-progress-bar-dot-color);
  font-size: 26px;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  font-weight: 900;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.pb-dot:first-child:before {
  content: '1';
}

.pb-dot:nth-child(4):before {
  content: '2';
}

.pb-dot:last-child:before {
  content: '3';
}

.pb-dot:after {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--toa-form-progress-bar-label-color);
  font-size: 18px;
  font-family: 'Gotham-Book', sans-serif;
  text-align: center;
  line-height: 1.3;
}

.pb-dot:first-child:after {
  content: 'Your Home';
}

.pb-dot:nth-child(4):after {
  content: 'Your Situation';
}

.pb-dot:last-child:after {
  content: 'Your Offer';
}

.pb-dash {
  height: 7px;
  flex-grow: 1;
  background: var(--toa-form-progress-bar-line-color);
  margin-left: -1px;
  margin-right: -1px;
  visibility: hidden;
}

#pb-container.pb-2 .pb-dash:nth-child(2),
#pb-container.pb-3 .pb-dash:nth-child(3),
#pb-container.pb-4 .pb-dash:nth-child(5),
#pb-container.pb-5 .pb-dash:nth-child(6) {
  visibility: visible;
}

.pb-dot:first-child,
#pb-container.pb-3 .pb-dot:nth-child(4),
#pb-container.pb-5 .pb-dot:last-child {
  background-color: var(--toa-form-progress-bar-dot-bg-color-active);
}


/***************iPhone Portrait**************/
@media only screen and (max-width: 479px) and (min-width: 320px){
.section {
  width: 100%;
}
}