/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.1
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* TRIBE EVENTS STYLE OVERRIDE BEGIN */
.tribe-events-header__breadcrumbs.tribe-events-c-breadcrumbs,
.tribe-events-view--month .tribe-events-header__events-bar.tribe-events-c-events-bar,
.tribe-events-view--month .tec-events-category-color-filter .tec-events-category-color-filter__dropdown .tec-events-category-color-filter__dropdown-header,
.tribe-events.tribe-events-view--month  .tribe-events-c-nav,
.tribe-events.tribe-events-view--month .tribe-events-header .tribe-events-header__messages.tribe-events-c-messages.tribe-events-header__messages--mobile
{
    display: none;
}

/*Need to override with important because default css uses important on it*/
/*Remove calendar arrows*/
/*.tribe-common--breakpoint-medium.tribe-events.tribe-events-view--month .tribe-events-c-top-bar__nav,*/
/*Remove "Ovaj mesec", no need for button if you cant switch from current month*/
.tribe-common--breakpoint-medium.tribe-events.tribe-events-view--month  .tribe-common-c-btn-border-small.tribe-events-c-top-bar__today-button
{
    display: none !important;
}



.tribe-events.tribe-events-view--month .tribe-events-calendar-month-mobile-events__mobile-day
{
    border-bottom: 1px solid var(--tec-color-border-default);
    padding-bottom: 10px;
}

.tribe-events.tribe-events-view--month .tribe-events-header__top-bar
{
    display: flex;
}

td.tribe-events-calendar-month__day.tribe-events-calendar-month__day--past
{
    background-color: #fafafa;
	opacity: 0.45;
	pointer-events: none;
	& .tribe-events-calendar-month__day-date-daynum {
	    color: #9d9c9c;
	    & .tribe-events-calendar-month__day-date-link {
	        color: #9d9c9c;
        }
	}
	
}

.tribe-common--breakpoint-medium.tribe-events
.tribe-events-calendar-month__day:hover
{
	&:after {
		background-color: #6b8e5b;	
	}

	&:not(.tribe-events-calendar-month__day--past) .tribe-events-calendar-month__day-date-daynum
	{
		font-size: 30px;
	}
}
.tribe-events.tribe-events-view--month .datepicker .datepicker-months table .datepicker-switch,
.tribe-events.tribe-events-view--month .datepicker .datepicker-years table .datepicker-switch
{
    width: 100%;
}
.tribe-events.tribe-events-view--month button.tribe-events-c-top-bar__datepicker-button:focus,
.tribe-events.tribe-events-view--month .datepicker .datepicker-months table .month:hover,
.tribe-events.tribe-events-view--month .datepicker .datepicker-months table .month.focused,
.tribe-events.tribe-events-view--month .datepicker .datepicker-months table .month.active.focused,
.tribe-events.tribe-events-view--month .datepicker .datepicker-months table .month.active:focus,
.tribe-events.tribe-events-view--month .datepicker .datepicker-years table .year:hover,
.tribe-events.tribe-events-view--month .datepicker .datepicker-years table .year.active.focused,
.tribe-events.tribe-events-view--month .datepicker .datepicker-years table .year.focused,
.tribe-events.tribe-events-view--month .datepicker .datepicker-years table .year.active:focus
{
    outline: none;
}

.tribe-events.tribe-events-view--month .datepicker .datepicker-months table .month.current:not(.active),
.tribe-events.tribe-events-view--month .datepicker .datepicker-months table .month.current.focused:not(.active),
.tribe-events.tribe-events-view--month .datepicker .datepicker-months table .month.current:not(.active):focus,
.tribe-events.tribe-events-view--month .datepicker .datepicker-years table .year.current:not(.active),
.tribe-events.tribe-events-view--month .datepicker .datepicker-years table .year.current.focused:not(.active),
.tribe-events.tribe-events-view--month .datepicker .datepicker-years table .year.current:not(.active):focus
{
    outline: none;
    color: var(--tec-color-text-primary);
    background-color: var(--tec-border-radius-default);
    font-weight: 600;
}

.tribe-events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text:focus
{
	outline: none;
}

.tribe-events .tribe-events-c-subscribe-dropdown li.tribe-events-c-subscribe-dropdown__list-item:hover
{
	background-color: #7ed95799;
}

@media only screen and (min-width: 768px)
{
    .tribe-events-event-meta.primary, .tribe-events-event-meta.secondary
    {
    	display: flex;
    	flex-direction: row;
    	flex: fit-content;
    }

    .tribe-events-venue-map
    {
    	flex: 1 0 auto;
        display: flex;
        flex-wrap: wrap;
        width: auto;
    }
}

/* TRIBE EVENTS STYLE OVERRIDE END */

/* TRIBE EVENTS SINGLE OVERRIDE BEGIN*/
@media print {
	.single-tribe_events {
		width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        color: #000 !important;
	}
	.single-tribe_events #header,
	.single-tribe_events .tribe-events.tribe-common,
	.single-tribe_events .comment-respond,
	.single-tribe_events .reply,
	.single-tribe_events .comment-edit-link,
	.single-tribe_events #tribe-events-footer,
	.single-tribe_events #footer {
		display: none !important;
	}
	
}
/* TRIBE EVENTS SINGLE OVERRIDE END*/

/* TRIBE EVENTS ORAGANIZER STYLE OVERRIDE BEGIN */
/* Remove default lines beneath the nav bar completely */
.single-tribe_organizer .tabbed-content .nav {
    border-bottom: 1px solid;
    box-shadow: none !important;
    gap: 10px !important; /* Adds space between the buttons */
    margin-bottom: 0px !important;
    padding-bottom: 1rem;
}

/* Format basic structural settings for every individual item tab link */
.single-tribe_organizer .tabbed-content .nav li a {
    border: none !important;
    background: transparent !important;
    color: #555555 !important; /* Non-active plain text layout color */
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 10px 24px !important;
    border-radius: 99px !important; /* Forces the perfect pill rounded curve layout */
    transition: all 0.2s ease-in-out !important;
}

/* Handle active/clicked pill styles to match the reference graphic */
.single-tribe_organizer .tabbed-content .nav li.active a,
.single-tribe_organizer .tabbed-content .nav li a:hover {
    background-color: #446084 !important; /* Dark blue background fill */
    color: #ffffff !important; /* Clear white text visibility color */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08) !important;
}

/* TRIBE EVENTS ORAGANIZER STYLE OVERRIDE END */

/* STAR REVIEW OVERRIDE SYTLE BEGIN */
/* 1. Header Row Wrapper: Shifts Avatar Left and the Meta Text Block Right */
.single-tribe_organizer .custom-review-header {
    display: flex !important;
    align-items: center !important; /* Centers stars & text vertically with the circle */
    gap: 16px !important; /* Space between the avatar and the text blocks */
}

/* 2. Shape and isolate the avatar icon circle on the left */
.single-tribe_organizer .glsr-review-avatar {
    flex-shrink: 0 !important; /* Prevents layout compression on small widths */
    margin: 0 !important;
}

.single-tribe_organizer .glsr-review-avatar .glsr-avatar,
.single-tribe_organizer .glsr-review-avatar img {
    width: 48px !important;
    height: 48px !important;
    line-height: 48px !important;
    display: block !important;
}

/* 3. Force the right-side container to stack elements vertically */
.single-tribe_organizer .custom-review-meta-stack {
    display: block !important; /* Disables the broken inline row rule */
    float: none !important;
    margin: 0 !important;
}

/* Force the rating stars to stand alone on the absolute top line */
.single-tribe_organizer .custom-review-meta-stack .glsr-review-rating {
    display: block !important;
    margin-bottom: 4px !important; /* Space between stars and username */
    clear: both !important;
}

.single-tribe_organizer .custom-review-meta-stack .glsr-stars {
    justify-content: start !important;
}

/* Force the username and date row to drop down to the second line */
.single-tribe_organizer .custom-review-author-row {
    display: block !important; /* Breaks out of inline-flex restrictions */
    clear: both !important;
    line-height: 1.4 !important;
}

/* Display username and date inline with each other on that second line */
.single-tribe_organizer .glsr-review-author,
.single-tribe_organizer .glsr-review-date {
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Add the separator dash between username and date */
.single-tribe_organizer .glsr-review-author::after {
    content: "\2002\2013\2002" !important; /* Standard hyphen dash spacer accent */
    font-weight: 400 !important;
    color: #888 !important;
}
.single-tribe_organizer .glsr-review-content {
    margin-left: 64px;
}

/* Style every individual review container to create space and add the bottom border line */
.single-tribe_organizer .glsr-reviews {
    row-gap: 0 !important;
}

.single-tribe_organizer .glsr-reviews .glsr-review {
    border-bottom: 1px solid #e2e8f0 !important; /* Clean, modern 1px gray line */
    padding-bottom: 20px !important;            /* Space between the review content text and the divider line */
    margin-bottom: 20px !important;             /* Space between the divider line and the next review avatar */
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Remove the line marker on the absolute last review index inside the list loop */
.single-tribe_organizer .glsr-reviews .glsr-review:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
/* STAR REVIEW OVERRIDE SYTLE END */


/* BUTTON STYLING FOR SITE REVIEWS PAGINATION BEGIN */

/* Base Container Setup */
.single-tribe_organizer .glsr-pagination {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important; /* Visual spacing gap between button boxes */
    margin-top: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Format basic structural settings for every individual page link item */
.single-tribe_organizer .glsr-pagination a,
.single-tribe_organizer .glsr-pagination span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    min-width: 38px !important;
    padding: 0 14px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #446084 !important; /* Matching primary theme blue color */
    background-color: #ffffff !important;
    border: 1px solid #dcdcdc !important; /* Subtle gray outline border */
    border-radius: 4px !important; /* Smooth clean corner curves */
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
}

/* Handle specific properties for the current ACTIVE page number box */
.single-tribe_organizer .glsr-pagination .glsr-active,
.single-tribe_organizer .glsr-pagination span.current,
.single-tribe_organizer .glsr-pagination .current {
    background-color: #446084 !important; /* Dark blue background color fill */
    color: #ffffff !important; /* High contrast text visibility color */
    border-color: #446084 !important;
    pointer-events: none !important; /* Disables clicking on already active index */
}

/* Smooth button slide hover transition states */
.single-tribe_organizer .glsr-pagination a:hover {
    background-color: #f7f9fc !important;
    border-color: #446084 !important;
    color: #446084 !important;
    transform: translateY(-1px) !important; /* Micro interaction layout shift animation */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}

/* Custom layout formatting specifically tailored for the "Sledeće" link text box */
.single-tribe_organizer .glsr-pagination a:last-child {
    font-weight: 600 !important;
    text-transform: capitalize !important;
    letter-spacing: 0.3px !important;
}
/* BUTTON STYLING FOR SITE REVIEWS PAGINATION END */

/* FULL-WIDTH SUBMIT BUTTON FOR REVIEWS FORM BEGIN */
/* Target the button element directly inside the WordPress block container */
.single-tribe_organizer .glsr-form button,
.single-tribe_organizer .glsr-review-form button,
.single-tribe_organizer .wp-block-button .glsr-button {
    width: 100% !important; /* Forces the button container to fill full-width space */
    padding: 14px !important;
    background: #22c55e !important; /* Beautiful green background fill */
    color: #ffffff !important; /* Clean high-contrast white text */
    font-weight: 700 !important;
    border: none !important;
    border-radius: 6px !important; /* Smooth modern rounded edges */
    cursor: pointer !important;
    font-size: 16px !important;
    text-transform: uppercase !important; /* Optional crisp business styling look */
    letter-spacing: 0.5px !important;
    transition: background 0.2s ease-in-out !important;
    display: block !important;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.15) !important; /* Subtle matching drop shadow accent */
}

/* Style the hover and focused interaction states for a premium interface feel */
.single-tribe_organizer .glsr-form button:hover,
.single-tribe_organizer .glsr-review-form button:hover,
.single-tribe_organizer .wp-block-button .glsr-button:hover {
    background: #16a34a !important; /* Shuts down to a rich, darker green color profile on hover */
    color: #ffffff !important;
}

/* Handle active/pressed states cleanly */
.single-tribe_organizer .glsr-form button:active,
.single-tribe_organizer .glsr-review-form button:active {
    background: #15803d !important;
    transform: translateY(0.5px) !important;
}

/* Force the parent block container to expand full width and stretch children */
.single-tribe_organizer .wp-block-buttons.is-layout-flex {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important; /* Stacks components cleanly */
    align-items: stretch !important;    /* Forces children to fill 100% width */
}

/* Force the inner button wrapper item block to expand fully */
.single-tribe_organizer .wp-block-buttons.is-layout-flex .wp-block-button {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    margin: 10px 0 0 !important;
}

/* FULL-WIDTH SUBMIT BUTTON FOR REVIEWS FORM END */


/* ORGANIZERS PAGES BY BUSINESS BEGIN */
.organizer-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.organizer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.organizer-card {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    background: #fff;
    transition: transform 0.2s ease;
}

.organizer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.organizer-card a {
    text-decoration: none;
    color: #333;
}

.organizer-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.organizer-name {
    padding: 15px;
    margin: 100px 0 100px;
    font-size: 1.1rem;
}

.organizer-name.organizer-name-border {
    margin: 0;
    border-top: 1px solid #dcdcdc;
}
/* ORGANIZERS PAGES BY BUSINESS END */




@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/



}