.top-margin-65 {
  margin-top: 65px;
}
.top-margin-114 {
  margin-top: 114px;
}

.login-message {
  margin: 5px;
  color: #eb1c24;
}

h2.md-toolbar-tools {
  height: 64px;
  max-height: 64px;
}

.md-toolbar-tools h1 {
  font-size: inherit;
  font-weight: inherit;
  margin: inherit;
}

md-input-container {
  padding: 2px;
  margin: 0;
}

md-input-container.first {
  margin-top: 18px;
}

md-input-container.wide {
  width: 100%;
}

.whiteframedemoBasicUsage md-whiteframe {
  background: #fff;
  margin: 30px;
  height: 100px; }

.product-detail {
  margin: 0 5px;
}

.product-detail h2 {
  margin: 0;
}

.product-detail h3 {
  margin: 5px 0;
  color: red;
}

.special {
  color: red;
}

.item-total-cost {
    line-height: 2em;
    font-size: 1.5em;
    margin-left: 50px;
}

.edit-popup .item-total-cost {
    font-size: 1em;
}
.data-table {
  padding-top: 0;
}

.data-table tfoot {
  font-weight: bold;
}

.summary-read-only {
  margin: 10px;
}

.summary-read-only h4 {
  margin: 0;
  font-weight: normal;
}

.summary-read-only h4 b {
  font-weight: bold;
}

#fab_neworder {
  position: fixed;
  right: 5%;
  bottom: 5%;
  z-index: 999;
}

body {
  height: 100%;
}

.top-fixed {
  position: fixed;
  display: inline-flex;
  top: 64px;
  width: 100%;
  z-index: 99;
  overflow-x: auto;
  background-color: rgb(250,250,250);
}

input.obvious-input {
  height: 3em;
  border: 1px solid #787878;
  border-radius: 3px;
}

.edit-popup input.obvious-input {
  height: 2em;
}

button.md-primary:focus {
  background-color: #2D741E!important;
}

.md-toolbar-tools .md-button.md-icon-button {
    width: 42px;
}

.md-toolbar-tools .title-section {
	margin-left: 10px;
}

.md-toolbar-tools .sub-title {
	font-size: 15px;
}

md-menu-content {
	max-height: 600px;
}

html {
  /* Fix bug in Angular where menu-content adds a scroll bar to the HTML element unnecessarily. */
  overflow-y: auto!important;
}

md-icon {
  margin: auto;
  background-repeat: no-repeat no-repeat;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  height: 24px;
  width: 42px;
}

.clickable {
  cursor: pointer;
}

.child-menu md-icon svg {
  fill: #3B8728;
}

.charlie-icon {
  height: 35px;
  vertical-align: middle;
}

.charlie-icon.small {
  height: 2ex;
}

.site-content-toolbar {
  background: #669900;
}

.date-picker-label {
  font-size: .75em;
  color: rgba(0,0,0,0.54);
  margin: 2px;
  position: absolute;
  padding: 2px 2px 2px 15px;
}

button.md-datepicker-button {
  padding-top: 10px;
}

md-datepicker {
  display: block;
  margin-top: 15px;
  max-width: 200px;
}

md-datepicker-ticket {
  display: block;
  margin-top: -10px;
  max-width: 200px;
}
.ngdialog.wide .ngdialog-content {
  width: 600px;
}
.ngdialog.ngdialog-theme-default .ngdialog-button.ngdialog-button-primary {
  background-color: #3b8728;
}

.ngdialog.ngdialog-theme-default .ngdialog-button.ngdialog-button-warn {
  background-color: #eb1c24;
}

.ngdialog-close {
  visibility: hidden;
}
.ngdialog-close::before {
  visibility: visible;
}

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

.md-button.md-info.md-raised {
    color: rgba(0, 0, 0, 1);
    background-color: rgba(255, 255, 0, 0.5);
}

.add-msg-container {
    margin: 8px;
    font-size: 0.85em;
    display: flex;
    flex-direction: column-reverse;
}

.add-msg {
  color: #3b8728;
  flex: 0 0 auto;
}

.add-msg.warn {
  color: #eb1c24;
 }

.add-msg.success {
  margin: 4px 0;
}

.error-div {
  display: inline;
  max-width:500px;
   margin: auto;
   }

.error-div-tickets {
    display: inline;
    max-width: 500px;
    margin: auto;
    padding-left: 43%;
    font-size: xx-large;
    font-weight: bold;
}
table.cost-table {
  border-collapse: separate;
  border-spacing: 0;
}


table.cost-table .promo td {
  border-radius: 3px;
  border: 1px solid;
}

table.cost-table .promo div {
  text-align: center;
}

.cost-table th {
  text-align: left;
  width: 50px;
  padding-left: 5px;
}

.cost-table th.row-label {
  width: 120px;
}

.cost-table td {
  padding: 0 5px;
}

.cost-table td.small-label {
  text-align: left;
  font-size: 0.7em;
}

.cost-table td.promo-cell-a {
  border-top-left-radius: 3px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.cost-table td.promo-cell-b {
  border-top-right-radius: 3px;
  border-top: 1px solid;
  border-right: 1px solid;
}

.cost-table td.promo-cell-c {
  border-bottom-left-radius: 3px;
  border-left: 1px solid;
  border-bottom: 1px solid;
}

.cost-table td.promo-cell-d {
  border-bottom-right-radius: 3px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.cost-table td.promo-cell-ac {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  border-top: 1px solid;
  border-left: 1px solid;
  border-bottom: 1px solid;
}

.cost-table td.promo-cell-bd {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  border-top: 1px solid;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.promo-criteria,
.product-criteria {
	margin-top: 18px
}

.promo-criteria select,
.product-criteria select {
  width: 100%;
}


.promo-closing .promo td,
.promo-closing td.promo-cell,
.data-table tr.promo-closing,
.backorder td.highlightable {
  background-color: #FFFF66;
}

.overreceived td.overreceived {
  background-color: #42E2F4;
}

.promo-current .promo td,
.promo-current td.promo-cell,
.data-table tr.promo-current {
  background-color: #99FF66;
}

.promo-future .promo td,
.promo-future td.promo-cell,
.data-table tr.promo-future {
  background-color: #fd524f;
}

.pick-fee-perc {
	border: 1px solid;
	border-radius: 10px;
	background: white;
	padding: 7px;
}

.pick-fee-perc-low {
	border: 1px solid;
	border-radius: 10px;
	background: #fd524f;
	padding: 7px;
}


table.history-table,
table.future-promos-table {
  width: 90%;
  border-spacing: 0;
  margin: 0 10px 15px 10px;
}

table.history-table th,
table.history-table td,
table.future-promos-table th,
table.future-promos-table td {
  text-align: right;
}

table.history-table .not-ordered {
  text-align: center;
}

.history-table tr:nth-child(even),
.future-promos-table tr:nth-child(even) {
    background-color: #FFC20E;
}

.future-promos-table td.small-label {
  text-align: left;
  font-size: 0.7em;
}

.error-text-color {
  color: #eb1c24;
}
.error-icon-color md-icon {
  color: #eb1c24;
}
.success-text-color {
  color: #3b8728;
}

.context-error {
  margin-left: 5px;
  color: #eb1c24;
}

.context-error-outside {
  margin: -20px 0 20px 5px;
  color: #eb1c24;
}

.price-var-dates {
  font-size: 12px;
  padding-bottom: 0;
  color: rgba(0,0,0,.54);
}

.price-var-table {
  padding-top: 0px;
}

.promo-table table.md-table:not(.md-row-select) td.md-cell:nth-child(n+2):nth-last-child(n+2),
.promo-table table.md-table:not(.md-row-select) th.md-column:nth-child(n+2):nth-last-child(n+2),
.product-table table.md-table:not(.md-row-select) td.md-cell:nth-child(n+2):nth-last-child(n+2),
.product-table table.md-table:not(.md-row-select) th.md-column:nth-child(n+2):nth-last-child(n+2),
.price-var-table table.md-table:not(.md-row-select) td.md-cell:nth-child(n+2):nth-last-child(n+2),
.price-var-table table.md-table:not(.md-row-select) th.md-column:nth-child(n+2):nth-last-child(n+2) {
  padding: 0 2px;
}

md-table-pagination .md-select-value *:first-child {
  max-width: 100%;
}

.center {
  text-align: center!important;
}

.text-right {
  text-align: right;
}

.login-buttons {
  height: 48px;
}

input::-ms-clear {
    display: none;
}

.reset-password {
  margin: 0 10px 10px 10px;
}

.md-select-menu-container {
  z-index: 10000;
}

.data-panel {
   position: fixed;
   opacity: 1;
   display: table;
   background-color: #ffffff;
   border: 2px solid;
   border-radius: 15px;
   border-color: green;
   width:90%;
   z-index: 1;
   align:center;
}

.labelValue {
  width: 260px;
}
.labelValue .label {
  font-weight: bold;
}
.labelValue .value {
  float: right;
}

.fsni-msg {
  width: 100%;
  margin: 5px 20px 15px 10px;
  padding: 5px;
  background: #FFC20E;
  color: #FFFFFF;
  border: 2px solid #0B3805;
  border-radius: 5px;
  transition: all linear 0.5s;
}

.fsni-msg a {
  color: #5E6E0F;
}

.fsni-msg.ng-hide {
  opacity: 0;
}

.item-edit-row {
	margin: 0 10px;
}

.item-edit-row md-input-container {
	margin: 18px 0 -26px 0;
}

.floating-box {
	display: inline-block;
	width: 350px;
	height: 150px;
	margin: 10px;
	border: 3px solid #000000;
}

.floating-promo {
	display: inline-block;
	width: 350px;
	height: 400px;
	margin: 10px;
	border: 3px solid #000000;
}

.floating-promo.small {
  height: 300px;
}

/* DESIGN TEMPLATES */

.tkt-design-input-card .input-container {
	margin-top: 0px;
}

.tkt-design-input-card .input-container md-input-container {
	margin: 18px 0 -26px 0;
}

.tkt-design-input-card .input-container .right {
	margin: 18px 0 -26px 18px
}

.tkt-design-input-card .template-select md-input-container {
	margin-left: 10px; width: 200px;
}

.tkt-design-input-card .template-select select {
	margin-top: 35px;
}

.bordered-box {
  border: 2px green solid;
  border-radius: 15px;
  display: inline-block;
  margin: 9px;
}

/* PRICE VARIENCE */

.pv-info-msg {
  color: #eb1c24;
}

.stocktake-summary {
  clear: both;
  border: 2px solid #3B8728;
  border-radius: 15px;
  margin: 10px 40px;
  padding: 0 20px;
}

.stocktake-report-filters select {
  min-width: 150px;
}

/* inventory */
.setting-table{
  width: 100%;
}

.setting-table tr td:first-child{
  width: 200px;
}

.inventory-block,
.report-block {
  border:1px solid rgba(222,222,222,0.6);
  border-radius: 3px;
  cursor: pointer;
}

.inventory-block md-icon,
.report-block md-icon{
  width: 62px;
  height: 28px;
  font-size: 28px;
  color: #CACACA;
  text-align: center;
}

.inventory-block .left-block,
.report-block .left-block{
  width: 40%;
  float: left;
  text-align: right;
  padding-top: 10px;
}

.inventory-block .right-block,
.report-block .right-block{
  width: 60%;
  float:left;
}

.inventory-block .right-block > span:first-child,
.report-block .right-block > span:first-child{
  display: block;
  font-size: 12px;
}

.inventory-block .right-block > span:nth-child(2),
.report-block .right-block > span:nth-child(2){
  display: block;
  font-size: 24px;
}

/* Home page */
.green {
  background-color: #93C47D;
}

.full-width {
  width: 100%;
}
.full-height {
  min-height: 100% !important;
}

.child-content-home {
  height: 100% !important;
  overflow-y: auto;
}

.home-wrap {
	max-width: 960px;
	margin: 20px auto;
}

.home-grid {
	margin: 0 20px;
}

.home-grid md-grid-tile .home-tile-badge {
	position: absolute;
	margin: -30px;
	padding: 5px;
	background: #eb1c24;
	border: white 2px solid;
	border-radius: 20px;
	font-size: 12px;
}

.home-grid md-grid-tile figure {
  background-color: #009E0F !important;
  color: white !important;
  font-size: 1.3em;
	cursor: pointer;
	justify-content: flex-start;
}

.home-grid md-grid-tile figure md-menu {
  height: 100%;
  width: 100%;
  display: flex;
}

md-menu md-icon.dropdown-arrow {
	transform: scaleY(-1);
}

.chatbox {
	position: absolute;
	right: 30px;
	bottom: 0;
	width: 400px;
	max-width: 80%;
	z-index: 999;
}

.chatbox .boxhead {
	background-color: #009E0F !important;
	color: white !important;
	padding: 10px;
	border: 1px solid #3b8728;
}

.chatbox .dropdown-arrow {
	height: 15px;
	width: 15px;
	transform: scaleY(-1);
	color: white;
	cursor: pointer;
}

.chatbox .boxbody {
	height: 300px;
	background-color: white;
	border: 1px solid #3b8728;
}
.chatbox .chatcontent {
	padding: 5px 5px 25px;
	height: 220px;
	overflow-y: auto;
}

.chatbox .message-You,
.chatbox .message-Charlie {
	margin: 5px;
	width: 100%;
}
.chatbox .message-You p,
.chatbox .message-Charlie p {
	padding: 5px;
	border-radius: 8px;
	margin: 0;
	word-break: break-word
}
.chatbox .message-You {
	padding-right: 50px;
}
.chatbox .message-You p {
	float: left;
	background-color: #EEE;
}
.chatbox .message-Charlie {
	float: right;
	padding-left: 50px;
}
.chatbox .message-Charlie p {
	float: right;
	background-color: #5bA748;
}

.chatbox .microphone {
  min-width: 30px;
  width: 40px;
}
.chatbox .microphone md-icon {
  width: 25px;
}

.chatbox .charlietyping {
  margin-top: -20px;
  padding: 2px;
  height: 20px;
  background: #EEE;
  font-size: 80%;
}

.chatbox .boxbodyfooter {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 100%;
	background: #CCC;
	padding: 7px;
	border: 1px solid #3b8728;
}

.chatbox .boxbodyfooter button {
	margin: 0;
}

.extra-margin {
  margin-top: 60px;
}

/* Supplier */

p.small {
  font-size: 80%;
}
p.tight {
  margin: 0;
}
.right {
  float: right;
}
.text-right {
  text-align: right;
}
/* Supplier */

pre.inherit-font {
  font-family: inherit;
}
pre.pre-wrap {
  white-space: pre-wrap;
}

p.small {
  font-size: 80%;
}
p.tight {
  margin: 0;
}
.left {
  float: left;
}
.margin-auto {
  margin: auto;
}
.display-flex {
  display: flex;
}
.display-inline-flex {
  display: inline-flex;
}
.flex-end {
  margin-left: auto !important;
}
.x-scrollbar {
  overflow-x: auto;
}
.no-scrollbar::-webkit-scrollbar {
  display: none!important;
}

/* Direct Ordering */
.flex-column {
  display: flex;
  flex-direction: column;
}

/* home menu */
.menu-item-custom{
  padding: 20px;
  width: 100%;
}

.menu-item-custom md-icon.tile-icon {
    width: 35%;
    line-height: 100%;
    font-size: 36px;
    display: inline-block;
    float: left;
    color: white;
    text-align: center;
}

.menu-item-custom md-icon.dropdown-arrow {
    float: right;
    position: relative;
    font-size: 24px;
    margin-top: -10px;
    color: white;
    height: 100%;
}

.menu-item-custom span{
    float: left;
    display: inline-block;
    line-height: 100%;
    padding-top: 10px;
}

.header-icon{
  font-size: 26px;
}

.dropdown-menu-icon {
  color: #3B8728;
  width: 42px;
  font-size: 24px;
  margin: auto;
}

.custom-tooltip-supplier{
  position: absolute;
  background: #3C3C3C;
  color: white;
  font-size: 14px;
  border-radius: 5px;
  top: 50px;
  padding: 10px;
  z-index: 99;
}

.ticket-gen-warning {
    margin-bottom: 10px;
    color: #eb1c24;
}

.ticket-gen-generating {
    margin: 20px 0;
    text-align: center;
    color: #3b8728;
}

input.hide-spinner::-webkit-outer-spin-button,
input.hide-spinner::-webkit-inner-spin-button {
   -webkit-appearance: none;
}

md-grid-tile.selected{
  background: #DEDEDE;
}

.inventory-row:hover{
  background: #EFEFEF;
}

.inventory-row .change-stock-button{
  visibility: hidden;
}

.inventory-row .md-icon-button{
  margin: 0px;
  padding: 0px;
}

.inventory-row:hover .change-stock-button {
  visibility: visible;
}

.table-hosted-price tbody tr:first-child td{
  background: darkorange;
}