@import url('//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css');
@import '/design/backend/css/lib/twitterbootstrap/variables.less';
@import '/design/backend/css/lib/twitterbootstrap/button-groups.less';
.file-uploader {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	width: 600px;
	height: 365px;
}
.thumb-area {
	width: 600px !important;
	height: 365px !important;
}
.file-uploader__file, .file-uploader__sortable-placeholder, .file-uploader__pickers {
	box-sizing: border-box;
	float: left;
	margin-bottom: 10px;
	padding-left: 5px;
	width: 120px;
    height: fit-content;
}
.file-uploader__file-progressbar {
	z-index: 1;
	left: 10%;
	position: absolute;
	top: 50%;
	width: 80%;
}
.file-uploader__file-progressbar >.progress {
	height: 4px;
	margin: 0;
	background: none;
}
.file-uploader__file-progressbar >.progress .bar {
	background-color: rgba(0,164,77,0.3);
	background-image: linear-gradient(90deg,#26b67c 25%,transparent 25%,transparent 50%,#26b67c 50%,#26b67c 75%,transparent 75%,transparent);
	animation-duration: 1s;
}
.file-uploader__file-section_image {
	position: absolute;
}
.file-uploader__file-section_under-image {
	opacity: 0;
	padding: 0;
	position: absolute;
}
.file-uploader__file-section_text-data {
	background-color: #fff;
	bottom: 0;
	display: block;
	left: 0;
	margin: auto;
	max-height: 100%;
	max-width: 100%;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	z-index: 2;
}
.file-uploader__file-section_text-data:empty {
	background-color: transparent;
	display: none;
}
.file-uploader__file-section:nth-last-child {
	margin-bottom: 0;
}
.file-uploader__file-button {
	color: #fff;
	display: inline-block;
	height: 36px;
	opacity: 0.7;
	width: 36px;
}
.file-uploader__file-button .icon {
	font-size: 18px;
	line-height: 2;
}
.file-uploader__file-button:hover {
	color: #fff;
	opacity: 1;
}
.file-uploader__file-square {
	background-color: #fff;
	padding-bottom: 100%;
	position: relative;
	width: 100%;
	overflow: hidden;
}
.file-uploader__file-square:before {
	border: 1px solid #ededed;
	bottom: 0;
	content: "";
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
}
.file-uploader__file-control-menu {
	height: 36px;
	text-align: center;
	bottom: 0;
	position: absolute;
	width: 100%;
}
.file-uploader__file-control-menu--expanded {
	top: 0;
	left: 0;
	right: 0;
	height: auto;
}
.file-uploader__file-control-menu-buttons-wrapper {
	top: 0;
}
.file-uploader__file-control-menu--expanded .file-uploader__file-control-menu-buttons-wrapper {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: auto;
}
.file-uploader__file-preview-image {
	/*width: 100%;*/
	width: 110px;    
	height: 110px;
	object-fit: contain;
}
.file-uploader__file .file-uploader__file-description-input {
	background: transparent;
	border: none;
	color: #fff;
	opacity: 0.5;
	outline: none;
	resize: none;
	width: 90%;
	width: calc(100% - 10px);
	height: 63%;
	height: calc(100% - 44px);
	overflow-y: hidden;
}
.file-uploader__file .file-uploader__file-description-input::placeholder {
	color: #fff;
}
.file-uploader__file .file-uploader__file-description-input:hover, .file-uploader__file .file-uploader__file-description-input:focus {
	box-shadow: none;
	opacity: 1;
	overflow: auto;
}
.file-uploader__file--removed {
	border: none;
}
.file-uploader__file:first-child {
	width: 240px;
}

.file-uploader__file:first-child img.file-uploader__file-preview-image {
	width: 240px !important;
	height: 240px !important;
	object-fit: contain;
}

.file-uploader__file:first-child .file-uploader__remove-text {
	font-size: 13px;
}
.file-uploader__file:first-child .file-uploader__remove-button-recover {
	padding: 4px 12px !important;
	font-size: 13px !important;
	font-weight: bold;
	border-radius: 4px !important;
	background-color: #26b67c;
	color: #fff;
	border: 1px solid #26b67c;
}
.file-uploader__file:first-child .file-uploader__remove-button-recover:hover {
	color: #fff;
}
.file-uploader__sortable-placeholder {
	background-color: rgba(39, 182, 124, 0.1);
	outline: 1px dashed #ededed;
	margin-left: 10px;
	width: 110px;
	height: 110px;
}
.file-uploader__sortable-placeholder:first-child {
	height: 230px;
	width: 230px;
}
.file-uploader__files-container {
	min-height: 251px;
	margin-bottom: -10px;
	margin-left: -5px;
	width: 100em;
	max-width: 105%;
	overflow: auto;
	overflow-x: hidden;
	display: inline-block;
}
/*div.file-uploader__files-container.clearfix:first-child {
	margin-top: 10px;
}*/
.file-uploader__remove-text {
	color: #666666;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	text-shadow: 0 1px 1px #fff;
	margin-bottom: 10px;
	margin-left: 7px;
	margin-right: 7px;
	margin-top: 25px;
}
.file-uploader__remove-button-recover {
	padding: 2px 10px !important;
	font-size: 11px !important;
	border-radius: 4px !important;
	background-color: #26b67c;
	color: #fff;
	border: 1px solid #26b67c;
}
.file-uploader__remove-button-recover:hover {
	color: #fff;
}
.file-uploader__remove-overlay {
	background-color: rgba(245,253,250,0.95);
	height: 100%;
	left: 0;
	position: absolute;
	text-align: center;
	top: 0;
	width: 100%;
	z-index: 1;
}
.file-uploader__remove-overlay input[type="submit"].btn {
	height: auto;
}
.file-uploader__pickers {
	text-align: center;
}
.file-uploader__pickers .file-uploader__file-square {
	background-color: rgba(39, 182, 124, 0.1);
}
.file-uploader__pickers .file-uploader__pickers-icon {
	font-size: 16px;
	opacity: 0.4;
	line-height: 1;
	width: 16px;
}
.file-uploader__pickers-text {
	color: #666666;
	text-shadow: 0 1px 1px #fff;
	font-size: 11px;
	margin-left: 5px;
	margin-right: 5px;
	line-height: 1.1;
	max-height: 4.5em;
	overflow: hidden;
}
.file-uploader__pickers-text--small {
	margin-left: 0;
	margin-right: 0;
	font-size: 11px;
	font-weight: normal;
	line-height: 1.3;
}
.file-uploader__pickers-content {
	position: absolute;
	align-items: center;
	height: 100%;
	width: 100%;
}
div.file-uploader__pickers p.file-uploader__pickers-text {
	margin-top: 0;
}
div.file-uploader__pickers div.btn-group.file-uploader__pickers-buttons {
	display: flex;
    margin-top: 2px;
    z-index: 4;
    margin-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 4px;
    background-color: #26b67c;
    padding: 0;
    width: 80%;
    margin: 4px auto;
    max-width: 200px!important;
    height: 30px;
    align-items: center;
    justify-content: center;
}
a.btn.file-uploader__pickers-buttons-select.dz-clickable {
    width: 100%;
    padding: 5px 14px;
}
div.file-uploader__pickers div.btn-group.file-uploader__pickers-buttons a {
	color: #fff;
	font-weight: bold;
}
.file-uploader__pickers .file-uploader__pickers-buttons-select {
	padding: 2px 10px;
	font-size: 11px;
	max-width: calc(100% - 26px);
	overflow: hidden;
}
.file-uploader__pickers--expanded {
	position: absolute;
	z-index: 1;
	height: 365px;
	width: 600px;
}
.file-uploader__pickers--expanded .file-uploader__file-square {
	padding-bottom: 0;
	background-color: rgba(39, 182, 124, 0.1);
	height: 365px;
	width: 600px;
}
.file-uploader__pickers--expanded .file-uploader__file-square:before {
	border-color: rgba(39, 182, 124, 0.1);
}
.file-uploader__pickers--expanded .file-uploader__pickers-content {
	width: 100%;
}
.file-uploader__pickers--expanded .file-uploader__pickers-icon {
	font-size: 32px;
	width: 32px;
	color: #26b67c;
	opacity: 1;
}
.file-uploader__pickers--expanded .file-uploader__pickers-text {
	font-size: 13px;
	margin-top: 10px;
	color: #26b67c;
}
.file-uploader__pickers--expanded .file-uploader__pickers-text--small {
	display: none;
}
.file-uploader__pickers--expanded .file-uploader__pickers-buttons {
	display: none;
}
.file-uploader__pickers--expanded .file-uploader__pickers-content {
	animation-duration: 1s;
	animation-name: animation-pulse;
	animation-iteration-count: infinite;
	animation-direction: alternate;
}
.file-uploader__pickers:only-child {
	width: fit-content;
	position: absolute;
	grid-column: 1 / -1;
}
.file-uploader__pickers:only-child .file-uploader__file-square {
	height: 365px;
	padding-bottom: 0;
	width: 600px;
	margin-top: 10px;
}
.file-uploader__pickers:only-child .file-uploader__file-square:not(.file-uploader__file-square--no-files) {
	display: none;
}
.file-uploader__pickers:only-child .file-uploader__pickers-content {
	width: 100%;
}
.file-uploader__pickers:only-child .file-uploader__pickers-icon {
	font-size: 32px;
	width: 32px;
}
.file-uploader__pickers:only-child .file-uploader__pickers-text {
	font-size: 13px;
	margin-top: 10px;
}
.file-uploader__pickers:only-child .file-uploader__pickers-text--small {
	display: block;
	margin-top: 5px;
	margin-bottom: 5px;
}
.file-uploader__pickers:only-child .file-uploader__pickers-buttons-select {
	padding: 4px 12px;
	font-size: 13px;
	max-width: none;
	overflow: auto;
}
.file-uploader__pickers:only-child:before {
	content: '';
	display: block;
	margin-bottom: -10px;
}
.dz-complete .file-uploader__file-progressbar {
	display: none;
}
.file-uploader__file:hover .file-uploader__file-section_under-image {
	background-color: rgba(51,51,51,0.75);
	height: 100%;
	left: 0;
	opacity: 1;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1;
}
.collapse-visible {
	overflow: visible;
}
.collapsed + .collapse-visible {
	overflow: hidden;
}
@keyframes animation-pulse {
	from {
		opacity: 0.75;
}
	to {
		opacity: 1;
}
}
@-webkit-keyframes progress-bar-stripes {
	from {
		background-position: 40px 0;
}
	to {
		background-position: 0 0;
}
}
@-moz-keyframes progress-bar-stripes {
	from {
		background-position: 40px 0;
}
	to {
		background-position: 0 0;
}
}
@-ms-keyframes progress-bar-stripes {
	from {
		background-position: 40px 0;
}
	to {
		background-position: 0 0;
}
}
@-o-keyframes progress-bar-stripes {
	from {
		background-position: 0 0;
}
	to {
		background-position: 40px 0;
}
}
@keyframes progress-bar-stripes {
	from {
		background-position: 40px 0;
}
	to {
		background-position: 0 0;
}
}
.progress {
	overflow: hidden;
	height: 20px;
	margin-bottom: 20px;
}
.progress .bar {
	width: 0%;
	height: 100%;
	color: #fff;
	float: left;
	font-size: 12px;
	text-align: center;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
}
.progress.active .bar {
	-webkit-animation: progress-bar-stripes 2s linear infinite;
	-moz-animation: progress-bar-stripes 2s linear infinite;
	-ms-animation: progress-bar-stripes 2s linear infinite;
	-o-animation: progress-bar-stripes 2s linear infinite;
	animation: progress-bar-stripes 2s linear infinite;
}
.btn-group {
	position: relative;
	display: inline-block;
	font-size: 0;
	vertical-align: middle;
	white-space: nowrap;
}
.btn-group + .btn-group {
	margin-left: 5px;
}
.center {
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	width: 100%;
}

@media (max-width: 767px){ 
	.thumb-area {
		width: 240px !important;
		height: auto !important;
	}
	.file-uploader__pickers:only-child .file-uploader__file-square {
		height: 240px;
		width: 230px;
	}
}

@media (max-width: 580px){ 
	.thumb-area {
		width: 240px !important;
		height: auto !important;
	}
	.file-uploader__pickers:only-child .file-uploader__file-square {
		height: 240px;
		width: 230px;
	}
}

.file-tag-principal {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: #27b67c; /* azul ou troque por outra cor */
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    z-index: 5;
    pointer-events: none;
	display: none;
}

#images-sortable .file-uploader__file:first-child .file-tag-principal {
	display: block;
}

#images-sortable .file-uploader__file:first-child .file-uploader__file-square:first-child {
    border: 2px solid #26b67c;
    border-radius: 4px;
}