.ec-st {
    max-width: 360px;
    margin: 24px auto;
    background: #fff;
    font-family: 'CentralAvenue' !important;
    color: #111;
    box-sizing: border-box;

    box-shadow: 0px 5px 5px 2px rgb(0 0 0 / 0.1);
    padding: 30px 25px 40px;
}
.ec *,
.ec *::before,
.ec *::after {
    box-sizing: inherit;
}

.ec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.ec-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ec-nav {
    background: none;
    border: 0;
    padding: 6px;
    cursor: pointer;
    color: #1f6f9f;
    line-height: 0;
}
.ec-nav svg {
    width: 22px;
    height: 22px;
}
.ec-nav:focus-visible,
.ec-day:focus-visible {
    outline: 2px solid #1f6f9f;
    outline-offset: 2px;
}

.ec-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 6px;
    text-align: center;
    font-family: 'CentralAvenue' !important;
}
.ec-dow {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 0 12px;
}

.ec-day {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: none;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    color: #111;
    cursor: pointer;
}
.ec-day:hover {
    background: #eef3f5;
}
.ec-day.is-outside {
    color: #a3a8ad;
}
.ec-day.is-selected {
    background: #f47c14;
}

.ec-day.is-selected.is-today {
    box-shadow: none;
}

.ec-list {
    margin-top: 20px;
    border-top: 1px solid #e6e8ea;
    padding-top: 14px;
    font-size: 14px;
}
.ec-list-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.ec-events {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ec-events li {
    padding: 8px 0;
    border-top: 1px solid #eef0f1;
}
.ec-events li:first-child {
    border-top: 0;
}
.ec-events a,
.ec-events span.ec-name {
    color: #1f6f9f;
    text-decoration: none;
    font-weight: 500;
}
.ec-events a:hover {
    text-decoration: underline;
}
.ec-events small {
    display: block;
    color: #6b7177;
    font-size: 12px;
}
.ec-msg {
    margin: 0;
    color: #6b7177;
}

.ec-day.no-events {
  pointer-events: none;
}

@media (max-width: 380px) {
    .ec {
        padding: 20px 12px 24px;
    }
    .ec-day {
        width: 36px;
        height: 36px;
    }
}


.pop-up-box .content {
    display: flex;
    flex-direction: column;
}

.pop-up-box .content a {
    width: fit-content;
    align-self: center;
}