.aocp-events__table {
    width: 100%;
    border: 1px solid #d6e1db;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
}

.aocp-events__table > thead > tr > th {
    padding: 14px 10px;
    background: #f1f5f1;
    text-align: left;
    vertical-align: bottom;
}

.aocp-events__table > thead > tr > th:nth-child(1) { width: 13%; }
.aocp-events__table > thead > tr > th:nth-child(2) { width: 15%; }
.aocp-events__table > thead > tr > th:nth-child(3) { width: 23%; }
.aocp-events__table > thead > tr > th:nth-child(4) { width: 13%; }
.aocp-events__table > thead > tr > th:nth-child(5) { width: 14%; }
.aocp-events__table > thead > tr > th:nth-child(6) { width: 10%; }
.aocp-events__table > thead > tr > th:nth-child(7) { width: 12%; }

.aocp-events__table > tbody > tr > td {
    padding: 18px 10px;
    border-top: 1px solid #d6e1db;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.aocp-events__table > tbody > tr[data-aocp-row]:hover > td {
    background: #f7faf7;
}

.aocp-events__table > tbody > tr.is-marked > td,
.aocp-events__table > tbody > tr.is-marked:hover > td {
    background: #e0ece3;
}

.aocp-events__label {
    display: none;
}

.aocp-events__value {
    min-width: 0;
}

.aocp-events__table .inline-button,
.aocp-entry .aocp-events__switch-link {
    display: inline-block;
    padding: 9px 12px;
    border: 1px solid #123d33;
    background: #123d33;
    color: #fff;
    line-height: 1.4;
    text-align: center;
}

.aocp-events__table .inline-button:hover,
.aocp-entry .aocp-events__switch-link:hover {
    background: #1c5044;
    text-decoration: none;
}

.aocp-events__exception .inline-button {
    border-color: #97523c;
    background: #fff6f1;
    color: #863d28;
}

.aocp-events__exception .inline-button font {
    color: inherit;
}

.aocp-events__exception .inline-button:hover {
    background: #f8e8dd;
}

.aocp-events__information .inline-button {
    background: #fff;
    color: #123d33;
}

.aocp-events__information .inline-button:hover {
    background: #f1f5f1;
}

.aocp-events__price {
    display: block;
    margin-top: 8px;
}

.aocp-events__status-text {
    display: inline-block;
    padding-left: 9px;
    border-left: 2px solid #8ca99c;
}

.aocp-events__status--open { border-color: #246848; }
.aocp-events__status--full { border-color: #98713a; }
.aocp-events__status--cancelled { border-color: #97523c; }

.aocp-events__switch {
    margin-top: 28px;
}

.aocp-events__notices > div {
    width: auto !important;
    max-width: 100%;
    margin: 0 0 24px !important;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .aocp-events__table,
    .aocp-events__table > tbody {
        display: block;
        border: 0;
    }

    .aocp-events__table > thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .aocp-events__table > tbody > tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 24px;
        border: 1px solid #d6e1db;
    }

    .aocp-events__table > tbody > tr > td {
        display: block;
        padding: 12px 18px;
        font-size: 14px;
    }

    .aocp-events__table > tbody > tr > .aocp-events__name {
        order: -1;
        padding-top: 18px;
        border-top: 0;
        background: #f1f5f1;
        font: 24px Georgia, serif;
        line-height: 1.25;
    }

    .aocp-events__table > tbody > tr > .aocp-events__registration {
        order: 1;
        padding-bottom: 18px;
    }

    .aocp-events__label {
        display: block;
        margin-bottom: 5px;
        font: bold 11px Arial, sans-serif;
        line-height: 1.5;
    }

    .aocp-events__registration .inline-button {
        min-height: 44px;
        padding: 12px 18px;
    }

    .aocp-events__table > tbody > .aocp-events__empty > td {
        padding: 20px;
        border-top: 0;
    }
}
