body {
  background-color: #eaeae8;
  margin-bottom: 32px;
}

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

nav#main-navbar {
  background-color: #53090c !important;
}
nav#main-navbar .navbar-brand {
  color: white;
}

.team-member .card-title span {
  font-weight: bold;
}

.event .card-title span {
  font-weight: bold;
}

.row + .row {
  margin-top: 32px;
}

.column + .column {
  margin-top: 32px;
}

.card + .card {
  margin-top: 32px;
}

.flex-card {
  display: flex;
  align-items: stretch;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
}

div#main-container {
  margin-top: 2rem;
}

nav#page-subnav a.nav-link {
  padding-left: 0;
}

#page-subnav :first-child {
  padding-top: 0;
}

.hb-document {
  border-color: rgba(83, 9, 12, 0.125);
}

table.table thead :first-child td, table.table thead :first-child th, table.table tbody :first-child td, table.table tbody :first-child th {
  border-top: 0;
}
table.table th.fit, table.table td.fit {
  white-space: nowrap;
  width: 1%;
}

table.hb-property-table col.hb-property-name {
  width: 30%;
}
table.hb-property-table col.hb-property-value {
  width: 70%;
}
table.hb-property-table tr.hb-property td:first-of-type {
  font-weight: bold;
}

span i {
  margin-right: 0.4em;
}
span i.green {
  color: green;
}
span i.red {
  color: red;
}
span i.shiftstatus-preplanned {
  color: #FFCD99;
}
span i.shiftstatus-planned {
  color: #BDDFF9;
}
span i.shiftstatus-unknown {
  color: gray;
}

span.input-group-text i {
  margin: 0;
}

.clickable {
  cursor: pointer;
}

.form-control.invisible-readonly[readonly] {
  background-color: white;
}

a.prevlink {
  margin-right: 8px;
}
a.nextlink {
  margin-left: 8px;
}

.action {
  cursor: pointer;
}

.membershift {
  background-color: #fff9c4;
  padding: 4px;
}
.membershift p {
  margin-bottom: 4px;
}
.membershift p i.fa-info-circle {
  color: blue;
}

tr.me td {
  background-color: #fff9c4;
}

div.card-body ul {
  margin-bottom: 1rem;
}

.eventinfo-img {
  padding: 16px 0;
}
.eventinfo-img img {
  max-width: 190px;
}

@media (min-width: 768px) {
  .column + .column {
    margin-top: 0px;
  }
}
.card-header h4 {
  margin-bottom: 0px;
}

.bp-loading {
  display: flex;
  justify-content: center;
}

.bp-full-schedule {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  column-gap: 4px;
}

.bp-full-schedule-container {
  display: flex;
  flex-direction: column;
}

.bp-full-schedule--day-container {
  box-sizing: border-box;
  flex-grow: 1;
  min-width: 0;
  flex-basis: 0;
  display: flex;
  flex-direction: column;
}
.bp-full-schedule--day-container .date {
  text-align: center;
}

.bp-full-schedule--day {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border: 1px solid gray;
  background-color: #DDD;
  position: relative;
  padding: 0 2px;
}
.bp-full-schedule--day.today {
  background-color: #BBB;
}
.bp-full-schedule--day.past-day {
  border-color: red;
  background-color: #ffeeee;
}
.bp-full-schedule--day .bp-full-schedule--day--shift {
  box-sizing: border-box;
  border: 1px solid gray;
  padding: 2px;
  background-color: #FFF;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
}
.bp-full-schedule--day .bp-full-schedule--day--shift:hover {
  box-shadow: rgba(0, 0, 0, 0.2) 2px 2px;
}
.bp-full-schedule--day .bp-full-schedule--day--shift.user-shift {
  border: 2px solid blue;
}
.bp-full-schedule--day .bp-full-schedule--day--shift.yellow-shift {
  background-color: #fffc67 !important;
}
.bp-full-schedule--day .bp-full-schedule--day--shift.red-shift {
  background-color: #ee4248 !important;
}
.bp-full-schedule--day .bp-full-schedule--day--shift.planned-shift {
  background-color: #BDDFF9;
}
.bp-full-schedule--day .bp-full-schedule--day--shift.preplanned-shift {
  background-color: #FFCD99;
}
.bp-full-schedule--day .bp-full-schedule--day--shift.past-shift {
  background-color: #DDD;
}
.bp-full-schedule--day .bp-full-schedule--day--shift .shift-time {
  font-weight: bold;
  display: inline-block;
}
.bp-full-schedule--day .bp-full-schedule--day--shift div ul {
  margin: 0;
}
.bp-full-schedule--day .bp-full-schedule--day--shift div hr {
  margin: 0.4rem 0;
}
.bp-full-schedule--day .bp-full-schedule--day--shift .bp-member-name i {
  margin-right: 0.2rem;
}

.yellow-shift {
  background-color: #fffc67 !important;
}

.red-shift {
  background-color: #ee4248 !important;
  color: white;
}

.planned-shift {
  background-color: #BDDFF9;
}

.preplanned-shift {
  background-color: #FFCD99;
}

.past-shift {
  background-color: #ffeeee;
}

.bp-full-schedule--timeline {
  font-size: 12px;
}
.bp-full-schedule--timeline .bp-full-schedule--timeline--hour {
  box-sizing: border-box;
  position: relative;
}

.bp-horizontal-nav-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 4px;
}
.bp-horizontal-nav-bar .bp-nav-title {
  margin: 0;
}
.bp-horizontal-nav-bar .bp-nav-date {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bp-horizontal-nav-bar + .bp-horizontal-nav-bar {
  margin-top: 0.6em;
}
.bp-horizontal-nav-bar.bp-date-nav {
  justify-content: space-between;
}

.btn i {
  margin-right: 0.5rem;
}
.btn i.right-side {
  margin-right: 0;
  margin-left: 0.5rem;
}
.btn i.no-text {
  margin-right: 0 !important;
}

.btn-no-focus:focus {
  box-shadow: none;
}

.btn-member:disabled {
  opacity: 1;
}

.btn-ripple {
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: all ease-in-out 0.3s;
}

.btn-ripple::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 25%;
  height: 100%;
  width: 50%;
  background-color: #FFF;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: all ease-in-out 0.6s;
  transform: scale(5, 5);
}

.btn-ripple:active::after {
  padding: 0;
  margin: 0;
  opacity: 0.2;
  transition: 0s;
  transform: scale(0, 0);
}

span.bp-member-name i {
  color: darkslategray;
  margin-right: 0.5rem;
}

.bp-member-modal-info {
  display: flex;
  align-items: center;
  justify-content: center;
}
.bp-member-modal-info + .bp-member-modal-info {
  margin-top: 8px;
}

.bp-shift-member {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.bp-shift-member + .bp-shift-member {
  margin-top: 0.5rem;
}
.bp-shift-member .bp-shift-member-rsvp {
  flex-grow: 0;
}
.bp-shift-member .bp-shift-member-name {
  flex-grow: 1;
}
.bp-shift-member .bp-shift-member-exchange {
  flex-grow: 0;
}

i.action-cancel {
  color: rgb(200, 0, 0);
}

.flextable TR TD {
  vertical-align: middle;
}
@media (max-width: 567px) {
  .flextable TR {
    display: flex;
    flex-direction: column;
  }
}

.card-body UL.bp-table-event-list {
  margin-bottom: 0;
}
.card-body.yellowshifts-restricted {
  max-height: 400px;
  overflow: auto;
}

.card-text P:last-of-type {
  margin-bottom: 0;
}

.card-footer .btn + .btn {
  margin-left: 1em;
}

.modal-body p {
  padding: 1em !important;
  margin-bottom: 1rem !important;
}

.validation-summary-errors {
  padding: 0.8rem;
  background-color: #ffe73d;
  margin-bottom: 1.25rem;
}
.validation-summary-errors UL {
  padding: 0 !important;
  margin: 0 !important;
}

#member-profile-image-upload .profile-image {
  margin-bottom: 16px;
}
#member-profile-image-upload .profile-image IMG {
  max-width: 150px;
  padding: 0.25em;
  border: 1px solid gray;
}

INPUT[type=file].form-control {
  border: 0 !important;
  padding: 0 !important;
}

.password-strength-wrapper {
  margin: 0.2em 0;
  background-color: lightgray;
  padding: 2px;
  border: 1px solid gray;
}

.password-strength-meter {
  height: 0.2em;
}
.password-strength-meter.strength-weak {
  background-color: red;
}
.password-strength-meter.strength-medium {
  background-color: #ffe73d;
}
.password-strength-meter.strength-strong {
  background-color: green;
}

i.rsvp-no-reply {
  color: gray !important;
}
i.rsvp-not-present {
  color: red !important;
}
i.rsvp-present {
  color: green !important;
}

.caret-off::before {
  display: none !important;
}

.caret-off::after {
  display: none !important;
}

.search-result .search-result-item h5 {
  margin-bottom: 0.25rem;
}
.search-result .search-result-item h5 a {
  text-decoration: none;
}
.search-result .search-result-item span.documentDate {
  color: gray;
  font-size: 0.9rem;
}

.search-result-item + .search-result-item {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: solid 1px lightgray;
}