* { margin: 0; padding: 0; list-style-type: none; }
#file-container a { outline: none; }
#file-container .btn {
    position: relative;
    margin: 0 10px 0 0;
    display: inline-block;
    padding: 0 12px 8px 12px;    
    font-size: 14px;
    /*line-height: 20px;*/
    height: 30px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer; 
	color: #666;	
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
	background-color: #f5f5f5;
	background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
	background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
	border-color: #e6e6e6 #e6e6e6 #bfbfbf;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);        
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    *background-color: #e6e6e6;
}
#file-container .btn:hover {
	color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #87bd53;
	background-image: -moz-linear-gradient(top, #9cd466, #87bd53);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#9cd466), to(#87bd53));
	background-image: -webkit-linear-gradient(top, #9cd466, #87bd53);
	background-image: -o-linear-gradient(top, #9cd466, #87bd53);
	background-image: linear-gradient(to bottom, #9cd466, #87bd53);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9cd466', endColorstr='#9cd466', GradientType=0);
	border-color: #51a351 #51a351 #387038;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	*background-color: #9cd466;
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
#file-container #queue-wrap {
    margin-top: 10px;   
    padding: 5px; 
    /*min-width: 400px;*/
    /*width: 442px;*/
    /*min-height: 164px;*/
    display: inline-block;
    border-radius: 5px;
    border: 1px solid #abc792;
}
#file-container #queue-wrap:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
/*#file-container #file-list {
    list-style-type: none;
    margin: 0;
    padding: 0;   
    display: block;
}*/
#file-container #file-list li {
    margin: 5px;
    float: left;
    width: 100px;
    /*height: 90px;*/
    /*text-align: center;*/
    /*border: 1px solid #888888;*/
    /*display: inline-block;*/
}

#file-container #file-list div.progress {
    position: absolute;
    top: 85px;
    left: 4px;
    width: 90px;
    background-color: #fff;
    height: 7px;
    line-height: 7px;
    text-align: center;
    border-radius: 3px;
    border: 1px solid #abc792;
    color: #fff;
    font-size: 8px;
    background-image: url('/images/structure/multiupload/progress-line.png');
    background-repeat: no-repeat;
    background-position: -150px center;
}
#file-container .image-item {
    height: 152px;
    width: 100px;
    border-radius: 5px;
    border: 1px solid #abc792;
    position: relative;
    line-height: 100px;
    text-align: center;
    overflow: hidden;
}
#file-container .image-item>img {
    vertical-align: middle;
    /*margin: auto;*/
    /*width: auto;*/

    -webkit-transform: rotate(0deg);
}
#file-container .file-button {
    top: 0;
    left: 0;
    position: relative;
    color: #6e6e6e;
    font: bold 12px Helvetica, Arial, sans-serif;
    text-decoration: none;
    padding: 7px 12px;
    outline: none;
    display: inline-block;
    text-shadow: 0 1px 0 #fff;
    -webkit-transition: border-color .218s;
    -moz-transition: border .218s;
    -o-transition: border-color .218s;
    transition: border-color .218s;
    background: #f3f3f3;
    background: -webkit-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
    background: -moz-linear-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
    border: solid 1px #d8d8d8;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    margin: 10px;
    cursor: pointer;
}
#file-container .file-button:hover {
    background: #6b8f39;
    background: -webkit-gradient(linear,0% 40%,0% 70%,from(#b8d194),to(#6b8f39));
    background: -moz-linear-gradient(linear,0% 40%,0% 70%,from(#b8d194),to(#6b8f39));
    color: #fff;
    text-shadow: 0 1px 0 #1a230e;
}
#file-container .btn-success, #file-container .btn-success.noactive:hover {
    background-color: #87bd53;
    color: #fff;
    background-image: -moz-linear-gradient(top, #9cd466, #87bd53);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#9cd466), to(#87bd53));
    background-image: -webkit-linear-gradient(top, #9cd466, #87bd53);
    background-image: -o-linear-gradient(top, #9cd466, #87bd53);
    background-image: linear-gradient(to bottom, #9cd466, #87bd53);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9cd466', endColorstr='#9cd466', GradientType=0);
    border-color: #51a351 #51a351 #387038;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #9cd466;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
#file-container .btn-success.noactive:hover {
    color: #fff; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-position: 0 0;
}
#file-container .btn-success:hover,
#file-container .btn-success:focus,
#file-container .btn-success:focus.active,
#file-container .btn-success:active,
#file-container .btn-success.active,
#file-container .btn-success.disabled,
#file-container .btn-success[disabled] {
    background: #87bd53;
    *background: #87bd53;
    border-color: #51a351 #51a351 #387038;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
#file-container .btn-success:active,
#file-container .btn-success.active {
    background-color: #87bd53 \9;
}


#file-container .cancell {
    position: absolute;
    color: transparent;
    background-image: url('/images/structure/multiupload/cancel.png');
    background-position: center bottom;
    width: 11px;
    height: 11px;
    right: 12px;
    top: 103px;
}
#file-container .cancell:hover {
    background-position: center top;
}
#file-container .lrotate {
    position: absolute;
    color: transparent;
    background-image: url('/images/structure/multiupload/left-rotate.png?v=3');
    background-position: center bottom;
    background-repeat: no-repeat;
    width: 16px;
    height: 13px;
    left: 12px;
    top: 102px;
}
#file-container .lrotate:hover {
    background-position: center top;
}
#file-container .rrotate {
    position: absolute;
    color: transparent;
    background-image: url('/images/structure/multiupload/right-rotate.png?v=3');
    background-position: center bottom;
    background-repeat: no-repeat;
    width: 16px;
    height: 13px;
    right: 40px;
    top: 102px;
}
#file-container .rrotate:hover {
    background-position: center top;
}
#file-container .item-caption {
    font-size: 10px;
    color: #222;
    position: absolute;
    width: 90px;
    bottom: 0;
    border-radius: 0  3px 3px;
    background: #f5f5f5;
    padding: 5px;
    line-height: 12px;
    text-align: left;
    overflow: hidden;
}
#file-container .item-caption span { display: block; }
#file-container #file-button>input[type=file] {
    cursor: pointer;
    display: block;
    margin: 0;
    font-size: 50px;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    height: 20px;
    filter: alpha(opacity=0);
    z-index: 100;
}
#file-container #file-button>span {
    /*position: relative;
    z-index: 99;*/
}
#file-container #file-button-flash {
    position: absolute;
    right: 0;
    z-index: 100;
}