@charset "utf-8";

/* dialog样式 */
.wrapper {
  position: relative;
  width: 630px;
  *width: 626px;
  height: 380px;
  margin: 0 auto;
  padding: 10px;
  font-family: sans-serif;
  zoom: 1;
}

/* tab样式框大小 */
.tabhead {
  float: left;
}
.tabbody {
  position: relative;
  clear: both;
  width: 100%;
  height: 346px;
}

.tabbody .panel {
  position: absolute;
  display: none;
  width: 0;
  height: 0;
  overflow: hidden;
  background: #fff;
}

.tabbody .panel.focus {
  display: block;
  width: 100%;
  height: 346px;
}

/* 上传附件 */
.tabbody #upload.panel {
  position: absolute !important;
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
  background: #fff;
  clip: rect(1px, 1px, 1px, 1px);
}

.tabbody #upload.panel.focus {
  display: block;
  width: 100%;
  height: 346px;
  clip: auto;
}

#upload .queueList {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

#upload p {
  margin: 0;
}

.element-invisible {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
}

#upload .placeholder {
  position: relative;
  top: 0;
  *top: 10px;
  height: 172px;
  margin: 10px;
  padding-top: 150px;
  color: #ccc;
  font-size: 18px;
  text-align: center;
  background: url(./images/image.png) center 70px no-repeat;
  border: 2px dashed #e6e6e6;
  *border: 0 dashed #e6e6e6;
}

#upload .placeholder .webuploader-pick {
  display: inline-block;
  *width: 120px;
  margin: 0 auto 20px auto;
  padding: 0 30px;
  color: #fff;
  font-size: 18px;
  line-height: 44px;
  background: #00b7ee;
  border-radius: 3px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

#upload .placeholder .webuploader-pick-hover {
  background: #00a2d4;
}

#filePickerContainer {
  text-align: center;
}

#upload .placeholder .flashTip {
  position: absolute;
  bottom: 20px;
  width: 100%;
  color: #666;
  font-size: 12px;
  text-align: center;
}

#upload .placeholder .flashTip a {
  color: #0785d1;
  text-decoration: none;
}

#upload .placeholder .flashTip a:hover {
  text-decoration: underline;
}

#upload .placeholder.webuploader-dnd-over {
  border-color: #999;
}

#upload .filelist {
  position: relative;
  height: 300px;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  list-style: none;
}

#upload .filelist::after {
  display: block;
  clear: both;
  width: 0;
  height: 0;
  overflow: hidden;
  content: '';
}

#upload .filelist li {
  position: relative;
  display: block;
  float: left;
  width: 113px;
  height: 113px;
  margin: 9px 0 0 9px;
  *margin: 6px 0 0 6px;
  overflow: hidden;
  font-size: 12px;
  text-align: center;
  background: url(./images/bg.png);
}

#upload .filelist li p.log {
  position: relative;
  top: -45px;
}

#upload .filelist li p.title {
  position: absolute;
  top: 0;
  top: 5px;
  left: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
  text-indent: 5px;
  text-overflow: ellipsis;
}

#upload .filelist li p.progress {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 8px;
  margin: 0;
  overflow: hidden;
  background: none;
  border-radius: 0;
  -webkit-box-shadow: 0 0 0;
}

#upload .filelist li p.progress span {
  display: none;
  width: 0;
  height: 100%;
  overflow: hidden;
  background: #1483d8 url(./images/progress.png) repeat-x;
  -webkit-transform: translateZ(0);
  -webit-transition: width 200ms linear;
  -moz-transition: width 200ms linear;
  -o-transition: width 200ms linear;
  -ms-transition: width 200ms linear;
  transition: width 200ms linear;
  -webkit-animation: progressmove 2s linear infinite;
  -moz-animation: progressmove 2s linear infinite;
  -o-animation: progressmove 2s linear infinite;
  -ms-animation: progressmove 2s linear infinite;
  animation: progressmove 2s linear infinite;
}

@-webkit-keyframes progressmove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 17px 0;
  }
}

@-moz-keyframes progressmove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 17px 0;
  }
}

@keyframes progressmove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 17px 0;
  }
}

#upload .filelist li p.imgWrap {
  position: relative;
  z-index: 2;
  width: 113px;
  height: 113px;
  overflow: hidden;
  line-height: 113px;
  vertical-align: middle;
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webit-transition: 200ms ease-out;
  -moz-transition: 200ms ease-out;
  -o-transition: 200ms ease-out;
  -ms-transition: 200ms ease-out;
  transition: 200ms ease-out;
}
#upload .filelist li p.imgWrap.notimage {
  width: 111px;
  height: 111px;
  margin-top: 0;
  border: 1px #eee solid;
}
#upload .filelist li p.imgWrap.notimage i.file-preview {
  margin-top: 15px;
}

#upload .filelist li img {
  width: 100%;
}

#upload .filelist li p.error {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: none;
  width: 100%;
  height: 28px;
  color: #fff;
  line-height: 28px;
  background: #f43838;
}

#upload .filelist li .success {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 200;
  display: block;
  width: 100%;
  height: 40px;
  background: url(./images/success.png) no-repeat right bottom;
  background-image: url(./images/success.gif) \9;
}

#upload .filelist li.filePickerBlock {
  width: 113px;
  height: 113px;
  background: url(./images/image.png) no-repeat center 12px;
  border: 1px solid #eee;
  border-radius: 0;
}
#upload .filelist li.filePickerBlock div.webuploader-pick {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 0;
  background: none;
  opacity: 0;
}

#upload .filelist div.file-panel {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 300;
  width: 100%;
  height: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
  filter: progid:dximagetransform.microsoft.gradient(GradientType=0, startColorstr='#80000000', endColorstr='#80000000') \0;
}

#upload .filelist div.file-panel span {
  display: inline;
  float: right;
  width: 24px;
  height: 24px;
  margin: 5px 1px 1px;
  overflow: hidden;
  text-indent: -9999px;
  background: url(./images/icons.png) no-repeat;
  background: url(./images/icons.gif) no-repeat \9;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#upload .filelist div.file-panel span.rotateLeft {
  display: none;
  background-position: 0 -24px;
}

#upload .filelist div.file-panel span.rotateLeft:hover {
  background-position: 0 0;
}

#upload .filelist div.file-panel span.rotateRight {
  display: none;
  background-position: -24px -24px;
}

#upload .filelist div.file-panel span.rotateRight:hover {
  background-position: -24px 0;
}

#upload .filelist div.file-panel span.cancel {
  background-position: -48px -24px;
}

#upload .filelist div.file-panel span.cancel:hover {
  background-position: -48px 0;
}

#upload .statusBar {
  position: relative;
  height: 45px;
  margin: 0 10px;
  padding: 0;
  line-height: 45px;
  vertical-align: middle;
  border-bottom: 1px solid #dadada;
}

#upload .statusBar .progress {
  position: absolute;
  top: 12px;
  display: none;
  width: 198px;
  height: 18px;
  margin: 0 10px 0 0;
  color: #6dbfff;
  line-height: 18px;
  text-align: center;
  background: #fff;
  border: 1px solid #1483d8;
}
#upload .statusBar .progress span.percentage {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #1483d8;
}
#upload .statusBar .progress span.text {
  position: relative;
  z-index: 10;
}

#upload .statusBar .info {
  display: inline-block;
  color: #666;
  font-size: 14px;
}

#upload .statusBar .btns {
  position: absolute;
  top: 7px;
  right: 0;
  line-height: 30px;
}

#filePickerBtn {
  display: inline-block;
  float: left;
}
#upload .statusBar .btns .webuploader-pick,
#upload .statusBar .btns .uploadBtn,
#upload .statusBar .btns .uploadBtn.state-uploading,
#upload .statusBar .btns .uploadBtn.state-paused {
  display: inline-block;
  float: left;
  margin-left: 10px;
  padding: 0 18px;
  color: #565656;
  font-size: 14px;
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#upload .statusBar .btns .webuploader-pick-hover,
#upload .statusBar .btns .uploadBtn:hover,
#upload .statusBar .btns .uploadBtn.state-uploading:hover,
#upload .statusBar .btns .uploadBtn.state-paused:hover {
  background: #f0f0f0;
}

#upload .statusBar .btns .uploadBtn,
#upload .statusBar .btns .uploadBtn.state-paused {
  color: #fff;
  background: #00b7ee;
  border-color: transparent;
}
#upload .statusBar .btns .uploadBtn:hover,
#upload .statusBar .btns .uploadBtn.state-paused:hover {
  background: #00a2d4;
}

#upload .statusBar .btns .uploadBtn.disabled {
  -moz-opacity: 0.6;
  -khtml-opacity: 0.6;
  opacity: 0.6;
  filter: alpha(opacity=60);
  pointer-events: none;
}

/* 图片管理样式 */
#online {
  width: 100%;
  height: 336px;
  padding: 10px 0 0 0;
}
#online #fileList {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
#online ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
#online li {
  position: relative;
  display: block;
  float: left;
  width: 113px;
  height: 113px;
  margin: 0 0 9px 9px;
  *margin: 0 0 6px 6px;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background-color: #eee;
  cursor: pointer;
}
#online li.clearFloat {
  display: block;
  float: none;
  clear: both;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}
#online li img {
  cursor: pointer;
}
#online li div.file-wrapper {
  position: absolute;
  display: block;
  width: 111px;
  height: 111px;
  background: url('./images/bg.png') repeat;
  border: 1px solid #eee;
  cursor: pointer;
}
#online li div span.file-title {
  display: block;
  width: 107px;
  height: 13px;
  margin: 3px 0 0 0;
  padding: 0 3px;
  overflow: hidden;
  color: #555;
  font-size: 12px;
  white-space: nowrap;
  text-align: center;
  text-overflow: ellipsis;
  word-break: break-all;
}
#online li .icon {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 113px;
  height: 113px;
  background-repeat: no-repeat;
  border: 0;
  cursor: pointer;
}
#online li .icon:hover {
  width: 107px;
  height: 107px;
  border: 3px solid #1094fa;
}
#online li.selected .icon {
  background-image: url(images/success.png);
  background-image: url(images/success.gif) \9;
  background-position: 75px 75px;
}
#online li.selected .icon:hover {
  width: 107px;
  height: 107px;
  background-position: 72px 72px;
  border: 3px solid #1094fa;
}

/* 在线文件的文件预览图标 */
i.file-preview {
  display: block;
  width: 70px;
  height: 70px;
  margin: 10px auto;
  background-image: url('./images/file-icons.png');
  background-image: url('./images/file-icons.gif') \9;
  background-repeat: no-repeat;
  background-position: -140px center;
}
i.file-preview.file-type-dir {
  background-position: 0 center;
}
i.file-preview.file-type-file {
  background-position: -140px center;
}
i.file-preview.file-type-filelist {
  background-position: -210px center;
}
i.file-preview.file-type-zip,
i.file-preview.file-type-rar,
i.file-preview.file-type-7z,
i.file-preview.file-type-tar,
i.file-preview.file-type-gz,
i.file-preview.file-type-bz2 {
  background-position: -280px center;
}
i.file-preview.file-type-xls,
i.file-preview.file-type-xlsx {
  background-position: -350px center;
}
i.file-preview.file-type-doc,
i.file-preview.file-type-docx {
  background-position: -420px center;
}
i.file-preview.file-type-ppt,
i.file-preview.file-type-pptx {
  background-position: -490px center;
}
i.file-preview.file-type-vsd {
  background-position: -560px center;
}
i.file-preview.file-type-pdf {
  background-position: -630px center;
}
i.file-preview.file-type-txt,
i.file-preview.file-type-md,
i.file-preview.file-type-json,
i.file-preview.file-type-htm,
i.file-preview.file-type-xml,
i.file-preview.file-type-html,
i.file-preview.file-type-js,
i.file-preview.file-type-css,
i.file-preview.file-type-php,
i.file-preview.file-type-jsp,
i.file-preview.file-type-asp {
  background-position: -700px center;
}
i.file-preview.file-type-apk {
  background-position: -770px center;
}
i.file-preview.file-type-exe {
  background-position: -840px center;
}
i.file-preview.file-type-ipa {
  background-position: -910px center;
}
i.file-preview.file-type-mp4,
i.file-preview.file-type-swf,
i.file-preview.file-type-mkv,
i.file-preview.file-type-avi,
i.file-preview.file-type-flv,
i.file-preview.file-type-mov,
i.file-preview.file-type-mpg,
i.file-preview.file-type-mpeg,
i.file-preview.file-type-ogv,
i.file-preview.file-type-webm,
i.file-preview.file-type-rm,
i.file-preview.file-type-rmvb {
  background-position: -980px center;
}
i.file-preview.file-type-ogg,
i.file-preview.file-type-wav,
i.file-preview.file-type-wmv,
i.file-preview.file-type-mid,
i.file-preview.file-type-mp3 {
  background-position: -1050px center;
}
i.file-preview.file-type-jpg,
i.file-preview.file-type-jpeg,
i.file-preview.file-type-gif,
i.file-preview.file-type-bmp,
i.file-preview.file-type-png,
i.file-preview.file-type-psd {
  background-position: -140px center;
}