/* RadFormDecorator for ASP.NET Vista Skin */

/* CSS class for styling the decoration zone or the <html /> tag of the page */
.RadForm_MTS.rfdZone
{    
}

/* Decorate scrollbars */
.RadForm_MTS.rfdScrollBars
{
	scrollbar-3dlight-color: #959695; 
	scrollbar-arrow-color: #3e3e3e;
	scrollbar-base-color: #f5f5f5; 
	scrollbar-darkshadow-color: #5f6e93; 
	scrollbar-face-color: #d1d1d4;
	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_MTS.rfdButton a.rfdSkinnedButton,
.RadForm_MTS.rfdButton input[type="button"].rfdDecorated,
.RadForm_MTS.rfdButton input[type="reset"],
.RadForm_MTS.rfdButton input[type="submit"].rfdDecorated,
.RadForm_MTS.rfdButton button
{
	background-image: url('FormDecorator/ButtonSprites.gif');
	color: #ffffff;
	font-size: 12px;
	font-weight: bold;

}
.rfdSkinnedButton input {
	height: 21px !important;
	padding-left: 9px !important;
	color: #ffffff;
	background-position: left -21px !important;
}

.rfdSkinnedButton {padding-right: 8px !important; cursor: pointer;
  height: 21px !important;
}
.rfdButton a.rfdSkinnedButton:hover, 
.rfdButton a.rfdClickedButton:hover, 
.rfdButton a.rfdClickedButton {background-position: right -42px !important}
#gray-back .rfdButton a.rfdSkinnedButton:hover input, 
#gray-back .rfdButton a.rfdClickedButton:hover input, 
#gray-back .rfdButton a.rfdClickedButton input {	background-position: left -21px !important;}

.RadForm_MTS.rfdButton a.rfdSkinnedButton,
.RadForm_MTS.rfdButton a.rfdSkinnedButton *
{
    _background-image: url('FormDecorator/ButtonSprites.gif');
}

/* 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_MTS.rfdButton a.rfdSkinnedButton input
	{
	    display: block;
	    float: left;
	}
}

/* Decorate <h4|5|6 /> */
.RadForm_MTS.rfdHeading h4
{
	color: #567db0;	
	border-bottom: solid 1px #a0a0a0;	
}

.RadForm_MTS.rfdHeading h5
{
	color: #000000;	
	border-bottom: solid 1px #a0a0a0;	
}

.RadForm_MTS.rfdHeading h6
{
	color: #000000;	
}

/* Decorate <label /> */
.RadForm_MTS.rfdLabel label
{	
	color: #000000;	
}

/* Decorate <input type="checkbox" /> */
.RadForm_MTS .rfdCheckboxUnchecked,
.RadForm_MTS .rfdInputDisabled.rfdCheckboxUnchecked:hover
{
	background: transparent url('FormDecorator/CheckBoxSprites.gif') no-repeat 0 0;
}

.RadForm_MTS .rfdCheckboxUnchecked:hover
{
	background: transparent url('FormDecorator/CheckBoxSprites.gif') no-repeat 0 -200px;
}

.RadForm_MTS .rfdCheckboxChecked,
.RadForm_MTS .rfdInputDisabled.rfdCheckboxChecked:hover
{
	background: transparent url('FormDecorator/CheckBoxSprites.gif') no-repeat 0 -420px;
}

.RadForm_MTS .rfdCheckboxChecked:hover
{
	background: transparent url('FormDecorator/CheckBoxSprites.gif') no-repeat 0 -640px;
}

/* Decorate <input type="radio" /> */
.RadForm_MTS .rfdRadioUnchecked,
.RadForm_MTS .rfdInputDisabled.rfdRadioUnchecked:hover
{
	background: transparent url('FormDecorator/RadioButtonSprites.png') no-repeat 1px 0;
}

.RadForm_MTS .rfdRadioUnchecked:hover
{
	background: transparent url('FormDecorator/RadioButtonSprites.png') no-repeat 1px -220px;
}

.RadForm_MTS .rfdRadioChecked,
.RadForm_MTS .rfdInputDisabled.rfdRadioChecked:hover 
{
	background: transparent url('FormDecorator/RadioButtonSprites.png') no-repeat 1px -440px;
}

.RadForm_MTS .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_MTS .rfdRadioUnchecked,
.RadForm_MTS .rfdInputDisabled.rfdRadioUnchecked:hover,
.RadForm_MTS .rfdRadioUnchecked:hover,
.RadForm_MTS .rfdRadioChecked,
.RadForm_MTS .rfdInputDisabled.rfdRadioChecked:hover,
.RadForm_MTS .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;
}
  div.tx table.grid table.rfdRoundedWrapper td {vertical-align: middle;}
.RadForm_MTS.rfdFieldset table.rfdRoundedWrapper_fieldset legend,
.RadForm_MTS fieldset.rfdFieldset legend
{
	color: #a0a0a0;
}

.RadForm_MTS table.rfdRoundedWrapper:hover div.rfdRoundedInner
{
    background-color: #ffffff;
    border-color: #c5daed !important;
}

/* this selector styles the hover of the side bars of the rounded elements */
.RadForm_MTS table.rfdRoundedWrapper:hover .rfdRoundedOuter
{	
	background-color: #c5daed !important;
}

/* Decorate <input type="text | password" /> and <textarea /> */
/* For all browsers except IE6 we are using attribute selectors - single or double */
.RadForm_MTS.rfdTextbox input[type="text"],
.RadForm_MTS.rfdTextbox input[type="password"],
.RadForm_MTS.rfdTextarea textarea,
.RadForm_MTS.rfdTextarea textarea[disabled]:hover,
.RadForm_MTS.rfdTextbox input[disabled][type="text"]:hover,
.RadForm_MTS.rfdTextbox input[disabled][type="password"]:hover
{
    border: solid 1px #abadb3;
    background-color: #ffffff;
}

.RadForm_MTS.rfdTextbox .rfdDecorated:hover,
.RadForm_MTS.rfdTextbox .rfdDecorated:hover,
.RadForm_MTS.rfdTextarea textarea:hover
{
    /*border: solid 1px #c5daed;*/
}

/* Decorate <fieldset /> */
.RadForm_MTS.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_MTS.rfdFieldset table.rfdRoundedWrapper_fieldset legend,
.RadForm_MTS.rfdFieldset fieldset.rfdFieldset legend
{
	color: #a0a0a0;
}

.RadForm_MTS.rfdFieldset table.rfdRoundedWrapper_fieldset fieldset,
.RadForm_MTS.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_MTS table.rfdRoundedWrapper input,
.RadForm_MTS table.rfdRoundedWrapper textarea,
.RadForm_MTS input.rfdInput, 
.RadForm_MTS textarea.rfdTextarea
{
	border: solid 1px #abadb3;
	background: #ffffff;	
	color: #000000;
}

.RadForm_MTS textarea.rfdTextarea,
.RadForm_MTS table.rfdRoundedWrapper textarea
{
    overflow: auto;
}

/* <select /> */
.rfdSelect_MTS,
.rfdSelect_MTS:hover,
.rfdSelect_MTS .rfdSelectOuter,
.rfdSelect_MTS:hover .rfdSelectOuter,
.rfdSelect_MTS .rfdSelectArrow span,
.rfdSelectBox_MTS .rfdSelect_selected,
.rfdSelectBox_MTS li:hover,
.rfdSelect_MTS.rfdSelectDisabled:hover,
.rfdRtl .rfdSelect_MTS,
.rfdRtl .rfdSelect_MTS:hover,
.rfdRtl .rfdSelect_MTS .rfdSelectOuter,
.rfdRtl .rfdSelect_MTS .rfdSelectOuter:hover
{
    background-image: url('FormDecorator/ComboSprites.png');
    background-repeat: no-repeat;
    background-color: transparent;
}

.rfdSelect_MTS .rfdSelectOuter,
.rfdSelect_MTS.rfdSelectDisabled:hover .rfdSelectOuter
{
    color: black;
}

/* dropdown settings */
.rfdSelectBox_MTS
{
    background: white;
    border: solid 1px #c6c7d2;
    color: #000;
    z-index:1000;
}
.rfdSelectBox ul, .rfdSelectBox li
{
	padding:2px !important;

}

.rfdSelectBox_MTS li {
    padding: 0 0 0 3px;
    background-image: none !important;
}

.rfdSelectBox_MTS .rfdSelect_selected,
.rfdSelectBox_MTS li:hover {
    color: #000000;
    font-size: 11px;
}
.rfdSelectBox_MTS li:hover {background-color: #CCCCCC !important;}
.rfdSelectBox_MTS li {font-size: 11px;}

.rfdSelectBox_MTS .rfdSelectBox_optgroup_label:hover
{
    background: none;
    color: #333333;
}

.rfdSelectDisabled.rfdSelectBox_MTS:hover li
{
    color: #333333;
}

.rfdSelect .rfdSelectBox
{
    max-height:400px;overflow-y:hidden;

}

.rfdSelect .rfdSelectOuter,.rfdSelect:hover .rfdSelectOuter, .rfdSelect.rfdSelectDisabled:hover .rfdSelectOuter {
background:transparent url(FormDecorator/select_right.gif) no-repeat scroll right 0;
background-position: right 0 !important;
}

/* 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_MTS.rfdButton a.rfdInputDisabled:hover
{
	_background-position: 0 0;
}

* html .RadForm_MTS.rfdButton a.rfdInputDisabled:hover *
{
	_background-position: right -21px;
	_color: #333333;
}

.RadForm_MTS.rfdTextbox input.rfdIE6TextBox,
.RadForm_MTS.rfdTextbox textarea.rfdIE6TextBox
{
    _border: solid 1px #abadb3;
    _background-color: #ffffff;
}
.rfdSelect .rfdSelectOuter span {font-size: 11px;}
.rfdSelect .rfdSelectOuter, .rfdSelect.rfdSelectDisabled:hover .rfdSelectOuter {line-height: 19px !important; height: 19px !important;}
.rfdSelectBox_MTS li {height: 14px !important; line-height: 14px !important;}
*html .rfdSelect .rfdSelectBox {width: 100%}
