body {
	font-weight: 400;
}

span.highlight {
	background-color: #FFFFAA;
}

#lightbulb {
  font-size: 100px;
  display: block;
  text-align: center;
}

.badge-primary {
	background-color: #007aff !important;
}

.badge-success {
	background-color: #4cd964 !important;
}

.badge-info {
	background-color: #34aadc !important;
}

.badge-warning {
	background-color: #ffcc00 !important;
}

.badge-danger {
	background-color: #ff3b30 !important;
}
@media (max-width: 992px) { 
.btn-group.justified:not(.home-navbar-bottom) > .btn {
	display: block !important;
	width: 100%
}
}

.clear-all {
	clear:both;
}

.bigger {
	font-size: 130%;
}

.verysmall {
  font-size: 50%;
}

.text-small {
  font-size: 75%;
}

.text-normal {
	font-weight: normal;
}

.text-bold {
	font-weight:  bold;
}

.text-italic {
	font-style: italic;
}

.text-underline {
	text-decoration: underline;
}

.btn-primary .text-muted {
	color: #C0C0C0;
}

.inlineblock {
	display: inline-block;
}

label.field-label {
	font-weight: normal;
	font-size: 85%;
	margin-bottom: 0;
}
.field-label {
	text-decoration: underline;
	color: #777777;
}
.text-warning.field-label {
	text-decoration: underline;
	color: #66512c;
}

a.field-label {
	color: #007aff;
}
.valigntop, .valigntop td {
	vertical-align: top;
}
.valigncenter, .valigncenter td, .table.valigncenter, .table.valigncenter td, .table.valigncenter tbody td {
	vertical-align: middle;
}
.strikethrough {
	text-decoration:line-through;
}
.no-bgcolor {
	background-color: inherit !important;
}
.break-word {
	word-wrap: break-word;
}
.no-break-word {
	word-wrap: keep-all;
	white-space: nowrap;
}
.callaction {
	cursor: pointer;
}

div.field-label, span.field-label, a.field-label {
	font-size: 80%;
}

.width-100perc {
	width: 100%;
}

.width-80perc {
	width: 80%;
}

.floatleft {
	float: left;
}

.marginright10px {
	margin-right: 10px;
}

.marginleft10px {
	margin-left: 10px;
}

.paddingright10px {
	padding-right: 10px;
}

.marginright10px.text-small {
	line-height: 1.3;
}

.thickborder {
	border: 2px solid black;
	border-radius: 5px;
}

.row-margin-top .row, .row.row-margin-top {
	margin-top: 20px;
}

h2.title-left {
	float: left !important;
}
h2.title-right {
	float: right !important;
	text-align: right;
}
@media screen and (max-width: 767px) {
	h2.title-left {
		width: 100%;
		float: none !important;
	}
	h2.title-right {
		width: 100%;
		float: none !important;
	}
}
@media screen and (min-width: 767px) and (max-width: 1199px) {
h2.title-left {
	width: 59%;
}
h2.title-right {
	width: 40%;
}
}
@media screen and (min-width: 1200px) {
h2.title-left {
	width: 69%;
}
h2.title-right {
	width: 30%;
}
}

.timereport.thickborder, .timerecord.thickborder, .inoutexpenses.thickborder {
	padding-top: 5px;
	padding-bottom: 10px;
	margin-top: 2px;
	margin-bottom: 4px;
}
.timereport.thickborder, .inoutexpenses-date.thickborder {
	border-color: #0051a8;
}
.timerecord.thickborder, .inoutexpenses-price.thickborder {
	border-color: #808080;
}
.timerecord .table {
	margin-bottom: 5px;
}

.timerecord_status, .timerecord_status_inactive, .timerecord_status_booked, .timerecord_status_bookednc, .timerecord_status_running, .timerecord_status_failed {
	padding: 2px 3px 2px 3px; 
	font-weight:bold;
	border-radius: 3px;
	font-size: 80%;
}
.timerecord_status {
	background: #81b0cf;
	color: white; 
}
.timerecord_status_running {
	background: #bcb8a3;
	color: white; 
}
.timerecord_status_booked {
	background: #81cfb0;
	color: white; 
}
.timerecord_status_bookednc {
	background: #b1cfb0;
	color: black; 
}
.timerecord_status_inactive {
	background: #cfcfcf;
	color: white; 
}
.timerecord_status_failed {
	background: #cf8181;
	color: white; 
}

.docpart_status {
	padding: 2px 3px 2px 3px; 
	font-weight:bold;
	border-radius: 3px;
	font-size: 80%;
	background: #cfcfcf;
	color: white; 
}

section.site_fields {
	padding: 5px;
	margin-bottom: 2px;
}
.site_fields.thickborder {
	border-color: #8c8c8c;
}
section.dlvr_fields {
	padding: 5px;
	margin-bottom: 2px;
}
.dlvr_fields.thickborder {
	border-color: #0051a8;
}

/*
** see https://stackoverflow.com/questions/13955163/imitating-a-blink-tag-with-css3-animations
*/
.blink1s {
  animation: blink-animation 1s steps(5, start) infinite;
  -webkit-animation: blink-animation 1s steps(5, start) infinite;
}
@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
@-webkit-keyframes blink-animation {
  to {
    visibility: hidden;
  }
}


.vspacing,
.scrollable-footer > .btn,
.sidebar-right .btn {
	margin-top: 1px;
	margin-bottom: 1px;
}
.vspacingbig {
	margin-top: 10px;
}

.vspacing.more {
	margin-top: 10px;
}
.vbordertop {
	border-top: 1px solid #808080;
	padding-top: 2px;
}
.vborderleft {
	border-left: 1px solid #808080;
	padding-left: 5px;
}
.vspacingbig.vborderleft {
	margin-bottom: 10px;
}

.app-content .scrollable-content::after {
	content: " ";
	display: block;
	height:25px;
}

h1 {
  padding: 0;
  margin: 10px 0;
}

.chat-user-avatar {
  font-size: 40px;
  background: #ccc;
  padding: 5px 10px;
}

.feature-icon {
  font-size: 44px;
  padding: 0;
  line-height: 68px;
  width: 72px;
  text-align: center;
  opacity: .8;
  border: 3px solid;
  border-radius: 200px;
  height: 72px;
  margin-bottom: 20px;
}

.feature-icon.fa-gamepad {
  line-height: 60px;
}

.feature-icon.fa-tachometer {
  line-height: 60px;
}

.app-content-loading {
  text-align: center;
  height: 100%;
  width: 100%;
  background: #fff;
  position: relative;
}

.loading-spinner {
  position: absolute;
  font-size: 50px;
  left: 50%;
  top: 50%;
  margin-left: -25px;
  margin-top: -25px;
}

.carousel-example-content {
  position: absolute;
  font-size: 50px;
  line-height: 50px;
  width: 100%;
  text-align: center;
  top: 50%;
  margin-top: -50px;
}


.carousel-item {
  display: block;
  color: #444;
  background: #f4f4f4;
  box-shadow: 0px 0px 3px rgba(0,0,0,0.5);
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  transition: opacity 0.3s;
  opacity: 1;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


.carousel {
  padding: 20px;
  overflow: visible;
}

.carousel-inner {
  position: relative;
  overflow: visible;
}

.carousel>.item, .carousel-item {
  top: 0;
  left: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
}

.carousel-item {
  -webkit-transition: -webkit-transform 500ms;
  -moz-transition: -moz-transform 500ms;
  transition: transform 500ms;
}

[drag-to-dismiss]{
  transform: translate(0,0); /* NOTE: this is required to prevent mobile webkit issues */ 
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: opacity 300ms, -webkit-transform 300ms;
  -moz-transition: opacity 300ms, -moz-transform 300ms;
  transition: opacity 300ms, transform 300ms;
  opacity: 1;
}

.notices-container {
  overflow-x: hidden;
}

.dismiss {
  -webkit-transition: opacity 300ms, -webkit-transform 300ms;
  -moz-transition: opacity 300ms, -moz-transform 300ms;
  transition: opacity 300ms, transform 300ms;
  opacity: 0.5;
}

.dismitted {
  -webkit-transition: opacity 300ms, -webkit-transform 300ms;
  -moz-transition: opacity 300ms, -moz-transform 300ms;
  transition: opacity 300ms, transform 300ms;
  opacity: 0;
}

.list-group-item-home {
  padding: 20px; 
}

.list-group-item-inactive,
.list-group-item-inactive:focus {
  background-color: #eeeeee;
  color: #777777;
} 
.list-group-item-inactive.text-danger,
.list-group-item-inactive.text-danger:focus {
    color: #a94442;
}

.d2b-chip {
	cursor: default;
	border-radius: 16px;
	display: block;
	min-height: 32px;
	height: auto;
	line-height: 32px;
	margin: 8px 8px 0 0;
	padding: 0 12px 0 12px;
	float: left;
	box-sizing: border-box;
	max-width: 100%;
	position: relative;
	font-family: Roboto, "Helvetica Neue", sans-serif;
	font-size: 13px;
	background-color: rgb(224,224,224);
	color: rgb(66,66,66);
}
h1 .d2b-chip, h2 .d2b-chip, h3 .d2b-chip, h4 .d2b-chip, d2b-labelinstance.no-float .d2b-chip {
	display: inline-block;
	float: none;
	font-size: inherit;
}
.speechbubble .d2b-chip {
	display: inline-block;
	float: none;
	line-height: 32px;
}
.strikethrough .d2b-chip {
	text-decoration: line-through;
}
.row > div > d2b-labelinstance > .d2b-chip {
	margin: 0;
}

h4.inactive {
	color: #777777;
}
div.info h4 {
	margin-top: 10px;
}
table.inactive tr, table.inactive td {
	border-color: #C0C0C0;
}
table.inactive td, table.inactive th {
	color: #777777;
}

table.table td > md-select {
	margin: 0;
}

table.table.table-striped tr:hover {
	background-color: #FFFFC5;
}

pre {
  text-align: left !important;
}

.likepre {
    display: block;
    unicode-bidi: embed;
    font-family: monospace;
    white-space: pre;
}

input.scrollable-header {
  border-bottom: 3px solid #ccc;
}

.toucharea {width: 100%; height: 100%;}


.panel-title > .otherinfo {
	color: #909070;
}

.panel-title > .text-primary {
	color: #007aff;
}
.panel-title  .btn.btn-primary, .panel-title  > .btn.btn-primary, h4 .btn-primary .small{
	color: #ffffff;
}
.panel-title .btn.label {
	font-size:10.5px;
	line-height:10.5px;
}

.panel-body > .description {
	color: #9f9faf;
}

.panel-body .sublist {
	margin-top: 15px;
}
.panel-body .sublist .panel-heading {
	padding: 3px 0;
}
.panel-body  .sublist .panel-body {
	padding: 3px 10px;
}

.objstatus {
	color: #86869f;
}
.objstatus-highlight {
	color: #ff869f;
}

.count {
	font-size: 80%;
	color: #86869f;
	float:right;
}

.whframe, .trframe {
	margin: 15px 20px 15px 20px;
	min-height: 95px;
	padding: 6px 5px 6px 5px;
	min-width: 75px;
}
.trlrframe {
	margin: 0 30px 0 30px;
}
.trlframe {
	margin: 0 0 0 30px;
}
.trrframe {
	margin: 0 30px 0 0;
}
.whframe {
	background-color: white;
	border: 1px solid #eeeeee;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
}
.halfwidthframe {
	min-width: 37px;
}
.fr-blue {
	background-color: #007aff;
	color: white;
	border-color: #006ee6;
}
.fr-blue:hover {
  color: #ffffff;
  background-color: #0062cc;
  border-color: #0051a8; 
}
.fr-lightblue {
	background-color: #77caff;
	color: black;
	border-color: #006ee6;
}
.fr-lightblue:hover {
  color: #ffffff;
  background-color: #47aaff;
  border-color: #0051a8; 
}
.fr-info, .fr-info:hover {
	background-color: #d9edf7;
	border-color: #007ef6;
}
.fr-info:hover {
	border-color: #004ee6;
}
.fr-green {
  color: #000000;
  background-color: #6ce984;
  border-color: #37d552; 
}
.fr-green:hover {
  color: #ffffff;
  background-color: #2ac845;
  border-color: #24aa3b; 
}
.frb-green {
  border: 1px solid #24aa3b; 
}
.fr-yellow {
	background-color: #ffff7a;
	color: black;
	border-color: #e6e66e;
}
.fr-yellow:hover {
  color: #ffffff;
  background-color: #cccc62;
  border-color: #a8a851; 
}
.fr-lightyellow {
	background-color: #ffffef;
	color: black;
	border-color: #e6e66e;
}
.fr-lightyellow:hover {
  color: #303080;
  background-color: #e5e592;
  border-color: #a8a851; 
}
.whframe > h3, .trframe > h3, .inframe > h3 {
	margin:0;
}
.whframe > .txt, .trframe > .txt, .inframe > .txt {
	padding-top: 5px;
	min-height: 35px;
	color: #777777;
}
.whframe.text-normal {
	color: #404040;
}
.trframe a {
	color: white;
}
.trframe  .btn-center {
	margin-top: 20px;
}
.fr-headline {
	margin: -5px -5px 5px -5px;
	padding: 5px;
	border-bottom: 1px solid #c0c0c0;
	min-height: 31px;
}
.fr-headline-yellow {
	background-color: #ffff7a;
	color: black;
}
.fr-headline-info {
	background-color: #d9edf7;
	color: black;
}
.fr-headline-inactive {
	background-color: #f7f7f7;
	color: #808080;
}

.list-group > .help {
	background-color: white;
}

.help {
	border: 1px solid #e6b800;
	padding: 5px;
	font-size: 85%;
	color: #777777;
}
.help .question-logo {
	font-size: 32px;
	float:left;
	margin-right: 8px;
	margin-bottom: 3px;
	color: #ffcc00;
}
.helplogo.question-logo > a {
	color: #ffcc00;
}
.helplogo.question-logo:hover > a:hover {
	color: #ffaa33;
	border: 1px solid #e6b800;
}
.help  ul {
	list-style-position: inside;
	padding: 0;
}

a.help {
	font-weight: bold;
	font-style: italic;
	border: 0;
	color: #404040;
	font-size: inherit;
	margin: 0;
	padding: 0;
}
a.help:after {
	font: normal normal normal 14px/1 FontAwesome; 
	content: " \f059"; 
}

.statistic h1, .statistic h2, .statistic h3, .statistic h4, .statistic h5 {
	margin-bottom: 2px;
}
.statistic h6 {
	margin-bottom: 7px;
}

/*
** @brief d2b labels #0000271
** @link http://stackoverflow.com/questions/12124953/can-the-before-and-after-pseudo-elements-inherit-height-from-the-parent-elemen
<div class="parent">
    <div class="child">
    </div>
</div>
*/
.d2blabel-parent {
	min-height: 20px;
	display: inline-block;
	margin: 3px;
}

.d2blabel-parent > .d2blabel-child {
	width: inherit;
	min-width: 150px;
	height: inherit;
	display: inline-block;
	margin: 0px 0px 0px 13px;
	padding: 3px 5px;
	background-color: #FFC0C0;
	color: red;
	border-color: #ffc0c0;
}

.d2blabel-parent > .d2blabel-child:before {
	content: '';
	position: absolute;
	width: 0px;
	height: inherit;
	border-left-color: transparent;
	border-top-color: transparent;
	border-bottom-color: transparent;
	border-right-color: inherit;
	border-style: solid;
	border-width: 13px;
	margin-left: -31px;
	margin-top: -3px;
}

/*
** @brief d2b article gui cash-cube cantina #0000402 and #0000401
*/
div.d2barticle-parent, div.d2barticlegroup-parent {
	height:170px; 
	background-color:white; 
	color:black; 
	margin: 0px; 
	padding: 6px 3px 3px 3px; 
	border:1px solid black;
	float:left; 
	text-align:center; 
	overflow:hidden;
}
div.d2barticle-child, div.d2barticlegroup-child {
	min-height:110px;
	/*word-break: break-all;*/
  /* @link https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/ */
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}
div.d2barticlegroup-parent {
	border:1px solid grey;
	background-color: inherit;
}
div.d2barticlegroup-middle{
	background-color: white;
	position: absolute;
	top:4px;
	bottom:4px;
	left:4px;
	right:4px;
	margin: 4px;
	overflow: hidden;
	padding-top: 2px;
}
div.d2barticlegroup-parent img, div.d2barticle-parent img {
	max-height: 100px;
}

@media screen and (max-width: 767px) {
	div.d2barticle-child {
		font-size: 75%;
	}
}

.articlegroupTreeDetail {
	margin-top: 4px;
}
.articlegroupTreeDetail h3 {
	padding: 0;
	margin-bottom: 0;
}
.articlegroupTreeElement, h2.articlegroup {
	border-radius: 3px;
	padding: 3px 6px 3px 6px;
}
.articlegroupTreeInclude {
	margin-left: 10px;
	padding-top: 5px;
	padding-left: 5px;
	border-left: 2px solid #808080;
}

span.d2bai-status, span.d2bai-rma, span.d2bai-status-delivered, span.d2bai-status-in-delivery {
	background: #81b0cf;
	color: white; 
	padding: 2px 3px 2px 3px; 
	font-weight:bold;
	border-radius: 3px;
	font-size: 80%;
	margin-right: 2px;
} 
.otherinfo.d2bai-status-in-delivery, span.d2bai-status-in-delivery {
	background: #cfcf81;
	color: white; 
} 
.otherinfo.d2bai-status-delivered, span.d2bai-status-delivered {
	background: #81cf81;
	color: white; 
}
span.d2bai-rma {
	background: #8181cf;
	color: white; 
}
span.d2bai-status > a, span.d2bai-rma > a {
	color: white; 
}

.d2bai-optional {
	font-style: italic;
	color: #808080;
	font-size: 80%;
}

.otherinfo.d2bai-optional:before {
	content: "(";
}
.otherinfo.d2bai-optional:after {
	content: ")";
}
.d2bai-status.d2bai-optional {
	color:white;
	background: #c0c0c0;
}

.position-optional {
	color: #A0A0A0;
}
.position-optional::before {
	content: '(';
}
.position-optional::after {
	content: ')';
}

.brutto, .brutto0 {
	font-style: italic;
}
.brutto::after {
	font-size: 65%;
	content: " inkl.";
}
.brutto0::after {
	font-size: 65%;
	content: " netto";
}

div.labelinstance-list4object {
	margin-bottom: 20px;
}

.btn-group-xs > .btn-default.active, 
.btn-group-xs > .btn-default.active:focus {
  color: #ffffff;
  background-color: #4cd964;
  border-color: #00e66e;
}

/*
** @brief main-ooi - OFFER/ORDER/INVOICE
*/
div.mainatt-ooi-inline {
	width:105px; margin-right: 10px; margin-bottom:4px;
	float: left;
	text-align: center;
}
/*
** @brief main attachment bordered in attachment.mainview.html
*/
div.mainatt, div.mainatt-big {
  outline-style: dashed;
  outline-color: #aEaEaE;
  outline-width: 2px;
  outline-offset: -2px; 
}
div.mainatt-big {
  outline-width: 5px;
  outline-offset: -5px; 
}

/*
** @brief buyproduct css classes - see main.buyproduct.html
** see http://stackoverflow.com/questions/8865458/how-to-align-text-vertically-center-in-div-with-css
*/
.buyproduct-package-list > .col-buyproduct, .buyproduct-package-list > .hidden-xs > .col-buyproduct  {
	height:68px;
	line-height: 68px;
}
.col-buyproduct > span {
	display: inline-block;
	vertical-align: middle;
	line-height: normal;
}
/*
** @brief buyproduct css classes - see main.buyproduct.html
** see http://stackoverflow.com/questions/16629561/css-vertical-align-middle-not-working
*/
.dontuse-col-buyproduct-old {
	height:68px;
	vertical-align: middle;
	/* Internet Explorer 10 */
	display:-ms-flexbox;
	-ms-flex-align:center;
	/* Firefox */
	display:-moz-box;
	-moz-box-align:center;
	/* Safari, Opera, and Chrome */
	display:-webkit-box;
	-webkit-box-align:center;
	/* W3C */
	display:box;
	box-align:center;
}


md-input-container.md-input-has-value > md-switch {
	margin-top: 3px;
	margin-bottom: 3px;
}

.modal-footer md-checkbox .md-label {
	vertical-align: initial;
}

/*
** .align-md-input-to-row = ALIGN the normal text (e.g. label) to same row as the md-input elements
**
** <div class="col-md-3 col-xs-12 align-md-input-to-row">
** 		<b>{{SCHEMA[it._type].price.uiname}}:</b>
** </div>
** <div class="col-md-9 col-xs-12">
** 		<md-input-container>
** 			<input ng-model="objData['site_discount']" />
** 		</md-input-container>
** </div>
*/
.align-md-input-to-row {
	padding-top:7px;
}

.md-button.md-fab.md-micro {
  line-height: 10px;
  width: 24px;
  height: 24px; 
  min-height: 24px; 
  padding: 0px 6px;
}

.md-button.md-default-theme.md-warn.md-fab, .md-button.md-warn.md-fab, .md-button.md-default-theme.md-warn.md-raised, .md-button.md-warn.md-raised, .md-button.md-default-theme.md-fab, .md-button.md-fab {
	color: rgba(255,255,255,0.87);
}

.md-autocomplete-suggestion .labelinstance {
	padding: 0px 6px;
}
.md-autocomplete-suggestion .labelinstance ._ref {
	padding: 0px 6px;
}

/*
**  AngularJS-Components/dd-text-collapse
*/
.collapse-text-toggle {
    font-size: 0.9em;
	color: #007aff;
    cursor: pointer;
}
.collapse-text-toggle:hover {
    color: #222222;
}
.collapse-text-toggle:before {
    content: '\00a0(';
}
.collapse-text-toggle:after {
    content: ')';
}

@media (max-width: 1500px) {
  .hidden-md {
    display: none !important;
  }
}

/*
**
*/
.no-text-transform {
	text-transform: none;
}

.overflow-hidden {
	overflow: hidden;
}


/*
**
*/

    [ng-drag]{
        -moz-user-select: -moz-none;
        -khtml-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    [ng-drag]{
        cursor: move;
    }
    ul.draggable-objects:after{
        display: block;
        content:"";
        clear:both;
    }
    .draggable-objects li{
        float:left;
        display: block;
        width: 120px;
        height:100px;
    }
    [ng-drag].drag-over{
        border:solid 1px red;
    }
    [ng-drag].dragging{
        opacity: 0.5;
    }
    [ng-drop]{
    }
    [ng-drop].drag-enter{
        border:solid 5px red;
    }
    [ng-drop] span.title{
        display: block;
        position: absolute;
        top:50%;
        left:50%;
        width: 200px;
        height: 20px;
        margin-left: -100px;
        margin-top: -10px;
    }
    [ng-drop] div{
        /* position: relative; */
        /*z-index: 2;*/
    }

/*
** BUGFIX combination of mobile angularjs AND angular-metal
** using md-input styles
*/
md-input-container {
	/*
	padding-bottom: 10px;
	padding-bottom: 0;
	
	*/
	/*margin: 18px 0;*/
}
md-input-container label {
	display: inherit;
	font-weight: inherit;
	margin-bottom: 0;
	/*top: 0;*/
}
/*
** BUGFIX md-select for material v1.0.0-rc7
*/
md-input-container .md-errors-spacer {
    min-height: 0;
}
/*
** BUGFIX md-input-container always block for material v1.0.0-rc7
*/
md-input-container {
	display: block;
}

/*
** BUGFIX: Readonly Value with material v1.0.0-rc7
*/
md-input-container.readonly {
	margin: 0;
}
md-input-container.noborder .md-input {
	border: none;
}

/*
** BUGFIX use angularjs material autocomplete AND mobile angularjs
*/
.md-virtual-repeat-container.md-autocomplete-suggestions-container,
.md-select-menu-container {
	z-index: 1100;
}

.modal > .scrollable {
	width: initial;
	height: initial;
}

.list-group table {
	width:100%;
}
.list-group tr {
	border:1px solid;
	border-color: -moz-use-text-color -moz-use-text-color #dddddd;
}
.list-group td, .list-group th {
	padding: 10px 4px 10px 4px;
}
.list-group td:first {
	padding-left: 15px;
}
.list-group td:last {
	padding-right: 15px;
}

tr.new-group {
	border-top: 2px solid black;
	margin-top: 2px;
}

.dropdown-menu > li > a.text-danger {
  color: #a94442;
}

/*
** BUGFIX: Dropdown menu above md-fab
*/
.dropdown-menu { 
	z-index: 1105;
}
/*
** BUGFIX: Height of app-body on ipad
*/
/*
.app-body {
	height: 100vh;
}
*/
/*
** angular-material TOAST THEMING
*/
md-toast.md-error-toast-theme {
    background-color: #d32f2f;
}
/*
** some general settings and hacks
*/
.breakword {
	word-break: break-all;
}
.nobreakword {
	word-break: keep-all ;
	white-space: nowrap;
}
.activeMenu .list-group-item {
	border: none;
	padding: 7px 15px;
}

.sidebar .section .active, .call2action {
	color: #007aff;
	background-color: inherit;
}

.sidebar  .list-group a.sbActive {
    background-color: #007aff;
    border-color: #007aff;
    color: #ffffff;
}
.sidebar  .list-group .section  hr, .minimal-margin {
    margin-bottom: 2px;
    margin-top: 2px;
}
.ooitemplate, .list-group-item.ooitemplate {
	color: #4b088a;
}
button.ooitemplate:hover, button.list-group-item.ooitemplate:hover,
a.ooitemplate:hover, a.list-group-item.ooitemplate:hover {
	/*background-color: #dddddd;*/
}
.defaultcursor, .list-group-item.disabled.defaultcursor:hover  {
	cursor: inherit;
}
button.defaultcursor:hover, button.list-group-item.disabled.defaultcursor:hover,
a.defaultcursor:hover, a.list-group-item.disabled.defaultcursor:hover   {
	cursor: pointer;
	background-color: #dddddd;
}


/*
** WHITE FRAME
*/
.welcome md-whiteframe {
  background: #fff;
  margin: 30px;
  height: 100px; }
@media screen and (max-width: 599px) {
  .welcome md-whiteframe {
    margin: 20px;
    height: 90px;
    background-color: #c8e4fa; }
  .welcome md-whiteframe > span {
     } }
@media screen and (min-width: 600px) and (max-width: 959px) {
  .welcome md-whiteframe {
    margin: 20px;
    height: 75px; }
  .welcome md-whiteframe > span {
     } }
@media screen and (min-width: 960px) and (max-width: 1199px) {
  .welcome md-whiteframe {
    margin: 20px;
    height: 90px;
    background-color: #fcddde; }
  .welcome md-whiteframe > span {
     } }
@media screen and (min-width: 1200px) {
  .welcome md-whiteframe {
    margin: 25px;
    height: 100px;
    background-color: #F2FCE2; }
  .welcome md-whiteframe > span {
     } }
	

.navbar-brand-notcenter-always {
  position: absolute;
  text-align: center;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis; 
}

.pwCanvasPaint canvas:first-child {
	box-shadow: 2px 2px 8px rgba(0,0,0,0.1), -1px -1px 4px rgba(0,0,0,0.1);
	-webkit-box-shadow: 2px 2px 8px rgba(0,0,0,0.1), -1px -1px 4px rgba(0,0,0,0.1);
}

/*
** @brief the signature overlay for input of new signature (holds pwCanvasPaint elemnt and OK button)
*/
#newsignature {
	position: absolute;
	left:0;
	right:0;
	top:0;
	bottom:0;
	width:100%;
	height:100%;
	z-index:1150;
	padding: 15px;
	background-color: #f4f4f9; 
	background-image: linear-gradient(#eee .1em, transparent .1em);
	background-size: 100% 1.2em;
}
/*
** @brief the renedered signature img from canvas (used in orderSetDone)
*/
.signature-img {
	max-width: 600px;
	max-height: 300px;
}

.scrollable-content > .row-container {
	margin-bottom: 20px;
	position: relative;
	display: block;
	padding: 10px 15px;
}

button.numberpad {
	height:50px;
}

.cashregister-detail-articles button, .cashregister-detail-articles input {
	height:50px;
}
.cashregister-detail-articles button.btn-minus, .cashregister-detail-articles button.btn-plus {
	width:50px;
}

.numberpad-article-amount button.btn-primary.numberpad {
	color: #333333;
	background-color: #00EAD8;
	border-color: #006ee6; 
}
.numberpad-article-amount button.btn-primary.numberpad.force {
	color: #ffffff;
	background-color: #007aff;
	border-color: #006ee6; 
}

.cashregister-sbleft-price {
	color: #f5f5f5;
	text-align: right;
	padding-right: 10px;
}

.cashregister-sbleft-articlecontainer .list-group-item {
	padding: 10px 8px;
}

.cashregister-sbleft-articlename {
	display: inline-block;
	float:left;
	font-size:130%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding-left: 5px;
	padding-top: 2px;
}

.cashregister-sbleft-articlename.width-sb-normal {
	max-width: 160px;
}

.cashregister-sbleft-articlename.width-sb-smaller {
	max-width: 140px;
}

.profit_good {
	color: #3c763d !important;
}

.profit_bad {
	color: #a94442 !important;
}

.position-pagebreak {
	border-top: 4px solid grey;
}

.position-move-active {
	background-color: #fff5e0;
}

/*
** @brief see https://webdesign-forum.net/thread-3461.html
*/

.barstatistic {
	padding: 10px;
}

.barvert {
margin: 0 2px 0 2px;
height: 40px;
width: 14px;
border: 1px solid #ddd;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
position: relative;
display:inline-block;
overflow: hidden;
background: #fff;
}
.vprogress,.vprogress2 {
width: 12px;
-webkit-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
text-shadow: 0 0 2px #222;
line-height: 20px;
padding: 0 0 0 2px;
/*color: #fff;*/
position: absolute; 
bottom: 0; 
left:0;
}
.vprogress2 {
left: 8px;
width: 4px;
}
@media screen and (min-width: 600px) and (max-width: 992px) {
	.barvert {
		width: 20px;
	}
	.vprogress,.vprogress2 {
		width: 18px;
	}
	.vprogress2 {
		width: 7px;
		left:11px;
	}
}
.barvert.quartal {
	width: 20px;
}
.barvert.quartal .vprogress, .barvert.quartal .vprogress2 {
	width: 18px;
}
.barvert.quartal .vprogress2 {
	width: 7px;
	left:11px;
}

.vprogress div {
-webkit-transform: rotate(270deg);
-moz-transform: rotate(270deg);
-o-transform: rotate(270deg);
transform: rotate(270deg);
writing-mode: lr-tb;
position: absolute; 
bottom: 11px; 
font-size: 10px;
}
.bargreen {background: #5fd35f;}
.barblue {background: #5599ff;}
.bargrey {background: #555555;}
.barorange {background: #ff7f2a;}
.barred {background: #ff2a2a;}

.app {
	background-color: #fafafa;
}

@media screen and (max-width: 992px) {
	.col-xs-12 > .row > .text-right:first-of-type {
		text-align: left;
	}
}

.attachment-download {
	word-break: break-all;
}

.partnerinfo {
	border-left: 2px solid #8787c0;
	padding-left: 5px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.position_discount_mode {
	/*background: #b081cf;*/
	background: #80818f;
	color: white; 
	padding: 2px 3px 2px 3px; 
	font-weight:normal;
	border-radius: 3px;
	font-size: 80%;
}

.ooi_brutto_mode {
	background: #aa0;
	color: white; 
	padding: 2px 3px 2px 3px; 
	font-weight:bold;
	border-radius: 50%;
	font-size: 80%;
}

.customer_ctype {
	background: #81b0cf;
	color: white; 
	padding: 2px 3px 2px 3px; 
	font-weight:bold;
	border-radius: 3px;
	font-size: 80%;
}

.customer_customergroup {
	background: #81cfb0;
	color: white; 
	padding: 2px 3px 2px 3px; 
	font-weight:bold;
	border-radius: 3px;
	font-size: 80%;
}
h2 .customer_customergroup.small {
	color: white; 
}
.articlediscount-list4object .customer_customergroup {
	font-size: 100%;
}

.ticket_tickettype {
	background: #81b0cf;
	color: white; 
	padding: 2px 3px 2px 3px; 
	font-weight:bold;
	border-radius: 3px;
	font-size: 80%;
}

.users_comboname, .ticket_user_assigned, .timerecord_user_assigned, .todo_user_assigned {
	background: #81b0b0;
	color: white; 
	padding: 2px 3px 2px 3px; 
	font-weight:bold;
	border-radius: 3px;
	font-size: 80%;
}

.todo_user_supervisor {
	background: #b180b1;
	color: white; 
	padding: 2px 3px 2px 3px; 
	font-weight:bold;
	border-radius: 3px;
	font-size: 80%;
}

.ticket_priority_high {
	background: #a94442;
	color: white; 
	padding: 2px 3px 2px 3px; 
	font-weight:bold;
	border-radius: 3px;
	font-size: 80%;
}

.ticket_ticketcomponent {
	background: #777;
	color: white; 
	padding: 2px 3px 2px 3px; 
	font-weight:bold;
	border-radius: 3px;
	font-size: 80%;
}

.session_apikey {
	font-family: Monaco, monospace;
	line-height: 100%;
	background-color: #eee;
	padding: 0.5em;
	letter-spacing: -0.05em;
	word-break: normal;
}

h3.docpart-headline {
	display:inline-block;
}
h4.docpart-headline {
	display:inline-block;
}

h3.docpart-dragger {
	color: #808080;
	cursor: move;
	display:inline-block;
}

.docpart-content {
	margin-left:20px;
}

.docpart-type {
	color: #808080;
	font-size: 80%;
	margin-left: 5px;
}

.docpart-field {
	border: 1px solid #a0a0a0;
}

.docpart-textblock {
	padding-left:2px; 
	border-top: 1px dotted #a0a0a0;
	border-left: 1px dotted #a0a0a0;
	border-bottom: 1px dotted #a0a0a0;
}

.docpart-logicalframe {
	padding-left:2px; 
	border-left: 1px dotted #a0a0f0;
	border-top: 1px dotted #a0a0f0;
	border-bottom: 1px dotted #a0a0a0;
	clear: both;
}

.docpart-logicalframe-include-x {
	margin-left:0; 
	padding-left:0; 
	border-left: 2px dotted #808080;
}

.docpart-clear {
	clear: both;
}

.docpart-pdfcontrol-newline, .docpart-pdfcontrol-pagebreak {
  flex-basis: 100%;
}
.docpart-pdfcontrol-newline::before, .docpart-pdfcontrol-pagebreak::before {
  flex-basis: 100%;
  height: 0;
  width: 100%;
}

/*
** css hack for using bootstrap4 flexbox in bootstrap3: every col has same height
** @link https://stackoverflow.com/questions/19695784/how-can-i-make-bootstrap-columns-all-the-same-height
*/
.docpart-row.row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  flex-wrap: wrap;
}

.docpart-row.row .docpart-col {
  display: flex;
  flex-direction: column;
  padding-left: 2px;
  padding-right: 2px;
}

/*
.docpartinstance-textblock {
	border-left: 1px dotted #888; 
	margin-left: -5px; 
	padding-left: 5px;
}
*/
.docpartinstance-textblock {
	display: flex; 
	flex-direction: row;
}
.docpartinstance-textblock .drag-handle {
	width: 20px;
	background-image: linear-gradient(lightgray 50%, rgba(255,255,255,0) 0%);
	background-position: left;
	background-size: 12px 2px;
	background-repeat: repeat-y;
}
.docpartinstance-textblock .drag-content {
	width: calc(100% - 20px);
}

.dropzone {
	height: 2px;
}
.dropzone > div {
	display: none;
}
.dropzone[ng-drop].drag-enter {
	height: auto;
	border:solid 5px red;
}
.dropzone[ng-drop].drag-enter > div {
	display: block;
	height: auto;
}

.docpartinstanceOOITextblock .drop-insert {
	height: 3px;
	overflow: hidden;
}

.docpartinstanceOOITextblock .drop-insert.show {
	height: auto;
}
.docpartinstanceOOITextblock .drop-insert .span {
	display:none;
}
.docpartinstanceOOITextblock .drop-insert[ng-drop].drag-enter{
	border:solid 5px red;
	height: auto;
}
.docpartinstanceOOITextblock .drop-insert[ng-drop].drag-enter .span {
	display:block;
}

/*
.docpartinstanceOOITextblock .docpartinstance-textblock {
	position: static;
}
.docpartinstanceOOITextblock .drag-handle {
	position: absolute; 
	left: 2px; 
	width: 10px; 
	background-image: linear-gradient(black 33%, rgba(255,255,255,0) 0%);
	background-position: right;
	background-size: 10px 3px;
	background-repeat: repeat-y;
}
*/

/*
** required for SHIFT+Click select of items in list - implements #0001503
*/
.disable-text-selection, .scrollable .scrollable-content .list-group .list-group-item {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/*
** speechbubbles from 
** @link https://codingislove.com/css-speech-bubbles/
*/

.speechbubble {
  /*
  width: 300px;
  margin: 50px auto;
  text-align: center;
  background: #00bfb6;
  font-weight: 900;
  font-family: arial;
  color: #fff;
  */
  background: #f2f5ff;
  border-radius: 15px;
  padding: 14px;
  position: relative;
}

.speechbubble label.corrtype {
	font-weight: 900;
}
.speechbubble label.corrtype:after {
	content: "";
	border-bottom: 1px solid #5BB55E;
	display: block;
}
.speechbubble.sbleftempty label.corrtype:after {
	border-bottom: 1px solid #5BB55E;
}


/* speech bubble 13 */
.speechbubble.sbright {
  background: #E8FFC7;
}
.speechbubble.sbright:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 15px solid #E8FFC7;
  border-right: 15px solid transparent;
  border-top: 15px solid #E8FFC7;
  border-bottom: 15px solid transparent;
  right: -16px;
  top: 0px;
}


/* speech bubble 14 */
.speechbubble.sbleft {
  background: #f2f5ff;
}
.speechbubble.sbleft:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 15px solid transparent;
  border-right: 15px solid #f2f5ff;
  border-top: 15px solid #f2f5ff;
  border-bottom: 15px solid transparent;
  left: -16px;
  top: 0px;
}

/*
** offercube dark green #4BA54E / color #275d2e
** offercube light green #95CF3E
** offercube dark blue #2D364B / color #2D364B
** offercube light blue-grey #8c9aba / color #2D364B
*/
.speechbubble.sbleftempty {
  border: 4px solid #8c9aba;
  color: #2D364B;
  position: relative;
  background: #fff;
}
.speechbubble.sbleftempty:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid transparent;
  border-right: 10px solid #8c9aba;
  border-top: 10px solid #8c9aba;
  border-bottom: 10px solid transparent;
  left: -21px;
  top: 6px;
}
.speechbubble.sbleftempty:after {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 7px solid transparent;
  border-right: 7px solid #fff;
  border-top: 7px solid #fff;
  border-bottom: 7px solid transparent;
  left: -11px;
  top: 10px;
}

.speechbubble.sbleftsticky {
  border: 4px solid #8a6d3b;
  color: #8a6d3b;
  position: relative;
  background: #fff;
}
.speechbubble.sbleftsticky:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid transparent;
  border-right: 10px solid #8a6d3b;
  border-top: 10px solid #8a6d3b;
  border-bottom: 10px solid transparent;
  left: -21px;
  top: 6px;
}
.speechbubble.sbleftsticky:after {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 7px solid transparent;
  border-right: 7px solid #fff;
  border-top: 7px solid #fff;
  border-bottom: 7px solid transparent;
  left: -11px;
  top: 10px;
}

.speechbubble.sbrightsticky {
  border: 4px solid #8a6d3b;
  color: #8a6d3b;
  position: relative;
  background: #fff;
}
.speechbubble.sbrightsticky:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid #8a6d3b;
  border-right: 10px solid transparent;
  border-top: 10px solid #8a6d3b;
  border-bottom: 10px solid transparent;
  right: -21px;
  top: 6px;
}
.speechbubble.sbrightsticky:after {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 7px solid #fff;
  border-right: 7px solid transparent;
  border-top: 7px solid #fff;
  border-bottom: 7px solid transparent;
  right: -11px;
  top: 10px;
}

.speechbubble.sbrightempty {
  border: 4px solid #4BA54E;
  color: #275d2e;
  position: relative;
  background: #fff;
}
.speechbubble.sbrightempty:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid #4BA54E;
  border-right: 10px solid transparent;
  border-top: 10px solid #4BA54E;
  border-bottom: 10px solid transparent;
  right: -21px;
  top: 6px;
}
.speechbubble.sbrightempty:after {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 7px solid #fff;
  border-right: 7px solid transparent;
  border-top: 7px solid #fff;
  border-bottom: 7px solid transparent;
  right: -11px;
  top: 10px;
}

/*
** @brief support dark mode #0003619
*/
@media (prefers-color-scheme: darkXX) {
  body, .section {
    background-color: #21242b;
    color: #eee;
  }
  .app {
	background-color: #11141b;
  }
  /* for navigation hide border and use different background color */
  main .navLeft {
    border-right: none;
    background-color: #2b2d39;
  }
  .list-group-item  {
    background-color: #2b2d39;
    color: #eee;
  }
  a.list-group-item  {
	color: #fff;
  }
}

/* for offer.client-choice #0003824 */
.offer-client-choice-customerblock {
	border-radius: 12px;
	border-color: rgb(243, 244, 246);
	background-color: rgb(243, 244, 246);
	padding: 10px 10px;
}
.offer-client-choice-owncompanyblock {
}
.client-choice-container {
	height: calc(100vh - 100px);
}
.offer-client-choice-block-head {
}
.offer-client-choice-block-position {
	margin-top: 20px;
}
.offer-client-choice-block-actions {
	margin-top: 35px;
	margin-bottom: 35px;
}
.offer-client-choice-positiongroup {
	
}
.offer-client-choice-block-description {
	margin-top: 35px;
	margin-bottom: 35px;
}
.offer-client-choice-positiongroupname {
	margin-top: 20px;
}
.offer-client-choice-positiongroupdescription {
	margin-bottom: 20px;
}
.firstheadline {
	margin-top: 20px;
	margin-bottom: 30px;
}
.client-choice-nav-sticky {
  position: sticky;
  top: 0;
  z-index: 2;
  height: calc(100vh - 100px);
  overflow-y: auto;
  background-color: #e0e0e0;
  padding: 5px;
}

.client-choice-content-scroll {
  height: calc(100vh - 100px);
  overflow-y: auto;
}

/* Desktop: getrennte Scrollbereiche */
@media (min-width: 960px) {
}

/* Mobil: ein gemeinsamer Scrollbereich */
@media (max-width: 959px) {
  .client-choice-container {
	overflow: auto;
  }
  .client-choice-nav-sticky {
	  background-color: white;
	  padding: 5px;
  }
  .client-choice-nav-sticky, .client-choice-content-scroll {
	position: static;
    height: auto;
    overflow: visible;
  }
}
