﻿.postsContainer {
    position: relative;
    width: 100%;
    margin: auto;
    padding-top: 200px;
}

.postsContainer em{
    font-style: italic;
}

@media print{

    .postsContainer {
        padding-top: 150px;
    }
}

.wp-block-embed-youtube {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
  }
  
  .wp-block-embed__wrapper {
    position: absolute !important;
    width: 100%;
    height: 100%;
}

  .wp-block-embed-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

  
.popularpostsContent .export {
    width: 15px;
    height: 15px;
    float: left;
    margin-left: 15px;
    margin-top: 10px;
}

.popularpostsContent p {
    clear: left;
}

.popularpostsContent .title a {
    display: block;
    float: left;
}

body.isInModalWindow .postsContainer {
    width: 80%;
    margin: auto;
    margin-top: 50px;
}

body.isInModalWindow .postSidePanels {
    display: none;
}

body.isInModalWindow .postsContainer .postDetails {
    width: 100%;
    margin-left: auto;
    margin-left: auto;
}

.postsContainer .postBody p {
    margin-bottom: 20px;
}

@media print {

    .postsContainer .postBody p{
        margin-left:0;
        padding-left:0;
    }
}

@media print {

    .postsContainer h1{
        margin:0;
        padding:0;
        margin-left:10px;
    }
}

    .postsContainer .postDetails {
        width: 900px;
        position: relative;
        float: left;
        margin-left: calc(50% - 450px - 275px);
        margin-right: calc(50% - 450px - 275px);
    }

        .postsContainer .postDetails .postHeader span img {
            width: 5px;
            height: 10px;
            margin-left: 15px;
            margin-right: 18px;
        }

    .postsContainer .postBody {
        clear: left;
        margin-top: 30px;
    }

        .postsContainer .postBody img {
            max-width: 100%;
            margin-top: 30px;
        }

            .postsContainer .postBody img[src$='.svg'] {
                float: left;
                width: 80px;
                margin-right: 30px;
                margin-top: 0px;
            }

    .postsContainer.trueValue .postBody div {
        display: flex;
        align-items: start;
        margin-top: 25px;
    }

    .postsContainer .postCategory li {
        width: auto;
        float: left;
        padding-right: 20px;
        margin-right: 10px;
    }

        .postsContainer .postCategory li:first-child {
            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: 5px;
        }

        .postsContainer .postCategory li:last-child {
            background-image: none;
        }

    .postsContainer .postCategory a {
        color: #c16e32;
        text-transform: uppercase;
    }

    .postsContainer .postBody p {
        line-height: 28px;
    }

    .rgf.wrapper .postsContainer .postBody .signupCallToAction {
        padding: 20px 40px;
        border: 1px solid #c16e32;
        display: flex;
        align-items: center;
        align-content: space-evenly;
        justify-content: space-evenly;

    
    }

    @media print{
        .rgf.wrapper .postsContainer .postBody .signupCallToAction {
            display:none !important;
        }

    }

    .rgf.wrapper .postsContainer .postBody .signupCallToAction h2,
    .rgf.wrapper .postsContainer .postBody .signupCallToAction span {
        font-size: 20px;
        font-weight: 600;
    }

        .rgf.wrapper .postsContainer .postBody .signupCallToAction h2 {
            margin-bottom: 0px;
            margin-top: 14px;
        }

    .postsContainer .postBody .signupCallToAction div {
        display: block;
        width: 400px;
    }

    .postsContainer.trueValue .postBody .nextPost div {
    }

    .postsContainer.trueValue .postBody .nextPost .left {
        display: block;
        margin-top: 0px;
        max-width: 250px;
    }

    .postsContainer .mobileOnly {
        display: none;
    }

    img[src='/img/icons/daniel_graphic_mobile.png'] {
        display: none;
    }

    img[src='/img/icons/daniel_graphic.jpg'] {
    }

    .postsContainer.trueValue .postBody .nextPost .right {
        display: block;
        margin-left: 40px;
    }

    .postsContainer.trueValue .postBody .nextPost p {
        margin-top: 15px;
        font-size: 14px;
        line-height: 20px;
    }

    .rgf.wrapper .postsContainer.trueValue .postBody .nextPost h2 {
        font-size: 18px;
        line-height: 20px;
    }

    .postsContainer.trueValue .postBody .nextPost a {
        color: white;
        background-color: #24377e;
        border: 1px solid #24377e;
        display: block;
        width: 200px;
        font-weight: 500;
        font-size: 13px;
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 7px;
        background-image: url(/img/icons/arrowTopRight.png);
        background-repeat: no-repeat;
        box-sizing: border-box;
        padding-top: 5px;
        padding-bottom: 5px;
        background-size: 9px 9px;
        background-position: calc(100% - 1px) 5%;
    }

    .signupCallToAction a {
        float: right;
        color: white;
        background-color: #24377e;
        border: 1px solid #24377e;
        display: block;
        width: 200px;
        font-weight: 500;
        font-size: 13px;
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 7px;
        background-image: url(/img/icons/arrowTopRight.png);
        background-repeat: no-repeat;
        box-sizing: border-box;
        padding-top: 10px;
        padding-bottom: 10px;
        background-size: 9px 9px;
        background-position: calc(100% - 1px) 5%;
    }

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

    .postsContainer .postDate {
        color: #414042;
        margin-bottom: 30px;
    }

    .postsContainer .advisorImage {
        width: 133px;
        height: 133px;
        border-radius: 500px;
        float: left;
        margin-right: 35px;
    }

    .postsContainer .postedBy:hover .advisorImage {
        box-shadow: 3px 3px 5px #bbbbbb;
    }

    .postsContainer .postedBy p {
        width: 450px;
    }

    .postsContainer .postedBy {
        float: left;
        margin-right: 50px;
        height: 150px;
    }

    .postsContainer .postedByLines {
        margin-top: 22px;
    }

        .postsContainer .postedByLines a {
        }

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

    .postsContainer .postedByLine {
        color: #c16e32;
    }

    .postsContainer .advisorName {
        color: #414042;
    }

    .postsContainer .advisorTitle {
        color: #afa89d;
    }

    .postsContainer .shareThis {
        display: inline;
        float: left;
    }

        .postsContainer .shareThis p {
            width: 200px;
            margin-bottom: 10px;
        }

    .postsContainer .shareThisLines {
        margin-top: 22px;
    }

    .postsContainer .shareThis img {
        width: 44px;
        height: 44px;
    }

    @media print {
        .postsContainer .postSidePanels {
            display: none;
        }
    }

    .postsContainer .postDetails .postHeader {
    }

        .postsContainer .postDetails .postHeader h4 {
        }

    /*side panels*/

    .postsContainer .postSidePanels {
        width: 550px;
        position: relative;
        float: right;
    }

    .postsContainer .popularCategories {
        background-color: #ebebe8;
        height: 160px;
        width: 100%;
        margin-bottom: 30px;
        position: relative;
        background-image: url('../../img/icons/arrowTopLeft.png');
        background-position: 10px 10px;
        background-repeat: no-repeat;
        background-size: 16px 16px;
    }

        .postsContainer .popularCategories ul {
            -moz-column-count: 2;
            -moz-column-gap: 2em;
            -webkit-column-count: 2;
            -webkit-column-gap: 2em;
            column-count: 2;
            column-gap: 2em;
        }

        .postsContainer .popularCategories li {
            width: auto;
        }

            .postsContainer .popularCategories li a {
            }

                .postsContainer .popularCategories li a:hover {
                }

    .postsContainer .searchposts {
        background-color: #ebebe8;
        height: 160px;
        width: 100%;
        margin-bottom: 30px;
        position: relative;
        background-image: url('../../img/icons/arrowTopLeft.png');
        background-position: 10px 10px;
        background-repeat: no-repeat;
        background-size: 16px 16px;
    }


.postsContainer .bookMeeting {
    background-color: #ebebe8;
    height: 180px;
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    background-image: url('../../img/icons/arrowTopLeft.png');
    background-position: 10px 10px;
    background-repeat: no-repeat;
    background-size: 16px 16px;
}

    .postsContainer .popularposts {
        background-color: #ebebe8;
        position: relative;
        background-image: url('../../img/icons/arrowTopLeft.png');
        background-position: 10px 10px;
        background-repeat: no-repeat;
        background-size: 16px 16px;
    }

    .postsContainer .postSidePanels .popularCategoriesContent,
    .postsContainer .postSidePanels .searchpostsContent {
        margin: auto;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 450px;
        margin-left: 70px;
     margin-top:30px;
    }

    .postsContainer .postSidePanels .popularpostsContent {
        margin: auto;
        position: relative;
        top: 50px;
        left: 0;
        bottom: 0;
        right: 0;
        width: 450px;
        margin-left: 70px;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .postsContainer .postSidePanels h5 {
        margin-bottom: 10px;
    }

    .postsContainer .postSidePanels .popularCategoriesHeader {
        position: absolute;
        right: 50px;
        top: 20px;
        width: 150px;
        height: 20px;
    }

        .postsContainer .postSidePanels .popularCategoriesHeader p {
            position: absolute;
            right: 0;
            color: #afa89d;
        }

    .postsContainer .postSidePanels .popularposts h5 {
        margin-bottom: 30px;
    }

    .postsContainer .postSidePanels .catColTwo,
    .postsContainer .postSidePanels .catColOne {
        display: inline-block;
        width: 200px;
    }

        .postsContainer .postSidePanels .catColTwo *,
        .postsContainer .postSidePanels .catColOne * {
            width: 200px;
        }

    .postsContainer .searchposts input {
        width: 400px;
        height: 40px;
        border: 0.5px solid black;
        padding-left: 10px;
        background-color: transparent;
        font-size: 13px;
        color: #afa89d;
        background-image: url('../../img/icons/Search_icon_darker.png');
        background-position: 365px 0px;
        background-repeat: no-repeat;
        background-size: 40px 40px;
    }

    .postsContainer .postSidePanels .postSummary .postImages {
        height: 310px;
    }

    .postsContainer .postSidePanels .postSummary {
        width: 420px;
        position: relative;
    }

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

        .postsContainer .postSidePanels .postSummary .ThumbnailImage {
            width: 420px;
            height: 231px;
            object-fit: cover;
        }

        .postsContainer .postSidePanels .postSummary .advisorImage {
            width: 110px;
            height: 110px;
            border-radius: 500px;
            border: 4px solid white;
            z-index: 2;
            position: absolute;
            top: 175px;
            left: 30px;
        }

        .postsContainer .postSidePanels .postSummary h4 {
            color: #001d67;
        }

        .postsContainer .postSidePanels .postSummary h5 {
            margin-bottom: 80px;
            color: black;
        }
