/* RadFormDecorator for ASP.NET Hay Skin */

/* CSS class for styling the decoration zone or the <html /> tag of the page */
.RadForm_Hay.rfdZone
{
    background-color: #ececd8;
}

/* Decorate scrollbars */
.RadForm_Hay.rfdScrollBars
{
	scrollbar-3dlight-color: #ccc; 
	scrollbar-arrow-color: #5d5c52;
	scrollbar-base-color: #ff6347; 
	scrollbar-darkshadow-color: #8d8c80; 
	scrollbar-face-color: #dadacb;
	scrollbar-highlight-color: #fff; 
	scrollbar-shadow-color: #a3a3a3;
	scrollbar-track-color: #f3f3e2;
}

/* Decorate <input type="button | submit | reset" /> and <button type="button | submit | reset" /> - look if there is a secondary .rfdButton class applied to the root element */
/* Decorate <input type="button | submit | reset" /> and <button type="button | submit | reset" /> - look if there is a secondary .rfdButton class applied to the root element */
.RadForm_Hay.rfdButton a.rfdSkinnedButton,
.RadForm_Hay.rfdButton input[type="button"].rfdDecorated,
.RadForm_Hay.rfdButton input[type="reset"],
.RadForm_Hay.rfdButton input[type="submit"].rfdDecorated,
.RadForm_Hay.rfdButton button
{
	background-image: url('FormDecorator/ButtonSprites.png');
	color: #ffffff;
}

.RadForm_Hay.rfdButton .rfdSkinnedButton:hover *
{
    color: #000000;
}
.RadForm_Hay.rfdButton a:hover 
{
   color: #000000;
}

.RadForm_Hay.rfdButton a.rfdSkinnedButton,
.RadForm_Hay.rfdButton a.rfdSkinnedButton *
{
    _background-image: url('FormDecorator/ButtonSprites.png');
}

/* OPERA width fix - do not remove (and check if it is still necessary) */
@media screen and (min-width:1px)  
{
	/* 
       the hack below fixes a strange behavior under Opera - 
       input and button have a different CSS display when in anchor tag 
    */
	.RadForm_Hay.rfdButton a.rfdSkinnedButton input
	{
	    display: block;
	    float: left;
	}
}

/* Decorate <h4|5|6 /> */
.RadForm_Hay.rfdHeading h4
{
	color: #279500;	
	border-bottom: solid 1px #50a81b;	
}

.RadForm_Hay.rfdHeading h5
{
	color: #000000;	
	border-bottom: solid 1px #9e9c83;	
}

.RadForm_Hay.rfdHeading h6
{
	color: #000000;
}

/* Decorate <label /> */
.RadForm_Hay.rfdLabel label
{	
	color: #000000;	
}

/* Decorate <input type="checkbox" /> */
.RadForm_Hay .rfdCheckboxUnchecked,
.RadForm_Hay .rfdInputDisabled.rfdCheckboxUnchecked:hover
{
	background: transparent url('FormDecorator/CheckBoxSprites.gif') no-repeat 0 0;
}

.RadForm_Hay .rfdCheckboxUnchecked:hover
{
	background: transparent url('FormDecorator/CheckBoxSprites.gif') no-repeat 0 -200px;
}

.RadForm_Hay .rfdCheckboxChecked,
.RadForm_Hay .rfdInputDisabled.rfdCheckboxChecked:hover
{
	background: transparent url('FormDecorator/CheckBoxSprites.gif') no-repeat 0 -420px;
}

.RadForm_Hay .rfdCheckboxChecked:hover
{
	background: transparent url('FormDecorator/CheckBoxSprites.gif') no-repeat 0 -640px;
}

/* Decorate <input type="radio" /> */
.RadForm_Hay .rfdRadioUnchecked,
.RadForm_Hay .rfdInputDisabled.rfdRadioUnchecked:hover
{
	background: transparent url('FormDecorator/RadioButtonSprites.png') no-repeat 1px 0;
}

.RadForm_Hay .rfdRadioUnchecked:hover
{
	background: transparent url('FormDecorator/RadioButtonSprites.png') no-repeat 1px -220px;
}

.RadForm_Hay .rfdRadioChecked,
.RadForm_Hay .rfdInputDisabled.rfdRadioChecked:hover 
{
	background: transparent url('FormDecorator/RadioButtonSprites.png') no-repeat 1px -440px;
}

.RadForm_Hay .rfdRadioChecked:hover
{
	background: transparent url('FormDecorator/RadioButtonSprites.png') no-repeat 1px -640px;
}

/* IE6 - we set .gif")%> image instead of .png")%> due to the lack RGBA support */
.RadForm_Hay .rfdRadioUnchecked,
.RadForm_Hay .rfdInputDisabled.rfdRadioUnchecked:hover,
.RadForm_Hay .rfdRadioUnchecked:hover,
.RadForm_Hay .rfdRadioChecked,
.RadForm_Hay .rfdInputDisabled.rfdRadioChecked:hover,
.RadForm_Hay .rfdRadioChecked:hover
{
    _background-image: url('FormDecorator/RadioButtonSprites.gif'); /* IE6 hack */
}

/* <fieldset /> and <legend /> */
.rfdRoundedInner
{  
  width: 1px;
  font-size: 1px;      
  background-repeat :no-repeat;
}

.rfdRoundedOuter
{    
  width: 1px;
  font-size: 0px;
}

table.rfdRoundedWrapper,
table.rfdRoundedWrapper_fieldset
{
    display: -moz-inline-box; /* FF2 */
    display: inline-block; /* FF3, Opera, Safari */
    _display: inline; /* IE6 */            
    vertical-align: middle;
    border-width: 0px !important;
}

table.rfdRoundedWrapper td,
table.rfdRoundedWrapper_fieldset>tbody>tr>td
{
	padding: 0px !important;
	border: 0px !important;                 
}

/* IE7 */
*+html table.rfdRoundedWrapper,
*+html table.rfdRoundedWrapper_fieldset
{
   display: inline;
}

table.rfdRoundedWrapper td, table.rfdRoundedWrapper_fieldset td
{
    vertical-align: middle;
}

.RadForm_Hay.rfdFieldset table.rfdRoundedWrapper_fieldset legend,
.RadForm_Hay fieldset.rfdFieldset legend
{
	color: #a0a0a0;
}

.RadForm_Hay table.rfdRoundedWrapper:hover div.rfdRoundedInner
{
    background-color: #ffffff;
    border-color: #44a41f !important;
}

/* this selector styles the hover of the side bars of the rounded elements */
.RadForm_Hay table.rfdRoundedWrapper:hover .rfdRoundedOuter
{	
	background-color: #44a41f !important;
}

/* Decorate <input type="text | password" /> and <textarea /> */
/* For all browsers except IE6 we are using attribute selectors - single or double */
.RadForm_Hay.rfdTextbox input[type="text"],
.RadForm_Hay.rfdTextbox input[type="password"],
.RadForm_Hay.rfdTextarea textarea,
.RadForm_Hay.rfdTextarea textarea[disabled]:hover,
.RadForm_Hay.rfdTextbox input[disabled][type="text"]:hover,
.RadForm_Hay.rfdTextbox input[disabled][type="password"]:hover
{
    border: solid 1px #abadb3;
    background-color: #ffffff;
}

.RadForm_Hay.rfdTextbox .rfdDecorated:hover,
.RadForm_Hay.rfdTextbox .rfdDecorated:hover,
.RadForm_Hay.rfdTextarea textarea:hover
{
    border: solid 1px #44a41f;
}

/* Decorate <fieldset /> */
.RadForm_Hay.rfdFieldset fieldset
{	
	border: solid 1px #e0e0e0;
	background-image: url('FormDecorator/FieldsetBgr.png'); /* having a background image on a fieldset is not okay with IE */	
}

/* Decorate <fieldset /> and <legend /> */
.RadForm_Hay.rfdFieldset table.rfdRoundedWrapper_fieldset legend,
.RadForm_Hay.rfdFieldset fieldset.rfdFieldset legend
{
	color: #a0a0a0;
}

.RadForm_Hay.rfdFieldset table.rfdRoundedWrapper_fieldset fieldset,
.RadForm_Hay.rfdFieldset fieldset.rfdFieldset
{	
	border: solid 1px #e0e0e0;
	background-image: url('FormDecorator/FieldsetBgr.png'); /* having a background image on a fieldset is not okay with IE */	
}

/* Because of a glitch in IE the following 2 CSS classes must be declared separately for correct parsing of the textarea class in IE6*/
.RadForm_Hay table.rfdRoundedWrapper input,
.RadForm_Hay table.rfdRoundedWrapper textarea,
.RadForm_Hay input.rfdInput, 
.RadForm_Hay textarea.rfdTextarea
{
	border: solid 1px #abadb3;
	background: #ffffff;	
	color: #000000;
}

.RadForm_Hay textarea.rfdTextarea,
.RadForm_Hay table.rfdRoundedWrapper textarea
{
    overflow: auto;
}

/* <select /> */
.rfdSelect_Hay,
.rfdSelect_Hay:hover,
.rfdSelect_Hay .rfdSelectOuter,
.rfdSelect_Hay:hover .rfdSelectOuter,
.rfdSelect_Hay .rfdSelectArrow span,
.rfdSelectBox_Hay .rfdSelect_selected,
.rfdSelectBox_Hay li:hover,
.rfdSelect_Hay.rfdSelectDisabled:hover,
.rfdRtl .rfdSelect_Hay,
.rfdRtl .rfdSelect_Hay:hover,
.rfdRtl .rfdSelect_Hay .rfdSelectOuter,
.rfdRtl .rfdSelect_Hay .rfdSelectOuter:hover
{
    background-image: url('FormDecorator/ComboSprites.gif');
    background-repeat: no-repeat;
    background-color: transparent;
}

.rfdSelect_Hay .rfdSelectOuter,
.rfdSelect_Hay.rfdSelectDisabled:hover .rfdSelectOuter
{
    color: #272722;
}

.rfdSelect_Hay .rfdSelectOuter:hover
{
    color: #279500;
}

/* dropdown settings */
.rfdSelectBox_Hay
{
    background: #fff;
    border: solid 1px #959485;
    color: #000;
}

.rfdSelectBox_Hay li
{
    padding: 0 0 0 3px;
    background-image: none !important;
}

.rfdSelectBox_Hay .rfdSelect_selected,
.rfdSelectBox_Hay li:hover
{
    color: #279500;
    background-color: #eeffdc;
}

.rfdSelectBox_Hay .rfdSelectBox_optgroup_label:hover
{
    background: none;
    color: black;
}

.rfdSelectDisabled.rfdSelectBox_Hay li
{
    color: #2b2c20;
}

/* dropdown settings */
.rfdSelectBox_Hay
{
    background: white;
    border: solid 1px #828282;
    color: #000;
}

.rfdSelectBox_Hay li
{
    padding-left: 3px !important;
    line-height: 16px;
    height: 16px;
    background-image: none !important;
}

.rfdSelectBox_Hay .rfdSelectBox_optgroup_label:hover
{
    background: none;
    color: black;
}

/* IE6 disabled state fix - this should not be added to the base stylesheet, but at the bottom of the skin file */
* html .rfdSkinnedButton.rfdInputDisabled
{
    _filter: alpha(opacity=50);
}

* html .RadForm_Hay.rfdButton a.rfdInputDisabled:hover
{
	_background-position: 0 0;
}

* html .RadForm_Hay.rfdButton a.rfdInputDisabled:hover *
{
	_background-position: right -21px;
	_color: #000000;
}

.RadForm_Hay.rfdTextbox input.rfdIE6TextBox,
.RadForm_Hay.rfdTextbox textarea.rfdIE6TextBox
{
    _border: solid 1px #abadb3;
    _background-color: #ffffff;
}