/*---calendar---*/
#body_calendar .topbar {
  z-index: 60;
}
.calendar.insidepage {
  width: 100%;
}
.calendar .print {
  float: right;
  margin-right: 10px;
}
.calendar_holder {
  width: 90%;
  display: block;
  margin: 15px auto 0 auto;
  background: #f0f0f0;
  max-width: 1200px;
}
#calendar_holder h3 {
  color: #ffffff;
  background: #2f2f2f;
  margin: 0;
  padding: 6px 0px;
  width: 99.6%;
  text-align: center;
  margin-left: -3px;
}
.calendar_header {
  display: block;
}
#calendar_holder .event {
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #2F2F2F;
  border-right: 1px solid #ffffff;
  border-left: 1px solid #2F2F2F;
  overflow: hidden;
  background: #ffffff;
}
.calendar_holder .weekday,
.calendar_holder .day,
.calendar_holder .blank {
  font-size: 100%;
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 14.14%;
  min-width: 20px;
  margin: 0 -0.14%;
  padding: 0;
  outline: 0;
  word-spacing: 0em;
}
.calendar_holder .weekday {
  line-height: 26px;
  font-size: 18px;
  font-weight: bold;
  background: #2f2f2f;
  color: #ffffff;
  margin: 0 -3px;
  width: 14.4%;
}
.calendar_holder .day {
  height: 120px;
  text-decoration: none;
}
.calendar_holder .day span {
  display: block;
  text-align: center;
  font-size: 14px;
  position: absolute;
  margin: 3px;
  color: #000;
  font-weight: bold;
}
.calendar_holder .day span p {
  display: inline;
  margin: 0;
  color: #000;
}
.calendar_holder .day h4 {
  color: #000;
  margin: 20px 0 3px 0;
  font-family: Arial, sans-serif;
  text-transform: none;
  font-size: 14px;
  line-height: 16px;
}
.calendar_holder .day p {
  color: #6e6e6e;
  margin: 5px 2px;
  font-size: .8em;
  overflow: hidden;
  text-align: left;
}
.calendar_holder .blank {
  background: #f0f0f0;
  border: 1px solid #e3e3e3;
}
.calendar_holder .lastmonth,
.calendar_holder .nextmonth {
  display: block;
  width: 20px;
  height: 25px;
}
.calendar_holder .lastmonth {
  margin: 0px 0 0 10px;
  float: left;
}
.calendar_holder .nextmonth {
  margin: 0px 4px 0 0;
  float: right;
}
.day-description {
  display: none;
}
/*--- pop-up ---*/
.event-container {
  position: absolute;
  display: block;
  z-index: 2000;
  width: 100%;
  top: 0%;
  text-align: center;
}
#calendar-popup {
  width: 50%;
  position: relative;
  display: none;
  margin: 10% auto 0 auto;
  border-radius: 0px;
  background-clip: border-box;
  background: #fff;
  min-width: 250px;
  border: 2px solid #c9c9c9;
  z-index: 2000;
  -o-box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  -ms-box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}
.calendar-close {
  background: url('http://static2.apts247.info/images/shared/x.png') no-repeat;
  background-size: cover;
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  z-index: 3000;
}
.ie8 .calendar-close {
  background: url("../img/__x.png") no-repeat;
}
.calendar_holder .day,
.calendar_holder .blank {
  width: 14.08%;
}
.event-container .event {
  width: 100%;
  text-align: center;
}
.calendar-date {
  font-size: 24px;
  width: 100%;
  display: block;
  text-align: left;
  line-height: 24px;
  margin: 5px;
  position: relative;
  color: #666;
}
.calendar-title {
  width: 100%;
  display: block;
  text-align: center;
  font-size: 32px;
  line-height: 30px;
  position: relative;
  padding: 8px 0;
}
#calendar-popup p {
  position: relative;
  display: block;
  text-align: justify;
  font-size: 16px;
  color: #000;
  margin: 0 0 13px;
  padding: 8px;
}
.calendar-image {
  width: 90%;
  max-width: 300px;
  margin: 5px;
}
.calendar-image img {
  background-clip: border-box;
  border: 3px solid #fff;
  -o-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  -ms-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}
.calendar_button {
  border: 1px solid #666;
  margin: 2px 1px;
  padding: 1px;
  color: #666 !important;
  font: 15px Roboto, sans-serif;
  font-weight: bold;
}
/*--- new changes ---*/
p.day-date {
  display: none;
}
/* #Media Queries */
@media only screen and (min-width: 1280px) and (max-width: 1439px) {
  .calendar_holder {
    width: 100%;
    margin: 85px auto 0 auto;
  }
}
@media only screen and (min-width: 1044px) and (max-width: 1279px) {
  .calendar_holder .weekday,
  .calendar_holder .day,
  .calendar_holder .blank {
    width: 14.04%;
    margin: 0 -0.17%;
  }
  #calendar_holder h3 {
    width: 98%;
  }
  .calendar_holder {
    width: 90%;
  }
  .calendar_holder {
    margin: 85px auto 0 auto;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1043px) {
  .calendar_holder .weekday,
  .calendar_holder .day,
  .calendar_holder .blank {
    width: 14%;
    margin: 0 -0.26%;
  }
    #calendar_holder h3 {
    width: 98%;
  }
  
  .calendar_holder .weekday {
    margin: 0 -0.3%;
  }
  .calendar_holder .day {
    height: 90px;
  }
  .calendar_holder {
    width: 710px;
    margin: 35px auto 0 auto;
  }
  .calendar .print {
    display: none;
  }
}
@media only screen and (max-width: 767px) {
  .calendar_holder {
    width: 460px;
    margin: 65px auto 0 auto;
  }
  .calendar_holder .weekday,
  .calendar_holder .day,
  .calendar_holder .blank {
    width: 13.8%;
    margin: 0 -0.4%;
  }
  .calendar_holder .weekday {
    width: 14.2%;
    margin: 0 -0.4%;
  }
  .calendar_holder .day {
    height: 70px;
  }
  .day h4 {
    font-size: 11px;
    line-height: 12px;
  }
  .day p {
    font-size: 9px;
    line-height: 10px;
  }
  .day span {
    font-size: 12px;
    line-height: 13px;
  }
  .calendar-title {
    font-size: 26px;
  }
}
@media only screen and (max-width: 479px) {
  .calendar_holder {
    width: 300px;
  }
  .calendar_holder .weekday,
  .calendar_holder .day,
  .calendar_holder .blank {
    width: 14.2%;
    margin: 0 -1%;
  }
  .calendar_holder .weekday {
    width: 13.9%;
    margin: 0 -0.5%;
  }
  .calendar_holder .day {
    height: 70px;
  }
  .calendar_holder .nextmonth h3.calendar_header {
    font-size: 16px;
    line-height: 16px;
  }
  .calendar_holder .day h4,
  .calendar_holder .day p {
    display: none;
  }
  .calendar_holder div.weekday {
    font-size: 13px;
  }
  .calendar_holder div.day,
  .calendar_holder a.day {
    height: 50px;
  }
  .calendar_holder a.day span {
    font-size: 10px;
    line-height: 12px;
    margin: 1px;
  }
  .calendar_holder a.live-event span {
    color: #d70f0f;
    font-size: 13px;
  }
  .calendar_holder a.live-event span:after {
    content: ' \2022';
  }
}