#acf-mediapicker-modal {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0,0,0,0.6);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}
#acf-mediapicker-modal button {
	margin-top: 20px;
	float: right;
}
.acf-mediapicker-modal-inner {
	background: #fff;
	padding: 20px;
	max-width: 600px;
	width: 90%;
	border-radius: 5px;
}
.acf-mediapicker-grid {
	height: 360px;
	max-height: 80vh;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
	gap: 10px;
	overflow-y: auto;
}
#acf-mediapicker-modal[data-media-set="illustrations"] .acf-mediapicker-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}
.acf-mediapicker-item {
	cursor: pointer;
	border: 1px solid transparent;
	padding: 5px;
	text-align: center;
	line-height: 0;
	border-radius: 5px;
}
.acf-mediapicker-item img {
	width: 24px;
	height: 24px;
}
#acf-mediapicker-modal[data-media-set="illustrations"] .acf-mediapicker-item img {
    width: 90px;
    height: 90px;
}
.acf-mediapicker-item:hover {
	border-color: #0073aa;
}
.icon-preview-selected {
	margin-bottom: 10px;
}
.acf-mediapicker-wrapper[data-media-set="illustrations"] .media-preview-selected img {
	width: 100%;
}