@keyframes passing-through {
	0% { opacity: 0; }
	40% { opacity: 0.7; }
	100% { opacity: 0; }
}

@keyframes slide-in {
	0%  { opacity: 0; }
	30% { opacity: 1; }
}

.dropzone,
.dropzone * {
	box-sizing: border-box;
}
.dropzone {
	min-height: 230px;
	padding: 15px 15px;
	text-align: center;
	position: relative;
	border: 2px dashed #0078D5;
	border-color: var(--theme-dropzone-border-color, #0078D5);
	background-color: #FFF7D6;
	background-color: var(--theme-dropzone-bg-color, #FFF7D6);
}
.dropzone:not(.dz-started):not(.no-shadow) {
	box-shadow: 0 0 0px 10px #FFFCE5;
	box-shadow: 0 0 0px 10px var(--theme-dropzone-bg-color, #FFFCE5);
}
.dropzone + .dropzone {
	margin-top: 30px;
}
.dropzone.dz-clickable {
	cursor: pointer;
}
.dropzone.dz-clickable > .lowerLeft,
.dropzone.dz-clickable > .lowerRight,
.dropzone.dz-clickable > .upperLeft,
.dropzone.dz-clickable > .uperRight {
	cursor: default;
}
.dropzone.dz-started {
	background-image: none;
}
.dropzone.dz-started .dz-message {
	display: none;
}
.dropzone .dz-message {
	text-align: center;
	font-weight: 400;
	font-size: 24px;
	margin: 1em 0;
}
.dropzone .dz-previews {
	cursor: pointer;
}
.dropzone .dz-preview {
	width: 150px;
}
.dropzone .dz-preview .dz-image {
	width: 150px;
	height: 150px;
}
@media (max-width: 500px) {
	.dropzone .dz-preview {
		width: 135px;
	}
	.dropzone .dz-preview .dz-image {
		width: 135px;
	}
}
.dropzone .dz-preview {
	position: relative;
	display: inline-block;
	vertical-align: top;
	margin: 10px;
	user-select: none;
	background-color: transparent;
	background-color: var(--theme-dropzone-preview-bg-color, transparent);
	background: transparent;
	background: var(--theme-dropzone-preview-bg, transparent);
}
.dropzone .dz-preview:hover {
	z-index: 1000;
}
.dropzone .dz-preview:not(.dz-image-preview) .dz-image img {
	display: none;
}
.dropzone .dz-preview.dz-complete.dz-file-preview .dz-details {
	opacity: 1;
}
.dropzone .dz-preview.dz-image-preview .dz-details {
	transition: opacity 0.2s linear;
}
.dropzone .dz-preview .dz-details {
	z-index: 20;
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	opacity: 0;
	font-size: 13px;
	padding: 0 1em;
	text-align: center;
	color: rgba(0, 0, 0, 0.9);
	color: var(--theme-dropzone-preview-details-color, rgba(0, 0, 0, 0.9));
	transform: translateY(-50%);
	pointer-events: none;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.dropzone:not(.sorting) .dz-preview.dz-image-hover .dz-details {
	opacity: 1;
}
.dropzone .dz-preview .dz-details .dz-size,
.dropzone .dz-preview .dz-details .dz-pages,
.dropzone .dz-preview .dz-details .dz-extension {
	font-size: 14px;
	white-space: nowrap;
}
.dropzone .dz-preview .dz-details .dz-size strong {
	font-weight: normal;
}
.dropzone .dz-preview .dz-filename {
	white-space: nowrap;
	font-size: 12px;
	margin: 5px 0;
	text-align: center;
	width: 100%;
}
.dropzone .dz-preview .dz-filename:hover span {
	padding: 3px;
	border: 1px solid #c8c8c8;
	border: var(--theme-dropzone-preview-filename-hover-border, 1px solid #c8c8c8);
	background-color: #fff;
	background-color: var(--theme-dropzone-preview-filename-hover-bg-color, #fff);
}
.dropzone .dz-preview .dz-filename:not(:hover) {
	overflow: hidden;
	text-overflow: ellipsis;
}
.dropzone .dz-preview .dz-filename:not(:hover) span {
	border: 1px solid transparent;
	padding: 3px;
}
.dropzone .dz-preview .dz-details .dz-pages span,
.dropzone .dz-preview .dz-details .dz-size span,
.dropzone .dz-preview .dz-details .dz-extension span {
	padding: 0.2em 0.4em;
	background-color: rgba(255, 255, 255, 0.9);
}
.dropzone .dz-preview .dz-image {
	overflow: hidden;
	position: relative;
	z-index: 10;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
	border: 1px solid #ddd;
	border-color: var(--theme-dropzone-preview-image-box-border-color, #ddd);
	background-color: #f0f0f0;
	background-color: var(--theme-dropzone-preview-image-box-bg-color, #f0f0f0);
}
.dropzone:not(.sorting) .dz-preview .dz-image:hover {
	background-color: var(--theme-dropzone-preview-image-box-hover-bg-color, var(--theme-dropzone-preview-image-box-bg-color, #bbb));
}
.dropzone:not(.sorting) .dz-preview .dz-image:hover img {
	opacity: 0.3;
}
.dropzone .dz-preview.sortable-chosen .dz-image {
	background-color: #c8e1f3;
	background-color: var(--theme-dropzone-preview-image-sortable-chosen-bg-color, #c8e1f3);
}
.dropzone .dz-preview .dz-image img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	flex: 0 0 auto;
	box-shadow: 0 0 5px rgb(0 0 0 / 25%);
	box-shadow: var(--theme-dropzone-preview-image-shadow, 0 0 5px rgb(0 0 0 / 25%));
	border: 1px solid #e0e0e0;
	border: var(--theme-dropzone-preview-image-border, 1px solid #e0e0e0);
	pointer-events: none;
}
.dropzone .dz-preview[data-rotate="90"] .dz-image img {
	transform: rotate(90deg);
}
.dropzone .dz-preview[data-rotate="180"] .dz-image img {
	transform: rotate(180deg);
}
.dropzone .dz-preview[data-rotate="270"] .dz-image img {
	transform: rotate(270deg);
}
.dropzone .dz-preview.dz-success:not(.sortable-sorted) .dz-success-mark {
	animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
	animation-iteration-count: 1;
}
.dropzone .dz-preview.dz-error .dz-error-mark {
	opacity: 1;
}
.dropzone .dz-preview .dz-success-mark,
.dropzone .dz-preview .dz-error-mark {
	pointer-events: none;
	opacity: 0;
	z-index: 500;
	position: absolute;
	display: block;
	top: 50%;
	left: 50%;
	margin-left: -27px;
	margin-top: -27px;
}
.dropzone .dz-preview .dz-success-mark svg,
.dropzone .dz-preview .dz-error-mark svg {
	display: block;
	width: 54px;
	height: 54px;
}
.dropzone .dz-preview.dz-processing .dz-progress {
	opacity: 1;
	transition: all 0.2s linear;
}
.dropzone .dz-preview.dz-complete .dz-progress {
	opacity: 0;
	transition: opacity 0.4s ease-in;
}
.dropzone .dz-preview .dz-progress {
	opacity: 1;
	z-index: 1000;
	pointer-events: none;
	position: absolute;
	height: 20px;
	left: 50%;
	top: 50%;
	width: 90%;
	transform: translate(-50%, -50%);
	background: #f7f7f7;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px dotted #ccc;
}
.dropzone .dz-preview .dz-progress .dz-upload {
	display: block;
	background: #E3C549;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 0;
	transition: width 300ms ease-in-out;
}
.dropzone .dz-preview .dz-progress .dz-upload-text {
	position: relative;
	left: 0;
	top: 0;
	font-size: 11px;
	font-weight: 500;
	color: #000;
	display: flex;
	justify-content: center;
	align-items: center;
}
.dropzone .dz-preview.dz-error .dz-error-message {
	display: block;
}
.dropzone .dz-preview.dz-error:hover .dz-error-message {
	opacity: 1;
	pointer-events: auto;
}
.dropzone .dz-preview .dz-error-message {
	pointer-events: none;
	z-index: 1000;
	position: absolute;
	display: none;
	opacity: 0.8;
	transition: opacity 0.3s ease;
	font-size: 10px;
	bottom: 26px;
	left: -8px;
	width: calc(100% + 16px);
	background: #be2626;
	background: linear-gradient(to bottom, #be2626, #a92222);
	padding: 0.5em;
	color: white;
	color: var(--theme-dropzone-preview-error-color, white);
}
.dropzone:not(.listView) .dz-preview.dz-processing:not(.dz-complete) .dz-details .dz-size {
	display: none;
}
.dropzone:not(.listView) .dz-preview.dz-error .dz-details {
	display: none;
}
.dropzone .dz-tools {
	font-size: 15px;
	white-space: nowrap;
	padding: 3px 0;
	display: flex;
	justify-content: center;
	gap: 0.25em;
}
.dropzone .dz-tools [class*="icon-"] {
	color: #31759f;
	color: var(--theme-dropzone-file-tools-color, #31759f);
	cursor: pointer;
	padding: 3px 2px;
}
.dropzone .dz-tools [class*="icon-"]:hover {
	background-color: #E5F2FC;
	background-color: var(--theme-dropzone-file-tools-hover-bg-color, #E5F2FC);
}
.dropzone .dz-tools .dz-remove {
	color: #c05353;
	margin-left: auto;
}
[dir="rtl"] .dropzone .dz-tools .dz-remove {
	margin-left: 0;
	margin-right: auto;
}
.dropzone .dz-tools .icon-ccw,
.dropzone .dz-tools .icon-cw {
	color: #8b568c;
}


.dropzone.listView .fileInfo {
	margin-bottom: 30px;
}
.dropzone.listView .dz-preview {
	position: relative;
	vertical-align: top;
	margin: 0;
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	margin: 10px 0;
	min-height: 58px;
	border: 1px solid #f0f0f0;
	border-color: var(--theme-dropzone-list-view-preview-border-color, #f0f0f0);
	background-color: #fff;
	background-color: var(--theme-dropzone-list-view-preview-bg-color, #fff);
}
.dropzone.listView .dz-preview .dz-image {
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	border: 0px solid #ddd;
	border-color: var(--theme-dropzone-list-view-preview-image-border-color, #ddd);
}
.dropzone.listView .dz-preview .dz-image img {
	max-width: 100%;
	max-height: 100%;
}
.dropzone.listView .dz-preview .dz-details {
	position: relative;
	top: 0;
	left: 0;
	opacity: 1;
	z-index: 20;
	font-size: 15px;
	min-width: 100px;
	max-width: 100%;
	padding: 5px;
	text-align: start;
	line-height: 100%;
	flex-grow: 1;
	margin: 0;
	display: flex;
	flex-direction: row;
	gap: 0;
	color: rgba(0,0,0,1);
	color: var(--theme-dropzone-list-view-preview-details-color, rgba(0,0,0,1));
	transform: none;
}
.dropzone.listView .dz-preview .dz-filename {
	font-size: 16px;
	margin: 0;
	display: inline-block;
	padding: 3px 5px 3px 10px;
	flex-grow: 1;
	text-align: start;
}
.dropzone.listView .dz-preview .dz-details .dz-size span,
.dropzone.listView .dz-preview .dz-details .dz-size:hover span,
.dropzone.listView .dz-preview .dz-details .dz-pages span,
.dropzone.listView .dz-preview .dz-details .dz-pages:hover span,
.dropzone.listView .dz-preview .dz-details .dz-extension span,
.dropzone.listView .dz-preview .dz-details .dz-extension:hover span,
.dropzone.listView .dz-preview .dz-filename span,
.dropzone.listView .dz-preview .dz-filename:hover span {
	border: 1px solid transparent;
	background-color: transparent !important;
}
.dropzone.listView .dz-preview .dz-details .dz-size,
.dropzone.listView .dz-preview .dz-details .dz-pages,
.dropzone.listView .dz-preview .dz-details .dz-extension {
	font-size: 14px;
	margin: 0;
	display: inline-block;
	padding: 3px 5px 3px 10px;
	overflow: hidden;
	white-space: nowrap;
	flex-shrink: 0;
}
@media (max-width: 500px) {
	.dropzone.listView .dz-preview .dz-details .dz-size,
	.dropzone.listView .dz-preview .dz-details .dz-pages,
	.dropzone.listView .dz-preview .dz-details .dz-extension {
		display: none;
	}
}
.dropzone.listView .dz-preview .dz-details .dz-size strong {
	font-weight: normal;
}
.dropzone.listView .dz-preview .dz-error-mark {
	display: none;
}
.dropzone.listView .dz-preview.sortable-chosen {
	background-color: #f0f0f0;
	background-color: var(--theme-dropzone-list-view-preview-sortable-chosen-bg-color, #f0f0f0);
}
.dropzone.listView .dz-preview .dz-error-message {
	bottom: 0px;
	left: 0px;
	width: 100%;
	padding: 0.25em;
}


.dropzone .dz-message {
	display: flex;
	flex-direction: column;
	min-height: 130px;
	justify-content: center;
}
.dropzone .dz-message .info {
	margin-bottom: 20px;
}
.dropzone .dz-message .note {
	font-size: 16px;
	font-weight: 400;
	margin-top: 20px;
}
.dropzone .dz-message .note.terms {
	font-size: 12px;
}
.dropzone .dz-message .chooseFile {
	font-size: 30px;
	font-weight: 500;
	font-family: system-ui, arial;
	text-decoration: none;
	color: #0078D5;
	color: var(--theme-dropzone-message-choose-file-color, #0078D5);
	display: flex;
	justify-content: center;
}
.dropzone .dz-message .chooseFile .btn {
	border-radius: 30px;
	padding: 10px 20px;
	text-decoration: none;
	font-size: 28px;
	position: relative;
	overflow: hidden;
	display: inline-block;
	white-space: nowrap;
	text-overflow: ellipsis;
	line-height: 1;
}
.dropzone.sortable .dz-preview {
	cursor: move;
}
.dropzone.sortable .dz-preview .dz-tools {
	cursor: default;
}
.dropzone:not(.dz-started).hasUpperLeft,
.dropzone:not(.dz-started).hasUpperRight {
	padding-top: 30px;
}
.dropzone.hasLowerLeft,
.dropzone.hasLowerRight {
	padding-bottom: 50px;
}
.dropzone.listView.hasLowerLeft,
.dropzone.listView.hasLowerRight {
	padding-bottom: 60px;
}
.dropzone .lowerRight {
	position: absolute;
	bottom: 5px;
	right: 5px;
	z-index: 11;
	display: flex;
	align-items: center;
	gap: 10px;
	user-select: none;
}
[dir="rtl"] .dropzone .lowerRight {
	left: 5px;
	right: auto;
}
.dropzone .lowerLeft {
	position: absolute;
	bottom: 5px;
	left: 5px;
	z-index: 11;
	display: flex;
	align-items: center;
	gap: 10px;
	user-select: none;
	direction: ltr;
}
[dir="rtl"] .dropzone .lowerLeft {
	right: 5px;
	left: auto;
}
.dropzone .upperLeft {
	position: absolute;
	top: 5px;
	left: 5px;
	z-index: 11;
	display: flex;
	align-items: center;
	gap: 10px;
	user-select: none;
}
[dir="rtl"] .dropzone .upperLeft {
	right: 5px;
	left: auto;
}
.dropzone .upperRight {
	position: absolute;
	top: 5px;
	right: 5px;
	z-index: 11;
	display: flex;
	align-items: center;
	gap: 10px;
	user-select: none;
}
[dir="rtl"] .dropzone .upperRight {
	left: 5px;
	right: auto;
}

.dropzone .importTools {
	display: inline-block;
	position: relative;
}
.dropzone .importTools .tools {
	display: flex;
	align-items: center;
}
.dropzone .importTools .tools .tool {
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 26px;
	color: #0078D5;
	color: var(--theme-dropzone-import-tools-color, #0078D5);
	min-width: 40px;
	min-height: 38px;
}
.dropzone .importTools .tools .tool * {
	cursor: pointer;
}
.dropzone .importTools .tools .tool:hover {
	background-color: #E5F2FC;
	background-color: var(--theme-dropzone-import-tools-hover-bg-color, #E5F2FC);
}
.dropzone .importTools .tools .tool svg {
	max-width: 30px;
	height: 30px;
}
.dropzone .importTools .tools .spacer {
	margin: 0 3px;
	width: 1px;
	height: 20px;
	background-color: #c0c0c0;
}
.dropzone .importTools .tools .moreToolsOpener {
	font-size: 14px;
	padding: 6px 5px;
}
[dir="rtl"] .dropzone .importTools .tools .moreToolsOpener {
	transform: scaleX(-1);
}
.dropzone .importTools .filesystemImport::before {
	position: relative;
	left: 0;
	top: -1px;
}
.dropzone:not(.dz-started) .importTools .filesystemImport {
	display: none;
}
.dropzone .importTools .moreImportTools {
	position: absolute;
	right: 90px;
	bottom: 0px;
}
[dir="rtl"] .dropzone .importTools .moreImportTools {
	left: 80px;
	right: auto;
}
.dropzone .importTools .moreImportTools .tools {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.dropzone .fileInfo {
	display: none;
	pointer-events: none;
	opacity: 0.75;
	font-size: 11pt;
	margin-bottom: 15px;
}
.dropzone.dz-started .fileInfo {
	display: block;
}

.dropzone .fileTools {
	pointer-events: none;
}
.dropzone .fileTools .fileTool {
	display: inline-block;
	padding: 5px;
	margin-bottom: 10px;
	cursor: pointer;
	color: inherit;
	pointer-events: auto;
}
.dropzone .fileTools .fileTool:hover {
	background-color: #eee;
	background-color: var(--theme-dropzone-file-tool-hover-bg-color, #eee);
}
.dropzone .fileTools .fileTool * {
	vertical-align: middle;
	cursor: pointer;
}
.dropzone .fileTools .fileTool img {
	max-height: 20px;
}

.dropzone.scrollable {
	overflow-y: auto;
	height: 250px;
}
.dropzone.scrollable.hasLowerLeft,
.dropzone.scrollable.hasLowerRight {
	height: 280px;
	padding-bottom: 30px;
}

.dropzone .fileSecuritySign {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 3px;
}
.dropzone .fileSecuritySign .info {
	font-size: 14px;
}
.dropzone .hiddenFileSecuritySignInfo .fileSecuritySign .info,
.dropzone.dz-started .fileSecuritySign .info {
	display: none;
}
@media (max-width: 500px) {
	.dropzone .fileSecuritySign .info {
		display: none;
	}
}

.dropzone .viewSelect {
	display: inline-flex;
	align-items: center;
	margin: 3px;
	vertical-align: middle;
	color: #666;
	color: var(--theme-dropzone-view-select-color, #666);
}
.dropzone:not(.dz-started) .viewSelect {
	display: none;
}
.dropzone .viewSelect > * {
	display: inline-block;
	font-size: 22px;
}
.dropzone .viewSelect * {
	cursor: pointer;
}
.dropzone:not(.listView) .viewSelect .gridView {
	display: none;
}
.dropzone.listView .viewSelect .listView {
	display: none;
}

.dropzone .sortTools {
	display: inline-flex;
	align-items: center;
	height: 26px;
	margin: 3px;
	vertical-align: middle;
	font-size: 0px;
	color: #666;
	color: var(--theme-dropzone-sort-tools-color, #666);
}
.dropzone:not(.dz-started) .sortTools {
	display: none;
}
.dropzone .sortTools > * {
	display: inline-block;
	font-size: 18px;
	margin-right: 5px;
}
.dropzone .sortTools * {
	cursor: pointer;
}

.dropzone .ratingView {
	display: inline-flex;
	align-items: center;
	position: relative;
	left: -1px;
}
.dropzone .ratingView .content {
	display: flex;
	align-items: center;
}
.dropzone .ratingView .star {
	font-size: 22px;
	color: #e7a81b;
	color: var(--theme-dropzone-rating-star-color, #e7a81b);
	position: relative;
	left: 0;
	top: -1px;
}
.dropzone .ratingView .value {
	margin-right: 5px;
	font-size: 15px;
}
[dir="rtl"] .dropzone .ratingView .value {
	margin-right: 0;
	margin-left: 5px;
}
.dropzone .ratingView .votes {
	font-size: 0.80em;
	color: #333;
	color: var(--theme-dropzone-rating-votes-color, #333);
}
.dropzone.dz-started .ratingView {
	display: none;
}
@media (max-width: 500px) {
	.dropzone .ratingView {
		display: none;
	}
}

.dropzone.importing .dz-message {
	visibility: hidden;
}
.dropzone.importing::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-image: url('/static/img/loader/squares.gif?v=5d6990a2');
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto 30%;
}
.dropzone.immutable .importTools,
.dropzone.immutable .dz-remove {
	display: none;
}

.dropzone.dz-started .notStarted {
	display: none;
}

.dropzone .desktopVersionLink a {
	font-size: 14px;
	padding: 5px;
	display: inline-flex;
	align-items: center;
	gap: 3px;
}
.dropzone .desktopVersionLink a .text {
	font-size: 14px;
	position: relative;
	top: -1px;
}
.dropzone.dz-started .desktopVersionLink {
	display: none;
}
@media (max-width: 500px) {
	.dropzone .desktopVersionLink {
		display: none;
	}
}
.dropzone.dz-drag-hover:not(.sorting) > * {
	opacity: 0.5;
}
.dropzone.dz-drag-hover:not(.sorting) * {
	pointer-events: none;
}
.dropzone.dz-drag-hover:not(.sorting) {
	border-style: solid;
	overflow: hidden;
}
.dropzone .dz-drag-hover-message {
	display: none;
	justify-content: center;
	align-items: center;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	font-size: 32px;
	pointer-events: none;
	z-index: 999;
	color: #ccc;
	color: var(--theme-dropzone-drag-hover-color, #ccc);
	background-color: #444;
	background-color: var(--theme-dropzone-drag-hover-bg-color, #444);
}
.dropzone.hasDragHoverMessage.dz-drag-hover:not(.sorting) > *:not(.dz-drag-hover-message) {
	visibility: hidden;
}
.dropzone.hasDragHoverMessage.dz-drag-hover:not(.sorting) .dz-drag-hover-message {
	display: flex;
	opacity: 1;
}
