html {
  height: 100%;
}
*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}
body {
  font-family: Arial, sans-serif;
  background: #fff;
  font-weight: 300;
  font-size: 14px;
  color: var(--text-primary);
  height: 100%;
  margin: 40px;
}
a {
  color: var(--text-primary);
  text-decoration: none;
}
.calendar-container {
  height: auto;
  width: 100%;
  margin: 0 40px;
}
.calendar-header {
  padding: 20px 20px 10px 30px;
  height: 50px;
  position: relative;
}
.calendar-header nav {
  position: absolute;
  right: 20px;
  top: 20px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.calendar-header nav span {
  float: left;
  position: relative;
  cursor: pointer;
  font-size: 16px;
  margin: 0 2px 2px;
}
.calendar-header h3.month-year {
  text-align: center;
  line-height: 1.25;
  margin: 0;
  font-size: 16px;
}
.fc-calendar {
  width: auto;
  height: auto;
  border-radius: 20px;
}
.fc-calendar .fc-head {
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
  background-color: var(--hover-color);
  color: var(--text-primary);
  text-align: center;
  border: 1px solid var(--hover-color);
  border-bottom: none;
}
.fc-calendar .fc-head > div {
  font-weight: normal;
  font-size: 14px;
}
.fc-calendar .fc-row > div,
.fc-calendar .fc-head > div {
  float: left;
  width: 14.28%;
  /* 100% / 7 */
  width: -moz-calc(14.28571429%);
  width: -webkit-calc(14.28571429%);
  width: calc(14.28571429%);
  width: 14.2%\9\0;
  /* IE9 */
  position: relative;
}
.fc-calendar .fc-body {
  border: 1px solid var(--border-color);
}
.fc-calendar .fc-row {
  border: none;
  *zoom: 1;
  border-bottom: 1px solid var(--border-color);
  display: flex;
}
.fc-calendar .fc-row:after {
  clear: both;
  content: " ";
  display: table;
}
.fc-calendar .fc-row > div.fc-today {
  background: var(--hover-color);
}
.fc-calendar .fc-row > div > span.fc-date {
  position: static;
  text-shadow: none;
  font-size: 24px;
  font-weight: bold;
  text-align: left;
  display: inline-block;
  margin: 10px 5px;
}
.fc-calendar .fc-past,
.fc-calendar .fc-future:not(.fc-content) {
  background: repeating-linear-gradient(45deg, var(--hover-color), var(--hover-color) 1px, var(--background-primary) 2px, var(--background-primary) 4px) !important;
}
.fc-calendar .fc-row > div > div a,
.fc-calendar .fc-row > div > div span {
  color: var(--text-active);
  font-size: 12px;
  line-height: 1.25;
  display: block;
  padding: 5px 7px;
  border-radius: 2px;
  max-width: 100%;
  margin: 5px 5px 10px 5px;
  background: var(--theme-color);
}
.fc-calendar .fc-row > div > div a strong,
.fc-calendar .fc-row > div > div span strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.fc-calendar .fc-row > div > div a .availability,
.fc-calendar .fc-row > div > div span .availability {
  font-size: 11px;
  margin: 0;
  background-color: transparent;
  padding-left: 0;
  display: block;
}
.fc-calendar .fc-row > div > div a:hover,
.fc-calendar .fc-row > div > div span:hover {
  background: var(--theme-color-hover);
}
.fc-calendar .fc-row > div {
  border-right: 1px solid var(--border-color);
  padding: 4px;
  overflow: hidden;
  position: relative;
  min-height: 150px;
  display: table-cell;
}
.fc-calendar .fc-row > div > span.fc-weekday {
  padding-left: 5px;
  display: none;
}
.fc-calendar .fc-row > div:last-child,
.fc-calendar .fc-head > div:last-child {
  border-right: none;
}
.fc-calendar .fc-row:last-child {
  border-bottom: none;
}
.calendar-overlay {
  height: 100%;
  background-color: var(--text-primary);
  width: 100%;
  position: absolute;
  opacity: 0.3;
  z-index: 1000;
}
.fc-endtime,
.fc-starttime {
  display: none;
}
@media screen and (max-width: 880px) {
  .calendar-header,
  .calendar-full,
  .calendar-container,
  .fc-calendar,
  .fc-calendar .fc-head,
  .fc-calendar .fc-row > div > span.fc-date {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
    height: auto;
    width: auto;
  }
  .calendar-header nav {
    position: absolute;
    top: 20px;
    right: 30px;
  }
  .fc-calendar {
    margin: 0 20px 20px;
  }
  .calendar-header h3.month-year {
    text-align: left;
  }
  .fc-calendar .fc-body {
    border-radius: 0px;
  }
  .fc-calendar .fc-row,
  .fc-calendar .fc-row > div {
    min-height: auto;
    height: auto;
    width: 100%;
    border: none;
  }
  .fc-calendar .fc-row > div {
    float: none;
    border-radius: 0px !important;
    border-bottom: 1px solid var(--border-color);
    display: block;
    padding: 10px;
  }
  .fc-calendar .fc-row > div:empty {
    min-height: 0;
    height: 0;
    box-shadow: none !important;
    padding: 0;
    border-bottom: none;
  }
  .fc-calendar .fc-row {
    display: table;
  }
  .fc-calendar .fc-head {
    display: none;
  }
  .fc-calendar .fc-row > div > div {
    margin-top: 0px;
    padding-left: 0px;
    display: block;
  }
  .fc-calendar .fc-row > div.fc-today {
    background: var(--hover-color);
  }
  .fc-calendar .fc-row > div.fc-today:after {
    display: none;
  }
  .fc-calendar .fc-row > div > span.fc-date {
    width: 30px;
    display: inline-block;
    text-align: right;
  }
  .fc-calendar .fc-row > div > span.fc-weekday {
    display: inline-block;
    width: 40px;
    color: var(--text-primary);
    font-size: 12px;
    padding-left: 0;
  }
}
.modal.modal-responsive {
  background: var(--background-primary) !important;
  outline: none;
  width: 80%;
  max-height: calc(70vh);
  left: 10%;
  margin-left: auto;
  margin-right: auto;
}
.modal.modal-responsive .session-close-link {
  display: none;
}
.modal.modal-responsive .modal-body {
  max-height: inherit !important;
}
.modal-body .session-picker .choose-quantity {
  display: block;
}
.modal.modal-responsive .modal-header .close {
  background: var(--background-primary);
  color: var(--text-primary);
  outline: none;
  border: none;
  font-weight: normal;
  opacity: 1;
}
.modal.modal-responsive input {
  -moz-box-sizing: inherit;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
.modal.fade.monthly-calendar-modal {
  margin-top: 0;
}
.modal.fade.monthly-calendar-modal.modal-responsive.in {
  top: 15px;
}
@media screen and (min-width: 1400px) {
  .modal.modal-responsive {
    width: 60%;
    left: 20%;
  }
}
@media screen and (max-width: 480px) {
  .modal.fade.monthly-calendar-modal.modal-responsive.in {
    position: fixed;
  }
}
