
/* Webkit animation keyframes */
@-webkit-keyframes animate-stripes {
  from {
    background-position: 0 0;
  }
  
  to {
   background-position: 44px 0;
  }
}

/* Bar which is placed behind the progress */
.ui-progress-bar {
  /* Usual setup stuff */
  position: relative;
  height: 35px;
  margin-bottom:1px;
  
  /* Pad right so we don't cover the borders when fully progressed */
  padding-right: 2px;
  
  /* For browser that don't support gradients, we'll set a blanket background colour */
  background-color: #eee;
  
  /* Rounds the ends, we specify an excessive amount to make sure they are completely rounded */
  /* Adjust to your liking, and don't forget to adjust to the same amount in .ui-progress */
  border-radius: 0px;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  
  /* Webkit background gradient */
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #f3f3f3), color-stop(1, #eeeeee));
  /* Mozilla background gradient */
  background: -moz-linear-gradient(#eeeeee 0%, #f3f3f3 100%);
  
  /* Give it the inset look by adding some shadows and highlights */
  -webkit-box-shadow: inset 0px 1px 1px 0px rgba(0, 0, 0, 0.1), 0px 1px 0px 0px #FFF;
  -moz-box-shadow: inset 0px 1px 1px 0px rgba(0, 0, 0, 0.1), 0px 1px 0px 0px #FFF;
  box-shadow: inset 0px 1px 1px 0px rgba(0, 0, 0, 0.1), 0px 1px 0px 0px #FFF;
}

/* Progress part of the progress bar */
.ui-progress {
  /* Usual setup stuff */
  position: relative;
  display: block;
  overflow: hidden;
  
  /* Height should be 2px less than .ui-progress-bar so as to not cover borders and give it a look of being inset */
  height: 33px;
  
  /* Rounds the ends, we specify an excessive amount to make sure they are completely rounded */
  /* Adjust to your liking, and don't forget to adjust to the same amount in .ui-progress-bar */
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  
  /* Set the background size so the stripes work correctly */
  -webkit-background-size: 44px 44px; /* Webkit */
  
  /* For browser that don't support gradients, we'll set a blanket background colour */
  background-color: #f7f0e9;
  
  /* Webkit background stripes and gradient */
  background: -webkit-gradient(linear, 0 0, 44 44,
    color-stop(0.00, rgba(237,235,235,1.93)),
    color-stop(0.25, rgba(237,235,235,1.93)),
    color-stop(0.26, rgba(237,235,235,1.93)),
    color-stop(0.50, rgba(237,235,235,1.93)),
    color-stop(0.51, rgba(237,235,235,1.93)),
    color-stop(0.75, rgba(237,235,235,1.93)),
    color-stop(0.76, rgba(237,235,235,1.93)),
    color-stop(1.00, rgba(237,235,235,1.93))
  ), -webkit-gradient(linear, left bottom, left top, color-stop(0, #74d04c), color-stop(1, #9bdd62));
  
  /* Mozilla (Firefox etc) background stripes */
  /* Note: Mozilla's support for gradients is more true to the original design, allowing gradients at 30 degrees, as apposed to 45 degress in webkit. */
  background: -moz-repeating-linear-gradient(top left -30deg, 
    rgba(237,235,235,1.93), 
    rgba(237,235,235,1.93) 15px, 
    rgba(237,235,235,1.93) 15px, 
    rgba(237,235,235,1.93) 30px
  ), -moz-linear-gradient(#9bdd62 0%, #74d04c 100%);
  
  /* Webkit embossing */
  -webkit-box-shadow: inset 0px 1px 0px 0px #aaaaaa, inset 0px 0px 0px #c6c5c5;
  /* Mozilla embossing */
  -moz-box-shadow: inset 0px 1px 0px 0px #aaaaaa, inset 0px 0px 0px #c6c5c5;
  /* IE9 and Opera embossing */
  box-shadow: inset 0px 1px 0px 0px #aaaaaa, inset 0px 0px 0px #c6c5c5;
  
  /* Give it a higher contrast outline */
  border: 1px solid #dbdbdb;
  border-left:10px solid #0c97e6;
  border-right:none;
  border-right:3px solid #0c97e6;
  
  /* Webkit magic */
  -webkit-animation: animate-stripes 2s linear infinite;
  
  /* TODO: Wait for Mozilla to support animation, then implement */
}
.ui-progress:hover{
	border-left:10px solid #036298;
	cursor:pointer;
	border-right:3px solid #036298;
	}

/* Progress indicator text */
.ui-progress span.ui-label a {
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  font-weight: bold;
  text-transform: uppercase;
  font-size:12px;
  color: #0c97e6;
  right: 0;
  line-height: 33px;
  padding-left: 20px;
  white-space: nowrap;
  text-align:left;
}
.ui-progress span.ui-label a:hover{
	cursor:pointer;
	color:#036298;
	}

