body {
	font-weight: 400;
}

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

.bigger {
	font-size: 130%;
}

.verysmall {
  font-size: 50%;
}

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

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

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

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

.inlineblock {
	display: inline-block;
}

.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;
}
.strikethrough {
	text-decoration:line-through;
}
.no-bgcolor {
	background-color: inherit !important;
}
.break-word {
	word-wrap: break-word;
}

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

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

.vspacing.more {
	margin-top: 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;
}

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; 
}
.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;
}
.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%;
	}
}

.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";
}

.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;
}



/*
** .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; 
}

/*
**  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: ')';
}

/*
**
*/
.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;
}

.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;
	}
}

.goodphoto {
  outline-style: solid;
  outline-color: #4cd964;
  outline-width: 2px;
  outline-offset: -2px; 
}
div.goodphoto-big {
  outline-width: 5px;
  outline-offset: -5px; 
}
