/* ============================================================================ *
        Framework Post Styles
    ---------------------------------------------------------------------------
        These are the styles which build all the different post types and their
        corresponding templates.
*/


/* ======================================== *
        All Posts
 * ======================================== */
.brg-post img.thumbnail {
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    margin-right: 15px;
    margin-top: 7px;
    max-width: 180px;
    padding: 5px;
}

.brg-post img.primary{
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 5px;
    margin-bottom: 15px;
    margin-right: 15px;
    margin-top: 7px;
}

.brg-post.post.small .title.has-post-date, 
.brg-post.news.small .title.has-post-date {
  margin-left: 0;
}

.brg-post.news.small img.thumbnail {
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    margin-right: 15px;
    margin-top: 7px;
    max-width: 180px;
    padding: 5px;
}

.brg-post.news.small img:hover {
    box-shadow: 0 0 10px rgba(65, 121, 195, 0.9);
}

.brg-post.news.small{
    max-width: 330px;
    display: inline-block;
    padding: 0 25px;
    position: relative;
    vertical-align: top;
}

.brg-post.news.small .title {
    color: #0079c2;
    font-size: 25px;
    font-weight: 900;
    line-height: normal;
    margin: 0;
    padding: 25px 0 15px;
    text-align: left;
    text-transform: uppercase;
}

.brg-post.news.small .title a{
    color: #0079c2;
}

.brg-post.news.small .excerpt {
    color: #5d7483;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
    padding: 0 0 15px;
    text-align: left;
}

@media screen and (max-width: 1200px) {
    .brg-post.news.small{
        max-width: 300px;
    }
}

@media screen and (max-width: 1100px) {
    .brg-post.news.small{
        max-width: 270px;
    }
}

@media screen and (max-width: 1000px) {
    .brg-post.news.small{
        max-width: 245px;
    }
}
@media screen and (max-width: 900px) {
    .brg-post.news.small{
        max-width: 210px;
    }
}

@media screen and (max-width: 800px) {
    .brg-post.news.small{
        max-width: 195px;
    }
}

@media screen and (max-width: 750px) {
    .brg-post.news.small{
        max-width: 100%;
    }
}

.brg-post.post.home .title.has-post-date, 
.brg-post.news.home .title.has-post-date {
  margin-left: 0;
}

.brg-post.news.home img.thumbnail {
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    margin-right: 15px;
    margin-top: 7px;
    max-width: 180px;
    padding: 5px;
}

.brg-post.news.home img:hover {
    box-shadow: 0 0 10px rgba(65, 121, 195, 0.9);
}

.brg-post.news.home {
    width: 33.33333%;
    display: inline-block;
    padding: 0 25px;
    position: relative;
    vertical-align: top;
    text-align: center;
    font-size: 16px;
    border: none;
}

.brg-post.news.home .title {
    color: #0079c2;
    font-size: 25px;
    font-weight: 900;
    line-height: normal;
    margin: 0;
    padding: 25px 0 15px;
    text-align: center;
    text-transform: uppercase;
}

.brg-post.news.home .title a{
    color: #0079c2;
}

.brg-post.news.home .excerpt {
    color: #5d7483;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
    padding: 0 0 15px;
    text-align: center;
}

@media screen and (max-width: 850px) {
    .brg-post.news.home{
        display: block;
        width: 100%;
    }
}

.brg-post.large img.ateec-quizzes {
    width: auto;
    max-width: 20%;
    float: right;
    margin-top: -120px;
    margin-right: 70px;
}


/* ======================================== *
        Page,Post,News Search
 * ======================================== */
.brg-post.page.search,
.brg-post.post.search,
.brg-post.news.search {
    display: inline-block;
    width: 33.333333%;
    vertical-align: top;
    border: none;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.brg-post.page.search .page-search-inner,
.brg-post.post.search .post-search-inner,
.brg-post.news.search .news-search-inner{
    padding: 0 25px;
}

.brg-post.page.search .search-image img,
.brg-post.post.search .search-image img,
.brg-post.news.search .search-image img {
    width: 100%;
    max-width: 400px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

.brg-post.page.search .excerpt,
.brg-post.post.search .excerpt,
.brg-post.news.search .excerpt {
     font-size: 14px; 
     margin-top: 10px; 
}

.brg-post.page.search .read-more-button,
.brg-post.post.search .read-more-button,
.brg-post.news.search .read-more-button {
    float: none;
    margin-top: 15px;
    margin-left: 0;
    margin-bottom: 15px;
}

.brg-post.page.search .brg-button,
.brg-post.post.search .brg-button,
.brg-post.news.search .brg-button {
    background: #0079C2;
}

.brg-post.page.search .brg-button:hover,
.brg-post.post.search .brg-button:hover,
.brg-post.news.search .brg-button:hover {
    background: #2D699D;
}


@media screen and (max-width: 950px) { 
    .brg-post.page.search,
    .brg-post.post.search,
    .brg-post.news.search {
        display: inline-block;
        width: 50%;
    }
}

@media screen and (max-width: 600px) { 
    .brg-post.page.search,
    .brg-post.post.search,
    .brg-post.news.search {
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 450px) { 
    .brg-post.page.search .page-search-inner,
    .brg-post.post.search .post-search-inner,
    .brg-post.news.search .news-search-inner{
        padding: 0 12px;
    }
}


/* ======================================== *
        Post Small
 * ======================================== */
.brg-post.post.small {
    display: inline-block;
    width: 33.333333%;
    vertical-align: top;
    border: none;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.brg-post.post.small .post-small-inner{
    padding: 0 25px;
}

.brg-post.post.small .small-image img {
    width: 100%;
    max-width: 400px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

.brg-post.post.small .excerpt {
     font-size: 14px; 
     margin-top: 10px; 
}

.brg-post.post.small .read-more-button {
    float: none;
    margin-top: 15px;
    margin-left: 0;
    margin-bottom: 15px;
}

.brg-post.post.small .brg-button {
    background: #0079C2;
}

.brg-post.post.small .brg-button:hover {
    background: #2D699D;
}


@media screen and (max-width: 950px) { 
    .brg-post.post.small {
        display: inline-block;
        width: 50%;
    }
}

@media screen and (max-width: 600px) { 
    .brg-post.post.small {
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 450px) { 
    .brg-post.post.small .post-small-inner{
        padding: 0 12px;
    }
}



/* ======================================== *
        News Medium
 * ======================================== */
.brg-post.news.medium {
    display: inline-block;
    width: 33.333333%;
    vertical-align: top;
    border: none;
    margin-bottom: 0;
}

.home .brg-post.news.medium {
    border-bottom: 1px solid #ddd;
    display: inline-block;
    width: 100%;
    margin-bottom: 25px;
}

.brg-post.news.medium .news-medium-inner{
    padding: 0 25px;
}

.home .brg-post.news.medium .news-medium-inner{
    padding: 0;
}

.brg-post.news.medium .medium-image img {
    width: 100%;
    max-width: 400px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

.home .brg-post.news.medium .medium-image {
    display: none;
}

.brg-post.news.medium .read-more-button {
    float: none;
    margin-top: 15px;
    margin-left: 0;
    margin-bottom: 15px;
}

.post-type-archive-news .brg-post.news.medium .brg-button {
    background: #0079C2;
}

.post-type-archive-news .brg-post.news.medium .brg-button:hover {
    background: #2D699D;
}

.brg-post.news.medium .read-more-button {
    float: none;
    margin-top: 15px;
    margin-left: 0;
    margin-bottom: 15px;
}

.home .brg-post.news.medium .read-more-button {
    margin-left: 25px;
}

@media screen and (max-width: 950px) { 
    .brg-post.news.medium {
        display: inline-block;
        width: 50%;
    }
}

@media screen and (max-width: 600px) { 
    .brg-post.news.medium {
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 450px) { 
    .brg-post.news.medium .news-medium-inner{
        padding: 0 12px;
    }
}


/*-----------------------------------------------------------
Responsive CSS
-----------------------------------------------------------*/
@media screen and (max-width: 1000px) { 
    .brg-post.staff .contact-information {
        display: block;
    }

    .brg-post.medium.staff .read-more-button.top {
        display: none;
    }

    .brg-post.medium.staff .read-more-button.bottom {
        display: block;
        text-align: center;
    }
}

@media screen and (max-width: 650px) {
    .brg-post.large img.primary {
        float: none;
    }
    
    .brg-post.large img.ateec-quizzes {
        margin-top: 0;
        margin-right: 0;
    }

    .brg-post.post.medium .read-more-button {
        float: left;
        margin-left: 0;
    }

    /*.brg-post.post.medium .read-more-button, */
    /*.brg-post.news.medium .read-more-button {*/
    /*    float: left;*/
    /*    margin-left: 0;*/
    /*}*/

    .brg-post.medium.post .taxonomy-container {
        clear: both;
    }

    /*.brg-post.medium.post .taxonomy-container,*/
    /*.brg-post.news.medium .read-more-button {*/
    /*    clear: both;*/
    /*}*/
}

@media screen and (max-width: 450px) {
    .brg-post.news.small img.primary{
        margin-right: 0;
        padding: 0;
    }
}