﻿.dev {
    background: #d9d9c3;
    border: solid 1px #b0b08b;
    padding: 1em;
    color: #57572c;
}
.md-tab { text-transform: none; }
fieldset { border: none; padding: 0; margin: 0; }
fieldset[disabled] md-checkbox { disabled: 'disabled'; }

/*  md-fixes */

.menu-section { padding: 1em .8em .5em .8em; font-weight: bold; border-bottom: solid 1px #6d655c; color: #6d655c; }
.menu-item { width: 128px; cursor: pointer; }
/*.menu-item { text-transform: none; width: 128px; height: 96px; position: relative; padding-left: 10px; }
.menu-item > span { white-space: normal; position: absolute; bottom: 0; right: 0; text-align: right; padding: 6px; line-height: 1.6em; font-weight: bold; }
.menu-item:hover { background-color: rgb(78,52,46); }*/
.md-input-label {  color: rgba(0,0,0,0.54); -moz-transform: translate3d(0, 6px, 0) scale(0.75) !important; -ms-transform: translate3d(0, 6px, 0) scale(0.75) !important; -o-transform: translate3d(0, 6px, 0) scale(0.75) !important; -webkit-transform: translate3d(0, 6px, 0) scale(0.75) !important; transform: translate3d(0, 6px, 0) scale(0.75) !important; }

md-input-container .md-input[disabled], 
[disabled] md-input-container .md-input, 
md-checkbox[disabled] .md-label, 
md-select[disabled] .md-select-label, 
md-select[disabled] md-select-value,
md-input-container label {color: rgba(0,0,0,0.52) !important;}

md-input-container.currency { }
md-input-container.currency > .md-input { min-width: 100px; max-width: 100px; width: 100px; text-align: right; }

md-input-container.light { margin-top: 0; }
md-input-container.light > label { display: none; }
md-input-container.light > input { text-align: center; }

/*.md-datepicker-input { min-width: 140px !important; font-size: 15px !important; }*/
md-datepicker { background-color: transparent; }

.layout-row > span { margin-top: 26px; color: rgba(0,0,0,0.52); }

table.table tr > td md-input-container { padding-bottom: 0 !important; margin: 0 !important; }

/*  md-fixes */


@media screen {
    .print-only { display: none !important; }
}
@media print {
    body { font-size: small !important; }
    th, td { font-size: x-small !important; }
    md-sidenav { display: none !important; }
    #main-toolbar { display: none !important; }
    #footer { display: none !important; }
    md-tab-item:not(.md-active) { display: none !important; }
    .no-print { display: none !important; }
    table.selectable th:first-child,
    table.selectable tr > td:first-child { display: none !important; }
    table.selectable tbody tr:not(.selected):not(.sums) { display: none !important; }
    button { display: none !important; }
    .md-select-icon { display: none !important; }
    .md-select-value { border-bottom: solid 1px rgba(0, 0, 0, 0.117647) !important; }

    #main-content { overflow: visible !important; }
}



table.sales-settings { margin: 0 auto; }
table.sales-settings tr:first-child { font-weight: bold; }
table.sales-settings td { border: solid 1px lightgray; text-align: center; min-width: 120px; }
table.sales-settings tr > td:first-child { font-weight: bold; min-width: 160px; }

.recipe-costing > div { display: flex; border-bottom: dotted 1px lightblue; width: 400px; }
.recipe-costing > div:last-child { border-bottom: none; }
.recipe-costing > div > div { padding: .3em .5em; }
.recipe-costing > div > div:first-child { text-align: right; min-width: 220px; margin: auto; }
.recipe-costing > div > div:first-child::after { content: ' :'; }
.recipe-costing md-input-container { padding-bottom: 0; margin-bottom: 0; }
.recipe-costing md-input-container .md-errors-spacer { display: none; }

@media only screen and (max-device-width : 320px) {
    .recipe-costing > div { width: 300px; }
    .recipe-costing > div > div:first-child { min-width: 120px; }
}

#sub-renew md-radio-group > * { margin: 1rem; }

/*md-content[ng-viewport] > div,
md-content[ng-viewport] > div > ng-include,
md-content[ng-viewport] > div > ng-include > form,
md-content[ng-viewport] > div > ng-include > form > fieldset,
md-content[ng-viewport] > div > ng-include > form > fieldset > md-tabs {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -ms-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}*/

/*****************
 * BOOTSTRAP TABLE
 *****************/
table.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  border-spacing: 2px;
  border-collapse: collapse;
}
.table > thead > tr { border-bottom: solid 1px gray; }
.table > tbody tr { border-bottom: solid 1px lightgray; height: 34px; }
.table > tbody tr[ng-click] { cursor: pointer; }
.table > tbody tr:hover { background-color: white; }
.table > tbody tr.active { background-color: #EEE; }
.table th, .table td { padding: 5px; text-align: center; font-size: 14px; }
.table a { color: #bd752d; text-decoration: none; cursor: pointer; }
.table a:hover { text-decoration: underline; }
.table a:focus { outline: none; }
.table.selectable > tbody > tr > td:first-child,
.table.selectable > thead > tr > th:first-child { } 
.table.selectable > tbody > tr > td:first-child > md-checkbox,
.table.selectable > thead > tr > th:first-child > md-checkbox { margin: 0; padding: 0; } 
.table.first-left > thead > tr > th:first-child,
.table.first-left > tbody > tr > td:first-child { text-align: left; }
.table.selectable.first-left > thead > tr > th:nth-child(2),
.table.selectable.first-left > tbody > tr > td:nth-child(2) { text-align: left; }
.table.selectable tr.sums { border-top: solid 2px; border-bottom: none; }
.table.selectable tr.sums > td:nth-child(2) { text-align: right; padding-right: .3em; }
.table.selectable tr.sums > td:nth-child(n+3) { font-weight:bold; }


/************
 * DOCS MENU
 ************/
.site-sidenav {
  background: #3F51B5;
}
.site-sidenav md-content {
  background: transparent;
}
.site-sidenav,
.site-sidenav.md-locked-open-add-active,
.site-sidenav.md-locked-open {
  width: 256px;
  min-width: 256px;
  max-width: 256px;
}
.site-sidenav > * {
  min-width: 218px;
}

.docs-menu,
.docs-menu ul {
  list-style: none;
  padding: 0;
}
.docs-menu li {
  margin: 0;
}
.docs-menu > li:nth-child(1) {
  border-top: none;
}
.md-whiteframe-glow-z1 {
  box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.14),
              0px 0px 2px 2px rgba(0, 0, 0, 0.098),
              0px 0px 5px 1px rgba(0, 0, 0, 0.084);
}
.docs-menu > li {
  border-bottom: 1px solid #6674C4;
}

.docs-menu .md-button {
  border-radius: 0;
  color: white;
  cursor: pointer;
  display: block;
  line-height: 40px;
  margin: 0;
  max-height: 40px;
  overflow: hidden;
  padding: 0px 16px;
  text-align: left;
  text-decoration: none;
  white-space: normal;
  width: 100%;
}
.docs-menu .md-button:hover,
.docs-menu .md-button:focus {
  background: #6070C7 !important;
}
.docs-menu .md-button md-icon {
  color: white;
}

.docs-menu md-select {

 /* Override md-select margins.  With margins the menu will look incorrect and causes mobile list
    to not be scrollable.
  */
  margin: 0;
  width: 100%;
}

.docs-menu md-select md-select-label {
  justify-content: flex-end;
  padding-top: 10px;
}

.docs-menu md-select md-select-label span {
  margin-right: auto;
  padding-left: 13px;
}

.docs-menu md-select .md-select-icon {
  margin-right: 28px;
}

.docs-menu button.md-button::-moz-focus-inner {
  padding: 0;
}
.docs-menu .md-button.active {
  background: #6070C7;
}
.menu-heading {
  display: block;
  line-height: 32px;
  margin: 0;
  padding: 8px 16px 0;
  text-align: left;
  width: 100%;
  color: rgba(255, 255, 255, 0.54)
}

.docs-menu li .menu-toggle-list {
  /*background-color: #5262BC !important;*/
  height: 0;
  transition: height .3s;
}
.docs-menu li.parentActive,
.docs-menu li.parentActive .menu-toggle-list {
  /*background-color: #5262BC !important;*/
  height: auto;
}
.menu-toggle-list {
  max-height: 2000px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  -webkit-transition: 0.75s cubic-bezier(0.35, 0, 0.25, 1);
  -webkit-transition-property: max-height;
  -moz-transition: 0.75s cubic-bezier(0.35, 0, 0.25, 1);
  -moz-transition-property: max-height;
  transition: 0.75s cubic-bezier(0.35, 0, 0.25, 1);
  transition-property: max-height;
}
.menu-toggle-list.ng-hide {
  max-height: 0;
}
.docs-menu .menu-toggle-list a.md-button {
  display: block;
  font-weight: 400;
  padding: 0 16px 0 32px;
  text-transform: none;
}
.md-button-toggle .md-toggle-icon {
    display: block;
    margin-left: auto;
    speak: none;
    vertical-align: middle;
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    -moz-transition: transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
    -webkit-transition: -webkit-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
}
.md-button-toggle .md-toggle-icon.toggled {
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}


/* End Docs Menu */

.docs-logo {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 16px;
}
.docs-logo:focus {
  outline: none;
}
.docs-logo > img {
  height: 150px;
  width: auto;
  display: block;
}
.nav-header {
  background: #3F51B5;
  border-bottom: 1px solid #6674C4;
  flex-shrink: 0;
  z-index: 2;
}
.docs-logotype {
  color: white;
  text-align: center;
  font-weight: 400;
  font-size: 26px;
}
.docs-menu-separator-icon {
  margin: 0;
}
.docs-menu-separator-icon img {
  height: 16px;
}
.md-breadcrumb {
  font-size: 24px !important;
  font-weight: 400 !important;
}
.md-breadcrumb md-icon {
  color: #666 !important;
}
.md-breadcrumb-page {
  display: inline-block;
  word-wrap: break-word;
}
.docs-toolbar-tools {
  max-width: 864px;
  padding: 0;
  margin: 0 24px;
  width: auto;
}
.docs-tools .md-button {
  padding: 0;
  margin: 0 0 0 8px;
}
.docs-tools .md-button,
.docs-tools .md-button md-icon {
  color: #666 !important;
}
.docs-toolbar-tools .md-button md-icon {
  color: #666 !important;
}
@media (max-width: 400px) {
  .docs-tools {
    display: none;
  }
}
.layout-content,
.doc-content {
  max-width: 864px;
  margin: 16px;
  box-sizing: border-box;
}
docs-demo {
  display: block;
  margin-top: 16px;
}
.doc-description p {
  margin-top: 0;
}
.demo-container {
  border-radius: 4px;
  margin-bottom: 16px;
  -webkit-transition: 0.02s padding cubic-bezier(0.35, 0, 0.25, 1);
  transition: 0.02s padding cubic-bezier(0.35, 0, 0.25, 1);
  position: relative;
  padding-bottom: 0;
}
.demo-source-tabs {
  z-index: 1;
  -webkit-transition: all 0.45s cubic-bezier(0.35, 0, 0.25, 1);
  transition: all 0.45s cubic-bezier(0.35, 0, 0.25, 1);
  height: 448px;
  background: #fff;
  overflow: hidden;
}
.demo-source-tabs md-tabs-wrapper {
  background-color: #5262BC !important;
}

md-tabs.demo-source-tabs md-tab,
md-tabs.demo-source-tabs .md-header {
  background-color: #444444 !important;
}


md-tabs.demo-source-tabs md-tab-label {
  color: #ccc !important;
}

md-tabs.demo-source-tabs .active md-tab-label {
  color: #fff !important;
}

.demo-source-tabs.ng-hide {
  min-height: 0;
  height: 0;
}
.demo-source-tabs {
  position: relative;
  width: 100%;
  z-index: 0;
}
.demo-content {
  position: relative;
  overflow:hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
}
.small-demo .demo-source-tabs:not(.ng-hide) {
  height: 224px;
}
.small-demo .demo-content {
  min-height: 128px;
}

.doc-content > * {
  -webkit-box-flex: 1 1 auto;
  -webkit-flex: 1 1 auto;
  -moz-box-flex: 1 1 auto;
  -moz-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}
.demo-content > * {
  -webkit-box-flex: 1 1 0%;
  -webkit-flex: 1 1 0%;
  -moz-box-flex: 1 1 0%;
  -moz-flex: 1 1 0%;
  -ms-flex: 1 1 0%;
  flex: 1 1 0%;
}
.demo-content > div[layout-fill] {
  min-height: 448px;
}
.small-demo .demo-content > div[layout-fill] {
  min-height: 224px;
}
.layout-content .small-demo .demo-content > div[layout],
.layout-options .small-demo .demo-content > div[layout] {
  min-height: auto !important;
  max-height: auto !important;
  height: 128px !important;
}
.small-demo .demo-toolbar,
.small-demo .md-toolbar-tools {
  min-height: 48px;
  max-height: 48px;
}

md-toolbar.demo-toolbar {
  border-radius: 3px 3px 0 0;
  box-shadow: 0 1px rgba(255, 255, 255, 0.1);
}
md-toolbar.demo-toolbar md-tab-label {
  color: #99E4EE
}
md-toolbar.demo-toolbar .md-button:hover {
  background: rgba(0,0,0,0.1);
}
md-toolbar.demo-toolbar .md-button.active, md-toolbar.demo-toolbar .md-button.active md-icon {
  color: #8ECD47;
}

md-toolbar.demo-toolbar .md-button {
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  transition: all 0.3s linear;
  color: #616161;
}
.demo-source-container {
  display: block;
  border: 1px solid #ddd;
  background-color: #f6f6f6;
  height: 400px;
}
.demo-source-container hljs {
  margin-bottom: 0;
  border-radius: 0;
}
.show-source div[demo-include] {
  border-top: #ddd solid 2px;
}
.docs-list {
  padding: 16px;
}
.docs-descriptions h4 {
  margin: 0;
}
.docs-list md-divider {
  margin: 8px 0;
}
.docs-list li {
  list-style: none;
  margin: 0 0 8px;
}
.docs-output {

}
/* End Docs Menu */