@-webkit-keyframes myanimation {
  from {
    left: 0%;
  }
  to {
    left: 50%;
  }
}
h1 {
  text-align: center;
  font-family: 'PT Sans Caption', sans-serif;
  font-weight: 200;
  font-size: 10px;
  padding: 5px 0;
  color: #777;
}

.checkout-wrap {
  color: #444;
  font-family: 'PT Sans Caption', sans-serif;
  margin: 0px auto;
  max-width: 600px;
  position: relative;
}

ul.checkout-bar li {
	/* Titre des médaillons */
  color: #ccc;
  display: block;
  font-size: 15px;
  font-weight: 250;
  padding: 2px 10px 2px 40px;
  position: relative;
}
ul.checkout-bar li:before {
  /* Médaillons avec les chiffres */
  /*-webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
  box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);*/
  background: #ddd;
  border: 2px solid #FFF;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  font-weight: 150;
  left: 10px;
  line-height: 19px;
  height: 17px;
  position: absolute;
  text-align: center;
  /*text-shadow: 1px 1px rgba(0, 0, 0, 0.2);*/
  top: 2px;
  width: 17px;
  z-index: 999;
}
ul.checkout-bar li.active {
	/* Titre du médaillon actif */
  color: #a2907a;
  font-weight: bold;
}
ul.checkout-bar li.active:before {
  /* Médaillon actif avec les chiffres */
  background: #a2907a;
  border: 4px double #FFF;
  height: 23px;
  left: 42%;
  line-height: 23px;
  position: absolute;
  top: -29px;
  width: 23px;
  z-index: 99999;
}
ul.checkout-bar li.lastactive {
  /* Titre du dernier médaillon actif */
  color: #a2907a;
  font-weight: bold;
}
ul.checkout-bar li.lastactive:before {
  /* Dernier médaillon actif avec les chiffres */
  background: #a2907a;
  border: 4px double #FFF;
  height: 23px;
  left: 42%;
  line-height: 23px;
  position: absolute;
  top: -29px;
  width: 23px;
  z-index: 99999;
}
ul.checkout-bar li.visited {
  background: #E6E6E6;
  color: #a2907a;
  z-index: 99999;
}
ul.checkout-bar li.visited:before {
  background: #a2907a;
  z-index: 99999;
}
ul.checkout-bar li.lastvisited {
  background: #E6E6E6;
  color: #a2907a;
  z-index: 99999;
}
ul.checkout-bar li.lastvisited:before {
  background: #a2907a;
  z-index: 99999;
}
ul.checkout-bar li:nth-child(1):before {
  content: "1";
}
ul.checkout-bar li:nth-child(2):before {
  content: "2";
}
ul.checkout-bar li:nth-child(3):before {
  content: "3";
}
ul.checkout-bar li:nth-child(4):before {
  content: "4";
}
ul.checkout-bar li:nth-child(5):before {
  content: "5";
}
ul.checkout-bar a {
  color: #a2907a;
  font-size: 8px;
  font-weight: 400;
  text-decoration: none;
}

@media all and (min-width: 200px) {
   .checkout-wrap {
    margin: 12px auto;
  }

  ul.checkout-bar {
   /* Barre du fond (grise) */
   
    /*-webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    /*background-size: 35px 35px;
    background-color: #E6E6E6;
    /*border-radius: 15px;*/
    height: 8px;
    margin: 0 auto;
    padding: 0;
   /* Centré sur la page */
    position: relative;
   /* Largeur de la barre et de tout son contenu */
    width: 100%;
  }
/*   ul.checkout-bar:before {
    background-size: 35px 35px;
    background-color: #B8AA52;
    background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    content: " ";
    height: 15px;
    left: 0;
    position: absolute;
    width: 12%;
  } */
  ul.checkout-bar li {
    display: inline-block;
    margin: 17px 0 0;
    padding: 0;
	padding-top: 3px;
    text-align: center;
	vertical-align: text-top;
    /* Espacement entre les étapes */
    width: 32.8%;
    /* width: 24.4%; */
    /* width: 19.4%; */
  }
  ul.checkout-bar li:before {
  /* Positionnement des médaillons */
    height: 23px;
    left: 43%;
    line-height: 23px;
    position: absolute;
    top: -27px;
    width: 23px;
    z-index: 99;
 }
  ul.checkout-bar li.visited {
    background: none;
  }
  ul.checkout-bar li.visited:after {
   /* Barre déjà visitée (Jaune) */
   
    background-size: 17px 17px;
    background-color: #a2907a;
    /*-webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);*/
    border-radius: 8px;
    content: "";
    height: 5px;
    left: 50%;
    position: absolute;
    top: -16px;
    width: 100%;
    z-index: 99;
  }
 ul.checkout-bar li.active:after {
  /* Barre active (verte) */
  
    -webkit-animation: myanimation 3s 0;
    background-size: 17px 17px;
    background-color: #E6E6E6;
    /*-webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);*/
    border-radius: 8px;
    content: "";
    height: 5px;
    width: 100%;
    left: 50%;
    position: absolute;
    top: -16px;
    z-index: 0;
  }

  ul.checkout-bar li.next:after {
   /* Barre déjà visitée (Jaune) */
   
    background-size: 17px 17px;
    background-color: #E6E6E6;
    /*-webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);*/
    border-radius: 8px;
    content: "";
    height: 5px;
    left: 50%;
    position: absolute;
    top: -16px;
    width: 100%;
    z-index: 0;
	}

  ul.checkout-bar li.lastactive:after {
   /* Dernière barre active (verte) */
   
   -webkit-animation: myanimation 3s 0;
    background-size: 17px 17px;
    background-color: #a2907a;
    /*-webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);*/
    border-radius: 8px;
    content: "";
    height: 5px;
    width: 50;
    left: 50%;
    position: absolute;
    top: -16px;
    z-index: 0;
  }

  ul.checkout-bar li.lastvisited {
    background: none;
  }
  ul.checkout-bar li.lastvisited:after {
   /* Dernière barre déjà visitée (Jaune) */
   
    background-size: 17px 17px;
    background-color: #a2907a;
    /*-webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);*/
    border-radius: 8px;
    content: "";
    height: 5px;
    left: 50%;
    position: absolute;
    top: -16px;
    width: 69%;
    z-index: 99;
  }
}
