/* --------------------------------- For events page and single events --------------------------------- */
/* Common */

.post-type-archive-tribe_events .tribe-common .tribe-common-c-btn-border-small 
.post-type-archive-tribe_events .tribe-common .tribe-common-c-btn-border-small, 
.post-type-archive-tribe_events .tribe-common a.tribe-common-c-btn-border-small, 
.post-type-archive-tribe_events .tribe-common a.tribe-common-c-btn-border-small {
    transition: background-color 0.3s ease;
}
.post-type-archive-tribe_events .tribe-common .tribe-common-c-btn-border-small:focus, 
.post-type-archive-tribe_events .tribe-common .tribe-common-c-btn-border-small:hover, 
.post-type-archive-tribe_events .tribe-common a.tribe-common-c-btn-border-small:focus, 
.post-type-archive-tribe_events .tribe-common a.tribe-common-c-btn-border-small:hover {
    background: var(--idu-listings-gold);
}
.post-type-archive-tribe_events .tribe-events.tribe-common a:focus, 
.post-type-archive-tribe_events .tribe-events.tribe-common a:hover  {
    outline: none;
    box-shadow: none;
}
.post-type-archive-tribe_events .tribe-common .tribe-common-c-btn-icon {
    transition: color 0.2s ease;
}
.post-type-archive-tribe_events .tribe-common .tribe-common-c-btn-icon:hover {
    color: var(--idu-listings-gold);
}
.post-type-archive-tribe_events .tribe-common .tribe-events-c-nav__list .tribe-events-c-nav__list-item  a, 
.single-tribe_events #tribe-events-pg-template .tribe-events-sub-nav .tribe-events-nav-next a, 
.single-tribe_events #tribe-events-pg-template .tribe-events-sub-nav .tribe-events-nav-next a, 
.single-tribe_events #tribe-events-pg-template .tribe-events-sub-nav .tribe-events-nav-previous a, 
.single-tribe_events #tribe-events-pg-template .tribe-events-sub-nav .tribe-events-nav-previous a {
    transition: color 0.2s ease;
}
.post-type-archive-tribe_events .tribe-common .tribe-events-c-nav__list .tribe-events-c-nav__list-item  a:hover, 
.single-tribe_events #tribe-events-pg-template .tribe-events-sub-nav .tribe-events-nav-next a:focus, 
.single-tribe_events #tribe-events-pg-template .tribe-events-sub-nav .tribe-events-nav-next a:hover, 
.single-tribe_events #tribe-events-pg-template .tribe-events-sub-nav .tribe-events-nav-previous a:focus, 
.single-tribe_events #tribe-events-pg-template .tribe-events-sub-nav .tribe-events-nav-previous a:hover {
    color: var(--idu-listings-gold);
}
.post-type-archive-tribe_events .tribe-common .tribe-common-anchor-thin-alt {
    border-bottom: 1px solid var(--idu-listings-ink);
    transition: color 0.2s ease;
}
.post-type-archive-tribe_events .tribe-common  .tribe-common-anchor-thin-alt:hover {
    color: var(--idu-listings-gold);
}


/* Layout (events) */
.post-type-archive-tribe_events .bb-grid.site-content-grid .tribe-events-view .tribe-events-l-container {
    background: var(--idu-listings-white);
    border: 1px solid var(--idu-listings-line);
    border-radius: var(--idu-listings-radius);
    padding: 40px;
    margin-bottom: 80px;
}
.tribe-events .tribe-events-view-loader {
    margin: 1.875rem 10px;
    border-radius: var(--idu-listings-radius);
}
@media (max-width: 600px) {
    .post-type-archive-tribe_events .bb-grid.site-content-grid .tribe-events-view .tribe-events-l-container {
        padding: 20px 16px;
        margin-bottom: 32px;
    }
}

/* Subscribe to calendar btn */
.post-type-archive-tribe_events .bb-grid.site-content-grid .tribe-events-view .tribe-events-l-container .tribe-events-c-subscribe-dropdown__button {
    font-size: 15px;
    font-weight: 500;
    line-height: normal;
    padding: 14px 25px;
    border-radius: var(--idu-listings-radius-pill);
    border: 1px solid var(--idu-listings-line-2);
    background: var(--idu-listings-white);
    color: var(--idu-listings-ink);
    transition: background-color 0.3s ease;
}
.post-type-archive-tribe_events .bb-grid.site-content-grid .tribe-events-view .tribe-events-l-container .tribe-events-c-subscribe-dropdown__button:hover {
    background: var(--idu-listings-gold);
}

/* Search events button */
.post-type-archive-tribe_events .tribe-events .tribe-events-c-search__button, 
.post-type-archive-tribe_events .tribe-events button.tribe-events-c-search__button {
    border: 1px solid var(--idu-listings-line-2);
    background: var(--idu-listings-gold);
    transition: background-color 0.3s ease;
}
.post-type-archive-tribe_events .tribe-events .tribe-events-c-search__button:focus, 
.post-type-archive-tribe_events .tribe-events button.tribe-events-c-search__button:focus,
.post-type-archive-tribe_events .tribe-events .tribe-events-c-search__button:hover 
.post-type-archive-tribe_events .tribe-events button.tribe-events-c-search__button:hover {
    outline: none;
    box-shadow: none;
}
.post-type-archive-tribe_events .tribe-events .tribe-events-header__events-bar.tribe-events-c-events-bar--border .tribe-events-c-events-bar__search-container .tribe-events-c-search__button:hover,
.post-type-archive-tribe_events .tribe-events .tribe-events-c-search__button:hover, 
.post-type-archive-tribe_events .tribe-events button.tribe-events-c-search__button:hover {
    background: var(--idu-listings-white);
}

/* View selector and category select */
.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-text {
    transition: color 0.2s ease;
}
.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-text:hover {
    color: var(--idu-listings-gold);
}
.post-type-archive-tribe_events .tribe-events .datepicker button {
    outline: none !important;
}
.post-type-archive-tribe_events .tribe-events .datepicker .day.current, 
.post-type-archive-tribe_events .tribe-events .datepicker .month.current, 
.post-type-archive-tribe_events .tribe-events .datepicker .year.current {
    color: var(--idu-listings-ink);
}
.post-type-archive-tribe_events .tribe-events button.tribe-events-c-top-bar__nav-link--next:disabled {
    opacity: 0.5;
}
.post-type-archive-tribe_events .tribe-events a.tribe-common-c-btn-icon--caret-left.tribe-events-c-top-bar__nav-link--prev:hover .tribe-common-c-btn-icon__icon-svg path, 
.post-type-archive-tribe_events .tribe-events a.tribe-common-c-btn-icon--caret-right.tribe-events-c-top-bar__nav-link--next:hover .tribe-common-c-btn-icon__icon-svg path {
    fill: var(--idu-listings-gold);
}

/* Past events */
.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-latest-past__event-title a {
    transition: color 0.2s ease;
}
.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-latest-past__event-title a:hover {
    color: var(--idu-listings-gold);
}
.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-latest-past__event-row {
    border: 1px solid var(--bb-content-border-color);
    margin-left: 0;
    margin-right: 0;
    border-radius: var(--bb-block-radius);
    padding: 24px 0;
    background-color: var(--bb-content-background-color);
    margin-top: var(--tec-spacer-8) !important;
}

/* Common calendar item row - make them consistent */
.post-type-archive-tribe_events .tribe-events .tribe-common-g-row a {
    color: var(--idu-listings-ink-2) !important;
    transition: color 0.2s ease;
}
.post-type-archive-tribe_events .tribe-events .tribe-common-g-row a:hover {
    color: var(--idu-listings-gold) !important;
    transition: color 0.2s ease;
}
.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list .tribe-events-calendar-list__event-wrapper .tribe-events-calendar-list__event-header .tribe-events-calendar-list__event-title, 
.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-common .tribe-common-h4--min-medium {
    font-size: var(--idu-listings-h4);
	font-weight: 500;
	line-height: normal;
    letter-spacing: -0.52px;
	color: var(--idu-listings-ink);
}

/* Calendar */
.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-month__calendar-event-title-link {
    transition: color 0.2s ease;
}
.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-month__calendar-event-title-link:hover {
    color: var(--idu-listings-gold);
    font-weight: 500;
}


/* Single events */
.single-tribe_events  #tribe-events-pg-template {
    max-width: 100%;
    padding-inline: 10px !important;
    padding-bottom: 80px;
}
.single-tribe_events  #tribe-events-pg-template #tribe-events-content {
    padding: 40px;
    padding-top: 40px !important;
    background-color: var(--idu-listings-white);
    border: 1px solid var(--idu-listings-line);
    border-radius: var(--idu-listings-radius);
}
.single-tribe_events #tribe-events-pg-template .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button, 
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button {
    font-size: 15px;
    font-weight: 500;
    line-height: normal;
    padding: 14px 25px;
    border-radius: var(--idu-listings-radius-pill);
    border: 1px solid var(--idu-listings-line-2);
    background: var(--idu-listings-white);
    color: var(--idu-listings-ink);
    transition: background-color 0.3s ease;
}
.single-tribe_events #tribe-events-pg-template .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover, 
.single-tribe_events #tribe-events-pg-template .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
    background: var(--idu-listings-gold);
}
@media (max-width: 600px) {
    .single-tribe_events .site-content > .container, 
    .post-type-archive-tribe_events .site-content > .container {
        padding-left: 0;
        padding-right: 0;
    }
    .single-tribe_events #tribe-events-pg-template {
        padding-block: 16px 32px;
    }
    .single-tribe_events #tribe-events-pg-template #tribe-events-content {
        padding: 20px 16px;
    }
}