/* RadFormDecorator Sunset Skin */

/* CSS class for styling the decoration zone or the <html /> tag of the page */
.RadForm_Sunset.rfdZone
{    
}

/* Decorate scrollbars */
.RadForm_Sunset.rfdScrollBars
{
	scrollbar-3dlight-color: #ccc; 
	scrollbar-arrow-color: #5d5851;
	scrollbar-base-color: #f4ede1; 
	scrollbar-darkshadow-color: #8d877f; 
	scrollbar-face-color: #dad4ca;
	scrollbar-highlight-color: #fff; 
	scrollbar-shadow-color: #8d877f;
	scrollbar-track-color: #f4ede1;
}

/* 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_Sunset.rfdButton a.rfdSkinnedButton,
.RadForm_Sunset.rfdButton input[type="button"].rfdDecorated,
.RadForm_Sunset.rfdButton input[type="reset"].rfdDecorated,
.RadForm_Sunset.rfdButton input[type="submit"].rfdDecorated,
.RadForm_Sunset.rfdButton .rfdSkinnedButton button
{
	background-image: url('FormDecorator/ButtonSprites.png');
	color: #824703;
}

*html .RadForm_Sunset a.rfdSkinnedButton,
*html .RadForm_Sunset .rfdSkinnedButton button,
*html .RadForm_Sunset .rfdSkinnedButton input.rfdDecorated,
.RadForm_Sunset.rfdButton a.rfdSkinnedButton,
.RadForm_Sunset.rfdButton a.rfdSkinnedButton *
{
	background-image: url('FormDecorator/ButtonSprites.png');
	color: #824703;
}

/* 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_Sunset.rfdButton a.rfdSkinnedButton input
	{
	    display: block;
	    float: left;
	}
}

/* Decorate <h4|5|6 /> */
.RadForm_Sunset.rfdHeading h4
{
	color: #567db0;	
	border-bottom: solid 1px #a0a0a0;	
}

.RadForm_Sunset.rfdHeading h5
{
	color: #000;	
	border-bottom: solid 1px #a0a0a0;	
}

.RadForm_Sunset.rfdHeading h6
{
	color: #000;	
}

/* Decorate <label /> */
.RadForm_Sunset.rfdLabel label
{	
	color: #626262;
}

/* Decorate <input type="checkbox" /> */
.RadForm_Sunset .rfdCheckboxUnchecked,
.RadForm_Sunset .rfdInputDisabled.rfdCheckboxUnchecked:hover
{
	background: transparent url('FormDecorator/CheckBoxSprites.gif') no-repeat 0 0;
}

.RadForm_Sunset .rfdCheckboxUnchecked:hover
{
	background: transparent url('FormDecorator/CheckBoxSprites.gif') no-repeat 0 -200px;
}

.RadForm_Sunset .rfdCheckboxChecked,
.RadForm_Sunset .rfdInputDisabled.rfdCheckboxChecked:hover
{
	background: transparent url('FormDecorator/CheckBoxSprites.gif') no-repeat 0 -420px;
}

.RadForm_Sunset .rfdCheckboxChecked:hover
{
	background: transparent url('FormDecorator/CheckBoxSprites.gif') no-repeat 0 -640px;
}

/* Decorate <input type="radio" /> */
.RadForm_Sunset .rfdRadioUnchecked,
.RadForm_Sunset .rfdInputDisabled.rfdRadioUnchecked:hover
{
	background: transparent url('FormDecorator/RadioButtonSprites.png') no-repeat 1px 0;
}

.RadForm_Sunset .rfdRadioUnchecked:hover
{
	background: transparent url('FormDecorator/RadioButtonSprites.png') no-repeat 1px -220px;
}

.RadForm_Sunset .rfdRadioChecked,
.RadForm_Sunset .rfdInputDisabled.rfdRadioChecked:hover 
{
	background: transparent url('FormDecorator/RadioButtonSprites.png') no-repeat 1px -440px;
}

.RadForm_Sunset .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_Sunset .rfdRadioUnchecked,
.RadForm_Sunset .rfdInputDisabled.rfdRadioUnchecked:hover,
.RadForm_Sunset .rfdRadioUnchecked:hover,
.RadForm_Sunset .rfdRadioChecked,
.RadForm_Sunset .rfdInputDisabled.rfdRadioChecked:hover,
.RadForm_Sunset .rfdRadioChecked:hover
{
    _background-image: url('FormDecorator/RadioButtonSprites.gif'); /* IE6 hack */
}

/* <fieldset /> and <legend /> */

.RadForm_Sunset.rfdFieldset table.rfdRoundedWrapper_fieldset legend,
.RadForm_Sunset fieldset.rfdFieldset legend
{
	color: #000;
}

.RadForm_Sunset table.rfdRoundedWrapper:hover div.rfdRoundedInner
{
    background-color: #fff;
    border-color: #ac7d21 !important;
}

/* this selector styles the hover of the side bars of the rounded elements */
.RadForm_Sunset table.rfdRoundedWrapper:hover .rfdRoundedOuter
{	
	background-color: #ac7d21 !important;
}

/* Decorate <input type="text | password" /> and <textarea /> */
/* For all browsers except IE6 we are using attribute selectors - single or double */
.RadForm_Sunset.rfdTextbox input[type="text"],
.RadForm_Sunset.rfdTextbox input[type="password"],
.RadForm_Sunset.rfdTextarea textarea,
.RadForm_Sunset.rfdTextarea textarea[disabled]:hover,
.RadForm_Sunset.rfdTextbox input[disabled][type="text"]:hover,
.RadForm_Sunset.rfdTextbox input[disabled][type="password"]:hover
{
    border: solid 1px #938879;
    background-color: #fff;
}

.RadForm_Sunset.rfdTextbox .rfdDecorated:hover,
.RadForm_Sunset.rfdTextbox .rfdDecorated:hover,
.RadForm_Sunset.rfdTextarea textarea:hover
{
    border: solid 1px #ac7d21;
}

/* Decorate <fieldset /> */
.RadForm_Sunset.rfdFieldset fieldset
{	
	border: solid 1px #bcae9b;
	background-image: url('FormDecorator/FieldsetBgr.png'); /* having a background image on a fieldset is not okay with IE */	
}

/* Decorate <fieldset /> and <legend /> */
.RadForm_Sunset.rfdFieldset table.rfdRoundedWrapper_fieldset legend,
.RadForm_Sunset.rfdFieldset fieldset.rfdFieldset legend
{
	color: #000;
}

.RadForm_Sunset.rfdFieldset table.rfdRoundedWrapper_fieldset fieldset,
.RadForm_Sunset.rfdFieldset fieldset.rfdFieldset
{	
	border: solid 1px #bcae9b;
	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_Sunset table.rfdRoundedWrapper input,
.RadForm_Sunset table.rfdRoundedWrapper textarea,
.RadForm_Sunset input.rfdInput, 
.RadForm_Sunset textarea.rfdTextarea
{
	border: solid 1px #938879;
	background: #fff;	
	color: #000;
}

.RadForm_Sunset textarea.rfdTextarea,
.RadForm_Sunset table.rfdRoundedWrapper textarea
{
    overflow: auto;
}

/* <select /> */
.rfdSelect_Sunset,
.rfdSelect_Sunset:hover,
.rfdSelect_Sunset .rfdSelectOuter,
.rfdSelect_Sunset:hover .rfdSelectOuter,
.rfdSelect_Sunset .rfdSelectArrow span,
.rfdSelectBox_Sunset .rfdSelect_selected,
.rfdSelectBox_Sunset li:hover,
.rfdSelect_Sunset.rfdSelectDisabled:hover,
.rfdRtl .rfdSelect_Sunset,
.rfdRtl .rfdSelect_Sunset:hover,
.rfdRtl .rfdSelect_Sunset .rfdSelectOuter,
.rfdRtl .rfdSelect_Sunset .rfdSelectOuter:hover
{
    background-image: url('FormDecorator/ComboSprites.gif');
    background-repeat: no-repeat;
    background-color: transparent;
}

.rfdSelect_Sunset .rfdSelectOuter,
.rfdSelect_Sunset.rfdSelectDisabled:hover .rfdSelectOuter
{
    color: #272722;
}

.rfdSelect_Sunset:hover .rfdSelectOuter
{
    color: #863d02;
}

/* dropdown settings */
.rfdSelectBox_Sunset
{
    background: #fff;
    border: solid 1px #828282;
    color: #000;
}

.rfdSelectBox_Sunset li
{
    padding: 0 0 0 3px;
    background-image: none !important;
}

.rfdSelectBox_Sunset .rfdSelect_selected,
.rfdSelectBox_Sunset li:hover
{
    color: #863d02;
    background-color: #f9ed8a;
}

.rfdSelectBox_Sunset .rfdSelectBox_optgroup_label:hover
{
    background: none;
    color: #000;
}

.rfdSelectDisabled.rfdSelectBox_Sunset li
{
    color: #000;
}

/* 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_Sunset.rfdButton a.rfdInputDisabled:hover
{
	_background-position: 0 0;
}

* html .RadForm_Sunset.rfdButton a.rfdInputDisabled:hover *
{
	_background-position: right -21px;
	_color: #824703;
}

.RadForm_Sunset.rfdTextbox input.rfdIE6TextBox,
.RadForm_Sunset.rfdTextbox textarea.rfdIE6TextBox
{
    _border: solid 1px #938879;
    _background-color: #fff;
}

/* the styling of radiobuttons and checkboxes in Safari and Chrome is already fully achieved with CSS */
@media screen and (-webkit-min-device-pixel-ratio: 0)
{
    /* checkboxes */
    .rfdCheckbox input[type="checkbox"],
    .rfdCheckbox input[type="checkbox"][disabled]:hover
    {
        background-image: url('FormDecorator/CheckBoxSprites.gif');
    }
    
    /* radio buttons */
    .rfdRadio input[type="radio"],
    .rfdRadio input[type="radio"][disabled="disabled"]:hover
    {
        background-image: url('FormDecorator/RadioButtonSprites.png');
    }
}

/* ----------------------------------------------- Skin-specific Scrollbar Settings for WebKit ----------------------------------------------- */

/* the scrollbar face color */
.RadForm.rfdScrollBars.RadForm_Sunset textarea::-webkit-scrollbar-thumb:vertical,
.RadForm.rfdScrollBars.RadForm_Sunset textarea::-webkit-scrollbar-thumb:horizontal,
.RadForm.rfdScrollBars.RadForm_Sunset div::-webkit-scrollbar-thumb:vertical,
.RadForm.rfdScrollBars.RadForm_Sunset div::-webkit-scrollbar-thumb:horizontal
{
    background-color: #dad4ca;
}

/* scrollbar track background color */
.RadForm.rfdScrollBars.RadForm_Sunset textarea::-webkit-scrollbar-track-piece,
.RadForm.rfdScrollBars.RadForm_Sunset div::-webkit-scrollbar-track-piece
{
    background-color: #f4ede1;
}

.RadForm.rfdScrollBars.RadForm_Sunset textarea::-webkit-scrollbar-button:vertical:decrement,
.RadForm.rfdScrollBars.RadForm_Sunset textarea::-webkit-scrollbar-button:vertical:increment,
.RadForm.rfdScrollBars.RadForm_Sunset textarea::-webkit-scrollbar-button:horizontal:decrement,
.RadForm.rfdScrollBars.RadForm_Sunset textarea::-webkit-scrollbar-button:horizontal:increment,
.RadForm.rfdScrollBars.RadForm_Sunset textarea::-webkit-scrollbar-thumb:vertical,
.RadForm.rfdScrollBars.RadForm_Sunset textarea::-webkit-scrollbar-thumb:horizontal,
.RadForm.rfdScrollBars.RadForm_Sunset div::-webkit-scrollbar-button:vertical:decrement,
.RadForm.rfdScrollBars.RadForm_Sunset div::-webkit-scrollbar-button:vertical:increment,
.RadForm.rfdScrollBars.RadForm_Sunset div::-webkit-scrollbar-button:horizontal:decrement,
.RadForm.rfdScrollBars.RadForm_Sunset div::-webkit-scrollbar-button:horizontal:increment,
.RadForm.rfdScrollBars.RadForm_Sunset div::-webkit-scrollbar-thumb:vertical,
.RadForm.rfdScrollBars.RadForm_Sunset div::-webkit-scrollbar-thumb:horizontal
{
    border-color: #fff #8d877f #8d877f #fff;
}

/* increment / decrement button settings */
.RadForm.rfdScrollBars.RadForm_Sunset textarea::-webkit-scrollbar-button:vertical:decrement,
.RadForm.rfdScrollBars.RadForm_Sunset textarea::-webkit-scrollbar-button:vertical:increment,
.RadForm.rfdScrollBars.RadForm_Sunset textarea::-webkit-scrollbar-button:horizontal:decrement,
.RadForm.rfdScrollBars.RadForm_Sunset textarea::-webkit-scrollbar-button:horizontal:increment,
.RadForm.rfdScrollBars.RadForm_Sunset div::-webkit-scrollbar-button:vertical:decrement,
.RadForm.rfdScrollBars.RadForm_Sunset div::-webkit-scrollbar-button:vertical:increment,
.RadForm.rfdScrollBars.RadForm_Sunset div::-webkit-scrollbar-button:horizontal:decrement,
.RadForm.rfdScrollBars.RadForm_Sunset div::-webkit-scrollbar-button:horizontal:increment
{
    background-image: url('FormDecorator/ButtonSprites.png');
    background-color: #dad4ca;
}

/*GridView, FormView, DetailsView*/
.RadForm_Sunset.rfdGrids .rfdTable
{
    border:1px solid #cabaab;
    background:#f1e9dc;
    color:#333;
    font:12px "segoe ui",arial,sans-serif;
}

.RadForm_Sunset.rfdGrids .rfdTable th
{
    border-bottom:1px solid #71250a;
    border-left:1px solid #872b07;
    background:#b94304;
    color:#fff;
}

.RadForm_Sunset.rfdGrids .rfdTable a
{
    color:#5d1f00;
}

/* Validation Summary Control and Login Control  */

.RadForm_Sunset .rfdValidationSummaryControl,
.RadForm_Sunset .rfdLoginControl
{
	background-color: #fff;
	border: 1px solid #bcae9b;
}

.RadForm_Sunset a.rfdLoginControl
{
	color: #3d1400;
}

.RadForm_Sunset a.rfdLoginControl:active
{
	color: #3d1400;
}

.RadForm_Sunset a.rfdLoginControl:hover
{
	color: #982e00;
}

.RadForm_Sunset a.rfdLoginControl:visited
{
	color: #272722;
}