/* show grid
[class^="span"] { background-color: rgba(255, 0, 0, 0.1); } */

html { overflow-y: scroll; }

/*  Bootstrap Tuning */
.nav-pills > li > a {
	color: #333;
}

label.required {
	font-weight: bolder;
}

.force-word-break {
	-ms-word-break: break-all;

	/* Be VERY careful with this, breaks normal words wh_erever */
	word-break: break-all;

	/* Non standard for webkit */
	word-break: break-word;

	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}

/* make page header slightly slimmer */
.page-header {
	padding-bottom:1px !important;
	margin: 0px 0 10px !important;
}
.page-header > h1 {
	font-size: 34px;
	line-height: 30px;
}
.page-header > h1 > small {
	font-size: 21px;
}

img 			{ border:0; }
#content		{ margin-top:5px; }
#content hr		{ border-style:solid; border-color: #CCC; }
#footer			{ font-size: 12px; color:gray; }
#footer A		{ text-decoration: underline; color:gray; }
a				{ color:blue;	text-decoration: none; }
a:hover 		{ text-decoration: underline; }
.pagger			{ text-decoration: none; }

div#login {
	width:300px;
	margin:30px;
}

/* Konfigurierbare Stammdaten */
.well_for_DDFs {
  position: relative;
  margin-bottom: 20px;
  padding-top: 12px;
  padding-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.well_for_DDFs:after {
  content: "Konfigurierte Stammdaten";
  position: absolute;
  bottom: -1px;
  right: -1px;
  padding: 0px 7px;
  font-size: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  color: #9da0a4;
  border-radius: 4px 0px 4px 0px;
}

.well_for_ADM {
	min-height: 20px;
	padding: 19px;
	margin-bottom: 20px;

  position: relative;
  margin-bottom: 20px;
  padding-top: 12px;
  padding-bottom: 20px;
  background-color: #f2dede;
  border: 1px solid #b94a48;
  border-radius: 4px;
}
.well_for_ADM:after {
  content: "ADM Bereich";
  position: absolute;
  bottom: -1px;
  right: -1px;
  padding: 0px 7px;
  font-size: 10px;
  background-color: #f2dede;
  border: 1px solid #b94a48;
  color: #b94a48;
  border-radius: 4px 0px 4px 0px;
}



/*  SublimeVideo Video Lightbox */
a.zoomable {
  display:block;
  width:180px;
  height:76px;
  background:#000;
  position:relative;
  -webkit-box-shadow:rgba(0,0,0,0.4) 0 4px 10px;
  -moz-box-shadow:rgba(0,0,0,0.4) 0 4px 10px;
  box-shadow:rgba(0,0,0,0.4) 0 4px 10px;
}
a.zoomable span.zoom_icon {
  display:block;
  width:100%;
  height:100%;
  position:absolute;
  top:0;
  left:0;
  background:url(images/sv_zoom_icon.png) no-repeat bottom right;
  opacity:0.3;
  -o-transition:opacity 0.25s;
  -moz-transition:opacity 0.25s;
  -webkit-transition:opacity 0.25s;
  transition:opacity 0.25s;
}
/*  --end--- SublimeVideo */

.borderless tbody tr td, .borderless tbody tr th, .borderless thead tr th {
    border: none;
}

div.help {
	color: #555;

	background-color: #eee;
	border: solid 1px #CCC;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	margin-bottom:5px;
	padding: 10px;
	padding-left: 32px;
	background-repeat: no-repeat;
	background-position: 10px 11px;
	background-image: url(images/help.png);
}

.highlight_special_input {
	border: solid 4px green;
	color: green;
}

.hidden_tools {
	font-size: 120%;
	border: solid 1px #AAA;
	text-align: center;
	background-color: #EEE;
	margin-top: -6px;
	margin-left: 3px;
	padding: 3px;
	border-radius: 5px;
	display: none;
	position: absolute;
}

a.img_stats		{ background-image: url(../img/chart_bar.png); }
.note			{ font-size:smaller; color:gray; line-height: 1.3; }
.red 			{ color:#B94A48; }
.orange 		{ color:#FFA500; }
.black 			{ color:black; }
.green 			{ color:#008000; }
.gray 			{ color:gray; }
.danger			{ color:#B94A48; }
.success		{ color:#468847; }
.lightgreen 	{ color:#00CC00; }
.missing		{ background-color: #FCC; }
.grayBG			{ background-color: #DDD; }
.bold			{ font-weight: bold; }
.blocked_input 	{ cursor:not-allowed !important; background: repeating-linear-gradient(
												  -45deg,
												  #EEE,
												  #EEE 3px,
												  #DEDEDE 3px,
												  #DEDEDE 5px
												);}

.keyboard_key {
	display: inline-block;
	padding: 3px 5px;
	font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
	line-height: 10px;
	color: #555;
	vertical-align: middle;
	background-color: #fcfcfc;
	border: solid 1px #ccc;
	border-bottom-color: #bbb;
	border-radius: 3px;
	box-shadow: inset 0 -1px 0 #bbb;
}


i.fa-white {
  color: white;
}
i.fa-gray {
  color: #999;
}

div.box			{ padding: 4px; }



div#addtodo	 {
	border-radius:4px;
	padding: 10px;
	background: #FFF6B5;
	border: 1px solid #ccc;
}
div#addtodo:after, div#addtodo:before {
	bottom: 100%;
	left: 10%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

div#addtodo:after {
	border-color: rgba(255, 246, 181, 0);
	border-bottom-color: #FFF6B5;
	border-width: 10px;
	margin-left: -10px;
}
div#addtodo:before {
	border-color: rgba(204, 204, 204, 0);
	border-bottom-color: #ccc;
	border-width: 11px;
	margin-left: -11px;
}



div.todo_overdue {
	background-color: #F2DEDE;
	padding:5px;
	margin-bottom: 18px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	border: 1px solid #EED3D7;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
h4.todo_overdue {
	color: #B94A48;
}
div.todo_today {
	background-color: #FCF8E3;
	padding:5px;
	margin-bottom: 18px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	border: 1px solid #FBEED5;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
div.todo_later {
	background-color: whiteSmoke;
	padding:5px;
	margin-bottom: 18px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	border: 1px solid rgba(0, 0, 0, 0.05);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
div.todo {
	vertical-align: middle;
}
div.shadow {
	box-shadow: 0 0 10px #ccc;
}

H1	{ font-size: 14pt; color: black; margin-top : 4pt; font-weight: bold; }
H3	{ margin : 4px; font-size: 10pt; }

/* main headline: Labordatenbank */
a.generic_headline { font-size: 24pt; color: gray; margin-bottom:5px; font-weight: bolder; }
a.generic_headline img { margin-bottom:-2px; }
a.generic_headline:hover { text-decoration : none; }


.parameter_minwidth {
	min-width:70px;
}
.parameter {
	width: 90%;
	min-height: 22px;
	padding: 2px;
	cursor:text;
	border: solid 1px gray;
}
.parameter_anmerkung {
	min-height:22px;
	color:gray;
	padding:2px;
	border-bottom: dashed 1px gray;
	cursor:text;
}
.parameter > form > input {
	font-size:13px;
	line-height:14px;
}

.has_formula_and_entered_value {
	text-decoration:underline;
}


.parameter_anmerkung:hover, .parameter:hover { background-color:#DEDEDE; }


table.bold_labels th { vertical-align:top; text-align:right; }
table.labels th { vertical-align:top; color:#333; text-align:right; font-weight:500; }
table.labels td { text-align:left; }
table.labels td.required { font-weight: bolder !important; }
table.labels th.required { font-weight: bolder !important; }


/* add images to Bootstrap alerts */
table.email th {
	vertical-align:top; color:gray; text-align:right; font-weight:bolder;
}
table.email td {
	padding-left: 10px;
}

.powerbox {
	background-color:#FFF6B5;
	border: solid 1px #CCC;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	margin-bottom:5px;
	padding:10px;
}

div#powerarcarch {
	width:640px;
	padding-left:25px;
	background-repeat: no-repeat;
	background-position: 7px 5px;
	background-image: url(images/search.png);
}

.nobr	{ white-space: nowrap; }
.marked { background-color: #FFF6B5; }

.translator { background-color:#9F9; }
.translation_missing { background-color:#FCC; }

li#searchfield { height: 25px; padding: 5px; border-top: 1px solid #AAA; }

table.small_icons img { height: 12px; }

table.simple	{ border-spacing: 0px; border-collapse: collapse; border: 1px solid gray; }
table.center_td td { vertical-align:middle; }
table.simple th { background-color: #CCC; }
table.simple td, table.simple th { padding: 2px; border-spacing: 0px; border-collapse: collapse; border: 1px solid gray; }
table.simple thead th { background-color: #fff; border: solid 0px #fff; text-align:right; }
table.simple thead tr td { border: solid 0px #fff; background-color: #fff; }

table.form th { text-align:right; }
table td { vertical-align:top; }

div.top-pagginator {
	text-align:right;
	padding:0px;
	margin:0px;
	margin-top:-10px;
}

table.indextable {
	padding-top: 0px;
	margin-top: 0px;
	border-collapse: separate;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: solid 1px #888;
}
table.indextable th {
	background-color: #EEE;
	font-weight: bold;
	border-right: solid 1px #888;
	border-bottom: solid 1px #888;
}
table.indextable th:first-child {
	-webkit-border-top-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	border-top-left-radius: 4px;
}
table.indextable tr#bottomline td:last-child {
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-radius-bottomright: 4px;
	border-bottom-right-radius: 4px;
}
table.indextable tr#bottomline td:first-child {
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-bottom-left-radius: 4px;
	border-right-width: 0px;
}

table.indextable td.starRating, table.indextable td.sample_date {
	text-align: center;
}

table.indextable th.status2 {
	text-align: center;
	border-right-width: 0px;

	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	border-top-right-radius: 4px;
}

table.indextable td {
	border-right: solid 1px #EEE;
}
table.indextable td.sample_name {
	width: 80px;
}

table.indextable td:not(.order_details) {
	line-height: 16px;
}

table.indextable td.status1, table.indextable td.status2  {
	background-color: #FCF8E3;
	border-left-width: 0px;
	border-right-width: 0px;
}
table.indextable td.status2 {
	min-width: 14px;
	width: 14px;
	text-align: center;
}
table.indextable td.status1 {
	width: 25px;
}

table.indextable input {
	margin: 0px 2px 0px 0px;
}



.ordername { font-size: 11pt; font-weight: bold; }

.changeStatus select { z-index:99; width:80px; margin-left:-70px; }

table.inputtable {
	border-collapse: separate;
	border-spacing: 1px;
	border: none 0px black;
	background-color: white;
}
table.inputtable th { font-weight:normal; }
table.facts 		{ border-collapse: separate; border-spacing: 0px; border: none 0px black; background-color: white; }
table.facts th 		{ font-size:11px; font-weight:normal; text-align:center; padding: 2px; }

.starRating { text-align: center; }
.linkstyle, .hand, .toggler { cursor: pointer !important; }
.handle { cursor: move; }
#sortable { list-style-type: none; }
.sortable { list-style-type: none; }
i.change_order { cursor: move; }
.hidden { display:none; }
.d-none { display:none !important; }
.done { text-decoration: line-through; color: gray; }

div.error_message {
	padding:5px;
	padding-left:30px;
	background-image: url(images/error.gif);
	background-repeat: no-repeat;
	color:#B94A48;
	background-color:#FFF6B5;
}
.customerDetails { font-size:9pt; }
.customerDetails th {
	color:#666;
	font-weight:normal;
	font-size:7.5pt;
	vertical-align:top;
	text-align:right;
}
.lightBG { padding:2px; background-color:#CCC; border: solid 1px #AAA; }
div.lightBg th {
	color:#222;
	padding-right:5px;
	vertical-align:top;
}

.highlight {
	background-color:#FFF6B5;
	font-weight:bold !important;
	color:#B94A48 !important; }
.centerBox { padding: 10px; margin:30px; width: 500px; background-color:#FFF6B5;
	border: solid 1px #DDD5C4;}

.error { color:#B94A48; }
.warning {
	color:#B94A48;
	background-image: url(images/error.gif);
	background-repeat: no-repeat;
	padding-top:0px;
	padding-left:30px;
	padding-bottom:10px;
}
.cancel 		{ color:#B94A48; text-decoration: underline; padding: 1px; }
.cancel:hover	{ color:white; background-color:#B94A48; text-decoration: none; }

th.sorter > a {
	text-decoration: none;
	color: black;
	text-align: left;
	cursor: pointer;
	padding-right: 20px;
	background-image: url(images/bg.gif);
	background-position: center right;
	background-repeat: no-repeat;
}

th.sorter.ASC > a {
  background-image: url(images/asc.gif);
}

th.sorter.DESC > a {
  background-image: url(images/desc.gif);
}




/* ======= STAR-RATER ======== */
.star-rating,
.star-rating a:hover,
.star-rating a:active,
.star-rating a:focus,
.star-rating .current-rating{
background: url(images/star.gif) left -1000px repeat-x;
}
.star-rating{
position:relative;
width:125px;
height:25px;
overflow:hidden;
list-style:none;
margin:0;
padding:0;
background-position: left top;
}
.star-rating li{
display: inline;
}
.star-rating a,
.star-rating .current-rating{
position:absolute;
top:0;
left:0;
text-indent:-1000em;
height:25px;
line-height:25px;
outline:none;
overflow:hidden;
border: none;
}
.star-rating a:hover,
.star-rating a:active,
.star-rating a:focus{
background-position: left bottom;
}
.star-rating .current-rating{
z-index:1;
background-position: left center;
}

.inline-rating{
display:-moz-inline-block;
display:-moz-inline-box;
display: inline-block;
vertical-align: middle;
}

.small-star{
width:50px;
height:10px;
}
.small-star,
.small-star a:hover,
.small-star a:active,
.small-star a:focus,
.small-star .current-rating{
background-image: url(images/star_small.gif);
line-height: 10px;
height: 10px;
}
/* ======= /STAR-RATER ======== */

.overflow-auto {
  overflow: auto;
}

.cm-highlight {
  padding-left: 15px;
  background: white;
  /* border: none; */
  border-radius: 0;
  border-left: 5px solid rgba(0,83,159,0.65);
}
div.cm-s-mdn-like .CodeMirror-activeline-background {
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	background: rgba(239, 255, 255, 0.1) !important;
}

.editor-box {
	padding-bottom: 1em;
	margin-bottom: 1em;
	border-bottom: 2px solid #ccc;
}
.editor-box .CodeMirror {
	border: 1px solid #ccc;
	height: 400px;
}

.highcharts-credits { display: none; }

.responsive-table {
	max-width: 100%;
	overflow-x: auto;
}

.label.label-purple {
	background-color: #6f42c1;
}

.loading-overlay {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}
.loading-overlay.fixed {
	position: fixed;
}

.full-width {
  width: calc(100vw - 62px);
  gap: 2px;
}

.tc-well {
  height: 500px;
  box-sizing: border-box;
  margin-bottom: 0;
}

.result-scroll {
  height: 100%;
  overflow-y: scroll;
}

.y-scroll {
	overflow-y: scroll;
}

.whitespace-pre {
	white-space: pre;
}

#chart {
	height: initial !important;
}