﻿.howWeHelpContainer {
    position: relative;
}

    .howWeHelpContainer .flex-container {
        width: 1550px;
        margin: auto;
    }

    .howWeHelpContainer .category {
        width: 20%;
        float: left;
        text-align: center;
        display: block;
        min-height: 1500px;
    }

    .howWeHelpContainer .categoryTitle {
        padding-top: 32px;
        padding-bottom: 20px;
        width: 100%;
        text-align: center;
    }

    .howWeHelpContainer .swipeText {
        display: none;
    }

    .howWeHelpContainer .subCategory {
        clear: both;
        width: 90%;
        margin: auto;
        margin-top: 20px;
        margin-bottom: 5px;
    }

    .howWeHelpContainer .category:hover,
    .howWeHelpContainer .hovered {
        background-color: #ebebe8;
    }

    .howWeHelpContainer .category {
    }

    .howWeHelpContainer .categoryHeader img {
        height: 80px;
        width: auto;
    }

    .howWeHelpContainer .subCategoryText {
        visibility: hidden;
        opacity: 0;
        transition: visibility 0s, opacity 0.5s linear;
        height: 0;
        max-width: 65%;
    }
    /*subcategory with text boxes (hover only)*/
    .howWeHelpContainer .category:hover .subCategoryText {
        visibility: visible;
        opacity: 1;
        float: right;
        width: 47%;
        text-align: left;
        height: auto;
    }

        .howWeHelpContainer .category:hover .subCategoryText li {
            list-style-type: disc;
        }

    .howWeHelpContainer .category:hover .subCategoryAlwaysShown {
        float: left;
        width: 50%;
    }

        .howWeHelpContainer .category:hover .subCategoryAlwaysShown h2 {
            color: #001d67;
        }

        .howWeHelpContainer .category:hover .subCategoryAlwaysShown span {
            color: #c16e32;
        }

    .howWeHelpContainer .category .subCategoryAlwaysShown h2 {
        line-height: 12px;
    }

    /*top of category border*/
    .howWeHelpContainer .category .categoryTopImage {
        height: 7px;
        margin-bottom: 50px;
    }

    .howWeHelpContainer .category:hover .categoryTopImage {
        background-image: url('/wp-content/themes/rgf/img/icons/howwehelp/categoryTopBorder.png');
    }

    /*bottom of category border*/
    .howWeHelpContainer .category .categoryBottomImage {
        height: 27px;
        margin: auto;
        margin-bottom: 50px;
        width: 85%;
        height: 27px;
    }

    .howWeHelpContainer .category:hover .categoryBottomImage {
        background-image: url('/wp-content/themes/rgf/img/icons/howwehelp/categoryBottomBorder.png');
        background-size: 100% auto;
        background-repeat: no-repeat;
    }

    /*subcat image*/
    .howWeHelpContainer .subCategory .subCategoryImage {
        display: block;
        width: 70px;
        height: 67px;
        text-indent: -99999px;
        margin: auto;
        margin-bottom: 10px;
    }

    /*subcat image*/
    .howWeHelpContainer .subCategory .helpingDependants {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/helpingDependants.png') bottom;
        background-size: 70px 149px;
    }

    .howWeHelpContainer .subCategory .assistingParents {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/assistingParents.png') bottom;
        background-size: 70px 138px;
    }

    .howWeHelpContainer .subCategory .buyingAHome {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/buyingAHome.png') bottom;
        background-size: 70px 175px;
    }

    .howWeHelpContainer .subCategory .travelAndLeisure {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/travelAndLeisure.png') bottom;
        background-size: 70px 158px;
    }

    .howWeHelpContainer .subCategory .minimizingTaxes {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/minimizingTaxes.png') bottom;
        background-size: 89px 142px;
        width: 89px;
    }

    .howWeHelpContainer .subCategory .generatingIncome {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/generatingIncome.png') bottom;
        background-size: 70px 146px;
    }

    .howWeHelpContainer .subCategory .managingCashFlow {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/managingCashFlow.png') bottom;
        background-size: 70px 149px;
    }

    .howWeHelpContainer .subCategory .businessOwners {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/businessOwners.png') bottom;
        background-size: 70px 158px;
    }

    .howWeHelpContainer .subCategory .creatingAPlan {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/creatingAPlan.png') bottom;
        background-size: 70px 169px;
    }

    .howWeHelpContainer .subCategory .savingForYourGoals {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/savingForYourGoals.png') bottom;
        background-size: 70px 158px;
    }

    .howWeHelpContainer .subCategory .preparingForRetirement {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/preparingForRetirement.png') bottom;
        background-size: 90px 146px;
        width: 90px;
    }

    .howWeHelpContainer .subCategory .protectingYourHealth {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/protectingYourHealth.png') bottom;
        background-size: 70px 143px;
    }

    .howWeHelpContainer .subCategory .changingCareer {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/changingCareer.png') bottom;
        background-size: 90px 154px;
        width: 90px;
    }

    .howWeHelpContainer .subCategory .retirementTransition {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/retirementTransition.png') bottom;
        background-size: 73px 150px;
        width: 73px;
    }

    .howWeHelpContainer .subCategory .lifeChanges {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/lifeChanges.png') bottom;
        background-size: 70px 173px;
        height: 84px;
    }

    .howWeHelpContainer .subCategory .startingABusiness {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/startingABusiness.png') bottom;
        background-size: 70px 144px;
    }

    .howWeHelpContainer .subCategory .estatePlanning {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/estatePlanning.png') bottom;
        background-size: 75px 144px;
        width: 75px;
    }

    .howWeHelpContainer .subCategory .estateTransferPlanning {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/estateTransferPlanning.png') bottom;
        background-size: 94px 144px;
        width: 94px;
    }

    .howWeHelpContainer .subCategory .charitableGiving {
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/charitableGiving.png') bottom;
        background-size: 70px 144px;
    }

    .howWeHelpContainer .category:hover .subCategory .subCategoryImage {
        background-position: 0 0;
    }

    /*between subcategory image*/
    .howWeHelpContainer .betweenCategoryImage {
        display: block;
        width: 70px;
        height: 120px;
        background-color: grey;
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/betweenCategory.png') bottom;
        margin: auto;
        text-indent: -99999px;
        clear: both;
    }

    .howWeHelpContainer .category:hover .betweenCategoryImage {
        background-position: 0 0;
        background-size: 100% auto;
        width: 90%;
        height: 120px;
    }
    /*above top subcat image*/
    .howWeHelpContainer .betweenCategoryImageTop {
        display: block;
        width: 70px;
        height: 120px;
        background-color: grey;
        background: url('/wp-content/themes/rgf/img/icons/howwehelp/betweenCategoryTop.png') bottom;
        text-indent: -99999px;
        margin: auto;
        margin-top: 15px;
    }

    .howWeHelpContainer .category:hover .betweenCategoryImageTop {
        background-position: 0 0;
        background-size: 100% auto;
        width: 90%;
        height: 120px;
    }

    .howWeHelpContainer .tranButtonBlueBorder {
        width: 120px;
        margin: auto;
        margin-top: 22px;
        visibility: hidden;
        opacity: 0;
        height: 0;
        transition: visibility 0s, opacity 0.5s linear;
    }

    .howWeHelpContainer .category:hover .tranButtonBlueBorder {
        visibility: visible;
        opacity: 1;
        height: auto;
    }

    .howWeHelpContainer .backgroundTileImage {
        background-image: url('/wp-content/themes/rgf/img/templates/tiledBackground.png');
        background-repeat: no-repeat;
        width: 100%;
        height: 350px;
        position: absolute;
        top: 0;
        z-index: -100;
        background-size: cover;
    }

    .howWeHelpContainer .selectCatDropD,
    .categoryTitle ul {
        display: none;
    }
