/* app.css		DVR
 * 2020-08-14	wb	input email = text width
 * 2020-05-19	wb	Framework adaption
*/
/** Type, Attribute, Pseudo selectors  */
body {
	position: absolute;
	margin: 0; border: 0; padding: 0;
	background-color: #F4F4F4;
	color: #121212;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin-left: 1%;
	width: 98%;
}

a {text-decoration: none; background-color: transparent}
a:link, a:visited {color: #003399}
a:hover, a:active, a:focus {text-decoration: underline}

caption {font-weight: bold}

div {
	display: block;
	margin: 0;
	border: 0;
	padding: 0;
	width: auto;
	height: auto;
}

dt {font-weight: bold}

/* https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms/Styling_HTML_forms */
button, input, select, textarea {
	font-family: inherit;
	font-size: 100%;
	box-sizing: border-box;
}

h1 {font-size: 180%; font-weight: bold}
h2 {font-size: 150%; font-weight: bold}
h3 {font-size: 125%; font-weight: normal}
h4 {font-size: 110%; font-weight: normal}
h5, h6 {font-size: 100%; font-weight: normal}

img {border: 0}

input {
	display: inline;
	margin: 0;
	text-align: left;
}
input[type=number] {text-align: right}
input[type=submit] {cursor: pointer}
input + input[type=submit] {margin-left: 8px}
input[type=submit] + input[type=submit] {margin-left: 40px}
input:active, input:focus {background-color: #FFB}

label {
	cursor: pointer;
	display: inline;
	margin: 0;
	border: 0;
	padding: 0;
	width: auto;
	text-align: left;
}
input + label {
	margin-left: 0.2em;
}

p {line-height: 150%}

select {
	display: inline-block;
	margin: 0;
	text-align: left;
}

table {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	caption-side: top;
	empty-cells: show;
	border-collapse: collapse;
}
table input[type=submit] + input[type=submit] {margin-left: 4px}
td, th {border: 1px solid #AAA; padding: 4px}
tbody tr:nth-child(odd) {background-color: #EEE}
tbody tr:nth-child(even) {background-color: #CCC}
tbody tr:hover {background-color: #FFC}

textarea {
	display: inline-block;
	margin: 0;
	text-align: left;
}
textarea:active, input:focus {background-color: #FFB}

ul {list-style: none; margin: 0; padding-left: 20px}



/** Class selectors  */
/* Status colors  */
*.ok {color: #339A33}
*.warn {color: #FC5}
*.error {color: #F55}
/* Other */
*.clear {clear: both}
*.multicol {column-width: 316px; column-gap: 4px}
*.break_avoid {break-inside: avoid}



/** Type + Class selectors  */
/* Generic */
div.submit {margin-top: 16px}
input[type=submit].submit,
div.submit input[type=submit] {
	background-color: #143C8C;
	color: white;
	padding: 8px;
	border: none;
}

input.hidden {display:none}
input.warn {background-color: #FFE097}
input.error {background-color: #FDD}

label.required::after, label.mandatory::after {content: "*"}

select.warn {background-color: #FFE097}
select.error {background-color: #FDD}

textarea.warn {background-color: #FFE097}
textarea.error {background-color: #FDD}

ul.warn {background-color: #FFE097}
ul.error {background-color: #FDD}
ul.select {
	display: inline-block;
	margin: 0;
	border: 0;
	padding: 0;
	list-style-type: none;
	list-style-image: none;
}
ul.select li {
	margin-left: 1.25em;
	text-indent: -1.25em;
}
ul.select.inline li {
	display: inline-block;
	margin-right: 1em;
}

/* O3baseWebElemDoc  */
*.wd.status, *.wd.info {
		font-size: larger;
		font-weight: bold;
}

/* O3baseWebObj  */
*.wo.status {font-weight: bold}
div.wo.edit {
		margin-bottom: 10px;
}

/* O3baseWebElemCmp */
div.cmp {margin-bottom: 0.5em; break-inside: avoid}
label.cmp {
	display: inline-block;
	margin-right: 1%;
	width: 28%;		/* see div.cmp div.elem */
	vertical-align: top;
	text-align: right;
}
div.cmp div.elem {
	/*  Compound inner Container for Elem, Error */
	display: inline-block;
	width: 69%;
}
div.cmp div.elem input[type=text],
div.cmp div.elem input[type=email],
div.cmp div.elem textarea {
	width: 99%;
}
div.cmp div.elem input[type=text][size] {
	width: auto;
}

/* Container for Liquid-Layout / 2 column */
div.con {
	display: inline-block;
	vertical-align: top;
	width: 49%;
	min-width: 28em;
}
div.con div.cmp label.cmp {
	width: 33%;
}
div.con div.cmp div.elem {
	width: 64%;
}
/* Variante mit schmalen Label-Feldern */
div.con.small div.cmp label.cmp {
	width: 28%;
}
div.con.small div.cmp div.elem {
	width: 69%;
}

/* Data-Table */
table.data thead tr, table.data tfoot tr {background-color: #B9D1FF}

/* Info-Table: first-column: label */
table.info tbody tr > th:first-child {text-align: right}
table.info tbody tr > th:first-child[colspan] {text-align: center}
table.info tbody tr {background-color: #EEE}
table.info tbody tr:hover {background-color: #FFC}

/* Pivot-Table, O3appPivot */
table.pivot thead th {text-align: center}
table.pivot tbody th, table.pivot tbody td {text-align:right}
table.pivot th.sum, table.pivot td.sum {background-color: #FFE}

/* Menu List */
ul.menu,
ul.menu ul {
	list-style-type: none;
	list-style-image: none;
}
ul.menu li {
	margin-top: 0.25em;
	margin-bottom: 0.25em;
	font-size: larger;
	font-weight: bold;
}
ul.menu li li {
	font-size: smaller;
}
ul.menu li li li {
	font-weight: normal;
}

/* Tooltip */
span.tooltip {
	position: relative;
}
span.tooltip img {
	vertical-align: middle;
}
span.tooltip span {
	display: none;
}
span.tooltip span.info {
	background: #9CCAFF;
	border: 1px solid #003675;
}
span.tooltip span.warn {
	background: #FFF86A;
	border: 1px solid #E26106;
}
span.tooltip span.error {
	background: #FFBFBF;
	border: 1px solid #570F0B;
}
span.tooltip span img {
	position: absolute;
	top: 0; left: -24px;
	margin: 0; border: 0; padding: 0;
}
span.tooltip span em {
	display: block;
	padding-top: 0.25em;
	padding-bottom: 0.5em;
	font-size: larger;
	font-weight: bold;
}
span.tooltip:hover span {
	display: block;
	position: absolute; top: 20px; right: 0; z-index: 99;
	border-radius: 5px;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.1) ;
	margin: 0;
	padding: 10px 10px 10px 34px;
	width: 20em;
}



/** Top Navigation, Wed.Head.nav */
div#nav {
	background: white;
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	border: 0;
	padding: 10px 0;
	width: 21%;
	text-align: center;
}
div#nav a {
	margin: 0;
	font-size: larger;
	font-weight: bold;
}
div#logo {
	margin: 0;
	margin-left: 22%;
	border: 0;
	padding: 10px 0;
	overflow: hidden;
	min-width: 780px;
}
div#logo img {
	margin-right:2px;
}

/* Servlet-Menu, Wed.Head.navTmp */
div#menu {
	background: white;
	position: absolute;
	float: none;
	top: 100px;
	left: 0;
	bottom: 0;
	margin: 0;
	border: 0;
	padding: 20px 0;
	width: 21%;
	height: auto;
	min-height: 70em;
	color: #121212;
}
div#menu img {
	max-width: 90%;
	padding: 0 4%;
}
div#menu ul.menu {
	background: white;
	padding: 5px 4%;
}
div#menu ul.menu *.active {
	border-bottom: 2px solid #F00;
	text-decoration: none;
}
/* Menu List */
div#menu ul.menu,
div#menu ul.menu ul {
	list-style-type: none;
	list-style-image: none;
	margin: 0;
	border: 0;
	padding: 0;
}
div#menu ul.menu li {
	margin: 0;
	margin-bottom: 0.5em;
	border: 0;
	padding: 0;
	font-size: larger;
	font-weight: bold;
}
div#menu ul.menu li li {
	margin-top: 0.2em;
	margin-bottom: 0.2em;
	padding-left: 1em;
	font-size: smaller;
}
div#menu ul.menu li li li {
	font-size: inherit;
	font-weight: normal;
}
div#menu ul.menu li li li li {
	font-size: smaller;
}
div#menu ul.menu li li li li li {
	font-size: inherit;
}

/** Formular */
form#form, div#form {
	margin: 20px 0 20px 22%;
	border: 0;
	padding: 0;
	width: auto;
}



/** Print */
@media print {
	td, th {
		border: 1pt solid black;
	}
	table tbody tr,
	table thead tr,
	table tfoot tr {background: transparent}

	table.data thead tr.nav,
	table.data tfoot tr.nav {
		display: none;
	}

	div#nav,
	div#menu {
		display:none;
	}
	form#form {
		margin:0;
	}
}
