/* Developed for GraffitiSuite [https://graffitisuite.com].
   Not to be used without a license written consent.
   See the GraffitiSuite Source Code EULA for licensing terms:
   [https://graffitisuite.com/legal/source-eula/]
   Contact at [licensing@graffitisuite.com]
*/

.gwimagepicker-upload {
  overflow:hidden;
  position: relative;
  width: 100%;
  height: 100%;
  background-color: white;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  border-radius: 24px;
}
.gwimagepicker-upload .gwimagepicker-button-edit {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  text-align: center;
  line-height: 34px;
}

.gwimagepicker-upload .gwimagepicker-button-edit input {
  display: none;
}

.gwimagepicker-upload .gwimagepicker-button-edit input + label {
  background-color: rgba(255, 255, 255, 0.4);
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  border-radius: 100%;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
}

.gwimagepicker-upload .gwimagepicker-button-edit input + label:hover,
.gwimagepicker-upload .gwimagepicker-button-remove:hover,
.gwimagepicker-upload .gwimagepicker-button-upload:hover {
	background:white;
}

.gwimagepicker-upload .avatar-button-edit input + label:after {
  color: #757575;
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  text-align: center;
  margin: auto;
}
.gwimagepicker-upload .gwimagepicker-preview {
  width: 100%;
  height: 100%;
  position: relative;
}
.gwimagepicker-upload .gwimagepicker-preview > div {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.gwimagepicker-upload .gwimagepicker-button-remove {
  left: 50%;
  bottom: 12px;
  margin-left: -18px;
}

.gwimagepicker-upload .gwimagepicker-button-upload {
  right: 12px;
  bottom: 12px;
}

.gwimagepicker-upload .gwimagepicker-button-remove,
.gwimagepicker-upload .gwimagepicker-button-upload {
  position: absolute;
  z-index: 1;
  text-align: center;
  line-height: 34px;
  background-color: rgba(255, 255, 255, 0.4);
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  border-radius: 100%;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
}

.gwimagepicker-placeholder {
  display: flex;
  justify-content: center;
  align-items: center; 
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
}

.gwimagepicker-drag-over {
	background-color: rgb(200, 200, 200 );
}

.gwimagepicker-upload-progress {
	display: none;
	width: 90%;
	height: 8px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	position: absolute;
	margin-left: 5%;
	bottom: 25px;
}

.gwimagepicker-upload-progress-inner {
	width: 0px;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.4);
}