/*
 Theme Name:   Leikkipaiva Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/



body {
    overflow-x: hidden;
    font-size: 17px;
    font-optical-sizing: auto;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

a {
    text-decoration: underline;
    font-weight: 600;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 20px;
}

.text-light-blue {
    color: #96B7E1;
}

.gutentor-button {
    position: relative;
}

.content-right {
    max-width: 500px;
}

.content-left-wrap {
    display: flex;
    justify-content: flex-end;
}

.content_left {
    max-width: 500px;
}

.main-navigation .menu-bar-item {
    margin-left: 15px;
}

.header_wrapper {
    position: relative;
    z-index: 999;
}

.header_wrapper .site-header:after {
    content: '';
    position: absolute;
    height: 31px;
    width: 100%;
    left: 0;
    bottom: -22px;
    background-image: url(assets/images/Graphics/Leikkipaiva_grafiikka_menu_mobiili-reuna.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.site-header {
    position: absolute;
    left: 0;
    width: 100%;
    top: 0;

}

/* Base sticky styling */
.site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: rgba(255, 255, 255, 1);
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    transition: all 0.3s ease;
}

.site-header.sticky .header-image {
    width: 80px;
}

/* Push page content down to avoid overlay */
body.has-sticky-header {
    padding-top: 80px;
    /* adjust based on header height */
}

.site-header .gutentor-social .gutentor-social-item .gutentor-single-item {
    width: 40px;
    height: 40px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav.main-navigation {
    position: relative;
}


.menu-item-has-children .dropdown-menu-toggle {
    padding-right: 5px;
}

.main-navigation a {
    font-size: 16px;
}

.main-navigation .main-nav>ul {
    gap: 15px;
}



.main-navigation .main-nav ul li a {
    padding-left: 3px;
    padding-right: 3px;
    line-height: 52px;
    font-weight: 600;
}

.main-navigation .main-nav>ul>li.current_page_item>a:after {
    content: '';
    width: 100%;
    height: 3px;
    position: absolute;
    left: 0px;
    bottom: 2px;
    background-color: #4BB75F;
}

.main-navigation .main-nav>ul>li.current_page_item>a {
    font-weight: 700;
}

.main-navigation .main-nav ul li a:hover {}

.menu-item-has-children .dropdown-menu-toggle {
    padding-left: 5px;
}

.main-navigation .main-nav ul li .gp-icon svg {
    transform: rotate(-90deg);
    top: 3px;
    position: relative;
}

.main-navigation .main-nav ul li:hover .gp-icon svg {
    transform: none;
}

.main-navigation ul ul {
    width: 270px;
    padding: 20px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .1);
}

.main-navigation ul ul:before {
    content: '\f0d8';
    font-family: 'FontAwesome';
    color: #FFF;
    position: absolute;
    left: 63px;
    top: -38px;
    font-size: 42px;
}

.main-navigation .main-nav ul ul span.dropdown-menu-toggle {
    padding-top: 0px;
    padding-bottom: 0px;
    float: none;

}

.main-navigation .main-nav ul ul li {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.main-navigation .main-nav ul ul li:last-child {
    border-bottom: 0px solid rgba(0, 0, 0, .1);
}

.main-navigation .main-nav ul ul li a {
    padding: 10px 10px;
    font-size: 15px;
    font-weight: 400;
}

.main-navigation .main-nav ul ul li a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.8);
}

.main-navigation .main-nav ul ul li:last-child a:after {
    content: none;
}

.main-navigation .main-nav ul ul ul {
    background-color: rgba(255, 255, 255, 0.9);
    text-align: left;
    margin-left: 10px;
    top: -16px !important;
}

.main-navigation .main-nav ul ul ul:before {
    content: '\f0d9';
    font-family: 'FontAwesome';
    position: absolute;
    left: -16px;
    top: 0px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 50px;
}

.img-circle .gutentor-element-image-box:after {
    content: '';
    width: 60px;
    height: 60px;
    background-color: #CDFF65;
    border: 1px solid #585FE8;
    border-radius: 50px;
    position: absolute;
    right: -15px;
    top: -30px;
}

.front-banner-content {
    max-width: 700px;
    margin: 0 auto;
}

.home .site-footer {
    margin-top: 0px;
}


.front_services .gutentor-single-item-image-box {
    margin-bottom: 0px !important;
}

.front_services .gutentor-single-item-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    max-width: 100%;
    margin: 0 auto;
}


.front_services .gutentor-single-item-wrap .gutentor-single-item-image-box .gutentor-image-thumb img {
    max-height: auto;
    width: auto;
    max-width: 100%;
}

.front_services .gutentor-single-item-wrap .gutentor-single-item-image-box .gutentor-image-thumb {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-section {
    border-radius: 10px;
    overflow: hidden;
}

.map-section iframe {
    padding: 0px 25px 25px;
}

.front_post_carousal .gutentor-carousel-item .gutentor-post-item .gutentor-post-image-box {
    height: 240px !important;
    overflow: hidden;
}

.front_post_carousal .gutentor-carousel-item .gutentor-post-item .gutentor-post-image-box img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.front_post_carousal .gutentor-carousel-item .gutentor-post-item .gutentor-post-title-data-wrap {
    height: 70px;
}

.gutentor-post-content {}

.front_post_carousal .slick-arrow {
    border-radius: 50px;

}

.front_post_carousal .slick-arrow.slick-prev {
    left: -50px;
}

.front_post_carousal .slick-arrow.slick-next {
    right: -50px;
}

/* Banner css */
.page__banner_section {
    width: 100%;
    position: relative;
    top: 0px;
    height: 520px;
    background-color: #4BB75F;

}

.kategoriaselection__item {
    width: 23%;
}

.kategoriaselection__container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.control-label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;

}

.checkbox input {
    margin-left: -20px;
}

.checkbox label {
    min-height: 20px;
    padding-left: 20px;
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

/* .page-numbers {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.page-numbers li {
    display: inline-block;
    border: 1px solid #ccc;
}

.page-numbers a,
.page-numbers span {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.page-numbers .current {
    background-color: #3f72af;
    color: #fff;
    border-color: #3f72af;
}

.page-numbers li:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.page-numbers li:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
} */

.text-container {
    width: 200px;
    /* Set a fixed width */
    white-space: nowrap;
    /* Prevents text from wrapping to the next line */
    overflow: hidden;
    /* Hides any text that goes beyond the container */
    text-overflow: ellipsis;
    /* Displays "..." for any hidden text */
}

/* Hover effect on links */
.page-numbers a:hover {
    background-color: #f0f0f0;
}

.page__banner_section .banner-container {
    max-width: 1024px;
    margin: 0 auto;
    position: relative;
    z-index: 9;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.page__banner_section .banner_thumb {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    height: 100%;
    overflow: hidden;
}

.page__banner_section .banner_thumb img {
    object-fit: cover;
    object-position: top center;
    width: 100%;
    height: 100%;
}

.page__banner_section .banner-content {
    text-align: center;
    position: relative;
    color: #FFF;
    padding: 40px 30px;
    width: 100%;
}

.page__banner_section .banner-content .banner-heading {
    color: #000;
    position: relative;
    padding: 5px 10px;
}

.page__banner_section .banner-content .banner-heading h1 {
    font-size: 54px;
    margin-bottom: 10px !important;
    word-wrap: break-word;
    letter-spacing: 0.05em;
}

.page__banner_section .banner-content .banner-heading h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.page__banner_section .banner-content .banner-heading p {
    font-size: 20px;
    margin-bottom: 0px;
}


/* GALLERY ITEM STYLE  */


.gutentor-gallery-item .gutentor-gallery-item-wrap .gutentor-single-item-content {
    transform: none;
    width: 100%;
    height: 100%;
    top: 0;
}

.gutentor-gallery-item .gutentor-gallery-item-wrap .gutentor-gallery-item-header,
.gutentor-gallery-item .gutentor-gallery-item-wrap .gutentor-gallery-item-header a.image-gallery {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.gutentor-gallery-item .gutentor-gallery-item-wrap .gutentor-single-item-image-box .gutentor-image-thumb {
    max-height: 280px;
    height: 280px;
}

.gutentor-gallery-item .gutentor-gallery-item-wrap .gutentor-single-item-image-box .gutentor-image-thumb img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
}

.gutentor-gallery-item .gutentor-gallery-item-wrap .gutentor-gallery-item-header a.image-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* contact page */

.contact_form_wrapper {
    max-width: 100%;
    margin: 0 auto 25px;


}

.contact_form_wrapper .field_row {
    display: block;
}

.contact_form_wrapper .field_row.half_field {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.contact_form_wrapper .field_row.half_field .field_item {
    /* flex: 0 0 50%; */
    width: 50%;
}

.contact_form_wrapper .field_row .field_item {
    padding: 10px 0px;
}

.contact_form_wrapper .field_row .field_item label {
    font-size: 17px;
    padding-bottom: 5px;
    clear: both;
    display: inline-block;
    width: 100%;
    font-weight: 600;
}

.contact_form_wrapper .field_row .field_item h3 {
    margin-bottom: 5px;
    color: #F96800;
}

.contact_form_wrapper .field_row .field_item>p {
    margin-bottom: 0px;
}

.contact_form_wrapper .field_row .field_item .form-control {
    width: 100%;
    background-color: #FFF;
    border: 2px solid #c2d7c7;
    font-size: 16px;
    font-weight: 500;
    border-radius: 0px;
    padding: 10px 15px !important;
    border-radius: 8px;
}

.contact_form_wrapper .field_row .field_item textarea {
    height: 220px;
}

.contact_form_wrapper .field_row .field_item .form-control.wpcf7-checkbox {
    border: 0;
    padding: 10px 0px !important;
    background-color: transparent;
    box-shadow: none;
    font-size: 18px;
}

.contact_form_wrapper .field_row.field_button {
    text-align: center;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
a.button,
a.wp-block-button__link:not(.has-background) {
    border-radius: 25px;
    color: #FFF;
    background-color: #00666E;
    padding: 10px 35px 10px 35px;
    border: 2px solid #00666E;
    font-size: 16px;
    font-weight: 500;
}

button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.button:hover,
a.wp-block-button__link:not(.has-background):hover,
.contact_form_wrapper .field_row .field-btn:hover {
    color: #00666E;
    background-color: #FFF;
    border: 2px solid #00666E;
}

.contact_form_wrapper .wpcf7-spinner {
    position: absolute;
}









/* contact page */

.add_play_form {
    max-width: 100%;
    margin: 0 auto 25px;
}

.add_play_form .field_row {
    display: block;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.2);
}

.add_play_form .field_row.check_field .field_item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.add_play_form .field_row .field_item {
    padding: 10px 0px;
}

.add_play_form .field_row .field_item label {
    font-size: 15px;
    padding-bottom: 5px;
    clear: both;
    display: inline-block;
    width: 100%;
    font-weight: 600;
}

.add_play_form .field_row.check_field .field_item label {
    padding-bottom: 0px;
}

.add_play_form .field_row .field_item>p {
    margin-bottom: 0px;
}

.add_play_form .field_row .field_item .form-control,
.add_play_form .field_row .field_item textarea,
.add_play_form .field_row .field_item button.dropdown-trigger {
    width: 100%;
    background-color: #FFF;
    border: 2px solid #c2d7c7;
    font-size: 16px;
    font-weight: 500;
    border-radius: 0px;
    padding: 10px 15px !important;
    border-radius: 8px;
}

.add_play_form .field_row .field_item button.dropdown-trigger {
    width: 100%;
    min-width: 320px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.add_play_form .field_row .field_item textarea {
    height: 220px;
}

/* .add_play_form .field_row .field_item .form-control[type='checkbox'] {
    border: 0;
    padding: 10px 0px !important;
    background-color: transparent;
    box-shadow: none;
    font-size: 18px;
    width: auto;
} */

.add_play_form .field_row.field_button {
    text-align: center;
}


/* Reset default checkbox style */
.add_play_form .field_row .field_item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #999;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    background-color: #fff;
    transition: all 0.2s ease;
    padding: 0px !important;
}

/* Hover effect */
.add_play_form .field_row .field_item input[type="checkbox"]:hover {
    border-color: #ff376d;
    box-shadow: 0 0 3px rgba(255, 55, 109, 0.5);
}

/* Checked state */
.add_play_form .field_row .field_item input[type="checkbox"]:checked {
    background-color: #ff376d;
    border-color: #ff376d;
}

/* Checkmark style */
.add_play_form .field_row .field_item input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.add_play_form .field_row .field_item .dropdown-menu label {
    display: flex;
    gap: 0px;
    align-items: center;
}





iframe {
    display: block;
}

.menu-toggle {
    text-transform: uppercase;
    font-size: 26px !important;
    padding: 0 5px;
    background-color: transparent !important;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
    background-color: #fff;
    font-size: 16px;
    padding: 12px 15px !important;
}

.has-inline-mobile-toggle #site-navigation.toggled {
    /* margin-top: 4.5em; */
    padding-top: 15px;
    padding-bottom: 15px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #447B1A;
    text-align: center;
    color: #447B1A;
}


.entry-content ol,
.entry-content ul {
    margin: 0 0 1em 0em;
}


.single-post .site-content {
    padding-bottom: 35px;
}



.single-post .site-content .featured-image {
    padding: 0px;
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
}

.single-post .site-content .featured-image img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}

.single-post .entry-header h1.entry-title {
    font-size: 32px;
}

.single-asiakasryhmat .site-content .featured-image {
    padding: 0px;
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
}

.single-asiakasryhmat .site-content .featured-image img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}

.single-asiakasryhmat .entry-header h1.entry-title {
    font-size: 32px;
}


.site-main .post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 35px;
}

.entry-meta {
    font-size: 100%;
}

.search-results .page-header {
    display: none;
}

.search-results .inside-article {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 25px 15px;
}


.search-results .entry-summary {
    margin-top: 25px;
}

.search-results .read-more {
    font-weight: 600;
    color: #50C126;
}

.search-results .nav-links {
    display: flex;
}

.search-results .nav-links .page-numbers {
    background-color: #50C126;
    padding: 4px;
    color: #FFF;
    border-radius: 4px;
    margin-right: 4px;
    display: flex;
    min-width: 24px;
    box-sizing: content-box;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.search-results .nav-links .page-numbers.current {
    background-color: #FFF;
    color: #50C126;
    border: 1px solid #50C126;
}

/* Post Listing Wrapper Style */

.post_listing_wrap h4.gutentor-post-title {
    text-align: center;
    font-weight: 600;
    background-color: #1F8E9F;
    padding: 0px !important;
    border-radius: 8px;
}

.post_listing_wrap h4.gutentor-post-title a {
    display: block;
    padding: 10px 15px;
}

.post_listing_wrap .gutentor-post-image-box {
    display: flex;
    align-items: center;
    justify-content: center;
}


.single-kalasto.separate-containers .inside-article>.featured-image {
    max-width: 600px;
    float: right;
}

.single-kalasto .site-content {
    padding-top: 40px;
    padding-bottom: 60px;
}

.single-kalasto .site-content header.entry-header {
    display: none;
}

.ter-bg1 .has-custom-bg {
    background-size: 300px;
}

.ter-bg-left {
    background-size: 250px;
    background-position: left 24%;
}

.ter-bg-right {
    background-size: 300px;
    background-position: right 28%;
}


.site-footer:before {
    content: '';
    position: absolute;
    height: 70px;
    width: 100%;
    left: 0;
    top: -70px;
    background-image: url(assets/images/Graphics/Leikkipaiva_grafiikka_footer-ylaosa.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;

}

.home .site-footer:before {
    background-color: #f1faf3;
}

.site-footer .footer-widgets-container .inner-padding {
    padding-bottom: 5px !important;
    margin-bottom: 5px !important;
}

.ft_contact img {
    width: 16px;
    position: relative;
    top: 2px;
    margin-right: 6px;
}

.site-footer .gutentor-social-item .gutentor-single-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-footer {
    position: relative;
}


.site-footer .footer-widgets,
.site-footer .site-info {
    position: relative;
    z-index: 99;
}

.site-footer .menu {
    font-weight: 700;
}

.shape-banner .gutentor-block-shape-bottom {
    bottom: -7px !important;
}

.shape-blue-section .gutentor-block-shape-top {
    top: -60px;
}

.shape-blue-section .gutentor-block-shape-bottom {
    bottom: -60px !important;
}


.shape-blog-section .gutentor-block-shape-top {
    top: -50px;
}

.front-blog-section .gutentor-post-image-box .gutentor-image-thumb {
    height: 200px;
    overflow: hidden;
}

.front-blog-section .gutentor-post-image-box .gutentor-image-thumb img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;

}

.front-blog-section .custom-gutentor-container {
    padding: 20px;
    position: relative;
    padding-bottom: 0px;
    min-height: 180px;
}

.front-blog-section .custom-gutentor-container .gutentor-button-wrap {
    position: absolute;
    left: 20px;
    bottom: 0px;
}

.ft_social_panel {
    gap: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
}

.ft_social_panel a img {
    max-width: 40px;
}



.breadcrumb {

    padding: 10px 0px;
    font-size: 15px;
}

.breadcrumb a,
.breadcrumb span {
    font-weight: 400;
    color: #464646;
    padding-right: 5px;
    padding-left: 5px;
}

.breadcrumb span {
    font-weight: 400;
}

.breadcrumb_wrapper {
    margin-bottom: 15px;
}

.breadcrumb_wrapper .container,
.banner-heading .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px;
}

.banner-heading h1 {
    color: #4BB75F;
    font-size: 36px;
    word-wrap: break-word;
}

.gutentor-list-item .gutentor-single-item .gutentor-single-list-item-icon i.list-item-icon {
    position: relative;
    top: 7px;
}

.accourdian_num_panel .gutentor-module-accordion-panel-handler {
    position: relative;
}

.accourdian_num_panel .accordion-number {
    background-color: #FFF;
    border: 2px solid #4BB75F;
    border-radius: 50px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4BB75F;
    font-weight: 600;
    margin-right: 10px;
    position: absolute;
    left: -45px;
    top: -4px;
}


/* FILTER SECTION STYLE */

.filter_featured_listing {
    display: block;
    clear: both;
}

.featued_list_items {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.featued_list_items .featured-post {
    flex: 0 auto;
    width: 33%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.featued_list_items .featured-post .crop_this_image {
    width: 100%;
    height: 240px;
    margin-bottom: 15px;
}

.featued_list_items .featured-post .crop_this_image img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.featued_list_items .featured-post a {
    text-decoration: none;

}

.featued_list_items .featured-post h2 {
    font-size: 20px;
}

.btn-blue {
    border-radius: 25px;
    color: #FFF;
    background-color: #00666E;
    padding: 10px 35px 10px 35px;
    border: 2px solid #00666E;
    font-size: 16px;
    font-weight: 500;
}

.btn-blue:hover {
    color: #00666E;
    background-color: #FFF;
    border: 2px solid #00666E;
}

.featued_list_items .featured-post a.btn {
    clear: both;
}

.filter_category_listing {
    display: block;
    margin-bottom: 40px;
    border: 0px solid rgba(0, 0, 0, 0.2);
    padding: 10px 0px;
}

.filter_category_listing h3 {
    color: #4BB75F;
    text-transform: uppercase;
}

.filter_category_listing h4 {
    text-transform: uppercase;
    font-weight: 500;
}

.filter_category_listing .checkbox input {
    margin-left: 0px;
}

.filter_category_listing .checkbox label {
    padding-left: 10px;
}

.filter_category_listing .search_filter_fields {
    display: flex;
    justify-content: space-around;
}

.filter_category_listing .search_filter_fields .form-control {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    margin-right: 15px;
    border-radius: 5px;
}

.filter_category_listing .search_filter_fields .btn {
    width: 180px;
}

.filter_category_listing .kategoriaselection__container {
    margin-bottom: 25px;
    gap: 15px;
}

.filter_cat_collepse_head {
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f5f5f5;
}

.filter_cat_collepse_head i {
    transition: transform 0.3s ease;
}

.filter_cat_collepse_head {
    background-color: #4BB75F;
    color: #FFF;
    padding: 8px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 15px;

}

.filter_cat_collepse_head h3 {
    margin-bottom: 0px;
    color: #FFF;
}

.filter_cat_collepse_body {
    padding: 15px;
}

.filter_panel_results_wrap .panel-heading {
    padding: 10px 10px;
    background-color: rgba(0, 0, 0, .1);
}

.filter_panel_results_wrap table.table thead th {
    text-align: left;
    text-transform: uppercase;
    font-size: 14px;
}

.filter_panel_results_wrap .btn-blue {
    padding: 3px 15px 3px 15px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
}

.filter_panel_results_wrap table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.filter_panel_results_wrap a {
    text-decoration: none;
}

.leikit-details {
    background: #f9f9f9;
    border-top: 1px solid #ddd;
}

.leikit-details .details-content {
    padding: 10px;
    font-size: 14px;
}

.filter_panel_results_wrap table tr.leikit-item {
    cursor: pointer;
}

.filter_panel_results_wrap table tr.leikit-item:hover {
    background-color: #f2f2f2;
}

.filter_panel_results_wrap .icon-item .icon-circle img {
    max-width: 30px;
    max-height: 30px;
}

.custom-dropdown {
    position: relative;
    /* Crucial for positioning the absolute menu */
    display: inline-block;
}

.kategoriaselection__container .dropdown-trigger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    box-shadow: none;
}

.kategoriaselection__container .dropdown-trigger:hover {
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.dropdown-menu {
    display: none;
    /* Starts hidden */
    position: absolute;
    top: 100%;
    /* Positions it right below the button */
    left: 0;
    min-width: 250px;
    /* Adjust width as needed */
    max-height: 200px;
    /* **Allows scrolling for long lists** */
    overflow-y: auto;
    /* Adds the scrollbar when options exceed max-height */
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
    /* Vertical padding only */
    z-index: 1000;
}

.dropdown-menu label {
    display: flex;
    /* Aligns checkbox and text nicely */
    align-items: center;
    padding: 8px 15px 8px 10px;
    /* Provides internal padding */
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    /* Prevents text from wrapping */
}

.dropdown-menu label:hover {
    background-color: #f0f0f0;
    /* Light hover background */
}

.dropdown-menu input[type="checkbox"] {
    margin-right: 10px;
    /* You might need vendor prefixes for advanced styling */
    transform: scale(1.1);
    /* Slightly larger checkbox */
}

.arrow {
    margin-left: 5px;
    font-size: 10px;
    transition: transform 0.3s;
}

/* Optional: Rotate arrow when menu is open */
.dropdown-trigger[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
}


.filter_pagination .page-numbers {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 20px 0;
}

.filter_pagination .page-numbers li {
    display: inline-block;
    border: 0px solid #ccc;
    margin: 0px 2px;
    border-radius: 5px;
}

.filter_pagination .page-numbers li .page-numbers {
    display: inline-block;
    border: 1px solid #ccc;
    margin: 0;
    font-size: 14px;
    border-radius: 5px;
}

.filter_pagination .page-numbers a,
.filter_pagination .page-numbers span {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.filter_pagination .page-numbers .current {
    background-color: #00666E;
    color: #fff;
    border-color: #00666E;
}

.filter_pagination .page-numbers li:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.filter_pagination .page-numbers li:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}


.filter_single_wrapper {
    margin-bottom: 70px !important;
}

.filter_single_wrapper .filter_single_panel {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.filter_single_wrapper .filter_single_right {
    width: 25%;
    min-width: 25%;
}

.filter_single_wrapper .filter_single_right .filter_single_cat {
    padding: 30px;
    background-color: #b7e1d7;
    border-radius: 8px;
}

.filter_single_wrapper .filter_single_right .filter_single_cat ul,
.filter_single_wrapper .filter_single_right .filter_single_cat ul li {
    margin: 0;
    list-style: none;
    padding: 0;
}

.filter_single_wrapper .filter_single_right .filter_single_cat ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;

}

.filter_single_wrapper .filter_single_right .filter_single_cat ul li:before {
    content: '\f058';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 0;

}

.filter_single_thumbnail figure.figure img {
    width: 100%;
}

.pagination-container {
    margin-top: 35px;
}




/* --- 4. Metadata Icons --- */
.filter_single_left .metadata-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    background-color: #f1faf3;
    border-radius: 8px;
    /* mb-4 */
}

.filter_single_left .icon-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 25%;
    /* w-1/4 */
    padding: 15px;
    gap: 10px;
    /* Small horizontal padding to prevent crowding */
    border-right: 1px solid #FFF;
}

.filter_single_left .icon-item:last-child {
    border-right: 0px;
}


.filter_single_left .icon-circle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter_single_left .icon-label {
    font-size: 15px;
    /* text-xs */
    text-align: left;
    margin-top: 4px;
    /* mt-1 */
    color: var(--color-text-medium);
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 600;
}


@media (max-width:767px) {
    .top-bar {
        display: none;
    }

    .mob_none {
        display: none;
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 26px;
    }

    .site-logo {
        top: 0px;
    }

    .main-navigation .main-nav ul ul li a {
        padding: 12px 20px;
    }

    .main-navigation .main-nav ul ul ul {
        margin-left: 0px;
        padding: 5px 20px;
        top: 0px !important;
    }

    .main-navigation .menu-bar-item {
        margin-right: 15px;
    }

    .gutentor-social .inline-wrapper {
        justify-content: center !important;
    }

    .page__banner_section .banner-container {
        justify-content: center;
    }

    .page__banner_section {
        height: 280px;
    }

    .page__banner_section .banner-container {
        padding-bottom: 0px;
    }

    .page__banner_section .banner-content .banner-heading h1 {
        font-size: 28px;
        line-height: 1;
    }

    .page__banner_section .banner-content .banner-heading h2 {
        font-size: 16px;
    }

    .site-footer {
        text-align: center;
    }

    .site-footer .gutentor-social .inline-wrapper {
        justify-content: center;
    }

    .contact_form_wrapper {
        padding: 15px;
    }

    .contact_form_wrapper .field_row.half_field {
        flex-direction: column;
        gap: 0;
    }

    .contact_form_wrapper .field_row.half_field .field_item {
        /* flex: 0 0 50%; */
        width: 100%;
    }

    .h1_line .gutentor-text-wrap:after {
        bottom: 0px;
    }

    .img-circle .gutentor-element-image-box:after {
        right: -10px;
        top: -25px;
    }

    .nav-float-right #site-navigation {
        margin-left: 0px;
    }

    .shape-blue-section .gutentor-block-shape-top {
        top: -18px;
    }

    .shape-blue-section .gutentor-block-shape-bottom {
        bottom: -18px !important;
    }

    .shape-blog-section .gutentor-block-shape-top {
        top: -18px;
    }

    .front-blog-section .grid-row>.gutentor-post {
        margin-bottom: 35px;
    }

    .front-blog-section .custom-gutentor-container {
        min-height: auto;
    }

    .front-blog-section .custom-gutentor-container .gutentor-button-wrap {
        position: relative;
        left: 0px;
        bottom: 0px;
    }

    .featued_list_items {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .featued_list_items .featured-post {
        width: 100%;
    }

    .filter_category_listing .search_filter_fields {
        flex-direction: column;
        gap: 15px;
    }

    .kategoriaselection__container {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .kategoriaselection__item {
        width: auto;
    }

    .filter_panel_results_wrap .table {
        max-width: 100%;
        overflow-x: scroll;
    }

    .filter_single_wrapper .filter_single_panel {
        flex-direction: column;
    }

    .filter_single_wrapper .filter_single_right {
        width: auto;
    }

    .filter_single_wrapper {
        margin-bottom: 120px !important;
    }

    .filter_single_left .icon-item {
        width: 50%;
    }

    .page-template-tmp-kaikki .content-area {
        padding: 24px;
    }

    .kategoriaselection__container .dropdown-trigger {
        width: 100%;
        justify-content: space-between;
        display: flex;
        align-items: center;
    }
}