/*
 * ImgLoader
 * Version: 0.1.3
 * https://github.com/7vsy/ImgLoader
 *
 * Copyright(c) 2012 Masato WATANABE <7vsyml@gmail.com>
 * MIT Licensed
 */
.ImgLoader-loading {
  position:relative;
  top:35%;
  left:35%;
  background: #000;
  color: #fff;
  font-size: 14px;
  width: 80px;
  padding: 10px;
  margin-top: 10px;
  line-height: 0.8;
  z-index:1000;
  text-align: center;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
  -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
  box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
}

.ImgLoader-spinner {
  height: 10px;
  width: 10px;
  margin: 0 auto 10px auto;
  border: 10px solid #777;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;

  -webkit-animation-name: ImgLoader-spinner-frames;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 1s;

  -moz-animation-name: ImgLoader-spinner-frames;
  -moz-animation-timing-function: linear;
  -moz-animation-iteration-count: infinite;
  -moz-animation-duration: 1s;
}

@-webkit-keyframes ImgLoader-spinner-frames {
  0% {
    border-top: 10px solid #000;
  }
  25% {
    border-right: 10px solid #000;
  }
  50% {
    border-bottom: 10px solid #000;
  }
  75% {
    border-left: 10px solid #000;
  }
  100% {
    border-top: 10px solid #888;
    border-left: 10px solid #888;
  }
}

@-moz-keyframes ImgLoader-spinner-frames {
  0% {
    border-top: 10px solid #000;
  }
  25% {
    border-right: 10px solid #000;
  }
  50% {
    border-bottom: 10px solid #000;
  }
  75% {
    border-left: 10px solid #000;
  }
  100% {
    border-top: 10px solid #888;
    border-left: 10px solid #888;
  }
}

.ImgLoader-progress {
  padding: 10px;
  text-align: center;
  background: #000;
  color: #fff;
}

