:root {
  --background: hsl(0, 0%, 95%);
  --little-darker: #e9edf0;
  --darker: #54a3fd;      /* navbar */
  --more-dark: #3a5eff;
  --darkest: #605d70;
  --lighter: rgb(251, 252, 255);
  --light-transparent: rgba(255, 255, 255, 0.8);
  --darktext: #333;
  --lighttext:  white;
  --grayedtext: rgb(172, 172, 172);
  --alert: rgb(255, 125, 125);
  --bottonhover: var(--more-dark);
  --borders: black;
  --lighterborders: #403434;
  --recipe-bg: #f7e1e1; 
}

body {
    background: var(--background);
    font-family: 'Open Sans',sans-serif;
    font-size: 16px;
    font-weight: 400;
   }

.container {
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 30px;
  max-width: 76px;
}

.center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6px;
}


.pad15 {
  padding-top: 25px !important;
}

table {
  display: block;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0 5px;
  width: 100%;
  padding: 0% 8% 0% 8%;
}

.table-body {
  table-layout: fixed;
  width: 100%;
}

td, th {
  max-width: 100px;
  border: none;
  padding: 1px;
  overflow: hidden;
  white-space: nowrap; 
  text-overflow: ellipsis;
}

th {
  text-align: left;
}

tr:nth-child(even) {
  background-color:  var(--little-darker);
}

.filterbox {
  display: flex;
  height: 27px;
}

.search-box {
  margin: 16px;
}

.flex {
  display: flex;
}

.flex-end {
  display: flex;
  justify-content: flex-end;
}

.sml-text {
  font-size: 11px;
}

a {
  color: inherit;
  text-decoration: inherit;
}

.sml-button {
  background-color: var(--lighter);
  border: 1px solid var(--borders);
  padding: 2px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 4px; 
  color: var(--darktext); 
  text-align: center;
  text-decoration: none;
  line-height: 21px;
  font-size: 70%;
  height: 26px;
  max-width: 360px;
  transition: all 170ms ease-in-out;
  cursor: pointer;
  box-sizing: border-box;
  position: relative;
  margin-top: 16px;
}

.button {
  box-shadow: 0px 6px 0px rgba(0, 0, 0, 0.01), 0px 6px 5px rgba(0, 0, 0, 0.02), 0px 2px 20px rgba(0, 0, 0, 0.1);
  border-radius: 4px; 
  background-color: var(--lighter);
  border: 1px solid var(--borders);
  color: var(--darktext);
  padding: 8px 22px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 100%;
  width: 100%;
  max-width: 180px;
  transition: all 170ms ease-in-out;
  cursor: pointer;
  box-sizing: border-box;
  position: relative;
}

.red {
  background-color: var(--alert);
  color: rgb(0, 0, 0);
}

.plus {
  font-size: 200%;
}

.stock-update-input {
  width: 80px;
}


i.icon {
  color: #b44c4c;
  display: inline-block;
  opacity: 1;
  margin: 0 .25rem 0 0;
  width: 0.8em;
  height: 1em;
  text-decoration: inherit;
  text-align: center;
  speak: none;
  -webkit-backface-visibility: hidden;
  b9ckface-visibility: hidden;
}

.part-icon {
  color: #b44c4c;
  display: inline-block;
  opacity: 1;
  margin: 0 .25rem 0 0;
  width: 1.3em;
  height: 1em;
  text-decoration: inherit;
  text-align: center;
  speak: none;
  -webkit-backface-visibility: hidden;
  b9ckface-visibility: hidden;
}

#nav {
  left: 0px;
  height: 53px;
  background-color: var(--darker);
  width: 100%;
}

#nav ul {
  margin: 0;
  padding: 0;
}

#nav ul li {
  margin: 0;
  padding: 0;
  float:right;
}

#nav ul li a {
  text-decoration: none;
  font-size: 17px;
  padding: 14px 16px;
  display: block;
  color: var(--darktext);
  text-align: left;
}

#nav a:hover {
  background-color: var(--little-darker);
  color: var(--darktext);
}

#nav a.active {
  background-color: var(--darkest);
  color: var(--lighttext);
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0rem 0rem;
}

ul {
  list-style-type: none;
  margin: 0px;
  padding: 0;
}

li a, .dropbtn {
  display: inline-block;
  color: var(--darktext);
  text-align: center;
  text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
  background-color: --var();
}

li.dropdown {
  display: inline-block;
  height: 30px;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: var(--background);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.project_BOM {
  padding: 10px;
  border: solid;
  border-color: var(--darkest);
}


.location {
  padding: 1rem;
}

.table-image {
  max-width: 26px;
  max-height: 20px;
  padding-bottom: 4px;
}

.part-image {
  max-width: 200px;
}

.part-modal {
  max-width: 600px;
}

.part-dscr {
  padding: 5px;
}