header {
    width: 100%;
}


/**
    Green line header styles.
 */

.gr-header {
    background-color: var(--rmk-green);
    padding: 4.5rem 1rem 3rem 1rem;
}

.gr-header__content-wrapper {
    max-width: calc(var(--max-width) - 1rem);
    margin: 0 auto;
}

.gr-header h1 {
    display: inline-block;
    color: var(--white);
    border-top: .125rem solid var(--white);
    border-bottom: .125rem solid var(--white);
    padding: .5rem 0;
}

.gr-header .breadcrumbs-block {
    padding-top: 0;
}

.gr-header ul li span.separator-img {
    background: url(./assets/svg/breadcrumbs-sep.svg) center no-repeat;
}

.gr-header .breadcrumbs-block li, .gr-header .breadcrumbs-block li > a {
    color: var(--white) !important;
}

@media screen and (max-width: 920px) {
    .gr-header {
        background-color: var(--white);
        padding: 1rem 1.5rem 0 1.5rem;
    }
    .gr-header h1 {
        color: var(--rmk-green);
        border: none;
        padding: 0;
        margin: 0;
    }
    .gr-header .breadcrumbs-block li, .gr-header .breadcrumbs-block li > a {
        color: var(--rmk-gray) !important;
    }
    .gr-header ul li span.separator-img {
        background: url(./assets/svg/breadcrumbs-sep-gray.svg) center no-repeat;
    }
}

/**
    End of Green line header styles.
 */


#post-content {
    justify-content: center;
    padding: 0 24px 24px 24px;
}

.page-centered-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1.page-title {
    margin: 0;
    padding: 0;
    color: var(--rmk-green);
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    text-transform: uppercase;
    display: block;
}

.pos-relative {
    position: relative;
}

/*   Breadcrumbs   */

.breadcrumbs-block {
    padding-top: 2.5rem;
    margin-bottom: .5rem;
    box-sizing: border-box;
    z-index: 2;

    ul.breadcrumbs {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        list-style: none;
        column-gap: .25rem;
        margin: 0;
        padding: 0;
    }

    ul.breadcrumbs li {
        font-family: var(--font-new-gothic), sans-serif;
        font-size: 1rem;
        font-weight: 400;
        line-height: 150%;
        color: var(--rmk-gray);
    }

    ul.breadcrumbs li a {
        font-family: var(--font-new-gothic), sans-serif;
        text-decoration-line: none;
        color: var(--rmk-gray);
    }

    .item-current {
        font-weight: 700;
    }

    li.separator {
        display: flex;
        align-items: center;
    }

    span.separator-img {
        display: inline-block;
        background: url('./assets/svg/breadcrumbs-sep-gray.svg') center no-repeat;
        width: 16px;
        height: 1.375rem;
    }
}

.breadcrumbs-block.light {

    span.separator-img {
        background: url(./assets/svg/breadcrumbs-sep.svg) center no-repeat;
    }

    ul.breadcrumbs li, ul.breadcrumbs li a {
        color: var(--rmk-green-hele);
    }
}

span.text-label {
    display: inline-block;
    text-transform: uppercase;
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 140%;
}

.mob-hidden {
    display: none;
}

.mob-visible {
    display: flex;
}

/* Frontpage specific styles */


.kampaania-slider {
    padding: 0 1.25rem;
}

/* end of frontpage specific styles. */


.vertical-line-white {
    color: #FFF;
    width: 0.063rem
}

.main-page-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
}

.post-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-geogrotesque-white-uppercase {
    color: #FFF;
    text-align: center;
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}


.text-geogrotesque-white-lowercase {
    color: #FFF;
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.menu-text-green {
    color: #006B4E;
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    display: flex;
    padding: 0.5rem 0.75rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
}

.rmk-email {
    color: #FFF;
    font-family: var(--font-new-gothic), sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    text-decoration-line: underline;
}

.bold {
    font-weight: bold;
}

.header-desktop {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-mobile {
    width: 100%
}

.header-sidebar-part {
    background-color: var(--white);
}

.main-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.header-search {
    margin-right: 1rem;
}

.language-switcher {
    margin-right: 1rem;
}

.language-switcher select {
    background-color: #006B4E;
    color: white;
    border: none;
    padding: 0.5rem;
}

.featured-image-section {
    width: 100%;
    text-align: center; /* Centers the image horizontally */
}

.featured-image-container img {
    display: block; /* Ensures image behaves like a block element */
    width: 100%; /* Ensures image takes full width of parent */
    height: auto; /* Allows image height to adjust based on width */
}

.image-link {
    position: relative; /* Required to position the overlay correctly */
    display: block;
    width: 100%;
    height: 100%;
}

.overall-menu {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center
}

.overall-menu ul {
    display: flex;
    flex-direction: row;
    gap: 1.125rem;
    list-style: none;
}

.overall-menu a {
    color: var(--white);
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}


/* Custom Navbar Styles */
.custom-navbar {
    background-color: var(--white);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    margin-right: 20px;
}

.navbar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.navbar-menu ul {
    display: flex;
}

.navbar-menu li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: center;
    border-bottom: 2px solid var(--white); /* Adjust color as needed */
}

.navbar-menu li a {
    display: block;
    text-decoration: none;
    padding: 8px 12px;
    color: var(--rmk-green);
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

/* Indicate submenu with an arrow */
.navbar-menu li.menu-item-has-children > a::after {
    font-size: 0.8em;
    margin-left: 5px;
}

/* Style for submenus */
.navbar-menu li ul {
    display: none; /* Hide submenu by default */
    position: absolute;
    flex-direction: column;
    gap: 10px;
    left: 0;
    top: 100%;
    background: var(--rmk-middle-green); /* Background color for dropdown */
    padding: 24px 24px 16px 8px;
    margin: 0;
    list-style: none;
    z-index: 1000; /* Ensure it's above other content */
}

/* Show submenu on hover */
.navbar-menu li:hover > ul {
    display: flex; /* Display submenu when hovering over parent */
}

/* Style for submenu items */
.navbar-menu li ul li {
    width: 200px; /* Adjust width as needed */
    background: var(--rmk-middle-green); /* Background color for dropdown */
}

/* Optional: Style for submenu links */
.navbar-menu li ul li a {
    color: var(--white);
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 6px 8px;
    text-transform: none;
    background: var(--rmk-middle-green); /* Background color for submenu items */
}

.navbar-menu li ul li a:hover {
    background: var(--rmk-middle-green); /* Background color for dropdown */
    color: var(--rmk-green);
    transition: background-color 0.3s;

}

.navbar-menu ul .menu-item-has-children > a::after {
    content: url("./assets/svg/header-link-arrow.svg");
}

.navbar-menu li ul li:hover > ul {
    display: none; /* Prevent second-level submenu from showing on hover */
}

.navbar-menu a {
    padding: 8px 12px;
    color: var(--rmk-green);
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    display: block;
    /*
    border-bottom: 2px solid var(--rmk-green);
    */
}

.navbar-menu a:hover {
    background-color: var(--white);
    color: var(--rmk-green);
    transition: background-color 0.3s;
}

li .back-button {
    color: var(--white);
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 6px 8px;
    text-transform: none;
    background: var(--rmk-middle-green);
}

li .back-button:hover {
    color: var(--rmk-green);
}

.header-desktop-lower {
    background-color: var(--white);
}

footer.global {
    display: flex;
    background-color: var(--rmk-green);
    padding: 2rem 1.25rem;
    font-family: var(--font-new-gothic), sans-serif;
    font-size: .813rem;
    font-style: normal;
    font-weight: 400;
    color: var(--white);

    > div {
        display: flex;
        flex: 1;
        flex-direction: column;
    }

    nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    ul.top-menu {
        list-style: none;
        padding-left: 0;
    }

    ul.top-menu li > a {
        text-decoration: none;
        color: var(--white);
        font-size: .813rem;
        padding: .5rem 0;
        font-family: var(--font-new-gothic), sans-serif;
    }

    .footer-sub-title {
        color: var(--white);

        img {
            width: 5.313rem;
            height: 2.375rem;
        }

        padding-top: .75rem;
        padding-bottom: .75rem;
    }

    .footer-contacts > div.footer-sub-title {
        display: none;
    }

    .desktop-menu-title {
        display: none;
    }

    .footer-contacts, .footer-other, .footer-nav-menu {
        border-top: 2px solid var(--white);
    }

    .footer-contacts h4 {
        text-transform: uppercase;
    }

    .social-icons-footer {
        display: flex;
        flex-direction: row;
        column-gap: 1rem;
        padding: 1rem 0;
    }

    .social-icons-footer img {
        width: 2rem;
        height: 2rem;
    }

    .footer-other {
        display: flex;
        flex-direction: column;

        .other-icons {
            border-top: 2px solid var(--white);
            padding-top: .9rem;
            margin-top: .2rem;
        }

        .other-icons a {
            display: flex;
            flex-direction: row;
            column-gap: 1.5rem;
        }

        .other-icons img {
            .pefc-icon {
                width: 38px;
                height: 55px;
            }

            .dsc-icon {
                width: 45px;
                height: 50px;
            }

            .iso-icon {
                width: 51px;
                height: 25px;
            }
        }
    }

    .rmk-other-links {
        display: flex;
        flex-direction: column;
        margin-top: 1rem;

        a {
            color: var(--white);
            font-family: var(--font-new-gothic), sans-serif;
            font-size: .875rem;
            font-style: normal;
            font-weight: 400;
            line-height: 150%;
        }
    }

    .footer-contacts .rmk-other-links {
        display: none;
        margin-top: 0;
    }

    .rmk-app-links {
        display: flex;
        flex-direction: row;
        column-gap: .5rem;

        img {
            width: 8.25rem;
            height: 2.75rem;
        }

    }

    button {
        border: none;
        background: none;
        cursor: pointer;
        padding: 0;
        width: 3rem;
        height: 3rem;
        display: flex;
        align-self: end;
        z-index: 1000;

        img {
            width: 3rem;
            height: 3rem;
        }
    }

    #scrollUpBtn {
        display: none;
        position: fixed;
        bottom: 2rem;
        right: 1.25rem;
    }
}

.page-centered-content-2 {
    padding: 0;
}

.inside-green-container {
    display: flex;
    flex-direction: column;
    padding: 1.313rem 1.5rem 0 1.5rem;
}

.filters-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.filter-block, .filter-block-lp {
    width: 100%;
    box-sizing: border-box;

    input[type="text"] {
        box-sizing: border-box;
        padding: .75rem 1rem;
        width: 100%;
        margin-bottom: 1.25rem;
    }

    button {
        background-color: var(--rmk-green);
        display: block;
        border-bottom: 2px solid var(--white);
        color: var(--white);
        font-family: var(--font-geogrotesque), sans-serif;
        font-size: 1.125rem;
        font-style: normal;
        font-weight: 500;
        line-height: 140%;
        padding: .5rem 0;
    }

    ul {
        margin-top: .5rem;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        row-gap: .5rem;
        padding: 1rem;
    }

    ul.event-types-list {
        min-height: 1rem;
    }

    ul.regions-type-list {
        height: 32rem;
        overflow-y: scroll;
    }

    li {
        display: flex;
        flex-direction: row;

    }

    li label {
        display: flex;
        align-items: center;
        column-gap: .5rem;
        font-family: var(--font-new-gothic), sans-serif;
        font-size: 1rem;
        line-height: 150%;
    }
}

#pick-date {
    display: block;
    margin-top: .5rem;
}

/**
 * Chosen Labels
 */
#selected-filters {
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
}

.labels-container {
    margin: 1rem 0 !important;
    display: flex;
    flex-direction: row;
    color: var(--white);
    column-gap: .5rem;
    row-gap: .5rem;
    flex-wrap: wrap;

    .labels-block-title {
        align-content: center;
    }

    .filter-labels {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .filter-label {
        display: inline-block;
        background: url('assets/svg/close-white.svg') no-repeat right 0.5rem center;
        padding: 0.1rem 2.2rem 0.1rem 0.5rem;
        border: 1px solid var(--rmk-green-shade-2);
        border-radius: 0.5rem;
        cursor: pointer;
        white-space: nowrap;
        align-content: center;
        height: 2rem;
    }
}

figure.alignleft {
    float: left;
    margin-right: 1.2rem;
    margin-bottom: .625rem;
}

figure.alignright {
    float: right;
    margin-left: 1.2rem;
    margin-bottom: .625rem;
}

.toggle-hide-class {
    display: none;
}

.toggle-show-class {
    display: flex;
}

/* HTML: <div class="loader"></div> */
.loader {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.loader div {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: var(--rmk-green);
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

.loader div:nth-child(2) {
    animation-delay: 0.2s;
}

.loader div:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}

.news-post-thumb {
    .news-post-thumb img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* reCaptcha styles */

.grecaptcha-badge{
    bottom: 100px !important;
}

/* Media queries */

@media screen and (min-width: 640px) {

    .breadcrumbs-block {
        ul.breadcrumbs {
            column-gap: .8rem;
        }
    }
}

@media screen and (min-width: 768px) {
    h1.page-title {
        display: none;
    }

    .open-filter-btn {
        display: none;
    }

    .header-desktop {
        display: flex;
    }

    .page-centered-content-2 {
        max-width: var(--max-width);
        padding: 0 1.5rem;
        margin: 0 auto;
    }

    .breadcrumbs-block.light-invert {

        span.separator-img {
            background: url(./assets/svg/breadcrumbs-sep.svg) center no-repeat;
        }

        ul.breadcrumbs li, ul.breadcrumbs li a {
            color: var(--rmk-green-hele);
        }
    }

    .inside-green-container {
        background-color: var(--rmk-green);
        margin-bottom: 2rem;
    }

    .breadcrumbs-block.light {
        padding-top: 2.5rem;
        margin-bottom: .5rem;

        ul.breadcrumbs li {
            color: var(--rmk-green-hele);
        }

        ul.breadcrumbs li a {
            color: var(--rmk-green-hele);

        }

        span.separator-img {
            background: url('./assets/svg/breadcrumbs-sep.svg') center no-repeat;
        }
    }
}

@media screen and (min-width: 860px) {

    span.text-label {
        font-size: 1.5rem;
    }

    .kampaania-slider {
        padding: 0;
    }

    footer.global {
        display: flex;
        flex-direction: row;

        > div {
            display: flex;
            max-width: var(--max-width);
            flex-direction: row;
            justify-content: space-between;
            margin: 0 auto;
        }

        .footer-contacts {
            order: 1;
            width: 25%;
        }

        .footer-contacts > div.footer-sub-title {
            display: block;
            border-bottom: 2px solid var(--white);
            padding-bottom: .75rem;
            padding-top: 0;

            img {
                width: 4.5rem;
                height: 2rem;
                padding-bottom: 0;
            }
        }

        .desktop-menu-title {
            display: block;
            border-bottom: 2px solid var(--white);
            padding: .75rem 0;
            font-size: 1.25rem;
            font-weight: 500;
        }

        .footer-menu {
            order: 2;
            width: 45%;

            .footer-sub-title {
                display: none;
            }

            .footer-nav-menu {
                justify-content: space-around;
            }
        }

        .footer-other {
            order: 3;
            width: 25%;
        }

        .footer-other .footer-sub-title {
            border-bottom: 2px solid var(--white);
            padding: .75rem 0;
        }

        .footer-sub-title {
            line-height: 100%;
        }

        h4 {
            align-content: center;
            font-size: 1.25rem;
        }

        .footer-contacts, .footer-other, .footer-nav-menu {
            border-top: none;
        }

        .rmk-app-links {
            padding-top: .75rem;
            flex-direction: column;

            img {
                padding: 0;
                margin: 0;
                width: 13rem;
                height: 3.5rem;
            }
        }

        .footer-other {
            .other-icons {
                border-top: none;
            }

            .rmk-other-links {
                display: none;
            }
        }

        .footer-contacts .rmk-other-links {
            display: flex;
            margin-top: 0;
        }

        #footer-menu-simple {
            display: block !important;
        }

        #footer-menu-special {
            display: block !important;
        }
    }

}

@media screen and (min-width: 920px) {
    .filter-block {
        height: 21.5rem;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;

        ul.event-types-list {
            flex: 2;
        }

        input[type="text"] {
            padding: .75rem 1rem;
            margin-bottom: .688rem;
        }
    }

    .inside-green-container {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0 4rem 2rem 4rem;
    }

    .filters-section {
        flex-direction: row;
        justify-content: space-around;
        max-width: var(--max-width);
        column-gap: 2.5rem;
        align-items: start;
    }

    .filter-block {
        ul.regions-type-list {
            height: 18.4rem;
            overflow-y: scroll;
        }
    }
}

@media screen and (max-width: 1000px) {
    .breadcrumbs-block:not([class*=" "]) {
        padding-top: 0;
    }
}

@media screen and (min-width: 1020px) {

    .filters-section {
        column-gap: 4.5rem;
    }
}

@media screen and (min-width: 1040px) {

}

@media screen and (min-width: 1300px) {
    h1.page-title {
        display: none;
    }

    .open-filter-btn {
        display: none;
    }
}