.n0upload {
  display: inline;
}
.n0upload .n0uploadFile, .n0uploadUrl { 
  height: 28px;
  border: 1px solid #bcc5c9;
  background: #fff url("/engine/skins/images/fbutton.png") repeat-x 0 100%;
  text-shadow: 0 1px 0 #fff;
  text-align: left;
  font-size:13px; 
  font-weight:bold;
  color: #596368;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  overflow:hidden;
  -moz-box-shadow: 0 1px 4px -3px black;
  -webkit-box-shadow: 0 1px 4px -3px black;
  box-shadow: 0 1px 4px -3px black;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px; 
  border-radius: 6px;
}
.n0upload .n0uploadFile:hover, .n0uploadUrl:hover{
  background-position: 0 10px; 
}
.n0upload .n0uploadFile .input { 
  width:100%;
  height:34px;
  position:relative;
  overflow:hidden;
}
.n0upload .n0uploadFile .input span { 
  height:34px; 
  line-height:30px; 
  padding:0 15px 0 10px; 
  margin-left:5px; 
  font-size:13px; 
  font-weight:bold;
  display:block; 
  background-position:100% 0;
}
.n0upload .n0uploadUrl { line-height:30px; padding:0 15px 0 10px; margin-left:5px; font-size:13px; font-weight:bold; background-position:100% 0;}
.n0upload .n0uploadFile .input:hover { background-position:0 50%; }
.n0upload .n0uploadFile .input:hover span { background-position:100% 50%; }
.n0upload .n0uploadFile .input input { font-size:72px; position:absolute; top:-20px; right:-20px; opacity:0; filter:alpha(opacity=0); cursor:pointer; height:100px; width:auto }
@-moz-document url-prefix() {.n0upload .n0uploadFile .input input { left:-850px; }}

@-webkit-keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}

@-moz-keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}

@-ms-keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}

@-o-keyframes progress-bar-stripes {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 40px 0;
  }
}

@keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}
.n0upload .n0uploadProgress .bar{
  float: left;
  width: 0;
  height: 100%;
  font-size: 12px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #0e90d2;
  background-image: -moz-linear-gradient(top, #149bdf, #0480be);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
  background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
  background-image: -o-linear-gradient(top, #149bdf, #0480be);
  background-image: linear-gradient(to bottom, #149bdf, #0480be);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);
  -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
     -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
          box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: width 0.6s ease;
     -moz-transition: width 0.6s ease;
       -o-transition: width 0.6s ease;
          transition: width 0.6s ease;
  -webkit-animation: progress-bar-stripes 2s linear infinite;
     -moz-animation: progress-bar-stripes 2s linear infinite;
      -ms-animation: progress-bar-stripes 2s linear infinite;
       -o-animation: progress-bar-stripes 2s linear infinite;
          animation: progress-bar-stripes 2s linear infinite;
  background-color: #149bdf;
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  -webkit-background-size: 40px 40px;
     -moz-background-size: 40px 40px;
       -o-background-size: 40px 40px;
          background-size: 40px 40px;
}
.n0upload .n0uploadProgress{
  height: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  top: 50%;
  width: 100%;
  margin-top: -10px; 
  background-color: #f7f7f7;
  background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));
  background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9);
  background-repeat: repeat-x;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0);
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
     -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
          box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
.n0upload .n0fileContent{
  display: relative;
  background-color: auto;
  border: none;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.n0upload .n0fileBusy {
  background-color: rgb(128, 128, 128);
  border: 1px solid rgb(100, 100, 100);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
  -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
  filter:progid:DXImageTransform.Microsoft.Alpha(opacity=60);
  -moz-opacity:0.6;
  -khtml-opacity:0.6;
  opacity:0.6;
}
.n0upload .clearfix {
  *zoom: 1;
}
.n0upload .clearfix:before,
.n0upload .clearfix:after {
  display: table;
  line-height: 0;
  content: "";
}
.n0upload .clearfix:after {
  clear: both;
}
.n0upload .n0uploadList {
  position: relative;
} 
.n0upload .n0uploadList .img,
.n0upload .n0uploadList .file,
.n0upload .n0uploadList .error{
  float:left;
  width:auto;
  text-align: center;
  padding: 4px 16px 4px 4px;
  margin:0px 4px 4px 0px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); 
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  position: relative;
}
.n0upload .n0uploadList .img {
  width: 100px;
  height: 100px;
}
.n0upload .n0uploadList .img a {
  width: 100px;
  height: 100px;
  vertical-align: middle;
  display: table;
}
.n0upload .n0uploadList .img a span {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
.n0upload .n0uploadList .img img{
  max-width:100px !important;
  max-height:100px !important;
}
.n0upload .n0uploadList .error{
  border: 1px solid rgba(255, 0, 0, 0.2);
  background-color: rgba(255, 0, 0, 0.2);
  width:100%;
  padding: 4px;
}
.n0upload .n0uploadList span.close{
  cursor: pointer;
  position: absolute;
  right: 2px;
  top: 2px;
  font-weight: bolder;
  font-size: 1.2em;
  width: 16px;
  height: 16px;
  line-height: 16px;
}