If you see this header... the last word shows 'OK!' and the Banner is Green

And in this one the Error code is 'CC | IN | RI' and the colour is Red

I can hard code it in CSS with two different classes but just don't know how to select the relevant class and apply to the <div class=".vc-benefit-error">
or <div class=".vc-benefit-error">
when the flag changes from 'OK!'
The CSS will give me the two states
Custom CSS
.vc-benefit-error .k-state-selected {
background-color: #c13064;
color: #EEE;
}
.vc-benefit-ok .k-state-selected {
background-color: #30a5c1;
color: #EEE;
}

