/*
 Theme Name:   Lumai Child
 Theme URI:    http://lumai.bold-themes.com
 Description:  Lumai child theme
 Author:       BoldThemes
 Author URI:   http://bold-themes.com
 Template:     lumai
 Version:      1.0.0
 Tags:         one-column, right-sidebar, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  lumai-child
*/


/* Theme customization starts here
-------------------------------------------------------------- */

.product-type-simple {
	max-width: 1200px;
	margin: 0 auto;
}
.woocommerce-form-coupon-toggle {
	display: none;
}
#slider {
	position: absolute;
	right: 8px !important;
    height: 100%;
    width: 100%;
	z-index: 0 !important;
	border-radius: 32px;
}
.slick-list .slick-slide {
	background-position: center !important;
}
.slick-dots {
    justify-content: center !important;
    width: 100% !important;
}
#text {
	position: relative;
	z-index: 1;
}
.home .bt_bb_color_scheme_11.bt_bb_shape_hard-rounded {
	position: relative;
}
#slider .slick-slider {
    height: 100%;
    max-height: 100%;
    width: 100%;
}
#slider .slick-list {
    height: 100% !important;
}
.woocommerce-product-details__short-description a {
	color: #F1C400;
}
.bt_bb_row_holder .bt_bb_column.bt_bb_vertical_align_bottom.bt_bb_inner_shape_hard-rounded
 {
    justify-content: flex-start;
}
.header-shape-curved.bt-header-responsive-inactive .site-branding-logo-text {
    padding: 0 4px 4px 0 !important
}
button.slick-arrow.slick-arrow.slick-prev {
    left: 2em !important;
}
button.slick-arrow.slick-arrow.slick-next {
    right: 1em !important;
}
.tax-product_cat #content {
	margin-top: 0 !important;
}
.tax-product_cat .product {
	max-width: none !important;
}
.tax-product_cat .attendee-portal-wrapper {
	max-width: 1200px !important;
	margin: 40px auto;
}
.submit-portal-btn:disabled {
    background: #94a3b8 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    transform: none !important;
}
footer .bt_bb_row_inner.bt_bb_animation_no_animation .bt_bb_column_inner_content_inner .bt_bb_image {
	margin-bottom: 8px;
}
.wp-singularr:not(.home)  .slick-slide img {
	    height: 400px;
    width: auto;
    min-width: 100%;
}
.price-list .bt_bb_row_holder {
	    justify-content: center;
}
.bt_bb_price_list {
	margin: 8px 0;
}
.bt_bb_size_huge.bt_bb_headline h5.bt_bb_headline_tag {
    font-size: 2em !important;
}
.bt_bb_content_slider_item {
	position: relative !important;
}
.bt_bb_content_slider_item:before {
	position: absolute;
	inset:0;
	content: '';
	background: rgba(0, 0, 0, 0.2);
	height: 100%;
	width: 100%;
}
.row-reverse .bt_bb_row_holder {
  flex-direction: column !important;
}

@media (min-width: 1024px) {
  .row-reverse .bt_bb_row_holder {
    flex-direction: row-reverse !important;
  }
}

/* 1. Primjena Flexboxa i izjednačavanje visina (samo na većim ekranima) */
@media (min-width: 992px) {
    /* Glavni kontejner reda s home-hero klasom postaje flexbox */
    .home-hero.bt_bb_row_holder,
    .home-hero .bt_bb_row_holder {
        display: flex !important;
        flex-wrap: wrap;
        align-items: stretch;
    }

    /* Stupci unutar home-hero sekcije */
    .home-hero .bt_bb_column {
        display: flex !important;
        flex-direction: column;
    }

    /* Unutarnji omotači stupaca zauzimaju 100% visine */
    .home-hero .bt_bb_column > .bt_bb_column_content,
    .home-hero .bt_bb_column > .bt_bb_column_content > .bt_bb_column_content_inner {
        height: 100%;
        display: flex;
        flex-direction: column;
		
    }

    /* Lijevi stupac sa Sliderom - protezanje kroz cijelu visinu */
    .home-hero .bt_bb_column:first-child .bt_bb_content_slider,
    .home-hero .bt_bb_column:first-child .slick-slider,
    .home-hero .bt_bb_column:first-child .slick-list,
    .home-hero .bt_bb_column:first-child .slick-track,
    .home-hero .bt_bb_column:first-child .bt_bb_content_slider_item {
        height: 100% !important;
    }

    /* Desni stupac - vertikalna raspodjela 3 boxa */
    .home-hero .bt_bb_column:last-child > .bt_bb_column_content > .bt_bb_column_content_inner {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /* Svaki od 3 boxa dobiva jednaku visinu (flex: 1) uz razmak (gap) između njih */
    .home-hero .bt_bb_column:last-child > .bt_bb_column_content > .bt_bb_column_content_inner > .bt_bb_row_inner {
        flex: 1;
        display: flex;
        flex-direction: column;
        margin-bottom: 10px; /* Gap između boxeva */
    }

    /* Uklanjanje donje margine s posljednjeg boxa */
    .home-hero .bt_bb_column:last-child > .bt_bb_column_content > .bt_bb_column_content_inner > .bt_bb_row_inner:last-child {
        margin-bottom: 0;
    }

    /* Osiguravanje da unutrašnjost boxeva ispunjava punu visinu i vertikalno centrira sadržaj */
    .home-hero .bt_bb_column:last-child .bt_bb_row_inner_holder,
    .home-hero .bt_bb_column:last-child .bt_bb_column_inner,
    .home-hero .bt_bb_column:last-child .bt_bb_column_inner_content {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
		        width: 100%;
    }

    /* Sakrivanje fiksnih razmaknica (bt_bb_separator_v2) između boxeva u desnom stupcu */
    .home-hero .bt_bb_column:last-child > .bt_bb_column_content > .bt_bb_column_content_inner > .bt_bb_separator_v2 {
        display: none !important;
    }
}

/* 2. Responzivnost za mobilne uređaje i tablete (ispod 992px) */
@media (max-width: 991px) {
    .home-hero.bt_bb_row_holder,
    .home-hero .bt_bb_row_holder {
        display: block !important;
    }

    .home-hero .bt_bb_column {
        width: 100% !important;
        margin-bottom: 20px;
    }

    .home-hero .bt_bb_column:last-child > .bt_bb_column_content > .bt_bb_column_content_inner > .bt_bb_row_inner {
        margin-bottom: 15px;
    }
}
@media (min-width: 991px) {
.faq-image img {
	min-width: 580px;
}
}

.woocommerce .custom-checkout-container .col2-set, .woocommerce-page .custom-checkout-container .col2-set {
    display: block !important;
}

.woocommerce-terms-and-conditions-checkbox-text {
    display: inline-block;
    margin: 16px 0 16px 12px;
}
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    float: right !important; 
    width: 100%;
}
#order_review_heading {
	display: none;
}
/* Osnovna visina mape za mobitele i manje ekrane */
#map .bt_bb_google_maps,
#map .bt_bb_google_maps_map {
    min-height: 350px !important; /* Prilagodite visinu za mobitele po želji */
    height: 350px !important;
}

/* Flexbox izjednačavanje visine samo na desktop ekranima (od 992px naviše) */
@media (min-width: 992px) {
    #map .bt_bb_row_holder {
        display: flex;
        align-items: stretch;
    }

    #map .bt_bb_row_holder > .bt_bb_column {
        display: flex;
        flex-direction: column;
    }

    #map .bt_bb_column_content,
    #map .bt_bb_column_content_inner,
    #map .bt_bb_google_maps,
    #map .bt_bb_google_maps_map {
        height: 100% !important;
        min-height: 100% !important;
        flex: 1 1 auto;
    }
}
.bt_bb_separator_v2_inner_before {
	visibility: hidden;
	opacity: 0;
}
.bt_bb_cf7_element.padding-0 {
	padding-right: 0 !important;
}
.wpcf7-date:before {
	background: white !important;
	display: none !important;
}
footer .bt_bb_image {
    width: 100%;
}
footer .bt_bb_image img {
    margin: 0 auto;
}
.wpcf7 .bt_bb_cf7_form .bt_bb_cf7_row:only-child {
    margin-bottom: 1.5em !important;
}
.bt_bb_moving_cards .bt_bb_moving_card_item_content {
    padding: 0 3em 14em 3em !important;
}
.bt_bb_card_speaker_social {
	display: none;
}
.addon-section, .interest-section {
    font-size: 13px !important;
}
.woocommerce-checkout label, .woocommerce-checkout input, .woocommerce-checkout select, .custom-checkout-right,  .woocommerce-checkout #payment div.payment_box {
    font-size: 14px !important;
}

.bt_bb_price_list_currency {
    text-decoration: line-through;
}
 .bt_bb_card_speaker_title a {
	pointer-events: none;
}


/* --- 1. GLAVNI GRID KONTEJNER --- */
.bt_bb_latest_posts {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
}

/* --- 2. OSNOVNE KARTICE (3. i 4. kartica) --- */
.bt_bb_latest_posts .bt_bb_latest_posts_item {
    grid-column: span 1 !important; /* Prisilno 1 stupac za sve standardne kartice */
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    position: relative !important;
}

/* Slike unutar standardnih kartica */
.bt_bb_latest_posts .bt_bb_latest_posts_item .bt_bb_latest_posts_item_image {
    width: 100% !important;
    height: 200px !important;
    margin: 0 !important;
}

.bt_bb_latest_posts .bt_bb_latest_posts_item .bt_bb_latest_posts_item_image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

.bt_bb_latest_posts .bt_bb_latest_posts_item .bt_bb_latest_posts_item_content {
    padding: 24px !important;
    flex-grow: 1 !important;
}

/* --- 3. PRVA (FEATURED) KARTICA (Širina 2 stupca) --- */
@media (min-width: 992px) {
    .bt_bb_latest_posts .bt_bb_latest_posts_item.is-featured {
        grid-column: span 2 !important; /* Točno 2 stupca */
        min-height: 400px !important;
    }

    .bt_bb_latest_posts .bt_bb_latest_posts_item.is-featured .bt_bb_latest_posts_item_image {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
    }

    .bt_bb_latest_posts .bt_bb_latest_posts_item.is-featured .bt_bb_latest_posts_item_image img {
        height: 100% !important;
    }

    /* Gradijent preko pozadinske slike */
    .bt_bb_latest_posts .bt_bb_latest_posts_item.is-featured::after {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%) !important;
        z-index: 2 !important;
        border-radius: 16px !important;
    }

    .bt_bb_latest_posts .bt_bb_latest_posts_item.is-featured .bt_bb_latest_posts_item_content {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 3 !important;
        padding: 30px !important;
    }

    /* Bijeli tekst na prvoj kartici */
    .bt_bb_latest_posts .bt_bb_latest_posts_item.is-featured .bt_bb_latest_posts_item_title a,
    .bt_bb_latest_posts .bt_bb_latest_posts_item.is-featured .bt_bb_latest_posts_item_excerpt,
    .bt_bb_latest_posts .bt_bb_latest_posts_item.is-featured .bt_bb_latest_posts_item_date,
    .bt_bb_latest_posts .bt_bb_latest_posts_item.is-featured .bt_bb_latest_posts_item_category a {
        color: #ffffff !important;
    }
}

/* --- 4. FILTER KATEGORIJA S RAVNOM CRTOM --- */
.custom-post-category-filter {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    margin-bottom: 35px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

.custom-post-category-filter button {
    background: none !important;
    border: none !important;
    border-radius: 0 !important; /* Uklanja zakrivljenost rubova */
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
    color: #555555 !important;
    cursor: pointer !important;
    padding: 8px 0 !important; /* Pad unutar gumba bez bočnih razmaka */
    position: relative !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Ravna linija ispod aktivne stavke */
.custom-post-category-filter button.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 2px !important; /* Debljina linije */
    background-color: #d97706 !important; /* Narančasta ravna linija */
    border-radius: 0 !important; /* Oštri ravni rubovi linije */
}

.custom-post-category-filter button.active {
    color: #005a9c !important;
}

/* Mobiteli */
@media (max-width: 991px) {
    .bt_bb_latest_posts {
        grid-template-columns: 1fr !important;
    }
}