/**
 * Styles for the Notes application frontend.
 *
 * (C) Thomas Weber 2021 tom-vibrant@gmx.de
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */

/**
 * Tree layout ///////////////////////////////////////////////////////////////////
 */
 
 .muuri-item {
	position: absolute;
	width: 100%;
	z-index: 1;
	background-color: white;
}

.muuri-item-content {
	position: relative;
	width: 100%;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 2px;
	padding-bottom: 2px;
	cursor: pointer;
}

.muuri-item.muuri-item-hidden {
	z-index: 0;
}
.muuri-item.muuri-item-releasing {
	z-index: 2;
}
.muuri-item.muuri-item-dragging {
	opacity: 0.5;
	z-index: 3;
}
.muuri-item.muuri-item-dragging .muuri-item-content {
	background: lightblue;
	box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2), 0 6px 12px 0 rgba(0, 0, 0, 0.19);
}
.muuri-item.muuri-item-releasing .muuri-item-content {
	background: lightblue;
	box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2), 0 6px 12px 0 rgba(0, 0, 0, 0.19);
}

.moveInto {
	border: 2px solid grey;
}

.gridSelected {
	background-color: lightblue;
	/*box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2), 0 6px 12px 0 rgba(0, 0, 0, 0.19);*/
	box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.2), 0 2px 12px 0 rgba(0, 0, 0, 0.19);
}

.gridParentSelected {
	z-index: 10;
}

.treeitemcontainer {
	display: -webkit-flex;
	display: flex;
	display: -moz-flex;
	
    white-space: nowrap;
    overflow: hidden;
}

.treeitemtext {
    white-space: nowrap;
    overflow: hidden;
	text-overflow: ellipsis;
    flex: 1 1 auto;
    margin-right: 10px;
}

.treeicon {
	display: block;
	vertical-align: middle;
	cursor: pointer;
	min-width: 40px;
	text-align: center;
	height: 100%;
	padding-left: 10px;
	padding-right: 15px;
	padding-top: 3px;
}

.treeDragHandle {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 20;
	
	display: none;

	width: 100%;
	height: 100%;
	
	background-color: red;
	opacity: 0.3;
}

.doc-label-tree {
	margin-top: 2px;
	margin-left: 2px;
}

.doc-hashtag-tree {
	margin-top: 2px;
	margin-left: 2px;
}

