.listfiles{
  margin-left: 0px;
  line-height: 0px;
  margin-bottom: 0px;
}
.listfiles .listfiles-wrapper{
  display: inline-block;
  padding: 0px;
  max-width: 896px;
	height: 132px;
	display: none; /* Displayed/Hidden in JS */
	margin-right: 10px;
}
.listfiles ul{
  display: inline-block;
  list-style: none;
  padding: 0px;
  margin: 0px;
  transition: none;
  padding: 0px 0px 0px 0px;
  font-size: 0px;
  white-space: nowrap;
  max-width: 100%;
  height: 128px;
  overflow-x: auto;
  overflow-y: hidden;
}
.listfiles a{
  display: inline-block;
  position: relative;
  padding: 0px;
	margin: 0px;
	margin-right: 10px;
  transition: all ease 0.5s;
	border-radius: 6px;
	background-color: rgba(0,0,0,.05);
	border: 2px solid #5897fb;
  padding-right: 4px;
  height: 100%; /* adapt pics size but create an extra space in Firefox when horizontal scroll bar appears */
  /*height: 192px;*/ /* pics are hidden at bottom when horizontal scroll bar appears */

  width: 128px;
  overflow: hidden;
  text-decoration: none;
  /*background-color: #eee;*/
	/*background-position: 30px 4px;*/
	background-position: center;
	transition: all 0.2s;
}
.listfiles a:last-child{
  padding-right: 0px;
}
.listfiles span.ext{
	position: absolute;
	top: 12px;
	left: 0px;
	right: 0px;
	line-height: 36px;
	font-size: 26px;
	text-transform: uppercase;
	color: #5897fb;
	text-align: center;
}
.listfiles span.name{
	position: absolute;
	bottom: 45px;
	left: 0px;
	display: inline-block;
	width: 100%;
	line-height: 16px;
	font-size: 12px;
	word-wrap: break-word;
	white-space: normal;
	color: #555;
	text-shadow: 1px 1px 1px #fff;
	text-align: center;
	padding: 0px 7px;
}
.listfiles a:hover {
	background-color: rgba(0,0,0,.05) !important;
	background-image: none !important;
}
.listfiles a:hover span.ext.hidden, .listfiles a:hover span.name.hidden {
	display: block!important;
}
.listfilesIcons {
	display: flex;
	position: absolute;
	top: 72%;
	left: 0px;
	width: 100%;
	justify-content: center;
}
.listfiles i{
	width: 25px;
	height: 25px;
	font-size: 13px;
	line-height: 13px;
	color: #b5b5b5;
	cursor: pointer;
	transition: opacity 0.2s ease-in-out;
	background-color: white;
	margin: 0px 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 100%;
	border: 1px solid #e0e0e0;
	transition: all ease 0.5s;
}
.listfiles a:hover i{
  opacity: 1;
}
.listfiles i:hover{
	border: 1px solid #bbbbbb;
  color: #5897fb;
}

.listfiles .listfiles-uploadzone{
	position: relative;
	vertical-align: top;
	height: 132px;
	width: 350px;
	margin-top: 17px;
}
.listfiles .listfiles-uploadzone input{
  display: none;
}
.listfiles .listfiles-uploadzone button{
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #f7f7f7;
  border: 1px dashed #afafaf;
  outline: none;
  transition: all 0.2s ease-in-out;
	border-radius: 6px;
	line-height: 25px;
}
.listfiles .listfiles-uploadzone button:active,
.listfiles .listfiles-uploadzone button.hover,
.listfiles .listfiles-uploadzone button:hover{
  background-color: #fff;
	border: 1px solid #5897fb;
	cursor: pointer;
}
.listfiles .listfiles-uploadzone .loader{
  position: absolute;
  display: inline-block;
  height: 100%;
  width: 100%;
  text-align: center;
  line-height: 132px;
  color: #555;
	text-shadow: 1px 1px 1px #fff;
	background-color: #f7f7f7;
	border: 1px solid #5897fb;
	outline: none;
	border-radius: 6px;
}
