.lp-nonextdate {
    color: #555555;
    font-style: italic;
}

.lp-nextdates-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 1.1rem;

    td {
        padding: 1rem 0;
    }

    .lp-nextdates-date {
        font-weight: bold;
    }

    .lp-nextdates-link {
        padding: .5rem 1rem;
        text-decoration: none;
        background-color: #253895;
        color: #ffffff;
        border-radius: 4px;
        word-break: keep-all;
        cursor: pointer;

        &.disabled {
            background-color: #5b6494;
            cursor: not-allowed;
        }
    }
}

.lp-nextdates-all {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;

    max-width: 85%;

    margin: 2rem auto;
    text-align: center;

    @media (max-width: 781px) {
        flex-direction: column;
    }

    .lp-nextdates-month-block {
        flex: 0 0 calc(50% - 1rem);
        
        &:nth-child(odd) {
            order: 1;
        }
        
        &:nth-child(even) {
            order: 2;
        }

        @media (max-width: 781px) {
            order: 1 !important;
        }


        .lp-nextdates-month {
            font-size: 1.3rem;
            font-weight: bold;
            margin-bottom: 1rem;
            background-color: #253895;
            color: #ffffff;
            padding: .5rem 0;

            clip-path: polygon(91.29% -3.16%, 10% 0%, 9.03% 102.11%, 90% 100%);
            transform: rotate(-5deg);
        }

        .lp-nextdates-item {
            display: flex;
            flex-direction: column;

            margin-top: 1rem;
            padding: 1rem;

            .lp-nextdates-date {
                font-weight: bold;
                color: #253895;
            }

            .lp-nextdates-location a {
                text-transform: uppercase;
                font-weight: bold;
                color: #D32F23;
                text-decoration: none;
                outline: none;
            }

            .lp-nextdates-availability {
                font-size: .85rem;
                font-style: italic;
                color: #555555;
            }

            .lp-nextdates-link {
                align-self: center;

                margin-top: .5rem;
                padding: .5rem 1rem;
                text-decoration: none;
                background-color: #253895;
                color: #ffffff;
                border-radius: 4px;
                word-break: keep-all;
                cursor: pointer;

                &.disabled {
                    background-color: #5b6494;
                    cursor: not-allowed;
                }
            }
        }
    }
}