﻿/* RadFormDecorator - common CSS settings */

.rfdSkinnedButton .rfdInner
{
    font: normal 12px Arial, Verdana !important;
    white-space: nowrap;
    background-repeat: repeat-x;
	width: auto !important;
	padding: 0 !important;
	display: block !important;
	line-height: 21px !important;
}

.rfdCheckboxChecked,
.rfdCheckboxUnchecked,
.rfdRadioUnchecked,
.rfdRadioChecked
{
    line-height: 20px !important;
	padding: 0;
	padding-left: 20px;
	zoom:1;/*Fixes IE issue with font-size set in percents */		
	display: inline-block !important;	
	font-family: Verdana, Arial, Helvetica, sans-serif !important;
	font-size: 10px !important;
}

.rfdSkinnedButton .rfdOuter
{
	background-position: right 0;
	background-repeat: no-repeat;
	display: block;	
}

.rfdRealButton
{
	vertical-align: middle;
	display: none;
	min-width: 54px !important;
}

/* Internet Explorer */        
*+html .rfdRealButton,
*+html .rfdSkinnedButton
{		
	min-width: auto !important;
}

/* disabled inputs */
.rfdInputDisabled
{
    filter: alpha(opacity=50);
    -moz-opacity: .5;
    opacity: .5;
}

.input 
{
	position: absolute;/* Causes IE to jump when a textbox in a scrollable parent is clicked -however, setting position:relative has other side effects. This is why it will be left here as *absolute* and set to relative where needed */	
	left: -999999px;
}

/* FormDecorator + TreeView fix */
.RadTreeView .rfdCheckboxUnchecked,
.RadTreeView .rfdCheckboxChecked
{
    display: -moz-inline-box;
    display: inline-block;
    width: 0;
    vertical-align: middle;
    line-height: 21px;
    height: 21px;
}

/* FormDecorator + TreeView fix */
.RadGrid .rfdCheckboxUnchecked,
.RadGrid .rfdCheckboxChecked
{
    display: -moz-inline-block;
    display: inline-block;
}

.radr_noBorder
{
	border-width: 0;
}

/* min-width issue fix ("Log In") */
 .rfdSkinnedButton
{
	/*_width: 54px;
	min-width: 54px;*/
}

a.rfdSkinnedButton:focus,
a.rfdSkinnedButton:active
{
	border: dotted 1px #131627;
}

/* =========================== TEXTAREA, INPUT, FIELDSET ============================= */
.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;
    padding:0px !important;                 
}

/*IE7*/
*+html table.rfdRoundedWrapper, *+html table.rfdRoundedWrapper_fieldset
{
   display:inline;
}

table.rfdRoundedWrapper td, table.rfdRoundedWrapper_fieldset td
{
    vertical-align:middle;
}

/* Specific styling related to the elements that need to support rounded corners */
table.rfdRoundedWrapper textarea, textarea.rfdTextarea
{     
    overflow :hidden;/*Prevent nasty flicker */     
    /* Safari - Do not allow textarea resize. Also - textarea in a table causes very a 4px bottom margin! Bug in Safari*/    
    /* This hack thing is parsed in IE as WELL!*/
    [hack:safari;    
        resize: none;        
    ]        
}


fieldset.rfdFieldset
{
    -webkit-border-radius:4px;
    -moz-border-radius:4px;        
}

input.rfdInput, textarea.rfdTextarea
{   
   -webkit-border-radius:4px;
   -moz-border-radius:4px;         
}

.rfdRtl
{
	direction: rtl;
}

.rfdRtl .input 
{
	position: absolute;/* Causes IE to jump when a textbox in a scrollable parent is clicked -however, setting position:relative has other side effects. This is why it will be left here as *absolute* and set to relative where needed */	
	left: 0;
	right: 0;
	top:-9999px;
}


/* checkboxes */
.rfdRtl .rfdCheckboxUnchecked,
.rfdRtl .rfdInputDisabled.rfdCheckboxUnchecked:hover
{
	padding: 0 20px 0 0;
	background-position: right 0 !important;
}

.rfdRtl .rfdCheckboxUnchecked:hover
{
	background-position: right -200px !important;
}

.rfdRtl .rfdCheckboxChecked,
.rfdRtl .rfdInputDisabled.rfdCheckboxChecked:hover 
{
	padding: 0 20px 0 0;
	background-position: right -420px !important;
}

.rfdRtl .rfdCheckboxChecked:hover
{
	background-position: right -640px !important;
}
/* end of checkboxes */

/* radiobuttons */
.rfdRtl .rfdRadioUnchecked,
.rfdRtl .rfdInputDisabled.rfdRadioUnchecked:hover 
{
	padding: 0 20px 0 0;
	background-position: right 0 !important;
}

.rfdRtl .rfdRadioUnchecked:hover
{
	background-position: right -220px !important;
}

.rfdRtl .rfdRadioChecked,
.rfdRtl .rfdInputDisabled.rfdRadioChecked:hover 
{
	padding: 0 20px 0 0;
	background-position: right -440px !important;
}

.rfdRtl .rfdRadioChecked:hover
{
	background-position: right -640px !important;
}
/* end of radiobuttons */
/* right to left support end */

/* common skinned combobox settings begin */

.rfdSelect
{
	display: inline-block;
	text-decoration: none;
	font: normal 10pt Arial, Verdana, Sans-serif;
	cursor: default;
	outline: none;
	-moz-user-select: none;
	max-width: 1024px;
	overflow: hidden;
	padding: 0;
}

.rfdSelect_disabled
{
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=40); /* IE 6/7 */
    opacity: .4; /* Gecko, Opera */
    -moz-opacity: .4; /* Old Gecko */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=40)"; /* IE8 */
}

.rfdSelect span
{
	display: block;
}

.rfdSelect .rfdSelect_outerSpan
{
	float: left;
}

.rfdSelect .rfdSelect_textSpan
{
	line-height: 18px;
	padding: 0 3px;
	float: left;
	white-space: nowrap;
	overflow: hidden;
	margin-left: 2px;
	text-overflow: ellipsis;
}

.rfdSelect .rfdSelect_arrowSpan
{
	float: right;
	_display: inline;
}

.rfdSelect .rfdSelect_arrowSpan span
{
    background-color: transparent !important;
	text-indent: -9999px;
	width: 14px;
	height: 16px;
}

/* dropdown settings */
.rfdSelectbox
{
    font: normal 10pt Arial, Verdana, Sans-serif;
    display: inline-block;
}

.rfdSelectbox ul,
.rfdSelectbox li
{
    padding: 0;
    margin: 0;
    list-style: none;
}

.rfdSelectbox li
{
    cursor: default;
    line-height: 16px;
    height: 16px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.rfdSelectbox_optgroup li
{
    padding-left: 20px !important;
    height: 18px !important;
    line-height: 18px !important;
}

.rfdSelectbox_optgroup .rfdSelectbox_optgroup_label
{
    font-style: italic;
    font-weight: bold;
    padding-left: 0 !important;
}

/* common skinned combobox settings begin */


/* FORM DECORATOR "HAY" SKIN

.RadForm_OrganicStyleClassic.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;
}
*/
 
/* label settings
.RadForm_OrganicStyleClassic label.Hay
{
    color: #626262;
}
*/
 
/* checkbox settings
.RadForm_OrganicStyleClassic .rfdCheckboxUnchecked,
.RadForm_OrganicStyleClassic .rfdInputDisabled.rfdCheckboxUnchecked:hover
{
	background: transparent url(FormDecorator/CheckBoxSprites.gif) no-repeat 0 0;
}

.RadForm_OrganicStyleClassic .rfdCheckboxUnchecked:hover
{
	background: transparent url(FormDecorator/CheckBoxSprites.gif) no-repeat 0 -200px;
}

.RadForm_OrganicStyleClassic .rfdCheckboxChecked,
.RadForm_OrganicStyleClassic .rfdInputDisabled.rfdCheckboxChecked:hover
{
	background: transparent url(FormDecorator/CheckBoxSprites.gif) no-repeat 0 -420px;
}

.RadForm_OrganicStyleClassic .rfdCheckboxChecked:hover
{
	background: transparent url(FormDecorator/CheckBoxSprites.gif) no-repeat 0 -640px;
}
*/
/* end of checkbox settings */

/* radiobutton settings */
.RadForm_OrganicStyleClassic .rfdRadioUnchecked,
.RadForm_OrganicStyleClassic .rfdInputDisabled.rfdRadioUnchecked:hover
{
	background: transparent url(FormDecorator/RadioButtonSprites.gif) no-repeat 1px 0;
}

.RadForm_OrganicStyleClassic .rfdRadioUnchecked:hover
{
	background: transparent url(FormDecorator/RadioButtonSprites.gif) no-repeat 1px -220px;
}

.RadForm_OrganicStyleClassic .rfdRadioChecked,
.RadForm_OrganicStyleClassic .rfdInputDisabled.rfdRadioChecked:hover 
{
	background: transparent url(FormDecorator/RadioButtonSprites.gif) no-repeat 1px -440px;
}

.RadForm_OrganicStyleClassic .rfdRadioChecked:hover
{
	background: transparent url(FormDecorator/RadioButtonSprites.gif) no-repeat 1px -640px;
}

/* 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.gif');
    }
    
    .rfdRadio label, .rfdCheckbox label
    {
    	line-height: 23px !important;
    }
}
/* end of radiobutton settings */

/* button settings 
a.RadForm_OrganicStyleClassic, a.RadForm_OrganicStyleClassic span
{
	background-image: url(FormDecorator/ButtonSprites.gif);
	color: #dadada;
}

a.RadForm_OrganicStyleClassic.rfdInputDisabled:hover span
{
    color: #dadada;
}

a.RadForm_OrganicStyleClassic
{
	padding-left: 4px;
}

a.RadForm_OrganicStyleClassic span:hover
{
    color: white;
}

a.RadForm_OrganicStyleClassic .rfdInner
{
	margin-right: 4px;
	background-position: 0 -21px;
}
*/
/* end of button settigs */

/* clicked button styles 
a.RadForm_OrganicStyleClassic.rfdClicked
{
    background-image: url(FormDecorator/ButtonSprites.gif);
    background-position: 0 -42px;
    background-repeat: no-repeat;
}

a.RadForm_OrganicStyleClassic.rfdClicked span
{
    background-image: url(FormDecorator/ButtonSprites.gif);
    color: #fffffe;
}

a.RadForm_OrganicStyleClassic.rfdClicked .rfdInner
{
    background-position: 0 -63px;
    background-repeat: repeat-x;
}

a.RadForm_OrganicStyleClassic.rfdClicked .rfdOuter
{
    background-position: right -42px;
    background-repeat: no-repeat;
}
*/
/* end of clicked button styles */

/* do NOT change these settings, otherwise the skinned buttons will be broken when used within a decoration zone */
a.rfdSkinnedButton.RadForm_OrganicStyleClassic
{
    -moz-user-select: none !important;
	outline: none !important;
	text-decoration: none !important;
	cursor: default !important;
	text-align: center !important;
	background-color: transparent !important;
	border: 0 !important;
    display: inline-block !important;
}

.RadForm_OrganicStyleClassic h4.rfdH4,
.RadForm_OrganicStyleClassic h5.rfdH5,
.RadForm_OrganicStyleClassic h6.rfdH6
{		
	color: #52b50f;
}

/* Headings 4-6 
.RadForm_OrganicStyleClassic h4.rfdH4
{
	border-bottom: solid 2px #c3c2a4;	
}

.RadForm_OrganicStyleClassic h5.rfdH5
{
	border-bottom: solid 1px #c3c2a4;		
}
*/

/* LABEL 
.RadForm_OrganicStyleClassic label.rfdLabel
{	
	color: #4a3939;
}
*/

/* FIELDSET & LEGEND 
.RadForm_OrganicStyleClassic table.rfdRoundedWrapper_fieldset legend,
.RadForm_OrganicStyleClassic fieldset.rfdFieldset legend
{
	*Mandatory to set the height of the legend, so as to be able to calculate the rounded corners in IE properly*
	font-size: 12px;
	height:30px;
	line-height:30px;
	color: #47b100;
}

.RadForm_OrganicStyleClassic table.rfdRoundedWrapper_fieldset fieldset,
.RadForm_OrganicStyleClassic fieldset.rfdFieldset
{	
	border: solid 1px #cac8ab;
	background-image: url(FormDecorator/FieldsetBgr.png); * having a background image on a fieldset is not okay with IE *
	background-repeat: no-repeat;*Mandatory to use because of incorrect IE positioning of the image*		
}

* Due to a glitch in IE the following 2 classes must be declared separately for correct parsing of the textarea class in IE6*
.RadForm_OrganicStyleClassic table.rfdRoundedWrapper input,
.RadForm_OrganicStyleClassic table.rfdRoundedWrapper textarea,
.RadForm_OrganicStyleClassic input.rfdInput, 
.RadForm_OrganicStyleClassic textarea.rfdTextarea

{
	border: solid 1px #959485;
	background: #ffffff;	
	color: #272722;
	overflow: hidden;
}

.RadForm_OrganicStyleClassic  table.rfdRoundedWrapper input[disabled="disabled"]:hover,
.RadForm_OrganicStyleClassic  table.rfdRoundedWrapper textarea[disabled="disabled"]:hover
{
	border: solid 1px #8e8e8e;
	background: #ffffff;	
	color: #171717;
	overflow: hidden;
	filter: alpha(opacity=30);
	-moz-opacity: .3;
	opacity: .3;
}

* add classes for HOVER effect *
.RadForm_OrganicStyleClassic  table.rfdRoundedWrapper input:hover,
.RadForm_OrganicStyleClassic  table.rfdRoundedWrapper textarea:hover,
.RadForm_OrganicStyleClassic table.rfdRoundedWrapper:hover .rfdRoundedInner,
.RadForm_OrganicStyleClassic input.rfdInput:hover, 
.RadForm_OrganicStyleClassic textarea.rfdTextarea:hover
{
	border-color: #60b242 !important;
	background: #ffffff;
	color: #010101;
}

.RadForm_OrganicStyleClassic table.rfdRoundedWrapper:hover .rfdRoundedOuter
{	
	background-color: #60b242 !important;
}
*/


/* skinned combobox begin 

.rfdSelect_OrganicStyleClassic,
.rfdSelect_OrganicStyleClassic:hover,
.rfdSelect_OrganicStyleClassic .rfdSelect_outerSpan,
.rfdSelect_OrganicStyleClassic:hover .rfdSelect_outerSpan,
.rfdSelect_OrganicStyleClassic .rfdSelect_arrowSpan span,
.rfdSelect_OrganicStyleClassic.rfdSelect_disabled:hover
{
    background-image: url('FormDecorator/ComboSprites.gif');
    background-repeat: no-repeat;
    background-color: white;
}

.rfdSelect_OrganicStyleClassic.rfdSelect_disabled:hover
{
    background-position: 0 0;
}

.rfdSelect_OrganicStyleClassic
{
	padding-left: 3px;
}

.rfdSelect_OrganicStyleClassic:hover
{
	background-position: 0 -44px;
}

.rfdSelect_OrganicStyleClassic .rfdSelect_outerSpan,
.rfdSelect_OrganicStyleClassic.rfdSelect_disabled:hover .rfdSelect_outerSpan
{
    background-position: right -22px;
    padding: 2px 0;
}

.rfdSelect_OrganicStyleClassic:hover .rfdSelect_outerSpan
{
    background-position: right -66px;
}

.rfdSelect_OrganicStyleClassic .rfdSelect_textSpan
{
    color: #272722;
}

.rfdSelect_OrganicStyleClassic .rfdSelect_arrowSpan
{
	margin: 1px;
}

.rfdSelect_OrganicStyleClassic .rfdSelect_arrowSpan span
{
	background-position: 4px -90px;
}
*/

/* dropdown settings 
.rfdSelectbox_OrganicStyleClassic
{
    background: #fff;
    border: solid 1px #979797;
    color: #373737;
}

.rfdSelectbox_OrganicStyleClassic li
{
    border: solid 1px white;
    padding-left: 3px;
    margin: 1px;
}

.rfdSelectbox_OrganicStyleClassic .rfdSelect_selected,
.rfdSelectbox_OrganicStyleClassic li:hover
{
    background: #e9fed4;
    border: solid 1px #99cb58;
}

.rfdSelectbox_OrganicStyleClassic .rfdSelectbox_optgroup_label:hover
{
    background: none;
    border: solid 1px white;
}
*/
/* skinned combobox end */
