/* CSS for AJAX uploader */

.qq-uploader {
  position: relative;
  width: 100%;
}
.qq-uploader-btn {
  float: left;
  display: block;
  margin: 0 5px 0 0;
}
.qq-upload-list {
  margin: 10px 0;
}
.dd_files_being_uploaded {
  margin: 0;
  list-style: none;
}
.qq-message {
  clear: left;
  margin-top: 5px;
}
.qq-upload-list li {
  margin: 0 0 3px;
  padding: 3px 5px 2px;
  line-height: 15px;
  font-size: 12px;
  text-transform: inherit;
  -webkit-transition: background .3s linear;
     -moz-transition: background .3s linear;
          transition: background .3s linear;
  list-style-type: none;
}
.qq-upload-list li.label-success,
.qq-upload-list li.label-important {
  color: #fff;
}
.qq-upload-drop-area,
.qq-upload-extra-drop-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  min-height: 78px;
  z-index: 2;
  background: #333;
  color: #fff;
  text-align: center;
  -webkit-box-shadow: inset 2px 2px 8px #000;
     -moz-box-shadow: inset 2px 2px 8px #000;
          box-shadow: inset 2px 2px 8px #000;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}
.qq-upload-drop-area span {
    display:block;
    position: absolute;
    top: 50%;
    width:100%;
    margin-top:-8px;
    font-size:16px;
}
.qq-upload-extra-drop-area {
  position: relative;
  margin-top: 50px;
  font-size: 16px;
  padding-top: 30px;
  height: 20px;
  min-height: 40px;
}
.qq-upload-drop-area-active {
  background:#444;
}
.qq-upload-file {
  min-width: 200px;
}
.qq-upload-file,
.qq-upload-spinner,
.qq-upload-size,
.qq-upload-cancel,
.qq-upload-failed-text {
    margin-right: 7px;
}
.qq-upload-spinner {
  display:inline-block;
  background: url("/images/default/ajax.gif");
  width:15px;
  height:15px;
  vertical-align:text-bottom;
  background-repeat:no-repeat;
}
.qq-upload-size,
.qq-upload-cancel {
  font-size: 11px;
}

.qq-upload-size {
  background-color: #ccc;
  padding: 2px 4px;
  border-radius: 2px;
  color: #fff;
}

.qq-upload-failed-text {
  display: none;
}
.label-important .qq-upload-failed-text {
  display: inline;
}

.qq-upload-button input {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* CSS for Image Upload Media Queries */

@media only screen and (max-width : 480px) {

  .ICContainer .media-body .media > * {
    display: inline-block;
    margin: 0 5px 0 0;
  }
}

/* CSS to display images correctly no matter what aspect ratio is used.*/
.current-image-container {
  display: block;
  background: transparent url('/images/transparency_tile.png') repeat 0 0;
}

.uploaded-image {
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
