div.multi-step {
  box-sizing: border-box;
  margin: 10px;
  position: relative;
  font-size: 1em;
}
div.multi-step ol {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row nowrap;
  -ms-flex-flow: row nowrap;
      flex-flow: row nowrap;
  margin: 0;
  padding: 0;
}
div.multi-step ol > li {
  -webkit-flex: 1 0;
  -ms-flex: 1 0;
  flex: 1 0;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
div.multi-step ol > li:before, div.multi-step ol > li:after {
  content: "";
  background: #c6cbcc;
  border-radius: 1px;
  height: 51%;
  position: absolute;
  right: 1px;
  left: 1px;
  z-index: 0;
}
div.multi-step ol > li:before {
  -webkit-transform: skewX(20deg);
  -ms-transform: skewX(20deg);
  transform: skewX(20deg);
  top: 0;
}
div.multi-step ol > li:after {
  -webkit-transform: skewX(-20deg);
  -ms-transform: skewX(-20deg);
  transform: skewX(-20deg);
  bottom: 0;
}
div.multi-step ol > li p {
  margin: 0;
}
div.multi-step ol > li .title {
  color: #1d4e89;
  font-weight: 400;
  line-height: 1;
}
div.multi-step ol > li .subtitle {
  margin-top: .4em;
  color: #ffffff;
  font-size: .8em;
  line-height: 1.2;
}
div.multi-step ol > li .wrap {
  min-height: 20px;
  padding: 8px 8px 8px 16px;
  position: relative;
  opacity: .6;
  z-index: 1;
}
div.multi-step.numbered ol {
  counter-reset: li;
}
div.multi-step.numbered ol .wrap {
  padding-left: 38px;
}
div.multi-step.numbered ol .wrap:before {
  background: #888688;
  background-clip: padding-box;
  content: counter(li);
  counter-increment: li;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 5px;
  left: 10px;
  color: #ffffff;
  font-size: .8em;
  font-weight: bold;
  line-height: 23px;
  text-align: center;
}
div.multi-step.numbered.long .title, div.multi-step.numbered.long .subtitle {
  display: none;
}
div.multi-step.long ol > li .wrap:before {
  background: transparent;
  font-size: 1em;
}
div.multi-step.long ol > li.current .wrap:before {
  background: transparent;
  color: #ffffff;
  font-size: 2em;
}
div.multi-step.long ol .subtitle {
  display: none;
}
    div.multi-step li.current:before, div.multi-step li.current:after {
        background-color: #5CB85C;
    }
div.multi-step li.current .wrap, div.multi-step li.current ~ li .wrap {
  opacity: 1;
}
div.multi-step li.current .wrap:before {
  background-color: #d2b29a;
}
div.multi-step li.current .title {
  color: #ffffff;
}

@media only screen and (max-width: 320px) {
  div.multi-step ol {
    display: block;
  }
  div.multi-step ol > li {
    background: #c6cbcc;
    margin-bottom: 2px;
    display: block;
  }
  div.multi-step ol > li:before, div.multi-step ol > li:after {
    background: transparent;
    border-color: transparent;
    border-style: solid;
    border-width: 8px 15px 0 15px;
    width: 0;
    height: 0;
    position: absolute;
    top: 100%;
    left: 5%;
    right: auto;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    z-index: 0;
  }
  div.multi-step ol > li:before {
    border-top-color: #c6cbcc;
    z-index: 2;
  }
  div.multi-step ol > li:after {
    border-top-color: #fff;
    bottom: auto;
    margin-top: 2px;
    z-index: 1;
  }
  div.multi-step ol > li:first-child .wrap {
    padding-top: 8px;
  }
  div.multi-step ol > li p {
    font-size: .8em;
  }
  div.multi-step ol > li .title {
    font-weight: normal;
    -webkit-hyphens: auto;
       -moz-hyphens: auto;
        -ms-hyphens: auto;
            hyphens: auto;
    word-break: break-all;
  }
  div.multi-step ol > li .wrap {
    max-width: 100%;
    min-height: 1px;
    padding-top: 12px;
    padding-bottom: 6px;
    overflow: hidden;
  }
  div.multi-step ol > li.current {
    background: #b38fb1;
  }
  div.multi-step ol > li.current:before, div.multi-step ol > li.current:after {
    background-color: transparent;
  }
  div.multi-step ol > li.current:before {
    border-top-color: #b38fb1;
  }
  div.multi-step ol > li.current .title {
    font-weight: bold;
  }
  div.multi-step.numbered ol > li .wrap {
    min-height: 18px;
    padding: 8px 8px 8px 38px;
  }
  div.multi-step.numbered ol > li .wrap:before {
    background: transparent;
    left: 2px;
    font-size: 1.2em;
  }
  div.multi-step.numbered.long ol > li .wrap:before {
    background: transparent;
  }
  div.multi-step.numbered.long ol > li.current .wrap:before {
    font-size: 1.6em;
  }
  div.multi-step.numbered.long ol .title {
    display: block;
    font-size: 1em;
  }
  div.multi-step.long:not(.numbered) .subtitle {
    display: block;
  }
}
@media only screen and (min-width: 321px) and (max-width: 480px) {
  div.multi-step ol > li p {
    font-size: .8em;
  }
  div.multi-step ol > li .title {
    font-weight: normal;
    -webkit-hyphens: auto;
       -moz-hyphens: auto;
        -ms-hyphens: auto;
            hyphens: auto;
    word-break: break-all;
  }
  div.multi-step ol > li .subtitle {
    display: none;
  }
  div.multi-step ol > li .wrap {
    min-height: 1px;
    padding-left: 10px;
  }
  div.multi-step.numbered ol > li .title {
    margin-top: -.2em;
    text-indent: 6px;
  }
  div.multi-step.numbered ol > li .wrap {
    max-width: auto;
    padding: 6px;
  }
  div.multi-step.numbered ol > li .wrap:before {
    background-color: transparent;
    border: 0;
    display: inline-block;
    vertical-align: top;
    position: static;
    top: auto;
    left: auto;
  }
  div.multi-step.numbered:not(.long) .wrap:before {
    line-height: 1;
  }
  div.multi-step.long:not(.numbered) ol {
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
        flex-flow: row wrap;
  }
  div.multi-step.long:not(.numbered) ol li {
    margin-bottom: 2px;
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    max-width: 20%;
  }
  div.multi-step.long:not(.numbered) ol .title {
    font-weight: bold;
  }
  div.multi-step.long:not(.numbered) ol .subtitle {
    display: block;
    padding-left: 8px;
  }
  div.multi-step.long:not(.numbered) ol .wrap {
    padding-left: 10px;
  }
}
@media only screen and (min-width: 481px) and (max-width: 640px) {
  div.multi-step ol > li p {
    font-size: .9em;
  }
  div.multi-step ol > li .title {
    -webkit-hyphens: auto;
       -moz-hyphens: auto;
        -ms-hyphens: auto;
            hyphens: auto;
    word-break: break-all;
  }
  div.multi-step ol > li .wrap {
    min-height: 16px;
  }
  div.multi-step ol > li.current .wrap:before {
    background: #d2b29a;
  }
  div.multi-step.numbered ol > li .title {
    margin-top: .2em;
  }
  div.multi-step.numbered ol > li .subtitle {
    display: none;
  }
  div.multi-step.numbered ol > li .wrap {
    padding-left: 12px;
  }
  div.multi-step.numbered ol > li .wrap:before {
    border: 0;
    display: inline-block;
    vertical-align: top;
    position: static;
    top: auto;
    left: auto;
  }
  div.multi-step.long ol .subtitle {
    display: none;
  }
  div.multi-step.long ol .wrap:before {
    background: transparent;
  }
  div.multi-step.long:not(.numbered) ol {
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
        flex-flow: row wrap;
  }
  div.multi-step.long:not(.numbered) ol li {
    margin-bottom: 2px;
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    max-width: 50%;
  }
  div.multi-step.long:not(.numbered) ol .subtitle {
    display: block;
  }
  div.multi-step.long:not(.numbered) ol .wrap {
    padding-left: 10px;
  }
}
