.filepicker {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
}
.filepicker-input {
	width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
	position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
	background: transparent;
    border: 0;
    z-index: 2;
	cursor: pointer;
}
.filepicker-input::-webkit-file-upload-button {
    cursor: pointer;
}
.filepicker-shield {
	display: block;
	max-width: 95px;
	font-family: Inter;
    font-size: 12px;
    font-weight: 500;
	text-align: center;
    line-height: 1;
    color: #757575;
}
.attachment_preview .filepicker-shield {
	display: none;
}
.filepicker-icon {
	display: block;
	width: 25px;
	height: 25px;
	margin: 0 auto;
	content: '';
	background-repeat: no-repeat;
    background-color: transparent;
    background-position: 0 0;
    background-image: url('../images/icons/profile-page/gallery-export-grey.svg');
    background-size: 25px 24px;
}
.filepicker-icon + .filepicker-caption {
	margin-top: 8px;
}
.attachments-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, 200px);
	gap: 10px;
	justify-content: center;
}
.attachment {
	width: 200px;
	height: 200px;
	position: relative;
	overflow: hidden;
}
.attachment-preview {
	display: block;
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	background: #fff;
	border: 1px solid #e3e3e3;
	z-index: 1;
}
.attachment-preview img {
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -o-object-fit: cover; /*contain*/
    object-fit: cover; /*contain*/
}
.attachment-actions {
	display: none;
	position: absolute;
	top: 1px;
	right: 1px;
	z-index: 100;
}
.attachment_preview .attachment-actions {
	display: block;
}
.attachment-action {
	display: block;
	width: 30px;
    height: 30px;
	margin: 0;
	padding: 0;
	line-height: 1;
	text-align: center;
	color: #fff;
    background: #714921;
    border: 0;
    cursor: pointer;
}
.attachment-action:hover {
	background: #9c6731;
}
.attachment-remove::after {
    content: '×';
	font-size: 20px;
	line-height: 30px;
}
.attachment-filepicker {
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	background: #e4fcff;
	cursor: pointer;
	z-index: 2;
}
body._dark-theme .attachment-filepicker {
	background: #282828;
	border: 1px solid #bbb;
}
body._dark-theme .attachments {
	margin: 10px 0;
}
.attachment_preview .attachment-filepicker {
	background: transparent;
}

.attachment_edit {
	width: 240px;
	height: 240px;
}
.attachment_edit .attachment-filepicker {
	display: block;
	background: transparent;
}
.attachment_edit .filepicker-shield {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 48px;
	height: 48px;
	position: absolute;
	right: 1px;
	bottom: 1px;
	background: #e4fcff;
}
.attachment_edit .filepicker-icon {
	width: 20px;
	height: 20px;
	margin-bottom: 0;
	background-image: url('../images/icons/edit-profile/edit.svg');
	background-size: 20px 20px;
}



.js_like._liked .like-icon {
	display: none;
}
.js_like._liked .like-active-icon {
	display: block;
}



.js_fastpost_submit:disabled a,
.js_fastpost_submit:disabled span {
	background: #f8f8f8;
    color: #777777;
}
