

/* Start:/local/templates/.default/components/bitrix/system.pagenavigation/mm_nav/style.css?17798842452436*/
/* pagination */
.bottom-page-pagination
{
    margin-top: 80px;
    width: 100%;

    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    
    padding-top: 24px;
    position: relative;
}
@media screen and (max-width: 992px)
{
    .bottom-page-pagination
    {
        margin-top: 50px;
    }
}
.bottom-page-pagination::before
{
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 100vw;
    height: 1px;
    background-color: #4F545D;
}

/* on white page */
.bottom-page-pagination.white::before
{
    background-color: #ECF0F0;
}

.pagination-numbers
{
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;

    margin: 0 58px;
}
@media screen and (max-width: 355px)
{
    .pagination-numbers
    {
        margin: 0 40px;
    }
}

.pagination-number
{
    display: block;
    position: relative;

    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    text-align: center;

    color: #fff;

    margin-right: 29px;
}

/* on white page */
.bottom-page-pagination.white .pagination-number
{
    color: #99A0A9;
}

.pagination-numbers .pagination-number:last-child
{
    margin-right: 0;
}

.pagination-number
{
    transition: color .3s;
}

.pagination-number.active
{
    color: #99A0A9;
}
@media screen and (min-width: 769px) 
{
    .pagination-number:hover
    {
        color: #99A0A9;
    }
}

/* on white page */
.bottom-page-pagination.white .pagination-number.active
{
    color: #000;
}

.pagination-number.active::before
{
    content: "";

    position: absolute;
    width: 30px;
    height: 2px;

    top: -24px;
    left: 50%;
    transform: translateX(-50%);

    background-color: #fff;
}

/* on white page */
.bottom-page-pagination.white .pagination-number.active::before
{
    background-color: #728493;
}

.pagination-arrow-wrapper
{
    display: block;

    transition: opacity .3s;
}

.pagination-arrow-wrapper path 
{
    fill: #fff;
}

/* on white page */
.bottom-page-pagination.white .pagination-arrow-wrapper path 
{
    fill: #728493;
}

.pagination-arrow-wrapper.disabled
{
    opacity: 0.5;
}

.pagination-arrow.left
{
    transform: rotate(180deg);
}
/* End */


/* Start:/local/templates/.default/components/bitrix/news/mm_entsiklopediya/bitrix/news.list/.default/style.css?17798842454227*/
html body
{
    background-color: var(--dark-bg-page-color);
}

body main
{
    padding-bottom: 80px;
}
@media screen and (max-width: 992px)
{
    body main
    {
        padding-bottom: 50px;
    }
}

.filter-tabs-wrapper
{
    width: 100%;

    position: relative;

    margin-bottom: 51px;
}
.filter-tabs-wrapper::after
{
    content: "";
    position: absolute;
    left: 0;
    bottom: 1px;
    height: 1px;
    width: 100%;

    background-color: rgba(227, 229, 229, 0.5);
}
@media screen and (max-width: 1400px)
{
    .filter-tabs-wrapper
    {
        margin-bottom: 30px;
    }
}
@media screen and (max-width: 1200px)
{
    .filter-tabs-wrapper
    {
        margin-bottom: 43px;
    }
}
@media screen and (max-width: 992px)
{
    .filter-tabs-wrapper
    {
        margin-bottom: 30px;
    }
    .filter-tabs-wrapper::after
    {
        background-color: #ccc;
    }
}

.filter-tabs
{
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: flex-start;

    overflow-x: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
/* Hide scrollbar for Chrome, Safari and Opera */
.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tabs__button
{
    font-family: "RF Dewi", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;

    color: #CCCCCC;

    white-space: nowrap;

    position: relative;

    margin-right: 24px;

    padding-bottom: 23px;

    transition: color .35s;
}
.filter-tabs__button::after
{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: transparent;
    z-index: 2;

    transition: background-color .35s;
}
.filter-tabs .filter-tabs__button:last-child
{
    margin-right: 0;
}
@media screen and (max-width: 576px)
{
    .filter-tabs__button
    {
        margin-right: 20px;

        font-size: 14px;
        line-height: 17px;

        padding-bottom: 18px;
    }
}

.filter-tabs__button.active
{
    color: var(--gold-color);
}
.filter-tabs__button.active::after
{
    background-color: var(--gold-color);
}

.encyclopedia-list-items
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 60px 30px;
}

/* 960 cont */
@media screen and (max-width: 1200px) {
    .encyclopedia-list-items
    {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 60px 25px;
    }
}
/* 720 cont */
@media screen and (max-width: 992px)
{
    .encyclopedia-list-items
    {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 50px 23px;
    }
}
@media screen and (max-width: 567px)
{
    .encyclopedia-list-items
    {
        grid-template-columns: 1fr;
        grid-gap: 50px 0;
    }
}

.encyclopedia-item
{
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.encyclopedia-item__date
{
    margin-bottom: 14px;
    color: #fff;

    transition: color .3s;
}
@media screen and (min-width: 769px)
{
    .encyclopedia-item:hover .encyclopedia-item__date
    {
        color: var(--gold-color);
    }
}
.encyclopedia-item__preview-image
{
    width: 100%;
    height: 100%;

    min-height: 201px;
    max-height: 201px;
}
@media screen and (max-width: 992px) 
{
    .encyclopedia-item__preview-image
    {
        min-height: 267px;
        max-height: 267px;
    }
}
@media screen and (max-width: 568px)
{
    .encyclopedia-item__preview-image
    {
        min-height: 207px;
        max-height: 207px;
    }
} 

.encyclopedia-item__preview-text
{
    margin-top: 10px;
    color: #fff;

    transition: color .3s;
}
@media screen and (min-width: 769px)
{
    .encyclopedia-item:hover .encyclopedia-item__preview-text
    {
        color: var(--gold-color);
    }
}
@media screen and (max-width: 992px)
{
    .encyclopedia-item__preview-text
    {
        font-size: 18px;
        line-height: 30px;

        letter-spacing: 0.2px;
    }
}
/* End */
/* /local/templates/.default/components/bitrix/system.pagenavigation/mm_nav/style.css?17798842452436 */
/* /local/templates/.default/components/bitrix/news/mm_entsiklopediya/bitrix/news.list/.default/style.css?17798842454227 */
