﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.mouse-pointer {
  cursor: pointer;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
  font-family: Montserrat, sans-serif;
  background-color: #f4f2ef;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

table {
  width: 100%;
}

tfoot>tr>td {
  text-align: right;
  padding-right: 10px;
}

ul.pill-list>li {
  display: inline-block;
  background-color: lightgray;
  padding: 0 10px;
  border-radius: 11px;
  margin: 2px 0;
}

.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6, header {
  font-family: Muli, sans-serif;
}

.badge-isactive {
  height: 24px;
  width: 24px;
  padding: 3px;
  line-height: 20px;
}

td.column-digits {
  text-align: right;
}

table.products>tbody>tr>td {
  vertical-align: middle;
}

table.taste-profile>tbody>tr>td {
  text-align: center;
}

table.taste-profile th {
    text-align: center;
}

table.taste-profile div.taste-profile-cell {
  margin: 0 2px;
}

table.taste-profile div.filled {
  background-color: red;
}

table.taste-profile div.not-filled {
  background-color: lightgray;
}

.table.bundle-children-table {
  font-size: 0.8rem;
  line-height: 1.3;
}

.table.bundle-children-table small {
  white-space: nowrap;
}

th.sorted {
  white-space: nowrap;
}

th.sorted.ascending:after {
	content: "  \2191";
}

th.sorted.descending:after {
	content: " \2193";
}

.badge-Draft, .badge-draft {
  color: #212529;
  background-color: #ffc107;
}

.badge-Ready, .badge-ready  {
  color: #fff;
  background-color: #28a745;
}

.badge-Discontinued, .badge-discontinued {
  color: #212529;
  background-color: #ffc107;
}

.sortable {
  cursor: pointer;
}
.sortable:after {
  content: '\21F5';
  margin-left: 4px;
}

#ProductGrapeIds + .select2-container .select2-search.select2-search--inline,
#ProductIngredientIds + .select2-container .select2-search.select2-search--inline {
  position: relative;
  display: block;
  width: 100%;
}

#ProductGrapeIds + .select2-container .select2-search.select2-search--inline:after {
  content: 'Enter grape type...';
  position: absolute;
  top: 5px;
  left: 1rem;
  color: #a9a9a9;
}
#ProductIngredientIds + .select2-container .select2-search.select2-search--inline:after {
  content: 'Enter ingredient...';
  position: absolute;
  top: 5px;
  left: 1rem;
  color: #a9a9a9;
}
