/* CSS to work with thirdmill_sharepoint.js */

.no-display {
	display:none;
}

input.sharepoint_fileItemSubdir { padding: 5px 5px; margin: 2px 0; }
a.sharepoint_fileItemLink:hover{
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
	color: blue;
}

div.sharepoint_fileItemSubdir {
	position: relative;
}

div.baseFolder.sharepoint_fileItemSubdir {
}

div.sharepoint_fileItemLink_wrapper{
	position: relative;
}
div.sharepoint_fileItemSubdir > .sharepoint_fileItemLink_wrapper,
div.sharepoint_fileItemSubdir > .sharepoint_fileItemSubdir {
	margin-left: 15px;
	position: relative;
}
div.sharepoint_fileItemSubdir.baseFolder > .sharepoint_fileItemSubdir {
	margin-left: 0px;
}

div.sharepoint_fileItemLink_wrapper > a,
div.sharepoint_fileItemSubdir > div.sharepoint_fileItemSubdir_item_wrapper > a {
	position: absolute;
	left: 25px;
	top: 2px;
}
div.sharepoint_fileItemSubdir > div.sharepoint_fileItemSubdir_item_wrapper > a.leftPanel {
	left: 45px;
}
div.sharepoint_fileItemSubdir.baseFolder > div.sharepoint_fileItemSubdir_item_wrapper > a.leftPanel {
	left: 30px;
}

div.sharepoint_fileItemLink_wrapper:hover,
div.sharepoint_fileItemSubdir > .sharepoint_fileItemSubdir_item_wrapper:hover {
	cursor: pointer;
}

/*table.subVersions.selected tr:nth-child(1),*/
div.sharepoint_fileItemLink_wrapper.selected > table tr:nth-child(1)
, div.sharepoint_fileItemSubdir > .sharepoint_fileItemSubdir_item_wrapper.selected {
	background-color: antiquewhite;
}


/* start: Drag and drop multiple files */
/* items grabbed state */
[aria-grabbed="true"] > div:nth-child(1), [aria-grabbed="true"]:hover > div:nth-child(1) {
    background:antiquewhite;
}

tr[aria-grabbed="true"], tr[aria-grabbed="true"]:hover,
tr.odd[aria-grabbed="true"], tr.odd[aria-grabbed="true"]:hover,
table.dataTable.hover tbody tr[aria-grabbed="true"], table.dataTable.hover tbody tr[aria-grabbed="true"]:hover{
    background:antiquewhite !important;
}

.sharepoint_fileItemLink_wrapper[aria-grabbed="true"] {
    background:antiquewhite;
}
/* sendtart: Drag and drop multiple files */

/*
table.latestVersion tr:hover
,table.subVersions tr:hover {
	background-color: cornsilk;
}
*/


div.sharepoint_fileItemLink_wrapper > img,
div.sharepoint_fileItemSubdir_item_wrapper > img {
	height: 20px;
}

.editable {
	border 	: 1px solid #0fbd18;
	box-shadow: inset 0 0 10px #555;
	background: #f2f2f2;
	background: #fff;
	padding	: 5px;
	margin-top: -5px;
	z-index	: 1;

}


i.fas.chevron-icon.fa-chevron-right { margin-right: 3px; }
i.fas.chevron-icon.fa-chevron-down 	{ margin-right: 4px; }

/*----------*/
/* folders  */
/*----------*/

#document_content .fas.chevron-icon{
	font-size: 1.1em;
	color: #888;
	visibility: visible;
}
#document_content .sharepoint_fileItemSubdir:hover .fas.chevron-icon{
	visibility: visible;
}

#document_content .fas.chevron-icon.hide{
	visibility: hidden !important;
}

#document_content .fas.folder-icon {
	font-size: 1.3em;
	color: #F9D27D;
}

/*-------------*/
/* drag & drop */
/*-------------*/
.dragHover
{
	border : 1px solid lightblue;
	background-color: #ccc !important;
}

/*-------------*/
/* highlighter */
/*-------------*/

div.baseFolder.sharepoint_fileItemSubdir {
	position: relative;
}


#doc-selected-highlighter {
	position: absolute;
	top: 0px;
	height: 18px;
	/*background-color: rgba(250,235,215,.5);*/
	background-color: antiquewhite;
	display: none;
	z-index: 30;
}

/*---------------------------------------------------*/
/* drag & drop from local machine to sharepoint icon */
/*---------------------------------------------------*/
.sharepoint-drop-effect {
	position: relative;
}
.sharepoint-drop-mask {
	opacity: 0;
}
.sharepoint-drop-effect .sharepoint-drop-mask {
	position: absolute;
	top: 0;
	bottom: 0;
	left:0;
	right: 10px;
	border: 2px dashed #028AF4;

	opacity: 0;
	overflow: visible;
	box-sizing: border-box;
	transition: all 0.4s ease-in-out;
}
.sharepoint-drop-effect div.info {
	position: relative;
	top: 6px;
	left: 120px;
	/* Center the link */
	opacity: 0;
	color: #fff;
	transition: opacity 0.5s 0s ease-in-out;

}
/* - done by dropzone
.sharepoint-drop-effect:hover .sharepoint-drop-mask {
	opacity: 1;
}
.sharepoint-drop-effect:hover div.info {
	opacity: 1;
	transition-delay: 0.3s;
}
*/
.sharepoint-drop-effect .sharepoint-drop-mask {
	opacity: 0;
	overflow: visible;
	box-sizing: border-box;
	background: rgba(2,138,244,.5);
	transition: all 0.4s ease-in-out;
}

a.file-item-link.leftPanel{
    width:calc(100% - 45px);
    height:auto;
}

.rightPanelFolderDisplayChild{
    width:100%;
}

.rightPanelFolderDisplayChild th:nth-of-type(1){
    width:21px;
}

/* hide sorting icon */
.rightPanelFolderDisplayChild th:nth-of-type(1):after{
    content: "" !important;
}

table.dataTable.compact.rightPanelFolderDisplayChild tbody th, table.dataTable.compact.rightPanelFolderDisplayChild tbody td {
    padding: 0px;
    vertical-align: middle;
}

.item-icon{
    height:20px;
}

.directory_content table.dataTable.no-footer{
    border-bottom: none;
}

div.sharepoint_fileItemLink_wrapper:nth-child(even){
	background:rgb(249 249 249);
}

/* Right-panel file table: prevent long Subject/Comments values from forcing horizontal scroll.
   table-layout:fixed + width:100% caps total table width to the container; metadata cells
   wrap on long content; date/size stay on one line (their widths are set inline in the markup).
   Selectors include extra classes (.compact / .dataTable) to outrank the theme rule
   #document_content table.folder_documents_wrapper td which sets white-space:nowrap on every
   nested td. */
#rightPanelFolderDisplay table.rightPanelFolderDisplayChild.dataTable {
	table-layout: fixed;
	width: 100%;
}
#rightPanelFolderDisplay table.compact.rightPanelFolderDisplayChild td,
#rightPanelFolderDisplay table.compact.rightPanelFolderDisplayChild th {
	white-space: normal;
	overflow: visible;
	overflow-wrap: anywhere;
	word-break: break-word;
	vertical-align: top;
}
#rightPanelFolderDisplay table.compact.rightPanelFolderDisplayChild td[align="right"] {
	white-space: nowrap;
	/* Clip rather than spill when a resizable column is dragged narrower than its
	   (non-wrapping) Size/Date content, so columns can't visually overlap. */
	overflow: hidden;
	text-overflow: ellipsis;
}

/* --- Drag-resizable columns (per-tenant DOCUMENT_EXPLORER_RESIZABLE_COLUMNS) ---
   colResizable adds a .JCLRgrips overlay with one .JCLRgrip per resizable column
   boundary, each wrapping our gripInnerHtml (<div class="grip">). Scoped to
   #rightPanelFolderDisplay so it never affects the left/right panel-splitter grips
   that live in #document_content. */
#rightPanelFolderDisplay .JCLRgrip {
	z-index: 88;
}
#rightPanelFolderDisplay .grip {
	width: 8px;
	height: 100%;
	min-height: 18px;
	margin-left: -4px;
	cursor: col-resize;
	border-right: 1px solid transparent;
}
#rightPanelFolderDisplay .grip:hover,
#rightPanelFolderDisplay .JCLRgrip.dragging .grip {
	border-right-color: #888;
}