.block_opening_hours .today {
    --bs-table-bg: var(--block-accent-color, --bs-table-bg);
    background-color: var(--block-accent-color);
}

.block_opening_hours .opening_hours_day_time.today {
    background-color: var(--block-accent-color, #313131);
}

.block_opening_hours .table {
    color: var(--block-text-color, --text-color);
    --bs-table-color: var(--text-color, --bs-table-bg);
    background-color: var(--block-background-color);
}

.block_opening_hours .table .weekday {
    width: 50%;
}

.block_opening_hours .table .time {
    width: 25%;
    text-align: right;
}

.block_opening_hours ul.opening_hours_all {
    padding-inline-start: 0px;
}

.block_opening_hours .opening_hours_all {
    display: block;
    text-align: center;
    width: 100%;
}

.block_opening_hours .opening_hours_day_time {
    background-color: var(--block-background-color, #313131);
    margin: 3px;
    border-radius: 5px;
    display: inline-block;
    padding: 3px;
    text-align: center;
    position: relative;
    width: calc(20% - 10px);
}

.col-xs-6 .block_opening_hours .opening_hours_day_time {
    width: 31%;
}

.block_opening_hours .opening_hours_day_time .opening_hours_content {
    position: absolute;
    top: 35%;
    line-height: 0.5;
    width: 100%;
    color: var(--block-text-color, white);
}

.block_opening_hours .opening_hours_day {
    font-size: 20px;
    padding-bottom: 5px;
    font-weight: bold !important;
}

.block_opening_hours .opening_hours_time {
    line-height: 1.10;
    font-size: 14px;
}

@media (min-width: 991px) {
    body .block_opening_hours span.opening_hours_time {
        line-height: 0.82 !important;
    }

    .col-md-3 .block_opening_hours .opening_hours_day_time,
    .col-md-4 .block_opening_hours .opening_hours_day_time {
        width: 47% !important;
    }

    .col-md-3 .block_opening_hours .opening_hours_day,
    .col-md-4 .block_opening_hours .opening_hours_day {
        font-size: 12px;
    }

    .col-md-3 .block_opening_hours .opening_hours_time,
    .col-md-4 .block_opening_hours .opening_hours_time {
        font-size: 10px;
    }

    body .col-md-8 .block_opening_hours span.opening_hours_time,
    body .col-md-9 .block_opening_hours span.opening_hours_time,
    body .col-md-12 .block_opening_hours span.opening_hours_time {
        line-height: 1.12 !important;
    }

    .col-md-6 .block_opening_hours .opening_hours_day,
    .col-md-8 .block_opening_hours .opening_hours_day,
    .col-md-9 .block_opening_hours .opening_hours_day {
        font-size: 14px;
    }

    .col-md-6 .block_opening_hours .opening_hours_time,
    .col-md-8 .block_opening_hours .opening_hours_time,
    .col-md-9 .block_opening_hours .opening_hours_time {
        font-size: 12px;
    }

    .col-md-8 .block_opening_hours,
    .col-md-9 .block_opening_hours,
    .col-md-12 .block_opening_hours {
        line-height: 1.10;
    }

    .col-md-12 .block_opening_hours .opening_hours_time {
        font-size: 17px;
    }

    .col-md-12 .block_opening_hours .opening_hours_day {
        font-size: 26px;
    }
}

@media (max-width: 767.98px) {
    .block_opening_hours .opening_hours_day_time {
        width: 31%;
    }

    .block_opening_hours .opening_hours_day {
        font-size: 12px;
    }

    .block_opening_hours .opening_hours_time {
        font-size: 10px;
    }

    .col-xs-6 .block_opening_hours .opening_hours_day_time {
        width: 46%;
    }

    .col-xs-6 .block_opening_hours .opening_hours_day {
        font-size: 10px;
    }

    .col-xs-6 .block_opening_hours .opening_hours_time {
        font-size: 8px;
    }
}

@media (max-width: 480px) {
    .block_opening_hours .opening_hours_day_time {
        width: 46%;
    }
}