/*
 * This styles will be aplplied only on pages after /event/ slug
 * Use it for the events archive and single page
 *
 * Calendar Events Style 
 */

.single-tribe_events .tribe-events-c-subscribe-dropdown__container, .tribe-events .tribe-events-c-subscribe-dropdown__container, .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__today-button {
    display: none !important;
}

.tribe-events .tribe-events-c-search__button, .tribe-events button.tribe-events-c-search__button {
    background: #000;
    border-radius: 0;
    font-family: 'cheddar-gothic-rough';
    font-size: 1.2rem;
    padding: 5px 15px;
    font-weight: 400;
}

.tribe-events-c-top-bar__datepicker-desktop.tribe-common-a11y-hidden {
    font-size: 1.25rem;
    font-family: 'elza-narrow';
}

time.tribe-events-calendar-month__day-date-daynum {
    font-size: 1.25rem;
    font-weight: 400;
    font-family: 'steinzeit-fill-in';
}

.tribe-events button.tribe-events-c-top-bar__datepicker-button:hover {
    background: none;
}

.tribe-events.tribe-events-view {
    background: url(/wp-content/uploads/2023/08/square_floor.jpg) no-repeat bottom center;
    background-size: 100%;
    overflow: hidden;
}
.tribe-events.tribe-events-view:not(.tribe-events-view--month) {
    padding-bottom: var(--tec-spacer-14);
}

.tribe-events .tribe-events-l-container {
    padding-top: 10px !important;
}

.tribe-events-view:not(.tribe-events-view--month) .tribe-events-l-container {
    background-color: #fff;
    padding-bottom: 42px !important;
}

.tribe-events-view.tribe-events-view--month .tribe-events-calendar-month__body {
    background-color: #fff;
}

.tribe-events .tribe-events-calendar-month__day-cell--mobile {
    background-color: initial;
}

.tribe-common-l-container.tribe-events-l-container::before, .tribe-common-l-container.tribe-events-l-container::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: url(/wp-content/uploads/2023/08/splatter-4.png) no-repeat center;
    background-size: contain;
    transform: rotateZ(220deg);
    top: 120px;
    z-index: -1;
}

.tribe-common-l-container.tribe-events-l-container::before {
    left: -200px;
}
.tribe-common-l-container.tribe-events-l-container::after {
    right: -150px;
}

.tribe-events .tribe-events-calendar-month__calendar-event--featured:before {
    background-color: var(--e-global-color-primary);
}

.tribe-common .tribe-common-c-svgicon {
    color: var(--e-global-color-primary);
}

/* Events Calendar Filter */

.tribe-filter-bar__filters-slider-container, 
.tribe-filter-bar-c-filter__toggle-wrapper, 
legend.tribe-filter-bar-c-filter__filters-legend, 
button.tribe-filter-bar-c-filter__filters-close, 
.tribe-filter-bar .tribe-filter-bar-c-checkbox .tribe-common-form-control-checkbox__input {
    display: none !important;
}

.tribe-filter-bar-c-filter__container {
    display: inline-block !important;
    position: relative !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    width: auto !important;
    padding: 0 !important;
    margin-right: 20px !important;
    margin-top: 10px !important;
    bottom: 0 !important;
}

.tribe-filter-bar__filters-container {
    position: relative !important;
}

fieldset.tribe-filter-bar-c-filter__filters-fieldset {
    display: inline-block;
    visibility: visible;
    position: relative;
}

.tribe-filter-bar-c-filter__filter-fields {
    display: flex;
    flex-flow: wrap;
    align-items: center;
    gap: 20px;
}

.tribe-filter-bar .tribe-filter-bar-c-checkbox {
    margin: 0;
}

.tribe-filter-bar .tribe-filter-bar-c-checkbox>label {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin: 0 !important;
    line-height: 1em;
    padding: 15px 10px;
    background-color: #E8E8E8;
}

.tribe-filter-bar .tribe-filter-bar-c-checkbox>input:checked ~ label {
    background-color: #000;
    color: #fff;
}

.tribe-filter-bar .tribe-filter-bar-c-checkbox>input[id*="brooklyn"]:checked ~ label {
    background-color: var(--e-global-color-accent);
}
.tribe-filter-bar .tribe-filter-bar-c-checkbox>input[id*="featured-events"]:checked ~ label {
    background-color: var(--e-global-color-primary);
}
.tribe-filter-bar .tribe-filter-bar-c-checkbox>input[id*="new-orleans"]:checked ~ label {
    background-color: var(--e-global-color-d5e0bb9);
}
.tribe-filter-bar .tribe-filter-bar-c-checkbox>input[id*="virtual-events"]:checked ~ label {
    background-color: var(--e-global-color-secondary);
    color: #000;
}

/*
 * Single Event Style 
 */

.tribe-events-single>.tribe_events {
    overflow: initial;
}

.tribe-events-event-meta:before, .tribe-events-event-meta~div:not(.tribe-events-event-meta,.event-tickets) {
    border: none;
}

.tribe-events-single>.tribe_events .event-store {
    position: absolute;
    width: auto;
    top: -75px;
    right: -20px;
    color: #fff;
    text-transform: uppercase;
    max-width: 260px;
    text-align: center;
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1em;
    padding: 60px 80px 60px 90px;
    transform: rotateZ(-14deg);
    display: flex;
    justify-content: center;
    background-size: 100% 100%;
}

.event-store.new-orleans { background-image: url(../img/store-new-orleans.png);}
.event-store.brooklyn { background-image: url(../img/store-brooklyn.png);}


.tribe-events-event-image img {
    width: 100%;
}

.single-tribe_events .tribe-events-schedule {
    width: 100%;
    display: flex;
    justify-content: center;
    transform: translateY(-60px);
    margin: var(--tec-spacer-4) 0;
}

.single-tribe_events .tribe-events-schedule h2 {
    font-size: 1.125rem;
    font-family: 'elza-narrow';
    color: #AFAFAF;
    margin: 0;
}

.tribe-events-content h2, .tribe-events-content h3, .tribe-events-content h4, .tribe-events-content h5, .tribe-events-content h6 {
    margin-bottom: 0.1em;
}

.tribe-venue-location {
    color: #AFAFAF;
}

.tribe-events-event-meta dd[class$=url] {
    margin-top: 0;
}

.tribe-events-content a, .tribe-events-event-meta a, .tribe-events-event-meta a:visited {
    color: var( --e-global-color-primary ) !important;
    border: none !important;
    position: relative; 
    padding-bottom: 0.3em;
}

.tribe-events-content a:hover, .tribe-events-event-meta a:hover {
    background: url('../img/hyperlink_underline.png') repeat-x bottom;
    background-size: 1.5rem;
}

.tribe-events-single-section.tribe-events-event-meta-container.tribe-clearfix {
    display: flex;
    flex-flow: column-reverse;
    overflow: hidden;
    position: relative;
    width: auto;
}

.tribe-events-venue-map {
    width: 480px;
}

.tribe-events-venue-map>div, .tribe-events-venue-map>iframe {
    max-height: 400px;
}

.tribe-events-meta-group {
    min-width: 280px;
    flex: none;
    padding-right: 60px;
}

.tribe-events-meta-group .tribe-events-single-section-title {
    font-size: 1.125rem;
    font-family: 'elza-narrow';
    text-transform: capitalize;
}

.tribe-events-gmap {
    display: inline-block;
}

.tribe-event-button.elementor-widget-button .elementor-button {
    margin: 40px 0;
    background-color: #000 !important;
}

#tribe-events-pg-template {
    padding-bottom: 80px;
}

.tribe-events-single-event-section.tribe-events-tickets {
    display: flex;
    align-items: center;
    gap: 40px;
}

.tribe-ticket-prices {
    font-size: 1.5rem;
}

.tribe-ticket-prices .cost {
    font-weight: 800;
}

.tribe-events-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {

    #event_header {
        padding-top: 60px;
    }

    .tribe-events-meta-group {
        width: calc(50% - 40px);
    }
    
    .tribe-events-venue-map {
        width: 50%;
    }
    
    .tribe-events-single-section.tribe-events-event-meta-container.tribe-clearfix {
        width: 100%;
    }
}

@media (max-width: 767px) {

    #event_header {
        padding-top: 120px;
    }

    .tribe-events-meta-group {
        width: 100%;
    }
    
    .tribe-events-venue-map {
        width: 100%;
    }

    .tribe-events-single-event-section.tribe-events-tickets {
        flex-flow: column;
        align-items: flex-start;
        gap: 0;
        margin: 40px 0;
    }
    
    .tribe-events-tickets .tribe-event-button.elementor-widget-button .elementor-button {
        margin: 0;
        margin-left: 10px;
    }

    .tribe-common-l-container.tribe-events-l-container::before, .tribe-common-l-container.tribe-events-l-container::after {
        display: none;
    }

    /* Filter */
    
    .tribe-filter-bar__selected-filters, .tribe-filter-bar--has-selected-filters.tribe-filter-bar .tribe-filter-bar__actions {
        display: none;
    }
    
    .tribe-filter-bar-c-filter__container {
        margin: 20px 0px !important;
    }
}

/* ===============================
   CUSTOM MONTH VIEW (XD STYLE)
   =============================== */

.tribe-events-calendar-month__header {
    display: none !important;
}

.tribe-events-calendar-month {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 0 !important;
    background: #fff;
}

.tribe-events-calendar-month__day-cell--desktop {
    display: block !important;
    background: #ffffff;
    border: 1px solid #e5e5e5 !important;
    min-height: 180px;
    padding: 12px 10px;
    position: relative;
}

.tribe-events-calendar-month__day-cell--desktop[style] {
    clip: auto !important;
    clip-path: none !important;
    height: auto !important;
    overflow: visible !important;
}

.tribe-events-calendar-month__day-date-daynum {
    font-size: 22px !important;
    font-weight: 700 !important;
    font-family: "cheddar-gothic-rough", sans-serif !important;
}

.tribe-events-calendar-month__calendar-event-featured-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 6px;
}

.tribe-events-calendar-month__calendar-event-title a {
    font-family: "cheddar-gothic-rough", sans-serif !important;
    color: #000 !important;
    font-size: 16px !important;
    line-height: 1.2;
}

.tribe-events-calendar-month__calendar-event-datetime time {
    font-size: 13px;
    color: #555;
}

@media (min-width: 768px) {
    .tribe-events-calendar-month__day-cell--mobile {
        display: none !important;
    }
}
