.calendar {
  text-transform: capitalize;
  text-align: center;
}

.calendar a {
  text-decoration: none;
  color: inherit;
}

.calendar .header {
  margin-top: 10px;
}

.calendar header .simple-calendar-btn {
  display: inline-block;
  width: 22px;
  height: 22px;
  font-family: "OpenSans", Sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 22px;
  line-height: 22px;
  letter-spacing: 0.2px;
  color: #373F41;
}

.calendar header .month {
  display: inline-block;
  margin: 0 15px;
}

.calendar header .month .year {
  font-size: 0.6em;
  font-weight: 100;
  display: inline;
  font-family: "OpenSans", Sans-serif;
}

.calendar table {
  width: 100%;
  margin: 0;
  margin-top: 20px;
  border-spacing: 0px;
}

.calendar thead {
  font-family: "OpenSans", Sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 21px;
  line-height: 18px;
  letter-spacing: 0.2px;
  color: #373F41;
}

.calendar td {
  padding: 1px 1px;
}

.calendar .day {
  position: relative;
  display: inline-block;
  width: 75px;
  height: 75px;
  /* cursor: pointer; */
  font-family: "OpenSans", Sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 21px;
  line-height: 75px;
  letter-spacing: 0.2px;
  color: #373F41;
}

.calendar .day.today {
  background: white;
  color: black;
}

.calendar .day.today.has-event:after {
  background: white;
}

.calendar .day.wrong-month {
  color: #C4C4C4;
}

.calendar .day.wrong-month:hover {
  border: 2px solid transparent;
}

.calendar .day.has-event {
  background-color: #D2D2D2;
}

/* .calendar .day.has-event:after {
    content: '';
    position: absolute;
    top: calc(50% + .8em);
    left: calc(50% - 2px);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #C4C4C4;
} */

.calendar .day.disabled {
  cursor: default;
}

.active-display-events {
  background-color: #C4C4C4;
  color: white !important;
}

.calendar .day.disabled:hover {
  border: 2px solid transparent;
}

.calendar .event-container {
  display: none;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  background: #ffffff;
  box-sizing: border-box;
}

.calendar .event-container .event-wrapper {
  overflow-y: auto;
  max-height: 100%;
}

.calendar .event-container .close {
  position: absolute;
  width: 15px;
  height: 15px;
  top: 2px;
  right: 2px;
  cursor: pointer;
}

.calendar .event-container .close:before,
.calendar .event-container .close:after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: #CBD1D2;
}

.calendar .event-container .close:before {
  transform: rotate(45deg);
}

.calendar .event-container .close:after {
  transform: rotate(-45deg);
}

.calendar .event-container .event {
  top: 10px;
  position: relative;
  width: 100%;
  padding: 1em;
  margin-bottom: 1em;
  background: #ffffff;
  border-radius: 4px;
  box-sizing: border-box;
  text-align: left;
  color: #000000;
  border: 1px solid;
}

.calendar .event-container .event-header {
  margin-top: 10px;
  text-align: left;
}

.calendar .event-container .event-date {
  margin-bottom: 1em;
}

.calendar .event-container .event-hour {
  float: right;
}

.calendar .event-container .event-summary {
  font-weight: 600;
}

.calendar .filler {
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #545A5C;
  transform: translate(-50%, -50%);
}

@media only screen and (max-width: 1200px) {

  .calendar .day {
    width: 45px;
    height: 45px;
    font-size: 18px;
    line-height: 45px;
  }
}
