@charset "UTF-8";

.hm-event-calendar table {
    margin: 0;
}

.hm-event-calendar-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-height: 100%;
    background-color: rgba(0, 0, 0, .55);
    transition: all .2s ease-in-out;
    overscroll-behavior: contain;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hm-event-calendar-modal::-webkit-scrollbar {
  display: none;
}

.hm-event-calendar-modal-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(100% + 1px);
}

.hm-event-calendar-modal:not(.is-visible) {
    pointer-events: none;
    opacity: 0;
}

.hm-event-calendar-detail {
    width: 94%;
    max-height: 72%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    background-color: #fff;
    border-radius: .5rem;
    overflow: auto;
    overscroll-behavior: contain;
}

.hm-event-calendar-detail-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    height: 100%;
}

.hm-event-calendar-detail-content {
    flex: 1;
}

.hm-event-calendar-detail-header {
    display: block;
    text-align: center;
    padding: 1rem 1.5rem;
    background-color: #f7f7f7;
    border-bottom: solid 1px #eee;
}

.hm-event-calendar-detail-header p {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
}

.hm-event-calendar-detail-headline {
    padding: 1rem 1.5rem .5rem;
}

.hm-event-calendar-detail-headline .hm-event-calendar-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    font-weight: bold;
    text-align: center;
    border-bottom: dotted 2px #888;
}

.hm-event-calendar-contents {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.hm-event-calendar-contents>* {
    margin-bottom: .5rem;
}

.hm-event-calendar-contents>*:last-child {
    margin-bottom: 0;
}

.hm-event-calendar-detail-list {
    padding: .5rem 1.5rem 1rem;
}

.hm-event-calendar-detail-list dd {
    margin: 0;
}

.hm-event-calendar-detail-list dd:not(:last-of-type) {
    padding-bottom: .5rem;
    margin: 0 0 .5rem;
    border-bottom: solid 1px #eee;
}

.hm-event-calendar-detail-link {
    text-align: center;
    border-top: solid 1px #eee;
}

.hm-event-calendar-detail-link a {
    display: block;
    padding: 1rem 1.5rem;
    background-color: #f7f7f7;
}

@media (min-width: 768px) {
    .hm-event-calendar-detail {
        width: 40rem;
    }
}

/* Fullcalendar */
.hm-event-calendar.fc .fc-event {
    cursor: pointer;
}

.hm-event-calendar .fc-event.no_detail_on_holiday {
    cursor: default;
    pointer-events: none;
}
.hm-event-calendar.fc .fc-event-title {
    /* white-space: pre-wrap; */
}

.hm-event-calendar.fc .fc-button-primary {
    color: #333;
    border: 1px solid !important;
    background-color: #f5f5f5 !important;
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    border-color: #e6e6e6 #e6e6e6 #bfbfbf !important;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25) !important;
    transition: background-position .1s linear;
}

.hm-event-calendar.fc .fc-button-primary:focus {
    outline: none;
    box-shadow: none;
}

.hm-event-calendar.fc .fc-button-primary:disabled {
    color: #888;
}

.hm-event-calendar.fc .fc-button-disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

.hm-event-calendar.fc .fc-button-primary:not(:disabled):active {
    color: #333;
}

.hm-event-calendar.fc .fc-button-primary:not(:disabled):hover {
    color: #333;
    text-decoration: none;
    background-position: 0 -15px;
}

.hm-event-calendar.fc .fc-daygrid-day-number {
    color: #999;
}

.hm-event-calendar.fc .fc-col-header-cell-cushion:hover {
    color: #1e73be;
}

@media (max-width: 767px) {
    .hm-event-calendar.fc .fc-daygrid-day-number {
        font-size: .75em;
    }

    .hm-event-calendar.fc .fc-toolbar-title {
        font-size: 1.375em;
    }
}

/* イベント情報テーブル */
.hm-event-detail-table {}

.hm-event-detail-table table,
.hm-event-detail-table th,
.hm-event-detail-table td {
    border: solid 1px rgba(0, 0, 0, .1);
    border-collapse: collapse;
}

.hm-event-detail-table h3 {
    /* font-size :f¥ */
}

.hm-event-detail-table th {
    background-color: #f7f7f7;
}

.hm-event-detail-table td {
    background-color: #fff;
    word-break: break-word;
}

.hm-event-detail-recurring-event-header {
    margin-top: 0;
    margin-bottom: .5em;
}

.hm-event-detail-recurring-event-header:not(:first-child) {
    margin-top: .8rem;
    padding-top: .8rem;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.hm-event-detail-table-dates {
    padding: 0 0 0 1.5em;
    margin: 0;
}

.hm-event-detail-table-dates li:not(:last-child) {
    margin-bottom: .5em;
}

.hm-event-detail-table-dates dd {
    margin: 0;
}

.hm-event-detail-table-contents>*:first-child {
    margin-top: 0;
}

.hm-event-detail-table-contents>*:last-child {
    margin-bottom: 0;
}
