/* DS 25/06/21 */

app-dates-list.grid {
    margin-bottom: 4px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

#root app-dates-list.grid .dates-list-header {
    padding: 8px 15px 8px 7px;
    font-size: 13px;
    font-weight: 600;
    background-color: var(--c-primary-c);
    border-bottom: 1px solid var(--c-shade);
    display: inherit;
    align-items: center;
    justify-content: flex-start;
    color: var(--c-text-light-e);
}

#root app-dates-list.grid .dates-list-header::before {
    height: 24px;
    content: url(/v1.17/r/images/site/icons/CalendarIcon.svg);
    width: 24px;
    margin-right: 16px;
    opacity: 0.8;
}

#root app-dates-list.grid .dates-list-content {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    border-radius: 0 0 4px 4px;
    justify-content:center;
    margin: unset;
    padding: unset;
}

#root app-dates-list.grid .date-item {
    display: inline-flex;
    text-align: center;
    padding: 0 4px;
    align-items: center;
    border: 1px solid var(--c-primary-d);
    border-radius: 5px;
    background-color: var(--c-primary);
    height: 32px;
    justify-content: center;
    margin: 2px;
    padding: 4px 5px;
    white-space: nowrap;
    font-size: 1.1rem;
}

#root app-dates-list.grid.grid-2 .date-item {
    flex: 1 1 50%;
    max-width: 48%;
}
#root app-dates-list.grid.grid-3 .date-item {
    flex: 1 1 33%;
    max-width: 31%;
}

#root app-dates-list.grid .date-item a {
    color: var(--c-text-light);
    display: block;
    height: auto;
    margin: auto 0;
    width: 100%;
}

#root app-dates-list.grid .dates-show-more, #root app-dates-list.grid .dates-show-less {
    line-height: 28px;
    height: 28px;
    display: inherit;
    justify-content: center;
    display: none;
}
