﻿/* Article Preview */

.this-is-a-preview {
    text-align: center;
    background-color:  var(--darkgrey);
    padding: 8px;
    width: 100%;
    font-weight: bold;
    color:  #fff;
    clear: both;
    margin-bottom: 16px;
}

/* Article */

.article-width {
    max-width: 900px;
    margin: 16px auto 16px auto;
    float: none !important
}

/* Author */

.author {
    background-color: #efefef;
    padding: 16px;
    margin: 10px auto 30px auto;
    clear: both;   
    overflow: auto;
    max-width: 900px;
}

.author h3,
.author h4 {
    color: black;
}

.author .author-image {
    float: left;
    width: 135px;
    height: 135px;
    margin-right: 16px
}

.author #hypblogauthorlinkedin,
.author #lblblogauthorlinkedin {
    float: right;
}

@media only screen and (max-width: 677px) {
    .author .author-image {
        float: none;
        margin: auto;
        width: 250px;
        height: 250px
    }

    .author h3 {
        margin: 16px 0;
    }

    .author #lblblogauthorlinkedin {
        margin: 12px 0;
    }
}

/* Page Layout */

.news-page-wrap {    
    padding: 0 30px;
}

.sharethis-inline-share-buttons {
    float: right;
}

/* HTML Editor Custom Styles */

.image-full-width,
.image-full-width {
    width: 100%;
    height: auto;
    margin: 0 0 1em 0;
}

.image-left,
.image-left {
    float: left;
    width: 50% !Important;
    margin: 0 1em 1em 0;
    height: auto;
}

.image-right,
.image-right {
    float: right;
    width: 50% !Important;
    margin: 0 0 1em 1em;
    height: auto;
}



@media only screen and (max-width: 600px) {

    .image-left,
    .image-left,
    .image-right,
    .image-right {
        float: none;
        width: 100% !Important;
        margin: 0 0 1em 0;
    }
}

/* Article Listing */

.article {
    float: left;
    width: 31.66%;
    margin-right: 2.5%;
    margin-bottom: 2.5%;
}

.article-listing a,
.article a {
    position: relative;
    display: block;
}

.article-image {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.article-image img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

.article-hover {
    opacity: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .3);
    -webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
}

.article-hover span {
    background-color:  var(--darkgrey);
    display: block;
    padding: 8px;
    text-align: center;
    color:  #fff;
    font-size: 24px;
}

.article:hover .article-hover {
    opacity: 1
}

.article-description {
    width: 66.66%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, .8);
    color:  #fff;
}

.article-category {
    font-size: 12px;
    line-height: 1;
    margin-bottom: 4px;
}

.article-title {
    color:  #fff;
    font-weight: bold;
    font-size: 18px;
    line-height: 21px;
    max-height: 63px;
    margin: 0px 0 4px 0;
    overflow: hidden;
    display: block;
}

.article-details {
    font-size: 12px;
    line-height: 15px;
}

.author-image {
    width: 30px;
    height: 30px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    overflow: hidden;
    float: left;
    margin-right: 10px
}

.author-image img {
    width: 100%
}

.article-star {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 16px;
}

.article-featured .article-star {
    display: block;
}

.article-featured .article-hover {
    background-color: rgba(188, 3, 42, .3);
}

.article-featured .article-description {
    background-color: rgba(188, 3, 42, .8);
}

.article:nth-child(1) {
    width: 57.5%;
}

.article:nth-child(1) .article-title {
    font-size: 38px;
    line-height: 43px;
    max-height: 88px
}

.article:nth-child(2),
.article:nth-child(3) {
    width: 40%;
    margin-right: 0;
}

.article:nth-child(2) .article-image,
.article:nth-child(3) .article-image {
    padding-top: 37.31%;
}

.article:nth-child(n+4) {
    margin-bottom: 0;
}

.article:nth-child(6) {
    margin-right: 0;
}

.article:nth-child(n+2) .article-title {
    font-size: 20px;
    line-height: 23px;
    max-height: 46px;
}

.article-listing {
    width: 23.125%;
    float: left;
    margin-right: 2.5%;
    margin-bottom: 2.5%;
}

.article-listing .article-image {
    padding-top: 100%;
}

.article-listing:hover .article-hover {
    opacity: 1
}

.article-listing .article-posted {
    display: block;
    font-size: 12px;
}

.article-listing:nth-child(4n) {
    margin-right: 0;
}

@media only screen and (max-width: 1200px) {
    .article:nth-child(n+4) .article-details {
        display: none;
    }
}

@media only screen and (max-width: 992px) {
    .article .article-title {
        font-size: 20px;
        line-height: 1;
        max-height: 42px;
    }

    .article:nth-child(1) {
        width: 100%;
    }

    .article:nth-child(1) .article-image {
        padding-top: 40%;
    }

    .article:nth-child(1) .article-title {
        font-size: 20px;
        line-height: 1;
    }

    .article:nth-child(2),
    .article:nth-child(3) {
        width: 48.75%;
        margin-right: 0;
    }

    .article:nth-child(2) {
        margin-right: 2.5%;
    }

    .article:nth-child(2) .article-image,
    .article:nth-child(3) .article-image {
        padding-top: 56.25%;
    }
}

@media only screen and (max-width:768px) {
    .article-listing {
        width: 31.667%;
    }

    .article-listing:nth-child(4n) {
        margin-right: 2.5%;
    }

    .article-listing:nth-child(3n) {
        margin-right: 0;
    }
}

@media only screen and (max-width: 677px) {
    .news-page-wrap {
        padding: 0 16px;
    }

    .news-page-wrap h1 {
        display: block;
        text-align: center;
    }

    .article {
        width: 100%;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .article .article-details {
        display: none;
    }

    .article .article-title {
        font-size: 20px
    }

    .article:nth-child(1) {
        width: 100%;
    }

    .article:nth-child(1) .article-image {
        padding-top: 75%;
    }

    .article:nth-child(1) .article-title {
        font-size: 20px;
        line-height: 1;
    }

    .article:nth-child(2),
    .article:nth-child(3) {
        width: 100%;
    }

    .article:nth-child(2) .article-image,
    .article:nth-child(3) .article-image {
        padding-top: 56.25%;
    }

    .article:nth-child(n+4) {
        margin-bottom: 16px;
    }

    .article:nth-child(6) {
        margin-bottom: 0;
    }

    .article-listing {
        width: 100%;
        margin-bottom: 24px;
    }

    .article-listing .article-image {
        padding-top: 60%;
    }

    .article-listing .article-posted {
        display: none;
    }

    .article-listing:nth-child(2n) {
        margin-right: 0;
    }
}

/* Related Articles */

.related-stories {
    overflow: auto;
    text-align: left;
}

/* Search */

#ddlnewsgroups {
    border: #C6D0D7 2px solid;
    font-weight: bold;
    background-color: #F1F3F4;
    color: #696D71;
    padding: 8px;
    font-size: 12px;
    width: 100%;
    max-width: 300px;
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    -o-transition: background-color 0.3s;
    transition: background-color 0.3s;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-bottom: 16px;
}

#blogarchive {
    text-align: center;
    padding-top: 0.1px;
}

#blogarchivebody {
    overflow: auto;
    text-align: left;
}

.search-container {
    position: relative;
    overflow: auto;
    margin: 48px auto;
    width: 32%;
    min-width: 260px;
}

.search-container input[type=text] {
    border: #C6D0D7 2px solid;
    font-weight: bold;
    background-color: #F1F3F4;
    color:  var(--darkgrey);
    padding: 16px 42px;
    font-size: 16px;
    width: 100%; 
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    -o-transition: background-color 0.3s;
    transition: background-color 0.3s;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
}

.search-container input[type=text]:focus {
    outline-width: 0;
}

.search-container input[type=text]:hover {
    background-color: #e8eaed;
}

.search-container input[type=text]::placeholder {
    color: #80868B;
}

.search-container span,
.search-container button {
    position: absolute;
    top: 16px;
    font-size: 20px;
    color:  var(--darkgrey);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.search-container button {
    z-index: 1;
    left: 17px;
    border: none;
    background-color: transparent;
    padding: 0;
}

.search-container span:last-child {
    right: 14px;
    display: none;
}

@media only screen and (max-width:677px) {
    .search-container {
        width: 100%;
    }
}

/* Paging */

#paging {
    padding-top: 16px;
    clear: both;
}

#paging p span {
    display: block;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    margin: 16px;
}

#paging p #noresults {
    font-size: 12px;
    margin: 16px;
}

#paging p span a {
    margin: 0 8px;
}

@media only screen and (max-width: 700px) {
    #paging p span {
        font-size: 24px;
    }

    #paging p #noresults {
        font-size: 16px;
    }
}