@charset "utf-8";
/* CSS Document */
/*
Block Styling

General styles for body of website along with block specific styling.
*/

//////////////
// Defaults //
//////////////

.block {
    padding: 10%;

    @media screen and (max-width: 800px) {
        padding: 10% 8%;
    }

    .inner {
        display: flex;
        flex-wrap: wrap;
    }
}

//////////////////////////////////////
// Fade-in Animation for LocoScroll //
//////////////////////////////////////

// Uncomment below to include.

*[data-scroll] {
    opacity: 0;
    transition: opacity 0.6s ease-out;

    @media screen and (max-width: 1100px) {
        opacity: 1;
    }

    &.is-inview {
        opacity: 1;
    }
}

// body .fade-in[data-scroll] {
//     transform: translateY(30px);
//     transition: opacity 0.6s ease-out, transform 0.6s ease-out;

//     @media screen and (max-width: 1000px) {
//         opacity: 1;
//         transform: translateY(0px);
//     }

//     &.is-inview {
//         transform: translateY(0px);
//         opacity: 1;
//     }
// }

/////////////////
// Breadcrumbs //
/////////////////

.rank-math-breadcrumb {
    font-size: 0.85em;

    @media screen and (max-width: 800px) {
        font-size: 0.75em;
    }

    p {
        display: flex;
        align-items: center;
    }

    a,
    .last {
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
    }

    .separator {
        padding: 10px 15px;
        background: url("#{$path}shell/arrow.svg") center center no-repeat;
        background-size: 8px;
        font-size: 0px;

        @media screen and (max-width: 800px) {
            padding: 7px 12px;
        }
    }
}

////////////////
// Pagination //
////////////////

.pagination {
    flex: 0 0 100%;
    align-items: center;
    justify-content: center;
    text-align: center;

    span,
    a {
        display: inline-block;
        padding: 10px 15px;
        line-height: 1;
        border-radius: 3px;
        border: 1px solid $color-primary;
        margin: 0px 2px;
    }

    a {
        border: 1px solid rgba($color-primary, 0.2);
        transition: background 0.3s ease-out, border 0.3s ease-out,
            color 0.3s ease-out;

        &:hover {
            border: 1px solid $color-primary;
            background: $color-primary;
            color: white;
        }

        &.next {
            padding-right: 30px;
            background-image: url("#{$path}shell/arrow.svg") right 10px center
                no-repeat;
            background-size: 11px;
        }
    }
}

//////////
// Hero //
//////////

.hero {
    position: relative;
    z-index: 3;
    padding: calc(6% + 150px) 10% 4% 10%;
    color: white;
    background: $color-primary;

    @media screen and (max-width: 1600px) {
        padding: calc(6% + 90px) 10% 4% 10%;
    }
    @media screen and (max-width: 1600px) {
        padding: calc(6% + 80px) 10% 4% 10%;
    }
    @media screen and (max-width: 1024px) {
        padding: calc(6% + 50px) 10% 4% 10%;
    }

    &.hero-home {
        background: $color-primary;
        padding: calc(7% + 200px) 10% 8% 10%;

        @media screen and (max-width: 1600px) {
            padding: calc(7% + 140px) 10% 8% 10%;
        }
        @media screen and (max-width: 1600px) {
            padding: calc(7% + 120px) 10% 8% 10%;
        }
        @media screen and (max-width: 1024px) {
            padding: calc(7% + 80px) 8% 12% 8%;
        }

        @media screen and (max-width: 700px) {
            padding-bottom: 15%;
        }

        .hero-content {
            max-width: 50em;

            @media screen and (max-width: 1400px) {
                max-width: 45em;
            }
            @media screen and (max-width: 1100px) {
                max-width: 40em;
            }
        }

        .hero-watermark {
            position: absolute;
            left: 0px;
            right: 0px;
            top: 0px;
            bottom: 0px;
            width: 100%;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;

            svg {
                @media screen and (max-width: 1100px) {
                    transform: scale(1.3);
                    transform-origin: 50% 50%;
                }
                @media screen and (max-width: 600px) {
                    transform: scale(1.45);
                }
            }
        }
    }


    #skier{
        position: absolute;
        left: -5%;
        bottom: -200px;
        width: 20%;
        z-index: 4;

        @media screen and (max-width: 1200px) {
            bottom: -150px;
        }

        @media screen and (max-width: 700px) {
            display: none;
        }

        path{
            fill: #efefef;
        }
    }


    .hero-content {
        margin: 0 auto;
        text-align: center;
        position: relative;
        z-index: 2;

        p {
            max-width: 30em;
            margin-left: auto;
            margin-right: auto;
        }
    }

    .hero-bg {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        overflow: hidden;
        background: $color-dark;

        img {
            width: 100%;
            height: 150%;
            position: absolute;
            top: -25%;
            left: 0px;
            right: 0px;
            object-fit: cover;
            object-position: center center;
            opacity: 0.7;
        }
    }

    .hero-graphic {
        position: absolute;
        bottom: -50px;
        right: 10%;
        z-index: 3;
        max-width: 300px;
        width: 16vw;

        @media screen and (max-width: 1024px) {
            width: 25vw;
            bottom: -100px;
            right: 7%;
        }
        @media screen and (max-width: 700px) {
            width: 30vw;
            bottom: -60px;
            right:5%;
        }
    }

    .hero-watermark {
        position: absolute;
        right: 0px;
        top: 0px;
        bottom: 0px;
        width: 350px;
        overflow: hidden;
        z-index: 1;
        opacity: 0.5;

        img {
            max-width: none;
            width: calc(100% + 20px);
            margin: -50px -20px 0px 0px;
        }
    }
}

.home-hero-img {
    padding-top: 42%;
    position: relative;
    overflow: hidden;

    @media screen and (max-width: 700px) {
        padding-top: 55%;
    }

    img {
        width: 100%;
        height: 120%;
        position: absolute;
        top: -10%;
        left: 0px;
        object-fit: cover;
    }
}

.wide-image{
    position: relative;
    z-index: 3;
}

//moving wide image below gallery on brewery page.
.page-id-282 .wide-image{
    z-index: 1;
}

.home-hero-video {
    position: relative;
    overflow: hidden;
    padding-top: 40%;

    @media screen and (max-width: 700px) {
        padding-top: 60%;
    }

   /*.video-wrap {
        position: absolute;
        left: -2000px;
        right: -2000px;
        bottom: -100px;
        top: -100px;
        margin: auto;
		scale:75%;
		width:300%;*/
        /*// padding-top: 60%;

        /* @media screen and (max-width: 1500px) {
            top: -200px;
            bottom: -200px;
        }*/
	@media screen and (max-width: 700px){.video-wrap {height: 750px; width:410%; top: -650px;}}
    }

	
	
	
    video {
        position: absolute;
        left: 0px;
        top: 0px;
        right: 0px;
        bottom: 0px;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    canvas{
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        border: 1px solid red;
    }
}

.hero-video {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;

    .video-wrap {
        position: absolute;
        left: -2000px;
        right: -2000px;
        bottom: -2000px;
        top: -2000px;
        margin: auto;
        padding-top: 60%;
        width: 100%;

        &:after {
            content: "";
            position: absolute;
            background: rgba(black, 0.3);
            top: 0px;
            left: 0px;
            width: 100%;
            height: 100%;
        }
    }

    video {
        position: absolute;
        left: 0px;
        top: 0px;
        right: 0px;
        bottom: 0px;
        width: 100%;
        height: 100%;
    }
}

//beer Preview

.beer-slider {
    display: flex;
    overflow: hidden;
    padding: 0px;

    @media screen and (max-width: 1100px) {
        flex-wrap: wrap;
        overflow: hidden;
    }

    .beer-intro {
        flex: 0 0 40%;
        position: relative;
        z-index: 4;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        padding: 10% 5%;
        background: white;

        @media screen and (max-width: 1800px) {
            flex: 0 0 45%;
            width: 45%;
        }
        @media screen and (max-width: 1600px) {
            padding: 8% calc(5% + 100px) 8% 5%;
        }
        @media screen and (max-width: 1100px) {
            flex: 0 0 100%;
            padding: 10%;
        }
        @media screen and (max-width: 800px) {
            padding: 10% 8% 5% 8%;
        }

        .intro-text {
            max-width: 460px;
            margin-right: auto;

            @media screen and (max-width: 1100px) {
                max-width: 100%;
                width: 100%;
                display: flex;
                flex-direction: column;

                p {
                    max-width: 20em;
                }
            }
        }

        .intro-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding-right: 5%;
            padding-bottom: 10%;

            @media screen and (max-width: 1100px) {
                padding: 0px;
                order: 2;
            }

            #cheers {
                margin-left: -10%;
                max-width: 400px;

                @media screen and (max-width: 700px) {
                    max-width: 250px;
                }
            }
        }

        h2 {
            margin-top: 0px;
        }
    }

    .beer-slideshow {
        flex: 0 0 60%;
        width: 60%;
        position: relative;
        z-index: 9;

        @media screen and (max-width: 1800px) {
            flex: 0 0 55%;
            width: 55%;
        }
        @media screen and (max-width: 1100px) {
            flex: 0 0 100%;
            width: 100%;
        }

        .swiper-wrapper {
            pointer-events: none;
        }

        .beer-slide {
            position: relative;
            color: white;
            display: flex;
            align-items: center;
            width: auto;
            background: $color-dark;
            max-width: 90%;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease-out;

            @media screen and (max-width: 1250px) {
                max-width: 100%;
            }
            @media screen and (max-width: 1100px) {
                padding: 5%;
                max-width: 90%;
                opacity: 1;
            }

            &.swiper-slide-active {
                opacity: 1;
                pointer-events: all;
            }
            &.swiper-slide-next {
                opacity: 1;
                pointer-events: all;
            }

            .beer-img {
                margin-left: -150px; //Half of can width

                @media screen and (max-width: 1800px) {
                    margin-left: -125px;
                }
                @media screen and (max-width: 1600px) {
                    margin-left: -100px;
                }
                @media screen and (max-width: 1100px) {
                    margin-left: 0px;
                }

                img {
                    position: relative;
                    z-index: 5;
                    max-width: 300px;

                    @media screen and (max-width: 1800px) {
                        max-width: 250px;
                    }
                    @media screen and (max-width: 1600px) {
                        max-width: 200px;
                    }
                    @media screen and (max-width: 700px) {
                        max-width: 100px;
                    }
                    @media screen and (max-width: 400px) {
                        max-width: 70px;
                    }
                }
            }

            .beer-slide-content {
                padding: 2em;
                max-width: 550px;
                margin-right: 200px;

                @media screen and (max-width: 1800px) {
                    margin-right: 150px;
                }
                @media screen and (max-width: 1100px) {
                    margin-right: 0px;
                    max-width: 450px;
                }
                @media screen and (max-width: 400px) {
                    padding: 1.5em;
                }

                h2 {
                    margin: 0px;
                }
                h3 {
                    margin-top: 0px;
                }

                .foe-button {
                    margin-bottom: 0px;

                    &:nth-child(2) {
                        @media screen and (max-width: 600px) {
                            display: none;
                        }
                    }
                }
                .beer-text {
                    margin-bottom: 1.5em;
                    @include truncate-text(3);

                    @media screen and (max-width: 600px) {
                        margin-bottom: 1em;
                    }
                }
            }

            &.spacer {
                display: block;
                width: 30%;
                background: $color-dark;

                @media screen and (max-width: 1100px) {
                    display: none;
                }
            }
        }
    }
}

@keyframes circleDraw {
    from {
        transform: rotate(0deg);
        stroke-dasharray: 0 150;
    }

    to {
        transform: rotate(90deg);
        stroke-dasharray: 150 150;
    }
}

@keyframes circleDrawLong {
    from {
        transform: rotate(0deg);
        stroke-dasharray: 0 200;
    }

    to {
        transform: rotate(90deg);
        stroke-dasharray: 200 200;
    }
}

.stories {
    background: $color-secondary;
    color: white;
    position: relative;
    z-index: 4;
    padding: 0px 10% 8% 10%;
    margin-top: -7%;

    @media screen and (max-width: 1024px) {
        padding: 0px 5% 8% 5%;
    }

    &:before {
        content: "";
        position: absolute;
        top: -2px;
        left: 0px;
        right: 0px;
        height: 230px;
        background: white;
    }

    .story-list {
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 2;
    }

    .story {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        white-space: normal;
        display: flex;
        border-radius: 20px;
        background: #549f99;
        margin: 3vw auto;

        @media screen and (max-width: 1600px) {
            margin: 2.5vw auto;
            border-radius: 15px;
        }
        @media screen and (max-width: 1100px) {
            margin: 40px auto;
        }
        @media screen and (max-width: 1024px) {
            margin: 25px auto;
        }

        @media screen and (max-width: 650px) {
            margin: 3.5% 0px;

            &:nth-child(even) {
                .story-beer-img {
                    display: none;
                }

                .story-text {
                    &.extra-padding {
                        padding: 1.6em 2.1em;

                        @media screen and (max-width: 550px) {
                            padding: 1.7em;
                        }
                    }
                }
            }
        }

        @media screen and (max-width: 550px) {
            flex-direction: column;
            border-radius: 15px;
            overflow: hidden;
        }


        &:hover{
            .story-beer-img {
                img{
                    transform: scale(1.05) rotate(-5deg);
                }
            }
        }

        &:nth-child(even) {
            .story-img {
                order: 2;
                border-radius: 0px 20px 20px 0px;

                @media screen and (max-width: 1024px) {
                    border-radius: 0px 15px 15px 0px;
                }

                @media screen and (max-width: 550px) {
                    border-radius: 0px;
                }
            }
            
            &:hover{
                .story-beer-img {
                    img{
                        transform: scale(1.05) rotate(5deg);
                    }
                }
            }

            .story-beer-img {
                order: 1;

                img {
                    transform: rotate(-5deg);
                }
            }

            .story-text {
                &.extra-padding {
                    padding: 1.6em 6.5em 1.6em 2.1em;

                    @media screen and (max-width: 550px) {
                        padding: 1.7em;
                    }
                }
            }
        }

        .story-img {
            border-radius: 20px 0px 0px 20px;
            overflow: hidden;
            flex: 0 0 40%;
            position: relative;

            @media screen and (max-width: 1600px) {
                width: 25vw;
                border-radius: 15px 0px 0px 15px;
            }
            @media screen and (max-width: 1100px) {
                width: 300px;
            }
            @media screen and (max-width: 1024px) {
                width: 40%;
            }
            @media screen and (max-width: 550px) {
                border-radius: 0px;
                width: 100%;
                padding-top: 50%;
                order: 1;
            }

            img {
                object-fit: cover;
                width: 100%;
                height: 100%;
                display: block;
                position: absolute;
                top: 0px;
                left: 0px;
            }
        }

        .story-beer-img {
            width: 0px;
            position: relative;
            z-index: 3;

            @media screen and (max-width: 650px) {
                display: none;
            }

            img {
                position: absolute;
                left: -200px;
                right: -200px;
                margin: auto;
                width: auto;
                height: calc(100% + 30px);
                max-width: none;
                margin-top: -10px;
                transform-origin: 50% 50%;
                transform: rotate(5deg);
                transition: transform 0.4s ease-out;
            }
        }

        .story-text {
            padding: 1.6em 2.1em;
            flex: 0 0 60%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;

            @media screen and (max-width: 1600px) {
                width: 35vw;
            }
            @media screen and (max-width: 1100px) {
                width: 400px;
            }
            @media screen and (max-width: 1024px) {
                width: 60%;
            }
            @media screen and (max-width: 550px) {
                order: 2;
                width: 100%;
                padding: 1.5em;
            }

            &.extra-padding {
                padding: 1.6em 2.1em 1.6em 6.5em;

                @media screen and (max-width: 650px) {
                    padding: 1.5em 2.1em;
                }
                @media screen and (max-width: 550px) {
                    padding: 1.5em;
                }
            }

            h3 {
                color: white;
                position: relative;
                z-index: 2;
                cursor: pointer;
                @include truncate-text(1);

                &:hover {
                    &:after {
                        transform-origin: 0% 0;
                        transform: scaleX(1);
                        opacity: 1;
                    }
                }

                &:after {
                    content: "";
                    position: absolute;
                    left: -0.05em;
                    bottom: 0.08em;
                    right: 0em;
                    height: 0.35em;
                    background: $color-primary;
                    display: block;
                    z-index: -1;
                    transform: scaleX(0);
                    transform-origin: 100% 0;
                    opacity: 0;
                    transition: transform 0.6s ease-out, opacity 0.3s ease-out;
                }

                a {
                    width: 100%;
                    color: white;
                }
            }

            .detail {
                @include truncate-text(1);

                &.last {
                    margin-bottom: 1em;
                    @include truncate-text(2);
                }

                p {
                    display: inline;
                }
            }

            .foe-button {
                margin: auto 0px 0px 0px;
            }
        }
    }

    .load {
        text-align: center;

        .foe-button {
            margin: 0px 0.5em 1em;
        }
    }
}

.stories-feed {
    background: $color-secondary;
    color: white;
    padding: 10% 0px;
    overflow: hidden;
    position: relative;
    z-index: 4;

    .stories-svg {
        svg {
            width: 100%;
            height: auto;
            transform-box: fill-box;

            @media screen and (max-width: 1024px) {
                width: 150%;
                margin: 1em -25%;
            }

            g {
                transform-box: fill-box;
                transform-origin: 50% 50%;
            }
        }
    }

    .stories-intro {
        max-width: 27em;
        margin: 4% auto 4% auto;

        @media screen and (max-width: 500px) {
            max-width: 100%;
            padding: 0px 8%;
        }
    }

    .story-list {
        display: flex;
        flex-direction: column;
    }

    .row {
        display: flex;
        justify-content: flex-start;
        padding: 0px 2vw;
        width: 100%;
        margin-left: -15%;

        @media screen and (max-width: 1024px) {
            margin: 0px;
            padding: 0px 4%;
            flex-direction: column;
        }

        &:last-child {
            margin-left: 0px;
            margin-right: 15%;
            align-self: flex-end;

            @media screen and (max-width: 1024px) {
                margin: 0px;
                display: none;
            }

            .story {
                .story-beer-img {
                    img {
                        transform: rotate(-5deg);
                    }
                }

                &:hover{
                    .story-beer-img {
                        img{
                            transform: scale(1.05) rotate(5deg);
                        }
                    }
                }
            }
        }
        .story {
            white-space: normal;
            display: flex;
            border-radius: 20px;
            background: #549f99;
            margin: 2vw 1.5vw;

            &:hover{
                .story-beer-img {
                    img{
                        transform: scale(1.05) rotate(-5deg);
                    }
                }
            }

            @media screen and (max-width: 1600px) {
                margin: 2.5vw 1.5vw;
                border-radius: 15px;
            }
            @media screen and (max-width: 1100px) {
                margin: 40px 20px;
            }
            @media screen and (max-width: 1024px) {
                margin: 25px 0px;

                &:nth-child(even) {

                    .story-img {
                        order: 2;
                        border-radius: 0px 15px 15px 0px;

                        @media screen and (max-width: 550px) {
                            border-radius: 0px;
                        }
                    }
                    .story-beer-img {
                        order: 1;

                        img {
                            transform: rotate(-5deg);
                        }
                    }

                    .story-text {
                        &.extra-padding {
                            padding: 1.6em 6.5em 1.6em 2.1em;
                        }
                    }
                }
            }

            @media screen and (max-width: 650px) {
                margin: 2% 0px;

                &:nth-child(even) {
                    .story-beer-img {
                        display: none;
                    }

                    .story-text {
                        &.extra-padding {
                            padding: 1.6em 2.1em;

                            @media screen and (max-width: 550px) {
                                padding: 1.5em;
                            }
                        }
                    }
                }
            }

            @media screen and (max-width: 550px) {
                flex-direction: column;
                border-radius: 15px;
                overflow: hidden;
            }

            .story-img {
                border-radius: 20px 0px 0px 20px;
                overflow: hidden;
                width: 20vw;
                position: relative;

                @media screen and (max-width: 1600px) {
                    width: 25vw;
                    border-radius: 15px 0px 0px 15px;
                }
                @media screen and (max-width: 1100px) {
                    width: 300px;
                }
                @media screen and (max-width: 1024px) {
                    width: 40%;
                }
                @media screen and (max-width: 550px) {
                    border-radius: 0px;
                    width: 100%;
                    padding-top: 50%;
                    order: 1;
                }

                img {
                    object-fit: cover;
                    width: 100%;
                    height: 100%;
                    display: block;
                    position: absolute;
                    top: 0px;
                    left: 0px;
                }
            }

            .story-beer-img {
                width: 0px;
                position: relative;
                z-index: 3;

                @media screen and (max-width: 650px) {
                    display: none;
                }

                img {
                    position: absolute;
                    left: -200px;
                    right: -200px;
                    margin: auto;
                    width: auto;
                    height: calc(100% + 30px);
                    max-width: none;
                    margin-top: -10px;
                    transform-origin: 50% 50%;
                    transform: rotate(5deg);
                    transition: transform .3s ease-out;
                }
            }

            .story-text {
                padding: 1.6em 2.1em;
                width: 25vw;
                max-width: 600px;
                display: flex;
                flex-direction: column;
                align-items: flex-start;

                @media screen and (max-width: 1600px) {
                    width: 35vw;
                }
                @media screen and (max-width: 1100px) {
                    width: 400px;
                }
                @media screen and (max-width: 1024px) {
                    width: 60%;
                }
                @media screen and (max-width: 550px) {
                    order: 2;
                    width: 100%;
                    padding: 1.5em;
                }

                &.extra-padding {
                    padding: 1.6em 2.1em 1.6em 6.5em;

                    @media screen and (max-width: 650px) {
                        padding: 1.5em 2.1em;
                    }
                    @media screen and (max-width: 550px) {
                        padding: 1.5em;
                    }
                }

                h3 {
                    color: white;
                    position: relative;
                    z-index: 2;
                    cursor: pointer;
                    @include truncate-text(1);

                    &:hover {
                        &:after {
                            transform-origin: 0% 0;
                            transform: scaleX(1);
                            opacity: 1;
                        }
                    }

                    &:after {
                        content: "";
                        position: absolute;
                        left: -0.05em;
                        bottom: 0.08em;
                        right: 0em;
                        height: 0.35em;
                        background: $color-primary;
                        display: block;
                        z-index: -1;
                        transform: scaleX(0);
                        transform-origin: 100% 0;
                        opacity: 0;
                        transition: transform 0.6s ease-out,
                        opacity 0.3s ease-out;
                    }

                    a {
                        width: 100%;
                        color: white;
                    }
                }

                .detail {
                    @include truncate-text(1);

                    &.last {
                        margin-bottom: 1em;
                        @include truncate-text(2);
                    }

                    p {
                        display: inline;
                    }
                }

                .foe-button {
                    margin: auto 0px 0px 0px;
                }
            }
        }
    }
}

.stories-graphic {
    padding: 10% 0px;
    overflow: hidden;
    position: relative;
    z-index: 4;
    display: flex;

    &:first-child {
        margin-top: 80px;

        @media screen and (max-width: 1600px) {
            margin-top: 40px;
        }
        @media screen and (max-width: 700px) {
            margin-top: 70px;
        }
    }

    @media screen and (max-width: 1100px) {
        padding: 10% 8%;
    }

    .stories-left {
        flex: 0 0 33%;

        @media screen and (max-width: 1400px) {
            flex: 0 0 25%;
            width: 25%;
            display: flex;
            align-items: flex-end;
        }
        @media screen and (max-width: 1100px) {
            display: none;
        }

        svg {
            width: 100%;
            margin-right: auto;
            margin-left: -5%;
            transform-box: fill-box;

            @media screen and (max-width: 1400px) {
                height: 100%;
                width: auto;
                object-fit: cover;
                object-position: right center;
            }
            
            g {
                transform-box: fill-box;
                transform-origin: 50% 50%;
            }

            #story-left > g{
                visibility: hidden;
            }
        }
    }
    .stories-right {
        flex: 0 0 33%;
        display: flex;

        @media screen and (max-width: 1400px) {
            flex: 0 0 25%;
            width: 25%;
        }
        @media screen and (max-width: 1100px) {
            display: none;
        }

        svg {
            width: 100%;
            margin-left: auto;
            margin-right: -5%;
            transform-box: fill-box;

            @media screen and (max-width: 1400px) {
                height: 100%;
                width: auto;
                object-fit: cover;
                object-position: left center;
            }

            g {
                transform-box: fill-box;
                transform-origin: 50% 50%;
            }
            #story-right > g{
                visibility: hidden;
            }
        }
    }

    #your-stories {
        max-width: 320px;
        margin: 0 auto 2em auto;
        aspect-ratio: 9/10;

        @media screen and (max-width: 1100px) {
            display: none;
        }
        @media screen and (max-width: 700px) {
            max-width: 250px;
        }
        @media screen and (max-width: 500px) {
            max-width: 150px;
        }

        svg > g > g:nth-child(4){
            path{
                fill: white;
            }
        }
    }

    #your-stories-mobile{
        display: none;
        max-width: 320px;
        margin: 0 auto 2em auto;
        aspect-ratio: 9/10;

        @media screen and (max-width: 1100px) {
            display: block;
        }
        @media screen and (max-width: 700px) {
            max-width: 250px;
        }
        @media screen and (max-width: 500px) {
            max-width: 150px;
        }

        svg > g > g:nth-child(4){
            path{
                fill: white;
            }
        }
    }

    .stories-intro {
        flex: 0 0 34%;
        max-width: 27em;
        margin: 0px auto;

        @media screen and (max-width: 1400px) {
            flex: 0 0 50%;
            margin: 0px;
            max-width: none;
        }
        @media screen and (max-width: 1100px) {
            flex: 0 0 100%;
            margin: 0 auto;
            max-width: 30em;
        }

        .button-container {
            text-align: center;

            .foe-button {
                margin: 0px 0.5em 1em;
            }
        }
    }
}

.story-form {
    background: $color-primary;

    .inner {
        justify-content: space-between;
    }
    .form-intro {
        flex: 0 0 40%;

        @media screen and (max-width: 1024px) {
            flex: 0 0 100%;
            margin-bottom: 8%;
        }

        img {
            margin-bottom: 1em;
        }

        a{
            color: $color-dark;
            font-weight: 600;

            &:hover{
                opacity: 0.7;
            }
        }
    }
    .form-wrap {
        flex: 0 0 50%;

        @media screen and (max-width: 1024px) {
            flex: 0 0 100%;
        }
    }
}

.brewery-intro {
    position: relative;
    z-index: 2;

    @media screen and (max-width: 1024px) {
        overflow: hidden;
    }

    &.navy {
        background: $color-navy;
        color: #efefef;

        .inner  .slider-intro {
            #cheers svg path{
                fill: #efefef;
            }
            .controls {
                .arrow {
                    path {
                        stroke: white;
                    }
                }
            }
        }
    }
    &.yellow {
        background: $color-primary;
    }

    .centered-intro {
        text-align: center;
        max-width: 35em;
        margin: 0 auto 9%;
        position: relative;
        z-index: 2;
    }

    .inner {
        align-items: center;

        .slider-intro {
            flex: 0 0 40%;
            padding-right: 5%;
            position: relative;
            z-index: 2;

            @media screen and (max-width: 1000px) {
                flex: 0 0 100%;
                padding: 0px 0px 7% 0px;
                display: flex;
                flex-direction: column;
            }

            .intro-top{
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 3em;

                @media screen and (max-width: 1000px) {
                    order: 3;
                    margin-bottom: 0px;
                }

                #cheers {
                    margin-left: -10%;
                    width: 100%;
                    max-width: 400px;
                    aspect-ratio: 2/1;

                    @media screen and (max-width: 700px) {
                        max-width: 250px;
                    }
                }
            }

            .controls {
                .arrow {
                    path {
                        stroke: $color-dark;
                    }
                }
            }
        }

        .brewery-slideshow {
            flex: 0 0 60%;
            width: 60%;
            padding-left: 5%;

            @media screen and (max-width: 1000px) {
                flex: 0 0 100%;
                width: 100%;
                padding: 0px;
            }

            .brewery-slide {
                position: relative;
                margin: 0px 2.5%;
                padding: 5%;
                max-width: 500px;
                opacity: 0;
                pointer-events: none;
                display: flex;
                align-items: flex-end;
                justify-content: center;
                border-radius: 20px;
                overflow: hidden;
                aspect-ratio: 7/8;
                transition: opacity 0.3s ease-out;

                @media screen and (max-width: 1000px) {
                    margin: 0px 5% 0px 0px;
                    max-width: 400px;
                }
                @media screen and (max-width: 500px) {
                    margin: 0px 5% 0px 0px;
                    max-width: 300px;
                }

                &.swiper-slide-active {
                    opacity: 1;
                    pointer-events: all;
                }
                &.swiper-slide-next {
                    opacity: 1;
                    pointer-events: all;
                }

                img {
                    position: absolute;
                    top: -30px;
                    left: 0px;
                    right: 0px;
                    bottom: -30px;
                    height: calc(100% + 60px);
                    width: 100%;
                    object-fit: cover;
                }

                h3 {
                    position: relative;
                    z-index: 2;
                    text-align: center;
                    color: white;
                }
            }
        }
    }
}

.beers {
    @media screen and (max-width: 1400px) {
        padding: 8% 5%;
    }
    @media screen and (max-width: 1100px) {
        padding: 10%;
    }
    @media screen and (max-width: 800px) {
        padding: 10% 8%;
    }

    .beer-intro {
        max-width: 35em;
        margin: 0 auto 10%;
        text-align: center;

        #cheers{
            max-width: 350px;
            margin: -9% auto 1em;
            min-height: 168px;
        }
        img {
            margin-bottom: 1.5em; 
            
            @media screen and (max-width: 800px) {
                max-width: 130px;
                margin: 1em auto;
            }
        }
    }

    .beer-list {
        display: flex;
        flex-wrap: wrap;

        .beer {
            width: 50%;
            flex: 0 0 50%;
            color: white;
            margin-bottom: 15%;
            border-radius: 20px 0px 0px 20px;
            display: flex;
            position: relative;

            @media screen and (max-width: 1600px) {
                margin-bottom: 10%;
            }
            @media screen and (max-width: 1400px) {
                margin-bottom: 9%;
            }
            @media screen and (max-width: 1100px) {
                flex: 0 0 100%;
                width: 100%;
                border-radius: 15px;
                margin-bottom: 12%;
                min-height: 370px;
            }
            @media screen and (max-width: 800px) {
                min-height: 310px;
                margin: 7.5% 0px;
            }
            @media screen and (max-width: 500px) {
                min-height: 300px;
            }

            &:hover {
                .beer-img {
                    img {
                        transform: rotate(3deg);
                    }
                }
            }

            &:nth-child(even) {
                border-radius: 0px 20px 20px 0px;

                @media screen and (max-width: 1100px) {
                    border-radius: 15px;

                    .beer-content {
                        padding: 3.5em 11em 2em 3em;

                        @media screen and (max-width: 800px) {
                            padding: 2.5em 9em 1em 2em;
                        }
                        @media screen and (max-width: 500px) {
                            padding: 2.5em 8em 1em 2em;
                        }
                    }

                    .beer-img {
                        left: auto;
                        right: -5%;

                        img {
                            @media screen and (max-width: 1100px) {
                                object-position: right center;
                            }
                        }
                    }
                }
            }
            &:nth-child(odd) {
                &:last-child {
                    border-radius: 20px;
                }
            }

            .beer-img {
                width: 100%;
                position: absolute;
                left: -5%;
                top: -12%;
                bottom: -12%;
                width: 250px;

                @media screen and (max-width: 1600px) {
                    width: 200px;
                    left: -6%;
                }
                @media screen and (max-width: 800px) {
                    width: 150px;
                }
                @media screen and (max-width: 500px) {
                    width: 125px;
                }

                img {
                    position: absolute;
                    top: 0px;
                    bottom: 0px;
                    left: 0px;
                    width: 100%;
                    height: 100%;
                    margin: auto;
                    object-fit: contain;
                    object-position: left center;
                    transform-origin: 50% 65%;
                    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

                    @media screen and (max-width: 1100px) {
                        height: auto;
                    }
                }
            }

            .beer-content {
                padding: 3.5em 3em 2em 13em;
                position: relative;
                z-index: 2;
                display: flex;
                flex-direction: column;

                @media screen and (max-width: 1600px) {
                    padding: 3.5em 3em 2em 11em;
                }
                @media screen and (max-width: 1100px) {
                    padding: 3.5em 3em 2em 11em;
                }
                @media screen and (max-width: 800px) {
                    padding: 2.5em 2em 1em 9em;
                }
                @media screen and (max-width: 500px) {
                    padding: 2.5em 2em 1em 8em;
                }

                .beer-text {
                    max-width: 27em;
                    margin-bottom: 1em;
                    @include truncate-text(3);
                }

                h2 {
                    margin: 0px;

                    a {
                        color: white;
                        display: inline-block;
                        position: relative;

                        &:hover {
                            &:after {
                                transform-origin: 0% 0;
                                transform: scaleX(1);
                                opacity: 1;
                            }
                        }

                        &:after {
                            content: "";
                            position: absolute;
                            left: -0.05em;
                            bottom: 0.08em;
                            right: -0.05em;
                            height: 0.35em;
                            background: $color-primary;
                            display: block;
                            z-index: -1;
                            transform: scaleX(0);
                            transform-origin: 100% 0;
                            opacity: 0;
                            transition: transform 0.6s ease-out,
                                opacity 0.3s ease-out;
                        }
                    }
                }
                h3 {
                    margin-top: 0px;
                }

                .button-container {
                    margin-top: auto;
                }
            }
        }
    }
}

.contact {
    padding-top: calc(10% + 200px);
    position: relative;
    z-index: 3;
    overflow: hidden;

    @media screen and (max-width: 1600px) {
        padding-top: calc(10% + 140px);
    }
    @media screen and (max-width: 1600px) {
        padding-top: calc(10% + 120px);
    }
    @media screen and (max-width: 1024px) {
        padding-top: calc(10% + 80px);
    }

    .contact-watermark {
        position: absolute;
        top: 0%;
        right: -50px;
        width: 25%;
        z-index: -1;

        img {
            width: 100%;
        }
    }

    .inner {
        a {
            color: $color-dark;

            &:hover {
                color: $color-primary;
            }
        }

        h4 {
            margin-top: 0px;
        }

        .contact-details {
            flex: 0 0 32.5%;
            padding: 0px 1em 0px 0px;

            @media screen and (max-width: 1400px) {
                flex: 1 1 35%;
            }
            @media screen and (max-width: 1150px) {
                flex: 0 0 37%;
            }
            @media screen and (max-width: 1000px) {
                flex: 0 0 100%;
                padding: 0px 0px 2em 0px;
            }

            .hours{
                margin-top: 1em;
            }
        }

        .emails {
            flex: 0 0 32.5%;
            border-left: 2px solid rgba(black, 0.2);
            padding: 0px 3em;

            @media screen and (max-width: 1400px) {
                flex: 1 1 35%;
                padding: 0px 2em;
            }
            @media screen and (max-width: 1150px) {
                flex: 0 0 37%;
            }
            @media screen and (max-width: 1000px) {
                flex: 0 0 100%;
                border: none;
                border-top: 2px solid rgba(black, 0.2);
                padding: 2em 0px;
            }

            .email-list {
                a {
                    display: block;
                }
            }

            .social-links {
                padding-top: 1em;
                display: flex;
                align-items: center;

                a:hover {
                    svg path {
                        fill: $color-primary;
                    }
                }

                a {
                    display: inline-block;
                    padding: 0px 10px 0px 0px;
                }

                svg {
                    path {
                        fill: #000000;
                        stroke: none;
                        transition: fill 0.3s ease-in-out;
                    }
                }

                a:nth-child(2) {
                    svg {
                        path {
                            stroke: white;
                        }
                    }
                }
            }
        }

        .contact-right {
            flex: 1 1 35%;
            padding: 0px 0px 0px 3em;
            border-left: 2px solid rgba(black, 0.2);
            display: flex;
            align-items: flex-start;
            justify-content: space-between;

            @media screen and (max-width: 1400px) {
                flex: 0 0 26%;
                padding-left: 2em;
            }
            @media screen and (max-width: 1000px) {
                flex: 0 0 100%;
                border-left: none;
                border-top: 2px solid rgba(black, 0.2);
                padding: 1.5em 0px 0px 0px;
            }

            a {
                display: block;
                font-weight: bold;
                font-size: 1.2em;
                padding: 5px;
            }

            #contact-logo{
                width: 150px;

                @media screen and (max-width: 1400px) {
                    display: none;
                }

                svg > g{
                    > g{
                        &:first-child{
                            path{
                                fill: $color-dark;
                            }
                        }
                    }
                    path{
                        fill: white;
                    }
                }
            }
        }
    }
}

//Featured Slider
.featured-block {
    position: relative;

    .featured-intro {
        max-width: 40em;
        margin: 0 auto 7%;

        @media screen and (max-width: 1100px) {
            max-width: 25em;
        }
        @media screen and (max-width: 700px) {
            max-width: 22em;
        }
        p {
            max-width: 35em;
            margin-left: auto;
            margin-right: auto;
        }
    }

    .featured-slider {
        width: 95%;
        position: relative;

        @media screen and (max-width: 1100px) {
            margin: 0 auto;
        }

        @media screen and (max-width: 900px) {
            width: 100%;
        }

        .featured-slide {
            position: relative;
            height: auto;
            display: flex;
            align-items: flex-start;
            opacity: 0 !important;

            &.swiper-slide-active {
                opacity: 1 !important;
            }

            .img-wrap {
                width: 55%;
                z-index: 3;
                position: relative;

                &.img-1 {
                    .img-inner {
                        width: 110%;
                    }
                }

                &.img-2 {
                    width: 45%;
                    margin-top: 5%;

                    .img-inner {
                        padding-top: 120%;
                    }
                }

                .img-inner {
                    position: relative;
                    width: 100%;
                    padding-top: 75%;
                    overflow: hidden;
                    border-radius: 20px;

                    @media screen and (max-width: 1600px) {
                        border-radius: 15px;
                    }
                }

                img {
                    position: absolute;
                    top: -30px;
                    left: 0px;
                    width: 100%;
                    height: calc(100% + 60px);
                    object-fit: cover;
                }
            }

            .caption {
                margin: 2em 2em 3.5em 0px;
                max-width: 55%;
                position: absolute;
                right: 45%;
                bottom: 0px;
                font-weight: bold;
                @include truncate-text(1);

                @media screen and (max-width: 700px) {
                    margin: 1em 1.5em 1.5em 0px;
                }
            }
        }

        .featured-pagination {
            position: absolute;
            right: 45%;
            bottom: 2em;
            z-index: 99;
            width: auto;
            display: flex;
            justify-content: flex-end;
            padding-right: 2em;

            @media screen and (max-width: 700px) {
                bottom: 0px;
                padding-right: 1.5em;
            }

            .swiper-pagination-bullet {
                width: 0.95em;
                height: 0.95em;
                background: white;
                border: 2px solid $color-dark;
                opacity: 1;
                transition: background 0.4s ease-out;

                &:hover {
                    background: $color-secondary;
                }

                &.swiper-pagination-bullet-active {
                    background: $color-primary;
                }
            }
        }
    }

    .watermark-1991 {
        position: absolute;
        right: 0px;
        top: 0px;
        width: 50%;
        z-index: -1;
    }
}

//////////
// Text //
//////////

.text-block {
    display: block;
    padding-left: 25%;
    padding-right: 25%;
    margin: 0 auto;
    text-align: center;
    position: relative;

    @media screen and (max-width: 1100px) {
        padding-left: 10%;
        padding-right: 35%;
        text-align: left;
    }

    @media screen and (max-width: 500px) {
        padding: 14% 10%;
        text-align: center;
    }

    .button-container {
        padding-top: 1em;

        @media screen and (max-width: 500px) {
            text-align: center;
        }
    }
}

////////////////////
// Call To Action //
////////////////////

.cta {
    position: relative;
    z-index: 2;
    color: white;
    background: $color-secondary;

    &.color-white {
        background: white;

        .cta-top {
            &:after {
                background: white;
            }
            .cta-mask {
                background: white;
            }
        }
    }

    &.color-yellow {
        background: $color-primary;

        .cta-top {
            &:after {
                background: $color-primary;
            }
            .cta-mask {
                background: $color-primary;
            }
        }
    }

    .cta-top {
        text-align: center;
        width: 100%;
        position: relative;

        &:after {
            content: "";
            position: absolute;
            top: -2px;
            left: 0px;
            right: 0px;
            height: 3px;
            background: $color-secondary;
        }

        .cta-mask {
            position: absolute;
            top: 0px;
            left: 0px;
            right: 0px;
            bottom: 0px;
            background: $color-secondary;
            -webkit-mask-image: url("/wp-content/themes/foe/images/shell/cta-inverse.svg");
            -webkit-mask-size: 100% auto;
            -webkit-mask-position: top center;
            mask-image: url("/wp-content/themes/foe/images/shell/cta-inverse.svg");
            mask-size: 120% auto;
            mask-position: top center;
            transform: scale(1.2);
            transform-origin: 50% 0%;
            transition: transform 1s ease-out;

            @media screen and (max-width: 1024px) {
                transform: scale(1);
            }

            &.is-inview {
                transform: scale(1);
            }
        }

        .cta-top-inner {
            position: relative;
            z-index: 2;
            padding: 10% 10% 0px 10%;
        }

        h1 {
            max-width: 8em;
            margin: 0 auto;

            @media screen and (max-width: 1250px) {
                max-width: 7em;
            }
        }
    }

    .cta-bot {
        padding: 10%;
        margin-top: 30%;

        @media screen and (max-width: 1250px) {
            margin-top: 25%;
        }

        .cta-text {
            max-width: 38em;
        }
    }

    .button-container {
        margin-top: 1.5em;
    }

    .cta-bg {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        z-index: -2;
        overflow: hidden;
        background: $color-dark;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.7;

            @media screen and (max-width: 1250px) {
                width: 120%;
                max-width: 120%;
                margin-left: -10%;
            }
        }
    }
}

//////////////////////////
// Text & Image Columns //
//////////////////////////

.content-image {
    .content-text {
        flex: 0 0 50%;
        padding-right: 4%;

        @media screen and (max-width: 900px) {
            flex: 0 0 100%;
            padding: 0px;
        }
    }

    .content-image {
        flex: 0 0 50%;
        padding-left: 4%;

        @media screen and (max-width: 900px) {
            flex: 0 0 100%;
            padding: 7% 0px 0px 0px;
        }
    }
}

/////////////////////////
// Text & Form Columns //
/////////////////////////

.text-form {
    .inner {
        display: grid;
        grid-template-columns: auto max-content;
        gap: 5vw;
        position: relative;

        @media screen and (max-width: 800px) {
            grid-template-columns: 1fr;
        }

        .text-container {
            grid-column: 2 / 3;
            grid-row: 1 / 2;

            @media screen and (max-width: 800px) {
                grid-column: 1 / 2;
                grid-row: 2 / 3;
            }

            .container {
                margin-top: 135px;

                @media screen and (max-width: 800px) {
                    margin-top: 0;
                }
            }
        }

        .form-container {
            grid-column: 1 / 2;
            grid-row: 1 / 2;
        }
    }
}

////////////////
// Blog Block //
////////////////

.blog {
    .inner {
        position: relative;

        .blog-head {
            flex: 0 0 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 3em;
            position: relative;
            z-index: 9;

            .filters {
                display: flex;
                align-items: center;

                .total-results {
                    margin-right: 1.5em;
                    white-space: nowrap;
                    font-size: 0.9em;
                }

                select {
                    margin-right: 1em;
                }
            }
        }

        .no-post {
            text-align: center;
            padding: 1.5em 0px;
            width: 100%;
        }
    }
}

.post-list {
    flex: 0 0 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    position: relative;

    .post {
        flex: 0 0 31.33333%;
        margin: 0px 3% 3% 0px;
        background: #f4f4f4;

        &:nth-of-type(3n + 3) {
            margin-right: 0px;
        }

        .post-img {
            width: 100%;
            padding-top: 65%;
            background: center center no-repeat;
            background-size: cover;
            display: block;
            position: relative;

            &:after {
                content: "";
                position: absolute;
                top: 0px;
                bottom: 0px;
                left: 0px;
                right: 0px;
                background: $color-primary;
                opacity: 0;
                transition: opacity 0.3s ease-out;
            }

            &:hover {
                &:after {
                    opacity: 0.2;
                }
            }

            &.placeholder {
                background: darken(#f4f4f4, 5%) url("#{$path}shell/foe.svg")
                    center center no-repeat;
                background-size: 25%;
            }

            .category {
                display: inline-block;
                background: $color-primary;
                color: white;
                position: absolute;
                top: 0px;
                left: 0px;
                padding: 5px 12px;
                font-weight: bold;
                font-size: 0.75em;
            }
        }

        .post-text {
            padding: 1em 1.5em;
        }
    }

    .load {
        flex: 0 0 100%;
        text-align: center;
        order: 9999;

        .foe-button {
            margin-right: 0px;
        }
    }
}

/////////////
// Gallery //
/////////////

.gallery-block {
    margin: 0;

    .gallery-items {
        width: 100%;
        display: grid;
        padding-top: 2em;
        gap: 2em;
        grid-template-columns: 1fr 1fr 1fr;

        @media screen and (max-width: 1200px) {
            grid-template-columns: 1fr 1fr;
        }
        @media screen and (max-width: 1200px) {
            padding-top: 1em;
            gap: 1em;
        }

        .gallery-item {
            aspect-ratio: 6/5;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
            }
        }
    }
}

.floating-gallery {
    padding: 10% 15% 0px 15%;
    position: relative;
    z-index: 2;

    @media screen and (max-width: 1024px) {
        padding: 10% 10%;
    }

    &.navy {
        background: $color-navy;
        color: #efefef;

        .watermark-1991 {
            opacity: 0.09;
        }
    }

    .gallery-intro {
        max-width: 45em;
        margin: 0 auto 20%;
        text-align: center;

        .button-container{

            .foe-button{
                margin: 0px 0.25em 0.5em;
            }
        }
    }

    .gallery-grid {
        width: 100%;
        flex: 0 0 100%;
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: auto;
        gap: 0px 4%;

        .floating {
            grid-column: span 6;

            &:nth-child(3n + 2) {
                padding: 10%;
            }
            &:nth-child(6n + 3) {
                grid-column: span 12;
                padding: 0px 30%;
            }

            &:nth-child(6n + 5) {
                margin-bottom: 7%;
            }
            &:nth-child(6n + 6) {
                margin-top: 7%;
            }

            img {
                border-radius: 15px;
            }
        }
    }

    .watermark-1991 {
        position: absolute;
        right: 0px;
        top: 0px;
        width: 50%;
        z-index: -1;
    }
}



.team-gallery {
    padding: 10% 0px 0px 0px;
    position: relative;
    z-index: 1;

    .background{
        background: $color-navy;
        position: absolute;
        top: 30%;
        bottom: 15%;
        left: 0px;
        right: 0px;
        z-index: -1;

        @media screen and (max-width: 700px) {
            bottom: 5%;
        }
    }

    .gallery-intro {
        max-width: 40em;
        margin: 0 auto 10%;
    }

    .gallery-team {
        width: 100%;
        flex: 0 0 100%;
        flex-wrap: wrap;
        display: flex;
        justify-content: space-between;

        .img-wrap{
            line-height: 0px;
            margin: 0px 5% 5% 5%;
            flex: 0 0 40%;
            position: relative;

            img{
                border-radius: 20px;

                @media screen and (max-width: 1024px) {
                    border-radius: 10px;
                }

            }

            &.img2{
                @media screen and (max-width: 1024px) {
                    margin-top: 10%;
                }
            }

            &.img3{
                margin-left: 15%;
                margin-top: -18%;
                margin-bottom: 0px;

                @media screen and (max-width: 1024px) {
                    margin-left: 10%;
                }
            }
            &.img4{
                margin-left: 10%;

                @media screen and (max-width: 1600px) {
                    flex: 0 0 30%;
                }
                @media screen and (max-width: 700px) {
                    margin-left: 20%;
                }
                
            }

            &.img5{
                margin-left: 0px;
                margin-top: -7%;
                
                img{
                    border-radius: 0px 20px 20px 0px;

                    @media screen and (max-width: 700px) {
                        border-radius: 10px;
                    }
                }
            }
            &.img6{
                padding-left: 5%;

                @media screen and (max-width: 700px) {
                    margin-left: 40%;
                }
            }


            #biker{
                position: absolute;
                left: -250px;
                top: 30%;
                width: 400px;

                @media screen and (max-width: 1600px) {
                    width: 300px;
                    left: -150px;
                }
                @media screen and (max-width: 1024px) {
                    width: 200px;
                    left: -100px;
                }

                path{
                    fill: white;
                }
            }
        }

        .spacer{
            flex-basis: 50%;
            flex-grow: 4;
            border: 2px solid red;;
        }

        .quote{
            color: white;
            margin: 10%;
            max-width: 25%;
            position: relative;

            @media screen and (max-width: 1600px) {
                max-width: 35%;
            }
            @media screen and (max-width: 1024px) {
                margin-bottom: 15%;
            }
            @media screen and (max-width: 700px) {
                max-width: 70%;
            }

            &:before{
                content: '"';
                position: absolute;
                top: 0px;
                left: -35px;
                
                @media screen and (max-width: 700px) {
                    left: -20px;
                }
            }
            &:after{
                content: '"';
                display: inline;
                bottom: 0px;
                right: -35px;
            }
        }
    }

    .watermark-1991 {
        position: absolute;
        right: 0px;
        top: 0px;
        width: 50%;
        z-index: -1;
    }
}

//////////
// FAQs //
//////////

.careers-block {
    .inner {

        .careers-intro {
            flex: 0 0 35%;

            @media screen and (max-width: 1300px) {
                flex: 0 0 45%;
            }
            @media screen and (max-width: 1024px) {
                flex: 0 0 100%;
                padding-bottom: 5%;
            }
        }

        .careers {
            flex: 0 0 65%;
            padding: 0px 0px 0px 9%;

            @media screen and (max-width: 1300px) {
                flex: 0 0 55%;
            }
            @media screen and (max-width: 1024px) {
                flex: 0 0 100%;
                padding: 0px;
            }
        }

        .no-postings{
            padding: 3.5rem 3.5rem 2.9rem 3.5rem;
            background: rgba(black, 0.05);
            border-radius: 20px;

            h3{
                border-bottom: 2px solid rgba(black, 0.15);
                padding-bottom: 3rem;
                margin-bottom: 3rem;
            }
        }

        .career {
            border-bottom: 2px solid rgba(black, 0.2);
            transition: all 0.4s ease-out;
            margin-bottom: 1em;

            @media screen and (max-width: 700px) {
                margin-bottom: 0.6rem;
            }

            &:hover {
                background: url("/wp-content/themes/foe/images/shell/dash-white.svg")
                    bottom left repeat-x;
            }

            .title {
                font-family: $font-secondary;
                font-size: 1.7em;
                font-weight: bold;
                line-height: 1.15;
                padding: 1.5rem 3rem 2rem 0rem;
                position: relative;
                cursor: pointer;

                @media screen and (max-width: 1500px) {
                    font-size: 1.5em;
                }
                @media screen and (max-width: 700px) {
                    font-size: 1.3em;
                    line-height: 1.2;
                    padding: 1.3rem 4rem 1.3rem 0rem;
                }

                &.open {
                    .status:before {
                        transform: rotate(0deg);
                    }
                    .status:after {
                        transform: rotate(0deg);
                    }
                }

                .status {
                    position: absolute;
                    right: 0px;
                    top: 0px;
                    bottom: 0px;
                    width: 36px;
                    display: block;
                    transform-origin: 50% 50%;
                    transition: transform 0.5s ease-out;

                    @media screen and (max-width: 1024px) {
                        transform: scale(0.7);
                        transform-origin: 100% 50%;
                    }

                    &:after,
                    &:before {
                        content: "";
                        width: 24px;
                        height: 4px;
                        position: absolute;
                        top: 0px;
                        bottom: 0px;
                        left: 0px;
                        right: 0px;
                        margin: auto;
                        display: block;
                        background: $color-primary;
                        transform-origin: 50% 50%;
                        transform: rotate(-180deg);
                        transition: transform 0.5s ease-out;
                    }

                    &:before {
                        transform: rotate(-90deg);
                    }
                }
            }
            .info {
                padding: 2.9rem 3.5rem;
                display: none;
                background: rgba(black, 0.05);
                margin-bottom: 4rem;
                font-size: 18px;
                border-radius: 20px;

                .answer-inner {
                    max-width: 900px;
                }

                @media screen and (max-width: 1024px) {
                    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
                    border-radius: 10px;
                    font-size: 16px;
                }

                p:last-child {
                    margin-bottom: 0px;
                }
            }
        }
    }
}

////////////
// Slider //
////////////

.slider {
    padding-top: 0;
    padding-left: 5vw;
    padding-right: 5vw;
    margin: 0 auto;
    position: relative;

    h2 {
        text-align: center;
    }

    p {
        text-align: center;
    }

    @media screen and (max-width: 500px) {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .button-container {
        display: flex;
        justify-content: center;
    }

    .slider-gallery {
        width: 100%;
        position: relative;
        overflow: visible;

        // @media screen and (max-width: 1100px) {
        //   overflow: hidden;
        // }

        .slides {
            display: flex;
            align-items: flex-start;
            justify-content: flex-start;
            width: 100%;
            position: relative;
            margin-left: 100%;
            padding: 4% 0px 2% 0px;
        }

        .slide {
            width: 100%;
            flex: 0 0 100%;
            display: flex;
            align-items: flex-start;
            transition: transform 0.5s;
            margin-left: -100%;
            align-items: center;

            @media screen and (max-width: 1100px) {
                width: 100%;
                flex: 0 0 100%;
            }

            @media screen and (max-width: 500px) {
                display: block;
                margin-right: 20px;
            }

            img {
                display: block;
                width: 600px;
                height: 600px;
                object-fit: cover;
                border-radius: 20px;

                @media screen and (max-width: 1400px) {
                    width: 500px;
                    height: 500px;
                }

                @media screen and (max-width: 1100px) {
                    width: 300px;
                    height: 300px;
                }

                @media screen and (max-width: 500px) {
                    width: 90vw;
                    height: 90vw;
                }
            }

            .slide-text {
                padding: 1vw 5vw;
                max-width: 1440px;

                @media screen and (max-width: 500px) {
                    padding: 25px 0;
                }

                h4 {
                    width: 100%;
                    margin: 0;
                    padding: 0;
                    text-align: left;
                }

                p {
                    width: 100%;
                    margin: 25px 0 0;
                    padding: 0;
                    text-align: left;
                }

                .button-container {
                    justify-content: flex-start;
                    margin-top: 40px;

                    .foe-button {
                        margin: 0;

                        &::before {
                            background-color: $color-primary;
                        }

                        &::after {
                            background-color: $color-primary;
                        }
                    }
                }
            }
        }

        .controls {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;

            .dot-container {
                .dot {
                    border: 2px solid $color-secondary;
                    padding: 0;
                    height: 15px;
                    width: 15px;
                    border-radius: 15px;
                    margin-right: 7px;
                    cursor: pointer;
                    background-color: rgba(0, 0, 0, 0);
                }

                .dot--active {
                    background-color: $color-secondary;
                }
            }

            .arrows {
                display: flex;
                align-items: center;

                .prev-arrow,
                .next-arrow {
                    display: block;
                    right: 45px;
                    height: 40px;
                    width: 40px;
                    background-color: rbga(0, 0, 0, 0);
                    background-size: cover;
                    cursor: pointer;
                    border-radius: 50rem;
                    margin-left: 10px;
                }

                .prev-arrow {
                    background-image: url("../../images/icons/prev.jpg");
                }

                .next-arrow {
                    background-image: url("../../images/icons/next.jpg");
                }
            }
        }
    }
}

.controls {
    display: flex;

    div {
        margin-left: 0.2em;
        line-height: 0px;
        cursor: pointer;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        transition: opacity 0.3s ease-out;

        &.swiper-button-disabled {
            pointer-events: none;
            opacity: 0.5;
        }

        .circle {
            position: absolute;
            top: 0px;
            left: 0px;
            right: 0px;
            bottom: 0px;
            margin: auto;

            circle {
                opacity: 0;
                stroke: $color-primary;
                stroke-dasharray: 150;
                transform-origin: 50% 50%;
                transition: opacity 0.2s ease-out;
            }
        }

        .arrow {
            transform-origin: 50% 50%;
            transition: transform 0.4s ease-out;
        }

        &:hover {
            .circle {
                circle {
                    animation: circleDraw 0.8s forwards;
                    opacity: 1;
                }
            }

            .arrow {
                transform: scale(1.2);
            }
        }
    }
}

#single-story {
    .story-inner {
        display: flex;

        .story-img {
            flex: 0 0 50%;
            position: relative;
            background: #f4f4f4;

            img {
                width: 100%;
                aspect-ratio: 1/1;
                position: absolute;
                left: 0px;
                top: 0px;
                object-fit: cover;
            }
        }

        .story-text {
            flex: 0 0 50%;
            padding: calc(7% + 120px) 7% 7% 7%;

            .story-head {
                display: flex;
                align-items: center;
                justify-content: space-between;

                img {
                    margin-left: 2em;
                    margin-bottom: 0.5em;
                }
            }

            .last{
                padding-bottom: 1.5em;

                p:nth-child(2){
                    display: inline;

                    + p{
                        margin-top: 1.5em;
                    }
                }
            }
        }
    }
}


.two-column{

    .inner{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        .column{
            flex: 0 0 45%;

            #tent{
                max-width: 390px;
                margin-top: -17%;
                margin-bottom: -5%;
            }

            @media screen and (max-width: 1100px) {
                flex: 0 0 100%;
                max-width: 600px;

                &:last-child{
                    margin-left: auto;
                    margin-top: 8%;
                }
            }
        }
    }
}


.find-us{
    background: $color-primary;

    .map-top{
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 2em;

        h2{
            flex: 0 0 27.5%;
            margin: 0px;
        }
    }

    .map-wrap{
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        width: 100%;

        &:before{
            content: 'OUR BEER NEAR YOU.';
            flex: 0 0 25%;
            font-family: $font-secondary;
            font-size: 2.6rem;
            font-size: clamp(2.6rem, 1.82rem + 3.9vw, 6.5rem);
            line-height: 0.85;
            margin: 0.2em 0px;
            display: block;
            font-weight: bold;
            text-transform: uppercase;
            display: block;

            @media screen and (max-width: 1400px) {
                flex: 0 0 100%;
            }
        }

        .wpgmza_marker_list_class{
            order: 1;
            flex: 0 0 25%;
            margin-right: 2.5%;
            padding-right: 2.5%;
            height: 800px;
            overflow-y: scroll;

            @media screen and (max-width: 1400px) {
                margin-right: 0px;
                height: 300px;
                order: 3;
                flex: 0 0 100%;
                margin-top: 2em;
            }

            &::-webkit-scrollbar {
                width: 12px;
                border-radius: 20px;
            }
               
            &::-webkit-scrollbar-track {
                background: #dc9c04;
                border-radius: 20px;
            }
               
            &::-webkit-scrollbar-thumb {
                background-color: $color-dark;
                border-radius: 20px;
            }

            .wpgmaps_blist_row{
                border-bottom: 1px solid rgba(black, 0.5);
                padding: 1.3em 0px 1.4em 0px;

                .wpgmza_div_title{
                    font-family: $font-secondary;
                    font-size: 1.5em;
                    line-height: 1.3;
                }

                &:hover{
                    background: none;
                }
            }
        }

        .wpgmza-pagination{
            order: 4;
            padding-top: 2em;
            font-family: $font-secondary;

            @media screen and (max-width: 1400px) {
                width: 100%;
                flex: 0 0 100%;
            }
            

            .paginationjs{
                font-size: 20px;
                font-family: $font-secondary;
            }

            .paginationjs-pages{

                ul{

                    li{
                        border: 2px solid $color-dark;
                        font-size: 26px;
                        border-left: 0px;

                        &:first-child{
                            border-left: 2px solid $color-dark;
                        }

                        &.active{
                            background: $color-dark;

                        }

                        a{
                            background: none;
                            font-weight: bold;
                            font-size: 20px;
                            height: 34px;
                            line-height: 34px;
                            padding-top: 2px;

                            &:hover{
                                background: rgba($color-dark, 0.2);
                            }
                        }
                    }
                }
            }
        }

        .wpgmza-store-locator{
            flex: 0 0 72.5%;
            margin-left: auto;
            background: rgba(black, 0.1);
            border-radius: 20px;
            display: flex;
            align-items: center;
            padding: 2em;
            box-shadow: none;
            font-size: 20px;
            width: 100%;
            margin-bottom: 2em;
            flex-wrap: nowrap;

            @media screen and (max-width: 1400px) {
                flex: 0 0 100%;
            }
            @media screen and (max-width: 1000px) {
                flex-wrap: wrap;
            }

            .wpgmza-modern-store-locator[style]{
                position: relative !important;
                left: 0 !important;
                max-width: 100%;
                padding: 0px;
            }
            
            .wpgmza-address-container{
                width: 100%;
            }

            ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
                color: $color-dark;
            }
            ::-moz-placeholder { /* Firefox 19+ */
                color: $color-dark;
            }
            :-ms-input-placeholder { /* IE 10+ */
                color: $color-dark;
            }
            :-moz-placeholder { /* Firefox 18- */
                color: $color-dark;
            }

            label{
                display: none;
            }

            .wpgmza-address-container{
                margin-right: 0.5em;
            }

            input{
                font-size: 20px;
                height: 70px !important;
                vertical-align: middle;
                padding: 0 30px !important;
                margin: 0 0.5em 0px 0px;
                color: $color-dark;
                border: 3px solid $color-dark;
                background: none;
                flex-grow: 3;

                @media screen and (max-width: 1000px) {
                    margin: 0px 0px 0.5em 0px;
                    height: 60px !important;
                    padding: 0px 25px;
                }
            }

            select{
                border: 3px solid $color-dark;
                background: url('#{$path}shell/chevron-down.svg') right 30px center no-repeat;
                -webkit-background-size: 18px;
                -moz-background-size: 18px;
                -o-background-size: 18px;
                background-size: 18px;
                height: 70px !important;
                font-size: 20px;
                padding: 0px 45px 0px 30px !important;
                border-radius: 40px;
                transition: border 0.3s ease-out;
                -webkit-appearance: none;
                -moz-appearance: none;
                appearance: none;
                box-shadow: none;
                color: $color-dark;
                width: 160px;
                margin: 0px  0.5em 0px 0px;

                @media screen and (max-width: 1000px) {
                    margin: 0px 0px 0.5em 0px;
                    width: 100%;
                    max-width: none;
                    height: 60px !important;
                }

                &:focus {
                    outline: none;
                    background-color: rgba(black, 0.1);
                    box-shadow: none;
                }
            }

            .wpgmza-reset{
                font-size: 1em;
            }

            input[type="button"]{
                border-radius: 40px;
                background: white;
                font-family: $font-secondary;
                border: 3px solid white !important;
                color: $color-dark;
                font-size: 1.3em;
                font-weight: bold;
                border: none;
                margin: 0px !important;
                padding: 0.5em 1.2em 0.25em !important;
                line-height: 1.2;
                transition: background .3s ease-out, border .3s ease-out;

                &:hover{
                    background: $color-dark;
                    border-color: lighten($color-dark, 10%) !important;
                    color: white;
                }
            }

            .wpgmza-form-field{

                @media screen and (max-width: 1000px) {
                    width: 100%;
                    flex: 0 0 100%;
                }
            }

            .wpgmza-reset{
                margin-left: 0.5em;

                input[type="button"]{
                    cursor: pointer;
                    font-size: 0px;
                    width: 70px;
                    border: 3px solid $color-dark !important;
                    background: url('/wp-content/themes/foe/images/shell/refresh.svg')  center center no-repeat;

                    &:hover{
                        background-color: $color-primary;
                    }
                }
            }
        }

        .wpgmza_map{
            flex: 0 0 72.5%;
            order: 2;
            border-radius: 20px;

            @media screen and (max-width: 1400px) {
                flex: 0 0 100%;
            }
            
        }
        .wpgmza_map[style]{
            @media screen and (max-width: 1000px) {
                height: 500px !important;
            }
        }
    }
}


.kegs{

    .inner{
        justify-content: space-between;

        @media screen and (max-width: 1024px) {
            flex-wrap: wrap;
        }
    }

    &.single-column{
        flex-wrap: wrap;

        .step-column{
            flex: 0 0 100%;
            margin-bottom: 8%;
        }

        .pricing-column{
            flex: 0 0 100%;
        }
    }
    
    .step-column{
        flex: 0 0 45%;

        @media screen and (max-width: 1024px) {
            flex: 0 0 100%;
            margin-bottom: 8%;
        }

        .step{
            display: flex;
            align-items: center;
            margin-top: 1.5em;

            &:first-child{
                margin-top: 7%;
            }

            .step-number{
                display: inline-block;
                border-radius: 50%;
                width: 80px;
                flex: 0 0 80px;
                height: 80px;
                color: white;
                background: $color-secondary;
                font-family: $font-secondary;
                display: flex;
                align-items: center;
                justify-content: center;
                padding-top: 7px;
                font-weight: bold;
                font-size: 2em;

                @media screen and (max-width: 1024px) {
                    width: 60px;
                    height: 60px;
                    flex: 0 0 60px;
                }
            }
            .step-text{
                margin-left: 1.4em;
                font-size: 1.2em;
            }
        }
    }

    .pricing-column{
        flex: 0 0 45%;

        @media screen and (max-width: 1024px) {
            flex: 0 0 100%;
        }

        .pricing{
            background: #f4f4f4;
            border-radius: 15px;
            padding: 2.5em 3em;
            margin-top: 7%;

            p:last-child{
                margin-bottom: 0px;
            }
        }
    }
}

