/** BLOCK: NEWS - CSS **/
.news{
    width: 80%;
    margin: 0 auto;
    position: relative;
}
.news .title {
    text-align: center;
    margin-bottom: 0.75rem;
    margin-top: 40px;
}

.news .news-text {
    text-align: center;
    /*margin-bottom: 3rem;*/
}

.news .wall {
    display: grid;
    grid-template-columns: 2fr 0.1fr 2fr;
    grid-gap: 1rem;
}

.news .circle {
    height: 6px;
    width: 6px;
    background: #D5D5D5;
    margin: auto;
    border-radius: 100%;
}

.news .line {
    height: 100%;
    width: 1px;
    background: #D5D5D5;
    margin: auto;
}

.news-list{
    position: relative;
    margin-top: 130px;
}

.news .block{
    position: relative;
    float: left;
    clear: left;
    width: 45%;
    list-style-type: none;
    display: block;
    margin-top: 132px;

    background-color: var(--secondary-color);
    font-size: 18px;
}
.news .block:nth-of-type(2n){
    float: right;
    clear: right;
}
.news .block:first-child{
    margin-top: -40px;
}

.news .block a{
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

.news .block .thumbnail {
    height: 240px;
    position: relative;
    padding: 1rem;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    font-size: 14px;
}

.news .block .thumbnail .date {
    background: var(--primary-color);
    color: #FFFFFF;
    position: absolute;
    padding: 0.35rem;
    font-family: var(--font-medium);
}

.news .block .news__content{
    color: var(--tertiary-color);
    padding: 22px 20px;
    text-decoration: none;
}
.news .block:hover{
    background-color: #E6E6E6;
}

.news .block .thumbnail .block-logo {
    font-family: "Font Awesome 5 Pro";
    content: '\f16d';
    position: absolute;
    color: #FFFFFF;
}

.news .news-btn {
    text-align: center;
    /*margin: 3rem 0 0 0;*/
}

.news .sbi_caption_wrap {
    background: var(--secondary-color) !important;
    color: var(--tertiary-color) !important;
    text-align: left;
    padding: 2rem 1rem !important;
}

.news .timeline{
    position: absolute;
    height: 100%;
    margin: 0 auto;
    width: 2px;
    background-color: #D5D5D5;
    top: 0;
    left: 50%;
}
.news .timeline:before{
    width: 6px;
    height: 6px;
    border-radius: 50%;
    content: '';
    display: block;
    margin-left: -2px;
    background-color: var(--primary-color);
}
.news .timeline:after{
    height: 450px;
    width: 2px;
    position: absolute;
    top: 0;
    background-color: var(--primary-color);
    content: "";
}

@media only screen and (max-width: 990px) {

    .news {
        width: 100%;
    }

    .news .wall {
        grid-template-columns: 1fr;
    }

    .news .news-text {
        margin: 0;
    }

    .news .wall .middle {
        display: flex;
    }

    .news .circle {
        margin: initial;
    }

    .news .line {
        height: 1px;
        width: 100%;
    }

    .news .block{
        float: none !important;
        clear: none !important;

        width: 90%;
        margin: 0 auto;

        margin-bottom: 60px;
    }
    .news .block:first-child{
        margin-top: 0;
    }


    .news .timeline{
        display: none;
    }
}