/* body */

body {
  background: url("../../img/background.jpg") center / cover repeat;
}

.text-purple {
  color: #9105ff;
}

.bg-purple {
  background-color: #e2cbf9;
}

/* date input 在 disabled 時隱藏日曆圖示 */

input[type="date"][disabled]::-webkit-inner-spin-button, input[type="date"][disabled]::-webkit-calendar-picker-indicator {
  display: none;
}

/* sidebar menu */

.no-bullet {
  list-style-type: none;
  padding-left: 0px;
}

.no-bullet li a {
  padding: 0px!important;
  background-color: #00000000!important;
}

.card-header.link-group-header {
  padding: 0px;
  border: none;
}

.card-body.link-group-contents {
  padding: 20px 10px 0px 20px;
}

.link-group-contents li {
  margin-bottom: 20px;
}

#sidebar a[aria-expanded="true"]::before, #sidebar a[aria-expanded="false"]::before {
  content: none;
}

.link-group-header a {
  color: #f25aff;
  background-color: #00000000!important;
}

#sidebar .card {
  border: none;
  background-color: #00000000;
}

#sidebar .accordion {
  margin-top: 20px;
}

#sidebar a[data-toggle="collapse"]:hover {
  text-decoration: none;
}

.sidebar-title a {
  color: white;
}

.sidebar-title a:hover {
  text-decoration: none;
}

/* header */

.nav-top {
  background-color: rgba(255,255,255);
  box-shadow: 0 10px 12px -6px gray;
}

/* main */

.event-grid {
  padding: 10px;
  padding-bottom: 15px!important;
}

.event-grid .card-body {
  padding-left: 5px;
  padding-right: 5px;
  text-align: center;
}

.event-grid .card {
  box-shadow: 5px 5px 6px 0px rgba(0,0,0,0.5);
  background-color: rgba(0,0,0,0.7);
  border: none;
}

.event-time, .event-time-end {
  margin-bottom: 8px;
  font-size: 11px;
  color: rgb(255,255,255);
}

.event-time-end {
  margin: 24.5px 0px;
  font-size: 14px;
}

.sale-time-end {
  color: rgb(255,255,255);
  margin: 28.5px 0px;
  font-size: 14px;
}

@media (min-width:576px) {
  .event-grid {
    padding-bottom: 20px!important;
    padding: 15px;
  }
}

/* family settings */

label.required::after, :not(label).required h6::after, :not(label).required strong::after, span.required::after {
  content: " *";
  color: red;
}

.btn-add-member {
  border-radius: 30px;
  width: 60px;
  height: 60px;
  font-size: 16pt;
  opacity: 0.9;
  position: fixed;
  right: 10px;
  bottom: 50px;
  z-index: 1100;
}

.family-grid .card {
  margin: 10px;
}

.family-grid {
  padding: 0px;
}

/* footer */

.sticky-bottom {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  box-shadow: 0 -10px 12px -6px gray;
}

/* user settings */

.container-fluid {
}

.toggle input:focus + label {
  outline: none!important;
}

/* event family */

.row.event-title .col-md-12 {
  padding: 0px!important;
}

.row.event-info .value {
  border-top: 1px solid #f0dcff;
  padding: 5px;
}

.row.event-info:last-child .value {
  border-bottom: 1px solid #f0dcff;
}

.row.event-info .label {
  border-top: 1px solid #f0dcff;
  border-right: 1px solid #f0dcff;
  border-left: 1px solid #f0dcff;
  background-color: #e2cbf9;
}

.row.event-info:last-child .label {
  border-bottom: 1px solid #f0dcff;
}

.row.event-info .label h6 {
  margin-bottom: 0px;
}

.banner-img .bg-blur {
  min-height: 150px;
  background-size: cover;
  width: 100%;
  filter: blur(12px);
}

.banner-img .bg-blur + img {
  position: absolute;
  max-width: 100%;
  max-height: 100px;
  box-shadow: 0px 0px 20px 0px black;
}

/* event group */

.form-check.custom-control.custom-switch.mt-2 {
  z-index: 0;
}

/* sale mask */

.input-group-prepend, .input-group-append {
  z-index: 0;
}

.footer-height {
  height: 260px;
}

@media only screen and (min-width: 768px) {
  .footer-height {
    height: 120px;
  }
}

.event-date {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* sale count input customize button */
input[id*="Count-"][type=number]::-webkit-inner-spin-button,
input[id*="Count-"][type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
