
/** 
 * Header styles
 */

#header {
  background: #e0e0e0;
}

.header-logo a {
  display: block;
}

.header-logo img {
  max-width: 380px;
  max-height: 120px;
  height: auto;
}

#header .nav-item > .nav-link {
  text-transform: uppercase;
  font-size: 18px;
  line-height: 26px;
  padding-top: 6px;
  padding-bottom: 6px;
}

#header .nav-item.dropdown-user > .nav-link {
  padding-top: 3px;
  padding-bottom: 9px;
}

#header .nav-item.dropdown-user svg {
  width: auto;
  height: 1em;
}

#header .nav-item > .nav-link:link,
#header .nav-item > .nav-link:visited {
    color: #333;
    text-decoration: none;
}

#header .nav-item > .nav-link:hover,
#header .nav-item > .nav-link:active {
    color: #42a235;
    text-decoration: underline;
}

/** 
 * Bootstrap styles
 */

.form-label.required:after {
  padding-left: 0.25em;
  content: '*'
}

/** 
 * Stripe Form Control styles
 */

.form-stripe-control.StripeElement--focus {
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 256, 0.25);
}

.form-stripe-control.StripeElement--invalid {
  border-color: var(--bs-danger);
}

.form-stripe-control.StripeElement--invalid.StripeElement--focus {
  border-color: var(--bs-danger);
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.form-stripe-acceptance {
  text-align: justify;
}

.form-stripe-invalid-feedback {
  font-size: 0.875em;
  color: var(--bs-danger);
}

.form-control.flatpickr-input[readonly] {
  background-color: #fff;
}

/**
 * Day Calendar styles
 */

.day-calendar {
  width: 100%;
}

.day-calendar-body {
  display: block;
  border: 1px solid #ccc;
  width: 100%;
}

.day-calendar-hour {
  display: flex;
}

.day-calendar-hour-label {
  position: relative;
  width: 40px;
  height: 36px;
  padding: 4px;
  border-color: #ccc;
  border-style: solid;
  border-width: 0 1px 1px 0;
  text-align: center;
  background: #fff;
  z-index: 2;
}

.day-calendar-hour:last-child > .day-calendar-hour-label {
  border-bottom-width: 0px;
}

.day-calendar-hour-events {
  position: relative;
  display: flex;
  flex: 1;
  padding: 0;
  overflow: hidden;
  border-color: #ccc;
  border-style: solid;
  border-width: 0 1px 1px 0;
}

.day-calendar-hour:last-child > .day-calendar-hour-events {
  border-bottom-width: 0px;
}

.day-calendar-hour-quarter {
  flex: 1;
  height: 100%;
  border-style: solid;
  border-color: #ccc;
  border-width: 0;
  background: #e0e0e0;
}

.day-calendar-hour-quarter.quarter-45 {
  border-bottom: 0 none;
}

.day-calendar-hour-quarter.quarter-0,
.day-calendar-hour-quarter.quarter-30 {
  background: #f8f8f8;
}

.day-calendar-hour-quarter.quarter-15,
.day-calendar-hour-quarter.quarter-45 {
  background: #f0f0f0;
}

.day-calendar-event-item {
  position: absolute;
  left: 0;
  top: 1px;
  width: 25%;
  height: 16px;
  padding: 1px 2px;
  border: 2px solid transparent;
  z-index: 1;
  font-size: 10px;
  line-height: 10px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
}

.day-calendar-event-item a {
  display: block;
  width: 100%;
}

.day-calendar-event-item a:link,
.day-calendar-event-item a:visited {
  color: #fff;
  text-decoration: none;
}

.day-calendar-event-item a:hover,
.day-calendar-event-item a:active {
  color: #fff;
  text-decoration: none;
}

.day-calendar-sidebar {
  margin-top: 31px;
  flex: 0 0 auto;
  width: 48px;
  border-color: #ccc;
  border-style: solid;
  border-width: 1px 0px 1px 1px;
}

.day-calendar-sidebar-label {
  padding-right: 4px;
  height: 64px;
  border-bottom: 1px dashed #ccc;
  text-align: right;
  font-size: 12px;
}

.day-calendar-sidebar-label.quarter-45 {
  border-bottom: 0px none;
}

.day-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.day-calendar-nav-title {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 8px;
}

.day-calendar-nav-items {
  margin-bottom: 8px;
}

.day-calendar-legend {
  margin-top: 8px;
  margin-left: -8px;
  margin-right: -8px;
  display: flex;
  flex-wrap: wrap;
}

.day-calendar-legend-location {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  height: 20px;
  padding: 0px 8px;
}

.day-calendar-legend-location .legend-value {
  display: inline-block;
  width: 28px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 3px;
  background: #ccc;
  margin-right: 5px;
}

.day-calendar-legend-location .legend-name {
  font-size: 14px;
  line-height: 14px;
  border-radius: 3px;
}

.day-calendar-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -16px;
  margin-right: -16px;
}

.day-calendar-col {
  padding-left: 16px;
  padding-right: 16px;  
  flex: 0 0 100%;
}

@media (min-width: 1024px) {
  .day-calendar-col {
    flex: 0 0 50%;
  }
}

/**
 * Member list styles
 */

.member-list > tbody > tr {
  cursor: pointer;
}

.member-list .table-cell-number {
  width: 16.667%;
}

.member-list .table-cell-name .active-state-disabled {
  display: inline-block;
  padding: 0.05em;
  width: 0.9em;
  height: 0.9em;
  background: rgb(238, 57, 69);
  border-radius: 0.45em;
  margin-right: 0.45em;
}
