:root {
	--s2colorBG: #FFFFFF;  /* page background */
	--s2colorBGL: #F0F0F0; /* background light */
	--s2colorBGS: #F6F6F6; /* background active shaded */
	--s2colorBGA: #DDE0FF; /* background active option */
	--s2colorBGH: #F9F9F9; /* background button hover */
	--s2colorBGB: #EEEEEE; /* background button */
	--s2colorBGQ: #0000CC; /* background of a question element */
	--s2colorBGC: #00AA00; /* background of an HTML code element */
	--s2colorBGP: #00AAAA; /* background of a PHP code element */
	--s2colorBGO: #880088; /* background of a PHP code element */
	--s2colorBRM: #CCCCCC; /* border medium */
	--s2colorTX: #000000;  /* text color */
	--s2colorTXL: #FFFFFF; /* light text on dark background */
	--s2colorTXD: #666666; /* decent text */
	--s2colorTXW: #AA3300; /* text for warning */
	--s2colorTXA: #0000CC; /* link text */
	--s2colorTXH: #009900; /* help text */
	--s2colorLN: #BBBBBB;  /* line */
	--s2colorLND: #E0E0E0; /* decent line */
	--s2colorLNC: #666666;   /* clearly visible line */
	--s2colorBGDataMissing: #FFDDDD; /* Background for missing data */
    --s2colorBGDataIncomplete: #FFCCDD; /* Background for incomplete data */
    --s2colorBGDataComplete: #DDFFDD; /* Background for complete date */
}

body.s2display-inverse {
    --s2colorBG: #000000;
    --s2colorBGL: #333333;
    --s2colorBGH: #AAAAAA;
    --s2colorBGS: #666666;
    --s2colorBGA: #6677AA;
    --s2colorBGB: #666666;
    --s2colorBGQ: #0000CC;
    --s2colorBGC: #00AA00;
    --s2colorBGP: #00AAAA;
    --s2colorBGO: #880088;
    --s2colorBRM: #999999;
    --s2colorTX: #FFFFFF;
    --s2colorTXL: #000000;
    --s2colorTXD: #CCCCCC;
    --s2colorTXW: #FF9900;
    --s2colorTXA: #BBBBFF;
    --s2colorTXH: #00CC00;
    --s2colorLN: #999999;
    --s2colorLND: #666666;
    --s2colorBGDataMissing: #660000;
    --s2colorBGDataIncomplete: #666600;
    --s2colorBGDataComplete: #006600;
}
body.s2display-inverse .Operations .op img.link,
body.s2display-inverse #filtersContainer button > img {
	filter: brightness(3);
}

body {
	background-color: var(--s2colorBG);
	color: var(--s2colorTX);
	font-family: arial, verdana, sans-serif;
	margin: 0px; padding: 0px
}

body,
td, th,
textarea,
input,
button,
select { font-size: 13px }

input,
textarea,
select {
	color: var(--s2colorTX);
	background-color: var(--s2colorBG);
	border: 1.6px solid var(--s2colorLND);
	border-color: var(--s2colorLN) var(--s2colorLND) var(--s2colorLND) var(--s2colorLN);
	border-radius: 2px;
}
input[type="submit"],
button,
input::file-selector-button {
	background-color: var(--s2colorBGB);
	color: var(--s2colorTX);
	border: 1.6px solid var(--s2colorLND);
	border-color: var(--s2colorLND) var(--s2colorLN) var(--s2colorLN) var(--s2colorLND);
	border-radius: 2px;
}
button,
input[type="submit"] {
	border-width: 2px;
	border-radius: 3px;
	padding: 0.3em 1em;
}
button:hover,
input[type="submit"]:hover {
	border-color: var(--s2colorLN) var(--s2colorLND) var(--s2colorLND) var(--s2colorLN);
}

body.s2display-inverse input,
body.s2display-inverse textarea,
body.s2display-inverse select {
	border-color: var(--s2colorLND);
}
body.s2display-inverse input[type="submit"],
body.s2display-inversebutton,
body.s2display-inverse input::file-selector-button {
	border-color: var(--s2colorLN) var(--s2colorLND) var(--s2colorLND) var(--s2colorLN);
}
body.s2display-inverse button:hover,
body.s2display-inverse input[type="submit"]:hover {
	border-color: var(--s2colorLND) var(--s2colorLN) var(--s2colorLN) var(--s2colorLND);
}

h1	{ font-size: 16px; font-weight: bold; margin: 1em 0 0.6em 0; }
h2	{ font-size: 14px; font-weight: bold; margin: 2em 0 0.6em 0; }
h2:first-child,
div.tab.active h2:first-child {
	margin-top: 0;
}
div.layout h2:first-child,
h2.nofirst  { margin-top: 2em; }
h3	{ font-size: 13px; margin: 16px 0px 8px 0px; }
p,
div.spacing	{ margin: 0px 0px 8px 0px }
div.separate,
table.separate,
ul.separate { margin-top: 20px }
table.form { border-spacing: 0; }
table.form tr.spacing td { padding: 0 0 16px 0; }

a { text-decoration: underline }
a:link { color:var(--s2colorTXA) }
a:visited { color:var(--s2colorTXA) }
a:active { color:#FF0000 }
a:hover { color:#FF6600 }

td { vertical-align: top }
th { vertical-align: top; text-align: left; font-weight: bold }
img { border: 0px none }
form { margin: 0px }

textarea {
	font-family: arial, verdana, sans-serif;
	resize: vertical /* FireFox 4 */
}
textarea.code {
	font-family: Consolas, "Courier New", monospace;
}
textarea.right-to-left,
input.right-to-left {
	direction: rtl;
}
textarea.no-warp {
	white-space: pre;
}
select {
	font-family: arial, verdana, sans-serif;
}

fieldset { margin: 24px 0px 0px 0px; padding: 0px 8px 8px 8px; border: 2px solid #9999FF; display: block }
fieldset:first-child { margin-top: 0px }
fieldset legend { font-weight: bold; font-size: 14px; margin-top: 0px; }
div.fieldset { margin-top: 16px }

input.s2changed,
textarea.s2changed,
select.s2changed {
	box-shadow: 0 0 3px 2px rgba(255, 128, 0, 0.5);
}
.s2opaque {
	background-color: var(--s2colorBG);
}

dl.S2Controller {
	display: none;
}

table.middle td	{ vertical-align: middle; }
table.nowrap td,
table.nowrap th	{ white-space: nowrap; }
table.shade {
	border-spacing: 2px 0;
}
table.shade tr:nth-child(even) td {
  background-color: var(--s2colorBGS);
}
table.shade.padding td,
table.shade.padding th {
	line-height: 1;
	padding: 4px 5px 3px 3px;
}

th.center,
td.center,
td.center input,
div.center		{ text-align: center }
div.center a.op { float: none; margin-left: auto; margin-right: auto; }
th.right,
td.right,
div.right,
td.right input  { text-align: right }
td.middle		{ vertical-align: middle }
td.bottom		{ vertical-align: bottom }
td.zoomable { font-size: 60%; vertical-align: middle; overflow: hidden }
td.zoomable:hover { font-size: 100%; overflow: visible }
td.zoomable:hover + td { opacity: 0.2 }

div.s2flex {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: stretch;
	align-items: stretch;
	justify-content: space-between;
	flex-wrap: nowrap;
}

div.system {
	font-weight: bold;
	color: #E0B000;
}
div.notice {
	border: 2px solid #00CC00;
	border-radius: 5px;
	padding: 8px 8px 2px 8px;
	margin: 24px 0px
}
div.warning {
	border: 2px solid #FF9900;
	border-radius: 5px;
	padding: 8px 8px 2px 8px;
	margin: 24px 0px;
}
div.warning hr,
body.project div.warning hr {
	border-color: #D07000;
	margin: 1em 0;
}
div.error,
p.error,
input:checked + label.dangerous {
	color: #FF0000;
}
div.warning,
p.warning		{ color: var(--s2colorTXW); }
span.debug		{ color: #FF9900; }
span.error		{ color: #FF0000; }
span.inactive	{ color: #999999; }
span.forbidden  { text-decoration: line-through; }
span.autovalue  { color: #999999; }
.unselectable {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
    -webkit-user-drag: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
    user-drag: none;
}
.undraggable {
	-khtml-user-drag: none;
	-webkit-user-drag: none;
	user-drag: none;
}

/* Border formatting */
.rounded { border-radius: 5px 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px }
.shadow {
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
}

button.rounded {
	border: 1px solid #666666;
	padding: 0.4em 1em;
}
button.rounded:hover {
	background-color: var(--s2colorBGS);
}

/* Error Messages and Notifications */
div.Messages > div { margin: 0.5em 0 }
div.Messages > div:first-child { margin-top: 0 }
div.Messages > div:last-child { margin-bottom: 0 }
div.Messages > div.info,
div.Messages > div.warning { border: 0; padding: 0 }
div.Messages > div.info > ul { margin: 0.5em 0 }

div#infoSymbol {
	display: inline-block;
	background-color: #FF9900;
	border: 1px solid var(--s2colorBG);
	border-radius: 5px;
	margin-left: 1em;
	overflow: hidden;
	font-size: 12px;
	font-weight: bold;
	padding: 1px 4px;
}
div#infoPopUp {
	font-size: 14px; color: var(--s2colorTX);
	width: 400px; position: fixed; z-index: 777;
	top: 120px;
	background-color: var(--s2colorBGDataIncomplete);
	border: 2px solid #FF0000;
	box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8);
	border-radius: 5px; 
}
div#infoPopUp > div.title {
	color: #FFFFFF; background-color: #FF0000; font-weight: bold; font-size: 16px; padding: 2px 5px 3px;
	text-align: center;
}
div#infoClose {
	font-size: 14px;
	background-color: var(--s2colorBGB);
	border-radius: 5px;
	border: 1px solid #AAAAAA;
	width: 80px;
	margin: 1.5em auto 0.5em;
	padding: 0.2em 1em;
	cursor: pointer;
	text-align: center;
}
div.s2inlineMessage {
	display: none;
	font-size: 14px;
	color: var(--s2colorTX);
	width: 400px;
	position: absolute;
	z-index: 777;
	top: 26px;
	left: 2px;
	padding: 0.5em 0.8em;
	background-color: var(--s2colorBGDataIncomplete);
	border: 2px solid #FF0000;
	box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8);
	border-radius: 5px; 
}


/* A box within the content */
div.InfoBox { border: 0.2em solid #CCCCCC; border-radius: 0.4em; padding: 0 !important; margin: 2em 0 }
div.InfoBox.offer { border-color: #00CC00; }
div.InfoBox.warning { border-color: #FF9900; }
div.InfoBox.error { border-color: #FF0000; color: #FF0000; }
div.InfoBox.starter { border-color: #00CC00; border-width: 4px; font-size: 14px; }
div.InfoBox > div.title { font-weight: bold; color: black; background-color: #CCCCCC; padding: 0.2em 1em 0.3em 0.75em; margin: 0 }
div.InfoBox.error > div.title { color: white; background-color: #FF0000; }
div.InfoBox.offer > div.title { color: var(--s2colorBG); background-color: #00CC00; }
div.InfoBox.warning > div.title { color: white; background-color: #FF9900; }
div.InfoBox.starter > div.title { color: var(--s2colorBG); background-color: #00CC00; font-size: 16px; }
div.InfoBox > div { margin: 0.65em 1em 0.65em 0.75em; }



a.command		{ font-weight: bold; text-decoration: none }
a.extlink		{ text-decoration: none }
a.extlink:before	{ content: url(../layout/button.extlink.gif)"\00a0" }
span.code { font-family: Consolas, "Courier New", monospace }
input.warning,
button.warning { font-weight: bold; color: red; border: 1px solid; padding: 3px 10px; border-radius: 3px; }
input.warning:hover,
button.warning:hover { color: white; background-color: red; border: 1px solid var(--s2colorTX); border-radius: 4px; }
input.copy,
input.s2jsSelectOnClick {
	border: 0 none;
	padding: 0;
	background-color: transparent;
}

a.scriptlink	{ text-decoration: none; font-weight: bold; white-space: nowrap }
a.scriptlink:before { content: url(../layout/button.details.png)"\00a0"; }
a.scriptlink:link	{ color: var(--s2colorTX) }
a.scriptlink:hover	{ color: orange }

a.intlink, a.cmdlink { text-decoration: none; font-weight: bold; display: inline-block; }
a.intlink:before { content: url(../layout/button.intlink.gif)"\00a0"; white-space: nowrap; }
a.cmdlink:before { content: url(../layout/button.function.png)"\00a0"; white-space: nowrap; }
a.intlink:link, a.intlink:visited,
a.cmdlink:link, a.cmdlink:visited,
a.addlink:link, a.addlink:visited { color:var(--s2colorTXA) }
a.intlink:active,
a.cmdlink:active,
a.addlink:active { color:#FF0000 }
a.intlink:hover,
a.cmdlink:hover,
a.addlink:hover { color:#FF6600 }
a.addlink { text-decoration: none; font-size: 10px }
a.addlink:before { text-decoration: none; font-size: 10px; content:"+" }

/* LayoutAdmin */
#GlobalBar {
	position: fixed; left: 0; top: 0; height: 30px; right: 0; z-index: 300;
	padding: 3px 0 0 5px; box-sizing: border-box;
	background-color: #FF9900; background:url(../layout/GlobalBar.bg.png);
	font-family: Verdana, Arial, sans-serif; font-size: 16px;
	color: #FFFFFF;
	-webkit-box-shadow: 3px 3px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 3px 3px rgba(0, 0, 0, 0.2);
	box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}
#navigation {
	position: fixed;
	z-index: 10;
	width: 240px;
	left: 0;
	top: 30px;
	bottom: 0;
	overflow: auto;
	background-color: var(--s2colorBG);
	scrollbar-color: var(--s2colorBGL) var(--s2colorBG);
}
#GlobalBar label.op[for="S2NavSwitch"] {
	display: none;
}
/* #body { position: static; z-index: 20; margin-top: 36px; margin-left: 240px; width: 600px; padding: 0 0 60px 0; background-color: var(--s2colorBG); } */
#s2aBody {
	position: absolute; z-index: 5;
	top: 30px; left: 240px; bottom: 0; right: 10px;
	padding: 0;
	background-color: var(--s2colorBG);
}
#s2aContent {
	max-width: 600px;
	margin: 16px 10px 60px 10px;
}
#s2aContent.fullWidth {
	max-width: none;
}


#s2aSeparator {
	position: fixed;
	top: 30px;
	left: 300px;
	width: 10px;
	height: 40px;
	cursor: ew-resize;
	display: none;
}

#GlobalBar a.op,
#GlobalBar label.op {
	display: inline-block;
	cursor: pointer;
	user-select: none;
	width: 1em; height: 1em; padding: 0;
	margin: 0 0.4em;
	text-align: center;
	vertical-align: top;
	text-decoration: none;
	color: white;
	font-weight: bold;
}
#GlobalBar div.op {
	display: inline-block;
	cursor: pointer;
	vertical-align: top;
	padding: 0;
	margin: 0 0.4em;
}
#GlobalBar a.op:link img { width: 22px; height: 22px; }
#GlobalBar a.op:link img.link { display: inline }
#GlobalBar a.op:hover img.link { display: none }
#GlobalBar a.op:link img.hover { display: none }
#GlobalBar a.op:hover img.hover { display: inline }
#GlobalBar div.op.spacing { display: inline-block; }
#GlobalBar a.op img.langSymbol { vertical-align: baseline; }

#GlobalBar img.langSymbol {
	border: 0 none;
	border-radius: 4px;
	outline: 1px solid white;
	position: relative;
	top: -1px;
}

#navigation a {
	text-decoration: none;
	border-radius: 5px;
}
#navigation a.active:link,
#navigation a.active:visited {
	background-color: var(--s2colorBGA);
}

body.project {
	padding: 0;
}
#s2aBody {
	max-width: 100%;
	min-width: 320px;
}

body.project h1 {
	font-size: 15px;
	font-family: Verdana, Arial, sans-serif;
	font-weight: normal;
	width: 600px;
	max-width: 100%;
	padding: 2px 0px;
	margin: 2.4em 0 0.8em 0;
	border-bottom: 1px solid var(--s2colorLND);
}
body.project h1.fullsize	{ width: 100%; background-image:url(../layout/layout.blueline.800.jpg); padding-right: 10px }
body.project h1.careful		{ color: #CC6600; border-bottom: 2px solid #FF9900 }
body.project hr				{
	width: 600px;
	max-width: 100%;
	margin: 1.6em 0;
	border: 0px none;
	border-bottom: 2px solid #DDDDDD;
}
body.project table.fullsize,
body.project div.fullsize { width: 100%; max-width: 600px; }

body.project h1:first-child	{ margin-top: 0px; padding-top: 8px }
body.project h1.title { margin-top: 0px }

body.project div.bar,
body.project div.bar2,
body.project div.bar3	{
	height: 16px;
	background-color: #CCCCCC;
	background-repeat: repeat-x;
	overflow: hidden;
}
body.project div.bar	{ background-color: #FF9900; background-image: url(../layout/bar_orange.gif); }
body.project div.bar2	{ background-color: #999999; background-image: url(../layout/bar_lightgrey.png); }
body.project div.bar3	{ background-color: #9999FF; background-image: url(../layout/bar_blue.gif); }
table.layout {
	border-spacing: 0;
}
table.layout > tr > td,
table.layout > tr > th,
table.layout > thead > tr > td,
table.layout > thead > tr > th, 
table.layout > tfoot > tr > td,
table.layout > tfoot > tr > th, 
table.layout > tbody > tr > td,
table.layout > tbody > tr > th {
	padding: 0;
	border: 0 none;
}
table.fixed { table-layout: fixed; width: 100% }
body.project div.defaultWidth,
table.defaultWidth,
ul.defaultWidth,
fieldset.defaultWidth {
	width: 600px;
	max-width: 100%;
	box-sizing: border-box;
}
fieldset.defaultWidth { box-sizing: border-box }
body.project div.defaultWidth h1:first-child { margin-top: 32px; padding-top: 3px; }

body.project div#s2preview {
	margin-top: 2.4em;
}

/* Compact function links */
body.project h1.compact { margin-bottom: 4px }
body.project hr.compact { margin: 1px 0px 12px 0px }
table.compact td { font-size: 11px }
table.compact p { margin-bottom: 2px }

body.navigation		{ padding: 0px; }
body.navigation a	{ text-decoration: none; }
body.navigation a.active:link	{ color: #FF6600; }
body.navigation a.active:visited	{ color: #FF6600; }

ol				{ margin-left: 0px; padding-left: 24px }
ul				{ margin-left: 0px; padding-left: 16px }
ul li			{ margin-bottom: 6px }



/* Operations menu */
div.Operations {
	font-size: 15px;
}
div.Operations.fixed,
div.Operations.absolute {
	width: 100%;
	min-width: 320px;
	max-width: 600px;
	position: absolute;
	z-index: 200;
}
div.Operations.fixed {
	position: fixed;
	top: 30px;
	padding: 16px 0 0 0;
	background-color: var(--s2colorBG);
	border-bottom: 1px solid var(--s2colorLND);
}
div.Operations.spacer {
	position: static;
	padding: 0;
	height: 2.3em;
	margin-bottom: 20px;
	clear: both;
}
div.Operations.clear {
	width: 600px;
	margin-bottom: 20px;
	clear: both;
}
div.Operations.inline {
	display: inline-block;
}
div.Operations > div.advice {
	font-size: 13px; 
}

.Operations a.op,
.Operations span.op,
.Operations button.op,
.Operations div.op,
div.Operations h1,
body.project h1.Operations {
	display: block; float: left;
	width: 3.2em; height: 1.2em; padding: 0.3em;
	background-color: var(--s2colorBGB);
	border: 1px solid var(--s2colorLN);
	text-align: center;
	border-radius: 3px 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	text-indent: 0;
	margin-bottom: 4px;
}
.Operations a.op,
.Operations span.op,
.Operations button.op,
.Operations div.op {
	cursor: pointer;
}
.Operations span.op {
	background-color: transparent;
}
.Operations div.op {
	height: 29px;  /** 1.933em */
	box-sizing: border-box;
}
.Operations a.op {
	color: var(--s2colorTX);
	text-decoration: none;
}
.Operations button.op {
	box-sizing: content-box;
	font-size: 15px
}
.Operations button::-moz-focus-inner {
	border: 0;
}
.Operations a.op:disabled > img,
.Operations a.op.disabled > img,
.Operations span.op:disabled > img,
.Operations button.op:disabled  > img {
	opacity: 0.5;
}

.Operations a.op.right,
.Operations div.op.right,
.Operations button.op.right {
	float: right;
}

.Operations a.op.inline,
.Operations div.op.inline,
.Operations button.op.inline {
	float: none;
	display: inline-block;
	vertical-align: middle;
}

.Operations button.op.default {
	position: absolute;
	left: -9999px;
	top: -999px;
}


.Operations.small.section {
	margin-top: 4em;
	margin-bottom: 1em;
	display: flex;
}
.Operations.small,
table.listing div.Operations.small,
.Operations.small button.op {
	font-size: 12px;
	line-height: 1;
	/* allow for multi-line contents */
	overflow: hidden;
}
.Operations.small div.op,
.Operations.small a.op,
.Operations.small span.op,
.Operations.small button.op {
	padding: 0.1em 0.2em;
	width: 2.3em; height: 20px;
	box-sizing: border-box;
	margin-bottom: 0;
}
.Operations.small div.op.title {
	padding: 0.2em;
	flex-grow: 1;
}

table.formline td.Operations.small {
	vertical-align: baseline;
	padding-top: 3px;
	padding-bottom: 0;
}

.Operations.single {
	margin: 1.2em 0;
	overflow: hidden;
}
.Operations.single a.op,
.Operations.single button.op {
	display: flex;
	width: auto;
	padding-right: 1em;
}

.Operations.micro,
table.listing div.Operations.micro,
.Operations.micro button.op { font-size: 11px; }
.Operations.micro a.op,
.Operations.micro span.op,
.Operations.micro div.op {
	float: none;
	display: inline-block;
	vertical-align: middle;
	width: auto;
	padding: 0;
	background-color: transparent;
	border: 0 none;
	height: 1.32em;
}

.Operations a.op.first,
.Operations span.op.first,
.Operations button.op.first,
.Operations div.op.first {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	-moz-border-top-right-radius: 0;
	-moz-border-bottom-right-radius: 0;
	-webkit-border-top-right-radius: 0;
	-webkit-border-bottom-right-radius: 0;
}
.Operations a.op.middle,
.Operations span.op.middle,
.Operations button.op.middle {
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-left: 0 none;
}
.Operations a.op.last,
.Operations span.op.last,
.Operations div.op.last,
.Operations button.op.last {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	-moz-border-top-left-radius: 0;
	-moz-border-bottom-left-radius: 0;
	-webkit-border-top-left-radius: 0;
	-webkit-border-bottom-left-radius: 0;
	border-left: 0 none;
}
.Operations a.op.highlight,
.Operations button.op.highlight,
.Operations div.op.highlight {
	background-color: #CFCFCF;
	border-style: inset;
	border-width: 2px;
	padding: 3.5px;
}
/* Hover */
.Operations a.op:hover,
.Operations button.op:hover,
.Operations div.op:hover {
	background-color: var(--s2colorBGB);
}
/* Do not hover if disabled */
.Operations a.op.disabled:hover,
.Operations a.op:disabled:hover,
.Operations button.op:hover:disabled,
.Operations div.op:hover:disabled {
	background-color: var(--s2colorBGB)
}
.Operations a.op:link img,
.Operations span.op img,
.Operations button.op img,
.Operations div.op img {
	width: 1.8em;
	height: 1.2em;
}
.Operations button.op img {
	margin-top: -1px;
}
.Operations a.op:link img.link,
.Operations button.op img.link,
.Operations button.op:hover:disabled img.link,
.Operations div.op img.link,
ul.Operations.elist li a img.link {
	display: inline;
}
.Operations a.op:hover img.link,
.Operations a.op:active img.link,
.Operations button.op:hover img.link,
.Operations button.op:hover:disabled img.hover,
.Operations div.op:hover img.link,
ul.Operations.elist li a:hover img.link {
	display: none;
}

.Operations a.op:link img.hover,
.Operations button.op img.hover,
.Operations div.op img.hover,
ul.Operations.elist li a img.hover {
	display: none;
}
.Operations a.op:hover img.hover,
.Operations a.op:active img.hover,
.Operations button.op:hover img.hover,
.Operations div.op:hover img.hover,
ul.Operations.elist li a:hover img.hover,
ul.Operations.elist li a:active img.hover {
	display: inline;
}
.Operations a.op.disabled:link img.hover {
	display: none;
}
.Operations a.op.disabled:hover img.link {
	display: inline;
}

div.Operations .op.more { position: relative; outline: none }
div.Operations .op.more div.items {
	display: none;
	position: absolute;
	top: 1.8em; left: -1px;
	margin-top: 0px;
	z-index: -1;
	padding: 0.3em 0;
	overflow: visible;
	background-color: var(--s2colorBG); border: 1px solid #CCCCCC;
	text-align: left;
	border-radius: 3px 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	box-shadow: 3px 3px 6px 0px #666666;
	-webkit-box-shadow: 3px 3px 6px 0px #666666;
	-moz-box-shadow: 3px 3px 6px 0px #666666;
}
div.Operations .op.more:hover,
.Operations .op.dropdown:hover { color: #FF9900 }
div.Operations .op.more:hover div.items,
div.Operations .op.more:focus div.items {
	color: var(--s2colorTX);
	display: block;
	z-index: 5;
}
div.Operations .op.more div.items a.item,
div.Operations .op.more div.items button.item {
	display: block;
	white-space: nowrap;
	overflow: visible;
	font-size: 13px;
	padding: 0.2em 1em;
	color: var(--s2colorTX); text-decoration: none;
}
div.Operations .op.more div.items button.item {
	min-width: 100%;
	text-align: left;
	margin: 0;
	border: 0 none;
	background-color: transparent;
}
div.Operations .op.more div.items .item img { vertical-align: middle; width: 1.8em; height: 1.2em }
div.Operations .op.more div.items .item img.link { display: inline }
div.Operations .op.more div.items .item img.hover { display: none }
div.Operations .op.more div.items .item:hover { color: #FF9900; background-color: var(--s2colorBGB) }
div.Operations .op.more div.items .item:hover img.link { display: none }
div.Operations .op.more div.items .item:hover img.hover { display: inline }

.Operations div.op.spacing {
	width: 0.75em; float: left;
	margin: 0;
	border: 0 none;
	background-color: transparent;
	cursor: default;
}
.Operations div.op.spacing.right {
	float: right;
}
div.Operations div.op.title,
div.Operations h1,
body.project h1.Operations {
	width: 10em; text-align: left;
	white-space: nowrap;
	overflow: hidden;
	font-family: Verdana, Arial, sans-serif; line-height: 1.1em;
	background-color: var(--s2colorBGS);
	border-color: var(--s2colorLND);
	cursor: default;
}
div.Operations div.op.title input[type="text"] {
	height: 19px;
}
div.Operations h1 {
	width: auto;
	float: none;
}
div.Operations h1:first-child {
	padding-top: 0.3em;
}
.Operations.inline button.op,
.Operations.inline a.op,
div.Operations.inline {
	float: none;
	display: inline-block;
	vertical-align: middle;
}

ul.Operations.elist li {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
}
ul.Operations.elist li a.s2entry {
	flex: 1 1 auto;
}
ul.Operations.elist li a.s2entry > img {
	height: 1.6em;
	vertical-align: middle;
}
ul.Operations.elist li a {
	margin-bottom: 0;
}

body.project h1.Operations {
	float: none;
	width: 100%;
	margin-bottom: 22px;
}
body.project h2.Operations {
	font-size: 15px;
	font-family: Verdana, Arial, sans-serif;
	font-weight: normal;
	border-bottom: 1px solid #CCCCCC;
	padding-bottom: 2px;  
}

div.ImageDropdown {
	display: inline-block;
	white-space: nowrap;
	height: 17px;
	padding: 2px 3px 2px 2px;
	position: relative; outline: none;
	border: 1px solid #666666;
}
div.ImageDropdown > img {
	vertical-align: middle; height: 1.2em;
	display: none;
}
div.ImageDropdown div.items {
	display: none;
	position: absolute;
	top: 1.6em; left: -1px;
	margin-top: 0px;
	z-index: -1;
	padding: 0.3em 0;
	overflow: visible;
	background-color: var(--s2colorBG); border: 1px solid #CCCCCC;
	text-align: left;
	border-radius: 3px 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	box-shadow: 3px 3px 6px 0px #666666;
	-webkit-box-shadow: 3px 3px 6px 0px #666666;
	-moz-box-shadow: 3px 3px 6px 0px #666666;
}
div.ImageDropdown:hover div.items,
div.ImageDropdown:focus div.items {
	color: var(--s2colorTX);
	display: block;
	z-index: 5;
}
div.ImageDropdown div.items .item img { vertical-align: middle; width: 1.8em; height: 1.2em }
div.ImageDropdown div.items .item:hover { color: #FF9900; background-color: var(--s2colorBGB) }
div.ImageDropdown div.items a {
	text-decoration: none;
	color: var(--s2colorTX);
	display: block;
	white-space: nowrap;
	overflow: visible;
	font-size: 13px;
	padding: 0.2em 1em;
}



small { font-size: 11px; font-weight: normal; line-height: 14px }
.smallAdvice { font-size: 11px; font-weight: normal; line-height: 14px }
.smallData { font-size: 11px; font-weight: normal; line-height: 14px }
.smallMore { font-size: 11px; font-weight: normal; line-height: 14px; color: #999999 }
.small { font-size: 88%; }
p.smallAdvice { margin-bottom: 0px }
div.smallAdvice p,
td.smallAdvice p { margin: 3px 0px }
div.smallAdvice p:last-child,
td.smallAdvice p:last-child { margin-bottom: 0 }
div.smallAdvice ul { margin-top: 0px }
div.smallAdvice ul li { margin-bottom: 3px }
div.smallAdvice hr,
body.project div.smallAdvice hr { margin: 4px 0; width: 100%; border-bottom: 1px solid #666666 }
div.small > p { margin: 0 0 0.4em 0; }
div.small ul { margin: 0 0 0.4em 0; padding-left: 1.2em; }
div.small ul > li { margin: 0; }

td.s2control {
	background-color: var(--s2colorBGL);
	padding: 4px 2px;
}

.radioOption { margin-left: 25px; text-indent: -25px }


/* Developer's */
table.xdebug-error { position: relative; z-index: 1000 }
pre.xdebug-var-dump,
pre.s2debugging {
	position: relative; z-index: 1000; padding: 4px; background-color: #FFFFCC; opacity: 0.9;
}


/* Navigation */

div.Navigation div.title {
	font-size: 15px;
	font-family: Verdana, Arial, sans-serif;
	line-height: 1.1em;
	height: 1.2em;
	padding: 0.3em 0px 0.3em 5px;
	margin: 24px 12px 8px 6px;
	border: 1px solid var(--s2colorLND);
	border-radius: 3px 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	/*
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 2px 2px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 2px 2px rgba(0, 0, 0, 0.1);
	*/ 
	background-color: var(--s2colorBGS);
	overflow: hidden;
}
div.Navigation div.block:first-child div.title,
div.Navigation div.title {
	margin-top: 16px;
}
div.Navigation div.title.step {
	color: var(--s2colorBG);
	border-color: #00AA00;
	background-color: #00CC00;
}
div.Navigation div.title.warning {
	color: white;
	border-color: #EE8F00;
	background-color: #FF9900;
}
div.Navigation div.title.warning::before {
	content: "⚠ ";
}

div.Navigation div.buttons {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: stretch;
	align-items: stretch;
	flex-wrap: nowrap;
	margin: 0.25em 6px 0.5em 6px;
}
div.Navigation div.buttons a {
	display: block;
	flex: 1 1 auto;
	margin: 0 6px 0 0;
	padding: 0.2em 0.3em;
	text-align: center;
	border: 1px solid var(--s2colorLND);
	border-radius: 3px 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
div.Navigation div.buttons a.active,
div.Navigation div.buttons a:hover,
div.Navigation div.buttons a:focus {
	border-color: #FF9900;
}

div.Navigation div.contents { padding: 10px; width: 220px; overflow: hidden }
div.Navigation div.contents a { }
div.Navigation div.contents a.active:link { color: #FF6600 }
div.Navigation div.contents a.active:visited { color: #FF6600 }

div.Navigation ul.sections a,
div.Navigation ul.controls a {
	color: var(--s2colorTX);
	white-space: nowrap;
	display: block;
	margin-right: 12px;
	padding: 2px;
	overflow: hidden;
}
div.Navigation ul.controls li.translations a {
	display: inline;
	margin: 0 2px 0 0; /* They will have spaces in between */
	padding: 0;
}
div.Navigation ul.controls li.translations a img {
	height: 1em;
	vertical-align: middle;
	border: 1px solid #CCCCCC;
	margin: 2px 0 4px 0;
}
div.Navigation ul.sections a {
	padding-left: 5px
}
div.Navigation ul.sections > li > ul a { padding: 2px 2px 0 5px }
div.Navigation ul.sections a:hover,
div.Navigation ul.controls a:hover {
	color: #000066;
	background-color: #F3F3F3;
}

div.Navigation ul.sections,
div.Navigation ul.controls,
div.Navigation ul.links,
div.Navigation ul.sections > li > ul,
div.Navigation ul.sections > li > ul > li > ul {
	margin: 0;
	padding: 0;
	list-style-type: none
}

div.Navigation ul.sections {
	padding-left: 5px
}
div.Navigation ul.controls,
div.Navigation ul.links {
	padding-left: 10px
}
div.Navigation ul.sections span.s2pos {
	color: #999999;
}
div.Navigation ul.sections li a,
div.Navigation ul.controls li a {
	display: flex;
	gap: 4px;
	align-items: baseline;
}
div.Navigation ul.sections span.s2gi {
	flex: 0 0 20px;
	font-family: Consolas, "Courier New", monospaced;
	font-weight: bold;
	font-size: 125%;
	line-height: 1;
}

div.Navigation ul.sections li,
div.Navigation ul.controls li {
	font-size: 13px;
	margin: 1px 0;
}

div.Navigation ul.controls li {
	padding: 0 0 0 12px;
	/* nav.section.gif */
	/* background-image:url('data:image/gif;base64,R0lGODlhEgAQAIABAAAAAP///ywAAAAAEgAQAAACLoyPecDNioCS0EiHW0x0r6BdoZc94GZGFwmO56JxMdd+Ly2nqFt1dt9yVCwlSAEAOw=='); */
	background-image: url('data:image/png;base64,R0lGODlhBwAHAKEBAAAAAP///////////yH+LW9GYiAtIGRlciBvbmxpbmVGcmFnZWJvZ2VuCnd3dy5Tb1NjaVN1cnZleS5kZQAh+QQBCgABACwAAAAABwAHAAACDIRvoZobvSAD7qFTAAA7');
	background-repeat: no-repeat;
	background-position: 0 7px
}
div.Navigation ul.controls li.symbol {
	background-image: none;
	padding: 0 0 0 0;
}
div.Navigation ul.sections > li > ul > li	{
	font-size: 12px;
	padding: 0 0 0 18px;
}
div.Navigation ul.sections ul.items {
	padding-left: 1em;
}
div.Navigation ul.sections ul.items > li {
	font-size: 11px;
}
div.Navigation ul.controls li,
div.Navigation ul.links li {
	/* font-weight: bold; */
	margin: 3px 0px
}
div.Navigation ul.controls li.controlS {
	/* nav.control.simple.gif */
	background-image: url('data:image/png;base64,R0lGODlhBwAHAKEBAAAAAP///////////yH+LW9GYiAtIGRlciBvbmxpbmVGcmFnZWJvZ2VuCnd3dy5Tb1NjaVN1cnZleS5kZQAh+QQBCgABACwAAAAABwAHAAACDIRvoZobvSAD7qFTAAA7');
}
div.Navigation ul.controls li.controlE {
	/* nav.control.extensible.gif */
	background-image: url('data:image/png;base64,R0lGODlhBwAHAKEBAAAAAP///////////yH+LW9GYiAtIGRlciBvbmxpbmVGcmFnZWJvZ2VuCnd3dy5Tb1NjaVN1cnZleS5kZQAh+QQBCgABACwAAAAABwAHAAACDYRvoZoB/I57Di6ITAEAOw==');
}
div.Navigation ul.controls li ul {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
	display: none
}
div.Navigation ul.controls li ul li	{
	font-size: 11px;
	margin: 1px 0;
}
div.Navigation ul.controls li ul li.controlS,
div.Navigation ul.controls li ul li.controlE	{
	/* padding-left: 10px; */
	/* nav.control.child.gif */
	/* background-image: url('data:image/png;base64,R0lGODlhBQAFAIABAAAAAP///yH5BAEKAAEALAAAAAAFAAUAAAIHhB9pGatnCgA7') */
}
div.Navigation ul.controls li.active ul {
	display: block;
}
div.Navigation ul.controls li.endOfPart + li {
	border-top: 1px solid #CCCCCC;
	margin-top: 3px;
	padding-top: 3px;
	background-position: 0 10px;
}

div.Navigation a.dragged,
div.Navigation ul.controls a.dragged {
	border: 1px solid #999999;
	padding: 0.5em 1em;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
}

div.Navigation span.label {
	font-weight: bold;
	background-repeat: no-repeat;
	background-position: 0 3px;
	font-family: Consolas, "Courier New", monospaced;
	font-size: 115%;
}
div.Navigation span.symbol {
	flex: 0 0 13px;
}
div.Navigation span.action,
div.Navigation span.symbol,
div.Navigation span.flag {
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: contain;
	color: transparent;
}
div.Navigation span.flags {
	float: right;
	display: block;
	margin-right: 8px;
	margin-left: 0.5em;
}
div.Navigation span.flag {
	display: inline-block;
	text-align: center;
	width: 1.4em;
	margin-top: 0.2em;
}
	
div.Navigation a span.action.add {
	background-image: url(button.plus.0.svg);
}
div.Navigation a:hover span.action.add {
	background-image: url(button.plus.1.svg);
}
div.Navigation a span.action.mgmt {
	background-image: url(button.mgmt.0.svg);
}
div.Navigation a:hover span.action.mgmt {
	background-image: url(button.mgmt.1.svg);
}
div.Navigation a span.symbol.question {
	background-image: url(symbol.question.svg);
}
div.Navigation a span.symbol.filter {
	background-image: url(symbol.filter.svg);
}
div.Navigation a span.symbol.text {
	background-image: url(symbol.text.svg);
}
div.Navigation span.flag.required {
	background-image: url(button.required.yes.svg);
}
div.Navigation span.flag.probe {
	background-image: url(button.required.probe.svg);
}
div.Navigation span.flag.notes {
	background-image: url(symbol.notes2.svg);
}
div.Navigation ul.items a span.action.add {
	padding: 2px 3px;
}

div.Navigation li.dragging { opacity: 0.5; }
/* div.Navigation li.dragging img { display: none; } */

div.Navigation #NavWorkgroup li { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAJCAIAAACAMfp5AAAAmUlEQVQI112OoQ2DUAAFrwTdpKbpHJDfApXkKxw7fHZAsgkrYJgAhcGiSAUGRA0DvBrSkp547vKOtlWWaRj0xynPNc/cbjQNR7wg4Hzm+QQoS+KYqgJAUlFI0vutx0NhqPtdkjzneL2YJi4XrMX3d5u+l3Max12ydj/3jCGKuF5ZV7KMbSNNWVf49iWJluW3HNu7TsaoriXpA403eWHaxn1UAAAAAElFTkSuQmCC); }
div.Navigation li.create,
div.Navigation ul.controls li.create,
div.Navigation #NavWorkgroup li.create { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAJCAYAAAAPU20uAAAAY0lEQVQY04XPsQ3EMAwEwZXgSpipn1MBrIwFqCBmaoWObDweMDTZBhdcA8jMigj23gCYGe7OGKORmSWpJNXj6cysHhF8iQj4Xf6TVJ2Dy8yYcwKw1gJ428zo7v65dnfa8ebJDSqLUaL4Zz3sAAAAAElFTkSuQmCC); }
div.Navigation li.create:hover,
div.Navigation ul.controls li.create:hover,
div.Navigation #NavWorkgroup li.create:hover { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAJCAYAAAAPU20uAAAAVElEQVQY04WPywmAQAxEX7YFb/Zg7dPL2oOn9DAe9oMIug9yyDyGEABkmcTUPollmSm7GIxdloPEXADgo5XijBbswLP5hooLC5YnijZ9tqf7fXPFDdb8XJ3980GCAAAAAElFTkSuQmCC); }
div.Navigation #NavWorkgroup li.management { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAJCAIAAACAMfp5AAAAmUlEQVQI112OoQ2DUAAFrwTdpKbpHJDfApXkKxw7fHZAsgkrYJgAhcGiSAUGRA0DvBrSkp547vKOtlWWaRj0xynPNc/cbjQNR7wg4Hzm+QQoS+KYqgJAUlFI0vutx0NhqPtdkjzneL2YJi4XrMX3d5u+l3Max12ydj/3jCGKuF5ZV7KMbSNNWVf49iWJluW3HNu7TsaoriXpA403eWHaxn1UAAAAAElFTkSuQmCC); }
div.Navigation #NavWorkgroup li.unverified { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAJCAAAAAAqODLyAAAAXElEQVQI1wFRAK7/AN6v6v//////AtP2xgAAAAAABBf7GgDE4yA5AjcPNfji/98AArrx8AgfABoAAi4O/wAzB0AAAf/UJP6xAARLAP///6f1p/WnAP/////kpdT/BR8oKPNThd4AAAAASUVORK5CYII=); }

/* Listing of selectable elements */
.elist a:link,
.elist a:visited { color: var(--s2colorTXA); }

.elist a { text-decoration: none; display: block; padding: 3px 0; }
.elist a:hover { color: #000066; }
.elist a.intlink { display: inline; padding: 0; }
.elist > li {
	border: 1px solid transparent;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.elist > li:hover {
	border: 1px solid #CCCCCC;
	background-color: #F9F9FF;
}

.elist div.select { float: left; padding-top: 1px }
.elist div.actions { float: right; display: none; padding: 1px 1px 0 5px; position: relative; background-color: #F9F9FF }
.elist > li:hover div.actions { float: right; display: block }

ul.elist {
	list-style-type: none;
	padding: 0;
}
ul.elist > li {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	margin: 0;
}
ul.elist > li.expired,
ul.elist > li.expired input[type="text"] {
	color: #999999;
}
ul.elist > li div.desc {
	white-space: normal;
}


td.varLabel,
span.varLabel {
	color: #999999;
}


/* Management forms */

span.command	{ font-weight: bold; }
span.command a	{ text-decoration: none; }

table.form 			{ border-collapse:collapse }
table.form td,
table.form th		{ padding: 4px 0px 2px 0px; vertical-align: middle }
table.form td.top,
table.form th.top,
table.form tr.top td,
table.form tr.top th	{ vertical-align: top }
table.form td.bottom { vertical-align: bottom }
table.form td.toplabel,
table.form th.toplabel	{ vertical-align: top; padding-top: 6px }
table.form tr.dense  td	{ padding: 0px 0px 2px 0px }
table.form tr.dense  td.dense	{ padding: 0px }
table.form tr.dense  th	{ padding: 0px 0px 2px 0px }
table.form tr.header th,
table.form tr.header td	{ padding: 12px 0px 2px 0px }
table.form tr.separate > th,
table.form tr.separate > td	{ padding-top: 20px }
table.form tr.separate > td.toplabel { padding-top: 25px }
table.form td.vSepLeft,
table.form th.vSepLeft		{ padding-right: 6px; border-right: 2px dashed #9999FF }
table.form td.vSepMiddle,
table.form th.vSepMiddle	{ padding-left: 6px; padding-right: 6px; border-left: 2px dashed #9999FF; border-right: 2px dashed #9999FF }
table.form td.vSepRight,
table.form th.vSepRight		{ padding-left: 6px; border-left: 2px dashed #9999FF }
table.form td.textinput	{ padding-right: 6px }
table.form tr.lineTop th,
table.form tr.lineTop td,
table.form td.lineTop { border-top: 1px solid #9999FF }
table.form tr.lineBtm th,
table.form tr.lineBtm td,
table.form td.lineBtm,
table.form input[type=radio],
table.form input[type=checkbox],
div.form input[type=radio],
div.form input[type=checkbox] { vertical-align: middle; margin: 0px 5px }
table.form input[type=text],
table.form input[type=password] { vertical-align: baseline }
table.lineBtm {
	border-bottom: 1px solid #9999FF;
}
table.form tr.hover,
table.form tr.hover td {
	background-color: #BAD0FF;
}

ul.form {
	list-style-type: none;
	max-width: 600px;
	padding: 0;
	margin: 0;
}
ul.form.separate { margin-top: 2em }
ul.form > li.separate { margin-top: 1em }
ul.form > li {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
	-webkit-align-items: flex-start;
	align-items: flex-start;
	padding: 4px 0 2px 0; font-size: 13px;
	margin: 0;
}
ul.form > li.middle {
	-webkit-align-items: center;
	align-items: center;
}
ul.form > li > label,
ul.form > li > span.label {
	width: 200px;
	-webkit-box-flex: 0;
	-moz-box-flex: 0;
	-webkit-flex: 0 1 200px;
	-ms-flex: 0 1 200px;
	flex: 0 1 200px;
	padding: 4px 0.5em 0 0; box-sizing: border-box;
}
ul.form.smallLabels > li > label,
ul.form.smallLabels > li > span.label {
	width: 120px;
	flex-basis: 120px;
}
ul.form > li > div {
	padding-top: 4px;
}
ul.form > li > div.text {
	display: inline-block;
	padding: 4px 0 0 0;
}
ul.form > li > div.input {
	display: inline-block;
	padding: 0;
	flex: 1 1 250px;
}
ul.form > li > div.customInput {
	flex: 1 1 auto;
	max-width: 400px
}
ul.form > li > div.customInput input.number[type="text"],
ul.form > li > div.customInput input[type="number"] {
	margin-top: -4px;
}
ul.form > li > div.Operations.small {
	padding-top: 2px;
}
ul.form > li select,
ul.form > li > div.input {
	max-width: 400px;
}
div.tabContentActive ul.form > li select,
div.S2ButtonSheets ul.form > li > div.input,
div.S2ButtonSheets ul.form > li > select,
div.S2ButtonSheets table.form tr > td > select {
	max-width: 379px;
}
div.S2ButtonSheets ul.form > li.below > div.input {
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
	
}

div.S2ButtonSheets ul.form > li select,
div.S2ButtonSheets ul.form > li > div.customInput { max-width: 376px }
ul.form > li > span.input,
ul.form > li input[type="text"],
ul.form > li > input[type="number"],
ul.form > li textarea,
ul.form > li select {
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	-webkit-flex: 1 1;
	-ms-flex: 1 1;
	flex: 1 1 auto;
	vertical-align: baseline;
}
ul.form > li textarea {
	/* Use a flex-basis of 0 to avoid wrapping into the next line */ 
	flex-basis: 0;
}
ul.form > li > span.input.newline {
	flex: 0 0 100%;
	width: 100%;
	margin-top: 0.4em;
}
ul.form > li input.number[type="text"],
ul.form > li input[type="number"] {
	-webkit-box-flex: 0;
	-moz-box-flex: 0;
	-webkit-flex: 0 1;
	-ms-flex: 0 1;
	flex: 0 1 auto;
}
ul.form > li.noLabel > label,
ul.form > li.main > label {
	-webkit-flex: 1 0 auto;
	-ms-flex: 1 0 auto;
	flex: 1 0 auto;
}
ul.form > li.main > label {
	font-weight: bold; 
}
ul.form > li.nw > label {
	-webkit-flex: 0 0;
	-ms-flex: 0 0;
	flex: 0 0;
	margin-right: 10px;
}
ul.form > li.nw input[type="text"],
ul.form > li.nw > input[type="number"],
ul.form > li.nw textarea,
ul.form > li.nw select {
	-webkit-box-flex: 0;
	-moz-box-flex: 0;
	-webkit-flex: 0 1;
	-ms-flex: 0 1;
	flex: 0 1;
}
ul.form > li.nw span.spacer {
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	-webkit-flex: 1 1;
	-ms-flex: 1 1;
	flex: 1 1;
}
ul.form > li input {
	vertical-align: baseline;
	margin: 0;
}
ul.form > li select { vertical-align: middle; }
ul.form > li textarea { vertical-align: top; }
ul.form > li > span.right { text-align: right; }

ul.form label.checkbox,
ul.form label.radio {
    display: block;
    text-indent: -30px;
    padding-left: 30px;
}

ul.form > li.below {
	display: block;
}
ul.form > li.below > label,
ul.form > li.below > span.input,
ul.form > li.below > input,
ul.form > li.below > textarea {
	display: block;
	width: 100%;
}
ul.form > li.below > label {
	margin-bottom: 0.4em;
}
ul.form > li.separate {
	margin-top: 1em;
}
ul.form > li > div.langInput {
	width: auto;
	flex: auto 1 1;
}

.form input[type="number"] { text-align: right }

/*
div.textinput	{ margin-right: 6px }
td.textinput	{ padding-right: 6px }
*/
input[type="text"],
input[type=password],
textarea,
select {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	max-width: 100%;
}

/* Forms with large buttons instead of radio button */
ul.buttons div.select,
ul.buttons > li > div.select {
	display: flex;
	flex-wrap: wrap;
	position: relative;
	margin-right: -10px;
	justify-content: space-between;
}
ul.buttons div.select div.radio {
	flex: 1 1 auto;
	margin: 0px 10px 8px 0;
	display: flex;
}
ul.buttons input[type="radio"] {
	width: 1px;
	opacity: 0.01;
	overflow: hidden;
	position: absolute;
}
ul.buttons input[type="radio"]~label {
	border: 1px outset #999999;
	border-radius: 3px;
	background-color: var(--s2colorBGS);
	padding: 3px 6px;
	user-select: none;
	flex: auto;
}
ul.buttons input[type="radio"]:checked~label {
	border-color: var(--s2colorTX);
	background-color: #DDDDFF;
}

input.number	{ width: 28px; text-align: right }
input[type="number"]	{ width: 36px; text-align: right }

table.dense		{ table-layout: fixed }
table.dense td,
table.dense th	{ padding: 0px 0px 2px 0px; vertical-align: middle }

table.lined		{ border-bottom: 2px solid #666666 }
table.lined th	{ border-top: 2px solid #666666 }
table.lined td	{ border-top: 1px solid #666666 }
table.lined td.right,
table.lined td.number,
table.lined th.number {
	text-align: right
}
table.lined tr.topline td,
table.lined td.topline {
	border-top: 2px solid #666666
}
table.lined tr.noline td,
table.lined td.noline {
	border-top: 0px none
}
table.lined td.spacing	{ border: 0px none }

table.xlined {
	border-collapse: collapse;
}
table.xlined td,
table.xlined th {
	border: 1px solid var(--s2colorLN);
	padding: 3px 2px;
}
table.xlined th {
	background-color: var(--s2colorBGL);
}
table.xlined td {
	max-width: 480px;
	word-wrap: break-word;
} 

table.formline {
	border-bottom: 1px solid #CCCCCC;
	table-layout: fixed;
}
table.formline.flex {
	table-layout: auto;
}
table.formline td,
table.formline th {
	padding: 1px 0px 1px 0px;
	vertical-align: middle;
	border-top: 1px solid #CCCCCC;
}
table.formline td.top {
	vertical-align: top;
}
table.formline td.number	{
	text-align: right;
}
table.formline tr.noline td,
table.formline tr.noline th {
	border-top: 0px none;
}
table.formline tr.separate > th,
table.formline tr.separate > td {
	padding-top: 1em;
}

table.grid		{ border-collapse: collapse; table-layout: fixed }
table.grid th	{ padding: 0px 2px 1px 2px }
table.grid td	{ padding: 1px 2px 1px 2px; vertical-align: middle; border: 1px solid #CCCCCC }
table.grid td.top { vertical-align: top }

table.sheet		{ }
table.sheet	th.number,
table.sheet td.number		{ text-align: right; padding-right: 8px }
table.sheet tr.result td,
table.sheet tr.result th	{ padding-top: 2px; border-top: 1px solid #666666 }

input.small		{ padding: 0px 2px }
img.button		{ margin-right: 4px }
label.trouble	{ color: red }

a.help			{ color: var(--s2colorTXH); cursor: help; text-decoration: none; font-weight: normal; white-space: nowrap }
a.help:visited	{ color: var(--s2colorTXH) }
a.help:before   {
	content: url(data:image/gif;base64,R0lGODlhDQALAKEBAACZAP///////////yH+Gm9GYiAtIGRlciBvbmxpbmVGcmFnZWJvZ2VuACH5BAEKAAIALAEAAAALAAsAAAIdlI8GK+sdIoh0hYmtlVTm7FXd9ZEg1znqChwtAhQAOw==)"\00a0";
}
.helptitle { border-bottom: 1px dashed var(--s2colorTXH); cursor: help }

p.pageselector		{ font-size: 12px; font-weight: bold; margin: 0px }
p.pageselector	a	{ text-decoration: none }

div.thumbnail     { background-image: url(image.background.png); background-color: var(--s2colorBGB); overflow: hidden; position: relative }
div.thumbnail img { border: 1px solid #DDDDDD; position: absolute }

/* Projects listing */

table.projects				{ table-layout: fixed }
table.projects p.project	{ margin: 0px 0px 1px 14px; text-indent: -14px; }
table.projects p.folder		{ margin: 0px 0px 3px 14px; font-size: 10px; }
table.projects p.fieldtime	{ margin: 0px 0px 3px 14px; font-size: 10px; }
table.projects p.archivetime	{ margin: 0px 0px 3px 14px; font-size: 10px; color: #FF9900; }
table.projects td hr        { margin: 4px 0px; border-bottom: 1px solid #DDDDDD; }
table.projects td			{ padding: 3px; overflow: hidden; border-bottom: 1px solid #CCCCCC; }
table.projects th			{ padding: 3px; border-bottom: 1px solid #CCCCCC; }
table.projects tr.inactive td {
	color: #666666;
}
table.projects a.title { font-weight: bold; text-decoration: none }
table.projects a.title img { vertical-align: middle }
table.projects a.title:link { color: var(--s2colorTXA) }
table.projects a.title:visited { color: var(--s2colorTXA) }
table.projects a.title:focus,
table.projects a.title:hover { color: #FF9900 }
table.projects a.title:active { color: #FF0000 }

table.listing {
	width: 600px;
	margin: 16px 0px 32px 0px;
	table-layout: fixed;
}
table.listing.flex {
	table-layout: auto;
}
table.listing a		{ text-decoration: none }
table.listing th	{ border-color: var(--s2colorLND); border-style: solid; border-width: 0 0 2px 0 }
table.listing td	{ border-color: var(--s2colorLND); border-style: solid; border-width: 0 0 1px 0 }
table.listing tr.separate > td,
table.listing tr.separate > th { border-top-width: 1px; padding-top: 6px }
table.listing tr.lined td,
table.listing tr.lined th { border-top-width: 1px }
table.listing td.noline,
table.listing th.noline,
table.listing tr.noline td { border-bottom-width: 0 }
table.listing td.number { text-align: right }
table.listing tr.highlight td { font-weight: bold }
table.listing tr.secondary td { font-size: 11px }
table.listing div.small { font-size: 11px }

table.listing td.moreinfo div.more {
	display: none;
}
table.listing td.moreinfo:hover {
	font-weight: bold;
	position: relative;
}
table.listing td.moreinfo:hover div.more {
	display: block;
	font-weight: normal;
	position: absolute;
	left: 50px;
	background-color: var(--s2colorBG);
	border: 1px solid var(--s2colorTX);
	padding: 4px;
}

table.listing td.largecontent,
table.grid td.largecontent {
	overflow: hidden;
}
table.listing td.largecontent:hover,
table.grid td.largecontent:hover {
	overflow: visible;
	position: absolute;
	padding-right: 1.6em;
	background-color: var(--s2colorBGL);
	box-shadow: 0 0 16px 16px var(--s2colorBGL);
	border: 0 none;
	z-index: 10;
}

div.S2DataView div.s2data {
	overflow: auto;
	padding-bottom: 4px;
}
div.S2DataView table tr > td.s2caseNumber,
div.S2DataView table tr > th.s2caseNumber {
	position: sticky;
	left: 0;
}
div.S2DataView table tr > td.s2caseNumber > div:first-child,
div.S2DataView table tr > th.s2caseNumber > div:first-child {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: white;
	outline: 1px solid var(--s2colorLN);
	padding: 3px 2px 3px 4px;
}
div.S2DataView table tr > th.s2caseNumber > div:first-child {
	background-color: var(--s2colorBGB);
	padding-left: 2px;
}
div.S2DataView table tr > td.irrelevant.s2caseNumber > div {
	background-color: var(--s2colorBGB);
}
div.S2DataView table tr > td.s2caseNumber img {
	vertical-align: middle;
	padding-bottom: 4px;
}
div.S2DataView table tr.s2variables > th {
	position: relative;
}
div.S2DataView div.pagination {
	background-color: var(--s2colorBGL);
	border: 1px solid var(--s2colorLN);
	border-bottom: 0 none;
	padding: 2px 0;
}
div.S2DataView div.s2filters {
	border: 1px solid var(--s2colorLN);
	border-bottom: 0 none;
	padding: 3px 2px 4px;
	text-align: center;
}
div.S2DataView div.s2message {
	border: 1px solid var(--s2colorLN);
	padding: 1em;
	text-align: center;
	position: sticky;
	left: 0;
}

table.data td div.limitHeight { min-width: 160px; max-height: 120px; overflow: auto; overflow-x: hidden; overflow-y: auto }
table.data td.uncalled { }
table.data td.missed { background-color: var(--s2colorBGDataMissing); }
table.data td.incomplete { background-color: var(--s2colorBGDataIncomplete); }
table.data td.complete { background-color: var(--s2colorBGDataComplete); }

table.data td.irrelevant { background-color: var(--s2colorBGB) }
table.data td.irrelevant a { color: var(--s2colorTXD); }
table.data td.irrelevant a:hover,
table.data td.irrelevant a:active { color: #FF6600; }

fieldset.info			{ padding-left: 10px; padding-bottom: 8px; padding-right: 10px; width: 576px; border: 2px solid #FF9900; }
fieldset.info legend	{ color: #FF9900; margin-bottom: 6px;}

/* DbLimitedSelect pagination */
div.pagination,
td.pagination { text-align: center }
div.pagination a,
td.pagination a { text-decoration: none }
table.listing td.pagination { font-size: 12px; background-color: #EEEEFF; padding: 0px }
table.projects td.pagination { font-size: 12px; background-color: var(--s2colorBGB); padding: 0px }


/* tabs used in set form */
div.tabs	{ width: 580px; border: 1px solid #9999FF; position: relative; z-index: 1; }
div.tabs hr  { height: 1px; border: 0px none; border-bottom-width: 1px; border-bottom-color: #9999FF; border-bottom-style: solid; }
div.tabs h2 { margin: 32px 0px 0px 0px; padding: 0px 2px 2px 2px; border-bottom: 2px solid #0000FF; }
div.tabs h2:first-child { margin-top: 16px; }

ul.tabSelection	      { padding: 0px; margin: 0px; position: relative; top: 0px; z-index: 2; display: none }
ul.tabSelection li    { display: inline; list-style-type: none; margin: 0px 8px 0px 0px;
                        font-size: 11px; font-weight: bold; line-height: 20px; white-space: nowrap; }
                        /* ul line-height and border-bottom-color is required for IE 6 */
ul.tabSelection li a		{ text-decoration: none; padding: 2px 6px; border: 2px solid #CCCCCC; border-bottom-style: none }
ul.tabSelection li a		{ color: var(--s2colorTX); background-color: var(--s2colorBGB) }
ul.tabSelection li a:link,
ul.tabSelection li a:visited { color: var(--s2colorTX) }
ul.tabSelection li a:hover	{ color: var(--s2colorTX); background-color: #FFEEAA }
ul.tabSelection li.active a			{ background-color: var(--s2colorBG); border: 2px solid #9999FF; border-bottom: 3px solid var(--s2colorBG) }
ul.tabSelection li.active a:hover	{ background-color: var(--s2colorBG) }

ul.S2Tabs	    	{ padding: 0px; margin: 0px; position: relative; top: 0px; z-index: 2; display: none }
ul.S2Tabs li {
	display: inline; list-style-type: none; margin: 0px 8px 0px 0px;
    font-size: 11px; font-weight: bold; line-height: 20px; white-space: nowrap;
    padding: 2px 6px; border: 2px solid #CCCCCC; border-bottom-style: none;
    background-color: var(--s2colorBGB);
}
ul.S2Tabs li:hover	{ background-color: #FFEEAA }
ul.S2Tabs li.disabled { color: #999999; }
ul.S2Tabs li.active { background-color: var(--s2colorBG); border: 2px solid #9999FF; border-bottom: 3px solid var(--s2colorBG); }
ul.S2Tabs li.active:hover	{ background-color: var(--s2colorBG); }

div.tabContent        { width: 600px }
div.tabContentActive  { width: 580px; padding: 20px 8px 16px 8px; border: 2px solid #9999FF; position: relative; top: -1px; z-index: 1 }
div.tabContentActive table.listing { width: 580px }
div.tabContentActive hr { width: 100%; margin: 16px 0px 12px 0px; border: 0px none; border-bottom: 1px solid #CCCCCC }

div.tabContentActive h1 { width: 100% }
div.tabContentActive h2	{ font-size: 13px; border-bottom: 2px solid #9999FF; padding-bottom: 2px }

div.tab.active h1,
div.tab.active h2,
div.tab.active h3 {
	font-size: 15px;
	font-family: Verdana, Arial, sans-serif;
	font-weight: normal;
	padding: 2px 0px;
	margin: 2.4em 0 0.8em 0;
	border-bottom: 1px solid var(--s2colorLND);
}

/* HTMLLib::tabs() */
div.Tabs > ul { padding: 0px; margin: 0px }
div.Tabs > ul > li  { display: inline; list-style-type: none; margin: 0px 8px 0px 0px;
	font-size: 11px; font-weight: bold; line-height: 20px; white-space: nowrap;
}
/* ul livar(--s2colorBG)ight and border-bottom-color is required for IE 6 */
div.Tabs > ul > li a { position: relative; z-index: 1;
	text-decoration: none; padding: 2px 6px 3px 6px;
	border: 2px solid #CCCCCC; border-bottom: 0 none;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	color: var(--s2colorTX); background-color: var(--s2colorBGB);
}
div.Tabs > ul > li a:link,
div.Tabs > ul > li a:visited { color: var(--s2colorTX) }
div.Tabs > ul > li a:hover	{ color: var(--s2colorTX); background-color: #FFEEAA }
div.Tabs > ul > li.active a			{ z-index: 3; background-color: var(--s2colorBG); border-color: #9999FF }
div.Tabs > ul > li.active a:hover	{ background-color: var(--s2colorBG) }

div.Tabs > div.content {
	width: 580px; padding: 20px 8px 16px 8px;
	border: 2px solid #9999FF; background-color: var(--s2colorBG);
	position: relative; top: -2.5px; z-index: 2
}
div.Tabs > div.content.inactive { display: none }
div.Tabs > div.content table.listing { width: 580px }
div.Tabs > div.content hr { width: 100%; margin: 16px 0px 12px 0px; border: 0px none; border-bottom: 1px solid #CCCCCC }

div.Tabs > div.content h1 { width: 100% }
div.Tabs > div.content h2	{ font-size: 13px; border-bottom: 2px solid #9999FF; padding-bottom: 2px }

/* HTMLSnippet::htmlButtonSheets */
div.S2ButtonSheets { }
div.S2ButtonRow { }
div.S2ButtonSheets ul.buttons,
div.S2ButtonRow {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: stretch;
	align-items: stretch;
	justify-content: flex-start;
	flex-wrap: wrap;
	padding: 0;
	gap: 0.8em;
}
div.S2ButtonRow.center {
	justify-content: center;
}
div.S2ButtonSheets ul.buttons li,
div.S2ButtonRow a {
	flex: 1 1 auto;
	margin-bottom: 0;
	text-align: center;
	cursor: pointer;
	display: block;
	background-color: var(--s2colorBGB);
	border: 1px solid #999999;
	white-space: nowrap;
	padding: 0.4em 0.8em;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px 5px;
}
div.S2ButtonRow.center a {
	flex-grow: 0;
}
div.S2ButtonRow a,
div.S2ButtonRow a:hover,
div.S2ButtonRow a:active {
	color: var(--s2colorTX);
	text-decoration: none;
}
div.S2ButtonSheets ul.buttons li.active,
div.S2ButtonSheets ul.buttons li:hover,
div.S2ButtonRow a:hover {
	border-color: #FF9900;
	background-color: var(--s2colorBG);
}
div.S2ButtonSheets ul.buttons li.disabled,
div.S2ButtonSheets ul.buttons li.disabled:hover,
div.S2ButtonRow a.disabled,
div.S2ButtonRow a.disabled:hover {
	cursor: no-drop;
	border-color: #999999;
	color: #666666;
	background-color: #DDDDDD;
}
div.S2ButtonSheets ul.buttons li.inactive,
div.S2ButtonRow a.inactive {
	color: #666666;
}
div.S2ButtonSheets h1.title {
	margin: 0.8em 0 0 0;
	border-radius: 5px 5px 0 0;
	padding: 0.2em 1em;
	border: 1px solid #999999;
	border-bottom: 0 none;
	background-color: var(--s2colorBGB);
	box-sizing: border-box;
	max-width: 600px;
	width: 100%;
	font-size: 13px;
}
div.S2ButtonSheets div.tab {
	padding: 1em 0.7em 1.5em 0.7em;
	border: 1px solid #999999;
	box-sizing: border-box;
	max-width: 600px;
	width: 100%;
}
div.S2ButtonSheets hr {
	width: 100%;
}
div.S2ButtonSheets table.listing,
div.S2ButtonSheets table.form {
	width: 100%;
}

/* Column listings */
.columns2 {
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
	-webkit-column-gap: 20px;
	-moz-column-gap: 20px;
	column-gap: 20px;
}

/* JavaScript Form Switches */
span.switch { border: 1px outset #999999; background-color: var(--s2colorBGB); padding: 2px 6px }
span.switch:hover { border: 1px inset var(--s2colorTX); background-color: #EEEEFF }
span.switch.active { border: 1px inset var(--s2colorTX); background-color: #9999FF; color: var(--s2colorBG) }

/* Inline messages */
h2.info		{ margin: 16px 0px 2px 0px; font-size: 12px; color: #FF9900; }
div.info	{ border: 2px solid #FF9900; border-radius: 5px 5px; margin: 30px 0; padding: 8px; }
div.info > p:last-child { margin-bottom: 0; }

/* Information/alert box created in ajax.js */
div.oFbAlert { width: 360px; position: absolute; z-index: 1022; left: 100px; top: 62px; }
div.oFbAlert div.top { background-image: url(../layout/oFbAlert.top.png); height: 18px; overflow: hidden; background-repeat: no-repeat; color: #FFFFFF; font-weight: bold; padding: 22px 30px 0px 30px; }
div.oFbAlert div.middle { background-image: url(../layout/oFbAlert.middle.png); background-repeat: repeat-y; min-height: 60px; padding: 8px 28px; }
div.oFbAlert div.bottom { background-image: url(../layout/oFbAlert.bottom.png); background-repeat: no-repeat; height: 21px; overflow: hidden; }
div.oFbAlert div.content { background-color: var(--s2colorBG); }

/* Layout management */
.imageBox {
	vertical-align:middle; text-align:center; border-style:solid;
	border-width:1px;
	border-color:var(--s2colorTX);
	width:170px;
	height:120px;
}
.checkboxUpload {vertical-align:middle;}

/* information snippets */
div.boxed { width: 100%; border: 2px solid #9999ff; margin-bottom: 10px }
div.boxed h2 { font-size: 13px; font-weight: bold; margin: 6px }
div.boxed p { margin: 6px }

/* oFb Tools */
td.items div { background-color: #CCCCFF; margin: 3px 0px 3px 0px; padding: 1px; font-size: 11px; overflow: hidden; }
td.items div.removed { background-color: #DDDDDD; }

/* Internal messaging system */
div.message { font-weight: normal; margin: 4px; border: 1px solid #CCCCCC; padding: 4px; }
div.message h3 { font-size: 13px; font-weight: bold; margin: 0px 0px 4px 0px; }
div.message p { font-size: 13px; } 
div.message p.metadata { font-size: 11px; margin: 0px 0px 6px 0px; padding-bottom: 4px; border-bottom: 1px solid #AAAAAA; }
div.message p.metadata span.sender { font-weight: bold; }
div.message p.metadata span.date { }

/* BasicObjectML (also JS) */
div.langInput { position: relative; width: 100%; }
div.langTable { display: inline-table; width: 100% }
div.langInput div.language { display: table-row }
div.langInput div.language div.input { display: table-cell; padding-right: 6px }
div.langInput div.language div.lang { display: table-cell; width: 34px; text-align: right; vertical-align: top }
img.langSymbol { border: 1px outset #999999; vertical-align: middle }

/* Tooltips */
/* based on http://sixrevisions.com/css/css-only-tooltips/ */
div.tooltip {
	display: inline;
	display: inline-block;
	cursor: help;
	position: relative;
	text-indent: 0;
}
div.tooltip span.anchor { white-space: nowrap }
div.tooltip span.anchor:after { content: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAMBAMAAACtsOGuAAAAJ1BMVEXo6P5gYP5gYP9qav5ra/56ev58fP61tf67u/7Kyv7a2v7+/v7////zbWQMAAAAAXRSTlMAQObYZgAAACJJREFUCNdjYGBSKWBgYOAyABKsDUAiE4gZBBhgQIEBJwAAW6EB71KiebcAAAAASUVORK5CYII=') }
div.tooltip img { vertical-align: bottom; margin-bottom: 5px }
div.tooltip div.tiptext {
	position: absolute;
	left: -99999px;
	top: -99999px;
	z-index: 999;
	display: block;
	width: 250px;
	padding: 0.5em 0.8em 0.7em 0.8em;
	background-color: #DDDDFF;
	border: 1px solid #9999FF;
	font-family: arial, verdana, sans-serif; 
	font-size: 13px;
	font-weight: normal;
	text-align: left;
	white-space: normal;
	/* nice borders */
	border-radius: 5px 5px;
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
}
div.tooltip div.tiptext img { vertical-align: middle; margin: 0px }
div.tooltip:hover div.tiptext {
	left: -100px; top: 1.5em
}
div.tooltip:hover.right div.tiptext {
	left: -10px
}
div.tooltip:hover div.beware {
	color: #000000;
	background-color: #FFDDBB;
	border: 1px solid #FF9900
}
div.tooltip:hover div.tiptext p { margin: 6px 0px 0px 0px }
div.tooltip:hover div.tiptext p:first-child { margin-top: 0px }

/* Tooltips II */
span.S2Tooltip.anchor {
  	white-space: nowrap;
}
span.S2Tooltip.anchor:after {
	content: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAMBAMAAACtsOGuAAAAJ1BMVEXo6P5gYP5gYP9qav5ra/56ev58fP61tf67u/7Kyv7a2v7+/v7////zbWQMAAAAAXRSTlMAQObYZgAAACJJREFUCNdjYGBSKWBgYOAyABKsDUAiE4gZBBhgQIEBJwAAW6EB71KiebcAAAAASUVORK5CYII=')
}
div.S2Tooltip.container,
span.S2Tooltip.container {
	position: absolute; z-index: 999;
  	left: -99999px; top: -99999px;
}
span.S2Tooltip.anchor:hover + div.S2Tooltip.container,
span.S2Tooltip.anchor:hover + span.S2Tooltip.container {
  	left: auto; top: auto;
}
div.S2Tooltip.tiptext,
span.S2Tooltip.tiptext {
  	position: absolute;
  	left: -100px; top: 0.5em; 
	width: 250px; padding: 0.5em 0.8em 0.7em 0.8em;
	color: black; background-color: #DDDDFF; border: 1px solid #9999FF;
	font-weight: normal; text-align: left; 
	display: block;
  	text-indent: 0;
}

/* Custom inputs */
div.SoSciInputImage { position: relative; z-index: 10; }
div.SoSciInputImage div.list {
	position: absolute;
	box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	border: 1px solid #CCCCCC;
	border-radius: 4px;
	background-color: var(--s2colorBG);
	min-height: 40px;
	overflow: scroll;
}
div.SoSciInputImage div.list div.item {
	font-size: 11px; 
	display: inline-block;
	border: 2px solid transparent;
	margin: 6px;
	text-align: center;
	vertical-align: top;
}
div.SoSciInputImage div.list div.item:hover { border-color: #FF9900; }
div.SoSciInputImage div.list div.item.selected { border-color: #999999; }
div.SoSciInputImage div.list div.item img { max-width: 100%; }

/* Text-indent with variable width */
label.radioItem { display: block; padding-bottom: 2px; overflow: hidden; }
label.radioItem span.item { display: inline-block; float: left; margin-right: 0.4em; }
label.radioItem span.desc { display: block; overflow: hidden; text-align: left; padding-top: 4px }



/* Question Types */
div.QuestionTypes { margin-top: 3em }
div.QuestionTypes div.category { max-width: 100%; min-width: 20%; border: 2px solid #9999FF; border-radius: 5px; position: relative; padding: 1em 0.5em 0.5em 0.5em; margin: 1em 0 3em 0 }
div.QuestionTypes div.title { min-width: 3%; max-width: 90%; overflow: hidden; font-size: 1em; font-weight: bold; padding: 0 5px; background-color: var(--s2colorBG); position: absolute; top: -0.6em; left: 1em; white-space: nowrap }
div.QuestionTypes div.category > div.title { font-size: 120% }
div.QuestionTypes div.type { display: inline-block; width: 310px; height: 144px; position: relative; margin: 0.2em }
div.QuestionTypes div.type div.container { position: absolute; height: 144px; overflow: hidden; border: 2px solid transparent;  border-radius: 5px }
div.QuestionTypes div.type:hover div.container { background-color: var(--s2colorBG); border-color: #FF9900; box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.25); height: auto; overflow: visible; z-index: 2 }
div.QuestionTypes div.option { cursor: pointer; position: relative; margin: 2em 0.6em 0.6em 0.4em; padding: 1.2em 0.5em 0.3em 0.5em; border: 1px solid #CCCCCC; border-radius: 5px }
div.QuestionTypes div.option:first-child { margin-top: 1.1em }
div.QuestionTypes div.option div.desc { height: 100px; overflow: hidden }
div.QuestionTypes div.option div.image { width: 280px; height: 100px; overflow: hidden; background-color: var(--s2colorBG); position: absolute; left: 0.5em; top: 1.2em }
div.QuestionTypes div.option:hover { border-color: #FF9900 } 
div.QuestionTypes div.option:hover div.image { display: none }
div.QuestionTypes div.option:hover div.image.static { display: inline }
div.QuestionTypes div.option span.link { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 3 }
div.QuestionTypes div.type:hover div.mods { display: block; z-index: 2 }

body.s2display-inverse div.QuestionTypes div.option div.image img {
	filter: brightness(0.8);
}


/* QuestionManager */

div.S2QuestionItems div.center { text-align: center }
div.S2QuestionItems div.right,
div.S2QuestionItems input.right{ text-align: right }
div.S2QuestionItems div.item {
	margin: 4px 0; padding: 0 4px;
	border: 1px solid var(--s2colorBRM); border-radius: 3px;
	background-color: var(--s2colorBGL);
}
div.S2QuestionItems div.item img.button { cursor: pointer }
div.S2QuestionItems div.item div.cell {
	display: inline-block; vertical-align: middle;
}
div.S2QuestionItems div.item input[type=text] {
	margin: 0; vertical-align: middle;
	border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC;
	 border-top: 1px solid #BBBBBB;
	 border-bottom: 1px solid var(--s2colorBGB); border-radius: 3px;
}
div.S2QuestionItems div.item input[type=checkbox] { margin-bottom: 0 }
div.S2QuestionItems div.sortable {
	box-shadow: 1px 1px 0 0 rgba(0, 0, 0, 0.3);
	position: relative; left: -0.5px;
	cursor: move;
}
div.S2QuestionItems div.header { display: inline-block; padding: 0 2px; box-sizing:border-box }
div.S2QuestionItems div.header:first-child { margin-left: 5px; padding-left: 0 }
div.S2QuestionItems div.item input.center {
	text-align: center;
}

/* Question Filters */
#filtersContainer div.s2filter {
	border: 1px solid #666666;
    background-color: var(--s2colorBGL);
    min-height: 1em;
    margin-bottom: 1em;
    padding: 1em;
}

/* LayoutHover */

span.DropdownHover { border: 1px solid #CCCCCC; padding: 2px 0 2px 4px; cursor: pointer; position: relative }
span.DropdownHover span.options { display: none; border: 1px solid #CCCCCC; background-color: var(--s2colorBG); min-width: 200px }
span.DropdownHover:hover span.options { display: block; position: absolute; z-index: 2; top: 1.5em; left: -1px }
span.DropdownHover span.options a.option { display: block; padding: 2px 4px; white-space: nowrap; overflow: hidden; text-decoration: none; border-bottom: 1px solid #CCCCCC }


/* Preview for pixel positions */
div.PreviewPositions div.marker { position: absolute; background-repeat: no-repeat; min-height: 17px; }
div.PreviewPositions div.marker.center { position: absolute; background-image: url(../layout/marker.center.png); background-position: left center; padding-left: 18px; }
div.PreviewPositions div.marker.right-top { position: absolute; background-image: url(../layout/marker.left-bottom.png); background-position: left bottom; }
div.PreviewPositions div.marker.right-bottom { position: absolute; background-image: url(../layout/marker.left-top.png); background-position: left top; }

/* List of orders */
div.Orders { }
div.Orders div.order { margin-bottom: 20px }
div.Orders div.order div.address { font-size: 90% }
div.Orders div.order div.notes { color: red; border-bottom: 1px solid #CCCCCC }

/* QuestionReport drag&drop */
.category.draggable {}
.category.draggable:hover {
	border: 1px solid #666666;
	border-radius: 3px;
	padding: 1px 2px;
	background-color: #EFEFEF;
}

/* Shop Button */
a.ShopButton,
button.BrashButton {
	display: block;
	text-decoration: none;
	box-sizing: border-box;
	padding: 4px; margin: 0 auto;
	width: 60%;
	font-weight: bold;
	border: 1px solid #009900;
	background-color: #00AA00; color: #FFFFFF;
	border-radius: 5px 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
}
a.ShopButton:hover {
	background-color: #00CC00;
}
a.ShopButton { text-align: center }
a.ShopButton.left { margin: 0; padding: 0.3em 1em; width: auto; display: inline-block }
a.ShopButton.disabled { border-color: #999999; background-color: #AAAAAA; }

button.BrashButton {
	background-color: #FF9900;
}
button.BrashButton:hover {
	background-color: #FFC500;
	box-shadow: 0em 0em 0.6em rgba(255, 213, 0, 1);
}
button.BrashButton.right {
	display: inline-block;
	margin-left: auto;
	margin-right: 0;
}

/* Native Drag&Drop */
[draggable] {
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  /* Required to make elements draggable in old WebKit */
  -khtml-user-drag: element;
  -webkit-user-drag: element;
}

@media screen and (max-width: 800px) {
	body.project {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
	}
	/*
	#body {
		order: 1;
		margin-left: 0;
		margin-right: 0;
		width: 100%;
		min-width: 320px;
		max-width: 100%;
	}
	*/
	#s2aBody {
		position: relative;
		top: 0;
		margin-top: 30px;
		order: 1;
		left: 0 !important;
		width: auto;
		min-width: 320px;
		max-width: 100%;
	}
	/*
	#body h1 {
		width: 100%;
	}
	*/
	#navigation {
		order: 2;
		position: static;
		width: 100% !important;
		min-width: 200px;
	}
	#navigation > div.Navigation {
		column-width: 220px; 
	}
	#navigation > div.Navigation > div.block {
		page-break-inside: avoid;
	    break-inside: avoid;
	}
	#navigation > div.Navigation > div.title:first-child,
	#navigation > div.Navigation > div.block:first-child > div.title:first-child {
		margin-top: 0;
	}
	#GlobalBar label.op[for="S2NavSwitch"] {
		display: inline-block;
	}
	input#S2NavSwitch:checked ~ #navigation {
		position: absolute;
		top: 46px;
	}
	div.Navigation ul.controls,
	div.Navigation ul.links {
		padding-left: 6px;
	}
}

/* Resize navigation for larger screens */
@media screen and (min-width: 950px) {
	#navigation { width: 300px; }
	#body { margin-left: 310px }
	#s2aBody {
		left: 310px;
		min-width: 600px;
	}
	
	div.Navigation div.title {
		margin-top: 24px;
	}
	div.Navigation ul.sections > li a {
		padding-top: 3px;
		padding-bottom: 4px;
	}
	div.Navigation,
	div.Navigation ul.sections a,
	div.Navigation ul.controls a,
	div.Navigation span.flag {
		font-size: 125%;
	}
	div.Navigation ul.sections span.s2gi {
		flex: 0 0 25px;
	}
	div.Navigation span.symbol {
		flex: 0 0 16px;
	}
}

/* Print layout */
@media print {
	.no-print,
	#GlobalBar,
	#navigation { display: none; }
	#s2aBody {
		display: relative;
		top: 0;
		left: 0;
		margin: 0;
	}
	div.Operations.fixed,
	div.Operations.absolute {
		top: 0;
	}
}