/************* Panel with title bar ************/
.panel-base {
	pointer-events: none;
}

.panel-base:focus {
	outline: 0;
}

.panel-titlebar {
	width: 100%;
	overflow: hidden;
	height: 25px;
	pointer-events: auto;
}

.panel-titlebar-icon {
	height: 16px;
	margin-right: 3px;
}

.panel-titlebar-text {
	float: left;
	padding-left: 10px;
	padding-top: 5px;
	text-overflow: ellipsis;
	overflow: hidden;
	width: calc(100% - 30px);
	white-space: nowrap;
}

.panel-titlebar-text > span {
	vertical-align: top;
}

.panel-titlebar-button-close {
	display: flex;
    justify-content: flex-end;
    align-items: center;
	width: 25px;
    height: 25px;
    position: absolute;
    right: 0;
    top: 0;
}

.panel-titlebar-button-close::after {
	float: right;
	cursor: pointer;
	padding-right: 8px;
	content: 'x';
	font-weight: normal;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	display: flex;
	height: 100%;
	align-items: center;
}

.panel-titlebar-button-close:hover {
	color: black;
}

.panel-content {
	width: 100%;
	overflow: hidden;
}

.panel-content * {
	/* margin: 0px; */
}

.panel-content-wrapper {
	width: 100%;
	height: 100%;
	position: relative;
}

.panel-grayout {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgb(0 0 0 / 50%);
	z-index: 10;
	pointer-events: all;
}

.panel-has-changes {
    font-style: italic;
}

.panel-has-changes::before {
    content: '* ';
}

/***************** Floating dialog box ****************/

.dialog-floating {
	position: absolute;
}

.dialog-floating:focus {
	outline: 0;
}

/************ Resize decorator ************/

.resize-handle {
	position: absolute;
	width: 6px;
	height: 6px;
	z-index: 10;
}

.resize-handle-corner {
	position: absolute;
	width: 12px;
	height: 12px;
	z-index: 10;
}

.resize-handle-e {
	cursor: e-resize;
}

.resize-handle-w {
	cursor: w-resize;
}

.resize-handle-s {
	cursor: s-resize;
}

.resize-handle-n {
	cursor: n-resize;
}

.resize-handle-ne {
	cursor: ne-resize;
}

.resize-handle-nw {
	cursor: nw-resize;
}

.resize-handle-se {
	cursor: se-resize;
}

.resize-handle-sw {
	cursor: sw-resize;
}

/******************* Dock Manager ********************/

.dock-container {
	position: relative;
}

.dock-container-fill {}

/******************* Document Manager ********************/

.document-manager {}

/******************* Dock Wheel ********************/

.dock-wheel-base {
	position: absolute;
}

.dock-wheel-item {
	position: absolute;
	width: 32px;
	height: 32px;
}

.dock-wheel-fill {
	margin-left: -16px;
	margin-top: -16px;
}

.dock-wheel-left {
	margin-left: -48px;
	margin-top: -16px;
}

.dock-wheel-right {
	margin-left: 16px;
	margin-top: -16px;
}

.dock-wheel-top {
	margin-left: -16px;
	margin-top: -48px;
}

.dock-wheel-down {
	margin-left: -16px;
	margin-top: 16px;
}

.dock-wheel-panel-preview {
	position: absolute;
	background-color: rgba(128, 128, 255, 0.5);
}

.dock-wheel-fill-icon {
	background: url(../images/dock_fill.png) 0 0;
}

.dock-wheel-left-icon {
	background: url(../images/dock_left.png) 0 0;
}

.dock-wheel-right-icon {
	background: url(../images/dock_right.png) 0 0;
}

.dock-wheel-top-icon {
	background: url(../images/dock_top.png) 0 0;
}

.dock-wheel-down-icon {
	background: url(../images/dock_bottom.png) 0 0;
}

.dock-wheel-fill-icon-hover {
	background: url(../images/dock_fill_sel.png) 0 0;
}

.dock-wheel-left-icon-hover {
	background: url(../images/dock_left_sel.png) 0 0;
}

.dock-wheel-right-icon-hover {
	background: url(../images/dock_right_sel.png) 0 0;
}

.dock-wheel-top-icon-hover {
	background: url(../images/dock_top_sel.png) 0 0;
}

.dock-wheel-down-icon-hover {
	background: url(../images/dock_bottom_sel.png) 0 0;
}

/**************************** Splitter *********************************/

.splitter-container-horizontal {
	float: left;
	position: relative;
	pointer-events: none;
}

.splitter-container-vertical {
	position: relative;
	pointer-events: none;
}

.splitbar-horizontal {
	width: 100%;
	height: 5px;
	cursor: n-resize;
	position: relative;
	pointer-events: auto;
}

.splitbar-vertical {
	width: 5px;
	height: 100%;
	float: left;
	cursor: e-resize;
	position: relative;
	pointer-events: auto;
}

.splitbar-horizontal-ghoust {
	width: 100%;
	height: 5px;
	cursor: n-resize;
	position: absolute;
}

.splitbar-vertical-ghoust {
	width: 5px;
	height: 100%;
	position: absolute;
	cursor: e-resize;
}

/*************************** Tab Host ********************************/

.dockspan-tab-host {
	display: inline-block;
	position: absolute;
}

.dockspan-tab-content {
	position: relative;
}

.dockspan-tab-content:focus {
	outline: 0;
}

.dockspan-tab-content * {}

.dockspan-tab-handle {
	position: relative;
	height: 22px;
	float: left;
	overflow: hidden;
	cursor: pointer;
	padding-right: 16px;
}

.dockspan-tab-handle:hover {
	cursor: pointer;
}

.dockspan-tab-handle-selected {}

.dockspan-tab-handle-text {
	margin-top: 3px;
	margin-left: 6px;
	margin-right: 6px;
	white-space: nowrap;
	overflow: hidden;
	float: left;
	text-overflow: ellipsis;
	width: calc(100% - 3px);
	display: block;
}

.dockspan-tab-handle-text > span {
	vertical-align: top;
}

.dockspan-tab-handle-close-button {}

.dockspan-tab-handle-close-button::after {
	margin-right: 5px;
	float: right;
	position: absolute;
	right: 0;
	content: 'x';
	font-weight: normal;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	cursor: pointer;
	display: flex;
	height: 100%;
	align-items: center;
}

.dockspan-tab-handle-close-button:hover {
	color: black;
}

.dockspan-tab-handle-list-container {
	height: 22px;
	overflow: hidden;
	display: none;
	pointer-events: auto;
}

.dockspan-tab-handle-list-container-visible {
	display: flex;
}

.dockspan-tab-handle-content-seperator {
	height: 4px;
	display: none;
}

.dockspan-tab-handle-content-seperator-visible {
	display: block;
}

.dockspan-tab-handle-content-seperator-selected {}

.dockspab-tab-handle-context-menu {
	position: absolute;
	z-index: 10000000;
	background-color: white;
	border: white;
	border: black solid 2px;
	padding: 5px;
}

.dockspab-tab-handle-context-menu>div {
	cursor: pointer;
	padding: 2px;
}

.dockspab-tab-handle-context-menu>div:hover {
	background-color: gray;
	cursor: pointer;
	padding: 2px;
}

/*************************** Text Selection **************************/

.disable-selection {
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	cursor: default;
}