/* css＞sys＞sb_block_calendar.css 修正版 */
/* 左メニュー kレンダー表示用 */

@charset "utf-8";
/* CSS Document */

#js_calendar_replace {
  text-align: -webkit-center;
}

.block-calendar {
  position: inherit;
  top: 30px;
  right: 30px;
  max-width:500px; /* デフォルトは375px */
  width:100%; /* デフォルトは375px */
  max-height: 500px;
  height: auto;
  background: #fff;
  margin: auto;
  z-index: 5;
  text-align: center;
  padding: 20px 0;
  color:#444;
  overflow-x:hidden;
}

.block-calendar-slide-area-wrapper {
  display: flex;
  width:100%;
  margin: auto;
  overflow-x: hidden;
  max-height:300px;
  height:auto;
}

.block-calendar-slide-area {
  width: 100%;
  height:100%;
  position: relative;
  left: 0%;
  transition: .2s;
  padding: 0 10px;
}

.block-calendar-title {
  display: inline-block;
  font-weight: bold;
  font-size:18px;
  /* letter-spacing: 1px; */
}

.block-calendar-month {
  letter-spacing: 1px;
}

.block-calendar-month b {
  display: inline-block;
  font-weight: normal;
  font-size: 24px; /* デフォルトは26px */
  letter-spacing: 1px;
  padding-right: 3px;
}

.block-calendar-month-area {
  width: 100%;
  position: relative;
}

.block-calendar-prev,
.block-calendar-next {
  position: absolute;
  bottom: 8px;
  letter-spacing: 1px;
  font-size: 14px;
  cursor: pointer;
  transition: .3s;
}

.block-calendar-prev:hover,
.block-calendar-next:hover {
  opacity: .7;
}

.block-calendar-prev {
  display: none;
  left: 0px;
  padding-left: 20px;
  background: url(../../img/usr/calendar_prev.png) no-repeat left 0 top 3px;
}

.block-calendar-next {
  right: 0px;
  padding-right: 20px;
  background: url(../../img/usr/calendar_next.png) no-repeat right 0 top 3px;
}

.block-calendar table {
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.block-calendar table tr {
  border-top: 1px solid #aaa;
  max-width:200px; /* デフォルトは308px */
  width:auto;
}

.block-calendar table th {
  width:auto;
  text-align: center;
  padding: 2px 0;
}

.block-calendar table th span {
  font-size: 12px;
}

.block-calendar table td {
  height: 38px;
  text-align: center;
  padding: 0;
}

.block-calendar table td span {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 24px;
  padding-top: 2px;
  font-size:15px; /* デフォルトは17px */
}
.block-calendar table td span.closed {
  position: relative;
  color: #ff0000;
}

.block-calendar p {
  max-width:200px; /* デフォルトは308px */
  width:100%;
  text-align:left;
  font-size:12px; /* デフォルトは11px */
  padding: 0 10px;
}

.block-calendar p span {
  color: #ff0000;
}