@charset "utf-8";

.schedule-calendar {
     position: relative;
}

.ui-datepicker {
     position: relative;
     width: 100%;
     font-size: 12px;
     border: 0;
}

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
     border: none;
     background: none;
}
.ui-datepicker .ui-datepicker-header {
     position: relative;
     margin: 0 auto 20px;
     width: 230px;
     min-height: 35px;
     font-size: 20px;
     font-weight: 700;
     text-align: center;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
     cursor: pointer;
     position: absolute;
     top: 0;
     width: 33px;
     height: 33px;
     border-radius: 50%;
     background-color: #f7f7f7;
     background-repeat: no-repeat;
     background-position: center;
     background-size: 25px;
}
.ui-datepicker .ui-datepicker-prev {
     left: 12px;
}
.ui-datepicker .ui-datepicker-next {
     right: 12px;
}
.ui-datepicker .ui-datepicker-prev {
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 0 24 24' width='24px' fill='%23000000'%3E%3Cpath d='M14.71 15.88L10.83 12l3.88-3.88c.39-.39.39-1.02 0-1.41-.39-.39-1.02-.39-1.41 0L8.71 11.3c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0 .38-.39.39-1.03 0-1.42z'/%3E%3C/svg%3E");
}
.ui-datepicker .ui-datepicker-next {
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 0 24 24' width='24px' fill='%23000000'%3E%3Cpath d='M9.29 15.88L13.17 12 9.29 8.12c-.39-.39-.39-1.02 0-1.41.39-.39 1.02-.39 1.41 0l4.59 4.59c.39.39.39 1.02 0 1.41L10.7 17.3c-.39.39-1.02.39-1.41 0-.38-.39-.39-1.03 0-1.42z'/%3E%3C/svg%3E");
}
.ui-datepicker .ui-datepicker-header > a span {
     display: none;
}

.ui-datepicker-calendar {
     width: 100%;
     border-top: 1px solid #90959a;
}
.ui-datepicker-calendar thead th {
     height: 33px;
     color: #999;
     border-left: 1px solid #e7eaf0;
     border-right: 1px solid #e7eaf0;
     background-color: #f7f9fb;
}
.ui-datepicker-calendar td {
     cursor: pointer;
     position: relative;
     padding: 30px 10px 10px;
     height: 110px;
     vertical-align: top;
     border: 1px solid #e7eaf0;
}

.ui-datepicker .ui-datepicker-calendar td > .ui-state-default {
     position: absolute;
     top: 5px;
     left: 3px;
     width: 22px;
     height: 20px;
     text-align: center;
     line-height: 1.8;
     border-radius: 5px;
}
.ui-datepicker .ui-datepicker-calendar thead th:nth-of-type(1),
.ui-datepicker .ui-datepicker-calendar td:nth-of-type(1) > .ui-state-default {
     color: #ff2960;
}
.ui-datepicker .ui-datepicker-calendar thead th:nth-of-type(7),
.ui-datepicker .ui-datepicker-calendar td:nth-of-type(7) > .ui-state-default {
     color: #307ef2;
}
.ui-datepicker
     .ui-datepicker-calendar
     td.ui-datepicker-today
     > .ui-state-default {
     color: #fff;
     background-color: #e85e65;
}

.ui-datepicker .ui-datepicker-calendar td.ui-state-disabled {
     cursor: default;
     opacity: 0.4;
}

/*
.ui-datepicker-calendar td:not(:has(.day-event-list-container)) {
     pointer-events: none;
}
*/
.ui-datepicker-calendar td:has(.day-event-list-container) {
     cursor: pointer;
     background-color: rgba(255, 237, 238, 0.45);
     /* transition: background 0.2s; */
}
.ui-datepicker-calendar td.ui-state-disabled {
     background-color: transparent !important;
}
.ui-datepicker-calendar .ui-datepicker-current-day.has-events,
.is-online .ui-datepicker-calendar td:has(.day-event-list-container):hover {
     background-color: rgba(255, 237, 238, 1);
}

.ui-datepicker button[data-handler="today"] {
     position: absolute;
     top: 0;
     right: 0;
     width: 70px;
     height: 38px;
     font-weight: 500;
     font-size: 14px;
     border-radius: 5px;
     background-color: #f7f7f7;
     z-index: 10;
     transition: 0.3s;
}
.is-online .ui-datepicker button[data-handler="today"]:hover {
     background-color: #ececec;
     box-shadow:
          inset 0px 0px 0px 2px #fff,
          0px 0px 0px 3px #ececec;
}

.schedule-calendar .day-event-list li {
     margin: 5px 0;
     font-size: 13px;
     color: #145bdd;
     line-height: 1.3;
}

.schedule-calendar .more-events {
     margin-top: 5px;
     font-size: 13px;
     font-weight: 500;
     text-align: right;
}
.schedule-calendar .more-events span {
     padding: 3px;
}

.selected-event-wrap {
     display: flex;
     margin-top: 40px;
     border-top: 1px solid #90959a;
     border-bottom: 1px solid #90959a;
}
.selected-event-wrap .selected-date {
     padding: 20px 10px;
     flex: 0 0 200px;
     /* align-self: center; */
     font-size: 18px;
     text-align: center;
     line-height: 1.2;
}
.selected-event-list {
     width: 100%;
}
.selected-event-list li {
     padding: 15px 0;
     line-height: 1.8;
}
.selected-event-list li ~ li {
     border-top: 1px solid #e8ebf0;
}
.selected-event-list img {
     max-width: 100%;
     width: 100% !important;
     height: auto !important;
}
.selected-event-list .no-events {
     padding: 17px 0;
}
@media all and (max-width: 1000px) {
     .ui-datepicker-calendar td {
          padding: 25px 5px 5px;
     }
}
@media all and (max-width: 770px) {
     .ui-datepicker-calendar td {
          height: 95px;
     }
     .schedule-calendar .day-event-list li {
          font-size: 12px;
     }
     .schedule-calendar .more-events {
          font-size: 12px;
     }
     .selected-event-wrap {
          display: block;
     }
     .selected-event-list li {
          padding: 15px;
          border-top: 1px solid #e8ebf0;
     }
     .selected-event-list li:nth-of-type(even) {
          background-color: #f7f7f7;
     }
     .selected-event-list .no-events {
          padding-left: 10px;
          justify-content: center;
     }
}
@media all and (max-width: 640px) {
     .schedule-calendar {
          overflow-x: auto;
     }
     .schedule-calendar .ui-datepicker-calendar {
          min-width: 600px;
     }
}
