(function ($, root, undefined) {
    $(function () {
        $(document).ready(function() {
            $(".section > .bg-brand").find(".contrast-colour").addClass("bg-white");
            $(".section > .bg-brand").find(".contrast-colour-subtle").addClass("bg-white");
            $(".section > .bg-brand").find(".inherit-colour").addClass("bg-brand");
            $(".section > .bg-brand").find(".fill-contrast-colour").addClass("fill-white");
            $(".section > .bg-brand").find(".fill-contrast-colour-subtle").addClass("fill-white");
            $(".section > .bg-brand").find(".fill-inherit-colour").addClass("fill-brand");
            $(".section > .bg-dark").find(".contrast-colour").addClass("bg-white");
            $(".section > .bg-dark").find(".contrast-colour-subtle").addClass("bg-brand");
            $(".section > .bg-dark").find(".inherit-colour").addClass("bg-dark");
            $(".section > .bg-dark").find(".fill-contrast-colour").addClass("fill-white");
            $(".section > .bg-dark").find(".fill-contrast-colour-subtle").addClass("fill-brand");
            $(".section > .bg-dark").find(".fill-inherit-colour").addClass("fill-dark");
            $(".section > .bg-light").find(".contrast-colour").addClass("bg-brand");
            $(".section > .bg-light").find(".contrast-colour-subtle").addClass("bg-white");
            $(".section > .bg-light").find(".inherit-colour").addClass("bg-light");
            $(".section > .bg-light").find(".fill-contrast-colour").addClass("fill-brand");
            $(".section > .bg-light").find(".fill-contrast-colour-subtle").addClass("fill-white");
            $(".section > .bg-light").find(".fill-inherit-colour").addClass("fill-light");
            $(".section > .bg-white").find(".contrast-colour").addClass("bg-brand");
            $(".section > .bg-white").find(".contrast-colour-subtle").addClass("bg-light");
            $(".section > .bg-white").find(".inherit-colour").addClass("bg-white");
            $(".section > .bg-white").find(".fill-contrast-colour").addClass("fill-brand");
            $(".section > .bg-white").find(".fill-contrast-colour-subtle").addClass("fill-light");
            $(".section > .bg-white").find(".fill-inherit-colour").addClass("fill-white");
            $(".section > .bg-emphasis").find(".contrast-colour").addClass("bg-spot");
            $(".section > .bg-emphasis").find(".contrast-colour-subtle").addClass("bg-highlight");
            $(".section > .bg-emphasis").find(".inherit-colour").addClass("bg-emphasis");
            $(".section > .bg-emphasis").find(".fill-contrast-colour").addClass("fill-spot");
            $(".section > .bg-emphasis").find(".fill-contrast-colour-subtle").addClass("fill-highlight");
            $(".section > .bg-emphasis").find(".fill-inherit-colour").addClass("fill-emphasis");
            $(".section > .bg-spot").find(".contrast-colour").addClass("bg-highlight");
            $(".section > .bg-spot").find(".contrast-colour-subtle").addClass("bg-white");
            $(".section > .bg-spot").find(".inherit-colour").addClass("bg-spot");
            $(".section > .bg-spot").find(".fill-contrast-colour").addClass("fill-highlight");
            $(".section > .bg-spot").find(".fill-contrast-colour-subtle").addClass("fill-white");
            $(".section > .bg-spot").find(".fill-inherit-colour").addClass("fill-spot");
            $(".section > .bg-highlight").find(".contrast-colour").addClass("bg-accent");
            $(".section > .bg-highlight").find(".contrast-colour-subtle").addClass("bg-dark");
            $(".section > .bg-highlight").find(".inherit-colour").addClass("bg-highlight");
            $(".section > .bg-highlight").find(".fill-contrast-colour").addClass("fill-accent");
            $(".section > .bg-highlight").find(".fill-contrast-colour-subtle").addClass("fill-dark");
            $(".section > .bg-highlight").find(".fill-inherit-colour").addClass("fill-highlight");
            $(".section > .bg-black").find(".contrast-colour").addClass("bg-white");
            $(".section > .bg-black").find(".contrast-colour-subtle").addClass("bg-brand");
            $(".section > .bg-black").find(".inherit-colour").addClass("bg-black");
            $(".section > .bg-black").find(".fill-contrast-colour").addClass("fill-white");
            $(".section > .bg-black").find(".fill-contrast-colour-subtle").addClass("fill-brand");
            $(".section > .bg-black").find(".fill-inherit-colour").addClass("fill-black");
            $(".section > .bg-feature").find(".contrast-colour").addClass("bg-white");
            $(".section > .bg-feature").find(".contrast-colour-subtle").addClass("bg-dark");
            $(".section > .bg-feature").find(".inherit-colour").addClass("bg-feature");
            $(".section > .bg-feature").find(".fill-contrast-colour").addClass("fill-white");
            $(".section > .bg-feature").find(".fill-contrast-colour-subtle").addClass("fill-dark");
            $(".section > .bg-feature").find(".fill-inherit-colour").addClass("fill-feature");
            $(".section > .bg-flourish").find(".contrast-colour").addClass("bg-shadow");
            $(".section > .bg-flourish").find(".contrast-colour-subtle").addClass("bg-accent");
            $(".section > .bg-flourish").find(".inherit-colour").addClass("bg-flourish");
            $(".section > .bg-flourish").find(".fill-contrast-colour").addClass("fill-shadow");
            $(".section > .bg-flourish").find(".fill-contrast-colour-subtle").addClass("fill-accent");
            $(".section > .bg-flourish").find(".fill-inherit-colour").addClass("fill-flourish");
            $(".section > .bg-accent").find(".contrast-colour").addClass("bg-shadow");
            $(".section > .bg-accent").find(".contrast-colour-subtle").addClass("bg-flourish");
            $(".section > .bg-accent").find(".inherit-colour").addClass("bg-accent");
            $(".section > .bg-accent").find(".fill-contrast-colour").addClass("fill-shadow");
            $(".section > .bg-accent").find(".fill-contrast-colour-subtle").addClass("fill-flourish");
            $(".section > .bg-accent").find(".fill-inherit-colour").addClass("fill-accent");
            $(".section > .bg-shadow").find(".contrast-colour").addClass("bg-white");
            $(".section > .bg-shadow").find(".contrast-colour-subtle").addClass("bg-spot");
            $(".section > .bg-shadow").find(".inherit-colour").addClass("bg-shadow");
            $(".section > .bg-shadow").find(".fill-contrast-colour").addClass("fill-white");
            $(".section > .bg-shadow").find(".fill-contrast-colour-subtle").addClass("fill-spot");
            $(".section > .bg-shadow").find(".fill-inherit-colour").addClass("fill-shadow");
        });
    });
})(jQuery, this);



