﻿.postsContainer {
    width: 1500px;
    position: relative;
    margin: auto;
}

    .postsContainer img {
        max-width: 100%;
        width: 100%;
    }

    .postsContainer .moreResultsButtonContainer {
        clear: both;
        margin: auto;
        padding-top: 30px;
        text-align: center;
    }

    .postsContainer .selectedCategory {
        text-transform: uppercase;
        text-align: center;
        margin-top: 30px;
        margin-bottom: 70px;
        color: #c16e32;
    }

        .postsContainer .selectedCategory a,
        .postsContainer .selectedSearchTerm a {
            text-transform: uppercase;
            text-align: center;
            margin-top: 30px;
            margin-bottom: 70px;
            color: #c16e32;
            text-decoration: none;
            background-image: url(/wp-content/themes/rgf/img/icons/arrowRight.png);
            padding-right: 30px;
            background-repeat: no-repeat;
            background-size: 5px;
            background-position-x: right;
            margin-right: 20px;
            background-position-y: 10px;
        }

            .postsContainer .selectedCategory a:hover,
            .postsContainer .selectedSearchTerm a:hover {
                text-decoration: underline;
            }

    .postsContainer .selectedSearchTerm {
        text-transform: uppercase;
        text-align: center;
        margin-top: 70px;
        margin-bottom: 70px;
        color: #c16e32;
    }

.noResultsFound {
    text-align: center;
    margin-top: 70px;
    margin-bottom: 70px;
    color: gray;
}

.postsContainer p.category {
    float: left;
    margin-right: 20px;
    margin-top: 10px;
}

.postsContainer ul > li.show {
    display: inline-table;
}

.postsContainer ul > li {
    display: none;
}

.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(1),
.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(2) {
    width: 725px;
    float: left;
    position: relative;
}

.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(1),
.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(2) {
    width: 725px;
    float: left;
    position: relative;
}

.postsContainer ul:not(.rdCommands) li:not(:nth-child(1)):not(:nth-child(2)) {
}

.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(3n + 3) {
    clear: both;
}

.postsContainer ul:not(.rdCommands) li:nth-child(1) {
    margin-right: 50px;
}

.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(1) .postImages,
.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(2) .postImages {
}

.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(1) .postSummary,
.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(2) .postSummary {
    display: inline;
}

.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(1) .ThumbnailImage,
.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(2) .ThumbnailImage {
}

.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(1) .advisorImage,
.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(2) .advisorImage {
    width: 130px;
    height: 130px;
    border-radius: 500px;
    border: 4px solid white;
    z-index: 2;
    position: absolute;
    top: 301px;
    left: 30px;
}

.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(1) h4,
.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(2) h4 {
    line-height: 40px;
    font-weight: 500 !important;
    color: #001d67;
}

.postsContainer a:hover h4 {
    text-decoration: underline;
}

.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(1) h5,
.postsContainer ul:not(.rdCommands) :not(.searchResults) li:nth-child(2) h5 {
    margin-top: 10px;
    margin-bottom: 15px;
    color: black;
}

.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(1) p,
.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(2) p {
    color: #414042;
}

.postsContainer p.category a {
    margin-top: 10px;
    text-transform: uppercase;
}

    .postsContainer p.category a:hover {
    }

.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(1) .postInformation,
.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(2) .postInformation {
    width: 90%;
    position: relative;
    margin: auto;
    margin-top: 20px;
}

/*end css for first two featured posts. Begin for rest.*/

.postsContainer ul:not(.rdCommands):not(.searchResults) li:not(:nth-child(1)):not(:nth-child(2)) {
    width: 450px;
    float: left;
    position: relative;
    margin-top: 50px;
}

.postsContainer ul:not(.rdCommands):not(.searchResults) li:nth-child(3n):not(:nth-child(1)):not(:nth-child(2)),
.postsContainer ul:not(.searchResults):not(.rdCommands) li:nth-child(3n + 1):not(:nth-child(1)):not(:nth-child(2)) {
    margin-right: 75px;
}

.postsContainer ul:not(.searchResults):not(.rdCommands) li:not(:nth-child(1)):not(:nth-child(2)) .postImages {
}

.postsContainer ul:not(.searchResults):not(.rdCommands) li:not(:nth-child(1)):not(:nth-child(2)) .postSummary {
    display: inline;
}

.postsContainer ul:not(.searchResults):not(.rdCommands) li:not(:nth-child(1)):not(:nth-child(2)) .ThumbnailImage {
}

.postsContainer ul:not(.searchResults):not(.rdCommands) li:not(:nth-child(1)):not(:nth-child(2)) .advisorImage {
    width: 110px;
    height: 110px;
    border-radius: 500px;
    border: 4px solid white;
    z-index: 2;
    position: absolute;
    top: 190px;
    left: 30px;
}

.postsContainer ul:not(.searchResults):not(.rdCommands) li:not(:nth-child(1)):not(:nth-child(2)) h4 {
}

.postsContainer ul:not(.searchResults):not(.rdCommands) li:not(:nth-child(1)):not(:nth-child(2)) h5 {
    margin-top: 15px;
    margin-bottom: 15px;
    color: black;
}

.postsContainer ul:not(.searchResults):not(.rdCommands) li:not(:nth-child(1)):not(:nth-child(2)) p {
}

.postsContainer ul:not(.searchResults):not(.rdCommands) li:not(:nth-child(1)):not(:nth-child(2)) .category {
    margin-top: 10px;
}

.postsContainer ul:not(.searchResults):not(.rdCommands) li:not(:nth-child(1)):not(:nth-child(2)) .postInformation {
    width: 90%;
    position: relative;
    margin: auto;
    margin-top: 50px;
}

.postsContainer ul.searchResults:not(.rdCommands):not(.twoColumn) li {
    width: 450px;
    float: left;
    position: relative;
    margin-top: 50px;
    margin-right: 50px;
}

    .postsContainer ul.searchResults:not(.rdCommands):not(.twoColumn) li:nth-child(3n) {
        margin-right: 0px;
    }

    .postsContainer ul.searchResults:not(.rdCommands):not(.twoColumn) li:nth-child(3n + 4) {
        border: none;
        clear: left;
    }

    .postsContainer ul.searchResults:not(.rdCommands):not(.twoColumn) li .postImages {
    }

    .postsContainer ul.searchResults:not(.rdCommands):not(.twoColumn) li .postSummary {
        display: inline;
    }

    .postsContainer ul.searchResults:not(.rdCommands):not(.twoColumn) li .ThumbnailImage {
    }

    .postsContainer ul.searchResults:not(.rdCommands):not(.twoColumn) li .advisorImage {
        width: 110px;
        height: 110px;
        border-radius: 500px;
        border: 4px solid white;
        z-index: 2;
        position: absolute;
        top: 190px;
        left: 30px;
    }

    .postsContainer ul.searchResults:not(.rdCommands):not(.twoColumn) li h4 {
    }

    .postsContainer ul.searchResults:not(.rdCommands):not(.twoColumn) li h5 {
        margin-top: 15px;
        margin-bottom: 15px;
        color: black;
    }

    .postsContainer ul.searchResults:not(.rdCommands):not(.twoColumn) li p {
    }

    .postsContainer ul.searchResults:not(.rdCommands):not(.twoColumn) li .category {
        margin-top: 10px;
    }

    .postsContainer ul.searchResults:not(.rdCommands):not(.twoColumn) li .postInformation {
        width: 90%;
        position: relative;
        margin: auto;
        margin-top: 50px;
    }
