/* Licensed under the Apache License, Version 2.0 (the "License") http://www.apache.org/licenses/LICENSE-2.0 */
.file-tree {
	vertical-align: top;
	height: 100%;
	width: 100%;
	display: inline-block;
}
.file-tree .trees {
	height: calc(100% - var(--tree-header-height) - var(--tree-footer-height));
	width: var(--sidebar-width);
	overflow-x: auto;
	overflow-y: auto;
}
.file-tree .trees #tree-anchor {
	height: 2px;
	width: 2px;
}
.file-tree .footer {
	height: var(--tree-footer-height);
}
.file-tree .footer .sizes {
	display: inline-block;
}
.file-tree .footer .sizes .size {
	padding-left: 5px;
}
.file-tree .footer .buttons .other-buttons {
	display: inline-block;
	margin: 0 2px;
}
/* Calc width with default for max level of 7 */
.file-tree .file.item .name
	, .file-tree .file.item .name span
{
	max-width: calc(var(--sidebar-width) - 26px);
	min-width: 60px;
}
.file-tree .tree-subtree .file.item .name
	, .file-tree .tree-subtree .file.item .name span
{
	max-width: calc(var(--sidebar-width) - 44px);
}
.file-tree .tree-subtree .tree-subtree .file.item .name
	, .file-tree .tree-subtree .tree-subtree .file.item .name span
{
	max-width: calc(var(--sidebar-width) - 62px);
}
.file-tree .tree-subtree .tree-subtree .tree-subtree .file.item .name
	, .file-tree .tree-subtree .tree-subtree .tree-subtree .file.item .name span
{
	max-width: calc(var(--sidebar-width) - 80px);
}
.file-tree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .file.item .name
	, .file-tree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .file.item .name span
{
	max-width: calc(var(--sidebar-width) - 98px);
}
.file-tree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .file.item .name
	, .file-tree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .file.item .name span
{
	max-width: calc(var(--sidebar-width) - 116px);
}
.file-tree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .file.item .name
	, .file-tree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .file.item .name span
{
	max-width: calc(var(--sidebar-width) - 134px);
}
.file-tree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .file.item .name
	, .file-tree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .file.item .name span
{
	max-width: calc(var(--sidebar-width) - 152px);
}
/* adding 32px extra space in case "broken" symbol is on same row*/
.file-tree .broken .file.item .name
	, .file-tree .broken .file.item .name span
{
	max-width: calc(var(--sidebar-width) - 58px);
	min-width: 60px;
}
.file-tree .tree-subtree .broken .file.item .name
	, .file-tree .tree-subtree .broken .file.item .name span
{
	max-width: calc(var(--sidebar-width) - 76px);
}
.file-tree .tree-subtree .tree-subtree .broken .file.item .name
	, .file-tree .tree-subtree .tree-subtree .broken .file.item .name span
{
	max-width: calc(var(--sidebar-width) - 94px);
}
.file-tree .tree-subtree .tree-subtree .tree-subtree .broken .file.item .name
	, .file-tree .tree-subtree .tree-subtree .tree-subtree .broken .file.item .name span
{
	max-width: calc(var(--sidebar-width) - 112px);
}
.file-tree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .broken .file.item .name
	, .file-tree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .broken .file.item .name span
{
	max-width: calc(var(--sidebar-width) - 130px);
}
.file-tree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .broken .file.item .name
	, .file-tree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .broken .file.item .name span
{
	max-width: calc(var(--sidebar-width) - 148px);
}
.file-tree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .broken .file.item .name
	, .file-tree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .broken .file.item .name span
{
	max-width: calc(var(--sidebar-width) - 166px);
}
.file-tree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .broken .file.item .name
	, .file-tree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .tree-subtree .broken .file.item .name span
{
	max-width: calc(var(--sidebar-width) - 184px);
}
.trash-toolbar {
	font-weight: bold;
	line-height: 20px;
	color: transparent;
	height: var(--tree-header-height);
	padding-top: 3px;
	overflow: hidden;
}
.trash-toolbar .om-confirm-dialog {
	color: var(--danger);
}
.trash-toolbar .om-icon.fileitem, .trash-toolbar .om-icon.recorditem {
	display: none !important;
}
.trash-toolbar-hover {
	color: inherit;
	background-color: var(--light);
}
.file-tree .info .details {
	width: 100%;
	display: table;
}
.file-tree .info .row {
	display: table-row;
}
.file-tree .info .row .label, .file-tree .info .row .value {
	display: table-cell;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.file-tree .info .row .label {
	max-width: 50px;
}
.file-tree .info .row .value {
	max-width: 270px;
}
.trees .om-icon {
	width: auto;
	margin-top: 0;
}
.trees .om-icon.big {
	position: relative;
}
.trees .om-icon.big::before {
	position: absolute;
	left: 3px;
}
.trees .om-icon span {
	white-space: nowrap;
	padding-right: 20px;
	vertical-align: top;
}
.trees .tree-node {
	white-space: nowrap;
}
.file-tree .trees .om-icon.active {
	background-color: var(--info);
}
.file-tree .trees .om-icon i {
	display: none;
	position: absolute;
	bottom: 1px;
	left: 5px;
	font-size: .8em;
}
.refresh.om-icon::before {
	content: '\f2f1';
}
.trash.om-icon::before {
	content: '\f2ed';
}
.trash-toolbar-hover .trash.om-icon::before {
	font-weight: 400;
}
.folder-create.om-icon::before {
	content: '\f65e';
}
.recording.om-icon::before {
	content: '\f008';
}
.broken.om-icon::before {
	color: var(--danger);
}
.file-tree .trees .processing.om-icon i {
	display: block;
}
.file.om-icon, .recording.om-icon {
	padding-left: 34px;
}
.my.file.om-icon::before {
	content: '\f015';
}
.public.file.om-icon::before {
	content: '\f0ac';
}
.image.file.om-icon::before {
	content: '\f1c5';
}
.chart.file.om-icon::before {
	content: '\f200';
}
.wml.file.om-icon::before {
	content: '\f56f';
}
.doc.file.om-icon::before {
	content: '\f15b';
}
.folder.file.om-icon::before {
	content: '\f07b';
}
.folder-open.file.om-icon::before {
	content: '\f07c';
}
.drag-container .om-icon {
	display: block !important;
}
.selected .file.item {
	background-color: #0099FF;
}
.tree-theme-windows span.tree-content {
	display: flex !important;
}
.file.item {
	position: relative;
	display: inline-block;
	vertical-align: top;
}
.file.item .name, .file.item .name span {
	color: black;
	display: block;
	/* Required for text-overflow to do anything */
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.file.item .name {
	padding-top: 10px;
}
.file.item .errors {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 32px;
	height: 32px;
	margin: 0px;
	padding: 0px;
}
.file.item .errors::before {
	color: var(--warning);
	content: '\f071';
}
.dialog.errors {
	height: 500px;
	font-size: small;
}
.dialog.errors .scroll-container {
	overflow: auto;
	height: calc(100% - 50px);
}
.dialog.errors .alert {
	color: var(--danger);
}
.dialog.errors .warn {
	color: var(--warning);
}
.dialog.errors .message {
	display: block;
	unicode-bidi: embed;
	font-family: monospace;
	white-space: pre;
	margin: 0;
}
