:root {
    --blue: #3b6683;
    --gold: #a99352;
    --page-width: 1080px;
    --slim: 800px;
}

.header-logo-image {
    max-width: 250px;
}

.page-width {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--page-width);
    width: calc(100% - 2rem);
}

.slim {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--slim);
}

.hero-carousel .slide {
    display: block;
    position: relative;
}

.hero-carousel .slide-image {
    background-position: center;
    background-size: cover;
    height: 0;
    padding-top: 50%;
}

.slick-arrow {
    background-size: contain;
    background: transparent url('carousel-arrow.svg') center no-repeat;
    cursor: pointer;
    display: block;
    font-size: 0;
    height: 24px;
    opacity: 1;
    position: absolute;
    top: 25vw;
    width: 24px;
    z-index: 2;
}

.slick-arrow.prev {
    left: 1rem;
}

.slick-arrow.next {
    right: 1rem;
    rotate: 180deg;
}

.slick-arrow:hover {
    opacity: 0.85;
}

.hero-carousel .slide-content {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 1rem;
    width: 100%;
}

.hero-carousel .slide-content .title {
    grid-column: 1 / span 2;
}

.hero-carousel .slide-content .title h2 {
    font-size: 1.25rem;
    font-weight: bold;
}

a.button {
    background-color: var(--gold);
    color: white;
    display: table;
    padding: 0.25em 0.5em;
}

a.button:hover {
    background-color: black;
    color: white;
}

.homepage-content-wrapper {
    background-position: center;
    background-size: cover;
    box-sizing: border-box;
    clear: both;
    float: none;
    position: relative;
    margin: 1rem;
    translate: 0 1rem;
}

.homepage-content-wrapper:before {
    content: " ";
    background: rgba(0,0,0,0.5);
    bottom: 0;
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 0;
}

.homepage-content {
    color: white;
    margin: 0 auto;
    max-width: var(--page-width);
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.homepage-content h1 {
    color: white;
}

.homepage-categories {
    margin: 2rem auto;
}

.homepage-categories h2 {
    text-align: center;
}

.category-carousel .slick-slider {
    background-color: rgba(0, 0, 0, 0.025);
    position: relative;
}

.category-carousel h3 {
    background-color: black;
    color: white;
    display: table;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1;
    padding: 0.25em;
    text-transform: uppercase;
    translate: 0.5rem 2rem;
    position: relative;
    z-index: 2;
}

.category-carousel {
    margin-bottom: 1rem;
}

.category-carousel .slide-image {
    background-color: rgba(0, 0, 0, 0.5);
    background-position: center;
    background-size: cover;
    height: 0;
    padding-top: 52%;
}

.category-carousel .slide-content {
    padding: 1rem;
}

.category-carousel .slide-content .date {
    float: left;
    margin-right: 1rem;
}

.category-carousel .slide-content .button-container {
    float: right;
    padding-bottom: 1rem;
}

footer {
    clear: both;
    float: none;
}

.homepage-gallery {
    clear: both;
    float: none;
}

.homepage-gallery h2 {
    padding: 2rem 0;
    text-align: center;
}

.homepage-footer {
    padding: 2rem 0;
}

.footer-columns .column {
    margin-bottom: 1rem;
}

#events-grid:not(.all) li {
    display: none;
}

#events-grid.music li.music {
    display: block;
}

#events-grid.comedy li.comedy {
    display: block;
}

#events-grid.family li.family {
    display: block;
}

#events-grid.dance li.dance {
    display: block;
}

#events-grid.film li.film {
    display: block;
}

#events-grid.theatre li.theatre {
    display: block;
}

.categories-filter-toggle-container input {
    display: none;
}

.page-template-page-events #main-content {
    background-color: white;
    padding: 2rem 0;
}

.categories-filter-toggle-container {
    background-color: #EDEDED;
    margin-bottom: 2rem;
    padding: 0.5rem;
}

.categories-filter-toggle-container label {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.categories-filter-toggle-container label:hover {
    opacity: 0.85;
}

.categories-filter-toggle-container label:after {
    content: "\25BE";
}

.categories-filter-toggle-container label ~ .category-tabs {
    max-height: 0;
    overflow: hidden;
    transition: all 500ms ease 0s;
}

.categories-filter-toggle-container input:checked ~ label ~ .category-tabs {
    max-height: 800px;
}

.categories-filter-toggle-container input:checked ~ label:after {
    rotate: 180deg;
}

.category-tabs .tab {
    border-top: 1px solid white;
    color: var(--blue);
    cursor: pointer;
    display: block;
    padding: 0.25em 0;
}

.category-tabs .tab.active {
    font-weight: bold;
}

.event-thumbnail {
    background-color: #EDEDED;
    background-position: center;
    background-size: cover;
    height: 0;
    padding-top: 52%;
}

#events-grid {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 1fr;
}

#events-grid h2,
#events-grid.homepage h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0.5rem 0;
    padding: 0;
}

#events-grid .date-tickets {
    align-items: center;
    display: grid;
    grid-gap: 0.5rem;
    grid-template-columns: 1fr auto;
}

#events-grid .event:hover .event-thumbnail {
    opacity: 0.85;
}

.events-page-header {
    margin-bottom: 1rem;
}

.event-featured-image {
    margin-top: 1rem;
}

.single-event #main-content.ltlmtn {
    background-color: white;
}

.event-tickets {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.event-content {
    padding-bottom: 4rem;
}

.events-page-header.filtered {
    margin-bottom: 2rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.events-archive {
    padding-bottom: 4rem;
}

.homepage-events {
    padding: 2rem 0 4rem 0;
}

.homepage-events h2 {
    margin-bottom: 1rem;
    text-align: center;
}

.homepage-events .button-container .button {
    background-color: var(--blue);
    font-weight: bold;
    margin: 2rem auto 0 auto;
    text-align: center;
}

.homepage-events .button-container .button:hover {
    background-color: black;
}

@media screen and (min-width: 800px) {

    .hero-carousel .slide:before {
        content: " ";
        background: black;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
        bottom: 0;
        display: block;
        height: 100%;
        left: 0;
        position: absolute;
        width: 50%;
        z-index: 1;
    }

    .hero-carousel .slide-content {
        grid-gap: 1rem;
        grid-template-columns: 1fr;
        left: 3rem;
        max-width: 50%;
        padding: 0;
        position: absolute;
        top: 1rem;
        width: calc(100% - 2rem);
        z-index: 2;
    }

    .hero-carousel .slide-content .title h2 {
        color: white;
        font-size: 3rem;
        font-weight: normal;
        padding-bottom: 0;
    }

    .hero-carousel .slide-content .title {
        grid-column: auto;
    }

    .hero-carousel .slide-content .date {
        color: white;
    }

    .slick-arrow {
        background-size: contain;
        height: 32px;
        width: 32px;
    }

    .homepage-content-wrapper {
        align-items: flex-end;
        display: flex;
        margin-top: -1.5rem;
        min-height: 75vw;
        justify-content: center;
    }

    .homepage-content-wrapper:before {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
        height: 50%;
    }

    .category-carousels-grid {
        clear: both;
        float: none;
    }

    .category-carousel:nth-of-type(odd) {
        clear: left;
        float: left;
        width: calc(50% - 0.5rem);
    }

    .category-carousel:nth-of-type(even) {
        clear: right;
        float: right;
        width: calc(50% - 0.5rem);
    }

    .category-carousel .slick-arrow {
        top: 35%;
    }

    .homepage-categories h2 {
        margin: 2rem auto;
    }

    .categories-filter-toggle-container {
        background-color: transparent;
        display: flex;
        gap: 1rem;
        padding: 0;
    }

    .categories-filter-toggle-container label {
        font-weight: bold;
        gap: 0;
    }

    .categories-filter-toggle-container label:after {
        content: ":";
    }

    .categories-filter-toggle-container label ~ .category-tabs {
        display: flex;
        gap: 1px;
        overflow: visible;
        max-height: unset;
    }

    .categories-filter-toggle-container .category-tabs .tab {
        background-color: var(--blue);
        border: 0;
        color: white;
        padding: 0 0.5rem;
    }

    .categories-filter-toggle-container .category-tabs .tab.active {
        background-color: var(--gold);
    }

    .categories-filter-toggle-container .category-tabs .tab:hover {
        opacity: 0.85;
    }
    
    #events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    a.button.large {
        font-size: 1.5rem;
    }

    .event-areas {
        display: block;
        padding-bottom: 2rem;
    }

    .event-info {
        padding-top: 1rem;
    }
}



@media screen and (min-width: 1080px) {
    .hero-carousel .slide-content {
        align-items: center;
        display: grid;
        grid-gap: 1rem;
        padding: 1rem;
    }

    .hero-carousel .slide-content .title {
        grid-column: auto;
    }

    .homepage-content-wrapper {
        min-height: 50vw;
    }

    .footer-columns {
        display: flex;
        gap: 2rem;
        justify-content: flex-start;
    }

    .footer-columns .column {
        margin-bottom: 0;
    }
    
    #events-grid {
        grid-gap: 2rem;
        grid-template-columns: repeat(3, 1fr);
    }

    #events-grid.homepage {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-page-header {
        align-items: baseline;
        display: flex;
        justify-content: space-between;
    }
}

@media (min-width: 981px) {
    .et_right_sidebar #main-content .container:before {
        display: none;
    }
}