﻿

/*  content */
div#container-e {
    text-align: left;
}
div#introduction-wrapper {
    margin-bottom: 50px;
    display: block;
}

/*  resources list */

#resources-wrapper {
    max-width: var(--max-width-container-content);
    margin: 0 auto;
    text-align: center;
    position: relative;
}

ul.resources {
    display: grid;
    grid-column-gap: 40px;
    grid-row-gap: 30px;
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
    align-items: stretch;
    padding: 0 !important;
    margin-left: 0 !important;
}

    ul.resources li {
        display: block;
        padding: 0 !important;
        margin-left: 0 !important;
    }
        ul.resources li a {
            position: relative;
            display: flex;
            flex-direction: column;
            align-content: flex-start;
            justify-content: flex-start;
            align-items: flex-start;
            row-gap: 20px;
            color: var(--p-main);
            margin: auto;
            background-image: linear-gradient(to top, rgba(255,255,255,1), 85%, rgba(255, 255, 255, 0));
            /*background-size: cover !important;*/
            width: 100%;
            height: 100%;
            -webkit-border-radius: var(--radius-box);
            -moz-border-radius: var(--radius-box);
            border-radius: var(--radius-box);
            overflow: hidden;
            -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: 300px; 
        }

        ul.resources li.business-calculator a {
                background: url(../grfx/resources/res-bcalc.jpg) no-repeat top center;
                background-image: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,70) 13%, 40%, rgba(255, 255, 255, 0.24) 60%, rgba(255, 255, 255, 0) 80%), url(../grfx/resources/res-bcalc.jpg);
                background-size: cover !important;
        }
        ul.resources li.business-helpsheet a {
             background: url(../grfx/resources/res-bhelp.jpg) no-repeat top center;
            background-image: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,70) 13%, 40%, rgba(255, 255, 255, 0.24) 60%, rgba(255, 255, 255, 0) 80%), url(../grfx/resources/res-bhelp.jpg);
            background-size: cover !important;
        }
        ul.resources li.budget a {
            background: url(../grfx/resources/res-budg.jpg) no-repeat top center;
            background-image: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,70) 13%, 40%, rgba(255, 255, 255, 0.24) 60%, rgba(255, 255, 255, 0) 80%), url(../grfx/resources/res-budg.jpg);
            background-size: cover !important;
        }

        ul.resources li.tax-calculators a {
            background: url(../grfx/resources/res-tcalc.jpg) no-repeat top center;
            background-image: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,70) 13%, 40%, rgba(255, 255, 255, 0.24) 60%, rgba(255, 255, 255, 0) 80%), url(../grfx/resources/res-tcalc.jpg);
            background-size: cover !important;
			} 
			       
		ul.resources li.tax-helpsheets a {
            background: url(../grfx/resources/res-thelp.jpg) no-repeat top center;
            background-image: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,70) 13%, 40%, rgba(255, 255, 255, 0.24) 60%, rgba(255, 255, 255, 0) 80%), url(../grfx/resources/res-thelp.jpg);
            background-size: cover !important;
        }

        ul.resources li.tax-rates-and-allowances a {
            background: url(../grfx/resources/res-trates-allo.jpg) no-repeat top center;
            background-image: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,70) 13%, 40%, rgba(255, 255, 255, 0.24) 60%, rgba(255, 255, 255, 0) 80%), url(../grfx/resources/res-trates-allo.jpg);
            background-size: cover !important;
        }
        ul.resources li.calculators a {
            background: url(../grfx/resources/res-calc.jpg) no-repeat top center;
            background-image: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,70) 13%, 40%, rgba(255, 255, 255, 0.24) 60%, rgba(255, 255, 255, 0) 80%), url(../grfx/resources/res-calc.jpg);
            background-size: cover !important;
        }
        ul.resources li.companies-house-forms a {
            background: url(../grfx/resources/res-cmp-hfrms.jpg) no-repeat top center;
            background-image: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,70) 13%, 40%, rgba(255, 255, 255, 0.24) 60%, rgba(255, 255, 255, 0) 80%), url(../grfx/resources/res-cmp-hfrms.jpg);
            background-size: cover !important;
        }
        ul.resources li.hmrc-forms a {
            background: url(../grfx/resources/res-hmrc-frms.jpg) no-repeat top center;
            background-image: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,70) 13%, 40%, rgba(255, 255, 255, 0.24) 60%, rgba(255, 255, 255, 0) 80%), url(../grfx/resources/res-hmrc-frms.jpg);
            background-size: cover !important;
        }
        ul.resources li.links a {
            background: url(../grfx/resources/res-lnks.jpg) no-repeat top center;
            background-image: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,70) 13%, 40%, rgba(255, 255, 255, 0.24) 60%, rgba(255, 255, 255, 0) 80%), url(../grfx/resources/res-lnks.jpg);
            background-size: cover !important;
        }


            ul.resources li img {
                width: 100%;
                height: auto;
                display: none;
            }
        ul.resources li .image-overlay {
            display: none;
        }

        ul.resources li .name {
            font-size: 24px;
            font-size: 2.4rem;
            line-height: 34px;
            line-height: 3.4rem;
            font-weight: 400;
            letter-spacing: 0px;
            background: url(../grfx/png/right-arrow-pink.png) no-repeat right 20px top 234px;
            background-image: url(../grfx/svg/right-arrow-pink.svg), none;
            background-size: 16px;
            padding-left: 20px;
            padding-right: 48px;
            width: calc(100% - 68px);
            display: block;
            text-align: left;
            padding-top: 120px;
        }
        ul.resources li .name:before {
            content: "";
            display: block;
            position: relative;
            width: 80px;
            height: 80px;
            border-radius: var(--radius-circle);
            display: block;
            background-color: var(--text-white);
            margin-bottom: 20px;
            opacity: 0.85;
            background-repeat: no-repeat !important;
            background-position: center !important;
            background-size: auto 38px !important;
        }

         ul.resources li.business-calculator .name:before {
            background-image: url(../grfx/homepage/accounts-colour.svg);
        }
        ul.resources li.business-helpsheet .name:before {
            background-image: url(../grfx/homepage/businesshelpsheets-colour.svg);
        }
        ul.resources li.budget .name:before {
            background-image: url(../grfx/homepage/thebudget-colour.svg);
        }
        ul.resources li.tax-calculators .name:before {
            background-image: url(../grfx/homepage/taxcalendar-colour.svg);
        }
        ul.resources li.tax-rates-and-allowances .name:before {
            background-image: url(../grfx/homepage/taxrates-allowances-colour.svg);
        }
        ul.resources li.calculators .name:before {
            background-image: url(../grfx/homepage/calculators-colour.svg);
        }
        ul.resources li.companies-house-forms .name:before {
            background-image: url(../grfx/homepage/companieshouse-colour.svg);
        }
        ul.resources li.hmrc-forms .name:before {
            background-image: url(../grfx/homepage/companieshouse-colour.svg);
        }
        ul.resources li.links .name:before {
            background-image: url(../grfx/homepage/links-colour.svg);
        } 

        ul.resources li .summary {
            text-align: left;
            margin-bottom: 20px;
            padding-left: 20px;
            padding-right: 20px;
            font-size: 15px;
            font-size: 1.5rem;
        }

            ul.resources li a:hover .name,
            ul.resources li a:hover .summary {
                color: var(--text-white);
            }

        ul.resources li.business-calculator a:hover {
            background-image: linear-gradient(to top, rgba(99,20,55,1) 0%, rgba(99,20,55,70) 13%, 40%, rgba(99, 20, 55, 0.24) 60%, rgba(99, 20, 55, 0) 80%), url(../grfx/resources/res-bcalc.jpg);
        }

        ul.resources li.business-helpsheet a:hover {
            background-image: linear-gradient(to top, rgba(99,20,55,1) 0%, rgba(99,20,55,70) 13%, 40%, rgba(99, 20, 55, 0.24) 60%, rgba(99, 20, 55, 0) 80%), url(../grfx/resources/res-bhelp.jpg);
        }

        ul.resources li.budget a:hover {
            background-image: linear-gradient(to top, rgba(99,20,55,1) 0%, rgba(99,20,55,70) 13%, 40%, rgba(99, 20, 55, 0.24) 60%, rgba(99, 20, 55, 0) 80%), url(../grfx/resources/res-budg.jpg);
        }

        ul.resources li.tax-calculators a:hover {
            background-image: linear-gradient(to top, rgba(99,20,55,1) 0%, rgba(99,20,55,70) 13%, 40%, rgba(99, 20, 55, 0.24) 60%, rgba(99, 20, 55, 0) 80%), url(../grfx/resources/res-tcalc.jpg);
        }

        ul.resources li.tax-rates-and-allowances a:hover {
            background-image: linear-gradient(to top, rgba(99,20,55,1) 0%, rgba(99,20,55,70) 13%, 40%, rgba(99, 20, 55, 0.24) 60%, rgba(99, 20, 55, 0) 80%), url(../grfx/resources/res-trates-allo.jpg);
        }

        ul.resources li.calculators a:hover {
            background-image: linear-gradient(to top, rgba(99,20,55,1) 0%, rgba(99,20,55,70) 13%, 40%, rgba(99, 20, 55, 0.24) 60%, rgba(99, 20, 55, 0) 80%), url(../grfx/resources/res-calc.jpg);
        }

        ul.resources li.companies-house-forms a:hover {
            background-image: linear-gradient(to top, rgba(99,20,55,1) 0%, rgba(99,20,55,70) 13%, 40%, rgba(99, 20, 55, 0.24) 60%, rgba(99, 20, 55, 0) 80%), url(../grfx/resources/res-cmp-hfrms.jpg);
        }

        ul.resources li.hmrc-forms a:hover {
            background-image: linear-gradient(to top, rgba(99,20,55,1) 0%, rgba(99,20,55,70) 13%, 40%, rgba(99, 20, 55, 0.24) 60%, rgba(99, 20, 55, 0) 80%), url(../grfx/resources/res-hmrc-frms.jpg);
        }

        ul.resources li.links a:hover {
            background-image: linear-gradient(to top, rgba(99,20,55,1) 0%, rgba(99,20,55,70) 13%, 40%, rgba(99, 20, 55, 0.24) 60%, rgba(99, 20, 55, 0) 80%), url(../grfx/resources/res-lnks.jpg);
        }

            ul.resources li a:hover .name {
                background: url(../grfx/png/right-arrow-white.png) no-repeat right 20px top 234px;
                background-image: url(../grfx/svg/right-arrow-white.svg), none;
                background-size: 16px;
            } 
