/* 2025.01.29 */

#js_calendar_replace {
    text-align: -webkit-center;
}

.block-calendar {
    position: inherit;
    /* top: 30px; */
    /* right: 30px; */
    max-width: 180px;
    width: 100%;
    max-height: 415px;
    height: auto;
    background: #fff;
    margin: auto;
    z-index: 5;
    text-align: center;
    /*padding: 20px 0;*/
    padding: 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;*/
    padding: 0;
}

.block-calendar-title {
    display: none;
    /*display: inline-block;
    font-weight: bold;
    font-size:18px;
    letter-spacing: 1px;*/
}

.block-calendar-month {
  display: inline-block;
  letter-spacing: 1px;
  padding-bottom: 30px;
}

.block-calendar-month b {
    display: inline-block;
    font-weight: normal;
    font-size: 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: 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: 17px;
}

.block-calendar table td span.closed {
    position: relative;
    color: #ff0000;
}

.block-calendar p {
    max-width: 308px;
    width: 100%;
    text-align: left;
    font-size: 11px;
    padding: 0 10px;
}

.block-calendar p span {
    color: #ff0000;
}