.news-posts {
    float: left;
    width: 100%;
}

.news-posts.full-news {
    margin-bottom: 60px;
}
.loadmore-button {
    display: none;
}
.news-posts .post {
    //background: #FFF;
    overflow: hidden;
    margin: 30px 0 0 0;
}
.news-posts .featured-post .post {
    min-height: 455px;    
}
div.ccm-page .news-posts .post-inner{
    background-color: #fff;
}

.news-posts .post img {
    width: 100%;
    height: auto;
}

.news-posts .post h4 {
    font-size: 1.2em;
    font-weight: bold;
    color: #2C3E7E;
    margin-top: 0;
}

.news-posts .news-snippet {
    padding: 15px 0;
}

.news-posts .post.hideme {
    opacity: 0;
}

.featured-post {
    width:100%;
    position: relative;
    overflow: hidden;
    margin: 30px 0 0 0;
}

.featured-post .post {
    margin: 0;
}

.featured-post .news-snippet{

    z-index: 2;
    color: #FFF;
    top: 25%;
    position: absolute;
    
}

.featured-post .news-snippet h4 {
    color: #FFF;
    font-size: 1.75em;
}


.featured-post .overlay {
    position: absolute;
    z-index: 1;
    top:0;bottom:0;left:0;right:0;
    background: -moz-linear-gradient(45deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.98) 2%, rgba(229,229,229,0) 100%);
    background: -webkit-linear-gradient(45deg, rgba(0,0,0,1) 0%,rgba(0,0,0,0.98) 2%,rgba(229,229,229,0) 100%);
    background: linear-gradient(45deg, rgba(0,0,0,1) 0%,rgba(0,0,0,0.98) 2%,rgba(229,229,229,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00e5e5e5',GradientType=1 );
}

.featured-post img {
    width: 100%;
    top: 0;
    height: auto;
}

.news-posts .post .img-row {
    position: relative;
    min-height: 160px;
}

.news-page-block, .news-home-block{
    width: 100%;
}

.news-posts .post .dateAdded {
    position: absolute;
    left:15px;
    top: 15px;
    margin:0;
    z-index: 2;
    background: rgba(255,255,255,0.8);
    color: #000;
    padding: 10px;
    font-weight: bold;
}

.featured-post .dateAdded{
    margin:0;
    z-index: 2;
}

.latest-news-items {
    float: left;
    width: 100%;
    background: #FFF;
    position: relative;
}

.home-news-posts{
    padding: 30px;
}

.home-news-posts .home-featured-news p{
    margin: 0;
    padding-bottom: 16px;
}
div.ccm-page .home-news-posts .home-featured-news .news-snippet h4{
    margin:0;
}

.home-news-posts .home-featured-news .news-snippet {
    height: 100%;
    padding: 0;
}

.home-news-posts .home-featured-news .news-snippet img {
    height: auto;
}

.home-news-posts .home-featured-news .news-snippet .details{
    padding: 10px 15px;
    min-height: 190px;
}

.home-news-posts .post .dateAdded,
.home-news-posts .home-featured-news .dateAdded{
    position: absolute;
    left:15px;
    top: 15px;
    margin:0;
    z-index: 2;
    background: rgba(255,255,255,0.8);
    color: #000;
    padding: 10px;
    font-weight: bold;
}

.latest-news-items img {
    width: 100%;
}

.news-home-block {
    background-color: #EAEAEA;
}

.news-home-block .latest-news-items {
    background: #eaeaea;
}

.news-section-home h3 {
    margin: 10px 0;
}
.news-section-home .inner {
    background-color: #EAEAEA;
    position: relative;
    overflow: hidden;
}

.news-section-home .news-snippet {
    background: #FFF;
    padding: 15px;
}

.news-section-home .news-items .news-item {
    margin: 0 0 30px 0;
    float: left;
}

.news-section-home img {
    height: 100%;
    width: 100%;
}

.news-section-home .gradientback {
    position:absolute;
    bottom:0px;
    left:0px;
    width:100%;
    height:150px;
    border-radius: 0 0 5px 5px;
    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );

}
.news-section-home .btn-set {
    position: absolute;
    bottom: 20px;
}

.btn-home {
    position:absolute;
    bottom:10px;
}
.news-section-mid .post {
    border-bottom: 1px solid #d9d9d9;
    padding-top: 20px;
}
.news-section-mid .post h4 {
    margin: 0 0 10px 0;
}

.news-section-home #twitter-feed {

}
.news-section-home #twitter-feed ul {
    list-style: none;
    padding: 20px;
}
.news-section-home #twitter-feed ul > li {
    border-bottom: 1px solid #d9d9d9;
    padding-top: 10px;
}
.news-section-home #twitter-feed ul span > img {
    width: 50px;
    margin-right: 5px;
}
.news-section-home #twitter-feed .tweet, 
.news-section-home #twitter-feed .timePosted {
    margin-left: 60px;
}
.news-section-home #twitter-feed .timePosted > a {
    color: #d9d9d9;
}

.full-news .fail-message{
    display: none;
}
.full-news.fail .fail-message{
    display: block;
}
.home-featured-news{
    float: left;
    margin-bottom: 30px;
/*    padding: 0 30px 0px 30px;*/
}
h4.cut-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
h4.cut-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



@media screen and (min-width: 768px) {

    .featured-post {
        min-height: 450px;
        max-height: 450px;
    }
    .news-posts .post .img-row {
        min-height: 195px;
    }
    .news-posts .post  .news-snippet{
        min-height: 190px;
    }

    .featured-post .news-snippet{
        position: absolute;
        z-index: 2;
        color: #FFF;
        top: 50%;
        transform: translate(0,-50%);
    }
    
    .featured-post img {
        position: absolute;
    }    
    
    .featured-post .news-snippet{
        position: absolute;
        z-index: 2;
        color: #FFF;
        top: 50%;
        width: 50%;
        transform: translate(0,-50%);
    }
    .btn-set .btn{
        position: absolute;
        bottom: 15px;
    }

    .news-section-home .news-items .news-item {
        float: left;
        width: 100%;
    }

    .news-section-home .news-items .news-item a {
        float: left;
        width: 100%;
        display: block;
    }

    .news-section-home .news-items img{
        max-height: 195px;
    }
}


@media only screen and (min-width: 768px){

    .news-section-home .news-items .news-item {
        float: left;
        width: 50%;
        padding: 0 15px;
    }
}

@media only screen and (min-width:992px){
    .news-posts .post .news-snippet{
        min-height: 250px;
    }
    .news-section-mid #news-post-0 {
        padding-top: 0;
    }
    .news-posts .post .img-row {
        min-height: 165px;
    }
    .news-section-home .news-items{
        margin: 0
    }

    .news-section-home .news-items img{
        max-height: 172px;
    }

    .row-eq-md-height {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }
    
    .home-news-posts .home-featured-news .news-snippet .details {
        min-height:250px;
    }


}

@media only screen and (min-width:1200px){
    .news-posts .news-snippet{
        min-height: 260px;
    }
    .btn-set .btn{
        position: absolute;
    }
    .news-posts .post .img-row {
        min-height: 205px;
    }
    .news-section-home .news-items img{
        max-height: none;
    }

    .news-section-home .news-items:nth-of-type(odd) {
        display: flex;
        flex-wrap: wrap;
    }

    .news-section-home .news-items:nth-of-type(odd) .news-item:nth-child(odd){
        order: 2;
        flex: 1 auto;
    }

    .news-section-home .news-items:nth-of-type(odd) .news-item:first-child{
        margin-bottom: 0;
    }

    .news-section-home .news-items:nth-of-type(even) .news-item:last-child{
        margin-bottom: 0;
    }

    .news-section-home .news-items:nth-of-type(odd) .news-item:nth-child(even){
        order: 1;
        flex: 1 auto;
    }

    .news-section-home .news-items .news-item {
        width: 100%;
    }

    .news-section-home .news-items .news-item {
        padding:0;
    }
   
    .home-news-posts .home-featured-news p {
        max-height: 147px;
        overflow: hidden;
        margin-bottom: 16px;
    }
}