.image-container, .file-container{
	position:relative;
	width:100%;
	min-height:100px;
}
.file-container{
	display:inline-block;
	min-width:200px;
	width:auto;
	height:100px;
}
	.file-max-upload-size {
		position: absolute;
		left: 100%;
		top: 50%;
		white-space: nowrap;
		transform: translateY(-50%);
		margin-left: 10px;
	}
	.image-progress, .file-progress{
		position:absolute;
		top:0;
		left:0;
		width:100%;
		height:100%;
		background:#EEE;
		z-index:2;
	}
		.image-progress-bar, .file-progress-bar{
			position:absolute;
			top:50%;
			left:50%;
			background:#E60000;
			transform:translate(-50%, -50%);
		}
		.image-progress-label, .file-progress-label{
			position:absolute;
			top:50%;
			left:50%;
			padding:5px 10px;
			background:#E60000;
			color:#FFF;
			font-weight:600;
			transform:translate(-50%, -50%);
			z-index:2;
		}
	.image-container > label, .file-container > label{
		position:absolute;
		top:0;
		left:0;
		display:block;
		width:100%;
		height:100%;
		background:#EEE;
		overflow:hidden;
	}
		.image-container > label span, .file-container > label span{
			position:absolute;
			bottom: 5px;
			left: 5px;
			padding:5px 10px;
			background:#E60000;
			color:#FFF;
			font-weight:600;
			z-index: 20;
		}
		.file-container > label span{
			bottom: auto;
			top:50%;
			left:50%;
			transform:translate(-50%, -50%);
		}
		.image-container > label input, .file-container > label input{
			opacity:.01;
		}
	.image_box_container{
		background:#CCC;
	}
	.image-box-container, .file-box-container{
		position:relative;
		z-index:3;
	}
		.image-box{
			position:relative;
		}
			.image-box-width{
				position:absolute;
				top:50%;
				right:-4px;
				margin-top:-10px;
				width:2px;
				height:16px;
				border:solid 3px #277DBA;
				border-radius:4px;
				background:#FFF;
				cursor:w-resize;
			}
			.image-box-height{
				position:absolute;
				left:50%;
				bottom:-4px;
				margin-left:-10px;
				width:16px;
				height:2px;
				border:solid 3px #277DBA;
				border-radius:4px;
				background:#FFF;
				cursor:s-resize;
			}
			.image-box-content{
				width:100%;
				height:100%;
				cursor:move;
				overflow:hidden;
			}
				.image-box-content img{
					max-width:none !important;
				}
		.image-dimensions{
			position:absolute;
			top:5px;
			right:5px;
			padding:2px 5px;
			border-radius:10px;
			border:solid 2px #FFF;
			background:rgba(39, 125, 186, .75);
			color:#FFF;
			z-index:2;
		}
		.image-box-container:hover .image-controls{
			display:block;
		}
		.image-delete-single-image, .file-delete{
			display:none;
			position:absolute;
			top:5px;
			right:5px;
			width:20px;
			height:20px;
			cursor:pointer;
			z-index:3;
		}
		.file-delete{
			display:block;
			top:50%;
			right:20px;
			margin-top:-10px;
		}
			.image-delete-single-image:before, .image-delete-single-image:after, .file-delete:before, .file-delete:after{
				content:"";
				position:absolute;
				top:0;
				left:9px;
				width:2px;
				height:100%;
				background:#FFF;
				box-shadow:0 0 5px rgba(0,0,0,.5);
				transform:rotate(45deg);
			}
			.image-delete-single-image:after, .file-delete:after{
				transform:rotate(135deg);
				box-shadow:0 0 5px rgba(0,0,0,.5);
				z-index:2;
			}
			.file-delete:before, .file-delete:after{
				box-shadow:none;
			}
		.image-box-container:hover .image-delete-single-image{
			display:block;
		}
		.image-controls{
			display:none;
			position:absolute;
			right:5px;
			bottom:5px;
			z-index:2;
		}
			.image-controls a{
				float:left;
				position:relative;
				display:block;
				margin-left:5px;
				width:16px;
				height:16px;
				border:solid 2px #FFF;
				border-radius:50%;
				background:transparent !important;
				box-shadow:0 0 5px rgba(0,0,0,.5);
			}
			.image-controls a:before, .image-controls a:after{
					content:"";
					position:absolute;
					top:7px;
					left:10%;
					width:80%;
					height:2px;
					background:#FFF;
					box-shadow:0 0 5px rgba(0,0,0,.5);
			}
			.image-controls a:nth-child(1):after{
				transform:rotate(90deg);
			}
		.image-preview{
			max-width:100%;
			overflow:hidden;
		}
			.image-preview__image{
				position: absolute;
				max-width:none;
				z-index:2;
			}
			.image-preview__height-spacer{
				display:block;
			}
	.file-box-container div{
		padding:0 60px 0 20px;
		line-height:100px;
		background:#E60000;
		color:#FFF;
		font-weight:600;
	}