.gfwform-fileuploader-container
{
  display: flex;
  flex-flow: row nowrap;
  opacity:0;
  transition: opacity 0.5s ease-in-out;
  min-height: 150px;
}

.gfw-fileuploader {
	max-width: 500px;
	min-width: 150px;
	width: 400px;
  height:150px;
  cursor: pointer;
	border-width: 5px;
	border-style: dashed;
  border-color: rgba(0,0,0,0.2);
  display: table-cell;
  vertical-align: middle;
  padding: 0;
  box-sizing: border-box;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
	text-align:center;
	transition: opacity 0.5s ease-in-out, height 0.5s ease-in-out,width 0.5s ease-in-out, border-color 0.5s ease-in-out;
	overflow: hidden;
}

.gfw-fileuploader.x-status-uploading
{
	border-color: rgba(15,107,213,0.8);
}

.gfw-fileuploader.x-status-uploaded
{
	border-color: rgba(50,150,50,0.8);
}

.gfw-fileuploader.x-status-error
{
	border-color: rgba(213,15,15,0.8);
}


.x-identifypanel
{
	border: none;
	min-width: 150px;
  height: 150px;
  box-sizing: border-box;
  text-align: left;
	background-color: transparent;
	margin: 0 0.5em;
	opacity:0;
	transition: opacity 0.5s;
}

.gfwform-fileuploader-container .x-toolbar
{
	display:flex;
	flex-flow: column wrap;
	justify-content: flex-start;
	margin: 0 0.5em;
}

.gfwform-fileuploader-container .x-button
{
	height:24px;
	width:24px;
	border: none;
	margin:0 0 5px 0;
	cursor:pointer;
	padding:0;
	box-sizing: border-box;
}

.gfwform-fileuploader-container .x-deletebutton
{
	background-image: url("/src/inc/gfwfileupload/icons/close.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.gfwform-fileuploader-container .x-editbutton
{
	background-image: url("/src/inc/gfwfileupload/icons/cog.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.gfwform-fileuploader-container .x-downloadbutton
{
	background-image: url("/src/inc/gfwfileupload/icons/download.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.gfwform-fileuploader-container .x-empty
{
	height: 100%;
	width: 100%;
	text-align: center;
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
}

.gfwform-fileuploader-editdialog
{
	display:flex;
	flex-flow: column nowrap;
	width: 100%;
	height: 100%;
	align-items: center;
}

.gfwform-fileuploader-editdialog .x-preview-container
{
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	background-color: #666;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	border: none;
	text-align: center;
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.gfwform-fileuploader-editdialog .x-preview
{
	box-sizing: border-box;
	border: none;
	flex-grow: 0;
	flex-shrink: 1;
	transition: opacity 0.2s ease-in-out, width 0.2s ease-in-out, height 0.2s ease-in-out;
}

.gfwform-fileuploader-editdialog .x-toolbar
{
	width:100%;
	height: 50px;
	box-sizing: border-box;
	background-color: #666;
	border: none;
	display: flex;
	flex-flow: row nowrap;
	overflow: hidden;
	justify-items: center;
	align-items: center;
	justify-content: center;
	flex-grow: 0;
	flex-shrink: 0;
}

.gfwform-fileuploader-editdialog .x-toolbar .x-button {
	width: 32px;
	height: 32px;
	box-sizing: border-box;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 80%;
	cursor: pointer;
	margin: 0.5em;
	background-color: #fff;
	border-radius: 5px;
	border: 2px solid #000;
}

.gfwform-fileuploader-editdialog .x-indicator
{
	background-image: url("/src/images/icons/128/indicator.gif");
	background-repeat: no-repeat;
	background-size: 128px;
	background-position: center center;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
}

.gfwform-fileuploader-cropperdialog
{
	display:flex;
	flex-flow: column nowrap;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background-color: #666;
}

.gfwform-fileuploader-cropperdialog .x-preview-container
{
	margin-top:50px;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	background-color: #666;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	border: none;
	text-align: center;
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.gfwform-fileuploader-cropperdialog .x-preview
{
	box-sizing: border-box;
	border: none;
	flex-grow: 0;
	flex-shrink: 1;
	transition: opacity 0.2s ease-in-out, width 0.2s ease-in-out, height 0.2s ease-in-out;
}

.gfwform-fileuploader-cropperdialog .x-cropper-preview
{
	position: absolute;
	width: 200px;
	overflow: hidden;
	left: 0;
	top: 0;
}

.cropper-modal
{
	background-color: transparent !important;
}
.cropper-bg {
	background-image: none !important;
}
