/* Обычные ссылки без классов: серые → белые */
#allrecords a:not([class]){
    text-decoration-line:none!important;
    color:#8b8b8b!important;
    transition:all 0.2s ease!important;
}

#allrecords a:not([class]):hover{
    color:#000000!important;
}
/* Серые ссылки с классом link-grey: серые → белые */
#allrecords a.link-grey,
#allrecords .link-grey a{
    text-decoration-line:none!important;
    color:#8b8b8b!important;
    transition:all 0.2s ease!important;
}

#allrecords a.link-grey:hover,
#allrecords .link-grey a:hover{
    color:#ffffff!important;
}

/* Серые ссылки с классом link-grey: черные → серые */
#allrecords a.link-black,
#allrecords .link-black a{
    text-decoration-line:none!important;
    color:#161616!important;
    transition:all 0.2s ease!important;
}

#allrecords a.link-black:hover,
#allrecords .link-black a:hover{
    color:#8b8b8b!important;
}

/* Белые ссылки с классом link-white: белые → серые */
#allrecords a.link-white,
#allrecords .link-white a{
    text-decoration-line:none!important;
    color:#ffffff!important;
    transition:all 0.2s ease!important;
}

#allrecords a.link-white:hover,
#allrecords .link-white a:hover{
    color:#8b8b8b!important;
}