

/* Start:/local/templates/red-gray/components/bitrix/catalog.sections.top/documents/style.css?17734176533270*/
.docs__title {
    padding-left: 20px;
    margin-bottom: 20px;
}

.file {
    display: grid;
    grid-template-columns: auto 1fr auto;
    justify-content: space-between;
    align-items: end;
    position: relative;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    border: 1px solid transparent;
    transition: var(--transition);
    border-bottom: 1px solid var(--bg-color);
}

@media (max-width: 520px) {
    .file {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
}

.file:hover {
    background: var(--bg-color);
    border-radius: 8px;
}

.file__name {
    padding-right: 8px;
}

.file__row-devider,
.file__assets {
    /*  border: 1px solid;*/
}

.file__name a {
    -webkit-transition: all .25s ease 0s;
    -o-transition: all .25s ease 0s;
    transition: all .25s ease 0s;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
}

.file__name a:hover {
    color: var(--main-color);
}

.file:not(:nth-last-child(1)) {
    /*border-bottom: 1px solid #E3E7E8;*/
    z-index: 1;
}

.file__row-devider {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.file__row-devider::before {
    z-index: 1;
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 30px;
    padding: 0 8px;
    display: flex;
    align-items: flex-end;
    background-image: url(/upload/svg/point-round.svg);
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: 10px;
}


.file__assets {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: -webkit-min-content 50px -webkit-min-content;
    -ms-grid-columns: min-content 50px min-content;
    grid-template-columns: -webkit-min-content 50px -webkit-min-content;
    grid-template-columns: min-content 50px min-content;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: end;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media (max-width: 520px) {
    .file__assets {
        -webkit-box-pack: left;
        -ms-flex-pack: left;
        justify-content: left;
        margin-top: 7px;
    }
}

.file__size {
    white-space: nowrap;
}

@media (min-width: 521px) {
    .file__size {
        margin-left: 15px;
    }
}

.file__ext {
    text-align: right;
}

.file__assets .btn {
    padding: 0;
    min-height: initial;
    max-height: 40px;
    text-align: right;
    margin-left: 20px;
}

.btn.btn-transparent {
    position: relative;
    -webkit-transition: all 0.25s ease 0s;
    -o-transition: all 0.25s ease 0s;
    transition: all 0.25s ease 0s;
}

.btn.btn-transparent:hover {
    color: #66b43d;
}

.btn.btn-transparent::before {
    content: '';
    width: 0;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #66b43d;
    -webkit-transition: all 0.25s ease 0s;
    -o-transition: all 0.25s ease 0s;
    transition: all 0.25s ease 0s;
}

.btn.btn-transparent:hover::before {
    width: 100%;
}

.docs {
    padding-bottom: 50px;
}

.docs__list:not(:last-child) {
    margin-bottom: 60px;
}
/* End */
/* /local/templates/red-gray/components/bitrix/catalog.sections.top/documents/style.css?17734176533270 */
