@import "../../../../../../../../../../../../CSS/Commons/palette.css";
@import "../../../../../../../../../../../../CSS/Commons/dimension.css";
@import "../../../../../../../../../../../../CSS/Commons/messagebox.css";

.display-none {
	display: none;
}

.row-direction {
	flex-direction: row;
}

.column-direction {
	flex-direction: column;
}

.column-reverse-direction {
	flex-direction: column-reverse;
}

.justify-content-center {
	justify-content: center;
}

.justify-content-space-evenly {
	justify-content: space-evenly;
}

.justify-content-space-between {
	justify-content: space-between;
}

.justify-content-space-around {
	justify-content: space-around;
}

.justify-content-flex-end {
	justify-content: flex-end;
}

.justify-content-flex-start {
	justify-content: flex-start;
}

.align-items-center {
	align-items: center;
}

.align-items-flex-start {
	align-items: flex-start;
}

.align-items-flex-end {
	align-items: flex-end;
}

.align-items-baseline {
	align-items: baseline;
}

.row-left-element {
	float: left;
	clear: both;
	flex-direction: row;
	align-items: center;
}

.header-toolbar {
	height: var(--resgui-2row);
	width: var(--header-width-toolbar);
	background-color: var(--main-gb-dark-color);
	transition: margin 0.2s;
	margin-top: 0;
	animation-name: header_toolbar_entry_anime;
	animation-duration: 0.3s;
	animation-timing-function: ease-out;
}

@keyframes header_toolbar_entry_anime {
	0% {
		margin-top: calc(var(--resgui-2row) * -1);
	}

	100% {
		margin-top: 0;
	}
}

.icon-image,
.icon-image-button {
	padding: 5px;
	height: var(--resgui-icon-height);
	width: auto;
	border-radius:4px;
}

.icon-image-selected,
.icon-image-button-selected {
	padding: 5px;
	height: var(--resgui-icon-height);
	width: auto;
	border-radius: 4px;
	background: var(--blue);
	border: solid var(--decor-border-light-color) 1px;
	cursor: pointer;
}

.icon-image-halfcolumnbutton {
	padding: 2px;
	height: var(--resgui-icon-16px);
	width: auto;

}

.icon-image-button:hover,
.icon-image-halfcolumnbutton:hover {
	cursor: pointer;
	background: var(--icon-image-hover);
	transition: background-color 0.3s linear;
	border-radius: 4px;
}



.simple-image-h {
	margin: 1px;
	height: calc(100% - 2px);
	width: auto;
	object-fit: contain;
}

.simple-image-rounded-h {
	margin: 1px;
	height: calc(100% - 2px);
	width: auto;
	object-fit: contain;
	border-radius: 50%;
}

.simple-image-w {
	margin: 1px;
	width: calc(100% - 2px);
	object-fit: contain;

}

.iframe-content {
	position: relative !important;
}

.overflow-x-scroll {
	overflow-x: scroll;
}

.overflow-y-scroll {
	overflow-y: scroll;
}

.overflow-x-auto {
	overflow-x: auto;
}

.overflow-y-auto {
	overflow-y: auto;
}

.overflow-x-hidden {
	overflow-x: hidden;
}

.overflow-y-hidden {
	overflow-y: hidden;
}

.overflow-auto {
	overflow: auto;
}

.overflow-hidden {
	overflow: hidden;
}

.button-application {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	float: left;
	clear: both;

	height: var(--resgui-button-height);
	overflow: hidden;
	text-overflow: ellipsis;
	border: none;
	border: 1px solid var(--decor-border-light-color);
	min-width: var(--resgui-2column);
	padding-left: var(--resgui-1vw);
	padding-right: var(--resgui-1vw);

	color: var(--font-light);
	background: transparent;
	cursor: pointer;
	text-transform: uppercase;
	border-radius: 4px;
	letter-spacing: 1px;
	font-size: var(--resgui-font-height-s);
	cursor: pointer;
}

.button-application span {
	white-space: nowrap;
	word-break: break-all;
	overflow-wrap: word-wrap;
}

.button-application:hover {
	background: var(--button-application-hover);
	-webkit-transition: background-color 0.3s linear;
	-ms-transition: background-color 0.3s linear;
	transition: background-color 0.3s linear;
}

.button-application img {
	padding-right: 5px;
	height: var(--resgui-icon-height);
	width: auto;
}

.button-icon-image {
	padding-right: 5px;
	height: var(--resgui-icon-height);
	width: auto;
}

.prime-label {
	align-items: center;
	background: var(--label-background);
	border-radius: 4px;
	padding-left: var(--resgui-1vw);
	padding-right: var(--resgui-1vw);
	padding-top: var(--resgui-05vh);
	padding-bottom: var(--resgui-05vh);

}

.row-list {
	background: var(--row-list-background);
	cursor: pointer;
}

.row-list:hover {
	background: var(--row-list-background-hover);
	transition: background-color 0.3s linear;
}

.row-list-selected {
	background: var(--row-list-selected-background) !important;
}

.checkboxPreserved-off {
	display: flex;
	height: var(--resgui-icon-height);
	width: var(--resgui-icon-height);
	/*margin-left: var(--resgui-quartercolumn);
	margin-right: var(--resgui-quartercolumn);*/
	margin-left: var(--resgui-1vw);
	margin-right: var(--resgui-1vw);
	background-color: var(--input-text-background);
	/*background-color: var(--checkbox-background-unactive);*/
	border: 1px solid var(--decor-border-light-color);
	border-radius: 4px;
}

.checkboxPreserved-ReadOnly-off {
	display: flex;
	height: var(--resgui-icon-height);
	width: var(--resgui-icon-height);
	/*margin-left: var(--resgui-quartercolumn);
	margin-right: var(--resgui-quartercolumn);*/
	margin-left: var(--resgui-1vw);
	margin-right: var(--resgui-1vw);
	background-color: var(--group-row-background);
	/*background-color: var(--checkbox-background-unactive);*/
	border: 1px solid var(--decor-border-light-color);
	border-radius: 4px;
}

.checkboxPreserved-off:hover {
	background-color: var(--input-text-background-hover);
	-webkit-transition: background-color 0.3s linear;
	-ms-transition: background-color 0.3s linear;
	transition: background-color 0.3s linear
}

.checkboxPreserved-on {
	display: flex;
	background-color: var(--checkbox-background-active);
	height: var(--resgui-icon-height);
	width: var(--resgui-icon-height);
	/*margin-left: var(--resgui-quartercolumn);
	margin-right: var(--resgui-quartercolumn);*/
	margin-left: var(--resgui-1vw);
	margin-right: var(--resgui-1vw);
	border: 1px solid var(--decor-border-light-color);
	border-radius: 4px;
}

.checkboxPreserved-ReadOnly-on {
	display: flex;
	background-color: var(--group-row-background);
	height: var(--resgui-icon-height);
	width: var(--resgui-icon-height);
	/*margin-left: var(--resgui-quartercolumn);
	margin-right: var(--resgui-quartercolumn);*/
	margin-left: var(--resgui-1vw);
	margin-right: var(--resgui-1vw);
	border: 1px solid var(--decor-border-light-color);
	border-radius: 4px;
}

.checkboxPreserved-CheckStyle-on {
	display: flex;
	margin-left: calc((100% - 6px) / 2);
	margin-top: calc((100% - 12px) / 2);
	width: 6px;
	height: 12px;
	border: solid white;
	border-top-width: medium;
	border-right-width: medium;
	border-bottom-width: medium;
	border-left-width: medium;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.checkboxPreserved-CheckStyle-off {
	display: none;
}


.checkbox,
.checkboxReadOnly {
	display: flex;
	width: calc(var(--resgui-input-text-height) * 3);
	height: var(--resgui-input-text-height);
	align-items: center;
	border-radius: 4px;
	margin-left: var(--resgui-1vw);
	margin-right: var(--resgui-1vw);
	border: 1px solid var(--decor-border-light-color);
	cursor: pointer;

}

.checkbox:hover div:first-child {
	background-color: var(--checkbox-background-cursor-hover);
	-webkit-transition: background-color 0.3s linear;
	-ms-transition: background-color 0.3s linear;
	transition: background-color 0.3s linear;
}

.checkboxReadOnly div:first-child,
.checkbox div:first-child {
	display: flex;
	width: calc(var(--resgui-input-text-height) - var(--resgui-1vmin));
	height: calc(var(--resgui-input-text-height) - var(--resgui-1vmin));
	margin-left: var(--resgui-05vmin);
	border: 1px solid var(--checkbox-cursor-border-color);
	border-radius: 4px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	background: var(--checkbox-background-cursor);
}

.checkboxReadOnly div:first-child {
	display: flex;
	width: calc(var(--resgui-input-text-height) - var(--resgui-1vmin));
	height: calc(var(--resgui-input-text-height) - var(--resgui-1vmin));
	margin-left: var(--resgui-05vmin);
	border: 1px solid var(--checkbox-cursor-border-color);
	border-radius: 4px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	background: var(--checkbox-background-cursor-readonly);
}

.checkboxReadOnly-on div:first-child {
	margin-left: calc(100% - var(--resgui-input-text-height));
}

@keyframes checkbox-on-anime {
	from {
		background: var(--checkbox-background-unactive);
	}

	to {
		background: var(--checkbox-background-active);
	}
}

.checkbox-on {

	animation-name: checkbox-on-anime;
	animation-duration: 0.3s;
	animation-timing-function: ease-out;
	animation-fill-mode: forwards;
}

@keyframes checkbox-on-child-anime {
	from {
		margin-left: var(--resgui-05vmin);
	}

	to {
		margin-left: calc(100% - var(--resgui-input-text-height))
	}
}

.checkbox-on div:first-child {
	animation-name: checkbox-on-child-anime;
	animation-duration: 0.3s;
	animation-timing-function: ease-out;
	animation-fill-mode: forwards;
}

@keyframes checkbox-off-anime {
	from {
		background: var(--checkbox-background-active);
	}

	to {
		background: var(--checkbox-background-unactive);
	}
}

.checkbox-off {

	animation-name: checkbox-off-anime;
	animation-duration: 0.3s;
	animation-timing-function: ease-out;
	animation-fill-mode: forwards;
}

@keyframes checkbox-off-child-anime {
	from {
		margin-left: calc(100% - var(--resgui-input-text-height))
	}

	to {
		margin-left: var(--resgui-05vmin);
	}
}

.checkbox-off div:first-child {
	animation-name: checkbox-off-child-anime;
	animation-duration: 0.3s;
	animation-timing-function: ease-out;
	animation-fill-mode: forwards;
}

.checkbox-preserved {
	width: var(--resgui-quartercolumn) !important;
	min-width: var(--resgui-quartercolumn) !important;
	max-width: var(--resgui-quartercolumn) !important;
}

.TreeNodeLevel1 {
	background: var(--treenode-title1);
	cursor: pointer;
}

.TreeNodeLevel1:hover {
	background: var(--row-list-background-hover);
	transition: background-color 0.3s linear;
}

.TreeNodeLevel2 {
	background: var(--treenode-title2);
	cursor: pointer;
}

.TreeNodeLevel2:hover {
	background: var(--row-list-background-hover);
	transition: background-color 0.3s linear;
}

.TreeNodeRow {
	background: var(--treenode-row);
	cursor: pointer;
}

.TreeNodeRow:hover {
	background: var(--row-list-background-hover);
	transition: background-color 0.3s linear;
}

.TreeNodeLevel1NoHover {
	background: var(--treenode-title1);
}

.TreeNodeLevel2NoHover {
	background: var(--treenode-title2);
}

.TreeNodeRowNoHover {
	background: var(--treenode-row);
}


#NotificationContainer {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	position: fixed;
	bottom: 10px;
	right: 10px;
	width: 1px;
}

#CustomBoxMinimizedContainer {
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
	position: fixed;
	/*bottom: 10px;
	left: 10px;*/
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.InternalAnimationPulse{
	animation: InternalAnimationPulse_Animation 2s infinite;
}
@keyframes InternalAnimationPulse_Animation {
	from {

		background-color: var(--red);
	}
	to {background-color: transparent;}
}

.PushUnknownNotificationToMW {
	min-width: var(--resgui-1column);
	max-width: var(--resgui-10column);
	min-height: var(--resgui-1row);
	background-color: var(--font-light);
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-radius: 4px;
	align-items: center;
	margin-top: var(--resgui-quarter-row);
	padding: 0 4px;
	cursor: pointer;
}

.PushUnknownNotificationToMW span {
	color: var(--font-dark);
	max-width: var(--resgui-8column);
	white-space: nowrap;
}