/*   作者：lopo1983@foxmail.com
            网站：www.bsfans.com
       QQ：64832897
            基友群：15832082
            更新时间：2017-12-16
            描述：
       1.  css.less 主色调 蓝色修改@ces /背景色 修改@cc2
       2.  更新为less 书写的css 方便定制
       3.  请便以为css后上线
/*step*/
.step {
  counter-reset: flag;
}
.step.nav-stacked li + li {
  margin-top: 0;
}
.step li {
  position: relative;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}
.step li a {
  cursor: pointer;
  padding: 10px 15px;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}
.step li a:before {
  content: counter(flag);
  counter-increment: flag;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}
.step li a:after {
  content: "";
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}
.step-arrow {
  margin: 20px 0;
}
.step-arrow.unhover li a:hover,
.step-arrow.unhover li a:focus {
  background-color: #f6f6f6;
  color: #c0c0c0;
}
.step-arrow.unhover li a:hover:before,
.step-arrow.unhover li a:focus:before {
  background-color: #999999;
  color: #ffffff;
}
.step-arrow.unhover li:not(:last-child) a:hover:after,
.step-arrow.unhover li:not(:last-child) a:focus:after {
  background-color: #f6f6f6;
}
.step-arrow li {
  padding-right: 20px;
}
.step-arrow li:last-child {
  padding-right: 0;
}
.step-arrow li:nth-child(n+2) a {
  margin-left: -20px;
  border-radius: 0;
}
.step-arrow li:not(:last-child) a:after {
  position: absolute;
  top: -1px;
  right: -20px;
  width: 40px;
  height: 40px;
  transform: scale(0.707) rotate(45deg);
  z-index: 1;
  background-color: #f6f6f6;
  border-radius: 0 5px 0 50px;
  border-top: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  box-sizing: content-box;
}
.step-arrow li:not(:last-child) a:hover:after {
  background-color: #007bff;
}
.step-arrow li a {
  border-radius: 0;
  color: #c0c0c0;
  background-color: #f6f6f6;
}
.step-arrow li a:hover {
  background-color: #007bff;
  color: #ffffff;
}
.step-arrow li a:hover:before {
  background: #ffffff;
  color: #007bff;
}
.step-arrow li a:before {
  position: absolute;
  z-index: 2;
  width: 20px;
  height: 20px;
  line-height: 20px;
  border-radius: 20px;
  left: 3rem;
  font-weight: bold;
  font-size: 1rem;
  overflow: hidden;
  top: 10px;
  background: #999999;
  color: #ffffff;
}
.step-arrow li.active a:before {
  background: #ffffff;
  color: #007bff;
}
.step-arrow li.active a:after {
  background-color: #007bff;
}
.step-arrow li.active a,
.step-arrow li.active a:hover {
  background-color: #007bff;
  color: #ffffff;
}
.step-arrow li.active a:before,
.step-arrow li.active a:hover:before {
  background-color: #ffffff;
  color: #007bff;
}
.step-arrow li.active a:after,
.step-arrow li.active a:hover:after {
  background-color: #007bff !important;
}
.step-square {
  margin-top: 40px;
}
.step-square.nav-justified > li:hover a:before,
.step-square.nav-stacked > li:hover a:before,
.step-square.nav-justified > li:active a:before,
.step-square.nav-stacked > li:active a:before,
.step-square.nav-justified > li.active a:before,
.step-square.nav-stacked > li.active a:before {
  background-color: #007bff;
  color: #ffffff;
  border-color: #007bff;
}
.step-square.nav-justified > li:hover a:after,
.step-square.nav-stacked > li:hover a:after,
.step-square.nav-justified > li:active a:after,
.step-square.nav-stacked > li:active a:after,
.step-square.nav-justified > li.active a:after,
.step-square.nav-stacked > li.active a:after {
  background-color: #007bff;
}
.step-square.nav-justified > li:first-child a:after,
.step-square.nav-stacked > li:first-child a:after {
  left: 50%;
  border-right: 1px solid #ffffff;
}
.vertical.step-square.nav-justified > li:first-child a:after,
.vertical.step-square.nav-stacked > li:first-child a:after {
  top: 50%;
  height: 50%;
}
.step-square.nav-justified > li:last-child a:after,
.step-square.nav-stacked > li:last-child a:after {
  right: 50%;
  border-left: 1px solid #ffffff;
}
.vertical.step-square.nav-justified > li:last-child a:after,
.vertical.step-square.nav-stacked > li:last-child a:after {
  top: 0;
  height: 50%;
}
.step-square.nav-justified > li > a,
.step-square.nav-stacked > li > a {
  color: #ababab;
}
.step-square.nav-justified > li > a:hover,
.step-square.nav-stacked > li > a:hover {
  background-color: #ffffff;
  color: #007bff;
}
.step-square.nav-justified > li > a:before,
.step-square.nav-stacked > li > a:before {
  position: absolute;
  z-index: 2;
  top: -2rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 2rem;
  height: 2rem;
  background-color: #ffffff;
  line-height: 20px;
  border: 1px solid #999999;
}
.vertical.step-square.nav-justified > li > a:before,
.vertical.step-square.nav-stacked > li > a:before {
  top: 0;
  position: relative;
  display: inline-block;
  text-align: center;
  margin-right: 15px;
}
.step-square.nav-justified > li > a:after,
.step-square.nav-stacked > li > a:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -35%;
  background-color: #ababab;
  z-index: 1;
  height: 2px;
  border: solid #ffffff;
  border-width: 0 1px;
}
.vertical.step-square.nav-justified > li > a:after,
.vertical.step-square.nav-stacked > li > a:after {
  width: 2px;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 26px;
  background-color: #ababab;
  border: none;
}
.step-square.nav-justified > li.active > a,
.step-square.nav-stacked > li.active > a,
.step-square.nav-justified > li.active > a:focus,
.step-square.nav-stacked > li.active > a:focus,
.step-square.nav-justified > li.active > a:hover,
.step-square.nav-stacked > li.active > a:hover {
  color: #007bff;
  background: transparent;
}
.vertical.step-square.nav-justified > li.active > a:after,
.vertical.step-square.nav-stacked > li.active > a:after,
.vertical.step-square.nav-justified > li.active > a:focus:after,
.vertical.step-square.nav-stacked > li.active > a:focus:after,
.vertical.step-square.nav-justified > li.active > a:hover:after,
.vertical.step-square.nav-stacked > li.active > a:hover:after {
  background-color: #007bff;
}
.step-round {
  margin-top: 40px;
}
.step-round > li:first-child > a:after {
  left: 30%;
  border-radius: 5px 0 0 5px;
}
.vertical.step-round > li:first-child > a:after {
  border-radius: 5px 5px 0 0;
}
.step-round > li:last-child > a:after {
  right: 30%;
  border-radius: 0 5px 5px 0;
}
.vertical.step-round > li:last-child > a:after {
  border-radius: 0 0 5px 5px;
}
.step-round > li.active > a,
.step-round > li.active > a:hover,
.step-round > li.active > a:focus {
  background: transparent;
  color: #007bff;
}
.step-round > li.active > a:before,
.step-round > li.active > a:hover:before,
.step-round > li.active > a:focus:before {
  background-color: #007bff;
  color: #ffffff;
}
.step-round > li.active > a:after,
.step-round > li.active > a:hover:after,
.step-round > li.active > a:focus:after {
  background-color: #007bff;
}
.vertical.step-round > li.active > a:after,
.vertical.step-round > li.active > a:hover:after,
.vertical.step-round > li.active > a:focus:after {
  background-color: #007bff;
}
.step-round > li > a {
  color: #ababab;
}
.step-round > li > a:before {
  position: absolute;
  z-index: 2;
  top: -2rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #ffffff;
  line-height: 2rem;
  box-shadow: 0 0 0 5px #ababab;
}
.vertical.step-round > li > a:before {
  top: 0;
  position: relative;
  display: inline-block;
  text-align: center;
  margin-right: 15px;
}
.step-round > li > a:after {
  position: absolute;
  left: 0;
  right: 0;
  top: -38%;
  background-color: #ababab;
  z-index: 1;
  height: 8px;
}
.vertical.step-round > li > a:after {
  width: 8px;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 22px;
  background-color: #ababab;
  border: none;
}
.step-round > li > a:after:after {
  background-color: #007bff;
}
.step-round > li > a:hover {
  background: transparent;
  color: #007bff;
}
.step-round > li > a:hover:before {
  background-color: #007bff;
  color: #ffffff;
}
.step-round > li > a:hover:after {
  background-color: #007bff;
}
.step-progress {
  margin-top: 60px;
}
.step-progress > li > a {
  color: #ababab;
  padding-top: 1.8rem;
}
.step-progress > li > a:before {
  position: absolute;
  z-index: 2;
  top: -35px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  line-height: 2rem;
  box-shadow: 0 0 0 5px #ababab;
}
.step-progress > li > a:after {
  content: "";
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0));
  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0));
  -webkit-background-size: 40px 40px;
  background-size: 40px 40px;
  background-color: #ababab;
  float: left;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
}
.step-progress > li > a span.caret {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  transform: rotate(180deg);
  top: -4px;
}
.step-progress > li > a:hover {
  background: transparent;
  color: #007bff;
}
.step-progress > li > a:hover:before {
  color: #ffffff;
  background-color: #007bff;
}
.step-progress > li > a:hover:after {
  background-color: #007bff;
}
.step-progress > li.active > a,
.step-progress > li.active > a:hover,
.step-progress > li.active > a:focus {
  color: #007bff;
  background: transparent;
}
.step-progress > li.active > a:before,
.step-progress > li.active > a:hover:before,
.step-progress > li.active > a:focus:before {
  background-color: #007bff;
  color: #ffffff;
}
.step-progress > li.active > a:after,
.step-progress > li.active > a:hover:after,
.step-progress > li.active > a:focus:after {
  background-color: #007bff;
}
.step-progress > li.active > a:after {
  -webkit-animation: progress-bar-stripes 2s linear infinite;
  -o-animation: progress-bar-stripes 2s linear infinite;
  animation: progress-bar-stripes 2s linear infinite;
}
.step-progress > li:first-child a:after {
  border-radius: 5px 0 0 5px;
}
.step-progress > li:last-child a:after {
  border-radius: 0 5px 5px 0;
}
/*step-progress*/
