    .required-styling-demo .ui-inputfield.ui-state-required {
    	border-width: 2px;
    	margin: 1px;
    }

    .required-styling-demo .ui-inputfield.ui-state-optional {
    	border-width: 2px;
    	margin: 1px;
    }

    .required-styling-demo .ui-state-required.ui-state-error {
    	border-width: 3px;
    	margin: 0;
    }

    .required-styling-demo .ui-state-optional.ui-state-error {
    	border-width: 3px;
    	margin: 0;
    }

    .required-styling-demo .ui-inputfield.ui-state-optional.blueRS {
    	border-color: #9999cc;
    }

    .required-styling-demo .ui-state-optional.ui-state-error.blueRS {
    	border-color: #ccccff;
    }

    .required-styling-demo .ui-inputfield.ui-state-required.blueRS {
    	border-color: #0000cc;
    }

    .required-styling-demo .ui-state-required.ui-state-error.blueRS {
    	border-color: #0000ff;
    	background-color: #ccccff;
    	background-image: none; /* prevent theme background */
    	color: #000099;
    }

    .required-styling-demo .blueRS .ui-inputfield.ui-state-optional {
    	border-color: #9999cc;
    }

    .required-styling-demo .blueRS .ui-state-optional.ui-state-error {
    	border-color: #ccccff;
    }

    .required-styling-demo .blueRS .ui-inputfield.ui-state-required {
    	border-color: #0000cc;
    }

    .required-styling-demo .blueRS .ui-state-required.ui-state-error {
    	border-color: #0000ff;
    	background-color: #ccccff;
    	background-image: none; /* prevent theme background */
    	color: #000099;
    }

    .required-styling-demo .ui-inputfield.ui-state-optional.redRS {
    	border-color: #cc9999;
    }

    .required-styling-demo .ui-state-optional.ui-state-error.redRS {
    	border-color: #ffcccc;
    }

    .required-styling-demo .ui-inputfield.ui-state-required.redRS {
    	border-color: #cc0000;
    }

    .required-styling-demo .ui-state-required.ui-state-error.redRS {
    	border-color: #ff0000;
    	background-color: #ffcccc;
    	background-image: none; /* prevent theme background */
    	color: #990000;
    }

    .required-styling-demo .redRS .ui-inputfield.ui-state-optional {
    	border-color: #cc9999;
    }

    .required-styling-demo .redRS .ui-state-optional.ui-state-error {
    	border-color: #ffcccc;
    }

    .required-styling-demo .redRS .ui-inputfield.ui-state-required {
    	border-color: #cc0000;
    }

    .required-styling-demo .redRS .ui-state-required.ui-state-error {
    	border-color: #ff0000;
    	background-color: #ffcccc;
    	background-image: none; /* prevent theme background */
    	color: #990000;
    }

    .required-styling-demo .ui-inputfield.ui-state-optional.greenRS {
    	border-color: #99cc99;
    }

    .required-styling-demo .ui-state-optional.ui-state-error.greenRS {
    	border-color: #ccffcc;
    }

    .required-styling-demo .ui-inputfield.ui-state-required.greenRS {
    	border-color: #00cc00;
    }

    .required-styling-demo .ui-state-required.ui-state-error.greenRS {
    	border-color: #00ff00;
    	background-color: #ccffcc;
    	background-image: none; /* prevent theme background */
    	color: #009900;
    }

    .required-styling-demo .greenRS .ui-inputfield.ui-state-optional {
    	border-color: #99cc99;
    }

    .required-styling-demo .greenRS .ui-state-optional.ui-state-error {
    	border-color: #ccffcc;
    }

    .required-styling-demo .greenRS .ui-inputfield.ui-state-required {
    	border-color: #00cc00;
    }

    .required-styling-demo .greenRS .ui-state-required.ui-state-error {
    	border-color: #00ff00;
    	background-color: #ccffcc;
    	background-image: none; /* prevent theme background */
    	color: #009900;
    }