#header {
    color: white;
}

body {
    font-family: 'Oxygen', sans-serif;
    line-height: 1.5;
}

#hero {
    margin-bottom: -3.25em;
    position: relative;
    top: -3.25em;
}


.hero-image {
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/lighthouse.jpg");
    min-height: 25em;
    height: 50%;
    align-self: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-items: center;
    justify-content: center;
    background-position: center;
}

.hero-image.nature {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/thors.jpg");
}

.hero-image.leisure {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/golfbig.jpg");
}

.hero-image.history {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/history.jpg");
}

.hero-image.food {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/beerbanner.jpg");
}

.hero-text {
    text-align: center;
    color: white;
    padding: 2rem;
}


@media only screen and (max-width: 700px) {
.hero-text p {
padding: 0 4rem;
}
}

.hero-header{
    align-self: center;
    font-size:50px;
}

#one {
    padding: 2rem;
}

#one .inner .major h2 {
    margin-top: 0;
}

.tiles {
    display: flex;
    flex-wrap: wrap;
    color: white;
}

.tiles .row {
    width: 100%;
    border-bottom: 2px solid white;
    display: flex;
    overflow: hidden;
}

.tiles article {
    display: flex;
    align-items: center;
    padding: 4em;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 40vh;
    max-height: 40em;
    min-height: 12em;
    overflow: hidden;
    position: relative;
    width: 100%;
    cursor: default;
    transition: all 1s ease;
}


@media only screen and (min-width: 700px) {
    .tiles .row {
        width: 50%;
        border-right: 2px solid white;
    }
    .tiles .row:nth-child(4n - 2), .tiles .row:nth-child(4n - 4) {
        border-right: none;
    }

}

@media only screen and (min-width: 900px) {
    .tiles .row:nth-child(4n - 3), .tiles .row:nth-child(4n - 4) {
        width: 60%;
    }
    .tiles .row:nth-child(4n - 1), .tiles .row:nth-child(4n - 2) {
        width: 40%;
    }
}

.tiles article h3 {
    font-size: 1.75em;
    margin-top: 0;
    margin-bottom: 0;
}

.tiles .row:nth-of-type(1) article {
    background-image: url(../images/west-kirby-campsites.jpg);
}

.tiles .row:nth-of-type(2) article {
    background-image: url(../images/history.jpg);
}

.tiles .row:nth-of-type(3) article {
    background-image: url(../images/fish-and-chips.png);
}

.tiles .row:nth-of-type(4) article {
    background-image: url(../images/sailing.jpg);
}

.tiles article:before {
    transition: all 0.5s ease;
    bottom: 0;
    content: '';
    display: block;
    height: 100%;
    left: 0;
    opacity: 0.85;
    position: absolute;
    width: 100%;
    z-index: 2;
}

.tiles article:hover {
    transform: scale(1.05);
    transition: all 0.5s ease;
}

.tiles article:hover header {
    transform: none;
}

.tiles article:hover:before {
    background-color: rgba(36, 41, 67, 0.5);
}

.tiles article:after {
    background-color: rgba(36, 41, 67, 0.25);
    content: '';
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}


.tiles article header {
    position: relative;
    z-index: 3;
}

.tiles article .link.primary {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 4;
}

a {
    -moz-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
    color: inherit;
    text-decoration: none;
}

/* Header */

#header {
    display: flex;
    background-color: #2a2f4a;
    box-shadow: 0 0 0.25em 0 rgba(0, 0, 0, 0.15);
    cursor: default;
    font-weight: 600;
    height: 3.25em;
    left: 0;
    letter-spacing: 0.25em;
    line-height: 3.25em;
    margin: 0;
    position: fixed;
    text-transform: uppercase;
    top: 0;
    width: 100%;
    z-index: 10000;
}

    #header .logo {
        border: 0;
        display: inline-block;
        font-size: 0.8em;
        height: inherit;
        line-height: inherit;
        padding: 0 1.5em;
    }

        #header .logo strong {
            transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
            background-color: #ffffff;
            color: #242943;
            display: inline-block;
            line-height: 1.65em;
            margin-right: 0.325em;
            padding: 0 0.125em 0 0.375em;
        }

        #header .logo:hover strong {
            background-color: #9bf1ff;
        }

        #header .logo:active strong {
            background-color: #53e3fb;
        }


#header nav {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
    height: inherit;
    line-height: inherit;
}


#header nav a {
    border: 0;
    display: block;
    font-size: 0.8em;
    height: inherit;
    line-height: inherit;
    padding: 0 0.75em;
    position: relative;
}

    #header nav a:last-child {
        padding-right: 1.5em;
    }

    #header nav a[href="#menu"] {
        padding-right: 3.325em !important;
    }

        #header nav a[href="#menu"]:before, #header nav a[href="#menu"]:after {
            background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='32' viewBox='0 0 24 32' preserveAspectRatio='none'%3E%3Cstyle%3Eline %7B stroke-width: 2px%3B stroke: %23ffffff%3B %7D%3C/style%3E%3Cline x1='0' y1='11' x2='24' y2='11' /%3E%3Cline x1='0' y1='21' x2='24' y2='21' /%3E%3Cline x1='0' y1='16' x2='24' y2='16' /%3E%3C/svg%3E");
            background-position: center;
            background-repeat: no-repeat;
            background-size: 24px 32px;
            content: '';
            display: block;
            height: 100%;
            position: absolute;
            right: 1.5em;
            top: 0;
            width: 24px;
        }

        #header nav a[href="#menu"]:after {
            -moz-transition: opacity 0.2s ease-in-out;
            -webkit-transition: opacity 0.2s ease-in-out;
            -ms-transition: opacity 0.2s ease-in-out;
            transition: opacity 0.2s ease-in-out;
            background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='32' viewBox='0 0 24 32' preserveAspectRatio='none'%3E%3Cstyle%3Eline %7B stroke-width: 2px%3B stroke: %239bf1ff%3B %7D%3C/style%3E%3Cline x1='0' y1='11' x2='24' y2='11' /%3E%3Cline x1='0' y1='21' x2='24' y2='21' /%3E%3Cline x1='0' y1='16' x2='24' y2='16' /%3E%3C/svg%3E");
            opacity: 0;
            z-index: 1;
        }

        #header nav a[href="#menu"]:hover:after, #header nav a[href="#menu"]:active:after {
            opacity: 1;
        }

        #header nav a[href="#menu"]:last-child {
            padding-right: 3.875em !important;
        }

            #header nav a[href="#menu"]:last-child:before, #header nav a[href="#menu"]:last-child:after {
                right: 2em;
            }



            #header.alt {
                transition: opacity 2.5s ease;
                transition-delay: 0.75s;
                animation: none;
                background-color: transparent;
                box-shadow: none;
                position: absolute;
                }

@media screen and (max-width: 1680px) {

#header nav a[href="#menu"] {
    padding-right: 3.75em !important;
}

    #header nav a[href="#menu"]:last-child {
        padding-right: 4.25em !important;
    }

}

@media screen and (max-width: 1280px) {

#header nav a[href="#menu"] {
    padding-right: 4em !important;
}

    #header nav a[href="#menu"]:last-child {
        padding-right: 4.5em !important;
    }

}

@media screen and (max-width: 736px) {

#header {
    height: 2.75em;
    line-height: 2.75em;
}

    #header .logo {
        padding: 0 1em;
    }

    #header nav a {
        padding: 0 0.5em;
    }

        #header nav a:last-child {
            padding-right: 1em;
        }

        #header nav a[href="#menu"] {
            padding-right: 3.25em !important;
        }

            #header nav a[href="#menu"]:before, #header nav a[href="#menu"]:after {
                right: 0.75em;
            }

            #header nav a[href="#menu"]:last-child {
                padding-right: 4em !important;
            }

                #header nav a[href="#menu"]:last-child:before, #header nav a[href="#menu"]:last-child:after {
                    right: 1.5em;
                }

}

@media screen and (max-width: 480px) {

#header .logo span {
    display: none;
}

#header nav a[href="#menu"] {
    overflow: hidden;
    padding-right: 0 !important;
    text-indent: 5em;
    white-space: nowrap;
    width: 5em;
}

    #header nav a[href="#menu"]:before, #header nav a[href="#menu"]:after {
        right: 0;
        width: inherit;
    }

    #header nav a[href="#menu"]:last-child:before, #header nav a[href="#menu"]:last-child:after {
        width: 4em;
        right: 0;
    }

}

/* Wrapper */

#wrapper {
    -moz-transition: -moz-filter 0.35s ease, -webkit-filter 0.35s ease, opacity 0.375s ease-out;
    -webkit-transition: -webkit-filter 0.35s ease, -webkit-filter 0.35s ease, opacity 0.375s ease-out;
    -ms-transition: -ms-filter 0.35s ease, -webkit-filter 0.35s ease, opacity 0.375s ease-out;
    transition: filter 0.35s ease, -webkit-filter 0.35s ease, opacity 0.375s ease-out;
    padding-top: 3.25em;
}

    #wrapper.is-transitioning {
        opacity: 0;
    }

    #wrapper > * > .inner {
        padding: 4em 0 2em 0 ;
        margin: 0 auto;
        max-width: 65em;
        width: calc(100% - 6em);
    }

        @media screen and (max-width: 736px) {

            #wrapper > * > .inner {
                padding: 3em 0 1em 0 ;
                width: calc(100% - 3em);
            }

        }

    @media screen and (max-width: 736px) {

        #wrapper {
            padding-top: 2.75em;
        }

    }


/* Menu */

#menu {
    -moz-transition: -moz-transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
    -webkit-transition: -webkit-transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
    -ms-transition: -ms-transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
    -moz-align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    pointer-events: none;
    background: rgba(36, 41, 67, 0.9);
    box-shadow: none;
    height: 100%;
    left: 0;
    opacity: 0;
    overflow: hidden;
    padding: 3em 2em;
    position: fixed;
    top: 0;
    visibility: hidden;
    width: 100%;
    z-index: 10002;
    color: white;
}

    #menu .inner {
        -moz-transition: -moz-transform 0.35s ease-out, opacity 0.35s ease, visibility 0.35s;
        -webkit-transition: -webkit-transform 0.35s ease-out, opacity 0.35s ease, visibility 0.35s;
        -ms-transition: -ms-transform 0.35s ease-out, opacity 0.35s ease, visibility 0.35s;
        transition: transform 0.35s ease-out, opacity 0.35s ease, visibility 0.35s;
        -moz-transform: rotateX(20deg);
        -webkit-transform: rotateX(20deg);
        -ms-transform: rotateX(20deg);
        transform: rotateX(20deg);
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        max-height: 100vh;
        opacity: 0;
        overflow: auto;
        text-align: center;
        visibility: hidden;
        width: 18em;
    }

        #menu .inner > :first-child {
            margin-top: 2em;
        }

        #menu .inner > :last-child {
            margin-bottom: 3em;
        }

    #menu ul {
        margin: 0 0 1em 0;
    }

        #menu ul.links {
            list-style: none;
            padding: 0;
        }

            #menu ul.links > li {
                padding: 0;
            }

            #menu ul.links > li:hover {
                color: #9bf1ff;
            }

                #menu ul.links > li > a:not(.button) {
                    border: 0;
                    border-top: solid 1px rgba(212, 212, 255, 0.1);
                    display: block;
                    font-size: 0.8em;
                    font-weight: 600;
                    letter-spacing: 0.25em;
                    line-height: 4em;
                    text-decoration: none;
                    text-transform: uppercase;
                }

                #menu ul.links > li > .button {
                    display: block;
                    margin: 0.5em 0 0 0;
                }

                #menu ul.links > li:first-child > a:not(.button) {
                    border-top: 0 !important;
                }

    #menu .close {
        -moz-transition: color 0.2s ease-in-out;
        -webkit-transition: color 0.2s ease-in-out;
        -ms-transition: color 0.2s ease-in-out;
        transition: color 0.2s ease-in-out;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        border: 0;
        cursor: pointer;
        display: block;
        height: 4em;
        line-height: 4em;
        overflow: hidden;
        padding-right: 1.25em;
        position: absolute;
        right: 0;
        text-align: right;
        text-indent: 8em;
        top: 0;
        vertical-align: middle;
        white-space: nowrap;
        width: 8em;
        color: white;
    }

        #menu .close:before, #menu .close:after {
            -moz-transition: opacity 0.2s ease-in-out;
            -webkit-transition: opacity 0.2s ease-in-out;
            -ms-transition: opacity 0.2s ease-in-out;
            transition: opacity 0.2s ease-in-out;
            background-position: center;
            background-repeat: no-repeat;
            content: '';
            display: block;
            height: 4em;
            position: absolute;
            right: 0;
            top: 0;
            width: 4em;
        }

        #menu .close:before {
            background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20px' height='20px' viewBox='0 0 20 20' zoomAndPan='disable'%3E%3Cstyle%3Eline %7B stroke: %23ffffff%3B stroke-width: 2%3B %7D%3C/style%3E%3Cline x1='0' y1='0' x2='20' y2='20' /%3E%3Cline x1='20' y1='0' x2='0' y2='20' /%3E%3C/svg%3E");
        }

        #menu .close:after {
            background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20px' height='20px' viewBox='0 0 20 20' zoomAndPan='disable'%3E%3Cstyle%3Eline %7B stroke: %239bf1ff%3B stroke-width: 2%3B %7D%3C/style%3E%3Cline x1='0' y1='0' x2='20' y2='20' /%3E%3Cline x1='20' y1='0' x2='0' y2='20' /%3E%3C/svg%3E");
            opacity: 0;
        }

        #menu .close:hover:after, #menu .close:active:after {
            opacity: 1;
        }



body.is-menu-visible #wrapper {
    -moz-filter: blur(0.5em);
    -webkit-filter: blur(0.5em);
    -ms-filter: blur(0.5em);
    filter: blur(0.5em);
}

body.is-menu-visible #menu {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

    body.is-menu-visible #menu .inner {
        -moz-transform: none;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        opacity: 1;
        visibility: visible;
    }

footer {
    display: flex;
    justify-content: center;
    color: white;
    background-color: #00335f;
}

.sub-page {
    width: 85%;
    margin: 0 auto;
}

.split-section {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#wrapper > .sub-page > section:nth-child(5) > div > div:nth-child(1) {
    order: 1;
}

@media screen and (max-width: 736px) {

    #wrapper > .sub-page > section:nth-child(5) > div > div:nth-child(1) {
        order: 0;
    }

}

.split-section:nth-of-type(1) {
    margin-top: 0;
}

hr {
    border: 0;
    height: 1px;
    background: #33333342;
    background-image: linear-gradient(to right, #cccccc28, #33333342, #cccccc28);
}


.split-section-wrapper {
    display: flex;
    align-items: center;
}

.split-section-content ul {
    padding-left: 1rem;
}

.split-section-content ul li span {
    font-weight: 600;
}

.split-section-media {
    max-height: 300px;
    overflow: hidden;
    display: flex;
}

.split-section-media img {
    object-fit: cover;
    filter: contrast(0.9)
}

.column {
    width: 50%;
    padding: 2rem;
}

@media screen and (max-width: 1120px) {

    .split-section-wrapper {
        flex-wrap: wrap;
    }
    .column {
       width: 100%;
    }

}