#billNavigationContainer{
  display: flex;
  flex-direction: column;
  width: 300px;
  height: 100%;
  padding: 0.25rem;
  border-right: 1px solid rgba(0,0,0,0.2);
  background-color: var(--b1);
}
#billContainer{
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.newBillContainer, .oldBillContainer{
  width: 80%;
  max-width: 626px;
  height: 90%;
  display: flex;
  flex-direction: column;
  background-color: #e8e2d3;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.25rem 0.5rem;
  animation: fadeUp 0.7s ease;
}
.billTitle{
  padding: 0.1rem 0.5rem;
  background-color: var(--b5);
  font-size: 18px;
  font-weight: 600;
  border-radius: 0.25rem;
  color:rgba(0,0,0,0.7);
  border: none;
  border: 1px solid var(--b5);
  margin-top: 0.25rem;
  letter-spacing: 1px;
  transition: 0.2s ease;
}
.billTitle:focus,
.billTitle:active{
  outline: none;
  border-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
.billContentContainer{
  background-color: var(--b5);
  flex: 1;
  margin: 0.5rem 0rem 0.25rem 0rem;
  border-radius: 0.25rem;
}
.billMenu{
  display: flex;
  flex-direction: column;
  width: 100%;
  height: calc(100% - 4.5rem);
  margin-bottom: 1rem;
}
.billDescription{
  width: 100%;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin: 0.25rem 0rem 0rem 0rem;
}
.billItem{
  font-size: 16px;
  font-weight: 600;
  padding: 0.1rem 0.5rem;
  width: 70%;
  border: 1px solid transparent;
  color: rgba(0,0,0,0.8);
  transition: 0.1s ease;
  resize: none;
}
.billAmount{
  font-size: 16px;
  font-weight: 600;
  padding: 0.1rem 0.5rem;
  width: 30%;
  text-align: right;
  border: 1px solid transparent;
  color: rgba(0,0,0,0.8);
  transition: 0.1s ease;
  resize: none;
}
#billInput{
  width: 98%;
  margin-top: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 16px;
  font-weight: 600;
  color: rgba(0,0,0,0.7);
  background-color: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.2);
  align-self: center;
}
.editBillDescriptionInput{
  flex: 1;
  max-height: 28px;
  margin: 0rem 0.25rem 0rem 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 16px;
  font-weight: 600;
  color: rgba(0,0,0,0.7);
  background-color: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.2);
  align-self: center;
  transition: 0.2s ease;
}
#searchContainer{
  display: flex;
  width: 100%;
  padding: 0.25rem 0.5rem;
  margin: 0.25rem 0rem;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 100px;
}
.search{
  width: auto;
  flex: 1;
  padding: 0rem 0.25rem;
  border: none;
  background-color: transparent;
  font-size: 18px;
  font-weight: 600;
  color: rgba(0,0,0,0.8);
}
.search:focus, .search:active{
  border: none;
}
#openBills{
  padding: 0rem;
}
#hideBillNavigationButton{
  display: none;
}
.billHistory{
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  margin-top: 0.25rem;
  overflow-y: auto;
}
.billRef{
  width: 98%;
  color: rgba(0,0,0,0.6);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 0.25rem;
  overflow: hidden;
}

@media (max-width: 729px){
  .newBillContainer, .oldBillContainer{
    width: 95%;
    height: 95%;
  }
  #billNavigationContainer{
    display: none;
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
  }
  #hideBillNavigationButton{
    display: block;
  }
}
