.msform {
  margin-top: 50px;
  /*form styles*/
  /*Hide all except first fieldset*/
  /*buttons*/
  /*headings*/
  /*progressbar*/
  /*progressbar connectors*/
  /*marking active/completed steps green*/
  /*The number of the step and the connector before it = green*/
}

.msform #msform {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding-bottom: 50px;
  padding-top: 20px;
}

.msform #msform fieldset {
  background: white;
  border: 0 none;
  border-radius: 3px;
  box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
  padding: 20px 30px;
  box-sizing: border-box;
  width: 550px;
  max-width: 100%;
  margin-left: calc(50% - 275px);
  /*stacking fieldsets above each other*/
  position: relative;
}

@media (max-width: 850px) {
  .msform #msform fieldset {
    width: 90%;
    margin-left: 5%;
  }
}

.msform #msform fieldset:not(:first-of-type) {
  display: none;
}

.msform #msform .action-button {
  width: 100px;
  background-color: #00a65a;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 1px;
  padding: 10px 5px;
  margin: 10px 5px;
  transition: all 200ms;
}

@media (max-width: 360px) {
  .msform #msform .action-button {
    width: calc(50% - 12px);
  }
}

.msform #msform .action-button:hover,
.msform #msform .action-button:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px #00a65a;
}

.msform #msform .action-button[disabled] {
  cursor: not-allowed;
  background-color: #d2d6de;
  box-shadow: none;
}

.msform .fs-title {
  font-size: 18px;
  text-transform: uppercase;
  color: #2C3E50;
  margin-bottom: 10px;
  font-weight: bold;
}

.msform .fs-subtitle {
  font-weight: normal;
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}

.msform #progressbar {
  width: 100%;
  margin: 0 auto 20px;
  overflow: hidden;
  /*CSS counters to number the steps*/
  counter-reset: step;
}

.msform #progressbar li {
  list-style-type: none;
  text-transform: uppercase;
  width: 7.1428%;
  float: left;
  position: relative;
}

.msform #progressbar li:before {
  content: counter(step);
  counter-increment: step;
  width: 25px;
  line-height: 25px;
  display: block;
  font-size: 14px;
  color: #333;
  background: white;
  border-radius: 3px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
  transition: all 200ms;
}

.msform #progressbar li:after {
  content: '';
  width: 100%;
  height: 2px;
  background: white;
  position: absolute;
  left: -50%;
  top: 11px;
  transition: all 200ms;
}

@media (max-width: 460px) {
  .msform #progressbar li:before {
    width: 17px;
    font-size: 12px;
    line-height: 17px;
  }

  .msform #progressbar li:after {
    top: 8px;
  }
}

.msform #progressbar li:first-child:after {
  /*connector not needed before the first step*/
  content: none;
}

.msform #progressbar li.active:before,
.msform #progressbar li.active:after {
  background-color: #00a65a;
  color: white;
}

.msform .radio {
  font-size: 16px;
  text-align: left;
  padding: 0 15px;
}

.msform input[type=radio]:hover {
  cursor: pointer;
}

.msform circle {
  fill: rgba(0, 0, 0, 0);
  stroke: #d2d6de;
  stroke-width: 3;
  stroke-dasharray: 314px 314px;
  transition: all 1s linear;
}

.msform circle:nth-child(2n) {
  stroke: #00a65a;
}

.msform .timer {
  margin-bottom: 15px;
  position: relative;
}

.msform .timer h1 {
  font-weight: normal;
}

.msform .timer-num {
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
}

.msform-result {
  padding-top: 100px;
  text-align: center;
}

.training-frame {
  width: 100%;
  position: relative;
}

.training-frame::before {
  content: "";
  display: block;
  padding-top: 50%;
}

.training-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}