:root {
    --space-6: 7.5rem; /* change to whatever size you want */
}

/* Margin */
.mt-6 {
    margin-top: var(--space-6) !important;
}

.mb-6 {
    margin-bottom: var(--space-6) !important;
}

/* Padding */
.pt-6 {
    padding-top: var(--space-6) !important;
}

.pb-6 {
    padding-bottom: var(--space-6) !important;
}

.py-6 {
    padding-top: var(--space-6) !important;
    padding-bottom: var(--space-6) !important;
}

/* SM */
@media (min-width: 576px) {
    .mt-sm-6 {
        margin-top: var(--space-6) !important;
    }

    .mb-sm-6 {
        margin-bottom: var(--space-6) !important;
    }

    .pt-sm-6 {
        padding-top: var(--space-6) !important;
    }

    .pb-sm-6 {
        padding-bottom: var(--space-6) !important;
    }

    .py-sm-6 {
        padding-top: var(--space-6) !important;
        padding-bottom: var(--space-6) !important;
    }
}

/* MD */
@media (min-width: 768px) {
    .mt-md-6 {
        margin-top: var(--space-6) !important;
    }

    .mb-md-6 {
        margin-bottom: var(--space-6) !important;
    }

    .pt-md-6 {
        padding-top: var(--space-6) !important;
    }

    .pb-md-6 {
        padding-bottom: var(--space-6) !important;
    }

    .py-md-6 {
        /*padding-top: var(--space-6) !important;*/
        /*padding-bottom: var(--space-6) !important;*/
    }
}

/* LG */
@media (min-width: 992px) {
    .mt-lg-6 {
        margin-top: var(--space-6) !important;
    }

    .mb-lg-6 {
        margin-bottom: var(--space-6) !important;
    }

    .pt-lg-6 {
        padding-top: var(--space-6) !important;
    }

    .pb-lg-6 {
        padding-bottom: var(--space-6) !important;
    }

    .py-lg-6 {
        padding-top: var(--space-6) !important;
        padding-bottom: var(--space-6) !important;
    }

    .py-md-6 {
        padding-top: var(--space-6) !important;
        padding-bottom: var(--space-6) !important;
    }
}

/* XL */
@media (min-width: 1200px) {
    .mt-xl-6 {
        margin-top: var(--space-6) !important;
    }

    .mb-xl-6 {
        margin-bottom: var(--space-6) !important;
    }

    .pt-xl-6 {
        padding-top: var(--space-6) !important;
    }

    .pb-xl-6 {
        padding-bottom: var(--space-6) !important;
    }

    .py-xl-6 {
        padding-top: var(--space-6) !important;
        padding-bottom: var(--space-6) !important;
    }
}

/* XXL */
@media (min-width: 1400px) {
    .mt-xxl-6 {
        margin-top: var(--space-6) !important;
    }

    .mb-xxl-6 {
        margin-bottom: var(--space-6) !important;
    }

    .pt-xxl-6 {
        padding-top: var(--space-6) !important;
    }

    .pb-xxl-6 {
        padding-bottom: var(--space-6) !important;
    }

    .py-xxl-6 {
        padding-top: var(--space-6) !important;
        padding-bottom: var(--space-6) !important;
    }
}


.animation {
    &.fade {
        opacity: 0;
        transition: all 0.5s ease;
    }

    &.fade-up {
        opacity: 0;
        transform: translateY(70px);
        transition: all 0.25s ease;
    }

    &.delay {
        transition-delay: 0.3s;
    }

    &.animation-active {
        &.fade {
            opacity: 1;
        }

        &.fade-up {
            opacity: 1;
            transform: translateY(0px);
        }
    }
}


html {
    line-height: 1.6;

    body {
        line-height: 1.6;
    }

    img {
        max-width: 100%;
    }


    h1, h2, h3 {
        line-height: 1.2;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    a {
        text-decoration: none;
        color: #000;

        &:hover, &:focus {
            color: var(--nav-colour);
        }
    }

    p {
        &:last-child {
            margin-bottom: 0;
        }
    }
}

.container .container {
    padding: 0;
}

.scrolled #nav-area {
    background-color: rgba(255, 255, 255, 1) !important;
    z-index: 1000000;
}

#nav-area {
    transition: 0.2s ease background;
    background-color: rgba(255, 255, 255, 0) !important;
}

.navbar {
    background: none !important;
    margin: 0;
    /* border-top: 3px solid var(--primary-colour)!important; */
    /* border-bottom: 3px solid var(--primary-colour)!important; */

    font-size: 1rem;

    #navbar {
        width: 100%;
    }

    #menu-primary-menu {
        /* padding-top:10px; */
        /* column-gap:10px; */
        justify-content: flex-start;
        width: 100%;

        > li {
            background-color: #fff !important;
            border-radius: 0 !important;
            position: relative;
            background: none !important;

            /* &:before {
                content:"";
                position: absolute;
                width: 100%;
                background-color: #fafafa;
                height: 100%;
                top:0;
                left: 0px;
                clip-path: polygon(
            5% 10%,
            9% 8%, 13% 6%, 18% 7%, 23% 9%,
            28% 11%, 34% 10%, 40% 8%, 45% 7%,
            51% 8%, 57% 11%, 63% 13%, 69% 11%,
            75% 8%, 81% 9%, 87% 11%, 92% 13%,
            96% 18%, 99% 25%, 100% 32%,

        
            99% 42%, 97% 50%, 94% 58%, 90% 66%,
            84% 74%, 78% 80%, 71% 84%, 64% 87%,
            56% 90%, 48% 89%, 40% 87%, 33% 88%,
            26% 90%, 20% 87%, 14% 83%, 10% 76%,
            6% 66%, 3% 54%, 1% 46%, 0% 40%
            );
            } */

            > a {
                border-radius: 0 !important;
                position: relative;
                z-index: 1;
                color: #000 !important;
            }
        }
    }

    @media (min-width: 1400px) {
        font-size: 1.2rem;
        #menu-primary-menu {
            > li {
                padding: 10px;
            }
        }
    }
}


#info-area {
    position: relative;
    z-index: 10000;
    min-height: 107px;

    .logo-wrapper {
        img {
            height: 120px;
        }
    }
}

.smaller-balloon {
    transform: scale(0.7) translateX(-30px);
    transform-origin: bottom left;
    z-index: 100;


    position: relative;
    white-space: nowrap;

    @media (min-width: 468px) {
        transform: scale(0.85) translateX(-20px);
        transform-origin: bottom center;
    }
    @media (min-width: 767px) {
        transform: scale(0.85) translateX(-0px);
        transform-origin: bottom right;
    }
    @media (min-width: 1200px) {
        transform: scale(0.85) translateX(-0px) translateY(-30px);
        margin-bottom: -70px;
        margin-top: 15px;
    }
}

.login-button, .register-button, .call-button, .email-button {
    margin-top: 0;
    width: 115px;
    position: relative;

    aspect-ratio: 1;
    /* filter:grayscale(100%); */
    font-weight: bold;
    padding: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;

    &:before {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-55%) translateY(-10%);
        width: 50px;
        height: 100px;
        background-position: top center;
        background-image: url('/wp-content/uploads/wollaston-string-only.svg');
        background-repeat: no-repeat;
    }

    &:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-position: top center;
        background-image: url('/wp-content/uploads/wollaston-balloon-only.svg');
        background-size: 100% 100%;
    }

    &:hover, &:focus {

        &:after {
            background-image: url('/wp-content/uploads/wollaston-balloon-hover-only.svg');
        }

        &:before {
            background-image: url('/wp-content/uploads/wollaston-string-hover-only.svg');
        }

    }

    > a, > span {
        /* font-size: 1.4rem; */
        color: #fff;

        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    span, a {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    span, a {
        position: relative;
        z-index: 1;
    }


    &:hover, &:focus {
        filter: grayscale(0%);
    }
}

.register-button {
    transform: translateX(30px);

    &:before, &:after {
        transform: rotate(23deg);
    }

    &:before {
        left: -9%;
        top: 80%;
    }
}

.login-button {
    transform: translateX(40px);

    &:before, &:after {
        transform: rotate(-30deg);
    }

    &:before {
        left: 65%;
        top: 80%;
    }
}

.call-button {
    transform: translateX(125px) translateY(50px);

    &:before, &:after {
        transform: rotate(-60deg);
    }

    &:before {
        left: 65%;
        top: 80%;
        margin-top: -43px;
        margin-left: 8px;
        height: 120px;
        background-image: url('/wp-content/uploads/wollaston-string-long-only.svg');
    }

    &:after {
        width: 60px;
    }


    &:hover, &:focus {
        &:before {
            background-image: url('/wp-content/uploads/wollaston-string-long-hover-only.svg');
        }
    }


    a {
        margin-left: -3.4rem;
        font-size: 1.4rem;
    }
}

.email-button {
    transform: translateX(0px) translateY(60px);

    &:before, &:after {
        transform: rotate(60deg);
    }

    &:before {
        left: 65%;
        top: 80%;
        margin-top: -53px;
        margin-left: -156px;
        height: 120px;
        background-image: url('/wp-content/uploads/wollaston-string-long-only.svg');
    }

    &:after {
        width: 60px;
    }

    &:hover, &:focus {
        &:before {
            background-image: url('/wp-content/uploads/wollaston-string-long-hover-only.svg');
        }
    }

    a {
        margin-left: -3.4rem;
        font-size: 1.4rem;
    }
}

#footer-area {
    font-size: 0.85rem;

    a {
        padding: 0 !important;
    }

    ul {
        text-align: center;
        width: 100%;
        column-count: 1;
        display: block;
    }

    @media (min-width: 992px) {
        ul {
            text-align: left;
            column-count: 2;
        }
    }

    #menu-secondary-menu {
        li {
            margin-bottom: 0.5em;

            &:last-child {
                margin-bottom: 0;
            }
        }
    }

    .bottom-bar {
        background-color: #fff;
        color: #000;

        ul {
            display: flex;
            flex-direction: row;
            column-gap: 30px;

            li {


            }
        }

        a {
            color: #000;
        }

        i {
            padding-right: 8px;
        }
    }

    .content-wrapper {
        height: 100%;
        display: flex;
        align-items: flex-end;
        flex-direction: column;
        justify-content: flex-end;
        font-size: 1rem;
    }

    .social-media {
        display: flex;
        column-gap: 15px;

        img {
            height: 60px;
        }
    }

}


.scrolled .hero figure {


}

.hero {
    position: relative;
    z-index: 100;

    figure, img {
        /* mask: url('/wp-content/uploads/hero-mask.png') center / 100% 100% no-repeat; */
        margin-bottom: 0;
        width: 100%;
        aspect-ratio: 1.5;
        object-fit: cover;


    }

    figure {

        position: relative;
        transition: 0.5s ease all;
    }

    .s9-wrapper {
        position: absolute;
        bottom: 0;
        padding: 15px;
        color: #fff;

        * {
            color: #fff;
        }
    }

    @media (min-width: 992px) {
        img, figure {
            aspect-ratio: 3;

        }

        figure {
            z-index: 100;

            /* clip-path: polygon(
                54% -2%, 56% 0%, 58% 3%, 59% 8%, 61% 15%, 63% 23%, 64% 34%,
                62% 42%, 60% 50%, 58% 58%, 57% 65%, 55% 74%, 54% 82%, 53% 88%,
                52% 92%, 51% 95%, 50% 97%, 48% 98%, 46% 99%, 44% 99%, 42% 99%,
                40% 100%, 37% 100%, 34% 99%, 30% 98%, 25% 98%, 20% 98%, 15% 99%,
                10% 100%, 0% 100%, 0% 0%
            ); */


            clip-path: polygon(44% -2%, 71.98% -0.31%, 72.33% 10.23%, 70.29% 24.39%, 68.92% 38.51%, 64.78% 43.47%, 63.42% 55.31%, 61.27% 62.58%, 61.17% 74.86%, 60.38% 84.71%, 56.73% 93.1%, 53.81% 92.65%, 52.16% 95.68%, 50.13% 97.1%, 48.06% 99.05%, 46.28% 98.92%, 42.72% 98.88%, 39.26% 100.2%, 36% 99%, 34% 99%, 32% 99%, 30% 100%, 27% 100%, 24% 99%, 20% 98%, 15% 98%, 10% 98%, 5% 99%, 0.06% 97.26%, 0% 0%);


            /*    changed from this one         clip-path: polygon(
              34% -2%,
              57.29% -1.1%,
              57.51% 6.13%,
              56.32% 14.43%,
              55.27% 24.25%,
              52.89% 31.94%,
              50.81% 40.27%,
              46.97% 50.47%,
              44.66% 63.34%,
              44.65% 75.73%,
              43.8% 85.09%,
              42.63% 90.31%,
              41.64% 93.14%,
              40.06% 95.54%,
              37.8% 96.71%,
              36.28% 98.92%,
              32.72% 98.88%,
              29.26% 100.2%,
              26% 99%,
              24% 99%,
              22% 99%,
              20% 100%,
              17% 100%,
              14% 99%,
              10% 98%,
              5% 98%,
              0% 98%,
              -5% 99%,
              -20% 100%,
              -20% 0%
            ); */
        }
    }


    @media (min-width: 1200px) {
        figure {
            transform: translateX(-2px);
            clip-path: polygon(44% -2%, 83.73% -0.31%, 84.68% 8.85%, 83.02% 22.63%, 82.49% 40.06%, 79.78% 46.60%, 78.69% 55.91%, 77.05% 63.76%, 74.41% 68.22%, 73.35% 81%, 64.94% 90.17%, 53.81% 92.65%, 52.16% 95.68%, 50.13% 97.1%, 48.06% 99.05%, 46.28% 98.92%, 42.72% 98.88%, 39.26% 100.2%, 36% 99%, 34% 99%, 32% 99%, 30% 100%, 27% 100%, 24% 99%, 20% 98%, 15% 98%, 10% 98%, 5% 99%, 0.06% 97.26%, 0% 0%);

            /* mine		  clip-path: polygon(44% -2%, 71.98% -0.31%, 72.33% 10.23%, 70.29% 24.39%, 68.92% 38.51%, 64.78% 43.47%, 63.42% 55.31%, 61.27% 62.58%, 61.17% 74.86%, 60.38% 84.71%, 56.73% 93.1%, 53.81% 92.65%, 52.16% 95.68%, 50.13% 97.1%, 48.06% 99.05%, 46.28% 98.92%, 42.72% 98.88%, 39.26% 100.2%, 36% 99%, 34% 99%, 32% 99%, 30% 100%, 27% 100%, 24% 99%, 20% 98%, 15% 98%, 10% 98%, 5% 99%, 0.06% 97.26%, 0% 0%); */

            /*          clip-path: polygon(
                        44% -2%,
                        67.29% -1.1%,
                        67.51% 6.13%,
                        66.32% 14.43%,
                        65.27% 24.25%,
                        62.89% 31.94%,
                        60.81% 40.27%,
                        56.97% 50.47%,
                        54.66% 63.34%,
                        54.65% 75.73%,
                        53.8% 85.09%,
                        52.63% 90.31%,
                        51.64% 93.14%,
                        50.06% 95.54%,
                        47.8% 96.71%,
                        46.28% 98.92%,
                        42.72% 98.88%,
                        39.26% 100.2%,
                        36% 99%,
                        34% 99%,
                        32% 99%,
                        30% 100%,
                        27% 100%,
                        24% 99%,
                        20% 98%,
                        15% 98%,
                        10% 98%,
                        5% 99%,
                        0% 100%,
                        0% 0%
                        ); */
        }
    }
    @media (min-width: 1700px) {
        img, figure {
            aspect-ratio: 3;
        }

        figure {
            z-index: 100;
            clip-path: polygon(44% -2%, 86.07% -2.46%, 87.68% 11.59%, 88.43% 26.33%, 86.98% 42.79%, 84.53% 49.33%, 84.55% 63.33%, 81.09% 72.55%, 79.49% 87.55%, 71.85% 91.54%, 64.77% 95.25%, 55.11% 94.21%, 52.16% 95.68%, 50.13% 97.1%, 48.06% 99.05%, 46.28% 98.92%, 42.72% 98.88%, 39.26% 100.2%, 36% 99%, 34% 99%, 32% 99%, 30% 100%, 27% 100%, 24% 99%, 20% 98%, 15% 98%, 10% 98%, 5% 99%, 0.06% 97.26%, 0% 0%);


            /*              clip-path: polygon(54% -2%, 77.29% -1.1%, 77.51% 6.13%, 76.32% 14.43%, 75.27% 24.25%, 72.89% 31.94%, 70.81% 40.27%, 66.97% 50.47%, 64.66% 63.34%, 64.65% 75.73%, 63.8% 85.09%, 62.63% 90.31%, 61.64% 93.14%, 60.06% 95.54%, 57.8% 96.71%, 56.28% 98.92%, 52.72% 98.88%, 49.26% 100.2%, 46% 99%, 44% 99%, 42% 99%, 40% 100%, 37% 100%, 34% 99%, 30% 98%, 25% 98%, 20% 98%, 15% 99%, 10% 100%, 0% 100%, 0% 0%); */
            /* clip-path: polygon(
                54% -2%, 56% 0%, 58% 3%, 59% 8%, 61% 15%, 63% 23%, 64% 34%,
                62% 42%, 60% 50%, 58% 58%, 57% 65%, 55% 74%, 54% 82%, 53% 88%,
                52% 92%, 51% 95%, 50% 97%, 48% 98%, 46% 99%, 44% 99%, 42% 99%,
                40% 100%, 37% 100%, 34% 99%, 30% 98%, 25% 98%, 20% 98%, 15% 99%,
                10% 100%, 0% 100%, 0% 0%
            ); */
        }
    }
}
@media (max-width: 425px) {
    .splat {
        &.pos-1 {
            bottom: 0;
        }
    }
}

.splat {
    &.pos-1 {
        bottom: 50px;
        right: 4%;
        transform: rotate(-10deg);
    }

    &.pos-2 {
        bottom: 60px;
        left: 50px;
        transform: rotate(-10deg);
    }

    &.splat-1 {
        color: #000;

        width: 230px !important; /* 380 */
        height: 180px !important; /* 250 */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 50px 50px !important;
        /* background-size: 100% 100%; */
        /* background-image: url('/wp-content/uploads/splat-1.png'); */
        mask: url('/wp-content/uploads/splat-1.png') center / 100% 100% no-repeat;
        background-color: #42676f;

        font-size: 1.2rem;
        /* filter: grayscale(100%) sepia(100%) hue-rotate(0deg) saturate(200%) hue-rotate(90deg) brightness(75%); */

        h2 {
            font-size: 1.6rem;
        }

        @media (min-width: 1400px) {
            width: 430px;
            height: 300px;
        }


    }

    &.color-1 {
        opacity: 0.7;

        * {
            color: #fff !important;
        }

        &:hover {
            opacity: 1;
        }
    }

    *:has(>a) {
        display: flex;
        height: 100%;
        width: 100%;
        justify-content: center;
        align-content: center;
        flex-wrap: wrap;
    }

    a {
        display: flex;
        height: 100%;
        width: 100%;
        justify-content: center;
        align-content: center;
        flex-wrap: wrap;
    }

    @media (max-width: 767px) {
        position: relative !important;
        margin: 0 auto !important;
        margin-top: 0 !important;
        max-width: 100% !important;
        transform: translateX(10%) rotate(-10deg) !important;

    }
}


.tab-wrapper {
    position: relative;
    border-radius: 30px;
    padding: 30px 30px 30px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 20px 0;
    height: 100%;
    background-color: #fff;
    color: #000;


    &:has(.btn-wrapper) {
        padding: 30px 30px 100px;
    }

    .btn-wrapper {
        margin-top: 1rem;
        position: absolute;
        bottom: 1.5rem;
        text-align: center;

    }

}

.btn-wrapper .btn, .cta {
    padding: 25px 60px 15px;
    color: white;
    mask: url('/wp-content/uploads/cta-mask.png') center / 100% 100% no-repeat;
    /* border-radius: 30px; */
    /*     opacity: 1!important; */
    transition: 0.5s ease all;
    font-size: 1.2rem;
    font-family: 'Grandstander';
    /*     opacity: 0.7!important; */


    &:hover, &:focus {
        opacity: 1 !important;


        /* mask: url('/wp-content/uploads/splat-1.png') center / 180% 180% no-repeat; */
    }
}


.height-offset-1 {

    height: auto;
    min-height: calc(100% - 6rem);

    @media (min-width: 992px) {
        transform: translateY(3rem);
    }
}


.theme-1 {
    background: var(--primary-colour);
    color: #fff;

    h1, h2, h3 {
        color: #fff;
    }
}

.theme-2 {
    background: #fafafa;
}

#content-area {
    overflow: hidden;

    > .container, > .container-fluid {
        margin: 0;
        padding: 0;

        > .row {
            margin: 0;
            padding: 0;

            > .col {
                margin: 0;
                padding: 0;
            }
        }
    }
}


.image-full {
    figure, img {
        width: 100%;
    }
}

.has-small-font-size {
    font-size: 0.8rem;
}

.has-medium-font-size {
    font-size: 1.2rem;
}

.has-large-font-size {
    font-size: 1.4rem;
}

.scrolled-change {
    transition: 0.5s 0.1s ease all;
    opacity: 0 !important;
    margin-top: 60px !important;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;

    &:hover {
        z-index: 1000;
    }

    opacity: 0.7 !important;
    margin-top: 0 !important;
    transition: 0.2s ease all;

    &:hover, &:focus {
        opacity: 1 !important;
    }
}

/* .scrolled .scrolled-change {
   
} */


.image-mask {
    border-radius: 15px;
    overflow: hidden;

    img {
        mask: url('/wp-content/uploads/splat-2.png') center / 85% 85% no-repeat;
        transition: all 0.5s ease;
        transition-delay: 1s;
    }

    &.mask-1 {
        img {
            mask: url('/wp-content/uploads/splat-3.png') center / 85% 85% no-repeat;
        }
    }

    &.animation-active {
        img {
            mask-size: 160% 240%;
            mask-size: 260% 340%;

            &:hover, &:focus {
                /* transition-delay: 0s; */
                /* mask-size: 240% 290%; */
            }

            &.mask-1 {
                mask-size: 100% 150%;
                mask-size: 200% 350%;

                &:hover, &:focus {
                    /* transition-delay: 0s; */
                    /* mask-size: 240% 290%; */
                }
            }

        }

    }
}

.home-tab-wrapper {
    transition: 0.5s ease all;

    .masked {
        /* background-color: #936b3a; */
        background-color: #a28679 !important;
    }

    .btn.btn-primary {
        background-color: #a28679 !important;
    }

    @media (min-width: 767px) and (max-width: 1199px) {
        display: flex;
        column-gap: 30px;
        align-items: center;
        padding: 30px 30px 30px !important;
        transform: translateY(0rem) !important;

        * {
            text-align: left !important;
        }

        .btn-wrappers {
            margin-top: 30px;
            justify-content: flex-start !important;
        }

        .btn-wrapper {
            position: relative;
        }

        .s9-wrapper:first-child {
            margin-top: 0 !important;
            width: 33%;
        }

        .s9-wrapper:nth-child(2) {
            flex: 1;
        }
    }

    @media (min-width: 992px) {
        &:hover {
            transform: scale(1.05);
            transform-origin: center center;

            &.height-offset-1 {
                transform: scale(1.05) translateY(3rem);
            }
        }
    }


}

.masked {
    display: flex;
    justify-content: center;
    mask-size: 100%;
    height: 150px;
    width: 150px;
    background-color: #000;
    margin: 0 auto;

    &.sunset {
        mask: url('https://wollastonpreschool.dev.seventy9.co.uk/wp-content/uploads/tree.svg') center / auto 100% no-repeat;
        background-color: #936b3a;
    }

    &.breakfast {
        mask: url('https://wollastonpreschool.dev.seventy9.co.uk/wp-content/uploads/location.svg') center / auto 100% no-repeat;
        background-color: #936b3a;
    }

    &.after-school {
        mask: url('https://wollastonpreschool.dev.seventy9.co.uk/wp-content/uploads/music.svg') center / auto 100% no-repeat;
        background-color: #936b3a;
    }
}

#footer-area {
    .logo-wrapper {
        img {
            height: 150px;
            background-color: #fff;
            padding: 10px;
        }
    }
}

.navbar {
    z-index: 10;
    position: relative;
    @media (max-width: 1200px) {
        margin-top: 15px;
        text-align: center;
        * {
            text-align: center;
        }

        background: #bda9a0 !important;
    }
}

.navbar-toggler {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    order: -1;
    width: 100%;
    border: 0;
    margin-top: 0;
    padding-block: 15px;
}


#info-area {
}

#nav-area {
}

#banner-area {
}

#content-area {
}

#footer-top-area {
}

#footer-area {
}

@media (max-width: 576px) {
}

@media (max-width: 768px) {
}

@media (max-width: 992px) {
}

@media (max-width: 1200px) {
}

@media (max-width: 1400px) {
}

/*  Global css */
ul {
    margin-bottom: 0 !important;
}


img {
    border-radius: 12px;
}

ul {
    padding-left: 20px;
}

ol {
    padding-left: 20px;
}

ul li:first-child {
    padding-left: 0;
    margin-left: 0;
}

.yellow-heading {
    color: #E6BD54;
}

.red-heading {
    color: #874650;
}

.global-whole-page-container {
    background-color: #f5dcba30 !important;
}

.purple-background {
    background-color: #696A7F;
}

.green-background {
    background-color: #676C4E;
}

.red-background {
    background-color: #874650;
}

.purple-heading {
    color: #696A7F;
}

.green-heading {
    color: #676C4E
}


/* ------------------------------------------------------Header draft css --------------------------------------------------------------------- */


.margin-bottom-100 {
    margin-bottom: 100px;
}

.smaller-balloon2 {
    transform: scale(0.5) translateX(-0px) translateY(-30px);
    margin-bottom: -70px;
    margin-top: 15px;
}

.call-button2 {
    margin-top: 0;
    width: 100px;
    position: relative;
    aspect-ratio: 1;
    /* filter: grayscale(100%); */
    font-weight: bold;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
}

.call-button2 {
    &:before, &:after {
        transform: rotate(-60deg);
    }
}

.call-button2 {
    &:before {
        content: "";
        position: absolute;
        top: 120%;
        left: 310%;
        transform: translateX(-55%) translateY(-10%);
        width: 50px;
        height: 100px;
        background-position: top center;
        background-image: url(/wp-content/uploads/wollaston-string-only.svg);
        background-repeat: no-repeat;
    }
}

.call-button2 {
    &:after {
        content: "";
        position: absolute;
        top: 110%;
        left: 230%;
        width: 50%;
        height: 100%;
        background-position: top center;
        background-image: url(/wp-content/uploads/wollaston-balloon-only.svg);
        background-size: 100% 100%;
    }
}

.call-button2 {
    &:before, &:after {
        transform: rotate(-85deg);
    }
}


.email-button2 {
    margin-top: 0;
    width: 115px;
    position: relative;
    aspect-ratio: 1;
    /* filter: grayscale(100%); */
    font-weight: bold;
    padding: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
}

.email-button2 {
    &:before {
        left: 25%;
        top: 200%;
        margin-top: -53px;
        margin-left: -250px;
        height: 120px;
        background-image: url(/wp-content/uploads/wollaston-string-long-only.svg);
    }
}

.email-button2 {
    &:before {
        content: "";
        position: absolute;
        top: 160%;
        left: 50%;
        transform: translateX(-55%) translateY(-10%);
        width: 50px;
        height: 100px;
        background-position: top center;
        background-image: url(/wp-content/uploads/wollaston-string-only.svg);
        background-repeat: no-repeat;
    }
}

.email-button2 {
    &:before, &:after {
        transform: rotate(90deg);
    }
}

.email-button2 {

    &:after {
        content: "";
        position: absolute;
        top: 100%;
        right: 160%;
        width: 40%;
        height: 100%;
        background-position: top center;
        background-image: url(/wp-content/uploads/wollaston-balloon-only.svg);
        background-size: 100% 100%;
    }

}

.email-button2 {
    &:before, &:after {
        transform: rotate(80deg);
    }
}

/*-------------------------------------------------------------------------H4 Bolder colors  -----------------------------------------------------------------------------*/

.whole-page {
    background-color: #f5dcba30;
}

.home-banner {
    background-color: #676C4E;
}


.hero-image {
    position: relative;
    object-fit: cover;
    width: 100vw;
    max-width: 100%;
    width: 1920px;
    height: 500px !important;
    border-radius: 15px;
}


.hero-title {
    position: absolute;
    left: 65%;
    top: 136%;
    left: 10%;
    z-index: 2;
    font-size: 45px;
    color: #E6BD54;
    font-family: 'Grandstander' !important;
    text-shadow: 5px 5px 5px #2A2A2C;
    background-color: #29443D90;
    padding: 0 40px;
    border-radius: 15px;
    box-shadow: 2px 2px 4px gray;
    min-width: 80%;
    text-align: center;
}

.welcome-heading {
    padding-top: 30px;
    color: #E6BD54;
}

.welcome-section {
    background-color: #5D3037;
    border-radius: 15px;
    padding: 20px;
    margin-left: 10px;
}


.about-section {
    margin-top: 250px;

}

.welcome-section {
    box-shadow: 4px 4px 10px darkgray;
}

.col-container {
    background-color: darkgray !important;
}

.sunrise-col {
    background-color: #72687380;
}

.breakfast-col {
    background-color: #676C4E80;
}

.after-col {
    background-color: #8E4C3C80;
}


.learn-container {
    background-color: #696A7F;
    margin: 0 100px 0 100px;
    border-radius: 30px;
}

.learn-text {
    color: white;
    padding-right: 50px;
}

.parents-container {
    padding-top: 60px;
    background-color: #676C4E;
    margin: 0 100px 0 100px;
    border-radius: 30px;

}


.h4-proud-container {
    background-color: #5D3037 !important;
}


/* ---------------------------------  Footer  ------------------------------------------ */

.footer-top {
    position: relative;
    margin-top: 200px;


}

.hills-balloon {
    width: 100%;
    height: auto !important;
    opacity: 1 !important;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;

}

.logo-balloon {
    width: 105px;
    position: absolute;
    /* 	changed from just left 46% */
    left: 50%;
    transform: translateX(-50%);

    padding-top: 50px;
    max-width: none !important;
    z-index: 10;
    margin-top: -220px;

}

.hills-balloon {
    display: none !important;
}

footer {
    position: relative;
    z-index: 10;

    &:before {
        content: "";
        background-image: url('https://wollastonpreschool.dev.seventy9.co.uk/wp-content/uploads/hills-only.jpg');
        position: absolute;
        width: 100%;
        top: -180px;
        height: 300px;
        left: 0;
        background-size: 100% 100%;
        /*MAIN IMAGE*/
    }

    &:after {
        content: "";
        position: absolute;
        bottom: 0;
        width: 100%;
        background: #42676f;
        height: calc(100% - 160px);
        left: 0;
        /*Bottom Bar */
    }

    > div {
        position: relative;
        z-index: 1;
    }

    /* 	padding-top: 100px !important; */
    padding-left: 110px;
    padding-right: 110px;
    margin-top: 280px;
    background: #42676F;
    z-index: 5 !important;
}

.Wollaston-heading {
    font-weight: 400 !important;
}

.footer-links {
    overflow-wrap: anywhere;
}

.footer-links:hover {
    /*  	color: #A81410 !important;   */
    color: #E6BD54 !important;
    cursor: pointer !important;
    /* 	color: #B31511 !important; */

}

.footer-url {
    & li {
        font-weight: 400;
        font-size: 16px;

    }
}

.ofsted {
    padding: 8px !important;
    width: 215px;
    height: 120px;
    border-radius: 20px;
}

.bottom-bar-1 {
    background: white !important;
    color: #42676F !important;

}

/* ----------------------------------------------------------------------  Final Homepage ------------------------------------------------------------------------------- */


.dropdown-menu:hover {
    .nav-item:hover {
        /* 		background-color: rgb(220, 31, 38) !important; */
        /* 		background-color: #A81410 !important; */
        background-color: #DC1F26 !important;
    }
}

.home-tab-wrapper {
    .btn.btn-primary:hover {
        background-color: rgb(66, 103, 111) !important;
    }
}


.whole-page-container {
    background-color: #f5dcba30 !important;
}

.register {
    text-wrap: balance;
}

figure {
    margin-bottom: 0;
}


.container1 {
    /*   background-color: #874650 !important;  */
    background-color: transparent !important;
    border-radius: 30px;
    padding: 70px 100px 70px 100px;

    margin: 0 100px;
    display: flex;
    align-content: center !important;

    & .welcome-p {
        color: black !important;
    }

    & p {
        color: white !important;
    }

    &.learn {
        background-color: #696A7F !important;
    }

    &.parents {
        background-color: #676C4E !important;
    }
}

@media (min-width: 1200px) {
    .container1 {
        background-color: transparent !important;
        border-radius: 30px;
        padding: 70px 100px 70px 100px;
        margin-right: 100px !important;
        margin-left: 100px !important;
        display: flex;
        align-content: center !important;

        & p {
            color: white !important;
        }

        &.learn {
            background-color: #696A7F !important;
        }

        &.parents {
            background-color: #676C4E !important;
        }
    }
}

@media (min-width: 768px) {
    .container1 {
        background-color: transparent !important;
        /*   background-color: #994F5B !important;  */
        border-radius: 30px;
        padding: 70px 100px;
        margin: 0 35px;
        display: flex;
        align-content: center !important;


        & p {
            color: white !important;
        }

        &.learn {
            background-color: #696A7F !important;
        }

        &.parents {
            background-color: #676C4E !important;
        }


    }
}
@media (max-width: 768px) {
    .container1 {
        padding: 40px 30px;
        margin: 50px 40px;
    }

}

@media (max-width: 426px) {
    .col-container {
        background-color: #f5dcba09 !important;
        margin-top: -100px;
    }

    .welcome {
        margin-top: -50px !important;
    }
    .container1 {
        margin: 0 12px;
    }
    .learn {
        margin-top: 50px !important;
    }
    .parents {
        margin-top: 50px;
    }
    .proud-container {
        margin-top: 50px;
    }

}





.heading {
    color: #874650 !important;
    padding-bottom: 20px;

}

.proud-heading {
    color: #E6BD54 !important;
    font-weight: bold;
}

.col-heading {
    color: #E6BD54 !important;
}

@media (min-width: 1200px) {
    .col-container {
        background-color: #f5dcba09 !important;
        margin-top: -100px;
        margin-bottom: -15px;
    }
}
@media (min-width: 866px) and (max-width:990px) {
    .col-container {
        background-color: #f5dcba09 !important;
        margin-top: -30px;
    }
}
@media (min-width: 991px) and (max-width: 1199px) {
    .col-container {
        background-color: #f5dcba09 !important;
        margin-top: -150px;
    }

    .learn {
        margin-top: -70px !important;
    }

    .parents {
        margin-top: 50px !important;
    }
}
@media (min-width: 768px) and (max-width: 865px) {
    .col-container {
        background-color: #f5dcba09 !important;
        margin-top: -30px;
    }
    .learn {
        margin-top: 50px !important;
    }

    .parents {
        margin-top: 50px !important;
    }
}
@media (min-width: 425px) and (max-width: 767px) {
    .col-container {
        background-color: #f5dcba09 !important;
       margin-top: -60px;
    }
    .learn {
        margin-top: 50px !important;
    }

    .parents {
        margin-top: 50px !important;
    }
}

/*@media (max-width: 768px) {*/
/*    .learn-img {*/
/*        display: flex;*/
/*        justify-content: center;*/
/*    }*/
/*}*/



.sunrise-col-bg {
    background-color: #726873;
    color: white;
}

.breakfast-col-bg {
    background-color: #676C4E;
    color: white;
}

.after-col-bg {
    background-color: #874650;
    color: white;
}

.sunset-col:hover {
    .sunset-masked {
        /* 		background-color: rgb(66, 103, 111) !important; */
        background: linear-gradient(154deg, rgba(112, 125, 75, 1) 0%, rgba(181, 189, 145, 1) 82%);


    }

    .breakfast-icon {
        /* 			background-color: #8F4C3B!important; */
        background: linear-gradient(154deg, rgba(161, 85, 89, 1) 0%, rgba(222, 169, 169, 1) 82%);

    }

    .school-club {
        /* 		background-color: rgb(105, 106, 128) !important; */
        background: linear-gradient(154deg, rgba(98, 108, 161, 1) 0%, rgba(173, 173, 217, 1) 82%);
    }
}

.star-col:hover {
    .star1 {
        color: rgb(220, 31, 38) !important;
    }
}

.proud-container {
    background-color: #874650 !important;
    /* 	background-color: #994F5B !important; */
}


.about-us-button {
    & a {
        /* 		background-color: #9A9BBA!important; */
        /* 		background: linear-gradient(154deg,rgba(154, 155, 186, 1) 0%, rgba(202, 202, 230, 1) 82%); */
        background: linear-gradient(154deg, rgba(98, 108, 161, 1) 0%, rgba(173, 173, 217, 1) 82%);
        background-size: 200% 100%;
        transition: background-position 0.9s ease;
        color: white !important;
        font-weight: 500 !important;
    }
}


.learn-button {
    & a {
        /* 		background-color: #949C70 !important; */
        /* 		background: linear-gradient(154deg,rgba(148, 156, 112, 1) 0%, rgba(210, 217, 193, 1) 82%); */
        background: linear-gradient(154deg, rgba(112, 125, 75, 1) 0%, rgba(181, 189, 145, 1) 82%);
        background-size: 200% 100%;
        transition: background-position 0.9s ease;
        color: white !important;
        font-weight: 500 !important;
    }
}


.parent-button {
    & a {
        /* 		background-color: #B85F6D!important; */
        /* 		background: linear-gradient(294deg,rgba(255, 179, 186, 1) 0%, rgba(184, 95, 109, 1) 91%); */
        /* 		background: linear-gradient(154deg,rgba(150, 65, 79, 1) 0%, rgba(194, 141, 142, 1) 82%); */
        background: linear-gradient(154deg, rgba(161, 85, 89, 1) 0%, rgba(222, 169, 169, 1) 82%);
        background-size: 200% 100%;
        transition: background-position 0.9s ease;
        color: white !important;
        font-weight: 500 !important;

    }
}


.concern {
    color: #446670;
}


/* ----------------------------------------------------------------------Policies---------------------------------------------------------------------------- */

.whole-page-container-policies {
    background-color: #f5dcba30 !important;
}

.container-policies {
    border-radius: 30px !important;
    padding: 40px 50px;
    color: white;
}

.purple-background {
    background-color: #696A7F;
}

.green-background {
    background-color: #676C4E;
}

.red-background {
    background-color: #874650;
}

.policy-links {
    color: white !important;
    text-decoration: underline;
    overflow-wrap: anywhere;


    & a {
        color: white !important;
        text-decoration: underline;
    }

    & a:hover {
        color: #E6BD54 !important;
    }
}

.policy-links:hover {
    color: #E6BD54 !important;
}

.letters-bullet-points {
    list-style-type: lower-alpha;
}

@media (min-width: 992px) {
    .PDF-btn {
        margin-left: 100px;
    }

    .indent {
        padding-left: 100px;
        text-indent: -100px;
    }

    .container-policies {

        border-radius: 30px !important;
        padding: 70px 100px;
        color: white;
    }

    .px-100 {
        padding: 0 100px !important;
    }

    .ps-100 {
        padding-left: 100px !important;
    }
}

.px-100 {
    padding: 0 50px;
}

.ps-100 {
    padding-left: 0;
}

.btn-PDF-div {
    margin: 10px 0 !important;
}

.btn-PDF-policy {
    color: white;
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
    background-color: #416A70;

    & a {
        color: white !important;
    }
}

.btn-PDF-policy:hover {
    background-color: #DC1F26;

}

.text-wrap {
    text-wrap: wrap !important;
}


/* --------------------------------------------------------------Meet the team page ---------------------------------------------------------------------- */
.mx-100 {
    margin: 0 100px;
}

.me-25 {
    margin-right: 25px;
}

.team-col .col-left, .team-col .col-right {
    transition: all 0.1s ease;
    background: #696A7F;
    border-radius: 20px;

}

.team-col:hover .col-left, .team-col:hover .col-right {
    background: #696A7F;


}

.image-container {
    display: flex;
    justify-content: center !important;
    align-items: center;
    padding: 40px 20px;
    opacity: 0.93;
}


.image-container2 {
    padding: 40px 35px;
    opacity: 0.9;
}


.team-col2 .col-left2, .team-col2 .col-right2 {
    transition: all 0.1s ease;
    background: #676C4E;
    border-radius: 20px;

}

.team-col2:hover .col-left2, .team-col2:hover .col-right2 {
    background: #676C4E;
}

.team-col3 {
    transition: all 0.1s ease;
    background: #874650;
    border-radius: 20px;

}

.team-col4 {
    transition: all 0.1s ease;
    background: #696A7F;
    border-radius: 20px;
}

.red-border {
    border: 12px solid #874650;
    border-radius: 15px;
}

.purple-border {
    border: 12px solid #696A7F;
    border-radius: 15px;
}

.green-border {
    border: 12px solid #676C4E;
    border-radius: 15px;
}

.p-staff {
    margin-top: -10px !important;
    padding-bottom: 10px;

}

.staff-card {
    position: relative;
    overflow: hidden;


    & img {
        border-radius: 3px !important;
    }
}

.staff-info {

    position: absolute;
    inset: 0;
    top: 0;
    border: 3px solid transparent;
    color: white;
    text-wrap: balance !important;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 20px;
    border-radius: 15px;

    transform: translateY(130%);
    transition: 0.4s ease;
}

.staff-card:hover .staff-info {
    transform: translateY(0);
    transition-duration: 1s;

}

.title-wrapper {
    text-align: center !important;
    display: flex;
    justify-content: center !important;
}


.staff-text {
    text-wrap: wrap;
    font-size: 14px;
}

.staff-title {
    font-family: "verdana";
    color: white;
    font-size: 16px;
}

.staff-info2 {
    height: 700px;
}

@media (min-width: 768px) {

    .staff-text {
        font-size: 13px;
    }
}

@media (min-width: 1200px) {
    .staff-text {
        font-size: 14px;
    }
}


/* -----------------------------------------------------------------------Registration form -------------------------------------------------------*/

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

.checkbox-container input {
    margin-right: 20px;
}

textarea {
    width: 100% !important;
    height: 35px;
    box-sizing: border-box;
    padding: 3px 5px;
}

.reg-text-area {
    margin-top: 10px;
}

.term-dates-table {
    border: 2px solid black;

}

.emphasised-text {
    color: red;
    background: white;
    border-radius: 15px;
    padding: 10px 15px;
}

.submit-button {
    padding: 25px 60px 15px;
    color: white;
    mask: url('/wp-content/uploads/cta-mask.png') center / 100% 100% no-repeat !important;
    transition: 0.5s ease all;
    font-size: 1.2rem;
    font-family: 'Grandstander';
    background-color: #42676F;

    &:hover, &:focus {
        opacity: 0.8 !important;
    }
}

#scrollUpBtn {
    display: none;
    position: fixed;
    bottom: 45px;
    right: 15px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #E6BD54;
    color: white;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 700;
}


#scrollUpBtn:hover {
    background-color: #42676F;
}
/*--------------------------------------------------Reg-Form responsiveness-------------------------------------*/
input::placeholder {
    font-size: 14px;
}

@media (min-width: 1399px) {

    input::placeholder {
        font-size: 14px;
    }
}
input {
    padding: 5px 0 5px 3px;

}




/*------------------Using form1 field1 classes----------------------*/
.form-row1 {
    display: flex;
    gap: 20px;
    align-items: center;
}

@media (max-width: 1200px) {
    .form-row1 {
        flex-direction: column;
        align-items: start;
    }
    .label1, .label2 {
        display: flex;
        flex-direction: column;
    }
    .field1 input {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .label1 {
        display: flex;
        flex-direction: column;
        width: 50%;
    }
}

@media (max-width: 768px) {
    .label1 {
        width: 100%;
    }
}


/* ------------------------------------------------------------------------British values---------------------------------------------------------------------- */

@media only screen and (min-width: 768px) {
    .BV-col-1 {
        border-radius: 15px;
        background: #676C4E;

    }

    /* Green container borders */
    .BV-col-left {
        border-right: 1px solid #B6BF8A !important;
        padding-right: 30px;
        padding-bottom: 40px;
    }

    .BV-col-right {
        border-left: 1px solid #B6BF8A !important;
        padding-left: 40px;
        padding-bottom: 40px
    }

    .PSED-columns {
        border-top: 2px solid #B6BF8A !important;
    }

    .PSED-col-left {
        border-right: 1px solid #B6BF8A !important;
        padding-top: 40px;
        padding-right: 30px;
        padding-bottom: 40px;
    }

    .PSED-col-right {
        border-left: 1px solid #B6BF8A !important;
        padding-top: 40px;
        padding-left: 40px;
        padding-bottom: 40px;
    }

    /* Red container borders */

    .BV-col-left-red {
        border-right: 1px solid #D16C7C !important;
        padding-right: 30px;
        padding-bottom: 40px;
    }

    .BV-col-right-red {
        border-left: 1px solid #D16C7C !important;
        padding-left: 40px;
        padding-bottom: 40px
    }

    .PSED-columns-red {
        border-top: 2px solid #D16C7C !important;
    }

    .PSED-col-left-red {
        border-right: 1px solid #D16C7C !important;
        padding-top: 40px;
        padding-right: 30px;
        padding-bottom: 40px;
    }

    .PSED-col-right-red {
        border-left: 1px solid #D16C7C !important;
        padding-top: 40px;
        padding-left: 40px;
        padding-bottom: 40px;
    }
}

.BV-col-1 {
    border-radius: 15px;
    background: #676C4E;

}

/* Green container borders */
.BV-col-left {
    /*border-right: 1px solid #B6BF8A !important;*/
    padding-right: 30px;
    padding-bottom: 40px;
}

.BV-col-right {
    /*border-left: 1px solid #B6BF8A !important;*/
    /*padding-left: 40px;*/
    padding-bottom: 40px
}

.PSED-columns {
    /*border-top: 2px solid #B6BF8A !important;*/
}

.PSED-col-left {
    /*border-right: 1px solid #B6BF8A !important;*/
    /*padding-top: 40px;*/
    padding-right: 30px;
    padding-bottom: 40px;
}

.PSED-col-right {
    /*border-left: 1px solid #B6BF8A !important;*/
    /*padding-top: 40px;*/
    /*padding-left: 40px;*/
    padding-bottom: 40px;
}

/* Red container borders */

.BV-col-left-red {
    /*border-right: 1px solid #D16C7C !important;*/
    padding-right: 30px;
    padding-bottom: 40px;
}

.BV-col-right-red {
    /*border-left: 1px solid #D16C7C !important;*/
    /*padding-left: 40px;*/
    padding-bottom: 40px
}

.PSED-columns-red {
    /*border-top: 2px solid #D16C7C !important;*/
}

.PSED-col-left-red {
    /*border-right: 1px solid #D16C7C !important;*/
    /*padding-top: 40px;*/
    padding-right: 30px;
    padding-bottom: 40px;
}

.PSED-col-right-red {
    /*border-left: 1px solid #D16C7C !important;*/
    /*padding-top: 40px;*/
    /*padding-left: 40px;*/
    padding-bottom: 40px;
}

/*---------------------------------------------------------------- How We Learn: Outdoor Learning -----------------------------------------------------------------------*/


.our-motto-sentence {
    letter-spacing: 3px;
}

.line {
    width: 90px !important;
    height: 5px;
    background: #e2a303 !important;
    margin: 25px auto 30px;
    border-radius: 2px;
}

.speech-marks {
    font-family: "Times New Roman", Times, serif !important;
}

.gallery {
    display: flex !important;
    flex-direction: row !important;
    width: 100%;

    img {
        min-width: 100%;
        min-height: 100%;
        border: 8px solid #E6BD5499;
    }
}

.col-align-center {
    display: flex;
    flex-direction: row;
    align-items: center !important;
}

/* ---------------------------------------Term Timetable ---------------------------------------------*/

.border-row {
    border-left: 2px solid #696A7F50;
    border-right: 2px solid #696A7F50;
    box-sizing: border-box;
}

.border-row-bottom {
    border-left: 2px solid #696A7F50;
    border-right: 2px solid #696A7F50;
    border-bottom: 2px solid #696A7F50;

    box-sizing: border-box;
}

@media only screen and (min-width: 1200px) {
    th, td {
        padding: 10px 70px;

    }
}

th, td {
    padding: 10px 10px;

}

.table-heading {
    background: #696A7F;
    box-sizing: border-box;
    text-wrap: balance;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;

    & h3 {
        color: white;
        margin-bottom: -5px;
        padding: 15px 70px;

    }
}

.term {
    background: #696A7F90;
    color: white;
}

/*----------------------------School Policies menu page----------------------------------------*/
.square {
    display: flex;
    align-items: center;
    justify-content: center;
    /* 	aspect-ratio: 6/ 3; */
    border-radius: 20px;
    color: white;
    padding: 20px !important;
    border: 8px solid white;
    text-wrap: balance;
    width: 280px;
    height: 140px;
    box-shadow: 2px 5px 7px lightgray;

    &.square:hover {
        box-shadow: 3px 8px 12px slategray;

    }


    & a {

        font-family: 'Grandstander' !important;
        color: white !important;
        text-wrap: balance;

    }

    & a:hover {
        color: #E6BD54 !important;

    }

}

/*--------------------------------------------------FAQ---------------------------------------------------*/
#start, #sessions, #fees, #funding, #apply,
#need, #uniform, #primary, #toilet-trained, #attend, #see {
    scroll-margin-top: 150px;
}

/*-----------------------------------------------------------Reg side-menu-----------------------------------*/
.border {
    border-style: 5px solid white;
}

.reg-menu-wrapper {
    position: fixed;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;

}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 3px 3px 3px 3px;
    background: #688E96;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    font-size: 20px;
    color: white;
}

.sideMenu {

    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-left: 10px;
    opacity: 0;
    transform: translateX(-50px);
    pointer-events: none;
    white-space: nowrap;

& button {
    background-color: #42676F90;
    border: none;
    font-size: 14px;
    width: 100px;
    text-wrap: wrap;
    border-radius: 5px;

}

    & a {
        color: white !important;
    }
}



.reg-menu-wrapper:hover .sideMenu {
    transition-duration: 1s;
    opacity: 1;
    transform: translateX(-40px);
    pointer-events: auto;
}


html {
    scroll-behaviour: smooth;
}

/*---------------------------------------------------EFYS image diagram---------------------------------------*/

 .areas2 {
    margin-top: 20px;
    background: white;
    border-radius: 15px;
    padding: 20px 10px;
}


.areas1 {
    background: white;
    border-radius: 15px;
    padding: 20px 10px;
    margin-top: 20px;
}

.areas-gap {
    gap: 80px;
}

@media (min-width: 426px) and (max-width: 769px) {
    .areas-gap {
        gap: 55px;
    }
}

@media (max-width: 426px) {
    .areas-gap {
        gap: 25px;
    }
}


/*--------------------Feedback slider-------------------*/


.quote {
    font-size: 16px;
}


.parents-col {
    position: relative;
}

.parents-btn {
    position: absolute;
    left: 3%;
    bottom: 5%;
}


.modal-btn {
    width: 50%;
    min-height: 40px;
    color: white;
    mask: url('/wp-content/uploads/cta-mask.png') center / 100% 100% no-repeat !important;
    transition: 0.5s ease all;
    font-size: 1.2rem;
    font-family: 'Grandstander';
    background-color: #42676F;


    & a {
        padding: 15px 50px 10px 60px!important;
        font-size: 16px !important;

    }

    &:hover, &:focus {
        opacity: 0.8 !important;
    }
}



.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px !important;
    align-items: stretch;
    break-inside: avoid;
}


@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: repeat(1, 1fr);

    }
}

.grid-card {
    font-size: 16px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.grid-card:nth-child(7) {
    grid-column: 2;
}

.grid-card:hover {
    transform: scale(1.06);

}

.grid-card img {
    width: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;

}


.news-modal-btn {
    width: 50%;
    min-height: 40px;
    color: white;
    mask: url('/wp-content/uploads/cta-mask.png') center / 100% 100% no-repeat !important;
    transition: 0.5s ease all;
    font-size: 1.2rem;
    font-family: 'Grandstander';
    background-color: #42676F;

    & a {
        padding: 15px 50px 10px 60px!important;
        font-size: 16px !important;
    }

    &:hover, &:focus {
        opacity: 0.8 !important;
    }
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 25%;
    left: 25%;
    /*transform: translate(50%, 50%);*/
    width: 50%;
    height: 50%;
    background: rgba(255, 255, 255, 1);
    border-radius: 20px;
    z-index: 3;
    border: 3px solid black;
    padding: 50px;

    & h3 {
        margin-top: 120px;
    }
}

.modal {
    background: white;
    width: 400px;
    margin: 100px auto;
    position: relative;
    z-index: 6;
}

.close-news-modal {
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: 24px;
    color: black;
    background: none;
    cursor: pointer;
    z-index: 5;
}

/*----------------------------------------News and articles page---------------------------------------------------*/


