/* Banners */

.top-banners--desktop,
.top-banners--mobile {
    margin-bottom: 20px;
}

.top-banners--desktop {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.top-banners--mobile {
    display: none;
    grid-template-columns: repeat(3, 1fr);
}

.top-banners .ct-banner {
    padding: 4px;
    border: 1px solid #ddd;
    text-align: center;
}

.top-banners .ct-banner:not(:first-of-type) {
    border-left: 0;
}

.bottom-banner {
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.bottom-banner .ct-banner {
    display: block;
    text-align: center;
}

@media screen and (max-width: 900px){
    .top-banners--desktop {
        display: none;
    }

    .top-banners--mobile {
        display: grid;
    }

    .ct-banner span {
        font-size: 12px;
    }
}

@media screen and (max-width: 468px) {
    .top-banners--mobile {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .top-banners--mobile .ct-banner:last-of-type {
        display: none;
    }
}


/* The Events Calendar */
.tribe-common .tribe-events-calendar-list__event-description.tribe-common-a11y-hidden {
    display: block !important;
    visibility: visible;
}

.tribe-events-calendar-list__event.tribe-common-g-row.has-post-thumbnail {
    flex-direction: column-reverse;
}

.tribe-events-calendar-list__event-featured-image-wrapper.tribe-common-g-col {
    width: 100% !important;
}

.tribe-events-calendar-list__event-featured-image-wrapper.tribe-common-g-col .tribe-events-calendar-list__event-featured-image {
    object-fit: scale-down;
    object-position: left center;
}

nav.tribe-events-c-nav,
nav.tribe-events-nav-pagination {
    float: none;
}

/* The Events Calendar - Community */
body[class*="tribe_community"]  #tribe-events-pg-template a:not(.tribe-button):hover,
body[class*="tribe_community"]  #tribe-events-pg-template a:not(.tribe-button):focus {
    color: #6DBD43;
}

body[class*="tribe_community"]  #tribe-events-pg-template input[type="checkbox"] {
    height: 15px;
    width: 15px;
    display: inline-flex;
}

body[class*="tribe_community"]  #tribe-events-pg-template .tribe-button,
body[class*="tribe_community"]  #tribe-events-pg-template .btn-default {
    background: #6DBD43;
}

body[class*="tribe_community"]  #tribe-events-pg-template .tribe-button-secondary {
    background: #03068e;
}

body[class*="tribe_community"]  #tribe-events-pg-template .tribe-button-tertiary {
    background: #fff;
}

body[class*="tribe_community"]  #tribe-events-pg-template .tribe-button:hover,
body[class*="tribe_community"]  #tribe-events-pg-template .btn-default:hover,
body[class*="tribe_community"]  #tribe-events-pg-template .tribe-button-secondary:hover,
body[class*="tribe_community"]  #tribe-events-pg-template .tribe-button-tertiary:hover {
    opacity: .7;
}

body[class*="tribe_community"]  #tribe-events-pg-template .my-events-header {
    gap: 10px 0;
    flex-wrap: wrap;
}

.tribe-community-events .tribe-section-content-label,
.tribe-community-events .table-bordered > tbody > tr > td{
    border: 0;
}

.tribe-community-events .table-bordered > tbody > tr > td {
    text-align: left;
}

#recurrence-changed-row + .tribe-section-content-row .tribe-section-content-field {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#recurrence-changed-row + .tribe-section-content-row .tribe-section-content-field input,
#recurrence-changed-row + .tribe-section-content-row .tribe-section-content-field .tribe-datetime-separator {
    margin-right: 5px;
}

#allDayCheckbox + div {
    display: inline-flex;
}

body[class*="tribe_community"]  #tribe-events-pg-template #tribe-recurrence-active.tribe-recurrence-active {
    display: none;
}

body[class*="tribe_community"]  #tribe-events-pg-template .tribe-dropdown {
    padding: 0;
    border: 0;
    height: auto;
    box-shadow: none;
}

body[class*="tribe_community"]  #tribe-events-pg-template .tribe-dropdown .select2-selection[aria-expanded="true"] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

body[class*="tribe_community"]  #tribe-events-pg-template .select2-search__field {
    padding: 10px;
}

#event_tribe_organizer tfoot td {
    text-align: left;
    border: 0;
}

body[class*="tribe_community"]  #tribe-events-pg-template .tribe-community-events-list {
    border-collapse: collapse !important;
}

body[class*="tribe_community"]  #tribe-events-pg-template .tribe-community-events-list tbody > tr > td {
    border: 1px solid #ddd !important;
}

body[class*="tribe_community"]  #tribe-events-pg-template .tribe-community-events-list td .row-actions a {
    color: #01038E;
}

body[class*="tribe_community"]  #tribe-events-pg-template .tribe-community-events-list td .row-actions a:hover {
    color: #6dbd43;
}

body[class*="tribe_community"]  #tribe-events-pg-template .recurrence-row {
    display: none;
}

body[class*="tribe_community"]  #tribe-events-pg-template #tribe-add-recurrence {
    pointer-events: none;
}

/* Mobile Menu */
@media screen and (max-width: 1200px) {
    #menu-main > .menu-item > a{
        color: #e0e0e0;
    }

    #menu-main > .menu-item.active > a{
        color: #6dbd43;
    }
}