/* $Id: winxp.css 7631 2007-07-31 12:02:39Z smaxim $ */
/*
 * Controls the icons that are displayed according to the specified rules, 
 * depending on the validity of the data entered
 */
/*
 "zpStatusImg" class images for form fields -- apply appropriate rules here.
 The script auto-applies one of each of these CLASS attributes to a series of
        nested <span>s with an innermost .zpStatusImg class <span> we style:
 1) "zpIsRequired" or "zpNotRequired".
 2) "zpIsEmpty" or "zpNotEmpty".
 3) "zpIsEditing" or "zpNotEditing".
 4) "zpIsValid" or "zpNotValid".
 5) Always "zpStatusImg", this is the one styled.
*/

.zpFormRed .zpStatusImg,
.zpFormRed .zpCheckboxStatusImg,
.zpFormRed .zpRadioStatusImg { /* Container for field status image */
        padding: 0px 12px;
        height: 14px;
        width: 13px;
        background-repeat: no-repeat;
        background-position: right;
        margin-left:5px;
        margin-right:3px;
        display: inline-block;
        vertical-align: top;
} 

.zpFormRed .zpCommonStatusImg {
        opacity: 0.66;
        filter: alpha(opacity=66);
        padding-bottom: 5px; /* Fixes alignment of asterisk ->  don't remove! */
}

.zpFormRed .zpCheckboxStatusImg,
.zpFormRed .zpRadioStatusImg { /* Container for checkbox and radio status images */
        opacity: 1.0;
        filter: alpha(opacity=100);
}


.zpFormRed .zpIsRequired .zpStatusImg{
        background-image: url(icons/required.gif);
}

.zpFormRed .zpIsEditing .zpStatusImg { /* properties of status image while editing field */
       opacity: 1.0;
       filter: alpha(opacity=100);
}

.zpFormRed .zpIsEditing .zpNotEmpty .zpCommonStatusImg{
       background-image: url(icons/editing.gif);
}

.zpFormRed .zpNotEditing .zpNotEmpty .zpNotValid .zpStatusImg{
        background-image: url(icons/invalid.gif);
}

.zpFormRed .zpIsValid .zpStatusImg{ /* Shown when field is valid */
        background-image: url(icons/validated.gif);
}

.zpFormRed .zpIsFetching .zpStatusImg { /* shown while inputing into field */
        background-image: url(icons/fetching.gif) !important;
}

/*
 * Controls the look and feel of the form
 */

.zpFormRed .errOutput{ /* style for error field */
        background-color: #5C0109;
        padding: 10px;
        margin-bottom: 20px;
        font-weight: bold;
        color: white;
        display: none;
}


.zpFormRed textarea {  
        background-color:#900;
        border:1px solid #00CCCC;
		color:#FFF;
        width: 270px;
}

.zpFormRed .zpFormLabel { /* style for form fields labels */
        width: 10em;
        float: left;
        font-size: 11px;
        line-height:20px;
		text-align:right;
}

.zpFormRed .zpExpandedTable, 
.zpFormRed .zpExpandedTable td,  
.zpFormRed .zpExpandedTable th  {  
        border:1px solid #83010d;
        border-collapse:collapse;                        
}

.zpFormRed .zpExpandedTable span { /* fixes the table cell height error, caused by invisible spans */
        display:none;
}

.zpFormRed .zpExpandedTable .multipleButton { /* multiply button in table container */
        margin:2px;
}

.zpFormRed .multipleButton{  /* style for field multiply button (if present) */
        margin-left: 10px; 
        text-align: center;
        width:20px;
}                              

* html .zpFormRed .multipleButton {  /*IE6 Fix of button height*/
        height:20px;
}
 
*:first-child+html .zpFormRed .multipleButton { /*IE7 Fix of button height*/
        height:20px;
} 


.zpFormRed {  /* Common form properties */
        background-color: #900;
        border:1px solid black;
        font-size: 11px;
        font-family: "MS Sans Serif" , Arial, Tahoma, Verdana, sans-serif;
 				padding:10px;
}

.zpFormRed .zpFormContent{ /* Form content container style */
        /*background: url("red/xpform.jpg") repeat-x bottom #FCFCFE;*/
        background-color: #820D00;
        border: solid 1px #D50012;
        margin: 0px 10px;
        padding: 0px 10px 10px 10px;
}

* html .zpFormRed .zpFormContent{ /* IE6 fix */
        padding-top: 10px;
}

.zpFormRed .button{  /* style for form submit buttons */
        background: url("red/button_xp.gif");
        height: 21px;
        width: 120px;
        border: none;
        line-height: 16px;
        font-family:  Arial, Verdana, sans-serif;
        font-size: 11px;
        margin-left: 10px;
        padding-bottom:2px;
}

* html .zpFormRed .button{ /* IE6 buttontext  fix */
        padding-bottom:0px;
}

*:first-child+html .zpFormRed .button{ /* IE7 buttontext fix */
        padding-bottom:0px;
}


.zpFormRed .zpFormButtons{ 
        text-align: right;
        margin: 10px;
}

.zpFormRed fieldset{  /* form fieldset style */
        margin: 10px 1px 10px 1px;
        padding: 10px;
        border:1px solid #D0D0BF;
}

* html .zpFormRed fieldset{  /* IE6 fix */
        margin-bottom:5px;
}                   	

.zpFormRed legend{  /* form legend: sign of the fieldset */
        color: #FC0;
        padding:0px 5px;
}

* html .zpFormRed legend{
        margin-bottom: 10px;
}

.zpFormRed select {
        background-color:#900;
		color:#FFF;
        border:1px solid #7F9DB9;
        margin-bottom: 5px;
}
                              /* Dropdown styles */
.zpFormRed .dropDownArrow { /* All Browsers */
        background-image: url(red/down_arrow.gif);
        padding:9px 9px; 
        padding-top:12px;
        background-repeat: no-repeat;
        margin-left:-1px;
        display: inline;
        cursor: pointer;
} 

* html .zpFormRed .dropDownArrow {  /* IE6 */
        vertical-align:top; /* important -> don't remove */
        height: 20px;
        background-image: url(red/down_arrow_hilite.gif);
        padding: 0px 12px;
        background-repeat: no-repeat;
        margin-left:-1px; 
        margin-top:1px;
        display: inline-block;
        cursor: pointer;
}                                   

*+html .zpFormRed .dropDownArrow {  /* IE7 */
        margin-top:1px;
        vertical-align:top !important;
        height: 20px;
        background-image: url(red/down_arrow.gif);
        padding: 0px 12px;
        background-repeat: no-repeat;
        margin-left:-1px;
        display: inline-block;
        cursor: pointer;
} 

.zpFormRed .dropDownArrow:hover,
.zpFormRed .dropDownArrow:active,
.zpFormRed .dropDownArrow:focus { /* All Browsers hover */
        background-image: url(red/down_arrow_hilite.gif);
} 
                                /* end of dropdown styles */


.zpFormRed .fieldError {
        font-weight: bold;
}

.zpFormRed input {
        background:#900;
		color:#FFF;
        border:1px solid #7F9DB9;
        margin-bottom: 8px;
        width:auto;
}

* html .zpFormRed input.zpFormRequired { /* fix for IE 6 - fixing width  */
				width:100px;
}


.zpFormRed .zpFormError{ /* text: this field is required style */
        vertical-align:top;
        color: #F73460;
        padding-left: 10px;
        font-weight: normal;
        display: inline-block;
        
}

.zpFormRed .zpRadioLabel { /* label for checkbox and radio elements */
        padding-left: 5px;
        vertical-align:top;
}

 
.zpFormRed .zpFormCheckbox { /* checkbox style */
        border:none !important;
        padding:0px;
        margin:0px;
        width:auto;
        background:none;
}

.zpFormRed .zpFormRadio {  /* radio style */
        border:none;
        padding:0px;
        margin:0px;
        width:auto;
        background:none;
}

* html .zpFormRed .zpFormCheckbox { /* ie6 checkbox style */
        margin:-3px;
        width:14px !important;
        margin:-3px -3px -3px -1px;
}
       
* html .zpFormRed .zpFormRadio { /* ie6 radio style */
        margin:-3px -3px -3px -1px;
        vertical-align:3%;
        width:14px !important; 
}


*+html .zpFormRed .zpFormCheckbox { /* ie7 checkbox style */
        margin:-3px;
}
       
*+html .zpFormRed .zpFormRadio { /* ie7 radio style */
        margin:-3px;
        vertical-align:3%;
}

.zpFormRed .zpWrongValue{ /* highlighting field when trying to input not allowed symbol */
        background-color: #EA888C !important;
}
