.newsday-election-details--embedded {
    height: 100%;
    max-height: 500px;
    min-height: 500px;
}

.newsday-election-details--embedded .newsday-election-details__content {
    flex: 1 1 auto;
    min-height: 0;
}

.newsday-election-details--embedded .newsday-election-details__table-wrap {
    height: 100%;
    max-height: none;
}

.newsday-election-details__content {
    min-height: 14rem;
}

.newsday-election-details__table-wrap {
    max-height: 31rem;
}

.newsday-election-details__table {
    table-layout: fixed;
}

.newsday-election-details__seats {
    width: 4rem;
}

.newsday-election-details__result {
    width: 6rem;
}

.newsday-election-details__swatch {
    height: 1rem;
    width: 1rem;
}

.newsday-election-details__tabular {
    font-variant-numeric: tabular-nums;
}

.newsday-election-details__change {
    font-size: .8rem;
}

@media (max-width: 575.98px) {
    .newsday-election-details__table-wrap {
        max-height: 27rem;
    }

    .newsday-election-details__seats {
        width: 3.5rem;
    }

    .newsday-election-details__result {
        width: 5.3rem;
    }
}

@media (max-width: 767.98px) {
    .newsday-election-details--embedded {
        height: auto;
        max-height: none;
        min-height: 0;
    }

    .newsday-election-details--embedded .newsday-election-details__table-wrap {
        height: auto;
        max-height: 27rem;
    }
}
