.header{
    position:relative;
    background: #f5f5f5;
    color: #000;
}

.menu__icon span {
    background: #000;
}
.menu__icon.active span {
    background: #fff;
}
.search-icon.magnifier img, .lang-switcher img {
    filter: brightness(1) invert(1);
}
.main-content {
    line-height: 1.75;
    padding-bottom: 5rem;
}
.top__menue  ul.links li.dropdown:hover ul {
    background: #ffffff;
}
li.dropdown.inline:after{
    border-color:#000;
}
.top__menue ul.links li:before {
    background-color: rgb(215 215 215);
}
.main__page {
    position: relative;
}

.category.articles {
    padding:3rem 0
}


.category.articles .d-flex {
    flex-wrap:wrap
}

.category.articles h1 {
    padding:0 0 1rem 0
}

.list-item {
    position: relative;
    flex: 1 1 25%;
    max-width: 310px;
    padding: 0 15px;
    margin-bottom: 2rem;
}

.list-item:before {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    background: none;
    background-position: top;
    background-repeat: no-repeat;
    z-index: 1;
    border-right: 25px solid transparent;
    border-left: 25px solid #f5f5f5;
    border-top: 37px solid #f5f5f5;
    border-bottom: 37px solid transparent;
}

.list-item img {
    filter: grayscale(100%);
}

.list-item:hover img {
    filter: grayscale(0%);
}

.list-item a {
    position: absolute;
    left: 25px;
    bottom: 8rem;
    color: #fff;
    width: calc(100% - 50px);
    font-weight: 900;
    z-index:9
}

.list-item a.btn {
    bottom: 2rem;
    font-weight: 400;
    font-size: .8rem;
    text-transform: none !important;
}

.list-item a.btn .btn__current-text {
    padding: 8px 16px
}

.list-item .shadow {
    position: absolute;
    content: '';
    width: calc(100% - 30px);
    height: 250px;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.44) 67%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.44) 67%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.44) 67%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
    z-index: 0;
    left:15px;
    bottom:0;
}


.main-content {
    width: 80%;
    margin: 2rem auto 8rem;
}

.main-content img{
    padding:1rem
}

.date-article {
    font-weight: 600;
}

.main__page h1 {
    margin: 2rem 0;
}

.main-content .item-image img {
    border-radius: 15px;
    margin-bottom: 2rem;
    height: auto!important;
}

.main-content p {
    line-height: 2rem;
    margin: 1rem 0;
}

.article-links {
    font-weight: 600;
    margin-top: 5rem;
}


.pagination__container{
    display:flex;
    justify-content: center;
    align-items:center
}

.pagination__container > ul {
    display:flex;}

.pagination__container > div {
    width:40px;
    height:40px;
    line-height:36px;
    text-align:center;
}


.pagination {
    padding: 32px 0;
    justify-content: center;
    display: flex;
    margin: 0 0 0 15px;
}

.pagination li:before {
    display: none;
}

.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    margin: 0 15px 0 0;
    font-size: .8rem;
    padding: 0;
    width: 42px;
    height: 42px;
    text-align: center;
    line-height: 42px;
    text-decoration: none;
    color: #000000;
    font-weight: 600;
    background-color: #f9f9f9;
    border: 1px solid #f7f5f5;
    border-radius: 50%;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 3;
    color: #000;
    background-color: #ffffff;
    border-color: #282c5f;
    cursor: default;
}

.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    color: #777;
    background-color: #fff;
    border-color: #fff;
    cursor: not-allowed;
}

.pagination > .disabled {
    /* display: none */
}

.count-paginate{
    display: none;
}
