/*
Copyright (c) 2010 Ivan Vanderbyl
Originally found at http://ivan.ly/ui

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

*/

/* 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: fixed;
  bottom:0;
  width:100%;
	height: 25px;
	/* 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: #000000;  /* 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: 35px;
  -moz-border-radius: 35px;
  -webkit-border-radius: 35px;*/
  
  
}

/* 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: 25px;
	/* 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 */
  
  
  /* 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: #1D1D1D;
	/* Give it a higher contrast outline 
  border: 1px solid #4c8932;*/
	/* Webkit magic */
  -webkit-animation: animate-stripes 2s linear infinite;  /* TODO: Wait for Mozilla to support animation, then implement */
}

/* Progress indicator text */
.ui-progress span.ui-label {
  font-size: 0.7em;
  position: absolute;
  right: 0;
  line-height: 25px;
  padding-right: 22px;
  color: ffffff;
 /* text-shadow: rgba(255,255,255, 0.45) 0 1px 0px;*/
  white-space: nowrap;
}
