/**
 * 
 * Тема : 
 * 
 *
 * 
 */


#iblock-news {
    padding: 30px 0 0;
}


#iblock-news .col {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    
    margin-bottom: 75px;
}

@media (min-width: 576px) {

}

@media (min-width: 768px) {
    #iblock-news .col {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    body:not(.blog) #iblock-news .col:nth-last-of-type(1) {
        display: none;
    }
}

@media (min-width: 992px) {
    #iblock-news .col {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    body:not(.blog) #iblock-news .col:nth-last-of-type(1) {
        display: block;
    }
}

@media (min-width: 1200px) {

}


/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */




#iblock-news .item {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    
    position: relative;
    height: 100%;
    padding-bottom: 80px;
    
}

#iblock-news .item .image-box {
    display: block;
    text-decoration: none;
}

#iblock-news .item .meta,
#iblock-news .entry .meta {
    margin-top: 10px;
    padding-left: 20px;
    
    font-size: 14px;
    color: #b0b0b0;
    
    background-image: url('/_images/icon-time.svg');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 17px auto;
}

#iblock-news .item .title {
    -ms-flex-positive: 1;
    flex-grow: 1;
    
    margin-top: 5px;
    
    font-size: 18px;
    color: var(--color-text);
}

#iblock-news .item .about {
    display: none;
}

#iblock-news .item .more {
    position: absolute;
    left: 0; bottom: 0;
}

#iblock-news .item .btn {
    min-width: 180px;
}


/*
.blog #iblock-news .item .title {
    font-size: 20px;
}

.blog #iblock-news .item .about {
    display: block;
    margin-top: 30px;
}
*/

/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

#iblock-news .iblock-footer {
    padding: 0 0 30px;
    text-align: center;
}

#iblock-news .iblock-footer .btn {
    min-width: 180px;
}

/*
 * -----------------------------------------------------------------------------
 *
 * 
 *
 * -----------------------------------------------------------------------------
 */

#iblock-news-single {
    padding: 1rem 0 2rem;
}

#iblock-news-single #iblock-news .title {
    margin-bottom: 1rem;
    
    font-size: 32px;
    line-height: 1.1;
}

#iblock-news-single #iblock-news .iblock-footer {
    padding-top: 2rem;
    text-align: left;
}

/*
 * -----------------------------------------------------------------------------
 *
 * Страница новостей.
 *
 * -----------------------------------------------------------------------------
 */

.col-main #iblock-news .meta {
    margin-top: 0;
    margin-bottom: 1rem;
}

.col-main {
    margin-bottom: 3rem;
}

.col-sidebar {
    margin-bottom: 3rem;
}

/*
@media (max-width: 767px) {
    .col-sidebar {
        display: none;
    }
}
*/

@media (min-width: 768px) {
    
    .row-news {
        display: -ms-flexbox;
        display: flex;

        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }
    
    .col-main {
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
    
    .col-sidebar {
        -ms-flex: 0 0 290px;
        flex: 0 0 290px;
        max-width: 290px;
    }
    
    .sidebar {
        position: relative;
        height: 100%;
        
        margin-left: 60px;
    }
    
    .sidebar .sidebar-widgets {
        position: sticky; top: 75px;
    }
}

@media (min-width: 992px) {
    .col-sidebar {
        -ms-flex: 0 0 330px;
        flex: 0 0 330px;
        max-width: 330px;
    }
}

/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

/*
 * -----------------------------------------------------------------------------
 *
 * Виджет новостей/документов.
 *
 * -----------------------------------------------------------------------------
 */

#news-sidebar {
    margin-top: 30px;
}


#news-sidebar .widget-title {
    margin-bottom: 30px;
    font-size: 16px;
    font-weight: 600;
}

#news-sidebar .widget + .widget {
    margin-top: 2rem;
}

/*

.widget-news {
    
}

.widget-news .widget-items {

}

.widget-docs {
    
}

.widget-docs .widget-items {

}

*/


.widget-links .label {
    margin-top: 25px;
    
    font-size: 14px;
    color: #b0b0b0;
}


.widget-links .item {
    display: block;
    
    position: relative;
    margin-top: 25px;
    
    text-decoration: none;
    color: inherit;
}

.widget-links .item::before {
    content: "";
    position: absolute;
    top: 7px; left: -16px;
    
    width: 10px; height: 10px;
    
    background-image: url('/_images/icon-arrow.svg');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 10px auto;
}

.widget-links .item:hover .title {
    text-decoration: underline;
}

.widget-links .title {
    font-size: 17px;
    color: #ae8856;
}

.widget-links .meta {
    margin-top: 10px;
    padding-left: 20px;
    
    font-size: 14px;
    color: #b0b0b0;
    
    background-image: url('/_images/icon-time.svg');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 17px auto;
}


/*

-!!! Нахер?

#news-sidebar .widget-categories {
    margin-top: 45px;
}

#news-sidebar .widget-categories .widget-items {
    margin: -3px 0;
}

#news-sidebar .widget-categories .btn {
    margin: 0 3px 6px;
}

*/


/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

