﻿* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.checkout-wrap {
  padding: 30px 50px;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
}

/*progressbar*/
#checkout-bar {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0 auto;
  list-style: none;
  float: left;
  clear: both;
}

#checkout-bar li {
  position: relative;
  width: 25%;
  float: left;
  text-align: center;
  color: #999;
  text-transform: uppercase;
}

/*progressbar connectors*/
#checkout-bar li:after {
  position: relative;
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  top: 2.5px;
  left: 50%;
  border: 2px solid #ddd;
  background-color: #fff;
  border-radius: 100%;
  z-index: 4;
}



#checkout-bar.step1 .step1:after,
#checkout-bar.step2 .step2:after,
#checkout-bar.step3 .step3:after,
#checkout-bar.step4 .step4:after {
  background-color: #82a91c;
  -webkit-transition: width 2s;
  -o-transition: width 2s;
  -moz-transition: width 2s;
  /* Safari */
  transition: all 3s;
}

#checkout-bar li span {
  position: relative;
  display: block;
  left: 50%;
}

#checkout-bar:before,
#checkout-bar:after {
  position: absolute;
  content: "";
  top: 50%;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  margin: auto 0;
  background-color: #c3c3c3;
  z-index: 1;
}

#checkout-bar.step1:after,
#checkout-bar.step2:after,
#checkout-bar.step3:after,
#checkout-bar.step4:after {
  width: 25%;
  background-color: #82a91c;
  z-index: 2;
  -o-transition: width 2s;
  -moz-transition: width 2s;
  -webkit-transition: width 2s;

  /* Safari */
  transition: width 2s;
}

#checkout-bar.step2:after {
  width: 50%;
  background-color: #82a91c;
  z-index: 2;
  -o-transition: width 2s;
  -moz-transition: width 2s;
  -webkit-transition: width 2s;

  /* Safari */
  transition: width 2s;
}

#checkout-bar.step3:after {
  width: 75%;
  background-color: #82a91c;
  z-index: 2;
  -o-transition: width 2s;
  -moz-transition: width 2s;
  -webkit-transition: width 2s;

  /* Safari */
  transition: width 2s;
}

#checkout-bar.step4:after {
  width: 100%;
  background-color: #82a91c;
  z-index: 2;
  -o-transition: width 2s;
  -moz-transition: width 2s;
  -webkit-transition: width 2s;

  /* Safari */
  transition: width 2s;
}

#checkout-bar li.complete:before,  #checkout-bar li.complete:after{
	background: #82a91c;
	color: white;
}