/* Pole [mfile] vo formulároch CF7 (inc/cf7-prilohy.php). Vzhľad podľa pôvodného pluginu. */

.jh-mfile {
	display: block;
	margin-bottom: 10px;
}

.jh-mfile__zona {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 15px 20px 20px;
	border: 2px dashed #c5c5c5;
	border-radius: 5px;
	text-align: center;
	cursor: pointer;
	transition: border-color .15s, background-color .15s;
}

.jh-mfile__zona:hover,
.jh-mfile__zona.je-nad {
	border-color: #64f4ab;
}

.jh-mfile__zona.je-nad {
	background-color: rgba(100, 244, 171, .06);
}

.jh-mfile__zona:focus-within {
	outline: 2px solid #64f4ab;
	outline-offset: 2px;
}

/* Skutočné pole ostáva v stránke kvôli klávesnici a čítačkám, len nie je vidieť. */
.jh-mfile__input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	opacity: 0;
}

.jh-mfile__nadpis {
	margin: 5px 0;
	font-family: quicksand, sans-serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 32px;
	color: #fff;
}

.jh-mfile__vybrat {
	color: #64f4ab;
}

.jh-mfile__zona:hover .jh-mfile__vybrat {
	text-decoration: underline;
}

.jh-mfile__pocitadlo {
	position: absolute;
	right: 5px;
	bottom: 3px;
	font-size: 12px;
	line-height: 21.6px;
}

.jh-mfile__hlaska {
	display: block;
	color: #dc3232;
	font-size: 1em;
}

.jh-mfile__hlaska:empty {
	display: none;
}

.jh-mfile__zoznam {
	display: block;
}

.jh-mfile__subor {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.jh-mfile__meno {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	color: #fff;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jh-mfile__velkost {
	flex: 0 0 auto;
	font-size: 14px;
}

.jh-mfile__odobrat {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
	background: none;
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.jh-mfile__odobrat:hover,
.jh-mfile__odobrat:focus-visible {
	border-color: #64f4ab;
	color: #64f4ab;
}

@media (max-width: 575px) {
	.jh-mfile__nadpis {
		font-size: 22px;
		line-height: 26px;
	}
}
