/* 
Theme Name: Mala Galerija
Theme URI: https://github.com/elementor/hello-theme/
Description: Mala Galerija is a child theme of Hello Elementor, created by Prospekt
Author: Prospekt
Author URI: https://prospekt.hr/
Template: hello-elementor
Version: 1.0.1
Text Domain: mala-galerija
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.testimonials-grid .elementor-widget-testimonial {
	backdrop-filter: blur(6px);
}


.testimonials-grid .elementor-widget-testimonial::before {
    content: url(/wp-content/uploads/2025/12/quote-icon-min.png);
    position: absolute;
    top: -36px;
}

.testimonials-grid .elementor-widget-testimonial .elementor-testimonial-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonials-grid .elementor-widget-testimonial .elementor-testimonial-meta::after {
    content: url(/wp-content/uploads/2025/12/five-stars.svg);
    display: block;
    margin-top: 12px;
}


.najpopularniji-radovi {
    width: 3432px!important;
    transform: translateX(0);
    transition: transform 6s ease-in-out!important;
}

/** MENU **/

.img-shadow-hover:hover .elementor-widget-image img {
    box-shadow: 0px 6px 30px 0px #0000000D;
}

#menu-tab-nakit,
#menu-tab-personalizirano {
    display: none;
    opacity: 0;
    position: absolute;
    transition: opacity 0.4s ease-in-out;
}

#menu-tab-nakit.active,
#menu-tab-personalizirano.active {
    display: flex;
    position: static;
    opacity: 1;
}

#menu-mega-tabs li.menu-item a:hover {
    font-weight: 700;
}

#main-menu-left li.e-n-menu-item a.e-link::after,
#main-menu-right li.menu-item a::after {
    content: "";
    display: block;
    width: 100%;
    height: 9px;
    background-image: url(/wp-content/uploads/2025/12/menu-underline-min.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: all .4s ease-in;
    opacity: 0;
}

#main-menu-left li.e-n-menu-item a.e-link:hover::after,
#main-menu-right li.menu-item a:hover::after {
    opacity: 1;
}

#products-menu .elementor-nav-menu--main ul.sub-menu {
    display: none!important;
    opacity: 0!important;
}

#products-menu .elementor-nav-menu--main li.current_page_item ul.sub-menu,
#products-menu .elementor-nav-menu--main li.current_page_parent ul.sub-menu {
    display: block!important;
    position: static!important;
    width: 100%!important;
    opacity: 1!important;
}

#products-menu .elementor-nav-menu--main ul.sub-menu li.menu-item a {
    font-weight: 500;
    color: #000!important;
    background-color: #fff!important;
}

#products-menu .elementor-nav-menu--main li.menu-item a {
    padding-left: 40px!important;
    font-size: 16px;
}

#products-menu .elementor-nav-menu--main li.menu-item .sub-menu a {
    padding-left: 32px !important;
}

#products-menu .elementor-nav-menu--main ul.sub-menu li.menu-item a:hover,
#products-menu .elementor-nav-menu--main ul.sub-menu li.menu-item a.elementor-item-active {
    background-color: #F5F5F5!important;
}

#products-menu .elementor-nav-menu--main li.menu-item::before {
    position: absolute;
    top: 15px;
    left: 8px;
}

#products-menu .elementor-nav-menu--main li.menu-item.menu-item-456::before {
    content: url(https://mala-galerija.live/wp-content/uploads/2026/01/rijeka-icon.svg);
}

#products-menu .elementor-nav-menu--main li.menu-item.menu-item-457::before {
    content: url(https://mala-galerija.live/wp-content/uploads/2026/01/nausnice-icon.svg);
    top: 19px;
}

#products-menu .elementor-nav-menu--main li.menu-item.menu-item-461::before {
    content: url(https://mala-galerija.live/wp-content/uploads/2026/01/keramika-icon.svg);
    top: 20px;
}

#products-menu .elementor-nav-menu--main li.menu-item.menu-item-466::before {
    content: url(https://mala-galerija.live/wp-content/uploads/2026/01/slike-icon.svg);
    top: 21px;
}

#products-menu .elementor-nav-menu--main li.menu-item.menu-item-470::before {
    content: url(https://mala-galerija.live/wp-content/uploads/2026/01/darovi-icon.svg);
}

#products-menu .elementor-nav-menu--main li.menu-item.menu-item-1100::before {
    content: url(https://mala-galerija.live/wp-content/uploads/2026/01/ikona-uredenje-prostora.svg);
}

/** Mobile menu products **/

@media(max-width: 768px) {

    #products-menu .elementor-nav-menu > li.menu-item:not(.current-menu-item, .current-menu-ancestor) {
        display: none;
    }

    body.wp-singular.page-id-208 .products-menu-container {
        display: none;
    }

}

#products-menu-min .elementor-nav-menu > li.menu-item:not(.current-menu-item, .current-menu-ancestor) {
        display: none;
}

#products-menu-min a.elementor-item.has-submenu {
    display: flex;
    justify-content: space-between;
}

/** FILTER **/

.wpc-filters-widget-content .wpc-filters-widget-wrapper {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.wpc-filters-widget-content .wpc-filters-widget-wrapper .wpc-instead-of-posts-found {
    width: 100%;
}

.wpc-filters-widget-content .wpc-filters-widget-wrapper .wpc-filters-section {
    width: 150px;
}

.wpc-filters-widget-content .wpc-filters-widget-wrapper .wpc-filters-section .wpc-filter-header {
    display: none;
}

/** gallery lightbox edits **/

.mfp-gallery .mfp-bottom-bar .mfp-title > small {
    display: none;
}

.mfp-arrow:hover, .mfp-arrow:focus,
.mfp-figure .mfp-close:hover, .mfp-figure .mfp-close:focus {
    background-color: transparent!important;
}

/** JIG **/

.justified-image-grid .jig-imageContainer .jig-link:not([title="no-logo"]) .jig-overlay-wrapper::before {
    content: "";
    background-image: url(/wp-content/uploads/2026/01/Bruketa_Art_white.png);
    background-repeat: no-repeat;
    background-position: 96% 96%;
    background-size: contain;
    width: 150px;
    height: 70px;
    display: block;
    position: absolute;
    z-index: 1;
    right: 6px;
    bottom: 6px;
}

.gallery-no-logo .justified-image-grid .jig-imageContainer .jig-link .jig-overlay-wrapper::before {
    content: none;
}


/*body:not(.page-id-413) .mfp-content .mfp-bottom-bar .mfp-title,
body:not(.page-id-415) .mfp-content .mfp-bottom-bar .mfp-title,
body:not(.page-id-417) .mfp-content .mfp-bottom-bar .mfp-title,
body:not(.page-id-204) .mfp-content .mfp-bottom-bar .mfp-title,
body:not(.page-id-438) .mfp-content .mfp-bottom-bar .mfp-title,
body:not(.page-id-440) .mfp-content .mfp-bottom-bar .mfp-title,
body:not(.page-id-442) .mfp-content .mfp-bottom-bar .mfp-title {
    display: none!important;
}*/


body:not(.page-id-413, .page-id-415, .page-id-417, .page-id-204, .page-id-438, .page-id-440, .page-id-442) .mfp-content .mfp-bottom-bar .mfp-title {
    display: none!important;
}
