﻿@media (min-width: 992px) {
    .topFourNews [id*='bar'] {
        -webkit-transition: width 250ms linear;
        -moz-transition: width 250ms linear;
        -o-transition: width 250ms linear;
        transition: width 250ms linear;
    }

    .topFourNews .thumb {
        overflow: hidden;
    }

    .topFourNews .thumbnails > div:hover {
        opacity: 0.9;
    }

    .topFourNews .grayline {
        width: 100%;
        height: 6px;
        background-color: gray;
    }

    .topFourNews .blueline {
        margin-top: -6px;
        opacity: 1 !important;
        width: 0;
        background-color: #313971;
        height: 6px;
        z-index: 3;
    }
}
@media (min-width: 768px) {
    .topFourNews .content-in {
        background: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 43%);
        background: -webkit-gradient(left bottom,right top,color-stop(0,rgba(0,0,0,0)),color-stop(100%,gba(0,0,0,0.8) ));
        -webkit-filter: progid:dximagetransform.microsoft.gradient(startColorstr='rgba(0,0,0,0)', endColorstr='gba(0,0,0,0.8)', GradientType=1);
        filter: progid:dximagetransform.microsoft.gradient(startColorstr='rgba(0,0,0,0)', endColorstr='gba(0,0,0,0.8)', GradientType=1);
        width: 100%;
        padding: 20px;
    }

    .topFourNews .content {
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 3;
        width: 100%;
        color: #fff;
    }

    .topFourNews .image-container {
        position: relative;
    }
}

@media (max-width: 767px) {
    .topFourNews .content h3 {
        font-size: 20px;
        line-height: 1.25;
        margin-bottom: 10px;
        margin-top: 10px;
        font-weight: 500;
    }

    .topFourNews .content {
        border-bottom: 1px solid #ddd !important;
        padding-bottom: 20px;
    }

    .topFourNews #mainUl {
        margin-bottom: 0;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .topFourNews .banners a:nth-child(odd) img {
        float: left !important;
    }

    .topFourNews .banners a:nth-child(even) img,
    .topFourNews .banners a:last-child img {
        float: right !important;
    }
}

.topFourNews #mainUl {
    padding: 0 15px;
}

.topFourNews ul li.active {
    visibility: visible;
    display: inline;
}

.topFourNews ul li.inactive {
    visibility: hidden;
    display: none;
}
