



.element {
    margin-top: 40px;
    margin-bottom: 40px;
}

.embed-text-block {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    width: 80%;
    margin-inline: 10%;
    justify-content: space-between;
    align-items: center;
}

.embed-content {
    width: 50%;
    height: 100%;
    text-align: center;
}

.text-content {
    background-color: var(--MainSectionColours);
    padding: 15px;
    max-width: 50%;
    border-radius: 25px;
    color: var(--BodyFontColour);
    font-family: var(--FontFamily);
    display: flex;
    flex-direction: column;
    align-items: center;

    p>a {
        color: var(--BodyFontColour);
        /* need to explicitly set color so links aren't blue */
    }

    button {
        font-size: 1em;
        font-weight: 500;
        padding: 21px 34px 21px 34px;
        border: solid 2px var(--BodyFontColour);
        color: var(--BodyFontColour);
        background-color: transparent;
        font-family: var(--FontFamily);
        letter-spacing: 1px;
        transition: background-color .2s linear, color .2s linear;
        margin-top: 25px;
    }

    button:hover {
        background-color: var(--BodyFontColour);
        color: var(--MainSectionColours)
    }
}

.content-element__call-to-action {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 80%;
    gap: 20px;
    margin-inline: 10%;
    background-color: var(--MainSectionColours);
    border-radius: 25px;

    .arrow-container {
        display: flex;
        align-items: center;
    }

    .arrow-body {
        width: 100%;
        height: 2px;
        background-color: var(--BodyFontColour);
    }

    .arrow-head {
        width: 0;
        height: 0;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 12px solid var(--BodyFontColour);
    }

    .embed-container {
        width: 40%;
        text-align: center;
        margin-right: 20px;
    }

    .call-to-action-text {
        margin: 0;
        padding: 0;
        font-weight: 500;
        font-size: 3rem;
        width: fit-content;
        color: var(--BodyFontColour);
        font-family: var(--FontFamily);
        margin-left: 30px;
    }

    #mc_embed_signup {
        clear: left;
        font: 14px Helvetica, Arial, sans-serif;
        font-family: var(--FontFamily);
        width: 400px;
        color: var(--BodyFontColour);

        form {
            margin-top: 5px;
            margin-bottom: 5px;
        }
    }
}

.content-element__show-date {
    color: var(--MainSectionColours);
    font-family: var(--FontFamily);
    font-weight: 500;
    padding: 15px;
    border-radius: 25px;

    .content-element__title {
        padding-bottom: 20px;
        color: var(--MainSectionColours);
    }

    .show-dates {
        color: var(--BodyFontColour);
    }

    .show-date {
        background-color: var(--MainSectionColours);
        padding: 10px;
        border-radius: 25px;
        color: var(--BodyFontColour);
        font-family: var(--FontFamily);
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .show-date-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        align-self: center;
        justify-content: space-between;
        padding: 15px;

        .ticket-link {
            width: fit-content;
            align-self: center;
        }
    }

    h2 {
        font-size: 4em;
    }

    h3 {
        font-size: 1.6em;
    }

    button {
        font-size: 1em;
        font-weight: 500;
        padding: 21px 34px 21px 34px;
        border: solid 2px var(--BodyFontColour);
        color: var(--BodyFontColour);
        background-color: transparent;
        font-family: var(--FontFamily);
        letter-spacing: 1px;
        transition: background-color .2s linear, color .2s linear;
    }

    button:hover {
        background-color: var(--BodyFontColour);
        color: var(--MainSectionColours);
    }
}

.hero-content {
    background-color: var(--BackgroundColour);
    color: var(--MainSectionColours);
    border: none !important;
    font-weight: 500;
    padding-top: 25px;
    padding-bottom: 25px;

    .subtitle {
        color: var(--SiteTitleColour);
        font-weight: 700;
        font-size: 5em;
    }

    h3 {
        font-size: 2em;
    }

    h2 {
        font-size: 4em;
    }

    .hero-content__title {
        padding-bottom: 20px;
        color: var(--MainSectionColours);
    }

    button {
        font-size: 1em;
        font-weight: 500;
        padding: 21px 34px 21px 34px;
        border: solid 2px var(--MainSectionColours);
        color: var(--MainSectionColours);
        background-color: transparent;
        font-family: var(--FontFamily);
        letter-spacing: 1px;
        transition: background-color .2s linear, color .2s linear;
        margin-top: 25px;
    }

    button:hover {
        background-color: var(--MainSectionColours);
        color: var(--BodyFontColour)
    }
}

.flipped {
    flex-direction: row-reverse !important;
}

.gallery-title {
    font-size: 19px;
    font-weight: bold;
    color: var(--SiteTitleColour);
    font-family: var(--FontFamily);
    margin-left: 10px;
    letter-spacing: -1px;
    padding: 20px;
}

.bt-banner-element__call-to-action {
    color: inherit;
    text-decoration: none;
}

.bananatoaster__elemental__custombannerblock {
    max-height: 540px;
}

/* From Silverstripe Elemental Bannerblock */
.silverstripe__elementalbannerblock__block__bannerblock {
    position: relative;
    width: 100%;
    display: flex;
    height: 33%;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    max-height: 500px;
}

.banner-element__image {
    background-color: var(--BackgroundColour);
    display: flex;
    flex-grow: 1;
    height: 33%;
    border-radius: 0px;
}

#mobile-logo-closebutton {
    background-color: var(--NavBackgroundColour);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.banner-element__image img {
    border: 0;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    object-position: center 25%;
}

.banner-element__content {
    left: 0px;
    bottom: 25px;
    position: relative;
    width: 80%;
    z-index: 1;
}

.banner-element__content h2,
.gallery-title {
    font-size: 40px;
    font-weight: bold;
    color: var(--SiteTitleColour);
    font-family: var(--FontFamily);
    margin-left: 5px;
    letter-spacing: -1px;
    font-variant-emoji: text;
    width: 100%;
}

.banner-element__call-to-action {
    padding: 10px;
    background: black;
    color: #fff !important;
    display: inline-block;
    text-decoration: none;
    margin-bottom: 10px
}

.banner-element__call-to-action:hover {
    border: 0 !important
}

.embed-content iframe {
    overflow: hidden;
    max-width: 100%;
}

.bananatoaster__elemental__mediasliderblock {
    background-color: var(--NavBackgroundColour);
    padding: 30px;
}

/* set styles specifically for mobile view */
@media (max-width: 68em) {
    .bananatoaster__elemental__custombannerblock {
        margin-top: 140px;
    }

    .dnadesign__elementaluserforms__model__elementform {
        margin-top: 140px;
    }

    .content-element__call-to-action {
        flex-direction: column;
        align-items: center;

        .call-to-action-text {
            font-size: 3rem;
            margin-left: 0;
            margin-top: 20px;
        }

        .embed-container {
            width: 100%;
            margin-right: 0;
        }

        .arrow-container {
            display: none;
        }

        #mc_embed_signup {
            width: 100%;
        }
    }

    .content-element__show-date .show-date-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .hero-content {
        h3 {
            font-size: 1.5em;
        }
        h2 {
            font-size: 3em;
        }
        .subtitle {
            font-size: 4em;
        }
    }

    .banner-element__content h2 {
        font-weight: 800;
    }

    .embed-text-block {
        flex-direction: column;
    }

    .flipped {
        flex-direction: column-reverse !important;
    }

    
}


@media screen and (min-width: 68em) {

    .element {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    main div {
        width: 100%;
    }

    .gallery-title {
        padding: 60px;
    }

    .bananatoaster__elemental__mediasliderblock {
        background-color: var(--NavBackgroundColour);
        padding: 30px;
        width: 100% !important;
        margin-left: 0;
        margin-right: 0;
        border-radius: 15px;
    }


    /* From Silverstripe Elemental Bannerblock */
    .silverstripe__elementalbannerblock__block__bannerblock {
        position: relative;
        width: 100%;
        display: flex;
        height: auto;
        align-items: center;
        justify-content: center
    }

    .banner-element__image {
        background-color: var(--BackgroundColour);
        display: flex;
        border-radius: 0px;
        width: 100%;
        height: 500px;
    }

    .banner-element__image img {
        border: 0;
        -o-object-fit: cover;
        object-fit: cover;
        width: 100%;
        object-position: center 25%;
    }

    .banner-element__content {
        left: 30px;
        bottom: 95px;
        position: relative;
        width: 100%;
        z-index: 1;
    }

    .banner-element__content h2,
    .gallery-title {
        font-size: 7em;
        font-weight: bold;
        color: var(--SiteTitleColour);
        font-family: var(--FontFamily);
        font-kerning: normal;

    }

    .banner-element__call-to-action {
        padding: 10px;
        background: red;
        color: #fff !important;
        display: inline-block;
        text-decoration: none;
        margin-bottom: 10px
    }

    .banner-element__call-to-action:hover {
        border: 0 !important
    }
}

/* LARGE LAYOUT ======================================================================

   A three-column layout with a left-hand sidebar column, a central main column, and a
   right-hand sidebar column. If you do not need to have two sidebar columns, then 
   simply delete this media query. */

@media screen and (min-width: 94em) {


    #site-title {
        font-size: 9rem;
        margin-top: 400px;
        margin-bottom: 0;
        text-align: left;
        letter-spacing: -5px;

    }

    .element {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    /* From Silverstripe Elemental Bannerblock */
    .silverstripe__elementalbannerblock__block__bannerblock {
        position: relative;
        width: 100%;
        display: flex;
        height: 500px;
        align-items: center;
        justify-content: center
    }

    .banner-element__image {
        background-color: var(--BackgroundColour);
        display: flex;
        flex-grow: 1;
        height: 500px;
        border-radius: 0px;
    }

    .banner-element__image img {
        border: 0;
        -o-object-fit: cover;
        object-fit: cover;
        width: 100%;
        object-position: center 25%;
    }

    .banner-element__content {
        left: 0px;
        bottom: 90px;
        position: relative;
        width: 80%;
        z-index: 1;
    }

    .banner-element__content h2,
    .gallery-title {
        font-size: 8em;
        font-weight: bold;
        color: var(--SiteTitleColour);
        font-family: var(--FontFamily);
    }

    .banner-element__call-to-action {
        padding: 10px;
        background: red;
        color: #fff !important;
        display: inline-block;
        text-decoration: none;
        margin-bottom: 10px
    }

    .banner-element__call-to-action:hover {
        border: 0 !important
    }



    #tagline {

        margin-bottom: none;
        text-align: left;

    }

    #main-images-flex {
        width: 82rem
    }
}