/* RadEditor for ASP.NET AJAX Office 2007 Skin */

.Office2007.RadEditor
{
    background-color: #d6e6f4;
}

/* reWrapper */
.Office2007.reWrapper
{
    border: solid 1px #688caf;
}

.Office2007 .reContentCell
{
    border: solid 1px #4969a8;
}

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

.Office2007.reDropDownBody table
{
    background: transparent;
}

.Office2007 .reModule,
.Office2007 .reEditorModes,
.Office2007 .reWrapper
{
	background-color: #d6e6f4;
}

/*NEW: Only in the Bottom zone - where the Statistics module is commonly set, remove uppper border, because it looks ugly*/
.Office2007 .reBottomZone .reModule
{
    border-top: 0;
}


.Office2007 .reModule
{
    border-top: solid 1px #567db0;  
    color: #00156e;
}

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

.Office2007.reCustomLinks a:hover
{
    background-image: url('Editor/ToolbarSprites.gif') !important;
    background-position: 0 -325px !important;
    background-repeat: repeat-x !important;
    border: solid 1px #d8ca95;
}
/* end of module */

.reToolbar li
{
    background-image: url('Editor/ToolbarSprites.gif');
    background-position: 0 -26px;
    color: #000;
}

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

/* separator */
.reToolbar.Office2007 .reSeparator
{
    background-position: center -148px;
    background-image: url('Editor/ToolbarSprites.gif');
}

/* common settings for left and right grip */
.reToolbar.Office2007 .reGrip
{
	background-image: url('Editor/ToolbarSprites.gif');
}

/* reTool */
.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 #d8ca96;
    border-right: solid 1px #d8ca96;
}

.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 #d8ca96;
    border-right: solid 1px #d8ca96;
}

/* 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;
}

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

.Office2007 .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 .Office2007 .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: solid 1px #abc1de;
    background-color: #fff;
    background-image: url('Editor/ToolbarSprites.gif') !important;
    background-position: right -360px !important;
}

.reDropdown:hover
{
    border: solid 1px #d8ca95;
    background-image: url('Editor/ToolbarVerticalSprites.gif') !important;
    background-position: right 0 !important;
}

/* 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.Office2007 .reTlbVertical li
{
    background-image: url('Editor/ToolbarVerticalSprites.gif');
    background-repeat: repeat-y;
    background-position: -26px 0;
}

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

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

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

.RadEditor.Office2007 .reTlbVertical .reToolbar.Office2007 .reSeparator
{
    background-image: url('Editor/ToolbarVerticalSprites.gif');
    background-position: -99px -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 */
.Office2007.reInsertTable
{
    background-color: #fff;
}

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

/* spinbox */
.Office2007 table.reSpinBox
{
	border: solid 1px #abc1de;
	background: white;
}

.Office2007 table.reSpinBox:hover
{
    border-color: #305090;
}

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

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

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

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

/* editor input elements */
.Office2007.RadEditor input
{
	border: solid 1px #abc1de;
	background-color: white;
}

.Office2007.RadEditor input:hover
{
    border: solid 1px #305090;
}
/* editor input elements */

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

.Office2007 .reEditorModes a
{
    color: #00156e;
}

.Office2007 .reEditorModes .reMode_design span,
.Office2007 .reEditorModes .reMode_selected.reMode_design span
{
	background-position: -6px -5px;
}

.Office2007 .reEditorModes .reMode_html span,
.Office2007 .reEditorModes .reMode_selected.reMode_html span
{
	background-position: -6px -36px;
}

.Office2007 .reEditorModes .reMode_preview span,
.Office2007 .reEditorModes .reMode_selected.reMode_preview span
{
	background-position: -6px -69px;
}
/* end of editing modes */

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

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

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

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

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

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

/* ajax spellchecker */
.reAjaxspell_button
{
    border: solid 1px #688caf;
    background: #d6e6f4;
    color: #688caf;
}

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

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

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

.Office2007.reCustomLinks a,
.Office2007.reCustomLinks a:link,
.Office2007.reCustomLinks a:visited
{
    background: none transparent;
    color: #000 !important;
	cursor: default !important;
}
/* end of custom links */

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

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

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

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

.Office2007.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 */

/* 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_Office2007.reToolbarWindow td.rwWindowContent
{
    background-color: #d6e6f4;
}