


.drag {
	width: 100%;
	height: auto;
	border-radius: 5px;
	border:  2px dashed #d5d5e1;
	color: #000;
	font-size: 0.9rem;
	font-weight: 500;
	position: relative;
	background: #dfe3f259;
	display: flex;
	justify-content: center;
	align-items: center;
	user-select: none;
	margin-top: 20px;
}

.drag .select {
	color: #5256ad;
	margin-left: 7px;
	cursor: pointer;
}

.drag input {
	display: none;
}

.drag.dragover {
	border-style: solid;
	font-size: 2rem;
	color: #c8c9dd;
	font-weight: 600;
	background: rgba(0, 0, 0, 0.34);
}

.fileblock {
	width: 100%;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: wrap;
	position: relative;
	height: auto;
	margin-top: 20px;
	max-height: 300px;
	overflow-y: auto;
}

.fileblock .image {
	height: 85px;
	width: 85px;
	border-radius: 5px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	position: relative;
	margin-bottom: 7px;
	margin-right: 7px;
}

.fileblock .image:nth-child(4n) {
	margin-right: 0;
}

.fileblock .image img {
	height: 100%;
	width: 100%;
}


.fileblock .image span {
	position: absolute;
	top: -4px;
	right: 5px;
	cursor: pointer;
	font-size: 22px;
	color: #fff;
}

.fileblock .image span:hover {
	opacity: 0.8;
}