﻿.order-timeline {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.li {
  transition: all 200ms ease-in;
}

.li:first-child>.order-timestamp {
    margin-bottom: 20px;
  padding: 0px 0px;
  margin-left:-30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 100;
}

.li:last-child>.order-timestamp {
    margin-bottom: 20px;
  padding: 0px 0px;
  margin-right:-50px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-weight: 100;
}

.order-timestamp {
  margin-bottom: 20px;
  padding: 0px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 100;
}

.order-status {
  padding: 0px 40px;
  display: flex;
  justify-content: center;
  border-top: 2px solid #D6DCE0;
  position: relative;
  transition: all 200ms ease-in;
}
.order-status h4 {
  font-weight: 500;
  color:#D6DCE0;
  font-size:15px
}
.order-status:before {
  content: "";
  width: 25px;
  height: 25px;
  background-color: white;
  border-radius: 25px;
  border: 1px solid #ddd;
  position: absolute;
  top: -15px;
  left: 42%;
  transition: all 200ms ease-in;
}

.li:first-child>.order-status h4 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-left:-60px;
}

.li:last-child>.order-status h4 {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-right:-100px;
}

.li:first-child>.order-status:before {
  content: "";
  width: 25px;
  height: 25px;
  background-color: white;
  border-radius: 25px;
  border: 1px solid #ddd;
  position: absolute;
  top: -15px;
  left: 0%;
  transition: all 200ms ease-in;
}

.li:last-child>.order-status:before {
  content: "";
  width: 25px;
  height: 25px;
  background-color: white;
  border-radius: 25px;
  border: 1px solid #ddd;
  position: absolute;
  top: -15px;
  left: 100%;
  transition: all 200ms ease-in;
}

.li.complete .order-status {
  /*border-top: 2px solid #008AD9;*/
  border-top: 2px solid #D6DCE0;

}

.li.complete .order-status:before {
  background-color: #D6DCE0;
  border: none;
  transition: all 200ms ease-in;
}

.li.complete .order-status.blue:before {
  background-color: #008AD9;
  border: none;
  transition: all 200ms ease-in;
}

.li.complete .order-status h4 {
  color: #D6DCE0;
}

.li .order-image {
    width:64px;
    height:64px;
    display:block;
    position:relative;
    left:45px;
    /*transition: all 1000ms ease-in;*/
}

.li:first-child .order-image {
    background:url('../Images/Commande/TL_RECUE_NB.png') no-repeat;
    background-size:contain;
    opacity:0.5;
}

.li:first-child .order-image.blue {
    background:url('../Images/Commande/TL_RECUE.png') no-repeat;
    background-size:contain;
}

.li:nth-child(0n+2) .order-image {
    background:url('../Images/Commande/TL_ATTENTE_NB.png') no-repeat;
    background-size:contain;
    opacity:0.5;
}

.li:nth-child(0n+2) .order-image.blue {
    background:url('../Images/Commande/TL_ATTENTE.png') no-repeat;
    background-size:contain;
}

.li:nth-child(0n+3) .order-image {
    background:url('../Images/Commande/TL_ENCOURS_NB.png') no-repeat;
    background-size:contain;
    opacity:0.5;
}

.li:nth-child(0n+3) .order-image.blue {
    background:url('../Images/Commande/TL_ENCOURS.png') no-repeat;
    background-size:contain;
}

.li:nth-child(0n+4) .order-image {
    background:url('../Images/Commande/TL_EXPEDIEE_NB.png') no-repeat;
    background-size:contain;
    opacity:0.5;
}

.li:nth-child(0n+4) .order-image.blue {
    background:url('../Images/Commande/TL_EXPEDIEE.png') no-repeat;
    background-size:contain;
}

.li:nth-child(0n+5) .order-image {
    background:url('../Images/Commande/TL_LIVREE_NB.png') no-repeat;
    background-size:contain;
    opacity:0.5;
}

.li:nth-child(0n+5) .order-image.blue {
    background:url('../Images/Commande/TL_LIVREE.png') no-repeat;
    background-size:contain;
}

.li:first-child .order-image {
    margin-left:-60px;
}

.li:last-child .order-image {
    left:66px;
}



@media (min-device-width: 320px) and (max-device-width: 700px) {
  .order-timeline {
    list-style-type: none;
    display: block;
  }

  .li {
    transition: all 200ms ease-in;
    display: flex;
    width: inherit;
  }

  .order-timestamp {
    width: 100px;
  }

  .order-status:before {
    left: -8%;
    top: 30%;
    transition: all 200ms ease-in;
  }
}
/*html, body {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  font-family: "Titillium Web", sans serif;
  color: #758D96;
}

button {
  position: absolute;
  width: 100px;
  min-width: 100px;
  padding: 20px;
  margin: 20px;
  font-family: "Titillium Web", sans serif;
  border: none;
  color: white;
  font-size: 16px;
  text-align: center;
}

#toggleButton {
  position: absolute;
  left: 50px;
  top: 20px;
  background-color: #75C7F6;
}*/
