.file-placeholder {
	/* margin-left: 56px; */
}
.file-placeholder .loading-wrap {
    display:inline-block;
    margin-left:15px;
    vertical-align:middle;
    position:relative;
    width: 50%;
	width: calc(50% + 10px);

    width: calc(100% - 120px);
}
.file-placeholder .loading {
    background:#d9d9d9;
    display:block;
    /*border:1px solid;
    border-top:1px solid #bcc2c4;
    border-left-color:#cfd7d9;
    border-right-color:#cfd7d9;
    border-bottom:1px solid #dde5e6;*/
    border-radius:10px;
    height:20px;
	height:18px;
    /*-webkit-box-shadow:inset 0 1px 2px rgba(188,194,196,0.7);
    -moz-box-shadow:inset 0 1px 2px rgba(188,194,196,0.7);
    box-shadow:inset 0 1px 2px rgba(188,194,196,0.7);*/
}


.file-placeholder .loading .del-but {
    background: url("/local/components/bitrix/main.file.input/templates/file_drag_n_drop_calc_dtf/images/live_feed_sprite.png") no-repeat 7px -20px;
    cursor: pointer;
    height: 20px;
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;

    right: -38px;
	
	background: url(/local/components/bitrix/main.file.input/templates/file_drag_n_drop_calc_dtf/images/close-btn.svg) no-repeat;
    display: block;
    background-size: 12px auto;
    background-position:top 3px center;

}
.file-placeholder .load-indicator {
	background:#204ba8;
    /*background:linear-gradient(top, #40c0e9, #2698db);
    background:-moz-linear-gradient(top, #40c0e9, #2698db);
    background:-o-linear-gradient(top, #40c0e9, #2698db);
    background:-ms-linear-gradient(top, #40c0e9, #2698db);
    background:-webkit-gradient(linear, left top, left bottom, from(#40c0e9), to(#2698db));*/
    border-radius:10px;
    color:#fff;
    font-size:12px;
    height:20px;
    text-align:center;
    text-shadow:0 1px 0 rgba(56, 124, 162, 1);
    left:0;
    top:0;
    position:absolute;

	height: 16px;
    top: 2px;
}
.file-placeholder .load-number {
	display:inline-block; box-sizing:border-box; padding-top:0px;
	font-size: 14px;
    line-height: 20px;

	font-size: 12px;
    line-height: 16px;
}
.file-placeholder .files-title {
	background:url("/local/components/bitrix/main.file.input/templates/file_drag_n_drop_calc_dtf/images/live_feed_sprite.png") no-repeat;
	color:#5c6470;
	font-size:12px;
	text-shadow:0 1px 0 rgba(255, 255, 255, 0.8);
	left:13px;
	top:12px;
	width:54px;
	padding-left:20px;
	position:absolute;
}
.file-placeholder .files-list-wrap {
	margin-left:56px;
}
html* .file-placeholder .files-list {
	width: auto !important;
}
.file-placeholder.loaded .files-list {
	margin-top:-10px;
	table-layout:fixed;
	width:100%;
	position:relative;
	padding:5px 3px 9px;
	background: #fff;
	border-radius: 5px;
}
.file-selectdialog.loading .file-placeholder .files-list {
	background: #fff;
}
.file-placeholder .files-list td {
	/* box-shadow:0 -2px 0 -1px #FFFFFF inset; */
	/* border-bottom:1px solid #dde5e8; */
	color:#5c6470;
	font-size:12px;
	line-height:16px;
	padding:2px 0 2px;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
	position: relative;
	zoom:1;
	width: 33%;
}



.file-placeholder .file-edit,
.file-placeholder .file-section {
	display: none;
}
.file-placeholder .files-name {
	width:30%
}
.file-placeholder .files-size {
	width:12%;
}
.file-placeholder .files-storage {
	width:20%;
	
}
.file-placeholder .files-storage .files-storage-text{
	display: inline-block;
	width:80px;
	color:#5C6470; 
}
.file-placeholder .files-storage-block {
	position:relative;
}
.file-placeholder .files-text {
	-moz-box-sizing: border-box;
	color: #2067B0;
	display: inline-block;
	/* font-weight: bold; */
	max-width: 100%;
	padding-right: 2px;
	position: relative;
	zoom:1;
}
.file-placeholder .error-load .files-text {
	color:#bb0000;
}
.file-placeholder .f-wrap {
	display: inline-block;
	overflow: hidden;
	width: 100%;
	word-wrap: break-word;
	zoom:1;
	text-overflow: ellipsis;
}
.file-placeholder .del-but {
	background: url("/local/components/bitrix/main.file.input/templates/file_drag_n_drop_calc_dtf/images/live_feed_sprite.png") no-repeat 0 0;
    cursor: pointer;
    height: 20px;
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;


	background: url(/local/components/bitrix/main.file.input/templates/file_drag_n_drop_calc_dtf/images/close-btn.svg) no-repeat;
    display: block;
    background-size: 12px auto;
    background-position:top 3px center;
}
.file-placeholder .files-storage-block:hover .del-but, 
.file-placeholder .del-but:hover {
	opacity: .5 !important;
}
.file-placeholder .files-text .del-but {
	/* background-position:6px -19px; */
	/*display:inline-block;
	margin-top:-2px;
	position:static;
	vertical-align:top;*/
}
.file-placeholder .loading .del-but {
    /* background-position: 7px -20px; */
    /* top: 0; */
}
.file-placeholder .files-storage-block .del-but {
    /* background-position: 7px -20px; */
    /* top: 0; */
}
.file-placeholder .info-icon {
	background:url("/local/components/bitrix/main.file.input/templates/file_drag_n_drop_calc_dtf/images/live_feed_sprite.png") no-repeat -112px -60px;
	display:inline-block;
	height:16px;
	margin-right:10px;
	vertical-align:middle;
	width:17px;
}
.file-placeholder .stor-place {
	display:inline-block;
	margin-left:10px;
	vertical-align:top;
}
.file-placeholder .stor-text {
	display:inline-block;
	border-bottom:1px solid #5c6470;
}
.file-placeholder .stor-pl-arrow {
	background:url("/local/components/bitrix/main.file.input/templates/file_drag_n_drop_calc_dtf/images/live_feed_sprite.png") no-repeat -130px -23px;
	display:inline-block;
	margin-left:10px;
	height:5px;
	vertical-align:middle;
	width:3px;
}
.file-placeholder .edit-stor {
	background:url("/local/components/bitrix/main.file.input/templates/file_drag_n_drop_calc_dtf/images/live_feed_sprite.png") no-repeat 4px -64px;
	/*cursor:pointer;*/
	/*display:inline-block;*/
	display: none;
	height:15px;
	margin-left:0px;
	vertical-align:middle;
	width:15px;
}
.file-placeholder .files-path,
.file-placeholder .files-path:visited,
.file-placeholder .files-path:active,
.file-placeholder .files-path:link,
.file-placeholder .files-path:hover {
	border-bottom:1px dashed #5C6470;
	display:inline-block;
	color:#5C6470;
	/*margin-left:10px;*/
	text-decoration:none;
}
.file-placeholder .files-placement,
.file-placeholder .files-placement:visited,
.file-placeholder .files-placement:active,
.file-placeholder .files-placement:link,
.file-placeholder .files-placement:hover {
	display:inline-block;
	color:#5C6470;
	/*margin-left:10px;*/
	text-decoration:none;
}
.file-selectdialog {
    /*-moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 #fcfcfc;
    border-color:  #000000;
    border-radius: 2px 2px 2px 2px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 2px -1px rgba(164, 164, 164, 0.698) inset;
    margin-bottom: 11px;*/
    overflow: hidden;
    padding: 1px 0px;
    position: relative;
	display: none;
	max-width: 690px;
}
.file-selectdialog .file-placeholder{
	/* margin-left: 56px; */


	/*position: absolute;
    background: #ff9a9aa3;
    height: 100%;
    width: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;*/

	padding: 10px 0;

}
.file-selectdialog .file-simple .file-placeholder {
	margin-top: 0px;
	margin-left: 90px;
}
.file-selectdialog .file-label {
    background: url("/local/components/bitrix/main.file.input/templates/file_drag_n_drop_calc_dtf/images/live_feed_sprite.png") no-repeat -146px -186px;
    color: #000000;
    font-size: 16px;
    left: 13px;
    padding-left: 20px;
    position: absolute;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    top: 12px;
    width: 54px;
	line-height: 20px;
}
.file-selectdialog .file-extended .file-selector {
    border-radius: 5px 5px 5px 5px;
    color: #A0AEB5;
    font-size: 17px;
    /* font-weight: bold; */
    line-height: 26px;
    margin: 5px 0 5px;
    padding: 20px 10px 20px;
    position: relative;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);

	border:3px dashed #d9d9d9;
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
	background-color: #fff;
}

.file-selectdialog.loading .file-extended .file-selector{
	display:none;
}

.file-selectdialog.loading .file-placeholder .files-list td:nth-child(1) {
    width: calc(100% - 0px) !important;
}
.file-selectdialog.loading .file-placeholder .files-list td:nth-child(1) .files-text {
    padding-right: 0;
}


.file-selectdialog.loading.load-finish .file-placeholder .files-list td:nth-child(2) {
	display: block;
    order: 2;
    width: calc(100% - 32px);
    width: calc(100% - 2px);
    width: calc(100% - 0px);
}



.file-selectdialog .file-extended .file-selector-active {
	/* background-position:57px -88px; */
	border:3px dashed #FF7B03;
	/* padding:21px 0 40px 190px; */
}
.file-selectdialog .file-extended .file-selector:hover {
	border:3px dashed #999;
	/* padding:21px 0 40px 188px; */
}
.file-selectdialog .file-extended .file-load-img {
	background:url("/local/components/bitrix/main.file.input/templates/file_drag_n_drop_calc_dtf/images/upload.svg") no-repeat 0 0;
	height:36px; 
	position:relative;
	width:100%;

	background-position: center;
    background-size: 25px auto;
    margin-bottom: 15px;
}
.file-selectdialog .file-extended .file-selector:hover .file-load-img  {
	/* background-position:0 -104px; */
	/* left:55px; */
	/* top:17px; */
}
.file-selectdialog .file-extended .file-uploader {
    color: #2067B0;
    display: inline-block;
    /* overflow: hidden; */
    position: relative;
    vertical-align: top;
	text-align: center;
}
.file-selectdialog .file-extended .file-uploader .file-but-text {
	cursor: pointer;
	display: block;
	width:100%;
	height:100%;
}
.file-selectdialog .file-simple .file-uploader .file-fileUploader {
	/*font-size: 12px;*/
}
.file-selectdialog .file-uploader .file-fileUploader {
	font-size:14px;
	font-weight: 300;

	height:85px;
	opacity:0;
	filter: alpha(opacity=0);
	position:absolute;
	right: 0;
	top: -20px;
	cursor: pointer;

	top: -56px;
    height: 120px;
    right: -30px;
}
.file-selectdialog .file-uploader .file-but-text b {
	font-weight: 400;
	color:#777;
	font-size: 90%;
}
.file-selectdialog .file-uploader:hover .file-but-text b {
	color:#222;
	color:#204BA8;
}


.file-selectdialog .file-uploader .file-filemacos {
	left:0 !important;
}
.file-selectdialog .file-label2 {
	color: #5C6470;
    font-size: 12px;
    margin-left: 58px;
    padding-bottom: 11px;
}
.file-selectdialog .file-simple,
.file-selectdialog .file-extended {
	/*display: none;*/
	/* margin-left: 30px; */
}
.file-selectdialog .file-simple .file-label2 {
	margin-top:20px;
}
.file-selectdialog .file-simple .file-selector{
	color:#5c6470;
	overflow: hidden;
	height: 30px;
	/*font-size:12px;*/
	/* font-weight:bold; */
	margin:6px 0 6px 90px;
	text-shadow:0 1px 0 rgba(255, 255, 255, 0.8);
}
.file-selectdialog .file-simple .file-uploader{
	overflow: hidden;
    position: relative;
	display: inline-block;
    margin: 0 15px 0 0;
    vertical-align: middle;
	cursor:pointer;
}
.file-selectdialog .file-simple .file-uploader-left{
    background: url("/local/components/bitrix/main.file.input/templates/file_drag_n_drop_calc_dtf/images/live_feed_sprite.png") no-repeat 0px -240px;
    display: inline-block;
    height: 25px;
    vertical-align: top;
    width: 4px;
}
.file-selectdialog .file-simple .file-uploader-right{
    background: url("/local/components/bitrix/main.file.input/templates/file_drag_n_drop_calc_dtf/images/live_feed_sprite.png") no-repeat -7px -240px;
    display: inline-block;
    height: 25px;
    vertical-align: top;
    width: 4px;
}
.file-selectdialog .file-simple .file-but-text{
    background: url("/local/components/bitrix/main.file.input/templates/file_drag_n_drop_calc_dtf/images/live_feed_sprite.png") repeat-x 0 -267px;
    color: #7A808C;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    height: 25px;
    padding: 2px 10px 0;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    vertical-align: top;
}
/*region Moved from Blog*/
.feed-add-photo-block-wrap {
	margin-top: -17px;
}

.feed-add-photo-block {
	display: inline-block;
	margin: 17px 17px 0 0;
	min-height: 92px;
	width: 102px;
	padding-right: 21px;
	position: relative;
	vertical-align: top;
}

.feed-add-photo-block .feed-add-post-del-but {
	background-position: 6px -19px;
	background-color: #fff;
	height: 22px;
	top: 1px;
	z-index: 0;
}

.feed-add-img-wrap {
	background: #fff;
	border: 1px solid #e2e6e6;
	-moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 2px rgba(137, 137, 137, 0.3);
	display: block;
	text-align: center;
	padding: 4px;
	position: relative;
	z-index: 2;
}

.feed-add-img-title {
	color: #2067b0;
	display: block;
	font-weight: bold;
	font-size: 12px;
	margin-top: 3px;
	overflow: hidden;
}

.feed-add-photo-block .feed-add-close-icon {
	background-color: #fff;
	background-position: 8px -19px;
	height: 22px;
	top: 1px;
	right: 1px;
	width: 22px;
}

.feed-add-photo-block .feed-add-close-icon:hover {
	background-position: -57px -60px;
}

.feed-add-post-del-but {
	background: url("/local/components/bitrix/main.file.input/templates/file_drag_n_drop_calc_dtf/images/live_feed_sprite.png") no-repeat;
	cursor: pointer;
	right: 0;
	top: 0;
	height: 20px;
	position: absolute;
	width: 20px;
}

/*endregion*/




.file-selectdialog {
	width: 100%;
}
.file-selectdialog-switcher {
	font-weight: 500;
	text-decoration: none;
}
.file-selectdialog-switcher span {
	font-weight: 500;
	text-decoration: none;
	background: var(--theme-b-link);
	/* color: #ffffff; */
	padding: 10px 20px 12px;
	display: inline-block;
	border-radius: 5px;
}



.file-but-text .pc { display:inline}
.file-but-text .mob { display:none}







.file-placeholder {
	/* border-top:1px solid #F7F7F7;	 */
	margin-top: 5px;
}
.file-placeholder .files-list ,
.file-placeholder .files-list .file-placeholder-tbody {
	display: block;
}
.file-placeholder .files-list .file-placeholder-tbody tr {
	display: flex;
	justify-content: space-between;
    flex-wrap: wrap;
    align-content: flex-start;

	border-top: 1px solid #F7F7F7;
    padding-top: 10px;

	padding: 7px 5px 0 7px;

}
.file-placeholder .files-list td:nth-child(1) {
	width: calc(100% - 30px);
	order: 1;
}
.file-placeholder .files-list td:nth-child(2) {
	width: 100%;
	order: 3;
	color: #FF7B03;
	min-height: 28px;
}
.file-placeholder .files-list td:nth-child(3) {
	width: 30px;
	order: 2;
	margin-left: -30px;
	min-height: 28px;
}


.file-placeholder .files-list td:nth-child(2) > span:first-child {
	color: #afafaf;
    font-size: 14px;

	display: none;
}


@media (max-width: 575px) { 

	.file-selectdialog .file-extended .file-selector {
		border-radius: 5px 5px 5px 5px;
		color: #A0AEB5;
		font-size: 17px;
		/* font-weight: bold; */
		line-height: 26px;
		margin: 10px 0 10px;
		padding: 10px 15px 15px 15px;
		position: relative;
		text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
		
		border:3px dashed #d9d9d9;
	}
	.file-selectdialog .file-extended .file-selector-active {
		background-position:57px -88px;
		padding:10px 15px 15px 15px;
	}
	.file-selectdialog .file-extended .file-selector:hover {
		padding:10px 15px 15px 15px;
	}

	.file-selectdialog .file-extended .file-selector {
        line-height: 20px;
	}

	.file-selectdialog .file-simple, 
	.file-selectdialog .file-extended {
		/*margin-left: 5px;
		padding-top: 30px;*/
	}
	.file-selectdialog {
		/*margin-bottom: 8px;*/
		/*padding: 20px 5px 0 0;*/
	}

	.file-selectdialog .file-extended .file-load-img {
		/*left: 137px;
		top: -29px;*/
	}
	.file-selectdialog .file-extended .file-selector:hover .file-load-img {
		/*background-position: 0 -104px;
		left: 137px;
		top: -29px;*/
	}


	.file-selectdialog .file-placeholder {
		/* margin-left: 10px; */
	}


	.file-selectdialog .file-extended .file-uploader {
		color: var(--theme-b-link);
		font-weight: 700;
	}

	/* .file-load-img {display:none} */

	
	.file-but-text .mob { display:inline}	
	.file-selector .dndinfo,
	.file-but-text .pc { display:none}
}



.file-extended .file-placeholder {
	/* border: 1px solid #d9d9d9; */
    /* border-radius: 30px; */
    padding: 0px 0px 0px 0px;
	margin-bottom: -20px;
	margin-bottom: 0px;
}


.file-extended.loaded .file-selector {
	display: none;
}

/* .file-placeholder, */
.file-extended.loaded .file-placeholder {
    background-color: #fff;
}
.file-extended.loaded .file-placeholder .files-list td:nth-child(2) {
    display: none;
}




.file-placeholder .f-wrap {
    font-size: 14px;
    /* padding-left: 3px; */
	font-weight: 500;
}

.error-text {
	font-size: 13px;
    color: #d32d0c;
    font-weight: 600;
}

@media (max-width: 575px) { 
	.error-text {
		font-size: 12px;
	}
}










.files-size a {
	display: inline-block;
	padding: 5px 15px 0;
	font-size: 12px;
	text-decoration: none;
}
.files-size a:hover {
	text-decoration: underline;
}








.file-placeholder .loading-wrap {
    margin-left: 0px;
    width: calc(100% - 38px);
    /* width: 100%; */
}


.files-name {
	margin-bottom: -8px;
}








.file-selectdialog .close-but {
    cursor: pointer;
    position: absolute;

    right: -38px;
	background: url(/local/components/bitrix/main.file.input/templates/file_drag_n_drop_calc_dtf/images/close-btn.svg) no-repeat;
    display: block;
    background-size: 12px auto;
    background-position: center;

	right: unset;
    left: 0;
    top: 5px;
    z-index: 12;
    text-indent: -999px;
    overflow: hidden;
    width: 36px;
    height: 36px;

	opacity: .5;

}

.file-selectdialog .close-but:hover {
	opacity: 1 !important;
}

.file-selectdialog.loading .close-but {
	display: none;
}

.files-list small {
    color: #b9b9b9;
}

@media (max-width: 620px) { 
	.file-selectdialog .file-simple, .file-selectdialog .file-extended {
		border-bottom: 1px solid #f7f7f7;
		margin-bottom: 0px;
		padding-bottom: 5px;
	}

	.file-placeholder .files-list td:nth-child(3) {
		margin-top: -7px;
		background: #fff;
	}

	.file-placeholder .files-list .file-placeholder-tbody tr {
		/* padding: 8px 0px 0 0px; */
		padding: 3px 3px 0 5px;
	}

	.file-selectdialog .close-but {
		top: 10px;
	}
}

@media screen and (max-width: 390px) {
	.file-selectdialog .close-but {
		float: right;
		right: -1px;
		left: unset;
		top: 10px;
	}
}





.del-but.hide {
	display: none;
}








.file-selectdialog .file-uploader .file-fileUploader {
    top: -50px;
    height: 175px;
    right: -120px;
    width: 775px;
    display: block;
}