.top_bar {
    height: 40px;
    width: 100%;
    align-content: center;
    background-color: #69bdd2;
    vertical-align: middle;
    position: fixed;
    z-index: 300;
    top: 0px;
}

.top_bar > * {
  margin: auto;
  width: fit-content;
  font-family: "Montserrat", sans-serif;
  font-size: 1.25em;
  font-weight: 300;
  padding-top: 10px;
  color: #fff;
}

.top_bar > a {
position: absolute;
}

body {
    margin: 0%;
}

.sidebar {
  margin: 0;
  padding: 0;
  width: 200px;
  background-color: #f1f1f1;
  position: fixed;
  height: 100%;
  overflow: auto;
  padding-top: 40px;
}

.sidebar a {
  display: block;
  color: black;
  padding: 16px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
}

.sidebar a.active {
  background-color: #cce7e8;
  /* color: white; */
}

/* Links on mouse-over */
.sidebar a:hover:not(.active) {
  background-color: #555;
  color: white;
}

.right_sidebar {
  margin: 0;
  padding: 0;
  width: 200px;
  background-color: #f1f1f1;
  position: fixed;
  height: 100%;
  overflow: auto;
  padding-top: 40px;
  right: 0;
}

.right_sidebar a, .right_sidebar div{
  display: block;
  color: black;
  padding: 16px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
}

.right_sidebar a.active {
  background-color: #cce7e8;
  /* color: white; */
}

/* Links on mouse-over */
.right_sidebar a:hover:not(.active) {
  background-color: #555;
  color: white;
}

.right_sidebar h2 {
  margin: 15px;
}


/* On screens that are less than 700px wide, make the sidebar into a topbar */
@media screen and (max-width: 700px) {
    .sidebar {
      width: 100%;
      height: auto;
      position: relative;
    }
    .right_sidebar {
      width: 100%;
      height: auto;
      position: relative;
      padding: 0px;
    }
    .sidebar a {float: left;}
    .right_sidebar a {float: left;}
    .right_sidebar h2 {display: none;}
    div.content {margin-left: 0 !important;}
  }
  
  /* On screens that are less than 400px, display the bar vertically, instead of horizontally */
  @media screen and (max-width: 400px) {
    .sidebar a {
      text-align: center;
      float: none;
    }
    .right_sidebar a {
      text-align: center;
      float: none;
    }
    div.content {margin-left: 0;}
  }

/* Page content. The value of the margin-left property should match the value of the sidebar's width property */
div.content {
    margin-left: 200px;
    padding: 1px 16px;
    padding-top: 40px;
    margin-right: 200px;
}

body {
    font-family: "Roboto", sans-serif;
}

#main_table {
  padding-top: 10px;
}

table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    border: 1px solid #ddd;
    padding: 8px;
}


.btn {
  background-color: #69bdd2; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 15px 15px 15px 0px;
}

.btn:hover {
  background-color: #69bdd2;
}

.cancel {
  background-color: #f44336; /* Red */
}

.save {
  background-color: #4CAF50; /* Green */
}

input[type=checkbox]
{
  /* Double-sized Checkboxes */
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  transform: scale(2);
  padding: 10px;
}

.toggle {
  /*background-color: #f44336; /* red */
}

.toggle.enabled {
  background-color: #4CAF50; /* Green */
}

.has-errors {
  color: #f44336;
}

.row-has-errors {
  background-color: #fee;
}

.floating {
  display: none;
  position: absolute;
  z-index: 999;
  border: 1px solid black;
  background-color: lightpink;
  padding: 10px
}

.login-div {
  border: 1px solid black;
  padding: 50px;
  width: 300px;
  margin: auto;
  background-color: #e1feff;
}

form > p > input {
  padding: 10px;
  margin-top: 5px;
}

table.login-table, table.login-table td, table.login-table th {
  border: 0px !important;
  padding-left: 0px;
}

.filter_category {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.bom_menu {
  float: left;
  width: 30%;
  margin-left: 50px;
  margin-top: 10px;
  background-color: #f1f1f1;
}
.bom_menu h2 {
  padding-left: 16px;
  font-family: "Montserrat", sans-serif;
}
.bom_menu a {
  padding: 16px;
  display: block;
  color: black;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;  
}

.bom_menu a.active {
  background-color: #cce7e8;
  /* color: white; */
}

/* Links on mouse-over */
.bom_menu a:hover:not(.active) {
  background-color: #555;
  color: white;
}

.bom_errors {
  border: 1px solid #c55;
  background-color: rgba(170, 68, 68, 30%);
  width: fit-content;
  padding: 20px;
  margin-bottom: 20px;
}

.qty_input {
  width: 40px;
}