﻿
/*  layout  */
#container-a {
    background-color: transparent;
}
body.initialise #container-a {
    background-color: var(--text-white);
}
div#container-wrapper-defgh {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#container-e {
    padding-top: 0 !important;
}
/*homepage hero  */
#body-wrapper {
    background: url(../grfx/homepage/attwoods-hero-shape.svg) no-repeat top -180px left calc(50% + 400px) !important;
    background-image: url(../grfx/homepage/attwoods-hero-shape.svg) !important;
    background-size: 2800px auto !important;
}
div.hero.homepage {
    min-height: 0;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: stretch;
    overflow: visible;
    background-color: transparent;
}

.homepage-hero {
    width: calc(100% - 100px);
    max-width: var(--max-width-container-hero);
    margin: 5px auto !important;
    display: grid;
    grid-template-columns: 1fr var(--padding-right) 1.5fr;
    padding: 0;
}

.hero-section {
    max-width: 450px;
    padding: 15px 0 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

    .hero-section .hero-heading {
        margin-bottom: 35px;
        font-size: 55px;
        font-size: 5.5rem;
        line-height: 62px;
        line-height: 6.2rem;
    }

    .hero-section p.hero-summary {
        margin-bottom: 45px;
        max-width: 350px;
        color: var(--p-main);
    }

    .hero-section .get-in-touch {
        padding: 0px 30px;
    }

.hero-image {
    -webkit-border-radius: var(--radius-box-24);
    -moz-border-radius: var(--radius-box-24);
    border-radius: var(--radius-box-24);
    background: url(../grfx/homepage/hero-main.jpg) no-repeat center center;
    background-image: url(../grfx/homepage/hero-main.jpg), none;
    background-size: cover !important;
    width: 100%;
    height: auto;
    margin-bottom: 62px;
    display: flex;
    flex-direction: row;
    min-height: 578px;
}

.hero-image,
.home-review {
    grid-column-start: 3;
    grid-row-start: 1;
}

.home-review {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}


/*  services list */

#service-wrapper {
    max-width: var(--max-width-container-1300);
    margin: 0 auto;
    padding: 65px 30px 190px;
    text-align: center;
    position: relative;
}

ul.service {
    display: grid;
    grid-column-gap: 10px !important;
    grid-row-gap: 10px;
    -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr !important;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr !important;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
    padding-top: 0px;
    align-items: center;
    min-height: 300px;
}

    ul.service li {
        display: block;
    }

        ul.service li a {
            display: flex;
            flex-direction: column;
            align-content: center;
            align-items: center;
            justify-content: flex-start;
            row-gap: 20px;
            max-width: 150px;
            margin: auto;
            /*padding: 145px 30px 40px;*/
            padding: 145px 18px 40px;
            color: var(--p-main);
            -webkit-border-radius: 22px;
            -moz-border-radius: 22px;
            border-radius: 22px;
            -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.11);
            -moz-box-shadow: 0 1px 10px rgba(0,0,0,.11);
            box-shadow: 0px 1px 10px 0px rgba(0,0,0,.11);
            /*min-height: 65px;*/
            min-height: 85px;
            transition: none;
            background-repeat: no-repeat !important;
            background-position: center top 70px !important;
            background-size: auto 50px !important;
            background-color: var(--text-white);
        }

        /*  images bg */
        ul.service li.accounts a {
            background-image: url(../grfx/homepage/accounts-colour.svg);
        }

        ul.service li.bookkeeping a {
            background-image: url(../grfx/homepage/bookkeeping-colour.svg);
        }

        ul.service li.vat-compliance a {
            background-image: url(../grfx/homepage/vat-compliance-colour.svg);
        }

        ul.service li.corporate-tax a {
            background-image: url(../grfx/homepage/corporatetax-colour.svg);
        }

        ul.service li.individuals a {
            background-image: url(../grfx/homepage/individuals-colour.svg);
        }

        ul.service li.payroll a {
            background-image: url(../grfx/homepage/payroll-cis-colour.svg);
        }

        ul.service li.taxplanning a {
            background-image: url(../grfx/homepage/taxplanning-colour.svg);
        }

        ul.service li.company-formations a {
            background-image: url(../grfx/homepage/company-formations-colour.svg);
        }

        /*  images bg: hover */

        ul.service li a:hover {
            background-image: linear-gradient(var(--footer-bg-red), var(--red));
            color: var(--text-white);
            padding-top: 155px;
            padding-bottom: 50px;
            background-repeat: no-repeat, no-repeat !important;
            background-position: center top 80px, center !important;
            background-size: auto 50px, cover !important;
        }

        ul.service li.accounts a:hover {
            background-image: url(../grfx/homepage/accounts-white.svg), linear-gradient(var(--footer-bg-red), var(--red));
        }

        ul.service li.bookkeeping a:hover {
            background-image: url(../grfx/homepage/bookkeeping-white.svg), linear-gradient(var(--footer-bg-red), var(--red));
        }

        ul.service li.vat-compliance a:hover {
            background-image: url(../grfx/homepage/vat-compliance-white.svg), linear-gradient(var(--footer-bg-red), var(--red));
        }

        ul.service li.corporate-tax a:hover {
            background-image: url(../grfx/homepage/corporatetax-white.svg), linear-gradient(var(--footer-bg-red), var(--red));
        }

        ul.service li.individuals a:hover {
            background-image: url(../grfx/homepage/individuals-white.svg), linear-gradient(var(--footer-bg-red), var(--red));
        }

        ul.service li.payroll a:hover {
            background-image: url(../grfx/homepage/payroll-cis-white.svg), linear-gradient(var(--footer-bg-red), var(--red));
        }

        ul.service li.taxplanning a:hover {
            background-image: url(../grfx/homepage/taxplanning-white.svg), linear-gradient(var(--footer-bg-red), var(--red));
        }

        ul.service li.company-formations a:hover {
            background-image: url(../grfx/homepage/company-formations-white.svg), linear-gradient(var(--footer-bg-red), var(--red));
        }

        /*ul.service li img {
                height: 65px;
                width: auto;
            }*/
        /*ul.service li .image-overlay {
            display: none;
        }*/
        ul.service li .name {
            font-size: 16px !important;
            font-size: 1.6rem !important;
            line-height: 22px !important;
            line-height: 2.2rem !important;
            font-weight: 400;
        }

#service-wrapper .get-in-touch-envelope {
    position: absolute;
    bottom: 120px;
    text-align: center;
    margin: auto;
    display: block;
    width: calc(100% - 40px);
}

/*  testimonial  */
#tlc-wrapper {
    padding: 0 0 100px 0;
    background: url(../grfx/png/testimonial-bgshape.png) no-repeat bottom left -130px !important;
    background-image: url(../grfx/png/testimonial-bgshape.png) !important;
    background-size: 933px auto !important;
}

h3.tlc-heading {
    max-width: var(--max-width-container-content);
    margin: 0 auto;
    padding: 0 25px 20px;
    text-align: center;
}

#tlc-wrapper .view-all-envelope {
    margin-top: 10px;
    margin-bottom: 15px;
}

ul#tlc-list-0 {
    max-width: var(--max-width-container);
    display: block;
    margin: auto;
    padding: 0 80px;
    height: 100%;
    width: auto;
}

#tlc-wrapper li {
    height: initial;
    margin-bottom: 20px;
    margin-top: 20px;
    display: inline-block;
    vertical-align: top;
    text-align: left;
    background-color: var(--text-white);
    -webkit-border-radius: var(--radius-box);
    -moz-border-radius: var(--radius-box);
    border-radius: var(--radius-box);
    -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.11);
    -moz-box-shadow: 0 1px 10px rgba(0,0,0,.11);
    box-shadow: 0px 1px 10px 0px rgba(0,0,0,.11);
    /*max-width: 450px;*/
}

    .home-review .review-container,
    #tlc-wrapper li .single-wrapping {
        display: grid;
        grid-template-columns: 0.6fr 1fr;
        grid-template-rows: auto auto auto;
        justify-content: center;
        align-items: center;
        align-content: center;
        column-gap: 15px;
        min-height: 260px;
        padding: 50px 40px;
        color: var(--p-main);
        font-weight: 400;
        -webkit-transition: none;
        transition: none;
    }

        .home-review .review-container .icon,
        #tlc-wrapper li .icon {
            width: 45px;
            height: 45px;
            -webkit-border-radius: var(--radius-circle);
            -moz-border-radius: var(--radius-circle);
            border-radius: var(--radius-circle);
            background-color: #d6d6d6;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            align-content: center;
            grid-row-start: span 2;
            margin-left: auto;
            margin-right: 0;
        }

            .home-review .review-container .icon img,
            #tlc-wrapper li .icon img {
                max-width: 30px;
            }

        .home-review .review-container .author,
        #tlc-wrapper li .author {
            padding-top: 0;
            font-weight: 400;
        }

        .home-review .review-container .author-company,
        #tlc-wrapper li .author-company {
            color: var(--bright-pink);
        }


        .home-review .review-container .testimonial,
        #tlc-wrapper li .testimonial {
            text-align: center;
            font-size: 16px;
            font-size: 1.6rem;
            line-height: 26px;
            line-height: 2.6rem;
            font-weight: 300;
            color: var(--p-main);
            margin-top: 20px;
            grid-column-start: span 2;
        }

/*  home hero - review */
.home-review .review-container {
    background-color: var(--dark-red);
    color: var(--text-white);
    -webkit-border-radius: var(--radius-box-24);
    -moz-border-radius: var(--radius-box-24);
    border-radius: var(--radius-box-24);
    min-height: auto;
    max-width: 418px;
    padding: 30px 30px;
    margin-right: 50px;
    margin-left: 50px;
    margin-top: auto;
    grid-template-columns: 0.75fr 1fr;
}

    .home-review .review-container .icon {
        width: 48px;
        height: 48px;
    }

    .home-review .review-container .author {
        font-size: 16px;
        font-size: 1.6rem;
        margin-top: -3px;
    }

    .home-review .review-container .author-company {
        color: #bca7ae;
        font-weight: 500;
        margin-top: -3px;
    }

    .home-review .review-container .testimonial {
        color: var(--text-white);
        margin-top: 15px;
        font-size: 17px;
        font-size: 1.7rem;
        line-height: 25px;
        line-height: 2.5rem;
    }


/* our team  */
.our-team-wrapper {
    margin-top: 80px;
    max-width: 1275px;
}

.our-team-envelope {
    padding: 0;
    display: grid;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    -ms-grid-rows: auto auto auto auto 1fr;
    grid-template-rows: auto auto auto auto 1fr;
    justify-items: start;
    align-items: start;
    justify-content: start;
    padding-left: 40px;
}

    .our-team-envelope h3.standard-heading {
        width: 100%;
        /*max-width: 350px;*/
        margin-left: auto;
        margin-right: 0;
        margin-bottom: 20px;
        grid-column-start: 1;
        grid-column-end: 8;
        margin-top: -12px;
    }

    .our-team-envelope .standard-summary {
        width: 100%;
        /*max-width: 350px;*/
        margin-left: auto;
        margin-right: 0;
        grid-column-start: 1;
        grid-column-end: 8;
    }

    .our-team-envelope .team-placeholder-1 {
        background: url(../grfx/homepage/team-1-hp.jpg) no-repeat center center;
        background-image: url(../grfx/homepage/team-1-hp.jpg), none;
        background-size: cover !important;
        width: 100%;
        height: 100%;
        min-height: 350px;
        max-height: 350px;
        -webkit-border-radius: var(--radius-box);
        -moz-border-radius: var(--radius-box);
        border-radius: var(--radius-box);
        grid-column-start: 9;
        grid-column-end: 15;
        grid-row-start: 1;
        grid-row-end: 4;
        margin-left: -3px;
        max-width: 305px;
    }

    .our-team-envelope .team-placeholder-2 {
        background: url(../grfx/homepage/team-2-hp.jpg) no-repeat center left;
        background-image: url(../grfx/homepage/team-2-hp.jpg), none;
        background-size: cover !important;
        width: 100%;
        height: 100%;
        min-height: 200px;
        /*max-height: 200px;*/
        -webkit-border-radius: var(--radius-box);
        -moz-border-radius: var(--radius-box);
        border-radius: var(--radius-box);
        grid-column-start: 2;
        grid-column-end: 11;
        grid-row-start: 3;
        grid-row-end: 6;
        max-width: 458px;
        margin-left: 10px;
    }

    .our-team-envelope .standard-column-1 {
        grid-column-start: 15;
        grid-column-end: 23;
        grid-row-start: 1;
        grid-row-end: 4;
        margin-left: 22px;
    }

    .our-team-envelope a.read-more {
        grid-column-start: 15;
        grid-column-end: 23;
        grid-row-start: 4;
        grid-row-end: 5;
        margin-right: auto;
        margin-top: 40px;
        margin-left: 22px;
    }

ul.about-team-list {
    display: flex;
    column-gap: 50px;
    justify-content: center;
    align-items: stretch;
    align-content: space-between;
    flex-direction: column;
    row-gap: 10px;
    /*margin-bottom: 40px;*/
}

    ul.about-team-list li {
        display: flex;
        flex-direction: column;
        align-content: space-between;
        align-items: stretch;
        padding: 0;
        color: var(--p-main);
        row-gap: 5px;
        padding: 22px 30px;
        background-color: var(--text-white);
        -webkit-border-radius: var(--radius-box);
        -moz-border-radius: var(--radius-box);
        border-radius: var(--radius-box);
        /*-webkit-box-shadow: 0 1px 10px rgba(0,0,0,.11);
        -moz-box-shadow: 0 1px 10px rgba(0,0,0,.11);
        box-shadow: 0px 1px 10px 0px rgba(0,0,0,.11);*/
        -webkit-box-shadow: var(--box-shadow);
        -moz-box-shadow: var(--box-shadow);
        box-shadow: var(--box-shadow);
    }

        ul.about-team-list li:first-child {
            width: calc(100% - 60px - 30px);
        }

        ul.about-team-list li:last-child {
            width: calc(100% - 60px - 15px);
        }

        ul.about-team-list li .name {
            font-weight: 400;
            font-size: 16px;
            font-size: 1.6rem;
            color: var(--bright-pink);
        }

        ul.about-team-list li .summary {
            font-size: 16px;
            font-size: 1.6rem;
            line-height: 24px;
            line-height: 2.4rem;
            color: var(--p-main);
        }
/*  team section */
div#our-team {
    display: block;
    background: var(--text-white);
    left: 0;
    top: 0;
    opacity: 1;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    -ms-grid-rows: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    row-gap: 10px;
    column-gap: 10px;
    padding: 10px;
    max-width: 1600px;
    margin: 0 auto;
}

#our-team .list-item {
    border-radius: 10px !important;
    -webkit-transition: none;
    transition: none;
    min-height: 370px;
    min-width: 172px;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    background-size: cover !important;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    position: relative;
}

   /* #our-team .list-item:nth-child(1) {
        grid-row: span 2;
        grid-column: span 2;
    }*/

    #our-team .list-item .team-info {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
        padding: 25px 20px;
        font-weight: 500;
        letter-spacing: 0.2px;
        font-size: 16px;
        font-size: 1.6rem;
        line-height: 20px;
        line-height: 2.0rem;
        row-gap: 2px;
        background: linear-gradient(to top, rgba(248,248,248,1), 68%, rgba(248, 248, 248, 0));
        height: 25%;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;
    }

    #our-team .list-item .team-name {
        color: var(--h-title);
        display: flex;
        column-gap: 4px;
    }

    #our-team .list-item .team-role {
        color: var(--bright-pink);
    }

    /* hover state - add it back after set back to link */
    #our-team .list-item:hover .team-role {
        /*background: url(../grfx/png/right-arrow-white.png) no-repeat right 1px center;
    background-image: url(../grfx/svg/right-arrow-white.svg), none;
    background-size: 16px;*/
    }

    #our-team .list-item:hover .team-info {
        background: linear-gradient(to top, rgba(99,20,55,1), 60%, rgba(99,20,55, 0));
        /*min-height: 80%;*/
    }

        #our-team .list-item:hover .team-info .team-name {
            color: var(--text-white);
        }
    /*#our-team a img {
    width: 100%;
    height: 100%;
}*/
    #our-team .list-item.linkitem-1 {
        background: url('../grfx/homepage/stuart-attwood.jpg') no-repeat center center;
        background-image: url('../grfx/homepage/stuart-attwood.jpg'), none;
    }

    #our-team .list-item.linkitem-2 {
        background: url('../grfx/homepage/ben-newbury.jpg') no-repeat center center;
        background-image: url('../grfx/homepage/ben-newbury.jpg'), none;
    }

    #our-team .list-item.linkitem-3 {
        background: url('../grfx/homepage/lucy-watkins.jpg') no-repeat center center;
        background-image: url('../grfx/homepage/lucy-watkins.jpg'), none;
    }

    #our-team .list-item.linkitem-4 {
        background: url('../grfx/homepage/karen-williams.jpg') no-repeat center center;
        background-image: url('../grfx/homepage/karen-williams.jpg'), none;
    }

    #our-team .list-item.linkitem-5 {
        background: url('../grfx/homepage/sophie-plant.jpg') no-repeat center center;
        background-image: url('../grfx/homepage/sophie-plant.jpg'), none;
    }

    #our-team .list-item.linkitem-6 {
        background: url('../grfx/homepage/claire-armstrong.jpg') no-repeat center center;
        background-image: url('../grfx/homepage/claire-armstrong.jpg'), none;
    }

    #our-team .list-item.linkitem-7 {
        background: url('../grfx/homepage/tom-leonard.jpg') no-repeat center center;
        background-image: url('../grfx/homepage/tom-leonard.jpg'), none;
    }

    #our-team .list-item.linkitem-8 {
        background: url('../grfx/homepage/mark-stretch.jpg') no-repeat center center;
        background-image: url('../grfx/homepage/mark-stretch.jpg'), none;
    }

    #our-team .list-item.linkitem-9 {
        background: url('../grfx/homepage/chloe-witheford.jpg') no-repeat center center;
        background-image: url('../grfx/homepage/chloe-witheford.jpg'), none;
    }

    #our-team .list-item.linkitem-10 {
        background: url('../grfx/homepage/placeholder.jpg') no-repeat center center;
        background-image: url('../grfx/homepage/team-placeholder.jpg'), none;
    }

    /*  team bg */
.team-section {
    background: url(../grfx/png/team-shape.png) no-repeat top 740px right calc(50% - 390px) !important;
    background-image: url(../grfx/png/team-shape.png) !important;
    background-size: 866px auto !important;
}

/*.useful-resource-bg {
    background: url(../grfx/png/curve-left.png) no-repeat bottom left !important;
    background-image: url(../grfx/png/testimonial-bgshape.png) !important;
    background-size: 933px auto !important;
    background-image: url(../grfx/png/curve-left.png) !important;
    background-size: contain !important;
}*/

/* Testimonials */
.tlc-link {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: black;
}
