
/* Version 0.5.1 */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	overflow: hidden;
	scrollbar-width: thin;
	/*scrollbar-gutter: stable both-edges;*/
}

input, select {
	padding: 0 0.4rem 0 0.4rem;
}

div:focus {
	outline: none;
}

select {
	background-color: #ffffff;
	border-radius: 2px;
	border: 1px solid #8f8f9d;
}

.notransition {
	-webkit-transition: none !important;
	-moz-transition: none !important;
	-o-transition: none !important;
	transition: none !important;
	/*transition: visibility 0s, opacity 500ms linear !important;*/
}

.trans-opacity {
	-webkit-transition: opacity 0.5s ease-in-out;
	-moz-transition: opacity 0.5s ease-in-out;
	-o-transition: opacity 0.5s ease-in-out;
	transition: opacity 0.5s ease-in-out;
}

.trans-opacity-form-move {
	-webkit-transition: opacity 0.5s ease-in-out, top 0.2s ease, left 0.2s ease;
	-moz-transition: opacity 0.5s ease-in-out, top 0.2s ease, left 0.2s ease;
	-o-transition: opacity 0.5s ease-in-out, top 0.2s ease, left 0.2s ease;
	transition: opacity 0.5s ease-in-out, top 0.2s ease, left 0.2s ease;
}

.animated {
	--angle: 0deg;
	/* background-image: linear-gradient(var(--angle), #ff00f0, #0050ff) !important; */
	background: linear-gradient(var(--angle), #ff0922, #0e0e0e) !important;
	animation: 10s rotate linear infinite;
}

@keyframes rotate {
    to {
        --angle: 360deg;
    }
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.alLeft {
	left: 0px;
	top: 0px;
	bottom: 0px;
}

.alRight {
	right: 0px;
	top: 0px;
	bottom: 0px;
}

.alTop {
	right: 0px;
	top: 0px;
	left: 0px;
	width: 100%; /* for inline-block elements */
}

.alBottom {
	right: 0px;
	bottom: 0px;
	left: 0px;
	width: 100%; /* for inline-block elements */
}

.alClient {
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	width: 100%; /* for inline-block elements */
}

.bsNone > .FormContent {
	top: 0px;
	left: 0px;
	bottom: 0px;
	width: 100%;
}

.Splitter.alLeft, .Splitter.alRight {
	cursor: ew-resize;
}

.Splitter.alTop, .Splitter.alBottom {
	cursor: ns-resize;
}

/* Just for select, option */
select:required:invalid {
	/* color: gray; */
}
option[value=""][disabled] {
	display: none;
}

option {
	color: black;
}

.PageControl {
	display: flex;
  flex-direction: column;
	-padding: 5px;
	overflow: hidden;
	border: 1px solid gray;
}

.PageControl-LeftTabs {
	flex-direction: row;
}

.PageControl-RightTabs {
	flex-direction: row-reverse;
}

.PageControl-BottomTabs {
	flex-direction: column-reverse;
}

.PageControlButtons {
	position: relative;
	display: flex;
  flex-direction: row;
	overflow-x: clip;
	gap: 5px;
	padding: 5px;
	border-bottom: 1px solid gray;
	flex-shrink: 0;
	overflow: auto;
	scrollbar-width: thin;
}

.PageControl-LeftTabs .PageControlButtons {
	flex-direction: column;
	border: initial;
	border-right: 1px solid gray;
	overflow-x: hidden;
}

.PageControl-RightTabs .PageControlButtons {
	flex-direction: column;
	border: initial;
	border-left: 1px solid gray;
	overflow-x: hidden;
}

.PageControl-BottomTabs .PageControlButtons {
	flex-direction: row;
	border: initial;
	border-top: 1px solid gray;
}

.TabSheetButton {
  padding: 2px;
	transition: transform 250ms ease-in-out;
	display: flex;
	white-space: nowrap;
	padding: 0px 10px 0px 10px;
}

.TabSheetButtonText {
}

.TabSheetButtonClose {
	display: none;
	margin-left: 4px;
}

.TabSheetButtonCloseVisible {
	display: inline-block;
	opacity: .5;
}

.TabSheetButtonCloseEnabled {
	opacity: 1;
	cursor: pointer;
}

.TabSheetButtonClose::before {
	content: "⊗";
}

.TabSheetButtonActive {
	box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.5);
}

.TabSheet {
	position: relative;
	/*
	height: calc( 100% - 10px );
  width: calc( 100% - 10px );
	*/
  overflow: auto;
	width: 100%;
	height: 100%;
	scrollbar-width: thin;
	scrollbar-gutter: stable;
}

.ControlsAttached input {
	border-right: none;
	border-radius: 2px 0 0 2px;
}

.ControlsAttached button {
	border-radius: 0 2px 2px 0;
}

.hidden {
	display: none;
}
