/* ================
Calendar Styling */

a,
a:hover {
  text-decoration: none;
}
a {
  display: inline-block;
  width: 100%;
}

.calendar {
  border-radius: 10px;
  overflow: hidden;
}

.month {
  font-size: 2rem;
}

@media (min-width: 992px) {
  .month {
    font-size: 3.5rem;
  }
}

.calendar ol li {
  float: left;
  width: 14.28571%;
}

.calendar ol {
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: 1px solid #eee;
}

.calendar .day-names li {
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.calendar .days li .date {
  margin: 0.5rem 0;
}

.calendar .days li .event {
  font-size: 0.75rem;
  padding: 0.4rem;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 0;
  margin-bottom: 1px;
}

.calendar .days li .event.span-2 {
  width: 200%;
}

.calendar .days li .event.span-3 {
  width: 300%;
}

.calendar .days li .event.span-4 {
  width: 400%;
}

.calendar .days li .event.span-5 {
  width: 500%;
}

.calendar .days li .event.span-6 {
  width: 600%;
}

.calendar .days li .event.span-7 {
  width: 700%;
}

.calendar .days li .event.begin {
  border-radius: 1rem 0 0 1rem;
}

.calendar .days li .event.end {
  border-radius: 0 1rem 1rem 0;
}

.calendar .days li .event.begin.end {
  border-radius: 1rem 1rem 1rem 1rem;
}

.calendar .days li .event.transparent {
  color: transparent;
  background-color: transparent;
}

.calendar .days li .event.clear {
  background: none;
}

.calendar .days li:nth-child(n + 29) {
  border-bottom: none;
}

.calendar .days li.outside .date {
  color: #ddd;
}

.popover {
  opacity: 1;
  padding: 10px;
  background-color: white;
  border: #ddd solid 1px;
  border-radius: 4px;
  max-width: inherit;
}

.popover .arrow {
  height: 16px;
  width: 16px;
}
.popover .arrow::after,
.popover .arrow::before {
  border-width: 16px;
}
.bs-popover-top .arrow {
  bottom: -17px;
}
.bs-popover-bottom .arrow {
  top: -17px;
}
.bs-popover-right .arrow {
  left: -17px;
}
.bs-popover-left .arrow {
  right: -17px;
}
.bs-popover-top .arrow::before {
  border-top-color: #bbb;
  top: 0;
}
.bs-popover-top .arrow::after {
  top: -1px;
  bottom: inherit;
}
.bs-popover-bottom .arrow::before {
  border-bottom-color: #bbb;
  bottom: 0px;
  top: inherit;
}
.bs-popover-bottom .arrow::after {
  bottom: -1px;
  top: inherit;
}
.bs-popover-right .arrow::before {
  border-right-color: #bbb;
  right: 0px;
  left: inherit;
}
.bs-popover-right .arrow::after {
  right: -1px;
  left: inherit;
}
.bs-popover-left .arrow::before {
  border-left-color: #bbb;
  left: 0px;
  right: inherit;
}
.bs-popover-left .arrow::after {
  left: -1px;
  right: inherit;
}
.bs-popover-top {
  margin-bottom: 1rem;
}

.bs-popover-bottom {
  margin-top: 1rem;
}
.bs-popover-right {
  margin-left: 1rem;
}
.bs-popover-left {
  margin-right: 1rem;
}
