﻿.webuploader-container {
	position: relative;
	float:left;
}
.webuploader-element-invisible {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px,1px,1px,1px);
}
.webuploader-pick {
	position: relative;
	display: inline-block;
	cursor: pointer;
	background:#666;
	padding:5px 15px;
	color: #fff;
	text-align: center;
	overflow: hidden;
	font-family:"microsoft yahei";
	border-radius:2px;
}
.webuploader-pick-hover {
	background:#333;
}

.webuploader-pick-disable {
	opacity: 0.6;
	pointer-events:none;
}

.uploaderBt{
	clear:both;
	overflow:hidden;
	}
/**
 * 
 * @文件上传
 * @杨朝杰
 * @2015.02.11
 * @return
 */
.uploader-file-list{
	display:block;
	clear:both;
	padding:0 0 5px 0;
	}
.uploader-file-list dd{
	width:320px;
	height:54px;
	display:block;
	clear:both;
	background:#f5f5f5;
	border:2px solid #e5e5e5;
	margin:5px 0 0 0;
	position:relative;
	}
.uploader-file-list dd .info{
	position:relative;
	float:left;
	display: inline;
	top:12px;
	padding:0 0 0 10px;
	background: none;
	color:#333;
	}
.uploader-file-list dd .state{
	width:auto;
	position:absolute;
	z-index:9;
	height:20px;
	line-height:20px;
	display:block;
	background:#70ca10;
	padding:0 10px;
	color:#fff;
	right:4px;
	top:20px;
	}
.uploader-file-list dd div.file-panel{
	width:10px;
	height:10px;
	position:absolute;
	z-index:9;
	overflow:hidden;
	text-indent:-100px;
	cursor:pointer;
	right:5px;
	top:5px;
	background:url(images/uploadifive-cancel.png) no-repeat;
	display: block !important;
	}
.uploader-file-list dd div.file-panel span{ display: block; overflow: hidden;}
.uploader-file-list dd div.file-panel span.editor{ display: none;}
.uploader-file-list dd .imgWrap{ float:left; display:inline;}
.uploader-file-list dd .imgWrap img{ width: 50px; height: 50px; padding: 2px 0 0 2px}
.uploader-file-list dd.upload-state-done:after{ display: none;}
.uploader-file-list .progress {
	width:px;
    position:absolute;
    right: 4px;
    bottom:6px;
    height: 3px;
    left: 4px;
    height: 4px;
    overflow: hidden;
    z-index: 15;
    margin:0;
    padding: 0;
    border-radius: 0;
    background: transparent;
	border-top:1px solid #808080;
	border-left:1px solid #808080;
	border-right:1px solid #c5c5c5;
	border-bottom:1px solid #c5c5c5;
	background:#fff;
}
.uploader-file-list .progress-bar{
    display: block;
    overflow: hidden;
    width: 0;
    height: 100%;
    background:#0099ff url(images/progress.png) repeat-x;
    -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-transform: translateZ(0);
}
 

/**
 * 
 * @图片上传
 * @杨朝杰
 * @2015.02.10
 * @return
 */
.uploader-img-list {
    width: 100%;
    overflow: hidden;
}
.file-item {
    float: left;
    position: relative;
    margin:5px 10px 5px 0;
}
.file-item .error {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    background: red;
    color: white;
    text-align: center;
    height: 20px;
    font-size: 14px;
    line-height: 23px;
}
.file-item .info {
	width:120px;
    position: absolute;
    left:6px;
    bottom:6px;
    right: 4px;
    height: 20px;
    line-height: 20px;
    text-indent: 5px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    overflow: hidden;
    white-space: nowrap;
    text-overflow : ellipsis;
    font-size: 12px;
    z-index: 10;
	display:none;
}
.upload-state-done:after {
    content:"\f00c";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 32px;
    position: absolute;
    bottom: 0;
    right: 4px;
    color: #4cae4c;
    z-index: 99;
	display:none;
}
.file-item .progress {
    position: absolute;
    right: 4px;
    bottom: 4px;
    height: 3px;
    left: 4px;
    height: 4px;
    overflow: hidden;
    z-index: 15;
    margin:0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}
.file-item .progress span {
    display: block;
    overflow: hidden;
    width: 0;
    height: 100%;
    background: #d14 url(../images/progress.png) repeat-x;
    -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-transform: translateZ(0);
}

/*图片边框*/
.uploader-img-list div.imgWrap{
	width:120px;
	height:120px;
	border:1px solid #dce3ed;
	padding:5px;
	overflow:hidden;
	}
.uploader-img-list dd:hover div.imgWrap{ border:1px solid #e9bc1f;}
.uploader-img-list div.imgWrap p{
	width:120px;
	height:120px;
	background:#f5f5f5;
	display:block;
	vertical-align:middle;
	text-align:center;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
	overflow:hidden;
	}
.uploader-img-list div.imgWrap p img{
	max-width:100%;
	max-height:100%;
	vertical-align: middle
	}

/*旋转、删除*/
.uploader-img-list div.file-panel {
    position: absolute;
    height:24px;
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#80000000', endColorstr='#80000000')\0;
    background: rgba( 0, 0, 0, 0.5 );
    width:120px;
    top:6px;
    left:6px;
    overflow: hidden;
    z-index: 300;
	display:none;
}
.uploader-img-list div.file-panel span {
    width: 24px;
    height: 24px;
    display: inline;
    float: right;
    text-indent: -9999px;
    overflow: hidden;
    background:url(images/icons.png) no-repeat;
    margin:4px 1px 1px;
    cursor: pointer;
}
.uploader-img-list div.file-panel span.rotateLeft {
    background-position: 0 -24px;
	display:none;
}
.uploader-img-list div.file-panel span.rotateLeft:hover {
    background-position: 0 0;
}

.uploader-img-list div.file-panel span.rotateRight {
    background-position: -24px -24px;
	display:none;
}
.uploader-img-list div.file-panel span.rotateRight:hover {
    background-position: -24px 0;
}

.uploader-img-list div.file-panel span.delete{
    background-position: -48px -24px;
}
.uploader-img-list div.file-panel span.delete:hover {
    background-position: -48px 0;
}

.uploader-img-list div.file-panel span.editor{
    background-position: -70px -24px;
}
.uploader-img-list div.file-panel span.editor:hover {
    background-position: -70px 0;
}