body {
  background-color: #f5f5f5;
}

.greeting {
  font-size: .875rem;
  margin-bottom: 0.375rem;
}

.dropdown-item-small {
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x) 1em;
  font-style: italic;
  font-size: 0.75em;
}

.form-signin {
  max-width: 400px;
  padding: 15px;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-group.required .form-label:after { 
  color: #d00;
  content: "*";
  margin-left: 2px;
}

.container {
  max-width: 1140px;
}

.single-work-container {
  position: relative;
}

.single-work-container button.btn-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 50;
}

.single-work-container label {
  font-weight: 700;
}

#works-container > div:nth-child(odd) {
  background-color: #ebeced;
}

#works-container > div:nth-child(odd) input
#works-container > div:nth-child(odd) select,
#works-container > div:nth-child(odd) textarea {
  background-color: #f6f6f6;
}

.table-works { vertical-align: middle; }
.table-works .col-edit { width: 70px; }
.table-works .col-date { width: 10%; }
.table-works .col-project { width: 15%; }
.table-works .col-work { width: 20%; }
.table-works .col-hours { width: 10%; }
.table-works .col-comment { width: 45%; }

.table-works caption {
  text-align: center;
  padding-bottom: 1rem; 
}

.table-works .btn { padding: 0.175rem; }

.work-editable td {
  background-color: #d8e7ff;
}

.work-editable td .form-control {
  background-color: #e7f0ff;
}

.work-editable td .autoresize {
  height: 1.5em;
}

.work-deletable td {
  background-color: #f1817e !important;
  text-decoration: line-through;
}

.work-deletable td .form-control {
  background-color: #f6b3b1 !important;
  border-color: #f39a97 !important;
}

.work-deletable td.cell-edit { text-decoration: none !important; }

.button-block button { width: 10%; }

.settings-container label {
  font-weight: 600;
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: none;
}
