/* Please read the readme file, when editing or creating a new styles file. */

/* --- NORMAL --- */

.STC_Panel_Normal
{
    box-sizing: border-box;
	background: var(--CONTENT-PANEL-NORMAL-BG-COLOR);
	color: var(--CONTENT-PANEL-NORMAL-FG-COLOR);
	
    margin-left: var(--CONTENT-PANEL-NORMAL-MARGIN-L);
	margin-top: var(--CONTENT-PANEL-NORMAL-MARGIN-T);
	margin-right: var(--CONTENT-PANEL-NORMAL-MARGIN-R);
	margin-bottom: var(--CONTENT-PANEL-NORMAL-MARGIN-B);
	
	border-left: var(--CONTENT-PANEL-NORMAL-BORDER-L);
    border-top: var(--CONTENT-PANEL-NORMAL-BORDER-T);
    border-right: var(--CONTENT-PANEL-NORMAL-BORDER-R);
    border-bottom: var(--CONTENT-PANEL-NORMAL-BORDER-B);
	
	border-top-left-radius: var(--CONTENT-PANEL-NORMAL-BORDER-TL-RADIUS);
	border-top-right-radius: var(--CONTENT-PANEL-NORMAL-BORDER-TR-RADIUS);
	border-bottom-right-radius: var(--CONTENT-PANEL-NORMAL-BORDER-BR-RADIUS);
	border-bottom-left-radius: var(--CONTENT-PANEL-NORMAL-BORDER-BL-RADIUS);
	
	padding-left: var(--CONTENT-PANEL-NORMAL-PADDING-L);
	padding-top: var(--CONTENT-PANEL-NORMAL-PADDING-T);
	padding-right: var(--CONTENT-PANEL-NORMAL-PADDING-R);
	padding-bottom: var(--CONTENT-PANEL-NORMAL-PADDING-B);
}

/* Right-aligned panel-scoped commands (ArkPanel::HeaderCommands); clicks here never toggle the panel. */
.STC_Panel_HeaderCommands
{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	align-self: center;
	flex: 0 0 auto;
	cursor: default;
}

/* Hosted editors (e.g. ArkFinder) align to the command row: no form spacing, no extra header height. */
.STC_Panel_HeaderCommands > .STC_FieldEditor
{
	margin: 0;
	padding: 0;
}

.STC_Panel_HeaderCommands .STC_Finder_Magnifier
{
	display: inline-flex;
	align-items: center;
	margin: 0 8px 0 0;
}

/* "|" between header command groups (ArkPanel::AddHeaderCommandGroup). */
.STC_Panel_HeaderCommands > .STC_Panel_HeaderSeparator
{
	display: inline-block;
	align-self: center;
	width: 0;
	height: 1.4em;
	margin: 0 4px;
	border-left: 1px solid var(--CONTENT-PANEL-NORMAL-FG-COLOR);
	opacity: .45;
}

.STC_Panel_Normal_Title_Area
{
	box-sizing: border-box;
	background: var(--CONTENT-PANEL-NORMAL-TITLE-AREA-BG-COLOR);
	color: var(--CONTENT-PANEL-NORMAL-FG-COLOR);
	
    margin-left: var(--CONTENT-PANEL-NORMAL-TITLE-AREA-MARGIN-L);
	margin-top: var(--CONTENT-PANEL-NORMAL-TITLE-AREA-MARGIN-T);
	margin-right: var(--CONTENT-PANEL-NORMAL-TITLE-AREA-MARGIN-R);
	margin-bottom: var(--CONTENT-PANEL-NORMAL-TITLE-AREA-MARGIN-B);
	
	border-left: var(--CONTENT-PANEL-NORMAL-TITLE-AREA-BORDER-L);
    border-top: var(--CONTENT-PANEL-NORMAL-TITLE-AREA-BORDER-T);
    border-right: var(--CONTENT-PANEL-NORMAL-TITLE-AREA-BORDER-R);
    border-bottom: var(--CONTENT-PANEL-NORMAL-TITLE-AREA-BORDER-B);
	
	border-top-left-radius: var(--CONTENT-PANEL-NORMAL-TITLE-AREA-BORDER-TL-RADIUS);
	border-top-right-radius: var(--CONTENT-PANEL-NORMAL-TITLE-AREA-BORDER-TR-RADIUS);
	border-bottom-right-radius: var(--CONTENT-PANEL-NORMAL-TITLE-AREA-BORDER-BR-RADIUS);
	border-bottom-left-radius: var(--CONTENT-PANEL-NORMAL-TITLE-AREA-BORDER-BL-RADIUS);
	
	padding-left: var(--CONTENT-PANEL-NORMAL-TITLE-AREA-PADDING-L);
	padding-top: var(--CONTENT-PANEL-NORMAL-TITLE-AREA-PADDING-T);
	padding-right: var(--CONTENT-PANEL-NORMAL-TITLE-AREA-PADDING-R);
	padding-bottom: var(--CONTENT-PANEL-NORMAL-TITLE-AREA-PADDING-B);

	flex-flow: row !important;
	align-items: baseline !important;
}

.STC_Panel_Normal_Title_Label
{
	box-sizing: border-box;
	
	background-color: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-BG-COLOR);
	color: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-FG-COLOR);

	text-align: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-TEXT-ALIGN);
	
	font-family: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-FONT-FAMILY);
    src: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-FONT-SRC);
    font-weight: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-FONT-WEIGHT);
    font-style: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-FONT-STYLE);
	font-size: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-FONT-SIZE);
	text-transform: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-FONT-TRANSFORMATION);
	letter-spacing: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-FONT-LETTER-SPACING);
	line-height: normal;

	margin-left: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-MARGIN-L);
	margin-top: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-MARGIN-T);
	margin-right: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-MARGIN-R);
	margin-bottom: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-MARGIN-B);
	
	border-left: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-BORDER-L);
    border-top: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-BORDER-T);
    border-right: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-BORDER-R);
    border-bottom: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-BORDER-B);
	
	border-top-left-radius: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-BORDER-TL-RADIUS);
	border-top-right-radius: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-BORDER-TR-RADIUS);
	border-bottom-right-radius: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-BORDER-BR-RADIUS);
	border-bottom-left-radius: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-BORDER-BL-RADIUS);
	
	padding-left: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-PADDING-L);
	padding-top: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-PADDING-T);
	padding-right: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-PADDING-R);
	padding-bottom: var(--CONTENT-PANEL-NORMAL-TITLE-LABEL-PADDING-B);
}

/* --- COLLAPSE --- */

.STC_Panel_Collapse
{
    box-sizing: border-box;
	background: var(--CONTENT-PANEL-COLLAPSE-BG-COLOR);
	color: var(--CONTENT-PANEL-COLLAPSE-FG-COLOR);
	
    margin-left: var(--CONTENT-PANEL-COLLAPSE-MARGIN-L);
	margin-top: var(--CONTENT-PANEL-COLLAPSE-MARGIN-T);
	margin-right: var(--CONTENT-PANEL-COLLAPSE-MARGIN-R);
	margin-bottom: var(--CONTENT-PANEL-COLLAPSE-MARGIN-B);
	
	border-left: var(--CONTENT-PANEL-COLLAPSE-BORDER-L);
    border-top: var(--CONTENT-PANEL-COLLAPSE-BORDER-T);
    border-right: var(--CONTENT-PANEL-COLLAPSE-BORDER-R);
    border-bottom: var(--CONTENT-PANEL-COLLAPSE-BORDER-B);
	
	border-top-left-radius: var(--CONTENT-PANEL-COLLAPSE-BORDER-TL-RADIUS);
	border-top-right-radius: var(--CONTENT-PANEL-COLLAPSE-BORDER-TR-RADIUS);
	border-bottom-right-radius: var(--CONTENT-PANEL-COLLAPSE-BORDER-BR-RADIUS);
	border-bottom-left-radius: var(--CONTENT-PANEL-COLLAPSE-BORDER-BL-RADIUS);
	
	padding-left: var(--CONTENT-PANEL-COLLAPSE-PADDING-L);
	padding-top: var(--CONTENT-PANEL-COLLAPSE-PADDING-T);
	padding-right: var(--CONTENT-PANEL-COLLAPSE-PADDING-R);
	padding-bottom: var(--CONTENT-PANEL-COLLAPSE-PADDING-B);
}

.STC_Panel_Collapse_Title_Area
{
	box-sizing: border-box;
	background: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-BG-COLOR);
	color: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-FG-COLOR);
	
    margin-left: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-MARGIN-L);
	margin-top: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-MARGIN-T);
	margin-right: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-MARGIN-R);
	margin-bottom: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-MARGIN-B);
	
	border-left: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-BORDER-L);
    border-top: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-BORDER-T);
    border-right: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-BORDER-R);
    border-bottom: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-BORDER-B);
	
	border-top-left-radius: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-BORDER-TL-RADIUS);
	border-top-right-radius: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-BORDER-TR-RADIUS);
	border-bottom-right-radius: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-BORDER-BR-RADIUS);
	border-bottom-left-radius: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-BORDER-BL-RADIUS);
	
	padding-left: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-PADDING-L);
	padding-top: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-PADDING-T);
	padding-right: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-PADDING-R);
	padding-bottom: var(--CONTENT-PANEL-COLLAPSE-TITLE-AREA-PADDING-B);

	flex-flow: row !important;
	align-items: baseline !important;
}

.STC_Panel_Collapse_Title_Label
{
	box-sizing: border-box;
	
	background-color: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-BG-COLOR);
	color: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-FG-COLOR);

	text-align: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-TEXT-ALIGN);
	
	font-family: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-FONT-FAMILY);
    src: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-FONT-SRC);
    font-weight: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-FONT-WEIGHT);
    font-style: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-FONT-STYLE);
	font-size: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-FONT-SIZE);
	text-transform: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-FONT-TRANSFORMATION);
	letter-spacing: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-FONT-LETTER-SPACING);
	line-height: normal;

	margin-left: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-MARGIN-L);
	margin-top: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-MARGIN-T);
	margin-right: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-MARGIN-R);
	margin-bottom: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-MARGIN-B);
	
	border-left: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-BORDER-L);
    border-top: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-BORDER-T);
    border-right: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-BORDER-R);
    border-bottom: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-BORDER-B);
	
	border-top-left-radius: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-BORDER-TL-RADIUS);
	border-top-right-radius: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-BORDER-TR-RADIUS);
	border-bottom-right-radius: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-BORDER-BR-RADIUS);
	border-bottom-left-radius: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-BORDER-BL-RADIUS);
	
	padding-left: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-PADDING-L);
	padding-top: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-PADDING-T);
	padding-right: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-PADDING-R);
	padding-bottom: var(--CONTENT-PANEL-COLLAPSE-TITLE-LABEL-PADDING-B);
}


@keyframes delayedShow {
	from
	{
		opacity: 0;
		visibility: hidden;
	}
	to
	{
		opacity: 1;
		visibility: visible;
	}
}

@keyframes delayedHide {
	from
	{
		opacity: 1;
		visibility: visible;
	}
	to
	{
		opacity: 0;
		visibility: hidden;
	}
}

/*
.delayedShow
{
	visibility: hidden;
	animation: 3s linear 2.3s forwards delayedShow ;
}

.delayedHide
{
	visibility: visible;
	animation: 3s linear 2.3s forwards delayedShow ;
}
*/