@import 'article.css';
@import 'breadcrumbs.css';
@import 'employees.css';
@import 'graves.css';
@import 'key-value.css';
@import 'contact.css';
@import 'story.css';
@import 'research.css';
@import 'standardpage.css';
@import 'subtopslider.css';
@import 'museum.css';
@import 'institution.css';
@import 'leveltar.css';
@import 'terkeptar.css';
@import 'customCard.css';
@import 'announcement.css';

/* Admin */
@import 'admin.css';
@import 'admin/buttons.css';
@import 'admin/articles.css';
@import 'admin/login.css';
@import 'admin/menu.css';
@import 'admin/tables.css';
@import 'admin/main-menu.css';
@import 'admin/multi-add.css';
@import 'admin/helpers.css';
@import 'admin/file-insert-plugin.css';
@import 'admin/file-blocks.css';
@import 'admin/files.css';
@import 'admin/dashboard.css';
@import 'SimpleCrop.css';
@import 'admin/report.css';
@import 'admin/employees.css';


@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

* {
    --PRIMARY_GREY_10: #E9EBEA;
    --PRIMARY_GREY_20: #D3D7D5;
    --PRIMARY_GREY_50: #909A95;
    --PRIMARY_GREY_60: #7A8680;
    --PRIMARY_GREY_70: #64725F;
    --PRIMARY_GREY_90: #384940;
    --PRIMARY_GREEN_10: #8FDFB5;
    --PRIMARY_GREEN_40: #598A70;
    --PRIMARY_GREEN_80: #22352B;
    --PRIMARY_WHITE: #FFFFFF;
    --PRIMARY_BLACK: #000000;

    --PRIMARY_GOLD: #eaa500;
    --PRIMARY_BLUE: #90a1b5;
    --PRIMARY_DARK_BLUE: #738393;
    --PRIMARY_NEW_GREEN: #6d7662;
    --PRIMARY_NEW_DARk_GREEN: #444a3c;

    --MENU_ITEM_INACTIVE: #6d7662;
}

* {
    transition: all 0.3s ease-in-out;
}

::selection {
    background-color: #344F40FF;
    color: white;
}

img::selection {
    filter: brightness(0.8) !important;
}

.w-10 {
    width: 10% !important;
}

.w-30 {
    width: 30% !important;
}

.w-40 {
    width: 40% !important;
}

.w-45 {
    width: 45% !important;
}

.w-60 {
    width: 60% !important;
}

.w-45 {
    width: 45% !important;
}

.w-80 {
    width: 80% !important;
}

.w-20 {
    width: 20% !important;
}

.w-70 {
    width: 70%;
}

.w-90 {
    width: 90% !important;
}

@media (max-width: 992px) {
    .w-70 {
        width: 100% !important;
    }

    .w-30 {
        width: 100% !important;
    }

    .w-45 {
        width: 100% !important;
    }

    .w-50 {
        width: 100% !important;
    }
}

@media (max-width: 500px) {
    .w-40 {
        width: 100% !important;
    }

    .w-25 {
        width: 100% !important;
    }
}

.w-30 {
    width: 30%;
}

.h-20 {
    height: 20%;
}


.h-40 {
    height: 40% !important;
}

.h-60 {
    height: 60% !important;
}

.h-80 {
    height: 80% !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-25 {
    font-size: 25px !important;
}

.fs-30 {
    font-size: 30px !important;
}

.fs-36 {
    font-size: 36px !important;
}

.fs-45 {
    font-size: 45px !important;
}

@media (max-width: 500px) {
    .fs-45 {
        font-size: 38px !important;
    }
}

@media (max-width: 768px) {
    .fs-20 {
        font-size: 15px !important;
    }
}

.bebas-neue {
    font-family: "Bebas Neue", sans-serif !important;
    font-weight: 401;
    font-style: normal;
}

form {
    width: 100%;
}

.form-group {
    padding: 10px;
}

.d-flex {
    flex-flow: wrap;
}

@media (max-width: 1000px) {
    .d-flex {
        flex-direction: column !important;
    }
}

.home-container {
    background-color: #FFFFFF;
}

.montserrat {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 400;
    font-style: normal;
}

.source-sans {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.headline-1 {
    font-size: 40px !important;
    color: #344f40 !important;
    text-transform: uppercase;
}

.link-1 {
    color: #344f40;
    text-decoration: none;
}

.text-justify {
    text-align: justify;
}

.p-10 {
    padding: 2.5em !important;
}

.gray-background {
    background-color: var();
}

body {
    background-color: white;
}

body.dashboard {
    background-image: url("../img/bg-green.png");
}

body.dashboard header {
    background-color: #358157;
    color: white;
}

body.dashboard header h3 {
    font-size: 20px;
}

.hm-him-logo-black {
    display: block;
}

.him-logo-white {
    display: block;
    width: 193px;
    height: 56px;
}

.hm-logo-white {
    display: block;
    width: 130px;
    height: 75px;
    align-self: center;
}

.mh-logo-white {
    display: block;
    width: 80px;
    height: 80px;
    align-self: center;
}

@media(max-width: 1000px) {

    .hm-logo-white,
    .mh-logo-white {
        align-self: flex-start;
    }

}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 20px;
}

.logo-container .flex-row {
    justify-content: center;
    align-items: center;
}

.flag-divider {
    position: absolute;
    left: 8rem;
    background-image: url(../img/zaszlo.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: fit-content;
    height: 5px;
    padding-left: 8rem !important;
}

.top-slider {
    background-image: url("../img/top-header.jpg");
    height: 620px;
    background-size: cover;
}

/* Home page hero slider (frame/components/hero-slider, js/heroSlider.js) */
.top-slider.hero-slider {
    background-image: none;
    overflow: hidden;
    isolation: isolate;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 0 0;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
    transform: scale(1);
    transform-origin: 50% 50%;
    will-change: transform, opacity;
}

.hero-bg.is-active {
    opacity: 1;
}

.hero-bg.is-zoom {
    animation: heroZoom 6.6s linear forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

.hero-cap {
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
}

.hero-cap.is-active {
    opacity: 1;
}

.hero-cap-2 {
    position: absolute;
    inset: 0;
    text-align: right;
}

.hero-cap-2 .flag-divider {
    left: auto;
    right: 8rem;
    background-image: none;
    background-color: var(--PRIMARY_GOLD);
}

.hero-cap-2 .top-slider-text-group {
    padding-top: 3rem;
}

.hero-cap-2 .hero-sub {
    display: inline-block;
    font-size: 40px;
    line-height: 1.2;
    margin-top: .35rem !important;
    letter-spacing: .04em;
}

.hero-sub-link,
.hero-sub-link:hover {
    color: #fff;
}

.hero-sub-link {
    text-decoration: none;
}

.hero-sub-link:hover,
.hero-sub-link:focus-visible {
    color: var(--PRIMARY_GOLD);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1.5px solid rgba(255, 255, 255, .85);
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
    transition: width .5s ease, background-color .5s ease, border-color .5s ease;
    box-shadow: 0 0 4px rgba(0, 0, 0, .35);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, .45);
}

.hero-dot.is-active {
    width: 28px;
    background: var(--PRIMARY_GOLD);
    border-color: var(--PRIMARY_GOLD);
}

@media (max-width: 768px) {
    .hero-cap-2 .flag-divider {
        right: 4rem;
    }
}

@media (max-width: 800px) {
    .hero-cap-2 .hero-sub {
        font-size: 2rem;
    }
}

@media (max-width: 400px) {
    .hero-cap-2 .hero-sub {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg.is-zoom {
        animation: none;
    }

    .hero-bg,
    .hero-cap {
        transition: none;
    }
}

/* @media (max-width: 500px) {
    .top-slider {
        background-image: url("../img/Banner_mobile.png") !important;
    }
} */

.top-slider-text-group {
    padding-left: 8rem;
    padding-bottom: 50px;
    padding-right: 8rem;
    padding-top: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-out forwards;
    animation-delay: 0s;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideFromRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleUp {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

#page-content .card {
    visibility: hidden;
}


#page-content p:not(.card-text):not(.terkeptar-card-text),
#page-content ol,
#page-content ul,
#page-content h1:not(.card-title),
#page-content h2:not(.accordion-header):not(.terkeptar-card-header),
#page-content h3,
#page-content table,
#page-content span {
    animation: slideFromRight 1s ease-out forwards;
}

.golden-button {
    background-color: var(--PRIMARY_GOLD);
    color: white !important;
    font-family: "Bebas Neue", sans-serif;
    font-size: 28px;
    justify-self: center;
    align-items: center;
    border: none !important;
}

.download-button {
    position: relative;
    text-align: left;
}

@media(max-width: 600px) {
    .download-button {
        width: 100% !important;
    }
}

.download-button::after {
    content: "";
    background-image: url(../img/letoltes_ikon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
}

.golden-border {
    border-color: var(--PRIMARY_GOLD) !important;
    color: var(--PRIMARY_NEW_DARk_GREEN) !important;
}


.animate-on-scroll {
    animation: slideUp 1s ease-out forwards;
    visibility: visible !important;
}

.top-slider-text {
    font-size: 80px;
}

.fs-13px {
    font-size: 13px;
}

.slim-slider {
    background-image: url("../img/slim-header.png");
    height: 200px;
}

.slim-slider-text-group {
    padding-left: 8rem;
    padding-right: 8rem;
}

.hu-flag {
    position: absolute;
    width: 218px;
    height: 128px;
    top: calc(50% - 64px);
    left: -182px;
    background-image: url("../img/hu-flag.jpg");
    background-repeat: no-repeat;
}

.footer {
    background-color: #444A3C;
    padding: 2rem 6rem;
}

@media (max-width: 1200px) {
    .footer-secondRow {
        padding-left: 0;
    }
}

.copyright-text {
    font-size: 16px;
    color: #D3D7D5;
}

.header-nav {
    font-size: 25px;
    margin-right: 40px;
}

.header-nav li {
    list-style-type: none;
}

.main-nav-a {
    margin: 25px;
}

.header-dropdown-menu {
    transition: all 0.3s ease-in-out;
    border: none !important;
    display: none;
    flex-direction: column;
    position: absolute;
    min-width: 155px;
    padding: 12px 16px;
    z-index: 1;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.header-dropdown:hover .header-dropdown-menu {
    display: flex;
}

.header-dropdown-menu a {
    padding: 10px;
}

.header-dropdown-menu a {
    transition: all 0.3s ease-in-out;
    background-color: #6d7662;
    color: #FFFFFF !important;
}

.header-dropdown-menu a:hover {
    background-color: #444a3c;
}

.top-slider-logo-group {
    padding-top: 5rem;
    padding-bottom: 2rem;
    padding-left: 8rem;
}

@media (max-width: 500px) {
    .top-slider-logo-group {
        padding-top: 4rem !important;
    }
}

.note-editor {
    background-color: #ffffff !important;
}

.footer-nav {
    font-size: 22px;
    gap: 24px;
}

.footer-nav a {
    color: #D3D7D5 !important;
    transition: 0.3s ease-in-out;
    font-size: 16px;
}

.footer-nav a:hover {
    color: var(--PRIMARY_GOLD) !important;
}

.footer-nav-col {
    flex-direction: column;
    gap: 20px;
}

article h2 a {
    color: #344F40;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 20px;
}

article time {
    font-size: 11px;
    color: #344F40;
}

article .intro {
    color: #344F40;
    text-align: justify;
}

.px8rem {
    padding-right: 8rem;
    padding-left: 8rem;
}

.fs18 {
    font-size: 18px;
}

.content a {
    color: black;
}

.content a:hover {
    text-decoration: none;
}

.middle-shadow {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.main-nav-fig-1 {
    display: block;
    background-image: url("../img/sm-1.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100px;
    height: 92px;
}

.main-nav-fig-2 {
    display: block;
    background-image: url("../img/sm-2.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100px;
    height: 80px;
}

.main-nav-fig-3 {
    display: block;
    background-image: url("../img/sm-3.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100px;
    height: 80px;
}

.main-nav-fig-4 {
    display: block;
    background-image: url("../img/sm-4.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100px;
    height: 80px;
}

.main-nav-fig-5 {
    display: block;
    background-image: url("../img/sm-5.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100px;
    height: 80px;
}

.main-nav-fig-6 {
    display: block;
    background-image: url("../img/sm-6.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100px;
    height: 80px;
}

.main-nav-fig-7 {
    display: block;
    background-image: url("../img/sm-7.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100px;
    height: 80px;
}

.main-nav-fig-8 {
    display: block;
    background-image: url("../img/sm-8.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100px;
    height: 80px;
}

.main-nav-fig-9 {
    display: block;
    background-image: url("../img/sm-9.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100px;
    height: 80px;
}

.main-nav-fig-10 {
    display: block;
    background-image: url("../img/sm-10.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100px;
    height: 80px;
}

.main-nav h3 {
    font-size: 14px;
    color: #344F40;
}

.start-menu a:hover {
    background: #6d7662 !important;
    color: #FFFFFF !important;
    /* box-shadow: 0px 0px 8.1px 0px rgba(0, 0, 0, 0.25) !important; */
    /* transition: 0.3s; */

    /* .main-nav-fig-1 {
        scale: 1.1;
        } */

    .start-menu-text {
        color: #FFFFFF !important;
    }
}

.main-nav-fig-1 {
    display: block;
    /* transition: filter 0.3s ease; */
    /* filter: brightness(1); */
}

/* Menu item img hover */
.start-menu a:hover .main-nav-fig-1 {
    /* filter: brightness(0.5) saturate(4) sepia(1) hue-rotate(150deg) brightness(0.6); */
    filter: brightness(0) invert(1);
}

.main-nav-fig-11 {
    display: block;
    background-image: url("../img/sm-11.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100px;
    height: 80px;
}

.main-nav-fig-12 {
    display: block;
    background-image: url("../img/sm-12.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100px;
    height: 80px;
}

.main-nav-fig-13 {
    display: block;
    background-image: url("../img/sm-13.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100px;
    height: 80px;
}

.main-nav-fig-14 {
    display: block;
    background-image: url("../img/sm-14.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100px;
    height: 80px;
}

.main-nav-fig-15 {
    display: block;
    background-image: url("../img/sm-15.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100px;
    height: 80px;
}

.start-menu,
.main-nav {
    background-color: #444a3c;
}

.start-menu h3,
.main-nav h3 {
    font-size: 14px;
    color: #6d7662;
}

.ws-normal {
    white-space: normal !important;
}

.bg-mh {
    background-color: #b6bfb8 !important;
}

.bg-mh-1 {
    background-color: #d8ddd9 !important;
}

.bg-mh-2 {
    background-color: #90a295 !important;
}

.mh-text {
    color: #385a47;
    word-break: break-word;
}

.form-control:focus,
.form-control:active,
.form-select:focus,
.form-select:active {
    border-color: transparent !important;
    box-shadow: 0 0 0 0.25rem rgba(56, 90, 71, 0.25) !important;
}

.title-block {
    display: flex;
    width: fit-content;
    height: 60px;
    background-color: #444a3c;
    /* dark green (right block) */
    font-family: "Bebas Neue", sans-serif;
}

.title-icon {
    background-color: #90a1b5;
    /* light blue (left block) */
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.title-icon img {
    width: 50px;
    height: 50px;
}

.title-text {
    color: white;
    font-size: 30px;
    font-weight: 400;
    line-height: 60px;
    margin: 0;
    padding: 0 1rem;
}


.mh-badge {
    font-size: 12px !important;
    background-color: #d7ddc7 !important;
    color: #3f565c !important;
    margin-top: 5px;
    margin-right: 5px;
}

.on-hover {
    text-decoration: none !important;
}

.on-hover:hover {
    text-decoration: underline !important;
}

.border .border {
    border-color: #b5dce0 !important;
}

.border .border .border {
    border-color: #c8dca6 !important;
}

.border .border .border .border {
    border-color: #dbd2ae !important;
}

.w-100x {
    width: 100px;
}

.show-hover .target-show-hover {
    opacity: 0;
}

.show-hover:hover .target-show-hover {
    opacity: 100%;
}

figure img {
    max-width: 100%;
}

.title-section {
    color: var(--PRIMARY_GREY_50);
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    font-family: "Bebas Neue";
}

.content-section {
    margin-top: 16px;
    background-color: rgba(255, 255, 255, 0.8509803922);
    padding: 16px;
}

/*# sourceMappingURL=app.css.map */

/* Main page News*/

.news-container-separate {
    padding: 0 8rem;
    margin: 0 auto;
    width: 100%;
    background-color: #dde3e9;
}

.news-container {
    padding: 10px 0;
}

.news-items-container {
    padding: 20px 0;
    display: grid;
    gap: 26px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(2, auto);
    place-items: center;
    justify-content: center;
    align-items: center;
}

/* @media(max-width: 400px) {
    .news-items-container {
        padding: 0;
    }
} */

.moreNewsContainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.moreNewsButton {
    background-color: #90a1b5 !important;
    padding: 10px 20px !important;
    font-family: "Bebas Neue" !important;
    color: white !important;
    text-transform: uppercase;
    font-weight: 400 !important;
    font-size: 25px !important;
    border-radius: 0 !important;
    transition: all 0.3s ease-in-out;
}

.moreNewsButton:hover {
    background-color: #6d7662 !important;
}

.moreNewsButton-onlanding {
    position: absolute;
}

@media (max-width:992px) {
    .moreNewsButton {
        position: relative !important;
    }
}

@media(max-width: 1200px) {
    .news-items-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 900px) {
    .news-items-container {
        grid-template-columns: 1fr;
    }
}

.news-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    /*height: 230px;*/
    /*margin-right: 20px;*/
    /* padding: 5px; */
    /* justify-content: space-between; */
    gap: 20px;
}

.news-item-cover {
    display: flex;
    /* height: 170px; */
    /*width: 28%;*/
}

.news-item-cover img {
    width: 100%;
    object-fit: cover;
    height: 275px;
}

.news-item-title h4 {
    font-weight: 600 !important;
}

.news-item-info {
    display: flex;
    flex-direction: column;
    padding-left: 15px;
    width: 100%;
    /* gap: 10px; */
}

.news-item-wrapper {
    border-left: 8px solid #6d7662;
    padding-left: 15px;
}

.news-item-content {
    /*height: 110px;*/
    height: 100px;
    display: contents;
}

.divider {
    height: 2px;
    background-color: var(--PRIMARY_NEW_DARk_GREEN);
    margin: 10px 0 0 0;
}

.news-item-content p {
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-weight: 500 !important;
}

.news-item-link {
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: black;
    /* padding: 15px; */
    background-color: #eef5fc;
}

.news-item-link:hover {
    transform: scale(1.03);
    z-index: 10;
}

.news-item-date {
    color: grey;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    font-size: 1rem;
}

.news-item-date::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    background-image: url('../img/kis_ikon_hirek_ora.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    position: relative;
    top: 1px;
}

.event-items-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100% !important;
}

.event-link {
    width: 48% !important;
}

@media (max-width: 768px) {

    .event-link {
        width: 100% !important;
    }

}

.card-events {
    background-image: url("../img/Esemeny_muzeumok_ejszakaja.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    width: 48% !important;
    height: 350px !important;
    margin: 0 !important;
}

.event-date {
    background-image: url('../img/esemeny_jelolo_sarga.svg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 20%;
    padding: 5px;
    line-height: 1;
    display: flex;
    justify-items: center !important;
    align-items: center !important;
}

.event-text-container {
    width: 75%;
}

.events-date-text {
    width: 100%;
    color: white;
    font-family: "Bebas Neue";
    font-size: 26px;
    font-weight: 400;
    margin: 0 !important;
    padding: 9px !important;
}

@media (max-width: 991px) {
    .events-date-text {
        font-size: 19px !important;
    }
}

@media (max-width: 360px) {
    .events-date-text {
        font-size: 17px !important;
    }
}

.news-description {
    color: white;
    margin: 0 !important;
}

.card-events>.card-database-body {
    padding: 0 !important;
    background-color: rgb(109, 118, 98, 0.75);
}

.card-events>.card-database-body .news-title {
    font-size: 24px !important;
}

/* Databases */
.databases-items-container {
    display: flex;
    /*flex-direction: row;*/
    flex-flow: row wrap;
}

.database-item-link {
    text-decoration: none;
}

.database-item {
    background-color: grey;
    padding: 10px;
    color: white;
    text-decoration: none;
    margin: 5px;
}

.main-nav-a {
    display: flex;
}

.card-database-1 {
    background-image: url("../img/Adatbazis_magyar_ezredek.jpg");
}

.card-database-2 {
    background-image: url("../img/Adatbazis_konyvtari_katalogus.jpg");
}

.card-database-3 {
    background-image: url("../img/Adatbazis_kelhurcolva.jpg");
}

.card-database-4 {
    background-image: url("../img/Adatbazis_katonahoseink.jpg");
}

.card-database-5 {
    background-image: url("../img/Adatbazis_hadisir.jpg");
}

.card-database-6 {
    background-image: url("../img/Adatbazis_leveltar.jpg");
}

.card-videos {
    background-image: url("../img/Videok.jpg");
}

.card-blog {
    background-image: url("../img/Blog.jpg");
}

.video-wrapper {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.videosandblog-container {
    padding: 20px 0;
}

@media (max-width: 768px) {
    .video-wrapper {
        width: 100%;
    }
}

.video-wrapper iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
}

.video-overlay-1 {
    background-image: url("../img/Videok_doni_katasztrofa_cover.jpg") !important;
}

.video-overlay-2 {
    background-image: url("../img/Videok_a_loveszarok_cover.jpg") !important;
}

.video-body {
    align-self: end !important;
    position: relative !important;
    background-color: rgb(109, 118, 98, 0.75);
    display: flex;
    flex-direction: column;
    padding: 10px 20px 0 20px;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    height: 40% !important;
}

@media (max-width: 768px) {
    .video-body {
        height: auto !important;
    }
}

.video-upload-date {
    font-family: "Bebas Neue";
    justify-content: end;
    align-self: flex-start !important;
    background-color: #eaa500;
    width: 60%;
}

.video-upload-date p {
    color: white !important;
    margin: 0 !important;
    padding: 10px !important;
}

@media (max-width: 1200px) {
    .video-upload-date p {
        font-size: 17px;
        padding: 5px !important;
    }
}

.play-button {
    content: '';
    background-image: url(../img/videok_playgomb.svg) !important;
    background-size: contain;
    background-repeat: no-repeat;
    width: 50px !important;
    height: 50px !important;
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
}

.video-overlay:hover {
    .play-button {
        transform: scale(1.3) translateY(-50%);
    }
}

.video-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.card-database {
    border: none !important;
    border-radius: 0 !important;
    display: flex;
    width: 333.33px;
    height: 250px !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 72px;
    /* background-color: var(--PRIMARY_GREY_20) !important; */
    margin-bottom: 24px;
    transition: 0.3s ease-in;
    background-size: cover !important;
    justify-content: flex-end;
}

/* .card-database:hover {
    background-color: var(--PRIMARY_GREY_10) !important;
    box-shadow: 10px 10px 0px 0px #3D604E;
} */
/*
.card-database:hover .card-title,
.card-database:hover .card-text {
    color: var(--PRIMARY_GREEN_40) !important;
    transition: 0.3s ease-in-out;
} */

.card-body {
    width: 100%;
    height: 40%;
}

.card-database-body {
    width: 100%;
    /* height: 40%; */
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: flex-start !important;
    /* text-align: center; */
}


.card-database h3,
.card-database h2,
.video-body h3 {
    color: white !important;
    font-family: "Bebas Neue";
    font-size: 34px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 0;
    margin: 0 !important;
}

.video-body h3 {
    width: 70%;
    font-size: 24px !important;
}

@media (max-width: 1400px) {
    .video-body h3 {
        font-size: 18px !important;
    }
}

.card-videos h3,
.card-videos h2,
.card-blog h3,
.card-blog h2 {
    font-size: 25px !important;
}

.card-videos h2,
.card-blog h2 {
    font-size: 36px !important;
}

.card-database-body {
    position: relative;
    background-color: rgb(109, 118, 98, 0.75);
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: flex-start;
}

.card-database-body:after {
    content: "";
    background-image: url(../img/nyil.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 1%;
    top: 50%;
    transform: translateY(-50%);
}

.archaeology-body:after {
    content: "";
    background-image: none !important;
}

.about-us-card-title:after {
    content: "";
    background-image: url(../img/nyil.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 1%;
    bottom: 10%;
}

/* Card arrows nudge to the right on hover, like the Virtuális kiállítás banner */
.database-item-link .card-database-body:after,
.database-item-link .about-us-card-title:after {
    transition: transform .2s ease;
}

.database-item-link:hover .card-database-body:after,
.database-item-link:focus-visible .card-database-body:after {
    transform: translate(6px, -50%);
}

.database-item-link:hover .about-us-card-title:after,
.database-item-link:focus-visible .about-us-card-title:after {
    transform: translateX(6px);
}

.card-text {
    overflow: hidden !important;
    max-height: 100px !important;
    color: var(--PRIMARY_GREY_70);
    text-overflow: ellipsis !important;
    font-family: "Segoe UI";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}



.social-media-items-container {
    width: 100%;
}

.followus-container {
    width: 100%;
    background-color: #6d7662;
}

@media (max-width: 768px) {
    .followus-container img {
        width: 100%;
    }

    .followus-container h2 {
        text-align: center !important;
    }

    .social-text-container {
        width: 100% !important;
    }
}

/* Virtuális kiállítás banner on the home page (same look as the social row) */
.virtual-gallery-banner-container {
    margin-bottom: 24px;
}

.virtual-gallery-banner {
    width: 100%;
    gap: 2rem;
    background-color: #6d7662;
    text-decoration: none;
}

/* Video fades into the green on its right edge (bottom edge on mobile) */
.virtual-gallery-banner-video {
    width: 605px;
    height: 340px;
    flex-shrink: 0;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%);
    mask-image: linear-gradient(to right, #000 55%, transparent 100%);
}

.virtual-gallery-banner-text {
    flex: 1;
    padding-right: 4rem;
}

.virtual-gallery-banner-text h2 {
    color: var(--PRIMARY_GOLD);
    font-size: 45px;
    margin-bottom: 1rem;
}

.virtual-gallery-banner-text p {
    /* line breaks come from \n in lang/hu_HU/home.php */
    white-space: pre-line;
    font-size: 18px;
    line-height: 130%;
    margin: 0;
    max-width: 560px;
}

.virtual-gallery-banner-arrow {
    position: absolute;
    right: 2rem;
    top: 50%;
    width: 18px;
    transform: translateY(-50%);
    transition: transform .2s ease;
}

.virtual-gallery-banner:hover .virtual-gallery-banner-arrow {
    transform: translate(6px, -50%);
}

/* Narrower desktop: keep the video tall but leave room for the text */
@media (min-width: 992px) and (max-width: 1199px) {
    .virtual-gallery-banner-video {
        width: 480px;
        height: 300px;
    }
}

@media (max-width: 991px) {
    .virtual-gallery-banner {
        gap: 1rem;
        padding-bottom: 1.5rem;
    }

    .virtual-gallery-banner-video {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
    }

    .virtual-gallery-banner-text {
        padding: 0 3.5rem 0 1.5rem;
    }

    .virtual-gallery-banner-text h2 {
        font-size: 30px;
        margin-bottom: .5rem;
    }

    .virtual-gallery-banner-text p {
        font-size: 16px;
    }

    .virtual-gallery-banner-arrow {
        top: auto;
        bottom: 1.5rem;
        right: 1.5rem;
        transform: none;
    }

    .virtual-gallery-banner:hover .virtual-gallery-banner-arrow {
        transform: translateX(6px);
    }
}

.social-media-items-container .socialImage {
    background-image: url("../img/social.png") !important;
    height: 500px;
    width: 1000px;
    background-repeat: no-repeat;
}

.social-text-container {
    width: 46%;
    top: 27% !important;
    left: 48%;
}

.social-text-container h2,
.social-media-items-text-container h2 {
    text-align: right;
    font-family: 'Montserrat', sans-serif;
    font-size: 33px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    white-space: pre-wrap;
    -webkit-line-clamp: 2;
}

@media(max-width: 1200px) {
    .social-text-container h2 {
        font-size: 21px;
    }
}

@media(max-width: 1000px) {
    .social-text-container h2 {
        font-size: 1rem;
    }
}

.social-text-container h2::after .social-text-container p {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    font-family: 'Source Sans 3', serif;
    -webkit-line-clamp: 3;
    position: relative;
}

.social-text-container::after .social-icon-container {
    position: relative;
    top: 80%;
    width: 100px;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0px;
}

.social-icon-container .row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon-container .row .social-icon {
    padding: 0;
    margin: 0;
    flex: 0;
    width: 60px;
    height: 60px;
}

.social-icon img {
    width: 60px;
    height: 60px;
}

@media (max-width: 1000px) {
    .social-icon-container .row .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon img {
        width: 40px;
        height: 40px;
    }

    .social-icon-container {
        padding-top: 0 !important;
    }
}

/* .social-icon-svg {
    transition: fill 0.3s ease !important;
}

.social-icon-svg:hover path {
    fill: #FF0000;
} */

.social-icon {
    transition: 0.3s ease-in-out;
}

.social-icon:hover {
    transform: scale(1.1);
}

.navbar-social .social-icon:hover {
    transform: none !important;
}

.navbar-social .social-icon:nth-child(1) img {
    content: url(/assets/img/facebook_inaktiv.svg);
}

.navbar-social .social-icon:nth-child(2) img {
    content: url(/assets/img/instagram_inaktiv.svg);
}

.navbar-social .social-icon:nth-child(3) img {
    content: url(/assets/img/youtube_inaktiv.svg);
}

.navbar-social .social-icon:nth-child(4) img {
    content: url(/assets/img/blog_inaktiv.svg);
}

/* Hover */

.navbar-social .social-icon:nth-child(1) img:hover {
    content: url(/assets/img/facebook_aktiv.svg);
}

.navbar-social .social-icon:nth-child(2) img:hover {
    content: url(/assets/img/instagram_aktiv.svg);
}

.navbar-social .social-icon:nth-child(3) img:hover {
    content: url(/assets/img/youtube_aktiv.svg);
}

.navbar-social .social-icon:nth-child(4) img:hover {
    content: url(/assets/img/blog_aktiv.svg);
}

.navbar-social .social-icon img {
    width: 30px;
    height: 30px;
}

/* Rólunk */
.about-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
}

.about-container a {
    text-decoration: none !important;
}

.about-container .row {
    width: 100%;
    height: auto;
}


.about-container .row .col-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.about-card {
    justify-content: center;
    /* Vízszintesen középre igazítás */
    align-items: center;
    /* Függőleges középre igazítás */
}

.about-card {
    justify-content: center;
    align-items: center;
    border: none !important;
    background-color: var(--PRIMARY_GREY_10) !important;
    border-radius: 0 !important;
    display: flex;
    align-self: stretch;
    height: 250px !important;
    padding: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    overflow: hidden;
    word-wrap: break-word;
    box-sizing: border-box;
    position: relative;
    transition: 0.3s ease-in-out !important;
    background-size: cover !important;
}


.about-card .card-title {
    /* color: var(--PRIMARY_GREY_50); */
    color: var(--PRIMARY_WHITE) !important;
    font-size: 43px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    font-family: "Bebas Neue";
    transition: all 0.3s ease, color 0.3s ease;
    z-index: 2;
    width: 50%;
}

.about-card .card-text {
    overflow: hidden !important;
    color: var(--PRIMARY_WHITE);
    text-overflow: ellipsis !important;
    font-family: "Segoe UI" !important;
    font-size: 18px !important;
    font-style: normal !important;
    line-height: normal !important;
    font-weight: 400 !important;
    opacity: 0;
    /* transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translate(0, 150%); */
}

.about-card-0 {
    background-image: url("../img/digitalis_hadtortenelem_inaktiv.jpg");
}

.about-card-0:hover {
    background-image: url("../img/digitalis_hadtortenelem_aktiv.jpg");
}

.about-card-1 {
    background-image: url("../img/Rolunk_tortenet_inaktiv.jpg");
}

.about-card-1:hover {
    background-image: url("../img/Rolunk_tortenet_aktiv.jpg");
}

.about-card-2 {
    background-image: url("../img/Rolunk_szervezet_inaktiv.jpg");
}

.about-card-2:hover {
    background-image: url("../img/Rolunk_szervezet_aktiv.jpg");
}

.about-card-3 {
    background-image: url("../img/Rolunk_kutatoszolgalat_inaktiv.jpg");
}

.about-card-3:hover {
    background-image: url("../img/Rolunk_kutatoszolgalat_aktiv.jpg");
}

.card-title-div:after {
    content: "";
    background-image: url("../img/nyil.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}


/* .has-description:hover .card-title {
    color: var(--PRIMARY_GREY_10) !important;
    transform: translateY(-100%) !important;
    transition: 0.3s ease-in-out !important;
}

.has-description:hover .card-text {
    color: var(--PRIMARY_GREY_10) !important;
    opacity: 1;
} */

@media (max-width: 1200px) {
    .has-description:hover .card-title {
        opacity: 0;
        transform: translateY(0%) !important;
        transition: 0.3s ease-in-out !important;
    }

    .has-description:hover .card-text {
        opacity: 1;
    }
}

.about-card:hover .card-title,
.about-card:hover .card-text {
    color: var(--PRIMARY_GREY_10) !important;
    transition: 0.3s ease-in-out !important;
}

.no-description:hover .card-title {
    color: var(--PRIMARY_GREY_10) !important;
    transition: 0.3s ease-in-out !important;
}

.card-title-div {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    --moz-align-items: center;
    --o-align-items: center;
    --ms-align-items: center;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    gap: 20px
}

.museum-landing-card {
    background-color: #90a1b5 !important;
}

.about-items-container {
    display: flex;
    flex-flow: row wrap;
}

.about-item-link {
    text-decoration: none;
}

.about-item {
    background-color: grey;
    padding: 10px;
    color: white;
    text-decoration: none;
    margin: 5px;
}

/* Social Media */
.social-media-items-container {
    padding-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-flow: row wrap;
}

.social-media-items-container-mobile {
    display: none;
    background-color: #3D604D;
    padding: 80px 20px;
    gap: 40px;
    flex-direction: column;
}

@media(max-width: 800px) {
    .top-slider-text {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {

    .social-media-items-container-mobile {
        display: flex !important;
    }

    .social-media-items-text-container h2 {
        font-size: 2rem;
    }

    .top-slider-text-group {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .top-slider-logo-group {
        padding-top: 3rem;
        padding-left: 4rem;
    }

    .social-text-container {
        padding: 0 10px 20px 10px !important;
    }
}

@media (max-width: 400px) {
    .social-media-items-text-container h2 {
        font-size: 1rem;
    }

    .top-slider-text {
        font-size: 3rem;
    }
}

.social-media-item {
    width: 50px;
}

.social-media-item a img {
    width: 100%;
}

/* .margin-top-home-sections {
    margin-top: 40px;
} */

/* Footer Social */

.social-container {
    display: none !important;
    display: flex;
    gap: 24px;
}


/* Footer (Research box) */

.footer-research-box {
    background-color: #22352B;
    padding: 20px;
    height: 80%;
    width: 20%;
}

@media (max-width: 1200px) {
    .footer-research-box {
        width: 100%;
    }
}

.tovabb {
    padding: 10px 25px;
    background: #FFF;
    font-size: 20px;
    color: #212529;
    text-decoration: none;
    font-weight: 400;
    transition: 0.3s ease-in-out;
}

.tovabb:hover {
    background: #E9EBEA;
}

.tovabb_text {
    flex-direction: column;
    display: flex;
    gap: 17px;
}

.tovabb_text h3 {
    font-size: 20px;
    font-weight: 700;
}

.tovabb_text p {
    font-size: 16px;
    font-weight: 400;
    font-family: "Source Sans 3", serif;
}

/* Mobile View */

@media (max-width: 1200px) {
    .copyright-text {
        text-align: center !important;
    }
}

@media (max-width: 767px) {

    .footer-nav {
        flex-direction: column !important;
        text-align: center;
    }
}

@media (min-width: 470px) and (max-width: 690px) {
    .footer-firstRow {
        flex-direction: column !important;
    }
}


@media (max-width: 550px) {
    .tovabb {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .tovabb_text {
        text-align: center;
    }
}

@media (max-width: 1080px) {
    .footer-secondRow {
        flex-direction: column-reverse;
    }
}

@media(max-width: 992px) {
    .footer-nav-col>a {
        text-align: center !important;
    }
}

@media (max-width:350px) {
    .logo-container .flex-row {
        justify-content: center;
    }

    .footer {
        padding: 2rem;
    }
}

/* Database Grid */

.database-grid {
    display: grid !important;
    place-items: center;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    padding-top: 20px;
}

.card-database {
    width: 100%;
    min-height: 200px;
}


@media(max-width: 1200px) {

    .database-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media(max-width: 900px) {

    .database-grid {
        grid-template-columns: 1fr !important;
    }

    .card-database {
        width: 100% !important;
    }
}

/* Navigation bar */

.navbar {
    position: sticky !important;
    top: 0;
    z-index: 100;
    width: 100%;
}

.navbar-main-link {
    font-size: 25px !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
}

.navbar-link {
    color: #212529 !important;
    font-family: "Bebas Neue", sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    transition: 0.3s ease-in-out;
}

.navbar {
    /* padding: 24px !important; */
}

.dropdown-menu {
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
}

.nav-link:hover {
    color: #212529 !important;
}

@media(max-width:991px) {
    .navbar-link {
        text-align: center !important;
    }
}

@media (max-width: 400px) {
    .justify-below-400 {
        justify-content: center !important;
    }
}

.navbar-toggler {
    border: none !important;
    color: #000000 !important;
}

button:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

.dropdown-toggle::after {
    transition: transform 0.3s ease-in-out !important;
    content: "";
    border: none !important;
    background-image: url("../img/bxs-left-arrow.svg");
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: 0;
    margin-left: .255em;
    margin-bottom: .255em;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.dropdown-toggle {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.sub-top-slider {
    overflow: hidden !important;
    top: 50%;
    display: flex;
    padding: 20px 0 20px 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
    background-color: #90a1b5;
}

.breadcrumb {
    padding: 0 40px !important;
}

.sub-top-slider .breadcrumb {
    width: 100%;
}

.sub-top-slider .breadcrumb .inactive-item {
    display: flex;
    flex-wrap: nowrap;
    padding: 0 !important;
    letter-spacing: 0.04em;
}

.sub-top-slider .breadcrumb .inactive-item::before {
    content: "/" !important;
    font-weight: 700;
    color: var(--PRIMARY_GOLD) !important;
    padding-right: 0 !important;
}

.sub-top-slider .breadcrumb-item a {
    text-decoration: none !important;
    color: var(--PRIMARY_GREY_10) !important;
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

.sub-top-slider .breadcrumb-item.active {
    font-family: "Bebas Neue", sans-serif;
    color: white !important;
    font-size: 46px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

@media(max-width:768px) {
    .sub-top-slider .breadcrumb {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 10px 0;
    }
}

#standard-page-container {
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF !important;
    /* padding: 40px; */
}

@media(max-width: 800px) {
    #standard-page-container {
        padding: 1rem !important;
    }
}

#standard-page-container h1 {
    color: #212529;
    font-family: "Segoe UI";
    font-size: 36px;
    font-weight: 700;
}

.standard-page-title {
    animation: scaleUp 1s;
}

#standard-page-container p {
    color: #212529;
    font-family: "Segoe UI";
    font-size: 18px;
    font-weight: 400;
}

#standard-page-container li {
    font-size: 18px;
}

#page-content a:not(.moreNewsButton):not(.segedlet-card-link):not(.expired-event-card):not(.calendar-container a) {
    font-weight: 700;
    color: #eaa500 !important;
    text-decoration: none;
}

#page-content a:not(.moreNewsButton):not(.segedlet-card-link):not(.expired-event-card):not(.segedlet-card):not(.calendar-container a):hover {
    color: #304217 !important;
    text-decoration: none !important;
}

#standard-page-container a:not(.moreNewsButton):not(.segedlet-card-link):not(.expired-event-card):not(.calendar-container a):not(.employee-email a) {
    font-weight: 700;
    color: #eaa500 !important;
    text-decoration: none;
}

#standard-page-container a:not(.moreNewsButton):not(.segedlet-card-link):not(.expired-event-card):not(.segedlet-card):not(.calendar-container a):hover {
    color: #304217 !important;
    text-decoration: none !important;
}

#page-content .calendar-container a {
    all: unset;
    font: inherit;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

#page-content h2 {
    color: #212529;
    font-family: "Bebas Neue";
    font-size: 24px;
    font-weight: 400;
    /* animation: slideFromRight 1s ease-out forwards; */
}

.card-long {
    display: flex;
    flex-direction: row;
    height: 305px !important;
    padding: 0 !important;
}

.card-long a {
    display: flex;
    height: 100%;
    width: 100%;
}

.museum-cards-container a,
.card-container a {
    text-decoration: none !important;
}

.card-long .card-title {
    color: #212529 !important;
    font-family: "Bebas Neue" !important;
    font-size: 36px !important;
    font-weight: 400 !important;
}

.card-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.card-long .card-img {
    width: 30%;
}

.museum-bgrcards-container {
    height: 300px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    text-decoration: none !important;
}

@media (max-width: 1400px) {
    .card-database-body {
        width: 100% !important;
    }
}

@media (max-width: 1000px) {
    .museum-bgrcards-container {
        flex-direction: column;
        height: auto !important;
    }

    .museum-bgrcards-container>.card-database {
        width: 100% !important;
    }

    .card-database-body {
        width: 100% !important;
    }
}

.museum-card-content {
    width: 70%;
}

.museum-card-content {
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.card-picturebg {
    transition: 0.3s ease-in-out;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 50% !important;
    height: 305px !important;
    filter: brightness(0, 5);
}

.card-picturebg a:hover {
    background-color: #00000000;
}

.card-picturebg a {
    width: 100%;
    height: 100%;
    background-color: #00000033;
    transition: 0.3s ease-in-out;
    text-decoration: none !important;
}

.card-picturebg .card-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: start;
    padding: 30px;
}

.picturebg-card-title,
.picturebg-card-text {
    color: #FFF !important;
    font-family: "Segoe UI";
    font-size: 18px;
    font-weight: 400 !important;
    text-decoration: none !important;
    margin: 0 !important;
}

.picturebg-card-title {
    text-transform: uppercase;
    font-family: "Bebas Neue" !important;
}

.department-box {
    gap: 0 !important;
    height: auto !important;
    padding: 30px 160px !important;
    min-height: 305px !important;
    height: fit-content !important;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    gap: 72px;
    background-color: var(--PRIMARY_GREY_20) !important;
    margin-bottom: 24px;
    transition: 0.3s ease-in;
}

@media(max-width: 1000px) {
    .department-box {
        height: auto !important;
    }
}

@media(max-width: 780px) {
    .department-box {
        padding: 20px !important;
    }
}

.department-box ul {
    list-style: none;
    padding-left: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100% !important;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.department-box ul li::before {
    content: '';
    display: inline-block;
    position: relative;
    top: 8px;
    width: 30px;
    height: 30px;
    background: url('/assets/img/bxs-chevron-up.svg.svg') no-repeat center;
    background-size: contain;
    animation: pulse 3s infinite;
}

.department-box li {
    color: var(--PRIMARY_GREEN_100, #070A09);
    font-family: "Source Sans 3";
    font-weight: 600;
    text-transform: uppercase;
    font-size: 18px;
    list-style-position: inside;
}

.department-box h3 {
    color: var(--PRIMARY_NEW_GREEN) !important;
    font-family: "Bebas Neue";
    font-size: 36px;
    font-weight: 400;
    transition: 0.3s ease-in-out;
    animation: slideUp 0.5s ease-out forwards;
}

.department-box a {
    color: var(--PRIMARY_NEW_GREEN) !important;
    text-decoration: none !important;
    transition: 0.3s ease-in-out;
    animation: slideUp 0.5s ease-out forwards;
}

.department-box a:hover {
    color: var(--PRIMARY_NEW_DARk_GREEN) !important;
    text-decoration: none !important;
}

.department-box h3:hover {
    color: var(--PRIMARY_GOLD) !important;
}

.list-conatiner {
    width: 100% !important;
}

/* Accorion */

.accordion-header {
    position: relative;
}

.accordion-item {
    border: none !important;
}

.accordion-button {
    background-color: var(--PRIMARY_BLUE) !important;
    padding: 25px !important;
    color: white !important;
    /* font-family: "Bebas Neue" !important; */
    font-size: 20px !important;
    font-weight: 400 !important;
}

@media(max-width:500px) {
    .accordion-button {
        padding: 15px !important;
    }
}

.accordion-button:not(.collapsed) {
    color: white !important;
    background-color: var(--PRIMARY_NEW_GREEN) !important;
}

.museum-ped-ent-accordion .accordion-button {
    background-color: inherit !important;
}

/* .accordion-body:not(.museum-ped-ent-accordion) {
    background-color: #E9EBEA !important;
} */

.accordion-button:not(.collapsed):not(.museum-ped-ent-accordion)::after {
    content: "";
    background-image: url(../img/accordion_nyil.svg) !important;
}

.accordion-header::before {
    content: "";
    background-color: var(--PRIMARY_GOLD);
    width: 6% !important;
    height: 100% !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    z-index: 1 !important;
    pointer-events: none;
}

@media (max-width: 1400px) {
    .accordion-header::before {
        width: 8% !important;
    }
}

@media (max-width: 1000px) {
    .accordion-header::before {
        width: 11% !important;
    }
}

@media (max-width: 800px) {
    .accordion-header::before {
        width: 13% !important;
    }

    .accordion-button>.w-70 {
        width: 60% !important;
    }
}

.accordion-button:not(.museum-ped-ent-accordion)::after {
    background-image: url(../img/accordion_nyil.svg) !important;
    background-size: contain !important;
    z-index: 2 !important;
}

.accordion-button:hover,
.accordion-button:focus {
    z-index: auto !important;
}

.accordion-container:not(.museum-ped-ent-accordion) {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.accordion-img {
    width: 100%;
    height: fit-content;
}

#collapseFive img {
    height: 100%;
    width: fit-content;
}

.museum-archaeology-container {
    display: flex;
    gap: 24px;
    width: 100%;
    height: 400px;
}

.archaeology-accordion-img-container {
    width: 50%;
}

.museum-archaeology-content {
    width: 33.3%;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

@media(max-width: 1000px) {

    .museum-archaeology-container {
        height: auto !important;
        flex-direction: column;
    }

    .museum-archaeology-content {
        width: 100% !important;
        height: 400px;
    }
}

.museum-archaeology-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80%;
}

.museum-archaeology-img-container-01 {
    background-image: url("../img/museum-images/hadiregeszet-1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

.museum-archaeology-img-container-02 {
    background-image: url("../img/museum-images/hadiregeszet-2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

.museum-archaeology-img-container-03 {
    background-image: url("../img/museum-images/hadiregeszet-3.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}


.museum-archaeology-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.museum-archaeology-container span {
    color: #212529;
    font-family: "Segoe UI";
    font-size: 16px;
    font-weight: 700;
    height: 20%;
}

#standard-page-container ul li::marker {
    content: "> ";
}

#standard-page-container ol li::marker {
    font-weight: 700;
}

.list-conatiner li::marker {
    content: "" !important;
}

.title-card {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    height: 400px !important;
    display: flex;
    justify-content: start;
    align-items: end;
}

.title-card-body {
    width: 100%;
    height: 30%;
    background-color: rgb(109, 118, 98, 0.75);
    display: flex;
    padding: 10px 20px;
    justify-content: start;
    align-items: center;
}

.title-card-body p {
    color: white !important;
    margin: 0 !important;
    font-weight: 500 !important;
    font-family: "Bebas Neue", sans-serif !important;
}

@media(max-width: 1200px) {
    .title-card-body>.fs-25 {
        font-size: 18px !important;
    }
}

@media(max-width: 500px) {
    .title-card-body>.fs-25 {
        font-size: 16px !important;
    }
}

.konyvtar-text-container {
    background-color: #F4F5F7 !important;
    padding: 10px 20px;
    flex-direction: row;
}

.archive-publications-container {
    background-color: #F4F5F7 !important;
    padding: 10px 20px;
}

@media(max-width: 1000px) {
    .konyvtar-text-container {
        flex-direction: column !important;
    }

    .konyvtar-text-container>.w-50 {
        width: 100% !important;
    }

    .konyvtar-text-container>.w-45 {
        width: 100% !important;
    }
}

.kutatas-video-card-right {
    position: relative;
    width: 20%;
}

.kutatas-video-card-left {
    width: 100%;
    padding: 10px;
}

.kutatas-video-card-left P {
    color: white !important;
    text-decoration: none !important;
    font-size: 16px !important;
    width: 60% !important;
}

.kutatas-video-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    background-image: url("../img/Kutatas_video.svg");
    background-position: left;
    background-repeat: no-repeat;
}

@media (max-width: 1400px) {
    .kutatas-video-card {
        background-size: cover;
    }
}

.kutatas-video-card-link {
    display: flex;
    text-decoration: none !important;
    width: 80%;
}

.card-database-library {
    position: relative;
    height: 350px;
}

.card-database-library-body::after {
    content: "";
    background-image: url(../img/nyil.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 1%;
    top: 50%;
    transform: translateY(-50%);
}

.card-database-library-body {
    background-color: var(--PRIMARY_BLUE);
    position: relative;
    display: flex;
    align-items: center;
    height: 22%;
}

.card-database-library:hover {
    .card-database-library-body {
        background-color: var(--PRIMARY_NEW_GREEN);
    }

    .card-title {
        text-decoration: none !important;
    }
}

.database-item-link-library-gale {
    height: 250px !important;
    width: 100%;
    display: block;
    position: relative;
}

.database-item-link-library-gale img {
    width: 100%;
    object-fit: cover;
}

.database-item-link-library-gale::after {
    content: "";
    background-image: url(../img/nyil.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 1%;
    bottom: 15%;
    /* transform: translateY(-50%); */
}

.library-database-img-container {
    height: 250px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.library-database-img-container img {
    max-height: 80%;
    max-width: 80%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.library-list li::marker {
    content: none !important;
}

.library-list-dot li::marker {
    content: '•   ' !important;
    color: var(--PRIMARY_BLUE);
}

.library-contacts>.w-50 {
    width: 100% !important;
}

/* Pagination */

.pagination {
    justify-content: center !important;
}

.page-link {
    color: var(--PRIMARY_NEW_DARk_GREEN) !important;
    border: none !important;
}

.page-link:focus {
    box-shadow: 0 0 0 .2rem rgba(234, 164, 0, .25) !important;
}

.active>.page-link,
.page-link.active {
    background-color: var(--PRIMARY_NEW_GREEN) !important;
    color: white !important;
}

.page-item:last-child .page-link,
.page-item:first-child .page-link {
    color: white !important;
    background-color: var(--PRIMARY_NEW_DARk_GREEN) !important;
}