#compose-attachments #attachment-list li {
  padding: 0px 15px 4px 0px;
  list-style: none;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  background: transparent;
  cursor: pointer;
}

#attachment-list li a {
  padding-left: 0px;

}

.attachmentpreview {
  min-width: 120px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}

.attachmentpreview img {
  display: block;
  position: relative;
  background: url(filetypes.png) 0 0 no-repeat;
  min-height: 26px;
  min-width: 26px;
  margin: auto;
}

.pdf.attachmentpreview img {
  background-position: 0 -26px;
}

.doc.attachmentpreview img,
.docx.attachmentpreview img,
.msword.attachmentpreview img {
	background-position: 0 -52px;
}

.odt.attachmentpreview img {
	background-position: 0 -78px;
}

.xls.attachmentpreview img,
.xlsx.attachmentpreview img,
.msexcel.attachmentpreview img {
	background-position: 0 -104px;
}

.ods.attachmentpreview img {
	background-position: 0 -130px;
}

.zip.attachmentpreview img,
.gz.attachmentpreview img {
	background-position: 0 -156px;
}

.rar.attachmentpreview img {
	background-position: 0 -182px;
}

.image.attachmentpreview img {
	background-position: 0 -208px;
}

.jpg.attachmentpreview img,
.jpeg.attachmentpreview img {
	background-position: 0 -234px;
}

.png.attachmentpreview img {
	background-position: 0 -260px;
}

.m4p.attachmentpreview img {
	background-position: 0 -286px;
}

.mp3.attachmentpreview img,
.audio.attachmentpreview img {
	background-position: 0 -312px;
}

.video.attachmentpreview img {
	background-position: 0 -338px;
}

.txt.attachmentpreview img,
.text.attachmentpreview img {
	background-position: 0 -416px;
}

.ics.attachmentpreview img,
.calendar.attachmentpreview img {
	background-position: 0 -364px;
}

.vcard.attachmentpreview img {
	background-position: 0 -390px;
}

.html.attachmentpreview img {
	background-position: 0 -442px;
}

.attachmentslist li.uploading span {
  display: none;
}

.progress {
  position: relative;
}

.progress .bar {
  overflow: hidden;
  position: relative;
  z-index: 2;
  transition: width .3s ease!important;
}

.attachmentslist li.uploading a.cancelupload {
  height: auto;
  width: auto;
  top: 4px;
  background: none;
  text-indent: 0;
}


.progress .progress-text {
  line-height: 20px;
  height: 100%;
  width: 100%;
  position: absolute;
  text-align: center; 
  font-size: 12px;
}

.progress > .progress-text {
  z-index: 1;
}

.progress .bar .progress-text {
  z-index: 3;
}


.hint .progress {
  margin-bottom: 4px;
}

.hint .progress .bar.bar-stripped {
  background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
  background-image: -o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
  background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
  -webkit-background-size: 40px 40px;
  background-size: 40px 40px
}
