/*
 uploader.css 
 styles for image uploader on Uploads
 (c) Alex_63 29.07.2017
*/
#uploader {
	float: right;
	height: 30px;
	width: 120px;
}
#uploader-button {
	background-color: #505050;
	background-image: linear-gradient(bottom, #505050 0%, #707070 100%);
	background-image: -o-linear-gradient(bottom, #505050 0%, #707070 100%);
	background-image: -moz-linear-gradient(bottom, #505050 0%, #707070 100%);
	background-image: -webkit-linear-gradient(bottom, #505050 0%, #707070 100%);
	background-image: -ms-linear-gradient(bottom, #505050 0%, #707070 100%);
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #505050), color-stop(1, #707070));
	background-position: center top;
	background-repeat: no-repeat;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #FFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-align: center;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
	display: inline-block;
	height: 30px;
	line-height: 30px;
	width: 120px;
	cursor: pointer;
}
#uploader:hover #uploader-button {
	background-color: #606060;
	background-image: linear-gradient(top, #606060 0%, #808080 100%);
	background-image: -o-linear-gradient(top, #606060 0%, #808080 100%);
	background-image: -moz-linear-gradient(top, #606060 0%, #808080 100%);
	background-image: -webkit-linear-gradient(top, #606060 0%, #808080 100%);
	background-image: -ms-linear-gradient(top, #606060 0%, #808080 100%);
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #606060), color-stop(1, #808080));
	background-position: center bottom;
}
#uploader-button.disabled {
	background-color: #D0D0D0;
	color: #808080;
}

.uploadQueueItem {
	background-color: #F7F7F7;
	border-top: 1px solid #D5D5D5;
	margin-top: -1px;
	font: 12px Arial, Helvetica, sans-serif;
	padding: 12px 10px;
	/* gradient */
	background: -moz-linear-gradient(top, #FFFFFF 0%, #F7F7F7 99%); /* firefox */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFFFFF), color-stop(99%,#F7F7F7)); /* webkit */
	background: linear-gradient(top, #FFFFFF 0%, #F7F7F7 99%); /* all */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#F7F7F7',GradientType=0 ); /* ie */
}
.uploadQueueItem:first-child {
	border-top-color: #BBB;
}
.uploadQueueItem.error {
	background-color: #FDE4E4;
	border: 1px solid #E89B9B;
	border-radius: 2px;
	margin: -1px;
	/* gradient */
	background: -moz-linear-gradient(top, #FFF2F2 0%, #FDE4E4 99%); /* firefox */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF2F2), color-stop(99%,#FDE4E4)); /* webkit */
	background: linear-gradient(top, #FFF2F2 0%, #FDE4E4 99%); /* all */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFF2F2', endColorstr='#FDE4E4',GradientType=0 ); /* ie */
}
.uploadQueueItem.error + .uploadQueueItem {
	margin-top: 1px;
}
	.uploadQueueItem .status {
		color: #999;
		margin-left: 5px;
	}
	.uploadQueueItem .completed, .uploadQueueItem .cancel {
		display: block;
		float: right;
		position: relative;
		top: 2px;
		width: 11px;
		height: 11px;
	}
	.uploadQueueItem .cancel {
		background: url(./theme-img/cancel-ico.gif) no-repeat;
		cursor: pointer;
	}
	.uploadQueueItem .completed {
		background: url(./theme-img/completed-ico.gif) no-repeat;
	}

.uploadProgress {
	display: block;
	position: relative;
	background-color: #E5E5E5;
	margin-top: 5px;
	width: 100%;
	transition: margin-top .3s ease;
}
	.uploadProgress .uploadProgressBar {
		position: relative;
		background-color: #4FA2DF;
		height: 3px;
		width: 1px;
		transition: width .4s linear, height: .3s ease;
	}
.uploadProgress.hidden {
	margin-top: 0;
}
	.uploadProgress.hidden .uploadProgressBar {
		height: 0;
	}