.certificate {
    border-radius: 5px;
    height: 240px;
    width: 345px;
    display: inline-block;
    vertical-align: top;
    margin: 0 10px 10px 0;
    position: relative;
}

.certificates.certificates--grey .certificate {
    background: #eee;
}

.certificate__del:hover {
    background: #e03a3a;
}

.certificate__del {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    border-radius: 2px;
    background: #ccc;
    font-size: 14px;
}

.certificate img {
    border-radius: 5px;
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

.other-files li a span {
    font-size: 11px;
    display: inline-block;
    vertical-align: middle;
}

.other-files li a b {
    display: inline-block;
    vertical-align: middle;
    width: 65%;
    margin-right: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}

.other-files li .other-file__download {
    position: absolute;
    right: 13px;
    font-weight: bold;
    color: #318cc6;
    font-size: 11px;
    top: 11px;
}

.other-files li .other-file__download::after {
    content: '\f56d';
    font-size: 15px;
    margin-left: 10px;
    font-family: "Font Awesome 5 Free";
}


.other-files li a:hover .other-file__download, .other-files li a:hover {
    color: #215f86;
}

.other-files li a {
    display: block;
    background: #eee;
    cursor: pointer;
    transition: 0.2s;
    margin-bottom: 5px;
    color: #475669;
    font-family: 'apercu_pro', sans-serif;
    position: relative;
    text-transform: uppercase;
    padding: 10px 15px 10px 45px;
}

.other-files li a::before {
    counter-increment: myCounter;
    content: counter(myCounter);
    display: inline-block;
    position: absolute;
    left: 13px;
    top: 7px;
    line-height: 25px;
    width: 25px;
    border-radius: 100%;
    font-size: 13px;
    font-weight: normal;
    height: 25px;
}

.other-files {
    counter-reset: myCounter;
}

@media screen and (max-width: 767px) {
    .certificate {
        width: 100%;
        background: #eee;
    }

    .certificate__del {
        top: 10px;
        right: 10px;
        background: #e03a3a;
    }
}

@media screen and (max-width: 520px) {
    .other-files li .other-file__download, .other-files li a::before {
        display: none;
    }

    .other-files li a span {
        font-size: 9px;
    }

    .other-files li a b {
        margin-right: 20px;
        font-size: 12px;
        width: auto;
        white-space: normal;
    }

    .other-files li a {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        white-space: nowrap;
        padding: 10px;
    }

}
