/* RadEditor for ASP.NET AJAX Sitefinity Skin */

/* Editor/ToolBarSprites.gif")%> */

.Sitefinity.RadEditor .reContentCell
{
    border: solid 1px #828282;
    background: transparent;
}

/* common settings for .reModule, .reEditorModes and .reWrapper */
.Sitefinity.reColorPicker,
.Sitefinity.reInsertTable,
.Sitefinity.reDropDownBody,
.Sitefinity.reCustomLinks a:hover
{
	border: solid 1px #828282;
}

.Sitefinity.reDropDownBody table
{
    background: transparent;
}

.Sitefinity.RadEditor .reBottomZone .reModule
{
    border-top: 0;
}

.Sitefinity.RadEditor .reModule
{
    border-top: solid 1px #828282;  
}

.Sitefinity.reCustomLinks a,
.Sitefinity.reCustomLinks a:link,
.Sitefinity.reCustomLinks a:visited
{
    border: solid 1px #fff; /* should be the same as the background of the dropdown */
    color: black !important;
}

.Sitefinity.reCustomLinks a:hover
{
    background-color: #828282;
    border-top: solid 1px #8d8d8d;
    border-right: solid 1px #717171;
    border-bottom: solid 1px #6c6c6c;
    border-left: solid 1px #7a7a7a;
}
/* end of module */

.reToolbar li
{
    color: #000;
}

.Sitefinity .reSpinBox a
{
    background-image: url('Editor/ToolBarSprites.gif');
    -moz-user-select: none;
    outline: none;
}

.reTool span
{
    background-image: url('../Common/CommandSpritesLight.png');
}

/* IE6 does not support PNG alpha channel, so we use gifs for the command sprites instead */
* html .reTool span,
* html .reTool_text span,
* html .reTlbVertical .reTool_text span,
* html .reToolbar .reSplitButton.reTool_text span
{
    _background-image: url('../Common/CommandSpritesLightIE6.gif');
}

.reDialog .reTool,
.reModule .reTool
{
    background-image: url('Editor/ToolBarSprites.gif');
    background-position: 0 -242px;
}

.reDialog .reTool:hover,
.reToolbar .reTool:hover,
.reModule .reTool:hover
{
    background-image: url('Editor/ToolBarSprites.gif');
    background-position: 0 -52px;
}

.reToolbar .reTool.reTool_selected,
.reToolbar .reTool.reTool_selected:hover
{
    background-image: url('Editor/ToolBarSprites.gif');
    background-position: 0 -124px;
    background-repeat: no-repeat;
}

/* .reTool_text */
.reToolbar .reTool_text span
{
    background-image: url('../Common/CommandSpritesLight.png');
}

.reToolbar .reTool_text:hover
{
    background-image: url('Editor/ToolBarSprites.gif');
    background-repeat: repeat-x;
    background-position: 0 -100px;
    margin-left: 0;
    margin-right: 0;
    border-left: solid 1px #878787;
    border-right: solid 1px #878787;
}

.reToolbar .reTool_text.reTool_selected,
.reToolbar .reTool_text.reTool_selected:hover
{
    background-image: url('Editor/ToolBarSprites.gif');
    background-repeat: repeat-x;
    background-position: 0 -174px;
    margin-left: 0;
    margin-right: 0;
    border-left: solid 1px #878787;
    border-right: solid 1px #878787;
}

/* these settings will not be included in the common CSS file of RadEditor */
.reToolbar .reTool_text.reTool_disabled,
.reToolbar .reTool_text.reTool_disabled:hover
{
    margin-left: 0;
    margin-right: 0;
    border: 0;
}
/* end of reTool_text */

.reTool.reSplitButton:hover
{
    background: url('Editor/ToolBarSprites.gif') no-repeat 0 -76px;
}

/* add weight to the selector for IE6 so it is applied */
* html .reToolbar .reTool.reSplitButton:hover
{
    background: url('Editor/ToolBarSprites.gif') no-repeat 0 -76px;
}

.Sitefinity .reTool .split_arrow
{
    background-image: url('Editor/ToolBarSprites.gif');
    background-position: -28px -362px;
}

.Sitefinity .reSplitButton.reTool_text .split_arrow
{
    background-image: url('Editor/ToolBarSprites.gif');
    background-position: -28px -362px;
}

/* add weight to the selector for IE6 so it is applied */
* html .Sitefinity .reToolbar .reTool_text .split_arrow
{
    background-image: url('Editor/ToolBarSprites.gif');
    background-position: -28px -362px;
}

/* add weight to the selector for IE6 so it is applied */
* html .reToolbar .reTool_text:hover
{
    background: url('Editor/ToolBarSprites.gif');
    background-position: 0 -100px;
}

.reDialog .reTool.reSplitButton,
.reModule .reTool.reSplitButton
{
    background-image: url('Editor/ToolBarSprites.gif');
    background-position: 0 -218px;
}

.reDialog .reTool.reSplitButton:hover,
.reModule .reTool.reSplitButton:hover
{
    background-position: 0 -76px;
}

/* add weight to the selector for IE6 so it is applied */
* html .reToolbar .reTool.reSplitButton.reTool_disabled:hover
{
    background: none;
}
/* end of reSplitButton */

/* reDropdown */
.reDropdown:link,
.reDropdown:visited
{
    color: black !important;
}

.reDropdown,
.reTool_disabled.reDropdown:hover
{
    border-top: solid 1px #abadb3;
    border-right: solid 1px #dbdfe6;
    border-bottom: solid 1px #e3e9ef;
    border-left: solid 1px #e2e3ea;
    background-color: #fff;
    background-image: url('Editor/ToolBarSprites.gif') !important;
    background-position: right -360px !important;
}

.reDropdown:hover
{
    border-top: solid 1px #dfdfdf;
    border-right: solid 1px #949494;
    border-bottom: solid 1px #949494;
    border-left: solid 1px #dfdfdf;
}

/* add weight to the selector for IE6 so it is applied */
* html .reTool_disabled.reDropdown
{
    background-image: url('Editor/ToolBarSprites.gif')t;
    background-position: right -380px;
    background-repeat: no-repeat;
}
/* end of reDropdown */

/* vertical toolbar */
.RadEditor.Sitefinity .reTlbVertical li
{
    background-image: url('Editor/ToolbarVerticalSprites.gif');
    background-repeat: repeat-y;
    background-position: -26px 0;
}

.RadEditor.Sitefinity .reTlbVertical .reToolbar.Sitefinity .reGrip
{
    background-image: url('Editor/ToolbarVerticalSprites.gif');
}

.RadEditor.Sitefinity .reTlbVertical .reToolbar.Sitefinity .grip_first
{
    background-position: 0 0;
}

.RadEditor.Sitefinity .reTlbVertical .reToolbar.Sitefinity .grip_last
{
    background-position: 0 -4px;
}

.RadEditor.Sitefinity .reTlbVertical .reToolbar.Sitefinity .reSeparator
{
    background-image: url('Editor/ToolbarVerticalSprites.gif');
    background-position: -100px -12px;
}

.reTlbVertical .reTool:hover,
.reTlbVertical .reTool_text.reSplitButton:hover,
.reTlbVertical .reTool_text:hover
{
    background-image: url('Editor/ToolbarVerticalSprites.gif');
    background-position: -76px 0;
}

/* add weight to the selector for IE6 so it is applied */
* html .reTlbVertical .reTool_text:hover
{
	background-image: url('Editor/ToolbarVerticalSprites.gif');
    background-repeat: no-repeat;
    background-position: -76px 0;
}

.reTlbVertical .reTool.reTool_selected,
.reTlbVertical .reTool_text.reTool_selected,
.reTlbVertical .reTool_text.reTool_selected:hover
{
    background-image: url('Editor/ToolbarVerticalSprites.gif');
    background-position: -52px 0;
}

/* add weight to the selector for IE6 so it is applied */
* html .reTlbVertical .reSplitButton:hover
{
    background-image: url('Editor/ToolbarVerticalSprites.gif');
    background-position: -76px 0;
    background-repeat: no-repeat;
}
/* end of vertical toolbar */

.reDropDownBody .reTlbVertical ul li a:hover
{
    background-image: url('Editor/ToolbarVerticalSprites.gif');
    background-position: -602px 0;
}

/* InsertTable itself is a kind of tool strip, so it must be styled as a toolstrip */
.Sitefinity.reInsertTable
{
    background-color: #ffffff;
}

.reDropDownBody .reTlbVertical .reToolbar
{
    background-image: url('Editor/ToolbarVerticalSprites.gif');
    background-color: #ffffff;
    background-position: -126px 0;
}
/* end of context menu and toolstrip */

/* spinbox */
.Sitefinity table.reSpinBox
{
	border-top: solid 1px #abadb3;
    border-right: solid 1px #dbdfe6;
    border-bottom: solid 1px #e3e9ef;
    border-left: solid 1px #e2e3ea;
	background: white;
}

.Sitefinity table.reSpinBox:hover
{
     border-top: solid 1px #dfdfdf;
    border-right: solid 1px #949494;
    border-bottom: solid 1px #949494;
    border-left: solid 1px #dfdfdf;
}

.Sitefinity .reSpinBoxIncrease
{
	background-position: 0 -198px;
}

.Sitefinity .reSpinBoxIncrease:hover
{
	background-position: 0 -208px;
}

.Sitefinity .reSpinBoxDecrease
{
	background-position: -11px -198px;
}

.Sitefinity .reSpinBoxDecrease:hover
{
	background-position: -11px -208px;
}
/* end of spinbox */

/* editor input elements */
.Sitefinity.RadEditor input
{
	border-top: solid 1px #abadb3;
    border-right: solid 1px #dbdfe6;
    border-bottom: solid 1px #e3e9ef;
    border-left: solid 1px #e2e3ea;
	background-color: white;
}

/* editing modes */
.Sitefinity .reMode_selected
{
    background-image: url('Editor/ToolbarVerticalSprites.gif');
    background-position: -948px 0;
}
/* end of editing modes */

/* DOM inspector */
.Sitefinity .reModule_domlink_selected,
.Sitefinity .reModule_domlink
{
    color: black;
}
/* end of DOM inspector */

.Sitefinity.reDropDownBody .reItemOver
{
	background: #dfdfdf;
	color: #000;
}
/* end of expanded dropdowns */

* html .reTool_selected.reTool
{
    border-left-width: 0 !important;
    border-right-width: 0 !important;
}

/* color picker */
.Sitefinity.reColorPicker table div
{
	border: solid 1px #c5c5c5;
}

.Sitefinity.reColorPicker table td.reItemOver div
{
	border-color: #000;
}

.Sitefinity.reColorPicker span
{
	border: solid 1px #c5c5c5;
}
/* end of color picker */

/* ajax spellchecker */
.reAjaxspell_button
{
    border: solid 1px #828282;
    background: #ececec;
    color: #828282;
}

.Sitefinity .reAjaxSpellCheckSuggestions table
{
    border-width: 0;
    width: 100%;
}

.Sitefinity .reAjaxSpellCheckSeparator
{
    background-color: #979797;
}
/* ajax spellchecker */

/* custom links */
.Sitefinity.reCustomLinks,
.Sitefinity.reCustomLinks ul
{
	color: #000;
}

.Sitefinity.reCustomLinks a
{
    background: none transparent;
    color: black;
	cursor: default !important;
}

.Sitefinity.reCustomLinks a:hover
{
    color: white;
}
/* end of custom links */

/* insert table dropdown */
.reInsertTable table
{
    background: #ffffff;
}

.reInsertTable table td
{
    border: solid 1px #828282;
    background: white;
}

.reInsertTable .reTlbVertical ul
{
    background-color: #ffffff;
}

.Sitefinity.reDropDownBody.reInsertTable div.reTlbVertical a.reTool_text,
.Sitefinity.reDropDownBody.reInsertTable div.reTlbVertical a.reTool_text:link,
.Sitefinity.reDropDownBody.reInsertTable div.reTlbVertical a.reTool_text:visited
{
    color: black !important;
    background: transparent none;
    _background: none !important;
}

.Sitefinity.reDropDownBody.reInsertTable div.reTlbVertical a.reTool_text:hover
{
    background: url('Editor/ToolbarVerticalSprites.gif');
    background-position: -1403px 0;
}

.reInsertTable .reTlbVertical ul .reTool_text span
{
    background-image: url('../Common/CommandSpritesLight.png');
    background-position: -3575 center;
}

.reInsertTable .reToolbar li .reTool:hover
{
    background-image: url('Editor/ToolBarSprites.gif');
    background-position: 0 -52px;
}
/* end of insert table dropdown */

/* the Sitefinity skin does not have icons for the edit modes */


.RadEditor.Sitefinity .reEditorModes a span
{
    background-image: none;
    padding-left: 18px;
}

/* modules selector */
.reModule_visible_icon,
.reModule_hidden_icon
{
	display: block;
	float: left;
	height: 18px;
	width: 18px;
	background-image: url('../Common/CommonIcons.gif');
	background-repeat: no-repeat;
}

.reModule_visible_icon
{
	background-position: -8px -199px;
}

.reModule_hidden_icon
{
	background-position: -8px -103px;
	
}
/* end of modules selector */

/* resize cell */
.reResizeCell div
{
    background-image: url('Editor/ToolBarSprites.gif');
    background-position: center -301px;
}

/* reTool_disabled */
.reDialog .reTool_disabled,
.reDialog .reTool_disabled:hover,
.reToolbar .reTool_disabled,
.reToolbar .reTool_disabled:hover,
.reModule .reTool_disabled,
.reModule .reTool_disabled:hover
{
    filter: alpha(opacity=40);
    opacity: .4;
    -moz-opacity: .4;
    background-image: none;
}
/* reTool_disabled */

/* the rule below styles RadWindow's content cell, which is used in the floating and show on focus toolbar modes */
.RadWindow.RadWindow_Sitefinity.reToolbarWindow td.rwWindowContent
{
    background-color: #ececec;
}  

.reToolbar.Sitefinity a,
.reToolbar.Sitefinity a span,
.reDropdown,
.reDropdown span,
.reSpinBox a,
.reSpinBox span
{
    cursor: pointer;
}

.RadEditor.Sitefinity .reModule
{
    border: 0;
}

.RadEditor.Sitefinity .reEditorModes a
{
    width: 50px;
}

.RadEditor.Sitefinity .reEditorModes a span,
.RadEditor.Sitefinity .reEditorModes a
{
    padding: 0;
    margin: 0;
    text-align: center;
}

.RadEditor.Sitefinity .reMode_selected
{
    color: #fff;
}

.RadEditor.Sitefinity,
.RadEditor.Sitefinity *
{
    font-family: Arial, Sans-Serif;
}