.post-thumb-115x85 {
    width: 115px;
    height: 85px;
    object-fit: cover;
}
.post-slider-1280x582 {
    width: 1280px;
    height: 582px;
    object-fit: cover;
}
.post-thum-557x352{
    height: 352px;
    object-fit: cover;

}
.post-thum-218x150{
    width: 218px;
    height: 150px;
    object-fit: cover;

}

/* Keep the account links visible without widening the page on small screens. */
@media (max-width: 767.98px) {
    .header-top .row > .col,
    .header-top .row > .col-auto {
        flex: 0 0 100%;
        width: 100%;
    }

    .top-left-menu,
    .header-right-menu > ul {
        justify-content: center !important;
    }

    .header-right-menu {
        margin-top: 6px;
        text-align: center;
    }
}

/* The base theme hides the first utility item at tablet widths. */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .header-right-menu > ul > li:first-child {
        display: list-item;
    }
}

.archive-wrapper {
    overflow: hidden;
}

.archive-wrapper .ui-datepicker {
    box-sizing: border-box;
    max-width: 100%;
}

.archive-wrapper .ui-datepicker table {
    table-layout: fixed;
    width: 100%;
}

.archive-wrapper .ui-datepicker .ui-datepicker-prev {
    left: 8px;
}

.archive-wrapper .ui-datepicker .ui-datepicker-next {
    right: 8px;
}

.archive-wrapper .ui-datepicker .ui-datepicker-title {
    margin: 0 2.5em;
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.archive-wrapper .ui-datepicker th {
    padding: 0.7em 0;
    font-size: 14px;
}

.archive-wrapper .ui-datepicker td {
    padding: 1px;
}

.archive-wrapper .ui-datepicker td .ui-state-default {
    padding: 6px 2px;
    font-size: 16px;
}

.weather-wrapper-2 .weather-days {
    flex: 1;
    width: auto;
}

.weather-api-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.weather-api-forecast-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.weather-attribution {
    color: inherit;
    font-size: 11px;
    opacity: 0.7;
}

.poll-content ul {
    padding-left: 0;
}

.poll-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.poll-content ul li input[type="radio"] {
    flex: 0 0 auto;
    margin-top: 5px;
}

.poll-content ul li label {
    padding-left: 0;
}

.poll-results .progress {
    height: 8px;
}

.post-video-player {
    background: #000;
}

.post-video-player iframe {
    border: 0;
}

.post-video-player video {
    background: #000;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.site-name-link,
.site-name-link:hover,
.site-name-link:focus,
.site-name-link:active {
    color: inherit;
    text-decoration: none;
    transition: none;
}

.header-right-menu .header-submit-news {
    color: #fecc17;
    font-weight: 600;
}

.header-right-menu .header-submit-news:hover,
.header-right-menu .header-submit-news:focus-visible {
    color: #fff;
}

.header-account-separator {
    margin: 0 8px;
}

.news-submission-form,
.news-submission-form .form-label,
.news-submission-form .form-check-label,
.news-submission-form .form-control,
.news-submission-form .form-control:focus {
    color: #000;
}

.news-submission-page h1,
.news-submission-page > p.text-muted {
    color: #000 !important;
}

.news-submission-form .form-check-input {
    border-color: #000;
    accent-color: #000;
}

.news-submission-form .form-check-input:checked {
    background-color: #000;
    border-color: #000;
}

.news-submission-form .form-check-input:focus {
    border-color: #000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.15);
}

.frontend-account-page,
.frontend-account-page h1,
.frontend-account-page h2,
.frontend-account-page .form-label,
.frontend-account-page .form-control,
.frontend-account-page .form-control:focus,
.frontend-account-page .text-muted {
    color: #000 !important;
}

/* Keep readable page content black without changing the dark header or footer. */
.frontend-page-content {
    --bs-body-color: #000;
    color: #000;
}

.frontend-page-content h1,
.frontend-page-content h2,
.frontend-page-content h3,
.frontend-page-content h4,
.frontend-page-content h5,
.frontend-page-content h6,
.frontend-page-content .card-title,
.frontend-page-content .page-title .title,
.frontend-page-content .post-head .title,
.frontend-page-content .panel_header h4,
.frontend-page-content .section-title {
    color: #000 !important;
}

.frontend-page-content p,
.frontend-page-content .form-label,
.frontend-page-content .form-check-label,
.frontend-page-content .form-control,
.frontend-page-content .form-control:focus,
.frontend-page-content textarea,
.frontend-page-content select {
    color: #000;
}

@media (max-width: 767.98px) {
    .advertisement-link,
    .advertisement-image {
        display: block;
        width: 100%;
    }

    .advertisement-image {
        height: auto;
        object-fit: contain;
    }
}
