body, body .content-wrapper {
    background: #F3F6F9 !important;
}

a {
    text-decoration: none !important;
}

.pixeltimeline_holder {
    overflow-x: auto; /* Allow horizontal scrolling */
    overflow-y: hidden; /* Hide vertical overflow */
    white-space: nowrap; /* Prevent items from wrapping to the next line */
    width: 100%; /* Full width container */
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-scroll-snap-type: x mandatory;
    scroll-snap-type: x mandatory; /* Enable snap scrolling */
    scroll-behavior: smooth;

}

.pixeltimeline {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none; /* Remove default list styling */
    padding: 0;
    margin: 0;
    position: relative;
    -ms-scroll-snap-type: y mandatory;
    scroll-snap-type: y mandatory;
    scroll-snap-stop: always;
}


.pixeltimeline li {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    scroll-snap-align: center; /* Snap each item to the center */
}

.pixeltimeline li.current {
    font-weight: bold;
    border-radius: 8px 8px 0 0;
    color: #1e293b;
}

.pixeltimeline {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pixeltimeline li {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    scroll-snap-align: center;
    -webkit-transition: background-color 0.3s, -webkit-transform 0.3s;
    transition: background-color 0.3s, -webkit-transform 0.3s;
    -o-transition: background-color 0.3s, transform 0.3s;
    transition: background-color 0.3s, transform 0.3s;
    transition: background-color 0.3s, transform 0.3s, -webkit-transform 0.3s;
}

.pixeltimeline li.current {
    font-weight: bold;
    position: relative;
}

.pixeltimeline li:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: calc(50% + -10px);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #e2e8f0;
    background: #f8f9fa;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.pixeltimeline li.current::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: calc(50% + -10px);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #1e293b;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}


.pixeltimeline li {
    position: relative;
}


.gallery-container {
    margin-top: 20px;
    margin-bottom: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.gallery-container a {
    max-width: calc((100% / 3) - 0px);
    margin: 0;
    position: relative;
}

.gallery-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
}

.copyright-right {
    display: none !important;
}
.gallery-item {
    margin: 5px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.gallery-item img {
    width: 100%;
    height: 400px;
    -o-object-fit: cover;
    object-fit: cover;
}


.gradient-spinner {
    width: 30px;
    height: 30px;
    background: -o-linear-gradient(top, #1e293b 0%, rgba(0, 0, 0, 0.1) 25%);
    background: -webkit-gradient(linear, left top, left bottom, from(#1e293b), color-stop(25%, rgba(0, 0, 0, 0.1)));
    background: linear-gradient(180deg, #1e293b 0%, rgba(0, 0, 0, 0.1) 25%);
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

.gradient-spinner::after {
    content: "";
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border-radius: 50%;
    background: #f9fafa;
}

.year_holder_up {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 0;
    align-items: center;
    line-height: 1;
    margin-bottom: 10px;
}

.year_holder {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

.results-count {
    text-align: right;
}

.year_holder button {
    background: none;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 18px;
}

.year_holder button:hover {
    cursor: pointer;
}


.pixeltimeline {
}

.meta-info {
    position: absolute;
    top: 0;
    right: 10px;
    top: 10px;
    left: 10px;
    background: white;
    line-height: 1.2;
    padding: 2px 5px;
    border-radius: 2px;
    font-size: 12px;
    max-inline-size: -webkit-max-content;
    max-inline-size: -moz-max-content;
    max-inline-size: max-content;
    FONT-WEIGHT: 600;
    color: #1e293b;
}


.full_info_holder h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    padding: 0;
    text-decoration: none !important;
    color: #1e293b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.2em; /* Adjust line-height as needed */
    max-height: 2.4em; /* This should be twice the line-height */
}

picture.lg-img-wrap {
    width: -webkit-max-content !important;
    width: -moz-max-content !important;
    width: max-content !important;
    margin-left: auto;
    margin-right: auto;
    height: -webkit-max-content !important;
    height: -moz-max-content !important;
    height: max-content !important;
    margin-top: auto;
    margin-bottom: auto;
    max-width: 100vw !important;
    max-height: 100vh !important;
}


.full_info_holder_inside h3 {
    font-weight: 700;
    color: white;
    font-size: 20px;
}

.full_info_holder_inside {
    background: #ffffff21;
    -webkit-backdrop-filter: blur(11px);
    backdrop-filter: blur(11px);
    margin-bottom: 20px;
    border-radius: 8px;
    padding: 30px;
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
    text-align: left;
    max-width: 500px;
}

#animated-thumbnails-gallery a img {
    border-radius: 4px;
}

#animated-thumbnails-gallery a:hover {
    cursor: pointer;
}

#animated-thumbnails-gallery h2 {
    pointer-events: none;
    width: 100%;
    display: block;
    font-size: 40px;
    font-weight: 700;
}

.year_holder #current-year {
    font-size: 80px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.year_holder {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

.year_holder button {
    background: none;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 18px;
    color: #1e293b;
    -webkit-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
}

.year_holder button:hover {
    cursor: pointer;
    color: #014f76;
}

.year_holder #current-year {
    font-size: 80px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

.timeline_full {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 10px;
    background: white;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
}

.search-filters {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    margin: 0;
}

/* Search Filters */
.search-filters {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    gap: 10px;
}

.search-filters input {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    -webkit-transition: border-color 0.3s, -webkit-box-shadow 0.3s;
    transition: border-color 0.3s, -webkit-box-shadow 0.3s;
    -o-transition: border-color 0.3s, box-shadow 0.3s;
    transition: border-color 0.3s, box-shadow 0.3s;
    transition: border-color 0.3s, box-shadow 0.3s, -webkit-box-shadow 0.3s;
}

.search-filters input:focus {
    border-color: #1e293b;
    -webkit-box-shadow: 0 0 5px rgba(1, 119, 169, 0.3);
    box-shadow: 0 0 5px rgba(1, 119, 169, 0.3);
}

.search-filters button {

}

.search-filters #search-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #1e293b;
    color: #ffffff;
    cursor: pointer;
    -webkit-transition: background-color 0.3s, -webkit-box-shadow 0.3s;
    transition: background-color 0.3s, -webkit-box-shadow 0.3s;
    -o-transition: background-color 0.3s, box-shadow 0.3s;
    transition: background-color 0.3s, box-shadow 0.3s;
    transition: background-color 0.3s, box-shadow 0.3s, -webkit-box-shadow 0.3s;
}

.search-filters .btn-secondary {
    background-color: #6c757d;
}

.search-filters .btn-secondary:hover {
    background-color: #5a6268;
}

/* Gallery Container */
.gallery-container {
    margin-top: 20px;
    margin-bottom: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: flex-start;
}

.gallery-container a {
    max-width: calc((100% / 3) - 10px);
    margin: 0;
    position: relative;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    width: 100%;
}

.gallery-container a:hover {
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 400px;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 4px;
}

/* Light Gallery */
#animated-thumbnails-gallery a img {
    border-radius: 4px;
}

#animated-thumbnails-gallery a:hover {
    cursor: pointer;
}

#animated-thumbnails-gallery h2 {
    pointer-events: none;
    width: 100%;
    display: block;
    font-size: 40px;
    font-weight: 700;
}

/* Buttons */
.timeline_full button,
#scroll-left,
#scroll-right {
    background-color: #1e293b;
    border: none;
    color: #ffffff;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    -webkit-transition: background-color 0.3s, -webkit-box-shadow 0.3s;
    transition: background-color 0.3s, -webkit-box-shadow 0.3s;
    -o-transition: background-color 0.3s, box-shadow 0.3s;
    transition: background-color 0.3s, box-shadow 0.3s;
    transition: background-color 0.3s, box-shadow 0.3s, -webkit-box-shadow 0.3s;
}

.timeline_full button:hover,
#scroll-left:hover,
#scroll-right:hover {
    background-color: #014f76;
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Custom Scrollbar for WebKit Browsers */
.pixeltimeline_holder::-webkit-scrollbar {
    height: 2px;
}

.pixeltimeline_holder::-webkit-scrollbar-track {
    background: #f0f2f5; /* Background of the scrollbar track */
    border-radius: 10px;
}

.pixeltimeline_holder::-webkit-scrollbar-thumb {
    background-color: #1e293b; /* Color of the scrollbar thumb */
    border-radius: 10px;
    border: 2px solid #e2e8f0; /* Padding around the thumb */

}

.pixeltimeline_holder::-webkit-scrollbar-thumb:hover {
    background-color: #014f76; /* Color when hovering over the scrollbar thumb */
}

/* Custom Scrollbar for Firefox */
.pixeltimeline_holder {
    scrollbar-width: thin;
    scrollbar-color: #1e293b #e2e8f0;
    border-radius: 10px;
}

.pixeltimeline_holder:hover {
    scrollbar-color: #014f76 #e2e8f0;
}

#scroll-right i, #scroll-left i {
    margin: 0;
}

.full_info_holder_inside .close-btn {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
}

.header_bar {
    background: #F3F6F9;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 40px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1270px;
    padding-top: 20px;
    padding-bottom: 20px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 15px;
}

.popis_digital {
    margin-bottom: 80px;
    max-width: 800px !important;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.main-content-container {
    padding-top: 0;
}

.fb-page iframe, .fb-page iframe > span, .fb-page iframe {
    width: 100% !important;
    height: 100% !important;
}

.fb-page {
    width: 100% !important;
    padding: 15px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.wp-block-column {
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.fb-page {
    width: 100% !important;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.fb-page > span {
    display: block;
    width: 100% !important;
}

.lg-img-wrap {
    position: relative;
}

/*
.lg-img-wrap img, #animated-thumbnails-gallery a img {
    pointer-events: none !important;
}
.lg-img-wrap:after {
    content: ' ';
    position: absolute;
    background: url(https://wp-digitalisemlekezet-forum.s3.eu-central-1.amazonaws.com/wp-content/uploads/2024/09/04132319/dig_eml_log.webp) center center repeat;
    width: 100%;
    height: 100%;
    z-index: 199;
    left: 0;
    top: 0;
    pointer-events: none;
    opacity: 0.3;
}
*/


.user_info {
    max-width: 1000px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    padding: 8px;
    line-height: 1.4;
    background: #4caf5005;
    color: #424242;
    font-weight: 500;
}

@media (max-width: 500px) {
    .user_info {
        font-size: 12px;
    }
    #results-count-hu {
        font-size: 12px;
        white-space: nowrap;
    }
    #next-year, #prev-year {

        white-space: nowrap;
    }
}

.cky-btn-revisit-wrapper {
    z-index: 90 !important;
}
.popis_digital a {
    color: black;
    text-decoration: underline !important;
    font-weight: bold;
}

#loading-more {
    /*display: flex;*/
}

#loading-more .gradient-spinner {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {

}

@media (max-width: 768px) {

    .hidemobile {
        display: none !important;
    }

    .gallery-container {
        gap: 10px !important;
    }

    .gallery-container a {
        max-width: calc((100% / 2) - 5px);
        margin: 0;
    }

    .newsstand-main-content {
        margin: 0 !important;
    }
}

@media (max-width: 600px) {

    .header_bar {
        max-width: 100%;
        width: 100%;
        gap: 10px;
    }

    .newsstand-item-start-content {
        max-width: 100% !important;
    }

    .year_holder #current-year {
        font-size: 50px !important;
    }

    .full_info_holder_inside {
        margin-bottom: 0;
        padding: 10px;
        padding-right: 40px;
    }

    .results-count {
        text-align: center;
    }

    .gallery-item img {
        height: 250px;
    }

    .gallery-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .popis_digital {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .lg-sub-html {
        padding: 15px !important;
    }

    .full_info_holder_inside h3 {
        font-size: 18px;
    }
}

@media (max-width: 500px) {
    .main-content-container {
        padding: 0 !important;
    }

    .newsstand-item > .container {
        padding: 0 !important;
    }

    .meta_info {
        max-height: 100px;
        overflow: auto;
    }

    .meta_info::-webkit-scrollbar {
        height: 8px;
    }

    .meta_info::-webkit-scrollbar-track {
        background: #f0f2f5; /* Background of the scrollbar track */
        border-radius: 10px;
    }

    .meta_info::-webkit-scrollbar-thumb {
        background-color: #1e293b; /* Color of the scrollbar thumb */
        border-radius: 10px;
        border: 2px solid #e2e8f0; /* Padding around the thumb */

    }

    .meta_info::-webkit-scrollbar-thumb:hover {
        background-color: #014f76; /* Color when hovering over the scrollbar thumb */
    }


}


.skeleton-loader {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 10px 1fr 10px 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.skeleton-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px;
    -webkit-box-shadow: -1px 20px 20px rgb(0 0 0 / 2%);
    box-shadow: -1px 20px 20px rgb(0 0 0 / 2%);

}

.skeleton-image {
    background: -webkit-gradient(linear, left top, right top, color-stop(25%, #f0f0f0), color-stop(50%, #e0e0e0), color-stop(75%, #f0f0f0));
    background: -o-linear-gradient(left, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    -webkit-animation: skeleton-loading 1.5s infinite;
    animation: skeleton-loading 1.5s infinite;
    width: 100%;
    height: 150px;
    border-radius: 4px;
}

.skeleton-text {
    background: -webkit-gradient(linear, left top, right top, color-stop(25%, #f0f0f0), color-stop(50%, #e0e0e0), color-stop(75%, #f0f0f0));
    background: -o-linear-gradient(left, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    -webkit-animation: skeleton-loading 1.5s infinite;
    animation: skeleton-loading 1.5s infinite;
    height: 16px;
    margin-top: 10px;
    border-radius: 4px;
}

.skeleton-text.short {
    width: 50%;
}

@-webkit-keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.loading_text {
    margin-top: 20px;
    font-size: 16px;
    color: #888;
    text-align: center;
}

@media (max-width: 500px) {
    .skeleton-loader {
        -ms-grid-columns: (1fr) [ 2 ];
        grid-template-columns: repeat(2, 1fr);
    }
    .newsstand-content {
        margin-left: 15px;
        margin-right: 15px;
    }
}

.copyright-left {
    text-align: center;
}
.copyright-left a{
    color:black;
    font-weight: bold;
}


.lg-error-msg {
    font-size: 24px !important;
    color: white !important;
}

.lg-outer .lg-object {
    max-width: 100vw !important;
    max-height: 100vh !important;
}