.wizard-form {
  text-align: center;
  position: relative;
  /* margin-top: 20px; */
}

.wizard-form fieldset .form-card {
  background: white;
  border: 0 none;
  border-radius: 0px;
  box-sizing: border-box;
  /* width: 94%;
    margin: 0 3% 20px 3%;
    padding: 0px 40px 0px 40px; */
  position: relative;
}

.wizard-form fieldset {
  background: white;
  border: 0 none;
  border-radius: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0px;
  position: relative;
}

.wizard-form fieldset:not(:first-of-type) {
  display: none;
}

.wizard-form fieldset .form-card {
  text-align: left;
  /* color: #9E9E9E */
}

.wizard-form .form-card{
    display: none;
}

.wizard-form .form-card.active{
    display: block;
}

.wizard-form .action-button {
  width: 100px;
  background: skyblue;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 0px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px 5px;
}

.wizard-form .action-button:hover,
.wizard-form .action-button:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px skyblue;
}

.wizard-form .action-button-previous {
  width: 100px;
  background: #616161;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 0px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px 5px;
}

.wizard-form .action-button-previous:hover,
.wizard-form .action-button-previous:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px #616161;
}

select.list-dt {
  border: none;
  outline: 0;
  border-bottom: 1px solid #ccc;
  padding: 2px 5px 3px 5px;
  margin: 2px;
}

select.list-dt:focus {
  border-bottom: 2px solid skyblue;
}

.card {
  z-index: 0;
  border: none;
  border-radius: 0.5rem;
  position: relative;
}

.fs-title {
  font-size: 25px;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: bold;
  text-align: left;
}

#progressbar {
  margin-bottom: 0px;
  overflow: hidden;
  color: lightgrey;
  padding: 0;
}

#progressbar li {
  font-size: 2.5rem;
  color: #ffffff;
  margin: 0 auto 0 auto;
  padding: 2px;
  justify-content: center;
  display: flex;
  width: 100%;
  position: relative;
}

#progressbar .circle {
  width: 60px;
  height: 60px;
  background: rgb(165, 164, 164);
  border-radius: 50%;
  line-height: 55px;
  display: block;
}

#progressbar .active {
  color: #ffffff;
}

#progressbar .active .circle {
  background-color: #2f56a1;
}

#progressbar li:nth-child(2):before {
  content: "";
  width: 120%;
  height: 2px;
  background: lightgray;
  position: absolute;
  left: -60%;
  top: 30px;
  /* z-index: -1 */
}

/* #progressbar li:nth-child(2):after {
  content: "";
  width: 100%;
  height: 2px;
  background: lightgray;
  position: absolute;
  right: -60%;
  top: 30px;
  /* z-index: -1 */
/* } */ 

#progressbar  li.last-step:before{
  width: 60%;
  left: -30%;
}
#progressbar  li.last-step:after{
  display: none;

}

#progressbar li.active:before, #progressbar li.step3:after {
  background: #2f56a1;
}

.radio-group {
  position: relative;
  margin-bottom: 25px;
}

.radio {
  display: inline-block;
  width: 204;
  height: 104;
  border-radius: 0;
  background: lightblue;
  box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  cursor: pointer;
  margin: 8px 2px;
}

.radio:hover {
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.radio.selected {
  box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1);
}

.fit-image {
  width: 100%;
  object-fit: cover;
}

.box {
  display: none;
}

@media (max-width: 576px) {
  .wizard-form fieldset .form-card {
    padding: 0 20px;
  }
}


@media (max-width: 992px) {
  
#progressbar li:nth-child(2):before {
  width: 50%; 
  left: -40%;  
}

#progressbar li:nth-child(2):after {
  width: 50%; 
  right: -40%; 
}
}