.carousel-inner .item:after {
    display: block;
    width: 100%;
    height: 500px;
    position: absolute;
    background-color: rgba(0, 0, 0, .45);
    content: ' ';
}

.carousel-inner .item {
    height: 500px;
}

.carousel-caption {
    text-align: center;
    position: absolute;
    padding: 0;
    display: block;
    bottom: 25%;
}

.carousel-caption .btn.btn-default:hover,
.carousel-caption .btn.btn-default:focus,
.carousel-caption .btn.btn-default {
    background: transparent;
    border: 1px solid #fff;
    margin: 15px 0;
    color: #fff;
    text-shadow: none !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.carousel-caption .btn.btn-default:hover,
.carousel-caption .btn.btn-default:focus {
    border-color: transparent !important;
}

.carousel-caption .btn.btn-default:after {
    background: #39c59c;
    display: block;
    position: absolute;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    top: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    content: '';
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.carousel-caption .btn.btn-default:hover:after {
    top: 0;
}

/* news item */
:root {
    --large-item-height: 380px;
}

.news-item {
    position: relative;
    margin: 0;
}

.news-item .list-group-item {
    padding: 0;
    position: relative;
    overflow: hidden;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-bottom: 29px;
    border: 0;
    height: var(--large-item-height);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.news-item.lg .list-group-item {
    background: #000;
}

.news-item .image-block {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 50;
}

.news-item .featured-image {
    position: relative;
    pointer-events: none;
    background: #ccc;
    padding: 0;
    border: 0;
    height: 210px;
    overflow: hidden;
}

.news-item.lg .featured-image {
    opacity: 0.6;
    height: var(--large-item-height);
}

.news-item.lg:hover .featured-image {
    opacity: 0.3;
}

.news-item .featured-image a {
    position: relative;
    display: block;
    outline: none;
    pointer-events: none;
}

.news-item .featured-image img {
    position: relative;
    pointer-events: none;
    background: #ccc;
    height: 210px;
    overflow: hidden;
    min-height: 36px;
    padding: 0;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    display: block;
    line-height: 20px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    margin: 0 auto;
    -webkit-transform: scale(1.27);
    -ms-transform: scale(1.27);
    transform: scale(1.27);
}

.news-item.lg .featured-image img {
    height: var(--large-item-height);
    min-width: 100%;
}

.news-item .hidden-block {
    position: relative;
    display: block;
    width: 100%;
    background: transparent;
}

.news-item.lg .hidden-block {
    display: none;
}

.news-item .news-cat {
    position: absolute;
    display: block;
    top: 21px;
    left: 20px;
}

.news-item .news-cat > a {
    color: #fff;
    padding: 4px 6px 5px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #39c59c;
    font-size: 12px;
    text-decoration: none !important;
}

.news-item .news-body {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    background: #fff;
    padding: 0 7% 15px;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.news-item.lg .news-body {
    bottom: 0;
    background: transparent;
}

.news-item.lg .news-body,
.news-item.lg .news-body-content .news-subject,
.news-item.lg .news-meta span[class^="news-"] {
    color: #fff;
}

.news-item .author {
    position: relative;
    display: block;
    font-size: 14px;
    font-style: normal;
    padding: 15px 0 7px;
}

.news-item .news-subject {
    position: relative;
    display: block;
    font-size: 20px;
    line-height: 26px;
    color: #000;
    font-weight: bold;
    padding-bottom: 34px;
}

.news-item h5.news-tag {
    margin: 0;
}

.news-item .news-news {
    position: relative;
    margin-top: -24px;
    margin-bottom: 13px;
    font-size: 12px;
    visibility: hidden;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.news-item .news-meta {
    position: relative;
    z-index: 10;
    background: #fff;
    margin-bottom: 0;
    padding: 8px 7% 14px;
    border: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    overflow: hidden;
    font-size: .92em;
}

.news-item.lg .news-meta {
    background: transparent;
    margin-top: -50px;
}

.news-item .news-meta .news-date {
    position: relative;
}

.news-item .news-meta span[class^="news-"] {
    font-size: 11px;
    margin-right: 10px;
    display: inline-block;
    color: #999;
}

.news-item .news-meta span[class^="news-"]:last-child {
    margin-right: 0;
}

.news-item .btn-default {
    visibility: hidden;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.news-item:hover .news-body {
    bottom: 45px !important;
}

.news-item:hover .btn-default,
.news-item:hover .news-news {
    visibility: visible;
    opacity: 1;
    filter: alpha(opacity=100);
}

/* Standard Stock News */
.news-snippet {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    padding: 15px;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6);
    margin-top: -100%;
    color: #FFF !important;
    text-decoration: none !important;
}

.news-title {
    margin-top: 20px !important;
}

.news-text {
    word-break: break-all;
    word-wrap: break-word;
}

.news-footer > a {
    color: rgb(153, 153, 153);
    font-weight: 600;
}

.news-footer > a:hover, .news-footer > a:focus, .news-footer > a:active {
    color: rgb(21, 133, 212) !important;
}

.news-avatar {
    background-color: #FFF;
    position: relative;
    margin-bottom: 20px;
    margin-top: -15px;
    padding-top: 5px;
    padding-right: 5px;
    z-index: 100;
}

.news-profile-link {
    min-height: 70px;
}

#newscat > ul > li > a {
    width: auto !important;
    margin: 5px;
}

.image-header img {
    width: auto;
    min-height: 100%;
    max-width: inherit;
    margin: 0 auto;
    position: relative;
    max-height: 220px;
}

.comments-item {
    text-decoration: none !important;
}

.news-img-center {
    display: block;
    margin: 5px auto 30px;
}

.news-img-center > img {
    margin: 0 auto;
}

.panel-footer {
    position: relative;
    bottom: 0;
}

#news-carousel img {
    width: 100%;
    margin-top: 0;
}

#news-carousel .carousel-caption > div {
    min-height: 80px;
    width: 100%;
}
