.documents {
    display: flex;
    flex-wrap: wrap;
}


.documents_page--mozaic .documents {
    width:calc(100% + 15px);
}


.documents__item {
   width:50%;

   margin-bottom:23px;
   padding-bottom:23px;
   position: relative;

}

.documents_page--list .documents__item {
    border-bottom: 2px solid #EEEEEE;
    padding-right: 40px;
    padding-left:10px;
    margin-bottom:10px;
    padding-top:15px;
}

.documents_page--list .documents__item:nth-child(even) {
    padding-right:10px;
}

.documents_page--list .documents__item:nth-child(odd)::after {
    content: '';
    display: block;
    position: absolute;
    top:0px;
    bottom:10px;
    right:0px;
    border-right: 2px solid #EEEEEE;
}




.documents__item-picture {
    display: block;
    height: 100%;
    position: absolute;
    left: -15px;
    right:-15px;
    top:-10px;
    background-repeat: no-repeat;
    background-size:cover;
}


.documents_page--mozaic .documents__item {
   width:calc(100% / 5 -  15px);
   height:240px;
   margin-right: 15px !important;
   margin-bottom:30px;
   background: #FFFFFF;
   box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
   padding:11px 15px;
   display: flex;
   flex-direction: column;
}

@media (max-width: 991px) {
    .documents_page--mozaic .documents__item {
        width:calc(100% / 4 -  10px);
        margin-right: 10px !important;
        padding:10px;
    }

    .documents__item-picture {
        left:-10px;
        right:-10px;
    }
}

@media (max-width: 803px) {
    .documents_page--mozaic .documents__item {
        width: calc(100% / 3 - 10px);
    }
}
@media (max-width: 640px) {
    .documents__item {
        width: 100%;
        margin-right: 0px;
        padding-bottom:10px;
        margin-bottom:30px;
        border-bottom: 2px solid #EEEEEE;
    }
    .documents_page--list .documents__item {
        padding-right:10px;
    }

    .documents_page--list .documents__item:nth-child(odd)::after {
        display: none;
    }

    .documents_page--mozaic .documents__item {
        width:calc(100% / 2 -  10px);

    }
}
@media (max-width: 320px) {
    .documents_page--mozaic .documents__item {
        width:185px

    }
}



.documents__item:nth-child(even) {
    margin-right: 0px;
}

.documents_page--mozaic .documents__item {
   overflow: hidden;
}


.documents__item-body {
    display: flex;
    position: relative;
    align-items: center;

}

.documents_page--mozaic .documents__item-body {
     flex-direction: column;
    text-align: center;
    flex-grow: 1;

    max-height:231px;

}

.documents_page--mozaic .documents__item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.documents__item-left {
   width:75px;
   min-width:75px;
   margin-right: 10px;
}


.documents_page--mozaic .documents__item-left {
    margin-right:0;
    padding-bottom:8px;
    width:100%;
    margin-bottom:8px;
    border-bottom: 1px solid #D52B1E;
}
.documents__item-right {
    flex-grow: 1;
    max-height: 126px;
    overflow: hidden;
}

.documents_page--mozaic {
    max-height: none;

}


.documents__item-date {
    color: #4F4F4F;
    white-space: nowrap;
    font-weight: 300;
    font-size:14px;
    line-height: 1.0;
}

.documents_page--mozaic .documents__item-date {
    color: #4F4F4F;

}

.documents__item-icon {
    margin:0 auto;
    margin-bottom:8px;
    height:48px;
    width:36px;
}
.documents__item-icon img {
    max-width: 100%;
}



.documents__item-name {
    color:#000;
    font-size:14px;
    font-weight: 600;
    line-height: 1.28;
    position: relative;
    min-height:61px;
    top:-2px;
    transition: color 0.3s;
}

.documents__item:hover .documents__item-name {
    color:#D52B1E;
}

.documents_page--mozaic .documents__item-name {
   top:0;
}



.documents__item-detail {
    font-weight: 400;
    font-size: 16px;
    white-space: nowrap;
    color: #888888;


}

.documents__item:hover  .documents__item-detail {
    color:#171715;
}

.documents__item:active  .documents__item-detail {
    color:#D52B1E;
}

.documents_page--mozaic .documents__item-detail {
    font-size:14px;
    font-weight: 400;
}

.documents_page--mozaic  .documents__item--with-pic .documents__item-detail {
    display: none;
}

@media (max-width: 991px) {
    .documents_page--mozaic .documents__item-detail {
        font-size:14px;
    }
}

.documents__item-footer {
  text-align: right;
  line-height: 1.0;
}

.documents__notfound {
    text-align: center;
}

.filter-item select {
text-transform: none !important;
}

