#qg-primary-content ol.flowchart {
  display: flex;
  flex-flow: row wrap;
  margin: 0 0 2em;
}
#qg-primary-content ol.flowchart, #qg-primary-content ol.flowchart > li {
  padding: 0;
  list-style: none;
}
#qg-primary-content ol.flowchart > li {
  flex-basis: 100%;
  margin: 1.5em 0.8em 0 0;
  border: 1px solid #c9c8c7;
  padding: 1em 0.8rem;
  background: #f6f6f6;
  border-radius: 3px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: center;
}
#qg-primary-content ol.flowchart > li:after {
  display: inline-block;
  font-size: 21px;
  font-size: 1.3rem;
  line-height: 1;
  font-family: 'FontAwesome';
  content: '\f0d7';
  color: inherit;
  font-size: 38px;
  font-size: 2rem;
  color: #c9c8c7;
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translate(-50%, 100%) scale(2, 1);
  font-size: 180%;
  z-index: 1;
  line-height: 19px;
}
#qg-primary-content ol.flowchart > li:first-child:before, #qg-primary-content ol.flowchart > li:last-child:before {
  content: "";
  width: 75%;
  height: 10px;
  left: 50%;
  position: absolute;
}
#qg-primary-content ol.flowchart > li:first-child:before {
  background: #00a200;
  top: -1px;
  transform: translate(-50%, -100%);
  border-radius: 3px 3px 0 0;
}
#qg-primary-content ol.flowchart > li:last-child:before {
  background: #b70303;
  bottom: -1px;
  top: auto;
  transform: translate(-50%, 100%);
  border-radius: 0 0 3px 3px;
}
#qg-primary-content ol.flowchart > li:last-child:after {
  content: none;
}
#qg-primary-content ol.flowchart > li strong {
  border: 1px solid #13578b;
  background: #13578b;
  color: #fff;
  border-radius: 3px;
  padding: 2em 0.8rem;
  display: block;
  margin: -1em -0.8rem;
  font-weight: normal;
}
#qg-primary-content ol.flowchart > li strong:before {
  content: "Current step";
  position: absolute;
  left: -1px;
  background: #cce8ef;
  padding: 0.2em 0.3em;
  font-size: 85%;
  display: block;
  color: #333;
  top: -1px;
  right: -1px;
  border-radius: 3px;
  text-align: center;
  margin: 0.3em;
}
#qg-primary-content ol.flowchart > li strong a {
  color: #f6f6f6;
}
@media (min-width: 43em) {
  #qg-primary-content ol.flowchart {
    margin: 0 0 2em 0.5em;
  }
  #qg-primary-content ol.flowchart > li {
    flex-basis: calc(20% - 0.8em);
    text-align: left;
  }
  #qg-primary-content ol.flowchart > li:after {
    display: inline-block;
    font-size: 21px;
    font-size: 1.3rem;
    line-height: 1;
    font-family: 'FontAwesome';
    content: '\f0da';
    color: inherit;
    font-size: 38px;
    font-size: 2rem;
    color: #c9c8c7;
    top: 50%;
    bottom: auto;
    left: auto;
    right: 0;
    transform: translate(100%, -50%) scale(1, 2);
  }
  #qg-primary-content ol.flowchart > li strong {
    border-radius: 0 0 3px 3px;
  }
  #qg-primary-content ol.flowchart > li strong:before {
    transform: translateY(-100%);
    top: 1px;
    margin-top: 0.7em;
  }
  #qg-primary-content ol.flowchart > li:first-child:before, #qg-primary-content ol.flowchart > li:last-child:before {
    width: 10px;
    height: 75%;
    top: 50%;
    left: auto;
    bottom: auto;
  }
  #qg-primary-content ol.flowchart > li:first-child:before {
    left: -1px;
    transform: translate(-100%, -50%);
    border-radius: 3px 0 0 3px;
  }
  #qg-primary-content ol.flowchart > li:last-child:before {
    right: -1px;
    transform: translate(100%, -50%);
    border-radius: 0 3px 3px 0;
  }
}
