a.mat-mdc-raised-button {
    text-transform: none !important;
    font-family: 'Open Sans' !important;
    gap: 8px !important;
    background-color: transparent !important;
    color: #0059B8 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-decoration: underline !important;
    text-underline-offset: 16% !important;
    text-decoration-thickness: 8% !important;
    border: none !important;
    border-radius: 4px;
    padding: 0px !important;
    margin: 0px !important;
    /*margin replaces padding of inail-button to avoid distant borders on focus*/
    min-width: max-content !important;
    letter-spacing: 0 !important;
}

a.mat-mdc-raised-button.inail-mat-text-link-2 {
    font-family: 'Open Sans' !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 24px !important;
    letter-spacing: 0 !important;
    text-decoration: underline !important;
    text-underline-offset: 16% !important;
    text-decoration-thickness: 8% !important;
}

a.mat-mdc-raised-button:hover {
    background-color: transparent !important;
    color: #002E5F !important;
}

a.mat-mdc-raised-button:active {
    background-color: transparent !important;
    color: #0059B8 !important;
    box-shadow: 0 0 0 1px white, 0 0 0 4px #19191A !important;
}

a.mat-mdc-raised-button:focus {
    outline: none !important;
    background-color: transparent !important;
    color: #0059B8 !important;
    box-shadow: 0 0 0 1px transparent, 0 0 0 3px #19191A !important;
}

a.mat-mdc-raised-button[disabled] {
    background-color: transparent !important;
    color: #54595D !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

table.inail-mat-table form a {
    color: #0059B8 !important;
    text-decoration: underline !important;
    font-size: 16px !important;
    font-family: "Open Sans" !important;
}

/* class for special cases of <a> elements since they dont have a disabled attribute like buttons */
/* use this class after inail-button and inail-button-link 
.inail-mat-link-disabled {
    color: #54595D !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}*/