﻿/* 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;
}

/* 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 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

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

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

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
  /* Vertically center the text there */
}

/* Custom CSS */
* {
  font-family: "Segoe UI";
  box-sizing: border-box;
}

.login-container {
  display: flex;
  flex-direction: row;
}
.login-container p {
  margin: 0;
}
.login-container a {
  margin-left: 5px;
  font-weight: 500;
}

section {
  margin: 7em 0;
  overflow: auto;
  max-height: 500px;
}

#createNewAccountForm {
  width: 40%;
}
#createNewAccountForm input {
  margin: 1em 0;
}
#createNewAccountForm button {
  border: 1px solid black;
}

#dataTable, #dailyPriceTable {
  width: max-content;
  min-width: 100%;
}
#dataTable th, #dataTable td, #dailyPriceTable th, #dailyPriceTable td {
  text-align: inherit;
  padding: 1rem;
  font-weight: 500;
}
#dataTable tr, #dailyPriceTable tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.manage {
  text-align: right !important;
  display: flex;
  justify-content: flex-end;
}
.manage button, .manage a {
  border: none;
  outline: none;
  background: transparent;
  color: #0366d6 !important;
  font-weight: 500;
  padding: 0;
  cursor: pointer;
}
.manage button:hover, .manage .saveButton:hover, .manage a:hover {
  text-decoration: underline !important;
}
.manage p {
  margin: 0 0.5rem;
}
.manage p, .manage a, .manage button {
  height: 30px;
  line-height: 30px;
}

.form-select {
  padding: 2px 10px;
  height: 30px;
  line-height: 30px;
  border: 1px solid lightgray;
}

.nameColumnDaily, .editButtonDaily, .descriptionColumnDaily,
.columnDisplayUsers, .usernameColumnUsers, .editButtonUsers,
.passwordColumnUsers, .nameColumnMenu, .descriptionColumnMenu,
.editButtonMenu, .priceColumnMenu, .categoryColumnMenu,
.nameColumnCategory, .editButtonCategory, editButtonDailyPrice {
  display: block;
}

.editNameColumnDaily, .saveButtonDaily, .editDescriptionColumnDaily,
.columnEditUsers, .editUsernameColumnUsers, .saveButtonUsers,
.editPasswordColumnUsers, .editNameColumnMenu, .editDescriptionColumnMenu,
.saveButtonMenu, .editPriceColumnMenu, .editCategoryColumnMenu,
.editNameColumnCategory, .saveButtonCategory, .editHours, .editDays,
.saveButtonDailyPrice, .editPriceColumnDailyPrice {
  display: none;
}
