.ext {
	width: 38px;
	height: 18px;
	padding: 30px 0 0 0;
	position: relative;
	text-align: center;
}

.attachWrapper.attachWrapper-small .fileItem .ext,
.fileItem-small .ext {
	padding-top: 24px;
	width: 32px;
	height: 16px;
}

.ext u {
	position: absolute;
	width: 40px;
	height: 30px;
	left: 0;
	top: 0;
	border-radius: 4px 10px 0 0;
	opacity: 0.25
}

.attachWrapper.attachWrapper-small .fileItem .ext u,
.fileItem-small .ext u {
	width: 32px;
	height: 24px;
}

#modal__previewPanel #files_new .fileItem.fileItem-active u,
#modal__previewPanel #files_new .fileItem:hover u,
a.ext:hover u {
	opacity: 1
}

a.ext.thickbox {
	cursor: zoom-in
}

.ext .as_ico {
	position: absolute;
	left: 10px;
	top: 7px;
	margin: 0
}

.attachWrapper.attachWrapper-small .fileItem .ext .ico_l,
.fileItem-small .ext .ico_l {
	left: 6px;
	top: 4px;
}

.ext .ico_l ~ .ico_l {
	display: none
}

.ext i {
	font: var(--font-ui-10-nano-semi);
	text-transform: uppercase;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	padding: 1px 4px;
	border-radius: 0 0 4px 4px;
	width: 40px;
	height: 18px;
	box-sizing: border-box;
}

.attachWrapper.attachWrapper-small .fileItem .ext i,
.fileItem-small .ext i {
	padding: 0 4px;
	width: 32px;
	height: 16px;
	font: 8px/16px var(--font-base);
}

.ext_doc ws-icon, .ext_docx ws-icon,
#modfiles .ext_doc ws-icon, #modfiles .ext_docx ws-icon {
	--icon-color: #00aeef;
}

.ext_xls ws-icon, .ext_xlsx ws-icon,
#modfiles .ext_xls ws-icon, #modfiles .ext_xlsx ws-icon {
	--icon-color: #49b538;
}

.ext_ppt ws-icon, .ext_pptx ws-icon,
#modfiles .ext_ppt ws-icon, #modfiles .ext_pptx ws-icon {
	--icon-color: #e9770e;
}

.ext:hover > ws-icon {
	--icon-color: var(--base-txt-alt-light);
}

.attachWrapper.attachWrapper-small .fileItem .ext ws-icon,
.fileItem-small .ext ws-icon {
	--icon-size: 16px;
}

a.ext_doc_gd:hover, a.ext_xls_gd:hover, a.ext_ppt_gd:hover {
	background-position: -1000px -150px
}

.extbig {
	display: block;
	width: 190px;
	height: 90px;
	padding: 150px 0 0 0;
	margin: 0 auto 30px;
	position: relative;
	text-align: center;
}

.extbig u {
	font: bold 14px/20px var(--font-base);
	text-decoration: none;
	position: absolute;
	width: 150px;
	height: 110px;
	padding: 20px;
	left: 0;
	top: 0;
	border-radius: 10px 50px 0 0;
	background: var(--base-txt-ghost);
	color: var(--base-txt-secondary);
	text-align: left
}

.extbig i {
	font: 50px/90px var(--font-base);
	text-transform: uppercase;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	padding: 0 10px;
	border-radius: 0 0 20px 20px;
	height: 90px;
	white-space: nowrap;
}

.ext_fld {
	width: 42px;
	height: 30px;
	padding: 6px 0 0 0;
	position: relative;
	text-align: center;
}

.fileItem:hover .ext_fld *, .fileItem-active .ext_fld * {
	background: var(--base-btn-primary-minor);
}

.ext_fld u {
	position: absolute;
	width: 20px;
	height: 6px;
	left: 0;
	top: 0;
	opacity: 0.5;
	border-radius: 4px 6px 0 0
}

.ext_fld i {
	display: block;
	height: 30px;
	border-radius: 0 4px 4px
}

.ext_fld .ico_l {
	position: absolute;
	left: 9px;
	top: 12px;
	margin: 0
}

.ext_back {
	width: 20px;
	height: 20px;
	background: var(--base-cont-top);
	padding: 8px;
	border-radius: 18px;
}

.ext_back .ico_l {
	margin: 0;
}

.ext_hid {
	display: none
}

.sm_prog {
	background: var(--base-txt-tertiary);
	height: 2px;
	display: block
}

/* -------------------------------------------------------------------------------------------------------------------*/
#files_new {
	margin: 0;
}

#files_new.inline_hid {
	display: none
}

#files_new .files_new {display: flex;flex-wrap: wrap;gap: 6px;}

.fileItem {
	width: 196px;
	height: 48px;
	padding: 8px;
	position: relative;
	display: inline-flex;
	flex-direction: row;
	flex-wrap: nowrap;
	vertical-align: bottom;
}
.files_new .fileItem,
.attachWrapper .fileItem {
	width: calc(100% / 3 - 20px);
	flex-grow: 0;
	flex-shrink: 1;
	box-shadow: var(--shadow-cont-minor-outline);
	border-radius: 8px;
	gap: 4px;
	background: var(--base-cont-top-elevated);
}
.files_new .download_zip { display: none;}

.attachWrapper.attachWrapper-small .fileItem,
.attachWrapper .fileItem-small {
	padding: 6px;
	height: 40px;
	width: calc(100% / 3 - 16px);
}

.fileItem__ico {
	flex-grow: 0;
	flex-shrink: 0;
	display: flex;
	width: 48px;
	justify-content: center;
	align-items: center;
}

.attachWrapper.attachWrapper-small .fileItem .fileItem__ico,
.fileItem-small .fileItem__ico {
	width: 40px;
}

.fileItem__content {
	flex-grow: 1;
	flex-shrink: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	justify-content: space-around;
	gap: 8px;
}

.attachWrapper.attachWrapper-small .fileItem .fileItem__content,
.fileItem-small .fileItem__content {
	gap: 0;
}

.fileItem__content .name {
	height: 24px;
	display: flex;
	align-items: center;
	flex-shrink: 1;
	overflow: visible;
}

.fileItem__content .links {
	display: flex;
	align-items: center;
	padding-left: 4px;
	color: var(--base-txt-tertiary);
	flex-wrap: nowrap;
	font: var(--font-ui-11-micro-reg);
	gap: 4px;
	cursor: default;
}

#modfiles .fileItem__content .links {
	cursor: pointer;
}

.fileItem__content .links .left {
	position: relative;
	width: 100%;
	height: 100%;
}

#files_panel .fileItem__content .links .left {
	min-width: 0;
	gap: 6px;
}

.fileItem__content .links .left a,
.fileItem.figma-preview .fileItem__content .links a {
	width: 100%;
	min-width: 0;
}

.fileItem__content .links .left a,
.fileItem__content .links .left .size {
	position: absolute;
	transition: opacity .3s ease-in-out;
}

#files_panel .fileItem__content .links .left .size {
	position: static;
}

@media screen and (max-width: 480px) {
	.fileItem .fileItem__content .links .left {
		height: 16px;
	}
	.fileItem .fileItem__content .links .left .size {
		display: none;
	}
	.commentList .fileItem .fileItem__content .links > .flex_gap,
	.commentList .fileItem .fileItem__content .links > .flex_gap ~ a {
		display: none;
	}
}
@media screen and (min-width: 481px) {
	.fileItem .fileItem__content .links:has(.sw_loading) .left .size,
	.fileItem:hover .fileItem__content .links .left .size,
	.fileItem .fileItem__content .links .left a {
		opacity: 0;
	}

	.fileItem .fileItem__content .links:has(.sw_loading) .left a,
	.fileItem:hover .fileItem__content .links .left a {
		opacity: 1;
	}
	#files_panel .fileItem__content .links .left .size {
		opacity: 1;
	}
	.fileItem__content .links ws-icon {
		opacity: 0;
	}
}

.fileItem__content .links ws-icon {
	width: 16px;
	height: 16px;
	--icon-color:var(--base-txt-tertiary);
	 transition: opacity .3s ease-in-out;
}

.fileItem__content .links ws-icon:hover {
	--icon-color:var(--base-txt-primary);
}

.fileItem:hover .fileItem__content .links ws-icon,
.fileItem .fileItem__content .links .menu_open ws-icon,
#modal__previewPanel .fileItem .fileItem__content .links ws-icon
{
	opacity: 1;
}

body.withMass .fileItem:hover .fileItem__content .links ws-icon {
	display: none;
}

.fileItem__content .links ws-icon[name="input-circle-solid-cancel"] {
	--icon-color:var(--base-txt-primary);
}

.fileItem__content .links ws-icon[name="input-circle-solid-cancel"]:hover {
	--icon-color:var(--base-txt-btn-w);
}

.fileItem__content .links ws-icon[name="exclam_triangle-solid"] {
	--icon-color:var(--base-txt-notice-major);
}

.fileItem__content .links .in {
	padding-left: 4px;
}

.fileItem__content .links a:not(.sw_act) .sw {
	box-shadow: 0 0 0 1px var(--base-txt-tertiary) inset;
	transition: none;
}

.fileItem__content .links a:not(.sw_act):hover .sw {
	box-shadow: 0 0 0 1px var(--base-txt-accent) inset;
}

.fileItem__content .links a:not(.sw_act) .sw span {
	background: var(--base-txt-tertiary);
	transition: none;
}

.fileItem__content .links a:not(.sw_act):hover .sw span {
	background: var(--base-txt-accent);
}

.fileItem__content .links .flex_gap {
	flex-grow: 1;
}
.fileCreate__wrapper .fileItem__content .links .pin {
	display: none
}
.fileItem__content .links .pin:not(.pin_act) use:first-child {
	display:none
}
.fileItem__content .links .pin_act use:last-child {
	display:none
}

.files_new .fileItem-wide {
	/* width: 100%; */
}

.files_new .inline_hid {
	display: none
}

.fileItem.zoom_in:not(.fileItem-active),
.fileItem.zoom_in:not(.fileItem-active) * {
	cursor: zoom-in;
}

.fileItem .wimg {
	overflow: hidden;
	width: 48px;
	height: 48px;
	position: relative;
	background: var(--base-cont-top);
	border-radius: 4px;
	text-align: center;
}

#modfiles .fileItem .wimg {
	cursor: pointer;
}


.fileItem .wimg img {
	max-height: 48px;
	max-width: 48px;
}

.attachWrapper.attachWrapper-small .wimg,
.fileItem-small .wimg {
	width: 40px;
	height: 40px;
}
.attachWrapper.attachWrapper-small .wimg img,
.fileItem-small .wimg img {
	max-height: 40px;
	aspect-ratio: 1;
	max-width: 40px;
}

.fileItem .wimg ws-icon[name=lock_sm] {
	position: absolute;
	left: 15px;
	top: 15px;
	margin: 0
}
.fileItem .input {
	font: var(--font-ui-13-small-semi);
	color: var(--base-txt-accent);
	padding: 0 4px;
	width: 100%;
	box-sizing: border-box;
	border: none;
	box-shadow: var(--shadow-cont-minor-lineonly-outside);
	background:var(--trans);
	border-radius: 4px;
	text-overflow: ellipsis;
	caret-color: var(--base-txt-act-minor);
}
.fileItem .input:hover {
	box-shadow: var(--shadow-cont-major-lineonly-outside);
}
.fileItem .input:focus {
	background: var(--base-hlt-easy);
	box-shadow: var(--shadow-brd-focus-alt-mini);
}

.fileItem .wimg:hover {
	border-color: var(--base-cont-top)
}

.fileItem .name b, .fileItem .name a.b {
	padding: 0 4px;
	font: var(--font-ui-13-small-semi);
	white-space: nowrap;
	color: var(--base-txt-accent);
	overflow: hidden;
	text-overflow: ellipsis;
	flex-shrink: 1;
	flex-grow: 1;
}

.files_new .fileItem-secondary .name b, .files_new .fileItem-secondary .name a.b {
	color: var(--base-txt-secondary)
}

.files_new .fileItem-secondary .wimg {
	border-color: var(--base-cont-low)
}

.fileItem strike {
	font: bold 13px var(--font-base);
	display: block;
	white-space: nowrap;
	padding: 8px 0 2px 0;
	color: var(--base-txt-secondary);
}

.fileItem a {
	color: var(--base-txt-tertiary);
}

.fileItem a:hover {
	color: var(--base-txt-accent);
}

.files_new .ico_dload_new {
	display: none
}

.fileItem:hover .ico_dload_new {
	display: inline-block
}
.fileItem .ico_gdrive {
	position: absolute;
	left:10px;
	top:6px
}

body.withMass .fileItem:hover .ico_dload_new {
	display: none
}

.fileItem ws-icon[name=lock_sm],
.fileItem .name ws-icon {
	margin-left: -6px;
	margin-right: -2px;
	--icon-color: var(--base-txt-accent);
}

.listing__item-card.fileItem .name ws-icon {
	margin-left: -2px;
}

#modfiles .fileItem-active .name ws-icon {
	--icon-color: var(--base-txt-accent);
}

#modfiles .fileItem-active .name ws-icon use:first-child {
	display: none;
}

#modfiles .fileItem-active .name ws-icon use:last-child {
	display: block;
}

/* -------------------------------------------------------------------------------------------------------------------*/
div.attach.fileItem-preDeleted {
}

div.attach.fileItem-preDeleted .input, div.attach.fileItem-preDeleted .sm_name {
	color: var(--base-txt-tertiary);
	text-decoration: line-through;
	border-color: var(--base-cont-low)
}

div.attach.fileItem-preDeleted .toobig {
	opacity: 1;
}

div.attach.fileItem-preDeleted a.preview {
	display: none
}

div.attach.fileItem-preDeleted .ico_delete2 {
	opacity: 0.3
}

div.attach .progr {
	color: var(--base-txt-tertiary)
}

div.attach {
	position: relative;
	max-width: 220px;
	height: 26px;
}

div.attach .ico_delete2 {
	position: absolute;
	left: 2px;
	top: 3px;
	margin: 0;
}

div.attach .sm_prog_ {
	position: absolute;
	right: 40px;
	bottom: 0;
	left: 28px;
}

div.attach .sm_prog {
	position: absolute;
	right: 0;
	bottom: 0
}

div.attach .loader_sm {
	position: absolute;
	left: 2px;
	top: 5px;
}

div.attach .toobig {
	position: absolute;
	right: 0;
	top: 0;
	color: var(--white-accent);
	background: var(--base-btn-alert-primary-minor);
	font: 11px/20px var(--font-base);
	padding: 3px 0;
	width: 40px;
	text-align: center;
	text-transform: lowercase;
	border-radius: 0 3px 3px 0
}

div.attach .input {
	width: 100%;
	margin: 0;
	padding: 2px 43px 2px 5px;
	height: 20px;
	font: 13px/20px var(--font-base);
	border-radius: 4px;
	border-color: transparent;
	background: transparent;
	position: relative
}

div.attach .sm_name {
	width: 100%;
	margin: 0;
	display: inline-block;
	padding: 2px 43px 2px 5px;
	background: var(--inp-cont-top);
	border: 1px solid var(--inp-cont-brd);
	opacity: 0.9;
	height: 20px;
	font: 13px/20px var(--font-base);
	overflow: hidden;
	vertical-align: middle;
	white-space: nowrap;
}

div.attach .input:focus {
	box-shadow: 0 0 4px 0 var(--base-hlt-invert);
	border-color: var(--inp-hlt-focus) !important
}

div.attach .input {
}

.modal div.attach .input {
	background: var(--menu-inp-cont);
	border-color: var(--menu-inp-brd);
}

div.attach a.preview {
	position: absolute;
	right: 0;
	top: 0;
	color: var(--base-txt-tertiary);
	width: 20px;
	height: 20px;
	padding: 3px 10px;
	cursor: pointer;
	border-radius: 0 3px 3px 0;
	z-index: 15;
}

div.attach a.ico_pin {
	opacity: 0;
	position: absolute;
	right: -35px;
	top: -2px;
}

div.attach:hover a.ico_pin, div.attach a.ico_pin_act {
	opacity: 1
}

body.desktop div.attach a.preview {
	display: none;
}

body.mobile div.attach a.preview {
	opacity: 0
}

body.desktop div.attach:hover a.preview {
	display: inline
}

.modal div.attach a.preview {
	display: none
}

@media (min-width: 481px) {
	#modal__previewAudio {
		background: var(--base-cont-retrans-mid);
		backdrop-filter: blur(12px);
		padding: 32px;
	}
}
#modal__previewAudio > audio { width: 33vw; }
@media (max-width: 1100px) {
	#modal__previewAudio > audio { width: 50vw; }
}
@media (max-width: 640px) {
	#modal__previewAudio > audio { width: 80vw; }
}
@media (max-width: 480px) {
	#modal__previewAudio {
		padding-top: 32px;
		padding-bottom: 32px;
	}
	#modal__previewAudio > audio {
		display: block;
		margin: 32px auto;
	}
	#modal__previewSvg {
		margin: 0 auto;
	}
}

.file_links {
	padding: 0 11px 5px;
}

.attachWrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

div.attach {
	margin: 0 0 10px 0;
	padding: 0 50px 0 28px;
}

div.attach input {
	padding: 0;
	margin: 0
}

.attachnew {
	font: 13px/20px var(--font-base);
	color: var(--base-txt-tertiary);
	padding: 5px 0 10px;
	white-space: nowrap;
	overflow: hidden;
}

/* -------------------------------------------------------------------------------------------------------------------*/
#modal__previewImage {
	position: fixed;
	left: 50%;
	top: 50%;
	margin-top: -80px;
	/* z-index:1017; */
	background: var(--base-cont-retrans-mid);
	backdrop-filter: blur(12px);
	box-shadow: 0 0 10px var(--colors-alpha-dark-20);
	-webkit-user-drag: none;
	user-drag: none;
	-webkit-touch-callout: none;
	/* prevent callout to copy image, etc when tap to hold */
	-webkit-text-size-adjust: none;
	/* prevent webkit from resizing text to fit */
	-webkit-user-select: none;
	/* prevent copy paste, to allow, change 'none' to 'text' */
	user-select: none;
}

@media (min-width: 481px) {
	#modal__previewVideo {
		background: var(--base-cont-retrans-mid);
		backdrop-filter: blur(12px);
		box-shadow: 0 0 10px var(--colors-alpha-dark-20);
	}
}
@media (max-width: 480px) {
	#modal__previewVideo video {
		height: auto;
	}
}

#modal__previewPanel {
	position: fixed;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 1025;
	height: 140px;
	box-shadow: var(--shadow-brd-enable-outside);
	text-align: center;
}

#modal__previewPanel #zoom_data{
	margin: initial;
}
#modal__previewPanel.wlinks {
	height: 40px;
}

#modal__previewPanel > .links {
	padding: 6px 12px;
	font: 12px/20px var(--font-base);
	box-shadow: 0 -1px var(--shadow-cont-minor-lineonly-outside), 0 1px var(--shadow-cont-minor-lineonly-outside);
	background: var(--base-cont-top);
}

#modal__previewPanel .links .flex_gap {
	flex-grow: 1;
}

#modal__previewPanel .nav-button {
	position: absolute;
	top: 16px;
	width: 20px;
	height: 20px;
	padding: 22px 5px;
	background: var(--base-cont-mod-top);
	border-radius: 8px;
	background: var(--base-cont-top-elevated);
	box-shadow: 0px 0px 0px 1px var(--base-line-ghost), 0px 2px 8px -2px var(--colors-graphite-trans-300);
	display: none;
	opacity: 0.9;
	transition: width 0.3s ease, opacity 0.3s ease;
}

#modal__previewPanel .prev > ws-icon {
	float: right;
}
#modal__previewPanel .prev {
	left: 0;
	padding-left: 2px;
	padding-right: 5px;
	border-radius: 0 8px 8px 0;
}

#modal__previewPanel .next {
	right: 0;
	padding-left: 5px;
	padding-right: 2px;
	border-radius: 8px 0 0 8px;
}

#modal__previewPanel .prev:hover,
#modal__previewPanel .next:hover {
	width: 28px;
	opacity: 1;
}

/*#zoom_data, #google_data {*/
/*	font: 11px/14px var(--font-base);*/
/*	color: var(--base-txt-secondary);*/
/*	margin-left: 70px*/
/*}*/

/*#zoom_data a {*/
/*	padding: 4px 2px 4px 1px;*/
/*	margin: 0 0 0 0*/
/*}*/

#file_central_btn .s2 { display: none }
#file_central_btn:hover .s1 { display: none }
#file_central_btn:hover .s2 { display: inline }

#file_central_btn .sw {
	float: none;
	display: inline-block;
}
#file_central_btn .sw_pre {
	display: inline-flex;
	align-items: center;
}

/*#zoom_data a:hover .s21 {*/
/*	padding: 3px;*/
/*	background: url(/img/iconset.svg) -60px -460px;*/
/*	margin: 0 5px 0 0*/
/*}*/

/*#zoom_data a:hover .s22 {*/
/*	padding: 3px;*/
/*	background: url(/img/iconset.svg) -70px -460px;*/
/*	margin: 0 0 0 5px*/
/*}*/

/*#zoom_data a:hover .s23 {*/
/*	padding: 3px;*/
/*	background: url(/img/iconset.svg) -80px -460px;*/
/*	margin: 0 5px 0 0*/
/*}*/

/*#zoom_data a:hover .s24 {*/
/*	padding: 3px;*/
/*	background: url(/img/iconset.svg) -90px -460px;*/
/*	margin: 0 0 0 5px*/
/*}*/

/*#zoom_data a:hover {*/
/*	color: var(--base-txt-secondary) !important*/
/*}*/

/*#google_data .switch_block {*/
/*	width: 370px;*/
/*	text-align: left*/
/*}*/

.zoom_in {
	cursor: zoom-out;
}

.zoom_out {
	cursor: zoom-in
}

.zoom_in-move {cursor: grab;}
.zoom_in-moving {cursor: grabbing;}

.zoom_no {
	cursor: move;
	cursor: grabbing
}

.zoom_free {
	--pan-x: 0px;
	--pan-y: 0px;
	--scale: 1;
	cursor: unset;
	transform: translate(var(--pan-x), var(--pan-y)) scale(var(--scale));
}

.zoom_out img {
	max-width: 100%;
	max-height: 100%
}

#modal__previewPanel #files_panel {
	margin: 0;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	text-align: left;
	height: 100px;
	overflow: hidden;
	/*background: var(--base-cont-retrans-mid);
	backdrop-filter: blur(32px);*/


	border-top: 1px solid var(--base-line-secondary);
	background: var(--base-cont-retrans-mid);
	backdrop-filter: blur(16px);
}

#modal__previewPanel #files_panel_ {
	margin: 0 auto;
	height: 100px;
	overflow: hidden;
	padding: 16px 0 20px;
}

#modal__previewPanel #files_new {
	width: 100000px;
	padding: 0;
	margin: 0;
	gap: 8px;
}

#modal__previewPanel #files_new.ani_panel {
	transition: margin 0.5s ease;
	-webkit-transition: margin 0.5s ease
}

/*#modal__previewPanel #files_new .files_new {
	gap: initial;
}*/

#modal__previewPanel #files_new .fileItem {
	background: var(--base-cont-top-elevated);
	box-shadow: 0px 0px 0px 1px var(--base-line-ghost), 0px 2px 8px -2px var(--colors-graphite-trans-300);
	border-radius: 8px;

	display: flex;
	width: 204px;
	padding: 8px;
	align-items: center;
	gap: 4px;
}

#modal__previewPanel .links {
	display: flex;
	align-items: center;
}


#modal__previewPanel #files_new .fileItem:hover {
	box-shadow: var(--shadow-cont-major-outline);
}

#modal__previewPanel #files_new .fileItem-active,
#modal__previewPanel #files_new .fileItem-active:hover {
	box-shadow: var(--shadow-brd-04-focus-mini);
}

#modal__previewPanel #files_new .fileItem-active, #modal__previewPanel #files_new .fileItem-active:hover {
	background: var(--base-cont-mod-top);
}

#modal__previewPanel #files_new .fileItem .pin,
#files_new .fileItem .download,
#files_new .fileItem .rel,
#files_new .fileItem .copy {
	display: none
}

#modal__previewPanel #files_new .fileItem.fileItem-active .pin,
#files_new .fileItem.fileItem-active .download,
#files_new .fileItem.fileItem-active .copy {
	display: flex;
}

#modal__previewPanel .more_prev {
	position: absolute;
	left: 0;
	top: 60px;
	margin: 0
}

#modal__previewPanel .more_next {
	position: absolute;
	right: 0;
	top: 60px;
	margin: 0
}

#modal__previewPanel #dlink {
	float: right;
	background: var(--base-hlt-hover);
	padding: 1px 10px;
	color: var(--base-txt-link-minor);
	font: bold 12px/20px "courier new";
	display: none;
	margin: -1px 0 0 -100%
}
@media print {
	#modal__previewPanel {display:none !important}
}

@media (max-width: 480px) {
	#modal__previewPanel .ico_dlink {display:none}
	#modal__previewPanel {
		height: unset;
	}

	#modal__previewPanel #files_panel {
		position: relative;
		height: unset;
		padding-bottom: var(--sa-bot);
		inset: auto;
	}

	#modal__previewPanel #files_panel_ {
		padding: 0;
		height: 85px;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
	}
	#modal__previewPanel #files_new {
		flex-shrink: 0;
	}
	#modal__previewPanel > .links {
		padding-top: 0;
		padding-bottom: 0;
		height: 36px;
		box-sizing: content-box;

		position: relative;
		z-index: 99999;
	}
	#modal__previewPanel .nav-button {
		top: calc( (100% - var(--sa-bot)) / 2 );
		transform: translateY(-50%);
	}

	#modal__previewPanel.wlinks {
		height: unset;
	}
	#modal__previewPanel.wlinks > .links {
		padding-top: 0;
		padding-bottom: var(--sa-bot);
	}

	#modal__previewPanel .links .open_in_new,
	#modal__previewPanel .back span {
		display: none !important;
	}

	.taskView__descr .files_new .fileItem,
	.commentList .files_new .fileItem,
	.attachWrapper .fileItem {

		--fileItem-cols: 2;
		--fileItem-paddingInline: 16px;
		--fileItem-gap: 6px;
		--fileItem-baseWidth: calc(100% / var(--fileItem-cols) - var(--fileItem-paddingInline));
		--fileItem-gapsWidth: calc(var(--fileItem-gap) * (var(--fileItem-cols) - 1) / var(--fileItem-cols));

		width: calc(var(--fileItem-baseWidth) - var(--fileItem-gapsWidth)) !important;
		min-width: 115px;
	}
}
@media (max-width: 400px) {
	.taskView__descr .files_new .fileItem .links .left a[onclick^="App.upload.attach.toggle_inline_view"] > .in,
	.commentList .files_new .fileItem .links .left a[onclick^="App.upload.attach.toggle_inline_view"] > .in,
	.attachWrapper .fileItem .links .left a[onclick^="App.upload.attach.toggle_inline_view"] > .in {
		opacity: 0;
	}
}



/* -------------------------------------------------------------------------------------------------------------------*/
.drop_zone_out {
	position: relative;
}

.drop_zone {
	z-index: 1025;
	display: none;
	position: absolute;
	left: -5px;
	top: 28px;
	right: -15px;
	bottom: -5px;
}

.drop_zone_body .drop_zone {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	border: none;
}

.drop_zone_in {
	display: none;
	z-index: 1025;
	background: var(--colors-alpha-light-80);
	text-align: center;
	font: 700 22px var(--font-mono);
	color: var(--base-txt-primary);
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	border: none;
}

.drop_zone_move ws-icon,
.drop_zone_ready ws-icon {
	display: block;
	width: 96px;
	height: 96px;
	margin: 0 auto;
	--icon-size: 96px;
	--icon-color: var(--base-txt-primary);
}

.drop_zone_move {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.drop_zone_move, .drop_zone_ready
{
	background: linear-gradient(0deg, var(--base-cont-mod-top-opac), var(--base-cont-mod-top));
	width: 240px;
	height: 240px;
	border-radius: 50%;
	backdrop-filter: blur(4px);
}

.drop_zone_ready {
	display: none;
	color: var(--base-txt-primary);
	font: var(--font-ui-22-title-1-semi);
	font-family: monospace;
}
.drop-hover .drop_zone_ready ws-icon {
	transform-origin: bottom center;
	animation: ws-dropready 3s ease 3s 1 normal forwards;
}


body.withFileDrag .drop_zone, body.withFileDrag .drop_zone_in {
	display: flex;
	justify-content: center;
	align-items: center;
}

body.withFileDrag #dz-logo #logo {
	background: var(--colors-interblue-trans-200);
	border-radius: 20px;
	box-shadow: 0 0 0 5px var(--base-cont-top) inset
}

body.withFileDrag #dz-logo .logo {
	background: var(--colors-interblue-trans-200);
}

.drop-hover .drop_zone_in, .drop_zone_body .drop_zone_in {
	background: var(--colors-interblue-trans-200);
}

.drop-hover .drop_zone_move {
	display: none !important;
}
.drop-hover .drop_zone_ready {
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 16px;
}

.drop-zone {
	margin-bottom: 10px
}

.drop-zone .drop_hid {
	display: none
}

.drop-zhover .drop_vis {
	display: none
}

.drop-zhover .drop_hid {
	display: block;
	background: var(--base-cont-low);
	color: var(--base-txt-tertiary);
	margin: -7px 0 -7px 0;
	padding: 7px 10px;
	width: 95%;
	line-height: 20px;
	text-align: center;
}

.drop-zhover .drop-hover {
	background: var(--base-cont-low);
	color: var(--base-txt-secondary)
}

/* -------------------------------------------------------------------------------------------------------------------*/
#modfiles {
	position: relative;
	background: var(--base-cont-mod-low);
	border-top: 1px solid var(--base-line-secondary);
}
#modfiles ~ .buttons {
	background: var(--base-cont-mod-low);
}

#modfiles .fileItem {
	cursor: pointer
}

#modfiles .fileItem {
	margin: 3px 3.5px;
	width: 202px;
	float: left;
	background: var(--base-cont-mod-top);
}

#modfiles .fileItem-locked {
	background: var(--base-hlt-w-selected);
}

#modfiles .files_new .fileItem-levelUp {
	background: var(--base-cont-low);
}

#modfiles .fileItem:hover .wimg {
	border-color: var(--menu-item-selected)
}

#modfiles .filter .modal__header__tabs {
	font: 18px/28px var(--font-base);
}

#modfiles .filter .modal__header__tabs a {
	color: var(--base-txt-link-minor);
	border-bottom: 1px dashed var(--base-txt-link-minor);
	margin: 0 30px 0 0;
}

#modfiles .filter .modal__header__tabs a:hover {
	color: var(--base-txt-link-major);
	border-bottom: 1px dashed var(--base-txt-link-major)
}

#modfiles .filter .modal__header__tabs span {
	background: var(--base-cont-top);
	padding: 14px 15px;
	margin: 0 15px 0 -20px
}

#modfiles .files_new {
	min-height: 370px;
	padding: 15px
}
@media screen and (max-width: 480px) {
	#modfiles .files_new {
		min-height: unset;
	}
}

#modfiles .files_new ws-icon[name=lock_sm] {
	/* margin: 0 0 0 -6px; */
	/* --icon-color: var(--base-txt-alert-major); */
}

#modfiles .files_new ws-icon[name=radio] {
	position: absolute;
	right: 4px;
	bottom: 4px;
	border-right: 0;
	--icon-size: 16px;
}

body.desktop #modfiles .fileItem:hover ws-icon[name=radio], body.desktop #modfiles .files_new .selected ws-icon[name=radio] {
	display: flex
}

body.desktop #modfiles .fileItem-active ws-icon[name=radio] {
	display: flex;
}

@media (min-width: 481px) {
	#modfiles .fileItem.selected,
	#modfiles .fileItem-active:hover {
		box-shadow: var(--shadow-brd-focus-alt-mini);
	}
}
#modfiles .fileItem-active {
	box-shadow: var(--shadow-brd-focus-alt-mini);
	background: var(--base-hlt-notr-selected);
}
@media (min-width: 481px) {
	#modfiles .fileItem-active.selected,
	#modfiles .fileItem-active:hover {
		background: var(--base-cont-mod-top);
	}
}
#modfiles .fileItem-hidden {
	display: none
}

/* -------------------------------------------------------------------------------------------------------------------*/
.file_nopreview {
	text-align: center;
	padding: 30px;
	font: 13px var(--font-base);
	color: var(--base-txt-tertiary);
	margin: 0 auto
}

@media (max-width: 480px) {
	.file_nopreview {
		padding: 15px;
	}
}

.file_nopreview small {
	font: 12px var(--font-base);
	color: var(--base-txt-tertiary)
}

.file_nopreview small a {
	font: 12px var(--font-base);
	color: var(--base-txt-tertiary)
}

.file_nopreview .ext {
	display: block;
	float: none;
	margin: 20px auto
}

#modal__alert .extbig {
	background: var(--base-cont-top);
	border-radius: 10px 50px 20px 20px;
}

#modal__alert.file_nopreview {
	background: var(--base-cont-mod-top);
}

#modal__alert .button:not(.button_default) {
	width: 160px;
	border-radius: 20px
}

.inline_clip {
	padding: 8px;
	border-radius: 16px;
	margin: 0;
	position: relative;
	display: none;
	max-width: 720px;
	text-align: center;
}

.inline_clip.inline_vis {
	display: block;
	margin-top: 8px;
}
.inline_clip.inline_vis:first-child {
	margin-top: 0;
}

.inline_clip.inline_vis + .inline_file {
	display: none
}

/* .inline_clip {max-width: 720px;max-height: 720px;}
.inline_clip img {max-width: 100%;max-height: 720px;object-fit: contain;height: auto;} */
ol.todo .inline_clip {
	margin-left: -47px;
}

ol.todo li:first-child:last-child .inline_clip {
	margin-left: -25px;
}

ol.todo label + .inline_clip {
	margin-top: 30px;
}

.inline_clip {
}

.inline_clip img, .inline_clip iframe {
	border-radius: 8px;
}

.inline_clip.inline_hor img {
	width: 100%;
	height: auto
}

.inline_clip.inline_ver {
	width: fit-content;
	min-width: 200px;
	text-align: center;
}

.inline_clip.inline_ver img {
	max-height: 720px !important;
	width: auto;
}

@media (max-width: 480px) {
	.inline_clip.inline_ver img {
		max-width:100% !important;
		height: auto;
	}
}

.inline_clip div.file {
	position: absolute;
	right: 4px;
	bottom: 4px;
	padding: 2px 0 0 8px;
	border-radius: 8px 0 0 0;
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
}

body.desktop .inline_clip div.file {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}

body.desktop .inline_clip:has(.sw_loading) div.file,
body.desktop .inline_clip:hover div.file {
	opacity: 1;
	pointer-events: auto;
}

/* ----------- MinifyCSS: LIGHT THEME ----------- */
.inline_clip {
	background: var(--base-cont-trans-mid);
}

.inline_clip div.file {
	background: var(--base-cont-mid);
}

/* ----------- MinifyCSS: DARK THEME -----------
.inline_clip {background:var(--base-cont-low);}
.inline_clip div.file {background:var(--base-cont-low);}
----------- MinifyCSS: STOP ----------- */
.inline_clip div.file .sw_pre {
	margin: 0 0 0 10px;
}

.inline_clip.figma-preview div.file .sw_pre {
	margin: 0 8px 0 10px;
}

.inline_clip div.file .sw {
	margin: 2px 6px 2px 0;
}

.inline_clip div.file a:last-child {
	color: var(--base-txt-secondary);
	font: var(--font-ui-11-micro-reg);
	max-width: 150px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis
}

.inline_clip div.file a:last-child:hover {
	color: var(--base-txt-primary)
}

.todo .done .inline_clip {
	/* display:none */
}
.fileItem__wrapper {
	display:flex;
	border-bottom: 1px solid var(--base-line-tertiary);
	background: none;
}
.fileItem__wrapper .fileItem {
	box-shadow: none;
	width: 30%;
	background: var(--base-cont-mod-mid);
}
.fileItem-preDeleted {
	opacity: 0.5;
}
.fileItem-preDeleted .name, .fileItem-preDeleted .input {
	text-decoration: line-through;
}

/*.fileItem ws-icon[name=radio] svg, .fileItem:hover ws-icon[name=radio] svg,*/
/*.fileItem.selected ws-icon[name=radio] svg,  .fileItem.selected:hover ws-icon[name=radio] svg {*/
/*	fill: var(--base-txt-tertiary);*/
/*}*/
.fileItem ws-icon[name=radio] use:nth-child(2) {
	opacity: 0;
	transition: opacity .4s ease;
}
.fileItem ws-icon[name=radio] use:last-child {
	display: none;
}
.fileItem ws-icon[name=radio]:hover use:nth-child(2) {
	opacity: 1;
}
body.withMass .fileItem ws-icon[name=radio] {
	pointer-events: visible !important ;
}
.fileItem-active, .fileItem-active:hover {
	background: var(--base-hlt-selected);
}
.fileItem-active ws-icon[name=radio] svg, .fileItem-active:hover ws-icon[name=radio] svg,
.fileItem-active.selected ws-icon[name=radio] svg {
	fill: var(--base-txt-btn-a);
}
.fileItem-active ws-icon[name=radio] use:last-child {
	display: block;
}
.fileItem-active ws-icon[name=radio] use:nth-child(2) {
	display: none;
}

.fileItem-links {
	overflow-x: hidden;
}


.files_new .figma-preview__placeholder__logo {margin-top: 5px;}

/* ----------- MinifyCSS: LIGHT THEME ----------- */
.figma-preview__inline.inline_clip div.file {background: var(--base-cont-mid); padding-left:0px;}
/* ----------- MinifyCSS: DARK THEME -----------
.figma-preview__inline.inline_clip div.file {background: var(--base-cont-low); padding-left:0px;}
----------- MinifyCSS: STOP ----------- */


#modalFilesListing.modalFilesListing--notFound,
#modalFilesListing.modalFilesListing--empty {
	place-content: center;
}
#modalFilesListing:not(.modalFilesListing--notFound) .modalFilesListing__notFound {
	display: none;
}
#modalFilesListing:not(.modalFilesListing--empty) .modalFilesListing__empty {
	display: none;
}
@media (min-width: 481px) {
	.menu.menu--project-select-in-file-select .scrollZone {
		max-height: min(440px, calc(50vh - 64px));
	}
}
