/* RadFormDecorator for ASP.NET Telerik Skin */

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

/* Decorate scrollbars */
.RadForm_Telerik.rfdScrollBars
{
	scrollbar-3dlight-color: #a0ad8a; 
	scrollbar-arrow-color: #7f7f7f;
	scrollbar-base-color: #f5f5f5; 
	scrollbar-darkshadow-color: #5f6e93; 
	scrollbar-face-color: #e4e4e4;
	scrollbar-highlight-color: #fff; 
	scrollbar-shadow-color: #a0ad8a;
	scrollbar-track-color: #f0f0f0;
}

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

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

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

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

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

.RadForm_Telerik.rfdHeading h6
{
	color: #316300;	
}

/* Decorate <label /> */
.RadForm_Telerik.rfdLabel label
{	
	color: #000;
}

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

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

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

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

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

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

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

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

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

.RadForm_Telerik.rfdFieldset table.rfdRoundedWrapper_fieldset legend,
.RadForm_Telerik fieldset.rfdFieldset legend
{
	color: #239500;
}

.RadForm_Telerik table.rfdRoundedWrapper:hover div.rfdRoundedInner
{
    background-color: #fff;
    border-color: #2ebf00 !important;
}

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

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

.RadForm_Telerik.rfdTextbox .rfdDecorated:hover,
.RadForm_Telerik.rfdTextbox .rfdDecorated:hover,
.RadForm_Telerik.rfdTextarea textarea:hover
{
    border: solid 1px #2ebf00;
}

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

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

.RadForm_Telerik.rfdFieldset table.rfdRoundedWrapper_fieldset fieldset,
.RadForm_Telerik.rfdFieldset fieldset.rfdFieldset
{	
	border: solid 1px #828282;
	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_Telerik table.rfdRoundedWrapper input,
.RadForm_Telerik table.rfdRoundedWrapper textarea,
.RadForm_Telerik input.rfdInput, 
.RadForm_Telerik textarea.rfdTextarea
{
	border: solid 1px #8e8e8e;
	background: #fff;	
	color: #000;
}

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

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

.rfdSelect_Telerik .rfdSelectOuter,
.rfdSelect_Telerik.rfdSelectDisabled:hover .rfdSelectOuter
{
    color: #000;
}

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

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

.rfdSelectBox_Telerik .rfdSelect_selected,
.rfdSelectBox_Telerik li:hover
{
    color: #000;
    background-color: #9ddf6c;
}

.rfdSelectBox_Telerik .rfdSelectBox_optgroup_label:hover
{
    background: none;
    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_Telerik.rfdButton a.rfdInputDisabled:hover
{
	_background-position: 0 0;
}

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

.RadForm_Telerik.rfdTextbox input.rfdIE6TextBox,
.RadForm_Telerik.rfdTextbox textarea.rfdIE6TextBox
{
    _border: solid 1px #8e8e8e;
    _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_Telerik textarea::-webkit-scrollbar-thumb:vertical,
.RadForm.rfdScrollBars.RadForm_Telerik textarea::-webkit-scrollbar-thumb:horizontal,
.RadForm.rfdScrollBars.RadForm_Telerik div::-webkit-scrollbar-thumb:vertical,
.RadForm.rfdScrollBars.RadForm_Telerik div::-webkit-scrollbar-thumb:horizontal
{
    background-color: #e4e4e4;
}

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

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

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

/*GridView, FormView, DetailsView*/
.RadForm_Telerik.rfdGrids .rfdTable
{
    border:1px solid #828282;
    background:#f2f2f2;
    color:#000;
    font:12px "segoe ui",arial,sans-serif;
}

.RadForm_Telerik.rfdGrids .rfdTable th
{
    border-bottom:1px solid #828282;
    border-left:1px solid #828282;
    background:#cacaca;
    color:#333;
}

.RadForm_Telerik.rfdGrids .rfdTable a
{
    color:#239600;
}

/* Validation Summary Control and Login Control  */

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

.RadForm_Telerik a.rfdLoginControl
{
	color: #000;
}

.RadForm_Telerik a.rfdLoginControl:active
{
	color: #155800;
}

.RadForm_Telerik a.rfdLoginControl:hover
{
	color: #1e7f00;
}

.RadForm_Telerik a.rfdLoginControl:visited
{
	color: #4b4b4b;
}