.nyb-widget {
    --nyb-accent: #f68e2d;
    --nyb-accent-bg: rgba(246, 142, 45, 0.13);
    --nyb-accent-bg-light: rgba(246, 142, 45, 0.08);
    --nyb-btn: #ffb524;
    --nyb-btn-filter: #53b3b7;

    max-width: 1200px;
    margin: 0 auto;
}

/* --- Datepicker bar --- */

.nyb-datepicker {
    text-align: center;
    background: var(--nyb-accent-bg);
    padding: 10px 0;
}

.nyb-filters {
    display: inline-grid;
}

.nyb-date-input {
    border: 1px solid #ccc;
    font-size: larger;
    margin: 5px;
    padding: 6px 10px;
    text-align: center;
}

.nyb-submit {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 32px;
    padding-left: 10px;
    padding-right: 10px;
    color: #fff !important;
    border-radius: 4px !important;
    text-decoration: none;
    background: var(--nyb-btn-filter);
    border: 0;
    margin: 5px;
    cursor: pointer;
    transition: filter .15s ease;
}

.nyb-submit:hover {
    filter: brightness(0.88);
}

@media (min-width: 570px) {
    .nyb-filters {
        display: inline-flex;
    }
}

/* --- Date rows --- */

.nyb-row {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--nyb-accent-bg);
    margin-top: -1px;
    text-align: left;
}

.nyb-row__date {
    width: 33.33333%;
    position: relative;
    background: var(--nyb-accent-bg-light);
    padding: 18px 8px !important;
    color: #000;
}

.nyb-row__date > p {
    text-transform: capitalize !important;
    color: #000 !important;
    padding-bottom: 5px;
    line-height: 0.9;
    margin: 0;
}

.nyb-row__month {
    font-weight: 900;
    font-size: larger !important;
}

.nyb-row__day-num {
    font-size: xx-large !important;
    font-weight: 900;
}

.nyb-row__events {
    display: flex;
    width: 100%;
    flex-direction: column;
    position: relative;
    align-items: center;
    flex: 1;
}

/* --- Single event --- */

.nyb-event {
    display: flex;
    width: 100%;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    position: relative;
    padding: 1rem 1.25rem !important;
}

.nyb-event__name,
.nyb-event__time {
    line-height: 1.45rem;
    color: #131522;
    font-weight: 900;
    font-size: 1.25rem;
    display: inline-block;
}

.nyb-event__place {
    color: #555;
    font-size: 0.95rem;
}

.nyb-event__price a {
    text-decoration: none;
}

.nyb-event__btn {
    cursor: pointer;
    min-width: 180px;
    text-align: center;
    display: block;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 26px !important;
    padding: 15px 12px !important;
    color: #fff !important;
    border-radius: 4px !important;
    text-decoration: none;
    background: var(--nyb-btn);
    transition: filter .15s ease;
}

.nyb-event__btn:hover {
    filter: brightness(1.08);
}

/* --- States --- */

.nyb-loading {
    text-align: center;
    padding: 40px;
    color: #888;
}

.nyb-no-results,
.nyb-error {
    text-align: center;
    padding: 40px;
    color: #888;
}

.nyb-error {
    color: #d63638;
}

/* --- Desktop --- */

@media (min-width: 992px) {
    .nyb-row__date {
        width: 16.66667%;
        padding: 1rem 1.25rem !important;
    }

    .nyb-event {
        align-items: center;
        flex-direction: row;
        padding: 0 1.25rem !important;
    }

    .nyb-event__info {
        width: calc(100% - 180px);
        padding: 0.6rem 1rem 0.6rem 0;
    }

    .nyb-event__price {
        width: 180px;
        padding: 0.6rem 0;
    }
}

/* --- Mobile --- */

@media (max-width: 570px) {
    .nyb-row__date {
        padding: 1rem 1.25rem !important;
    }
}
