ul.img-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: left;
  /*display: none;*/
}

ul.img-list li {
  display: inline-block;
  /*height: 150px;*/
  /*margin: 0 1em 1em 0;*/
  position: relative;
  /*width: 150px;*/
}

span.text-content span {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

span.text-content span i {
  font-size: 30px;
  cursor: pointer;
  margin-left: 5px;
  margin-right: 5px;
}
.img-success {
  border: 1px solid #468847 !important;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(70,136,71,0.9);
  -moz-box-shadow: 0px 0px 5px 0px rgba(70,136,71,0.9);
  box-shadow: 0px 0px 5px 0px rgba(70,136,71,0.9);
}
ul.img-list li:hover span.text-content {
  opacity: 1;
}

span.text-content {
  background: rgba(0,0,0,0.5);
  color: white;
  display: table;
  /*height: 150px;*/
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  opacity: 0;
  -webkit-transition: opacity 500ms;
  -moz-transition: opacity 500ms;
  -o-transition: opacity 500ms;
  transition: opacity 500ms;
}
/* Uploader */

div.uploader {
  background-position: 0px -297px;
  height: 28px;
}

div.uploader span.action {
  background-position: right -409px;
  height: 24px;
  line-height: 24px;
}

div.uploader span.filename {
  height: 24px;
  /* change this line to adjust positioning of filename area */
  margin: 2px 0px 2px 2px;
  line-height: 24px;
}

div.uploader.focus,
div.uploader.hover,
div.uploader:hover {
  background-position: 0px -353px;
}

div.uploader.focus span.action,
div.uploader.hover span.action,
div.uploader:hover span.action {
  background-position: right -437px;
}

div.uploader.active span.action,
div.uploader:active span.action {
  background-position: right -465px;
}

div.uploader.focus.active span.action,
div.uploader:focus.active span.action,
div.uploader.focus:active span.action,
div.uploader:focus:active span.action {
  background-position: right -493px;
}

div.uploader.disabled {
  background-position: 0px -325px;
}

div.uploader.disabled span.action {
  background-position: right -381px;
}

div.button {
  background-position: 0px -523px;
}

div.button span {
  background-position: right -643px;
}

div.button.focus,
div.button:focus,
div.button:hover,
div.button.hover {
  background-position: 0px -553px;
}

div.button.focus span,
div.button:focus span,
div.button:hover span,
div.button.hover span {
  background-position: right -673px; 
}

div.button.active,
div.button:active {
  background-position: 0px -583px;
}

div.button.active span,
div.button:active span {
  background-position: right -703px;
  color: #555;
}

div.button.disabled,
div.button:disabled {
  background-position: 0px -613px;
}

div.button.disabled span,
div.button:disabled span {
  background-position: right -733px;
  color: #bbb;
  cursor: default;
}

/* PRESENTATION */

ul.img-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: left;
  /*display: none;*/
}

ul.img-list li {
  display: inline-block;
  /*height: 150px;*/
  /*margin: 0 1em 1em 0;*/
  position: relative;
  /*width: 150px;*/
}

span.text-content span {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

span.text-content span i {
  font-size: 30px;
  cursor: pointer;
  margin-left: 5px;
  margin-right: 5px;
}

ul.img-list li:hover span.text-content {
  opacity: 1;
}
