Changing CSS Property at runtime

CG Gurus,
I am seeing a problem with the dynamic changing of CSS controls. Please review below, and recommend how to resolve the dynamic assignment of CSS. What is of particular interest is how to control inner and outer class of divs. Note, pressing F5 fixes the problem.
Scenario:
I have a CGWizard with about 15 tabs, which with all tabs contains about a 100 controls. In the on render event each of these controls are set with their respective CSS styles as read from the DB. In the OnChanging event of the CGWizard, the data for the respective control is loaded from the DB.
So, far so good. Note that styles added in the OnRender (or with an AjaxReRender) appear in the outer div. So see for example the "req" css style in the attachment.
So now for the problem, when changing the CSS after render, the style is managed asynchronously,which is appreciated. However the style gets inserted into the inner div. See for example in the following attachment, we see the "req" css was assigned in onRender,. But because this CG object is required, and the text was blank, the "cc-error" style was added, and because it did not not find the "req" flag it was added as well. Which should not have, because it existed in the Outer div, but the when compared against memoAppID_01.css the 'req" was not found. Apparently it internally checks against the inner div.
This results in the following image:
Note, the control in this example is the TIWCGJQMemoEx, a similar problem exists with the TICCGJWDropDown.
DropDown OnRender:
After Async changing of css:
I am seeing a problem with the dynamic changing of CSS controls. Please review below, and recommend how to resolve the dynamic assignment of CSS. What is of particular interest is how to control inner and outer class of divs. Note, pressing F5 fixes the problem.
Scenario:
I have a CGWizard with about 15 tabs, which with all tabs contains about a 100 controls. In the on render event each of these controls are set with their respective CSS styles as read from the DB. In the OnChanging event of the CGWizard, the data for the respective control is loaded from the DB.
So, far so good. Note that styles added in the OnRender (or with an AjaxReRender) appear in the outer div. So see for example the "req" css style in the attachment.
So now for the problem, when changing the CSS after render, the style is managed asynchronously,which is appreciated. However the style gets inserted into the inner div. See for example in the following attachment, we see the "req" css was assigned in onRender,. But because this CG object is required, and the text was blank, the "cc-error" style was added, and because it did not not find the "req" flag it was added as well. Which should not have, because it existed in the Outer div, but the when compared against memoAppID_01.css the 'req" was not found. Apparently it internally checks against the inner div.
This results in the following image:
Note, the control in this example is the TIWCGJQMemoEx, a similar problem exists with the TICCGJWDropDown.
DropDown OnRender:
After Async changing of css: