/*==================   RD Calendar    =====================*/
.rd-calendar {
  position: relative;
}

.rdc-events_close {
  color: #ffffff;
  width: 24px;
  height: 24px;
  text-align: center;
  font: 400 18px/24px "FontAwesome";
  cursor: pointer;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
  opacity: .5;
}
.rdc-events_close:hover {
  opacity: 1;
}

.rdc-events_close {
  position: absolute;
  top: 7px;
  right: 7px;
}
.rdc-events_close:before {
  content: '\f00d';
}

.rdc-events {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 40%;
  padding: 30px;
  opacity: 0;
  max-height: 400px;
  overflow: auto;
  background: #232323;
  visibility: hidden;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
  -moz-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
  -o-transform: translate(-50%, 0%);
  -webkit-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
  -moz-transition: none;
  -o-transition: none;
  -webkit-transition: none;
  transition: none;
}
.rd-calendar.show-events .rdc-events {
  opacity: 1;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -moz-transition: 0.4s all ease-in-out;
  -o-transition: 0.4s all ease-in-out;
  -webkit-transition: 0.4s all ease-in-out;
  transition: 0.4s all ease-in-out;
  visibility: visible;
}

.rdc-event {
  display: none;
}
.rdc-event time {
  font-weight: 700;
}
.rdc-event.active {
  display: block;
}

.rdc-table {
  position: relative;
  width: 100%;
}
.rdc-table table {
  width: 100%;
  table-layout: fixed;
  text-align: center;
  border-collapse: collapse;
}
.rdc-table td {
  position: relative;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.428571428571429;
  padding: 13px 16px 21px;
  height: 80px;
}
.rdc-table td time {
  color: #292929;
}
.rdc-table table, .rdc-table th, .rdc-table td {
  border: 1px solid #fb7d39;
}

.rdc-table_day {
  padding: 7px 4px;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rdc-table_events-count {
  display: none;
}

.rdc-table_date {
  position: absolute;
  left: -1px;
  top: -1px;
  width: 29px;
  height: 29px;
  font-size: 14px;
  line-height: 29px;
  text-align: center;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
  background: #fb7d39;
}

.rdc-table_has-events {
  cursor: pointer;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.rdc-table_has-events:hover {
  color: #fff;
  background-color: #292929;
}
.rdc-table_has-events:hover time {
  color: #fa5d07;
}

.rdc-table_next,
.rdc-table_prev {
  display: none;
}

@media (max-width: 979px) {
  .rdc-table td {
    padding: 35px 5px 10px;
  }
}
@media (max-width: 767px) {
  .rdc-events {
    min-width: 80%;
  }

  .rdc-table td {
    height: 60px;
    padding: 0;
  }

  .rdc-table_has-events .rdc-table_date:before {
    content: '';
    position: absolute;
    left: 50%;
    margin-left: -3px;
    bottom: 6px;
    width: 6px;
    height: 6px;
    line-height: 6px;
    text-align: center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background: #232323;
  }
  .rdc-table_has-events:hover .rdc-table_date {
    background-color: #292929;
  }
  .rdc-table_has-events:hover .rdc-table_date:before {
    background: #ffffff;
  }

  .rdc-table_date {
    width: 60px;
    height: 60px;
    font-size: 24px;
    line-height: 60px;
    text-align: center;
    background: none;
  }

  .rdc-table_event {
    display: none;
  }
}
@media (max-width: 479px) {
  .rdc-table td {
    height: 39px;
    padding: 0;
  }

  .rdc-table_day {
    padding-left: 0;
    padding-right: 0;
  }

  .rdc-table_has-events .rdc-table_date:before {
    bottom: 3px;
  }

  .rdc-table_date {
    width: 39px;
    height: 39px;
    font-size: 14px;
    line-height: 39px;
  }
}
