@charset "UTF-8";

html {
    font-size: 100%;
}

form {
    display: inline;
    margin: 0;
}

.fm-fileinput-button {
  position: relative;
  overflow: hidden;
  float: left;
  margin-right: 4px;
}
.fm-fileinput-button input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  opacity: 0;
  filter: alpha(opacity=0);
  transform: translate(-300px, 0) scale(4);
  font-size: 23px;
  direction: ltr;
  cursor: pointer;
}
.fm-fileupload-buttonbar .btn,
.fm-fileupload-buttonbar .toggle {
  margin-bottom: 5px;
}
#fm-files #fm-progress {
  width: 200px;
}
#fm-progress-animated .bar {
  background: url(../img/progressbar.gif) !important;
  filter: none;
}
#fm-fileupload-loading {
  position: absolute;
  left: 50%;
  width: 128px;
  height: 128px;
  background: url(../img/loading.gif) center no-repeat;
  display: none;
}
#fm-fileupload-processing #fileupload-loading {
  display: block;
}

/* Fix for IE 6: */
* html #fileinput-button {
  line-height: 24px;
  margin: 1px -3px 0 0;
}

/* Fix for IE 7: */
* + html .fileinput-button {
  padding: 2px 15px;
  margin: 1px 0 0 0;
}

@media (max-width: 767px) {
  #files .btn span {
    display: none;
  }
  #files .preview * {
    width: 40px;
  }
  #files .name * {
    width: 80px;
    display: inline-block;
    word-wrap: break-word;
  }
  #files .progress {
    width: 20px;
  }
  #files .delete {
    width: 60px;
  }
}

.preview {
    max-height: 20em;
    max-width: 15em;
}
