#msform {
  width: 50%;
  margin: 50px auto;
  position: relative;
}
#msform fieldset {
  background: white;
  border: 0 none;
  border-radius: 0.35rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 40px;
  padding-bottom: 10px;

  box-sizing: border-box;
  width: 80%;
  margin: 0 10%;
  /*stacking fieldsets above each other*/
  position: absolute;
}

.have-an-account {
  padding-top: 20px;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
  display: none;
}

/*buttons*/
#msform .action-button {
  cursor: pointer;
  position: relative;
  text-align: center;
}
#msform .action-button:hover,
#msform .action-button:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px #27ae60;
}
/*headings*/
.fs-title {
  text-align: center;
  font-size: 15px;
  text-transform: uppercase;
  color: #2c3e50;
  margin-bottom: 10px;
}
.fs-subtitle {
  text-align: center;
  font-weight: normal;
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}
/*progressbar*/
#progressbar {
  text-align: center;
  padding: 0px;
  margin-bottom: 30px;
  overflow: hidden;
  /*CSS counters to number the steps*/
  counter-reset: step;
}
#progressbar li {
  list-style-type: none;
  color: rgb(0, 0, 0);
  text-transform: uppercase;
  font-size: 12px;
  width: 25%;
  font-weight: 500;
  float: left;
  position: relative;
}
#progressbar li:before {
  content: counter(step);
  counter-increment: step;
  width: 30px;
  line-height: 30px;
  font-weight: 500;
  display: block;
  font-size: 14px;
  color: rgb(0, 0, 0);
  background: rgb(255, 255, 255);
  border-radius: 0.35rem;
  margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after {
  content: "";
  width: 100%;
  height: 4px;
  background: rgb(255, 255, 255);
  position: absolute;
  left: -50%;
  top: 13px;
  z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
  /*connector not needed before the first step*/
  content: none;
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,
#progressbar li.active:after {
  background: #0b53be;
  color: white;
}
.red {
  color: red;
}
.success {
  color: green;
}
#message {
  padding-top: 200px;
  position: relative;
  text-align: center;
}
