#ccalendar {
  width: 312px;
}

.clndr {
  overflow: hidden;
  /*border-bottom: 7px solid #69a776;*/
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px;
}

.clndr .controls {
  background-color: #007967;
  color: white;
  font-size: 16px;
  font-weight: 700;
  line-height: 30px;
  height: 41px;
  margin-bottom: 3px;
  border-top-right-radius: 16px;
  border-top-left-radius: 16px;
}

.clndr .controls .clndr-previous-button:hover, .clndr .controls .clndr-next-button:hover {
  background-color: #528b5e;
}

.clndr .controls .clndr-previous-button, .clndr .controls .clndr-next-button {
  width: 15%;
  padding-top: 5px;
  padding-bottom: 5px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-transition: background-color 0.5s;
  -moz-transition: background-color 0.5s;
  -ms-transition: background-color 0.5s;
  -o-transition: background-color 0.5s;
  transition: background-color 0.5s;
}

.clndr .controls .month {
  width: 65%;
  padding-top: 5px;
  padding-bottom: 5px;
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0;
}

.clndr .days-container {
  position: relative;
  width: 312px;
  height: 306px;
  display: inline-block;
}

.clndr .days-container .days {
  position: absolute;
  left: 0;
  width: 312px;
  height: 235px;
  -webkit-transition: left 0.5s;
  -moz-transition: left 0.5s;
  -ms-transition: left 0.5s;
  -o-transition: left 0.5s;
  transition: left 0.5s;
  /*background-color: #ebebeb;*/
}

.clndr .days-container .days .headers {
  background-color: transparent;
  /*padding-top: 5px;
  padding-bottom: 5px;*/
}

.clndr .days-container .days .headers .day-header {
  width: 43.5px;
  height: 43.5px;
  display: inline-block;
  text-align: center;
  color: white;
  background-color: #8AB8B0;
  line-height: 41px;
  margin-right: 1px;
  margin-bottom: 1px;
}

.clndr .days-container .days .headers .day-header:last-child {
  margin-right: 0;
  width: 44.5px;
}

.clndr .days-container .days .day.adjacent-month, .clndr .days-container .days .empty.adjacent-month {
  color: rgba(0, 0, 0, 0.3);
}

.clndr .days-container .days .day.event, .clndr .days-container .days .empty.event {
  background-color: #8AB8B0;
  -webkit-transition: background-color 0.5s;
  -moz-transition: background-color 0.5s;
  -ms-transition: background-color 0.5s;
  -o-transition: background-color 0.5s;
  transition: background-color 0.5s;
  cursor: pointer;
}

.clndr .days-container .days .day, .clndr .days-container .days .empty {
  width: 43.5px;
  height: 43.5px;
  display: inline-block;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 16px;
  text-align: center;
  color: #007967;
  /*border-right: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);*/
  background: #F5F5F5;
  margin-right: 1px;
  margin-bottom: 1px;
  line-height: 29px;
}

.clndr .days-container .days .day:last-child, .clndr .days-container .days .empty:last-child {
  width: 44.5px;
  margin-right: 0;
}

.clndr .days-container .events {
  position: absolute;
  left: 294px;
  width: 294px;
  height: 217px;
  -webkit-transition: left 0.5s;
  -moz-transition: left 0.5s;
  -ms-transition: left 0.5s;
  -o-transition: left 0.5s;
  transition: left 0.5s;
  background-color: #ebebeb;
}

.clndr .days-container .events .headers {
  position: relative;
}

.clndr .days-container .events .x-button {
  position: absolute;
  font-size: 80%;
  top: 7px;
  left: 20px;
  cursor: pointer;
  -webkit-transition: color 0.25s;
  -moz-transition: color 0.25s;
  -ms-transition: color 0.25s;
  -o-transition: color 0.25s;
  transition: color 0.25s;
}

.clndr .days-container .events .event-header {
  width: 100%;
  background-color: #97ce7f;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  color: white;
}

.clndr .days-container .events .events-list {
  overflow: scroll;
  height: 185px;
}

.clndr .days-container .events .events-list .event {
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-transition: background-color 0.25s;
  -moz-transition: background-color 0.25s;
  -ms-transition: background-color 0.25s;
  -o-transition: background-color 0.25s;
  transition: background-color 0.25s;
}

.clndr .days-container .events .events-list .event a {
  position: relative;
  font-size: 12px;
  letter-spacing: 1px;
  background-color: transparent;
  color: #212121;
  text-decoration: none;
  -webkit-transition: color 0.25s;
  -moz-transition: color 0.25s;
  -ms-transition: color 0.25s;
  -o-transition: color 0.25s;
  transition: color 0.25s;
}

@media (min-width: 992px) and (max-width: 1199px) {

  #ccalendar {
    width: 270px;
  }

  .clndr .days-container .days .headers .day-header {
    width: 37.5px;
    height: 37px;
    font-size: 80%;
  }

  .clndr .days-container .days .headers .day-header:last-child {
    width: 41.5px;
  }

  .clndr .days-container .days .day, .clndr .days-container .days .empty {
    width: 37.5px;
    height: 37px;
    font-size: 80%;
  }
  .clndr .days-container {
    width: 270px;
    height: 259px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {

  #ccalendar {
    width: 720px;
  }

  .clndr .days-container .days .headers {
    width: 720px;
  }

  .clndr .days-container .days .headers .day-header {
    width: 102px;
    height: 102px;
    font-size: 120%;
    line-height: 102px;
  }

  .clndr .days-container .days {
    width: 720px;
  }

  .clndr .days-container .days .headers .day-header:last-child {
    width: 102px;
  }

  .clndr .days-container .days .day, .clndr .days-container .days .empty {
    width: 101.8px;
    height: 102px;
    font-size: 120%;
    line-height: 100px;
  }

  .clndr .days-container .days .day:last-child {
    width: 101.8px;
  }

  .clndr .days-container {
    width: 720px;
    height: 714px;
  }

  .clndr .controls .month {
    width: 68%;
  }
}

@media (min-width: 576px) and (max-width: 767px) {

  #ccalendar {
    width: 540px;
  }

  .clndr .days-container .days .headers {
    width: 540px;
  }

  .clndr .days-container .days .headers .day-header {
    width: 76px;
    height: 76px;
    font-size: 80%;
    line-height: 56px;
  }

  .clndr .days-container .days {
    width: 540px;
  }

  .clndr .days-container .days .headers .day-header:last-child {
    width: 76px;
  }

  .clndr .days-container .days .day, .clndr .days-container .days .empty {
    width: 76px;
    height: 76px;
    font-size: 80%;
    line-height: 42px;
  }

  .clndr .days-container .days .day:last-child {
    width: 76px;
  }

  .clndr .days-container {
    width: 540px;
    height: 532px;
  }

  .clndr .controls .month {
    width: 67%;
  }
}

@media (min-width: 315px) and (max-width: 575px) {
  #ccalendar {
    width: 100%;
  }

  .clndr .days-container .days .headers {
    width: 100%;
  }

  .clndr .days-container .days .headers .day-header {
    width: 14%;
    height: 50px;
    font-size: 80%;
    line-height: 50px;
  }

  .clndr .days-container .days {
    width: 100%;
  }

  .clndr .days-container .days .headers .day-header:last-child {
    width: 14%;
  }

  .clndr .days-container .days .day, .clndr .days-container .days .empty {
    width: 13.95%;
    height: 50px;
    font-size: 80%;
    line-height: 36px;
  }

  .clndr .days-container .days .day:last-child {
    width: 14%;
  }

  .clndr .days-container {
    width: 100%;
    height: 300px;
  }

  .clndr .controls .month {
    width: 67%;
  }
}

@media (max-width: 314px) {
  #ccalendar {
    display: none;
  }
}
