<ResourceDictionary 
	
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:mscorlib="clr-namespace:System;assembly=mscorlib"
	xmlns:sys="clr-namespace:System;assembly=mscorlib"
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
    xmlns:telerikAnimation="clr-namespace:Telerik.Windows.Controls.Animation;assembly=Telerik.Windows.Controls"
    xmlns:telerikEffects="clr-namespace:Telerik.Windows.Controls.TransitionEffects;assembly=Telerik.Windows.Controls"
    xmlns:telerikPrimitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls"
    xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
    xmlns:telerikNavigationPrimitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls.Navigation"
    xmlns:telerikTransitonControl="clr-namespace:Telerik.Windows.Controls.TransitionControl;assembly=Telerik.Windows.Controls"
    xmlns:telerikChromes="clr-namespace:Telerik.Windows.Controls.Chromes;assembly=Telerik.Windows.Controls"
    xmlns:telerikTabControl="clr-namespace:Telerik.Windows.Controls.TabControl;assembly=Telerik.Windows.Controls.Navigation"

	xmlns:telerikDocking="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking"    
    xmlns:telerikDockingAnimations="clr-namespace:Telerik.Windows.Controls.Animations;assembly=Telerik.Windows.Controls.Docking"
	xmlns:dock="clr-namespace:Telerik.Windows.Controls.Docking;assembly=Telerik.Windows.Controls.Docking"
    xmlns:system="clr-namespace:System.Windows.Controls;assembly=PresentationFramework"


>
	
	<SolidColorBrush x:Key="Docking_Background" Color="#FFBFBFBF" />
<SolidColorBrush x:Key="Docking_BorderBrush" Color="#FF848484" />
<telerik:Office_BlackTheme x:Key="Theme" />
<SolidColorBrush x:Key="ButtonIconBackground_Normal" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="ButtonIconForeground_Normal" Color="#FF000000" />
<SolidColorBrush x:Key="Compass_VisualCue_Background" Color="#66FFF62D" />
<SolidColorBrush x:Key="Compass_VisualCue_BorderBrush" Color="#B2FFCD27" />
<Thickness x:Key="Compass_VisualCue_BorderThickness">2</Thickness>
<SolidColorBrush x:Key="GridResizer_Background_Preview" Color="#B2FFCD27" />
<SolidColorBrush x:Key="GridResizer_FocusFrame" Color="#B2FFCD27" />
<LinearGradientBrush x:Key="PaneTabBackground_Normal" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFF6F6F6" Offset="0"/>
		<GradientStop Color="#FFD2D2D2" Offset="1"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="PaneTabOuterBorder_Normal" Color="#FF848484" />
<SolidColorBrush x:Key="PaneTabInnerBorder_Normal" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="PaneTabOuterBorder_Disabled" Color="#FF989898" />
<SolidColorBrush x:Key="PaneTabInnerBorder_Disabled" Color="#FFE0E0E0" />
<SolidColorBrush x:Key="PaneTabBackground_Disabled" Color="#FFE0E0E0" />
<SolidColorBrush x:Key="PaneTabOuterBorder_Highlighted" Color="#FF848484" />
<SolidColorBrush x:Key="PaneTabInnerBorder_Highlighted" Color="#FFFFFFFF" />
<LinearGradientBrush x:Key="PaneTabBackground_Highlighted" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFFFBA3" Offset="1"/>
		<GradientStop Color="#FFFFFBDA"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="PaneTabOuterBorder_Selected" Color="#FF848484" />
<SolidColorBrush x:Key="PaneTabInnerBorder_Selected" Color="#FFFFFFFF" />
<LinearGradientBrush x:Key="PaneTabBackground_Selected" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="White"/>
		<GradientStop Color="#FFFAFAFA" Offset="1"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="PaneTabOuterBorder_SelectedHighlighted" Color="#FFFFC92B" />
<SolidColorBrush x:Key="PaneTabInnerBorder_SelectedHighlighted" Color="#FFFFFFFF" />
<LinearGradientBrush x:Key="PaneTabBackground_SelectedHighlighted" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="White"/>
		<GradientStop Color="#FFFAFAFA" Offset="1"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="PaneTabOuterBorderVertical_Disabled" Color="#FF989898" />
<SolidColorBrush x:Key="PaneTabInnerBorderVertical_Disabled" Color="#FFE0E0E0" />
<SolidColorBrush x:Key="PaneTabBackgroundVertical_Disabled" Color="#FFE0E0E0" />
<SolidColorBrush x:Key="PaneTabOuterBorderVertical_Normal" Color="#FF848484" />
<SolidColorBrush x:Key="PaneTabInnerBorderVertical_Normal" Color="#FFFFFFFF" />
<LinearGradientBrush x:Key="PaneTabBackgroundVertical_Normal" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FFF6F6F6" Offset="0"/>
		<GradientStop Color="#FFD2D2D2" Offset="1"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="PaneTabOuterBorderVertical_Highlighted" Color="#FF848484" />
<SolidColorBrush x:Key="PaneTabInnerBorderVertical_Highlighted" Color="#FFFFFFFF" />
<LinearGradientBrush x:Key="PaneTabBackgroundVertical_Highlighted" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FFFFFBA3" Offset="1"/>
		<GradientStop Color="#FFFFFBDA"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="PaneTabOuterBorderVertical_Selected" Color="#FF848484" />
<SolidColorBrush x:Key="PaneTabInnerBorderVertical_Selected" Color="#FFFFFFFF" />
<LinearGradientBrush x:Key="PaneTabBackgroundVertical_Selected" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="White"/>
		<GradientStop Color="#FFFAFAFA" Offset="1"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="PaneTabOuterBorderVertical_SelectedHighlighted" Color="#FFFFC92B" />
<SolidColorBrush x:Key="PaneTabInnerBorderVertical_SelectedHighlighted" Color="#FFFFFFFF" />
<LinearGradientBrush x:Key="PaneTabBackgroundVertical_SelectedHighlighted" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="White"/>
		<GradientStop Color="#FFFAFAFA" Offset="1"/>
	</LinearGradientBrush>
<LinearGradientBrush x:Key="PaneTabPinnedBackground_Normal" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFF6F6F6" Offset="0"/>
		<GradientStop Color="#FFD2D2D2" Offset="1"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="PaneTabPinnedOuterBorder_Normal" Color="#FF848484" />
<SolidColorBrush x:Key="PaneTabPinnedInnerBorder_Normal" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="PaneTabPinnedOuterBorder_Disabled" Color="#FF989898" />
<SolidColorBrush x:Key="PaneTabPinnedInnerBorder_Disabled" Color="#FFE0E0E0" />
<SolidColorBrush x:Key="PaneTabPinnedBackground_Disabled" Color="#FFE0E0E0" />
<SolidColorBrush x:Key="PaneTabPinnedOuterBorder_Highlighted" Color="#FF848484" />
<SolidColorBrush x:Key="PaneTabPinnedInnerBorder_Highlighted" Color="#FFFFFFFF" />
<LinearGradientBrush x:Key="PaneTabPinnedBackground_Highlighted" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFFFBA3" Offset="1"/>
		<GradientStop Color="#FFFFFBDA"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="PaneTabPinnedOuterBorder_Selected" Color="#FF848484" />
<SolidColorBrush x:Key="PaneTabPinnedInnerBorder_Selected" Color="#FFFFFFFF" />
<LinearGradientBrush x:Key="PaneTabPinnedBackground_Selected" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="White"/>
		<GradientStop Color="#FFFAFAFA" Offset="1"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="PaneTabPinnedOuterBorder_SelectedHighlighted" Color="#FFFFC92B" />
<SolidColorBrush x:Key="PaneTabPinnedInnerBorder_SelectedHighlighted" Color="#FFFFFFFF" />
<LinearGradientBrush x:Key="PaneTabPinnedBackground_SelectedHighlighted" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="White"/>
		<GradientStop Color="#FFFAFAFA" Offset="1"/>
	</LinearGradientBrush>
<CornerRadius x:Key="PaneTabBottomUnpinnedCornerRadius">2</CornerRadius>
<CornerRadius x:Key="PaneTabBottomPinnedCornerRadius">0 0 2 2</CornerRadius>
<CornerRadius x:Key="PaneTabUnpinnedCornerRadius">2</CornerRadius>
<CornerRadius x:Key="PaneTabPinnedCornerRadius">0 0 2 2</CornerRadius>
<CornerRadius x:Key="PaneDocumentHostCornerRadius">2 2 0 0</CornerRadius>
<SolidColorBrush x:Key="PaneTabForeground" Color="Black" />
<CornerRadius x:Key="PaneGroup_PaneFrame_CornerRadius">2 2 2 0</CornerRadius>
<CornerRadius x:Key="PaneGroup_DocumentFrameL4_CornerRadius">0 2 2 2</CornerRadius>
<Thickness x:Key="PaneGroup_DocumentFrameL3_Thickness">2</Thickness>
<SolidColorBrush x:Key="PaneGroup_DocumentFrameL3_Brush" Color="#FFFFFFFF" />
<CornerRadius x:Key="PaneGroup_DocumentFrameL3_CornerRadius">0 1 1 1</CornerRadius>
<Thickness x:Key="PaneGroup_DocumentFrameL2_Thickness">2</Thickness>
<SolidColorBrush x:Key="PaneGroup_DocumentFrameL2_Brush" Color="#FFF0F0F0" />
<CornerRadius x:Key="PaneGroup_DocumentFrameL2_CornerRadius">0</CornerRadius>
<Thickness x:Key="PaneGroup_DocumentFrameL1_Thickness">1</Thickness>
<SolidColorBrush x:Key="PaneGroup_DocumentFrameL1_Brush" Color="#FF848484" />
<CornerRadius x:Key="PaneGroup_DocumentFrameL1_CornerRadius">0</CornerRadius>
<Thickness x:Key="HeaderButtonMargin">0 2 2 1</Thickness>
<SolidColorBrush x:Key="ButtonIconForeground_MouseOver" Color="#FF000000" />
<SolidColorBrush x:Key="ButtonIconBackground_MouseOver" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="ButtonIconForeground_Pressed" Color="#FF000000" />
<SolidColorBrush x:Key="ButtonIconBackground_Pressed" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="ButtonIconForeground_Disabled" Color="#FF8D8D8D" />
<SolidColorBrush x:Key="ButtonIconBackground_Disabled" Color="#FFFFFFFF" />
<CornerRadius x:Key="PaneHeader_CornerRadius">1 1 0 0</CornerRadius>
<Thickness x:Key="PaneHeader_BorderThickness">0 0 0 1</Thickness>
<SolidColorBrush x:Key="PaneHeader_BorderBrush" Color="#FFA0A0A0" />
<SolidColorBrush x:Key="PaneHeader_Background" Color="#FFF2F2F2" />
<LinearGradientBrush x:Key="PaneHeader_Background_Focused" EndPoint="0 1">
		<GradientStop Color="#FFABABAB" Offset="0"/>
		<GradientStop Color="#FFF2F2F2" Offset="1"/>
	</LinearGradientBrush>
<Thickness x:Key="PaneGroup_BorderThickness">1</Thickness>
<SolidColorBrush x:Key="PaneGroup_BorderBrush" Color="#FF848484" />
<SolidColorBrush x:Key="PaneGroup_Background" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="ToolWindow_Background" Color="#FFF2F2F2" />
<SolidColorBrush x:Key="ToolWindow_OuterBorderBrush" Color="#FF848484" />
<SolidColorBrush x:Key="ToolWindow_InnerBorderBrush" Color="#FFFFFFFF" />

	
	<!-- Docking -->
	
<!--x:Key="{telerik:ThemeResourceKey ThemeType=
		telerik:Office_BlackTheme , ElementType={x:Type telerikDocking:RadDocking}}"-->
		 
	<Style TargetType="telerikDocking:RadDocking" >

		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
		
		<Setter Property="Background" Value="{StaticResource Docking_Background}" />
		<Setter Property="BorderBrush" Value="{StaticResource Docking_BorderBrush}" />
		<Setter Property="BorderThickness" Value="1" />
		<Setter Property="Padding" Value="4" />

		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerikDocking:RadDocking">
					<Grid x:Name="Root">
						<Border x:Name="Border" Background="{TemplateBinding Background}"
                                BorderBrush="{TemplateBinding BorderBrush}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Padding="{TemplateBinding Padding}">

							
							
							<DockPanel x:Name="RootDockPanel">

								<dock:AutoHideArea x:Name="LeftAutoHide"
										IsTabStop="False"
                                        telerik:StyleManager.Theme="{StaticResource Theme}"
                                        DockPanel.Dock="Left" BackgroundVisibility="Collapsed"
                                        TabStripPlacement="Left" TabOrientation="Vertical"
                                        telerikAnimation:AnimationManager.AnimationSelector="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(telerikAnimation:AnimationManager.AnimationSelector)}" />
								<dock:AutoHideArea x:Name="RightAutoHide"
										IsTabStop="False"
                                        telerik:StyleManager.Theme="{StaticResource Theme}"
                                        DockPanel.Dock="Right" BackgroundVisibility="Collapsed"
                                        TabStripPlacement="Right" TabOrientation="Vertical"
                                        telerikAnimation:AnimationManager.AnimationSelector="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(telerikAnimation:AnimationManager.AnimationSelector)}" />
								<dock:AutoHideArea x:Name="TopAutoHide"
										IsTabStop="False"
                                        telerik:StyleManager.Theme="{StaticResource Theme}"
                                        DockPanel.Dock="Top" BackgroundVisibility="Collapsed"
                                        TabStripPlacement="Top"
                                        telerikAnimation:AnimationManager.AnimationSelector="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(telerikAnimation:AnimationManager.AnimationSelector)}" />
								<dock:AutoHideArea x:Name="BottomAutoHide"
										IsTabStop="False"
                                        telerik:StyleManager.Theme="{StaticResource Theme}"
                                        DockPanel.Dock="Bottom" BackgroundVisibility="Collapsed"
                                        TabStripPlacement="Bottom"
                                        telerikAnimation:AnimationManager.AnimationSelector="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(telerikAnimation:AnimationManager.AnimationSelector)}" />
								<telerikDocking:DockingPanel x:Name="ContentDockPanel"
										Focusable="False"
                                        Background="{TemplateBinding Background}">

									<dock:DocumentHost x:Name="DocumentHost" />

								</telerikDocking:DockingPanel>
							</DockPanel>
							
						</Border>
						<Canvas x:Name="PopupPanel">
							<dock:VisualCue x:Name="PART_DragCue"
									IsTabStop="False"
                                    telerik:StyleManager.Theme="{StaticResource Theme}"
                                    Style="{TemplateBinding VisualCueStyle}" Canvas.ZIndex="999997"
									telerikAnimation:AnimationManager.AnimationSelector="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(telerikAnimation:AnimationManager.AnimationSelector)}" />
							<dock:Compass x:Name="PART_Compass"
									IsTabStop="False"
                                    telerik:StyleManager.Theme="{StaticResource Theme}"
                                    Style="{TemplateBinding CompassStyle}" Visibility="Collapsed"
                                    Canvas.ZIndex="999998"
									telerikAnimation:AnimationManager.AnimationSelector="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(telerikAnimation:AnimationManager.AnimationSelector)}" />
							<dock:RootCompass x:Name="PART_RootCompass"
									IsTabStop="False"
                                    telerik:StyleManager.Theme="{StaticResource Theme}"
                                    Style="{TemplateBinding RootCompassStyle}"
                                    Visibility="Collapsed" Canvas.ZIndex="999999"
									telerikAnimation:AnimationManager.AnimationSelector="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(telerikAnimation:AnimationManager.AnimationSelector)}" />
						</Canvas>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>

		<Setter Property="telerikAnimation:AnimationManager.AnimationSelector">
			<Setter.Value>
				<telerikAnimation:AnimationSelector>
					<!-- ToolWindow, Compass, RootCompass and DragCue animations -->
					<telerikAnimation:AnimationGroup AnimationName="Move">
						<telerikAnimation:MoveAnimation />
						<telerikAnimation:ResizeAnimation />
						<telerikAnimation:FadeAnimation Direction="In" />
						<telerikAnimation:ScaleAnimation Direction="In" 
														 MinScale="0.7" 
														 MaxScale="1.0" 
														 TargetElementName="VisualRoot" />
					</telerikAnimation:AnimationGroup>

					<telerikAnimation:AnimationGroup AnimationName="Show">
						<telerikAnimation:FadeAnimation Direction="In" />
						<telerikAnimation:ScaleAnimation Direction="In" 
														 MinScale="0.95" 
														 MaxScale="1.0" 
														 TargetElementName="VisualRoot" />
					</telerikAnimation:AnimationGroup>
					<telerikAnimation:AnimationGroup AnimationName="Hide" 
													 SpeedRatio="0.7">
						<telerikAnimation:FadeAnimation Direction="Out" />
						<telerikAnimation:ScaleAnimation Direction="Out" 
														 MinScale="0.7" 
														 MaxScale="1.0" 
														 TargetElementName="VisualRoot" />
					</telerikAnimation:AnimationGroup>

					<!-- AutoHideArea animations -->

					<!-- Left AutoHideArea animations -->
					<telerikAnimation:AnimationGroup AnimationName="LeftIn">
						<telerikDockingAnimations:AutoHideAreaAnimation SlideMode="Top"
																		TargetElementName="PopupChild" 
																		Orientation="Horizontal"
																		Direction="In" />
						<telerikAnimation:FadeAnimation TargetElementName="PopupChild"
                                Direction="In" />
					</telerikAnimation:AnimationGroup>

					<telerikAnimation:AnimationGroup AnimationName="LeftOut">
						<telerikDockingAnimations:AutoHideAreaAnimation TargetElementName="PopupChild" 
																		SlideMode="Top" 
																		Orientation="Horizontal" 
																		Direction="Out" />
						<telerikAnimation:FadeAnimation TargetElementName="PopupChild"
														Direction="Out" />
					</telerikAnimation:AnimationGroup>

					<!-- Top AutoHideArea animations -->

					<telerikAnimation:AnimationGroup AnimationName="TopIn">
						<telerikDockingAnimations:AutoHideAreaAnimation Orientation="Vertical"
																		TargetElementName="PopupChild" 
																		Direction="In" />
						<telerikAnimation:FadeAnimation TargetElementName="PopupChild"
														Direction="In" />
					</telerikAnimation:AnimationGroup>

					<telerikAnimation:AnimationGroup AnimationName="TopOut">
						<telerikDockingAnimations:AutoHideAreaAnimation TargetElementName="PopupChild" 
																		Orientation="Vertical"
																		Direction="Out" />
						<telerikAnimation:FadeAnimation TargetElementName="PopupChild"
														Direction="Out" />
					</telerikAnimation:AnimationGroup>

					<!-- Right AutoHideArea animations -->

					<telerikAnimation:AnimationGroup AnimationName="RightIn">
						<telerikDockingAnimations:AutoHideAreaAnimation SlideMode="Bottom"
																		TargetElementName="PopupChild" 
																		Orientation="Horizontal"
																		Direction="In" />
						<telerikAnimation:FadeAnimation TargetElementName="PopupChild"
														Direction="In" />
					</telerikAnimation:AnimationGroup>

					<telerikAnimation:AnimationGroup AnimationName="RightOut">
						<telerikDockingAnimations:AutoHideAreaAnimation TargetElementName="PopupChild" SlideMode="Bottom"
																		Orientation="Horizontal" 
																		Direction="Out" />
						<telerikAnimation:FadeAnimation TargetElementName="PopupChild"
														Direction="Out" />
					</telerikAnimation:AnimationGroup>

					<!-- Bottom AutoHideArea animations -->

					<telerikAnimation:AnimationGroup AnimationName="BottomIn">
						<telerikDockingAnimations:AutoHideAreaAnimation SlideMode="Bottom"
                                Orientation="Vertical" TargetElementName="PopupChild" Direction="In" />
						<telerikAnimation:FadeAnimation TargetElementName="PopupChild"
                                Direction="In" />
					</telerikAnimation:AnimationGroup>
					<telerikAnimation:AnimationGroup AnimationName="BottomOut">
						<telerikDockingAnimations:AutoHideAreaAnimation
                                TargetElementName="PopupChild" Direction="Out"
                                Orientation="Vertical" SlideMode="Bottom" />
						<telerikAnimation:FadeAnimation TargetElementName="PopupChild"
                                Direction="Out" />
					</telerikAnimation:AnimationGroup>
				</telerikAnimation:AnimationSelector>
			</Setter.Value>
		</Setter>
	</Style>
	
	
	<!-- Compass -->
	

	<Style x:Key="CenterIndicatorStyle" TargetType="telerikChromes:ButtonChrome">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerikChromes:ButtonChrome">
					<telerikChromes:ButtonChrome telerik:StyleManager.Theme="{StaticResource Theme}" RenderMouseOver="{TemplateBinding RenderHighlighted}" />
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="LeftIndicatorStyle" TargetType="telerikChromes:ButtonChrome">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerikChromes:ButtonChrome">
					<Grid>
						<telerikChromes:ButtonChrome telerik:StyleManager.Theme="{StaticResource Theme}" RenderMouseOver="{TemplateBinding RenderHighlighted}" />
						<Path Fill="{StaticResource ButtonIconBackground_Normal}" Margin="0 1 0 1" Width="4" Height="7" Data="M4,0 L4,7 3,7 3,6 2,6 2,5 1,5 1,4 0,4 0,3 1,3 1,2 2,2 2,1 3,1 3,0 z" />
						<Path Fill="{StaticResource ButtonIconForeground_Normal}" Margin="0 0 0 2" Width="4" Height="7" Data="M4,0 L4,7 3,7 3,6 2,6 2,5 1,5 1,4 0,4 0,3 1,3 1,2 2,2 2,1 3,1 3,0 z" />
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="RightIndicatorStyle" TargetType="telerikChromes:ButtonChrome">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerikChromes:ButtonChrome">
					<Grid>
						<telerikChromes:ButtonChrome telerik:StyleManager.Theme="{StaticResource Theme}" RenderMouseOver="{TemplateBinding RenderHighlighted}" />
						<Path Fill="{StaticResource ButtonIconBackground_Normal}" Margin="0 1 0 1" Width="4" Height="7" Data="M0,0 L0,7 1,7 1,6 2,6 2,5 3,5 3,4 4,4 4,3 3,3 3,2 2,2 2,1 1,1 1,0 z" />
						<Path Fill="{StaticResource ButtonIconForeground_Normal}" Margin="0 0 0 2" Width="4" Height="7" Data="M0,0 L0,7 1,7 1,6 2,6 2,5 3,5 4,3 4,4 4,3 3,3 3,2 2,2 2,1 1,1 1,0 z" />
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="TopIndicatorStyle" TargetType="telerikChromes:ButtonChrome">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerikChromes:ButtonChrome">
					<Grid>
						<telerikChromes:ButtonChrome telerik:StyleManager.Theme="{StaticResource Theme}" RenderMouseOver="{TemplateBinding RenderHighlighted}" />
						<Path Fill="{StaticResource ButtonIconBackground_Normal}" Margin="0 1 0 1" Width="7" Height="4" Data="M0,4 L7,4 7,3 6,3 6,2 5,2 5,1 4,1 4,0 3,0 3,1 2,1 2,2 1,2 1,3 0,3 z" />
						<Path Fill="{StaticResource ButtonIconForeground_Normal}" Margin="0 0 0 2" Width="7" Height="4" Data="M0,4 L7,4 7,3 6,3 6,2 5,2 5,1 4,1 4,0 3,0 3,1 2,1 2,2 1,2 1,3 0,3 z" />
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="BottomIndicatorStyle" TargetType="telerikChromes:ButtonChrome">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerikChromes:ButtonChrome">
					<Grid>
						<telerikChromes:ButtonChrome telerik:StyleManager.Theme="{StaticResource Theme}" RenderMouseOver="{TemplateBinding RenderHighlighted}" />
						<Path Fill="{StaticResource ButtonIconBackground_Normal}" Margin="0 1 0 1" Width="7" Height="4" Data="M0,0 L7,0 7,1 6,1 6,2 5,2 5,3 4,3 4,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1 z" />
						<Path Fill="{StaticResource ButtonIconForeground_Normal}" Margin="0 0 0 2" Width="7" Height="4" Data="M0,0 L7,0 7,1 6,1 6,2 5,2 5,3 4,3 4,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1 z" />
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	
	<!--Compass Style-->
	<!--x:Key="{telerik:ThemeResourceKey ThemeType=telerik:Office_BlackTheme , ElementType={x:Type dock:Compass}}"-->
	<Style TargetType="dock:Compass" >
	
		<Setter Property="Width" Value="105" />
		<Setter Property="Height" Value="105" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="dock:Compass">
					<Border
						x:Name="VisualRoot"
						Background="{TemplateBinding Background}"
						BorderThickness="{TemplateBinding BorderThickness}"
						BorderBrush="{TemplateBinding BorderBrush}">
						
						<Grid x:Name="Visual" HorizontalAlignment="Center" VerticalAlignment="Center" Width="80" Height="80">
							<telerikChromes:ButtonChrome x:Name="PART_LeftIndicator" Style="{StaticResource LeftIndicatorStyle}" Width="20" Height="26" CornerRadius="2 1 1 2" HorizontalAlignment="Left" />
							<telerikChromes:ButtonChrome x:Name="PART_TopIndicator" Style="{StaticResource TopIndicatorStyle}" Width="26" Height="20" CornerRadius="2 2 1 1" VerticalAlignment="Top" />
							<telerikChromes:ButtonChrome x:Name="PART_RightIndicator" Style="{StaticResource RightIndicatorStyle}" Width="20" Height="26" CornerRadius="1 2 2 1" HorizontalAlignment="Right" />
							<telerikChromes:ButtonChrome x:Name="PART_BottomIndicator" Style="{StaticResource BottomIndicatorStyle}" Width="26" Height="20" CornerRadius="1 1 2 2" VerticalAlignment="Bottom" />
							<telerikChromes:ButtonChrome x:Name="PART_CenterIndicator" Style="{StaticResource CenterIndicatorStyle}" Width="32" Height="32" CornerRadius="3" />
						</Grid>

						
					</Border>
					
					<ControlTemplate.Triggers>
						<Trigger Property="DockPosition" Value="Left">
							<Setter TargetName="PART_LeftIndicator" Property="RenderHighlighted" Value="True" />
						</Trigger>
						<Trigger Property="DockPosition" Value="Top">
							<Setter TargetName="PART_TopIndicator" Property="RenderHighlighted" Value="True" />
						</Trigger>
						<Trigger Property="DockPosition" Value="Right">
							<Setter TargetName="PART_RightIndicator" Property="RenderHighlighted" Value="True" />
						</Trigger>
						<Trigger Property="DockPosition" Value="Bottom">
							<Setter TargetName="PART_BottomIndicator" Property="RenderHighlighted" Value="True" />
						</Trigger>
						<Trigger Property="DockPosition" Value="Center">
							<Setter TargetName="PART_CenterIndicator" Property="RenderHighlighted" Value="True" />
						</Trigger>

						<Trigger Property="IsLeftIndicatorVisible" Value="False">
							<Setter TargetName="PART_LeftIndicator" Property="Visibility" Value="Collapsed" />
						</Trigger>
						<Trigger Property="IsTopIndicatorVisible" Value="False">
							<Setter TargetName="PART_TopIndicator" Property="Visibility" Value="Collapsed" />
						</Trigger>
						<Trigger Property="IsRightIndicatorVisible" Value="False">
							<Setter TargetName="PART_RightIndicator" Property="Visibility" Value="Collapsed" />
						</Trigger>
						<Trigger Property="IsBottomIndicatorVisible" Value="False">
							<Setter TargetName="PART_BottomIndicator" Property="Visibility" Value="Collapsed" />
						</Trigger>
						<Trigger Property="IsCenterIndicatorVisible" Value="False">
							<Setter TargetName="PART_CenterIndicator" Property="Visibility" Value="Collapsed" />
						</Trigger>
					</ControlTemplate.Triggers>
					
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<!--Compass Style-->
	<!--x:Key="{telerik:ThemeResourceKey ThemeType=
		telerik:Office_BlackTheme , ElementType={x:Type dock:RootCompass}}"-->
		 
	<Style TargetType="dock:RootCompass" >
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="dock:Compass">
					<Border
						x:Name="VisualRoot"
						Background="{TemplateBinding Background}"
						BorderThickness="{TemplateBinding BorderThickness}"
						BorderBrush="{TemplateBinding BorderBrush}">
                        
                        
                        <Grid x:Name="Visual">
							<telerikChromes:ButtonChrome x:Name="PART_LeftIndicator" Style="{StaticResource LeftIndicatorStyle}" Margin="3" Width="20" Height="26" CornerRadius="2 1 1 2" HorizontalAlignment="Left" />
							<telerikChromes:ButtonChrome x:Name="PART_TopIndicator" Style="{StaticResource TopIndicatorStyle}" Margin="3" Width="26" Height="20" CornerRadius="2 2 1 1" VerticalAlignment="Top" />
							<telerikChromes:ButtonChrome x:Name="PART_RightIndicator" Style="{StaticResource RightIndicatorStyle}" Margin="3" Width="20" Height="26" CornerRadius="1 2 2 1" HorizontalAlignment="Right" />
							<telerikChromes:ButtonChrome x:Name="PART_BottomIndicator" Style="{StaticResource BottomIndicatorStyle}" Margin="3" Width="26" Height="20" CornerRadius="1 1 2 2" VerticalAlignment="Bottom" />
						</Grid>

					</Border>
					
					<ControlTemplate.Triggers>
						<Trigger Property="DockPosition" Value="Left">
							<Setter TargetName="PART_LeftIndicator" Property="RenderHighlighted" Value="True" />
						</Trigger>
						<Trigger Property="DockPosition" Value="Top">
							<Setter TargetName="PART_TopIndicator" Property="RenderHighlighted" Value="True" />
						</Trigger>
						<Trigger Property="DockPosition" Value="Right">
							<Setter TargetName="PART_RightIndicator" Property="RenderHighlighted" Value="True" />
						</Trigger>
						<Trigger Property="DockPosition" Value="Bottom">
							<Setter TargetName="PART_BottomIndicator" Property="RenderHighlighted" Value="True" />
						</Trigger>
						<Trigger Property="IsLeftIndicatorVisible" Value="False">
							<Setter TargetName="PART_LeftIndicator" Property="Visibility" Value="Collapsed" />
						</Trigger>
						<Trigger Property="IsTopIndicatorVisible" Value="False">
							<Setter TargetName="PART_TopIndicator" Property="Visibility" Value="Collapsed" />
						</Trigger>
						<Trigger Property="IsRightIndicatorVisible" Value="False">
							<Setter TargetName="PART_RightIndicator" Property="Visibility" Value="Collapsed" />
						</Trigger>
						<Trigger Property="IsBottomIndicatorVisible" Value="False">
							<Setter TargetName="PART_BottomIndicator" Property="Visibility" Value="Collapsed" />
						</Trigger>
					</ControlTemplate.Triggers>
					
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<!-- VisualCue Style-->
	<!--x:Key="{telerik:ThemeResourceKey ThemeType= telerik:Office_BlackTheme , ElementType={x:Type dock:VisualCue}}"-->
	<Style TargetType="dock:VisualCue" >
		<Setter Property="Background" Value="{StaticResource Compass_VisualCue_Background}" />
		<Setter Property="BorderBrush" Value="{StaticResource Compass_VisualCue_BorderBrush}" />
		<Setter Property="BorderThickness" Value="{StaticResource Compass_VisualCue_BorderThickness}" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="dock:VisualCue">
					<Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" />
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="Visibility" Value="Collapsed" />
	</Style>
	
	
	<!-- Document Host -->
	
	
	<!--DocumentHost Style-->
	<!--x:Key="{telerik:ThemeResourceKey ThemeType=
		telerik:Office_BlackTheme , ElementType={x:Type dock:DocumentHost}}"-->
		
	<Style TargetType="dock:DocumentHost" >
		<Setter Property="HorizontalContentAlignment" Value="Stretch" />
		<Setter Property="VerticalContentAlignment" Value="Stretch" />
		<Setter Property="MinWidth" Value="25" />
		<Setter Property="MinHeight" Value="25" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="dock:DocumentHost">
					<Border Background="{TemplateBinding Background}"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							Padding="{TemplateBinding Padding}">
						<ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}"
								Content="{TemplateBinding Content}"
								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
								VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	
	<!-- GridResizer -->
	
	<Style x:Key="GridResizerPreviewStyle" TargetType="Control">
		<Setter Property="Background" Value="{StaticResource GridResizer_Background_Preview}" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="Control">
					<Grid x:Name="Root" Opacity=".5">

						<!-- Background -->
						<Rectangle Fill="{TemplateBinding Background}" />

						<!-- Horizontal Template -->
						<Grid x:Name="HorizontalTemplate" Height="6">
							<!-- Just show the faint gray grid splitter rectangle with no other details -->
						</Grid>

						<!-- Vertical Template -->
						<Grid x:Name="VerticalTemplate" Visibility="Collapsed" Width="6">
							<!-- Just show the faint gray grid splitter rectangle with no other details -->
						</Grid>

					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<!--x:Key="{telerik:ThemeResourceKey ThemeType=telerik:Office_BlackTheme , ElementType={x:Type dock:RadGridResizer}}"-->
	<Style TargetType="dock:RadGridResizer" >
	
		<Setter Property="FocusVisualStyle" Value="{x:Null}" />
	
		<Setter Property="Background" Value="Transparent" />
		<Setter Property="IsTabStop" Value="true" />
		<Setter Property="PreviewStyle" Value="{StaticResource GridResizerPreviewStyle}" />
		<Setter Property="HorizontalAlignment" Value="Right" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="dock:RadGridResizer">
					<Grid x:Name="Root" IsHitTestVisible="{TemplateBinding IsEnabled}">
						

						<!-- Background -->
						<Rectangle Fill="{TemplateBinding Background}" StrokeThickness="0" />

						<!-- Horizontal Template -->
						<Grid x:Name="HorizontalTemplate" Height="10">
							<StackPanel Height="6" VerticalAlignment="Center" />
						</Grid>

						<!-- Vertical Template -->
						<Grid x:Name="VerticalTemplate" Visibility="Collapsed" Width="10">
							<StackPanel Width="6" VerticalAlignment="Center" Orientation="Horizontal" />
						</Grid>

						<!-- Focus Visual -->
						<Rectangle x:Name="FocusVisual" Stroke="{StaticResource GridResizer_FocusFrame}" StrokeThickness="1" Opacity="0" IsHitTestVisible="false" />
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	
    <!--SplitContainer Style-->
	<!--x:Key="{telerik:ThemeResourceKey ThemeType=
        telerik:Office_BlackTheme , ElementType={x:Type telerikDocking:RadSplitContainer}}"-->

	<Style TargetType="telerikDocking:RadSplitContainer" >
	
		<Setter Property="FocusVisualStyle" Value="{x:Null}" />
		<Setter Property="IsTabStop" Value="False" />
		
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerikDocking:RadSplitContainer">
                    <Grid>
                        

                        <Border x:Name="border" Background="{TemplateBinding Background}"
                                BorderBrush="{TemplateBinding BorderBrush}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Padding="{TemplateBinding Padding}">
                            <ItemsPresenter />
                        </Border>

                        <dock:RadGridResizer x:Name="DockResizer" Placement="Left"
                                ShowsPreview="True" Visibility="Collapsed"
                                VerticalAlignment="Stretch" HorizontalAlignment="Left" />
                    </Grid>

                    
                    <ControlTemplate.Triggers>
                        <Trigger Property="SplitterPosition">
                            <Trigger.Value>
                                <Dock>Left</Dock>
                            </Trigger.Value>
                            <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                            <Setter TargetName="DockResizer" Property="Width" Value="4" />
                            <Setter TargetName="border" Property="Margin" Value="4 0 0 0" />
                            <Setter TargetName="DockResizer" Property="Cursor" Value="SizeWE" />
                        </Trigger>
                        <Trigger Property="SplitterPosition">
                            <Trigger.Value>
                                <Dock>Top</Dock>
                            </Trigger.Value>
                            <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                            <Setter TargetName="DockResizer" Property="VerticalAlignment"
                                    Value="Top" />
                            <Setter TargetName="DockResizer" Property="HorizontalAlignment"
                                    Value="Stretch" />
                            <Setter TargetName="DockResizer" Property="Cursor" Value="SizeNS" />
                            <Setter TargetName="DockResizer" Property="Placement">
                                <Setter.Value>
                                    <Dock>Top</Dock>
                                </Setter.Value>
                            </Setter>
                            <Setter TargetName="DockResizer" Property="Height" Value="4" />
                            <Setter TargetName="border" Property="Margin" Value="0 4 0 0" />
                        </Trigger>
                        <Trigger Property="SplitterPosition">
                            <Trigger.Value>
                                <Dock>Right</Dock>
                            </Trigger.Value>
                            <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                            <Setter TargetName="DockResizer" Property="Width" Value="4" />
                            <Setter TargetName="border" Property="Margin" Value="0 0 4 0" />
                            <Setter TargetName="DockResizer" Property="HorizontalAlignment"
                                    Value="Right" />
                            <Setter TargetName="DockResizer" Property="Cursor" Value="SizeWE" />
                            <Setter TargetName="DockResizer" Property="Placement">
                                <Setter.Value>
                                    <Dock>Right</Dock>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="SplitterPosition">
                            <Trigger.Value>
                                <Dock>Bottom</Dock>
                            </Trigger.Value>
                            <Setter TargetName="DockResizer" Property="Cursor" Value="SizeNS" />
                            <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                            <Setter TargetName="DockResizer" Property="VerticalAlignment"
                                    Value="Bottom" />
                            <Setter TargetName="DockResizer" Property="HorizontalAlignment"
                                    Value="Stretch" />
                            <Setter TargetName="DockResizer" Property="Placement">
                                <Setter.Value>
                                    <Dock>Bottom</Dock>
                                </Setter.Value>
                            </Setter>
                            <Setter TargetName="DockResizer" Property="Height" Value="4" />
                            <Setter TargetName="border" Property="Margin" Value="0 0 0 4" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                    
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="MinWidth" Value="15" />
        <Setter Property="MinHeight" Value="15" />
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <telerikDocking:ProportionalStackPanel />
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
	
	<!-- Pane -->
	
	
	<Style x:Key="DocumentTabChromeStyle" TargetType="telerikChromes:ButtonChrome">
		
		<Setter Property="Background" Value="{StaticResource PaneTabBackground_Normal}" />
		<Setter Property="BorderBrush" Value="{StaticResource PaneTabOuterBorder_Normal}" />
		
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerikChromes:ButtonChrome">
					<Border x:Name="OuterBorder" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" CornerRadius="{TemplateBinding CornerRadius}" Background="{TemplateBinding Background}" >
						
						<Border x:Name="InnerBorder" CornerRadius="{TemplateBinding InnerCornerRadius}" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{StaticResource PaneTabInnerBorder_Normal}" />
					</Border>
					
					<ControlTemplate.Triggers>
						<!-- Horizontal -->
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="Orientation" Value="Horizontal" />
								<Condition Property="RenderEnabled" Value="False" />
								<Condition Property="RenderNormal" Value="True" />
							</MultiTrigger.Conditions>
							<Setter TargetName="OuterBorder" Property="BorderBrush" Value="{StaticResource PaneTabOuterBorder_Disabled}" />
							<Setter TargetName="InnerBorder" Property="BorderBrush" Value="{StaticResource PaneTabInnerBorder_Disabled}" />
							<Setter TargetName="OuterBorder" Property="Background" Value="{StaticResource PaneTabBackground_Disabled}" />
						</MultiTrigger>
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="Orientation" Value="Horizontal" />
								<Condition Property="RenderEnabled" Value="True" />
								<Condition Property="RenderHighlighted" Value="True" />
								<Condition Property="RenderSelected" Value="False" />
								<Condition Property="RenderMouseOver" Value="False" />
								<Condition Property="RenderPressed" Value="False" />
							</MultiTrigger.Conditions>
							<Setter TargetName="OuterBorder" Property="BorderBrush" Value="{StaticResource PaneTabOuterBorder_Highlighted}" />
							<Setter TargetName="InnerBorder" Property="BorderBrush" Value="{StaticResource PaneTabInnerBorder_Highlighted}" />
							<Setter TargetName="OuterBorder" Property="Background" Value="{StaticResource PaneTabBackground_Highlighted}" />
						</MultiTrigger>
						
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="Orientation" Value="Horizontal" />
								<Condition Property="RenderEnabled" Value="True" />
								<Condition Property="RenderHighlighted" Value="False" />
								<Condition Property="RenderSelected" Value="True" />
								<Condition Property="RenderMouseOver" Value="False" />
								<Condition Property="RenderPressed" Value="False" />
							</MultiTrigger.Conditions>
							<Setter TargetName="OuterBorder" Property="BorderBrush" Value="{StaticResource PaneTabOuterBorder_Selected}" />
							<Setter TargetName="InnerBorder" Property="BorderBrush" Value="{StaticResource PaneTabInnerBorder_Selected}" />
							<Setter TargetName="OuterBorder" Property="Background" Value="{StaticResource PaneTabBackground_Selected}" />
						</MultiTrigger>
						
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="Orientation" Value="Horizontal" />
								<Condition Property="RenderEnabled" Value="True" />
								<Condition Property="RenderHighlighted" Value="True" />
								<Condition Property="RenderSelected" Value="True" />
								<Condition Property="RenderMouseOver" Value="False" />
								<Condition Property="RenderPressed" Value="False" />
							</MultiTrigger.Conditions>
							<Setter TargetName="OuterBorder" Property="BorderBrush" Value="{StaticResource PaneTabOuterBorder_SelectedHighlighted}" />
							<Setter TargetName="InnerBorder" Property="BorderBrush" Value="{StaticResource PaneTabInnerBorder_SelectedHighlighted}" />
							<Setter TargetName="OuterBorder" Property="Background" Value="{StaticResource PaneTabBackground_SelectedHighlighted}" />
						</MultiTrigger>

						<!-- Vertical -->
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="Orientation" Value="Vertical" />
								<Condition Property="RenderEnabled" Value="False" />
								<Condition Property="RenderNormal" Value="True" />
							</MultiTrigger.Conditions>
							<Setter TargetName="OuterBorder" Property="BorderBrush" Value="{StaticResource PaneTabOuterBorderVertical_Disabled}" />
							<Setter TargetName="InnerBorder" Property="BorderBrush" Value="{StaticResource PaneTabInnerBorderVertical_Disabled}" />
							<Setter TargetName="OuterBorder" Property="Background" Value="{StaticResource PaneTabBackgroundVertical_Disabled}" />
						</MultiTrigger>
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="Orientation" Value="Vertical" />
								<Condition Property="RenderEnabled" Value="True" />
								<Condition Property="RenderNormal" Value="True" />
								<Condition Property="RenderMouseOver" Value="False" />
								<Condition Property="RenderPressed" Value="False" />
							</MultiTrigger.Conditions>
							<Setter TargetName="OuterBorder" Property="BorderBrush" Value="{StaticResource PaneTabOuterBorderVertical_Normal}" />
							<Setter TargetName="InnerBorder" Property="BorderBrush" Value="{StaticResource PaneTabInnerBorderVertical_Normal}" />
							<Setter TargetName="OuterBorder" Property="Background" Value="{StaticResource PaneTabBackgroundVertical_Normal}" />
						</MultiTrigger>

						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="Orientation" Value="Vertical" />
								<Condition Property="RenderEnabled" Value="True" />
								<Condition Property="RenderHighlighted" Value="True" />
								<Condition Property="RenderSelected" Value="False" />
								<Condition Property="RenderMouseOver" Value="False" />
								<Condition Property="RenderPressed" Value="False" />
							</MultiTrigger.Conditions>
							<Setter TargetName="OuterBorder" Property="BorderBrush" Value="{StaticResource PaneTabOuterBorderVertical_Highlighted}" />
							<Setter TargetName="InnerBorder" Property="BorderBrush" Value="{StaticResource PaneTabInnerBorderVertical_Highlighted}" />
							<Setter TargetName="OuterBorder" Property="Background" Value="{StaticResource PaneTabBackgroundVertical_Highlighted}" />
						</MultiTrigger>

						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="Orientation" Value="Vertical" />
								<Condition Property="RenderEnabled" Value="True" />
								<Condition Property="RenderSelected" Value="True" />
								<Condition Property="RenderMouseOver" Value="False" />
								<Condition Property="RenderPressed" Value="False" />
							</MultiTrigger.Conditions>
							<Setter TargetName="OuterBorder" Property="BorderBrush" Value="{StaticResource PaneTabOuterBorderVertical_Selected}" />
							<Setter TargetName="InnerBorder" Property="BorderBrush" Value="{StaticResource PaneTabInnerBorderVertical_Selected}" />
							<Setter TargetName="OuterBorder" Property="Background" Value="{StaticResource PaneTabBackgroundVertical_Selected}" />
						</MultiTrigger>

						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="Orientation" Value="Vertical" />
								<Condition Property="RenderEnabled" Value="True" />
								<Condition Property="RenderHighlighted" Value="True" />
								<Condition Property="RenderSelected" Value="True" />
								<Condition Property="RenderMouseOver" Value="False" />
								<Condition Property="RenderPressed" Value="False" />
							</MultiTrigger.Conditions>
							<Setter TargetName="OuterBorder" Property="BorderBrush" Value="{StaticResource PaneTabOuterBorderVertical_SelectedHighlighted}" />
							<Setter TargetName="InnerBorder" Property="BorderBrush" Value="{StaticResource PaneTabInnerBorderVertical_SelectedHighlighted}" />
							<Setter TargetName="OuterBorder" Property="Background" Value="{StaticResource PaneTabBackgroundVertical_SelectedHighlighted}" />
						</MultiTrigger>

					</ControlTemplate.Triggers>
					
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="DocumentPinnedTabChromeStyle" TargetType="telerikChromes:ButtonChrome">

		<Setter Property="Background" Value="{StaticResource PaneTabPinnedBackground_Normal}" />
		<Setter Property="BorderBrush" Value="{StaticResource PaneTabPinnedOuterBorder_Normal}" />

		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerikChromes:ButtonChrome">
					<Border x:Name="OuterBorder" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" CornerRadius="{TemplateBinding CornerRadius}" Background="{TemplateBinding Background}" >
						
						<Border x:Name="InnerBorder" CornerRadius="{TemplateBinding InnerCornerRadius}" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{StaticResource PaneTabPinnedInnerBorder_Normal}" />
					</Border>
					
					<ControlTemplate.Triggers>
						<!-- Horizontal -->
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="Orientation" Value="Horizontal" />
								<Condition Property="RenderEnabled" Value="False" />
								<Condition Property="RenderNormal" Value="True" />
							</MultiTrigger.Conditions>
							<Setter TargetName="OuterBorder" Property="BorderBrush" Value="{StaticResource PaneTabPinnedOuterBorder_Disabled}" />
							<Setter TargetName="InnerBorder" Property="BorderBrush" Value="{StaticResource PaneTabPinnedInnerBorder_Disabled}" />
							<Setter TargetName="OuterBorder" Property="Background" Value="{StaticResource PaneTabPinnedBackground_Disabled}" />
						</MultiTrigger>
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="Orientation" Value="Horizontal" />
								<Condition Property="RenderEnabled" Value="True" />
								<Condition Property="RenderHighlighted" Value="True" />
								<Condition Property="RenderSelected" Value="False" />
								<Condition Property="RenderMouseOver" Value="False" />
								<Condition Property="RenderPressed" Value="False" />
							</MultiTrigger.Conditions>
							<Setter TargetName="OuterBorder" Property="BorderBrush" Value="{StaticResource PaneTabPinnedOuterBorder_Highlighted}" />
							<Setter TargetName="InnerBorder" Property="BorderBrush" Value="{StaticResource PaneTabPinnedInnerBorder_Highlighted}" />
							<Setter TargetName="OuterBorder" Property="Background" Value="{StaticResource PaneTabPinnedBackground_Highlighted}" />
						</MultiTrigger>

						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="Orientation" Value="Horizontal" />
								<Condition Property="RenderEnabled" Value="True" />
								<Condition Property="RenderHighlighted" Value="False" />
								<Condition Property="RenderSelected" Value="True" />
								<Condition Property="RenderMouseOver" Value="False" />
								<Condition Property="RenderPressed" Value="False" />
							</MultiTrigger.Conditions>
							<Setter TargetName="OuterBorder" Property="BorderBrush" Value="{StaticResource PaneTabPinnedOuterBorder_Selected}" />
							<Setter TargetName="InnerBorder" Property="BorderBrush" Value="{StaticResource PaneTabPinnedInnerBorder_Selected}" />
							<Setter TargetName="OuterBorder" Property="Background" Value="{StaticResource PaneTabPinnedBackground_Selected}" />
						</MultiTrigger>

						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="Orientation" Value="Horizontal" />
								<Condition Property="RenderEnabled" Value="True" />
								<Condition Property="RenderHighlighted" Value="True" />
								<Condition Property="RenderSelected" Value="True" />
								<Condition Property="RenderMouseOver" Value="False" />
								<Condition Property="RenderPressed" Value="False" />
							</MultiTrigger.Conditions>
							<Setter TargetName="OuterBorder" Property="BorderBrush" Value="{StaticResource PaneTabPinnedOuterBorder_SelectedHighlighted}" />
							<Setter TargetName="InnerBorder" Property="BorderBrush" Value="{StaticResource PaneTabPinnedInnerBorder_SelectedHighlighted}" />
							<Setter TargetName="OuterBorder" Property="Background" Value="{StaticResource PaneTabPinnedBackground_SelectedHighlighted}" />
						</MultiTrigger>
						
					</ControlTemplate.Triggers>
					
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>



	
	

    <dock:InvertedBooleanConverter x:Key="invertedBooleanConverter" />

	<ControlTemplate x:Key="PaneBottomTemplate" TargetType="telerikDocking:RadPane">
		<Grid x:Name="wrapper" Margin="0 4 -1 0">
			

			<telerikChromes:ButtonChrome x:Name="ChromeUnpinned" Visibility="Collapsed" Style="{StaticResource DocumentTabChromeStyle}" BorderThickness="1" CornerRadius="{StaticResource PaneTabBottomUnpinnedCornerRadius}" RenderSelected="{TemplateBinding IsSelected}" RenderHighlighted="{TemplateBinding IsMouseOver}" />
			<telerikChromes:ButtonChrome x:Name="ChromePinned" Visibility="Collapsed" Style="{StaticResource DocumentTabChromeStyle}" Margin="0 1 0 2" BorderThickness="1 0 1 1" CornerRadius="{StaticResource PaneTabBottomPinnedCornerRadius}" RenderSelected="{TemplateBinding IsSelected}" RenderHighlighted="{TemplateBinding IsMouseOver}" />
			<Border x:Name="ContentBorder">
				<telerikNavigationPrimitives:TabItemContentPresenter x:Name="HeaderElement" FocusVisualStyle="{x:Null}"  Margin="6 3" Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}" Padding="{TemplateBinding Padding}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" />
			</Border>
		</Grid>
		
		<ControlTemplate.Triggers>
			<Trigger Property="IsEnabled" Value="False">
				<Setter TargetName="HeaderElement" Property="Opacity" Value="0.33" />
			</Trigger>
			<Trigger Property="IsSelected" Value="True">
				<Setter TargetName="ChromePinned" Property="Margin" Value="0" />
			</Trigger>
			<Trigger Property="IsPinned" Value="False">
				<Setter TargetName="ChromeUnpinned" Property="Visibility" Value="Visible" />
			</Trigger>
			<Trigger Property="IsPinned" Value="True">
				<Setter TargetName="ChromePinned" Property="Visibility" Value="Visible" />
				<Setter TargetName="ContentBorder" Property="Margin" Value="0 0 0 2" />
			</Trigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>
	
	<ControlTemplate x:Key="PaneTemplate" TargetType="telerikDocking:RadPane">
		<Grid x:Name="wrapper">
			
			
			<telerikChromes:ButtonChrome x:Name="ChromeUnpinned" Visibility="Collapsed" Style="{StaticResource DocumentTabChromeStyle}" BorderThickness="1" CornerRadius="{StaticResource PaneTabUnpinnedCornerRadius}" RenderSelected="{TemplateBinding IsSelected}" RenderHighlighted="{TemplateBinding IsMouseOver}" />
			<telerikChromes:ButtonChrome x:Name="ChromePinned" Visibility="Collapsed" Style="{StaticResource DocumentTabChromeStyle}" Margin="0 1 0 0" BorderThickness="1 0 1 1" CornerRadius="{StaticResource PaneTabPinnedCornerRadius}" RenderSelected="{TemplateBinding IsSelected}" RenderHighlighted="{TemplateBinding IsMouseOver}" />
			<telerikNavigationPrimitives:TabItemContentPresenter x:Name="HeaderElement" FocusVisualStyle="{x:Null}"  Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}" Padding="{TemplateBinding Padding}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" />
		</Grid>
		
		
		<ControlTemplate.Triggers>
			<Trigger Property="IsEnabled" Value="False">
				<Setter TargetName="HeaderElement" Property="Opacity" Value="0.33" />
			</Trigger>
			<Trigger Property="IsSelected" Value="True">
				<Setter TargetName="ChromePinned" Property="Margin" Value="0" />
			</Trigger>
			<Trigger Property="IsPinned" Value="False">
				<Setter TargetName="ChromeUnpinned" Property="Visibility" Value="Visible" />
			</Trigger>
			<Trigger Property="IsPinned" Value="True">
				<Setter TargetName="ChromePinned" Property="Visibility" Value="Visible" />
			</Trigger>

			<MultiTrigger>
				<MultiTrigger.Conditions>
					<Condition Property="TabOrientation" Value="Horizontal" />
					<Condition Property="TabStripPlacement" Value="Top" />
				</MultiTrigger.Conditions>
				<Setter TargetName="wrapper" Property="Margin" Value="0 0 -1 4" />
				<Setter TargetName="HeaderElement" Property="Margin" Value="6 3" />
			</MultiTrigger>
			
			<MultiTrigger>
				<MultiTrigger.Conditions>
					<Condition Property="TabOrientation" Value="Horizontal" />
					<Condition Property="TabStripPlacement" Value="Bottom" />
				</MultiTrigger.Conditions>
				<Setter TargetName="wrapper" Property="Margin" Value="0 4 -1 0" />
				<Setter TargetName="HeaderElement" Property="Margin" Value="6 3" />
			</MultiTrigger>

			<MultiTrigger>
				<MultiTrigger.Conditions>
					<Condition Property="TabOrientation" Value="Vertical" />
					<Condition Property="TabStripPlacement" Value="Left" />
				</MultiTrigger.Conditions>
				<Setter TargetName="wrapper" Property="Margin" Value="0 0 4 -1" />
				<Setter TargetName="HeaderElement" Property="Margin" Value="3 6" />
				<Setter TargetName="ChromeUnpinned" Property="Orientation" Value="Vertical" />
				<Setter TargetName="ChromePinned" Property="Orientation" Value="Vertical" />
			</MultiTrigger>

			<MultiTrigger>
				<MultiTrigger.Conditions>
					<Condition Property="TabOrientation" Value="Vertical" />
					<Condition Property="TabStripPlacement" Value="Right" />
				</MultiTrigger.Conditions>
				<Setter TargetName="wrapper" Property="Margin" Value="4 0 0 -1" />
				<Setter TargetName="HeaderElement" Property="Margin" Value="3 6" />
				<Setter TargetName="ChromeUnpinned" Property="Orientation" Value="Vertical" />
				<Setter TargetName="ChromePinned" Property="Orientation" Value="Vertical" />
			</MultiTrigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>
	
	<ControlTemplate x:Key="PaneDocumentHostTemplate" TargetType="telerikDocking:RadPane">
		<Grid x:Name="wrapper" Margin="0 0 -1 0">
			
			<telerikChromes:ButtonChrome x:Name="Chrome" Margin="0 0 0 0" BorderThickness="1 1 1 0" CornerRadius="{StaticResource PaneDocumentHostCornerRadius}" Style="{StaticResource DocumentTabChromeStyle}" RenderSelected="{TemplateBinding IsSelected}" RenderHighlighted="{TemplateBinding IsMouseOver}" RenderEnabled="{TemplateBinding IsEnabled}" />
			<telerikNavigationPrimitives:TabItemContentPresenter x:Name="HeaderElement" FocusVisualStyle="{x:Null}"  Margin="6 3 6 2" Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}" Padding="{TemplateBinding Padding}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" />
		</Grid>
		
		<ControlTemplate.Triggers>
			<Trigger Property="IsEnabled" Value="False">
				<Setter TargetName="HeaderElement" Property="Opacity" Value="0.33" />
			</Trigger>
			<Trigger Property="IsSelected" Value="True">
				<Setter TargetName="Chrome" Property="Margin" Value="0 -2 0 -1" />
			</Trigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>
	
	<!--x:Key="{telerik:ThemeResourceKey ThemeType=telerik:Office_BlackTheme , ElementType={x:Type telerikDocking:RadPane}}"-->
	<Style TargetType="telerikDocking:RadPane">	
	
		<Setter Property="FocusVisualStyle" Value="{x:Null}" />
	
        <Setter Property="Template" Value="{StaticResource PaneTemplate}" />
        
        <Setter Property="LeftTemplate" Value="{StaticResource PaneTemplate}" />
        <Setter Property="TopTemplate" Value="{StaticResource PaneTemplate}" />
        <Setter Property="RightTemplate" Value="{StaticResource PaneTemplate}" />
        <Setter Property="BottomTemplate" Value="{StaticResource PaneBottomTemplate}" />
        
        <Setter Property="DocumentHostTemplate" Value="{StaticResource PaneDocumentHostTemplate}" />
        
        <Setter Property="BorderThickness" Value="1 1 1 1" />
        <Setter Property="BorderBrush" Value="{StaticResource PaneTabOuterBorder_Normal}" />
        <Setter Property="Background" Value="{StaticResource PaneTabBackground_Normal}" />
        <Setter Property="Foreground" Value="{StaticResource PaneTabForeground}" />

		<Setter Property="Padding" Value="0" />
		<Setter Property="Margin" Value="0" />

		<Setter Property="ContextMenuTemplate">
            <Setter.Value>
                <DataTemplate>
                    <telerikNavigation:RadContextMenu 
                        telerik:StyleManager.Theme="{StaticResource Theme}" 
                        InheritDataContext="False">                        
                        <telerikNavigation:RadMenuItem 
                            IsChecked="{Binding IsFloatingOnly}"
                            Command="telerikDocking:RadDockingCommands.Floating" 
                            CommandParameter="{Binding}"                
                            CommandTarget="{Binding}"
                            Header="{Binding Command.Text, RelativeSource={RelativeSource Self}}" />
                        
                        <telerikNavigation:RadMenuItem 
                            IsChecked="{Binding IsDockableOptionChecked}" 
                            Command="telerikDocking:RadDockingCommands.Dockable" 
                            CommandParameter="{Binding}"
                            CommandTarget="{Binding}"
                            Header="{Binding Command.Text, RelativeSource={RelativeSource Self}}" />
                        
                        <telerikNavigation:RadMenuItem 
                            IsChecked="{Binding IsInDocumentHost}" 
                            Command="telerikDocking:RadDockingCommands.TabbedDocument" 
                            CommandParameter="{Binding}" 
                            CommandTarget="{Binding}"
                            Header="{Binding Command.Text, RelativeSource={RelativeSource Self}}" />
                        
                        <telerikNavigation:RadMenuItem 
                            IsChecked="{Binding IsPinned, Converter={StaticResource invertedBooleanConverter}}" 
                            Command="telerikDocking:RadDockingCommands.Pin" 
                            CommandParameter="{Binding}" 
                            CommandTarget="{Binding}"
                            Header="{Binding Command.Text, RelativeSource={RelativeSource Self}}" />
                        
                        <telerikNavigation:RadMenuItem 
                            IsChecked="{Binding IsHidden}" 
                            Command="telerikDocking:RadDockingCommands.Close" 
                            CommandParameter="{Binding}" 
                            CommandTarget="{Binding}"
                            Header="{Binding Command.Text, RelativeSource={RelativeSource Self}}" />
                        
                    </telerikNavigation:RadContextMenu>
                </DataTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
	
	<!-- PaneGroup -->
	

	<ControlTemplate x:Key="PaneGroup_PaneFrameTemplate" TargetType="ContentControl">
		<Border
			x:Name="Root"
			BorderBrush="{TemplateBinding BorderBrush}"
			Background="{TemplateBinding Background}"
			BorderThickness="{TemplateBinding BorderThickness}"
			CornerRadius="{StaticResource PaneGroup_PaneFrame_CornerRadius}">
			
			<ContentPresenter />
			
		</Border>
	</ControlTemplate>
	
	<ControlTemplate x:Key="PaneGroup_DocumentFrameTemplate" TargetType="ContentControl">
		<Border
			x:Name="Root"
			BorderBrush="{TemplateBinding BorderBrush}"
			Background="{TemplateBinding Background}"
			BorderThickness="{TemplateBinding BorderThickness}"
			CornerRadius="{StaticResource PaneGroup_DocumentFrameL4_CornerRadius}">

			<Border
				x:Name="BorderLayer3"
				BorderThickness="{StaticResource PaneGroup_DocumentFrameL3_Thickness}"
				BorderBrush="{StaticResource PaneGroup_DocumentFrameL3_Brush}"
				CornerRadius="{StaticResource PaneGroup_DocumentFrameL3_CornerRadius}">
			
				<Border
					x:Name="BorderLayer2"
					BorderThickness="{StaticResource PaneGroup_DocumentFrameL2_Thickness}"
					BorderBrush="{StaticResource PaneGroup_DocumentFrameL2_Brush}"
					CornerRadius="{StaticResource PaneGroup_DocumentFrameL2_CornerRadius}">
				
					<Border
						x:Name="BorderLayer1"
						BorderThickness="{StaticResource PaneGroup_DocumentFrameL1_Thickness}"
						BorderBrush="{StaticResource PaneGroup_DocumentFrameL1_Brush}"
						CornerRadius="{StaticResource PaneGroup_DocumentFrameL1_CornerRadius}">

						<ContentPresenter />

					</Border>
				</Border>
			</Border>
		</Border>
	</ControlTemplate>
	
	
	
	
	<Style x:Key="PaneGroup_DocumentFrameStyle" TargetType="ContentControl">
		<Setter Property="FocusVisualStyle" Value="{x:Null}" />
		<Setter Property="Template" Value="{StaticResource PaneGroup_DocumentFrameTemplate}" />
	</Style>
	
	<Style x:Key="PaneGroup_PaneFrameStyle" TargetType="ContentControl">
		<Setter Property="FocusVisualStyle" Value="{x:Null}" />
		<Setter Property="Template" Value="{StaticResource PaneGroup_PaneFrameTemplate}" />
	</Style>
	
	
	
	
	
	<Style x:Key="PaneHeader_MenuButtonStyle" TargetType="telerik:RadToggleButton">
		<Setter Property="Width" Value="17" />
		<Setter Property="Height" Value="17" />
		<Setter Property="Margin" Value="{StaticResource HeaderButtonMargin}" />
		<Setter Property="IsTabStop" Value="False" />
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerik:RadToggleButton">
					<Grid>
						
						<telerikChromes:ButtonChrome x:Name="ButtonChrome" telerik:StyleManager.Theme="{StaticResource Theme}" RenderNormal="False" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}" RenderChecked="{TemplateBinding IsChecked}" />
						<Path x:Name="BackgroundIcon" Fill="{StaticResource ButtonIconBackground_Normal}" Margin="0 2 0 0" Width="7" Height="4" Data="M0,0 L7,0 7,1 6,1 6,2 5,2 5,3 4,3 4,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1 z" />
						<Path x:Name="ForegroundIcon" Fill="{StaticResource ButtonIconForeground_Normal}" Margin="0 1 0 1" Width="7" Height="4" Data="M0,0 L7,0 7,1 6,1 6,2 5,2 5,3 4,3 4,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1 z" />
					</Grid>
					
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_MouseOver}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_MouseOver}" />
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_Pressed}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_Pressed}" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_Disabled}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_Disabled}" />
						</Trigger>
					</ControlTemplate.Triggers>
					
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="PaneHeader_PinButtonStyle" TargetType="telerik:RadButton">
		<Setter Property="Width" Value="17" />
		<Setter Property="Height" Value="17" />
		<Setter Property="Margin" Value="{StaticResource HeaderButtonMargin}" />
		<Setter Property="IsTabStop" Value="False" />
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerik:RadButton">
					<Grid>
						
						<telerikChromes:ButtonChrome telerik:StyleManager.Theme="{StaticResource Theme}" RenderNormal="False" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}" />
						<Path x:Name="BackgroundIcon" Stroke="{StaticResource ButtonIconBackground_Normal}" Margin="0 2 0 0" StrokeThickness="1" Width="7" Height="10" Data="M0,6.5 L7,6.5 M1.5,6.5 L1.5,1.5 L2.5,0.5 L4.5,0.5 L5.5,1.5 L5.5,6.5 M3.5,6.5 L3.5,10 M4.5,6.5 L4.5,0.5" />
						<Path x:Name="ForegroundIcon" Stroke="{StaticResource ButtonIconForeground_Normal}" Margin="0 1 0 1" StrokeThickness="1" Width="7" Height="10" Data="M0,6.5 L7,6.5 M1.5,6.5 L1.5,1.5 L2.5,0.5 L4.5,0.5 L5.5,1.5 L5.5,6.5 M3.5,6.5 L3.5,10 M4.5,6.5 L4.5,0.5" />
					</Grid>
					
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Stroke" Value="{StaticResource ButtonIconForeground_MouseOver}" />
							<Setter TargetName="BackgroundIcon" Property="Stroke" Value="{StaticResource ButtonIconBackground_MouseOver}" />
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Stroke" Value="{StaticResource ButtonIconForeground_Pressed}" />
							<Setter TargetName="BackgroundIcon" Property="Stroke" Value="{StaticResource ButtonIconBackground_Pressed}" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="ForegroundIcon" Property="Stroke" Value="{StaticResource ButtonIconForeground_Disabled}" />
							<Setter TargetName="BackgroundIcon" Property="Stroke" Value="{StaticResource ButtonIconBackground_Disabled}" />
						</Trigger>
					</ControlTemplate.Triggers>
					
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="PaneHeader_UnPinButtonStyle" TargetType="telerik:RadButton">
		<Setter Property="Width" Value="17" />
		<Setter Property="Height" Value="17" />
		<Setter Property="Margin" Value="{StaticResource HeaderButtonMargin}" />
		<Setter Property="IsTabStop" Value="False" />
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerik:RadButton">
					<Grid>
						
						<telerikChromes:ButtonChrome telerik:StyleManager.Theme="{StaticResource Theme}" RenderNormal="False" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}" />
						<Path x:Name="BackgroundIcon" Stroke="{StaticResource ButtonIconBackground_Normal}" Margin="0 2 0 0" StrokeThickness="1" Width="10" Height="7" Data="M3.5,0 L3.5,7 M3.5,1.5 L8.5,1.5 L9.5,2.5 L9.5,4.5 L8.5,5.5 L3.5,5.5 M3.5,3.5 L0,3.5 M3.5,4.5 L9.5,4.5" />
						<Path x:Name="ForegroundIcon" Stroke="{StaticResource ButtonIconForeground_Normal}" Margin="0 1 0 1" StrokeThickness="1" Width="10" Height="7" Data="M3.5,0 L3.5,7 M3.5,1.5 L8.5,1.5 L9.5,2.5 L9.5,4.5 L8.5,5.5 L3.5,5.5 M3.5,3.5 L0,3.5 M3.5,4.5 L9.5,4.5" />
					</Grid>
					
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Stroke" Value="{StaticResource ButtonIconForeground_MouseOver}" />
							<Setter TargetName="BackgroundIcon" Property="Stroke" Value="{StaticResource ButtonIconBackground_MouseOver}" />
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Stroke" Value="{StaticResource ButtonIconForeground_Pressed}" />
							<Setter TargetName="BackgroundIcon" Property="Stroke" Value="{StaticResource ButtonIconBackground_Pressed}" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="ForegroundIcon" Property="Stroke" Value="{StaticResource ButtonIconForeground_Disabled}" />
							<Setter TargetName="BackgroundIcon" Property="Stroke" Value="{StaticResource ButtonIconBackground_Disabled}" />
						</Trigger>
					</ControlTemplate.Triggers>
					
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="PaneHeader_CloseButtonStyle" TargetType="telerik:RadButton">
		<Setter Property="Width" Value="17" />
		<Setter Property="Height" Value="17" />
		<Setter Property="Margin" Value="{StaticResource HeaderButtonMargin}" />
		<Setter Property="IsTabStop" Value="False" />
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerik:RadButton">
					<Grid x:Name="LayoutRoot">
						
						<telerikChromes:ButtonChrome telerik:StyleManager.Theme="{StaticResource Theme}" RenderNormal="False" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}" />
						<Path x:Name="BackgroundIcon" Fill="{StaticResource ButtonIconBackground_Normal}" Margin="0 2 0 0" Width="8" Height="7" Data="M0,0 L2,0 2,1 3,1 3,2 5,2 5,1 6,1 6,0 8,0 8,1 7,1 7,2 6,2 6,3 5,3 5,4 6,4 6,5 6,5 7,5 7,6 8,6 8,7 6,7 6,6 5,6 5,5 3,5 3,6 2,6 2,7 0,7 0,6 1,6 1,5 2,5 2,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1 Z" />
						<Path x:Name="ForegroundIcon" Fill="{StaticResource ButtonIconForeground_Normal}" Margin="0 1 0 1" Width="8" Height="7" Data="M0,0 L2,0 2,1 3,1 3,2 5,2 5,1 6,1 6,0 8,0 8,1 7,1 7,2 6,2 6,3 5,3 5,4 6,4 6,5 6,5 7,5 7,6 8,6 8,7 6,7 6,6 5,6 5,5 3,5 3,6 2,6 2,7 0,7 0,6 1,6 1,5 2,5 2,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1 Z" />
					</Grid>
					
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_MouseOver}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_MouseOver}" />
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_Pressed}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_Pressed}" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_Disabled}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_Disabled}" />
						</Trigger>
					</ControlTemplate.Triggers>
					
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	
	
    
    <ControlTemplate x:Key="PaneHeaderTemplate" TargetType="dock:PaneHeader">
        <Border x:Name="Root" Background="{TemplateBinding Background}" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" CornerRadius="{StaticResource PaneHeader_CornerRadius}">

            <Grid x:Name="Content">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>

                <!-- Header -->
                <ContentControl x:Name="TitleElement" Grid.Column="0"
                        Margin="{TemplateBinding Padding}"
                        FocusVisualStyle="{x:Null}"
                        Content="{Binding SelectedPane.Title, RelativeSource={RelativeSource TemplatedParent}}"
                        ContentTemplate="{Binding SelectedPane.TitleTemplate, RelativeSource={RelativeSource TemplatedParent}}"
                        VerticalAlignment="Center"
                        HorizontalContentAlignment="Stretch" VerticalContentAlignment="Center" />

                <!-- Menu -->
                <telerik:RadToggleButton x:Name="HeaderDropDownMenu" Grid.Column="1"
                        IsThreeState="True" Style="{StaticResource PaneHeader_MenuButtonStyle}"
                        Command="telerikDocking:RadDockingCommands.ContextMenuOpen"
                        CommandParameter="{Binding SelectedPane, RelativeSource={RelativeSource TemplatedParent}}" />

				<Grid Grid.Column="2" Visibility="{Binding SelectedPane.PinButtonVisibility, RelativeSource={RelativeSource TemplatedParent}}">
					<!-- Pin -->
					<telerik:RadButton x:Name="HeaderPinButton"
                        Command="telerikDocking:RadDockingCommands.Pin"
                        CommandParameter="{Binding SelectedPane, RelativeSource={RelativeSource TemplatedParent}}"
                        Style="{StaticResource PaneHeader_PinButtonStyle}" />

					<!-- UnPin -->
					<telerik:RadButton x:Name="HeaderUnPinButton" Visibility="Collapsed"
							Command="telerikDocking:RadDockingCommands.Pin"
							CommandParameter="{Binding SelectedPane, RelativeSource={RelativeSource TemplatedParent}}"
							Style="{StaticResource PaneHeader_UnPinButtonStyle}" />
				</Grid>
				
				<!-- Close -->
                <telerik:RadButton x:Name="HeaderCloseButton" Grid.Column="3"
                        Command="telerikDocking:RadDockingCommands.Close"
                        CommandParameter="{Binding SelectedPane, RelativeSource={RelativeSource TemplatedParent}}"
                        Style="{StaticResource PaneHeader_CloseButtonStyle}" />
            </Grid>

            
        </Border>

        
        <ControlTemplate.Triggers>
            <DataTrigger Binding="{Binding SelectedPane.IsPinned, RelativeSource={RelativeSource TemplatedParent}}" Value="False">
                <Setter TargetName="HeaderPinButton" Property="Style" Value="{StaticResource PaneHeader_UnPinButtonStyle}" />
            </DataTrigger>
            <DataTrigger Binding="{Binding Path=SelectedPane.(telerikNavigation:RadContextMenu.ContextMenu).HasItems, RelativeSource={RelativeSource TemplatedParent}}" Value="False">
                <Setter TargetName="HeaderDropDownMenu" Property="Visibility" Value="Collapsed" />
            </DataTrigger>
        </ControlTemplate.Triggers>
        
    </ControlTemplate>

    <!--PaneHeader Style-->
	<!--x:Key="{telerik:ThemeResourceKey ThemeType=telerik:Office_BlackTheme , ElementType={x:Type dock:PaneHeader}}"-->
	<Style TargetType="dock:PaneHeader" >
	
		<Setter Property="FocusVisualStyle" Value="{x:Null}" />
	
        <Setter Property="Template" Value="{StaticResource PaneHeaderTemplate}" />
        <Setter Property="BorderThickness" Value="{StaticResource PaneHeader_BorderThickness}" />
        <Setter Property="BorderBrush" Value="{StaticResource PaneHeader_BorderBrush}" />
        <Setter Property="Background" Value="{StaticResource PaneHeader_Background}" />
        <Setter Property="Padding" Value="3 0" />

        <Setter Property="dock:InputBindingsManager.InputBindings">
            <Setter.Value>
                <InputBindingCollection>
                    <MouseBinding Command="telerikDocking:RadDockingCommands.PaneHeaderMenuOpen">
                        <MouseBinding.Gesture>
                            <MouseGesture MouseAction="RightClick" />
                        </MouseBinding.Gesture>
                    </MouseBinding>
                </InputBindingCollection>
            </Setter.Value>
        </Setter>
        

    </Style>
    
	
	

	<Style x:Key="PaneGroup_CloseButtonStyle" TargetType="telerik:RadButton">
		<Setter Property="Width" Value="17" />
		<Setter Property="Height" Value="17" />
		<Setter Property="Margin" Value="1" />
		<Setter Property="IsTabStop" Value="False" />
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerik:RadButton">
					<Grid x:Name="LayoutRoot">
						
						<telerikChromes:ButtonChrome telerik:StyleManager.Theme="{StaticResource Theme}" RenderNormal="False" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}" />
						<Path x:Name="BackgroundIcon" Fill="{StaticResource ButtonIconBackground_Normal}" Margin="0 2 0 0" Width="8" Height="7" Data="M0,0 L2,0 2,1 3,1 3,2 5,2 5,1 6,1 6,0 8,0 8,1 7,1 7,2 6,2 6,3 5,3 5,4 6,4 6,5 6,5 7,5 7,6 8,6 8,7 6,7 6,6 5,6 5,5 3,5 3,6 2,6 2,7 0,7 0,6 1,6 1,5 2,5 2,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1 Z" />
						<Path x:Name="ForegroundIcon" Fill="{StaticResource ButtonIconForeground_Normal}" Margin="0 1 0 1" Width="8" Height="7" Data="M0,0 L2,0 2,1 3,1 3,2 5,2 5,1 6,1 6,0 8,0 8,1 7,1 7,2 6,2 6,3 5,3 5,4 6,4 6,5 6,5 7,5 7,6 8,6 8,7 6,7 6,6 5,6 5,5 3,5 3,6 2,6 2,7 0,7 0,6 1,6 1,5 2,5 2,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1 Z" />
					</Grid>
					
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_MouseOver}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_MouseOver}" />
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_Pressed}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_Pressed}" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_Disabled}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_Disabled}" />
						</Trigger>
					</ControlTemplate.Triggers>
					
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="PaneGroup_LeftScrollButtonStyle" TargetType="RepeatButton">
		<Setter Property="Width" Value="17" />
		<Setter Property="Height" Value="17" />
		<Setter Property="Margin" Value="1" />
		<Setter Property="IsTabStop" Value="False" />
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="RepeatButton">
					<Grid x:Name="LayoutRoot">
						
						<telerikChromes:ButtonChrome telerik:StyleManager.Theme="{StaticResource Theme}" RenderNormal="False" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}" />
						<Path x:Name="BackgroundIcon" Fill="{StaticResource ButtonIconBackground_Normal}" Margin="0 2 0 0" Width="7" Height="7" Data="M6,0 L6,7 5,7 5,6 4,6 4,5 3,5 3,4 2,4 2,3 3,3 3,2 4,2 4,1 5,1 5,0 Z" />
						<Path x:Name="ForegroundIcon" Fill="{StaticResource ButtonIconForeground_Normal}" Margin="0 1 0 1" Width="7" Height="7" Data="M6,0 L6,7 5,7 5,6 4,6 4,5 3,5 3,4 2,4 2,3 3,3 3,2 4,2 4,1 5,1 5,0 Z" />
					</Grid>
					
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_MouseOver}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_MouseOver}" />
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_Pressed}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_Pressed}" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_Disabled}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_Disabled}" />
						</Trigger>
					</ControlTemplate.Triggers>
					
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="PaneGroup_RightScrollButtonStyle" TargetType="RepeatButton">
		<Setter Property="Width" Value="17" />
		<Setter Property="Height" Value="17" />
		<Setter Property="Margin" Value="1" />
		<Setter Property="IsTabStop" Value="False" />
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="RepeatButton">
					<Grid x:Name="LayoutRoot">
						
						<telerikChromes:ButtonChrome telerik:StyleManager.Theme="{StaticResource Theme}" RenderNormal="False" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}" />
						<Path x:Name="BackgroundIcon" Fill="{StaticResource ButtonIconBackground_Normal}" Margin="0 2 0 0" Width="7" Height="7" Data="M1,0 L1,7 2,7 2,6 3,6 3,5 4,5 4,4 5,4 5,3 4,3 4,2 3,2 3,1 2,1 2,0 Z" />
						<Path x:Name="ForegroundIcon" Fill="{StaticResource ButtonIconForeground_Normal}" Margin="0 1 0 1" Width="7" Height="7" Data="M1,0 L1,7 2,7 2,6 3,6 3,5 4,5 4,4 5,4 5,3 4,3 4,2 3,2 3,1 2,1 2,0 Z" />
					</Grid>
					
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_MouseOver}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_MouseOver}" />
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_Pressed}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_Pressed}" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_Disabled}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_Disabled}" />
						</Trigger>
					</ControlTemplate.Triggers>
					
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="PaneGroup_PaneMenuButtonStyle" TargetType="ToggleButton">
		<Setter Property="Width" Value="17" />
		<Setter Property="Height" Value="17" />
		<Setter Property="Margin" Value="1" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="ToggleButton">
					<Grid>
						
						<telerikChromes:ButtonChrome telerik:StyleManager.Theme="{StaticResource Theme}" RenderNormal="False" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}" RenderChecked="{TemplateBinding IsChecked}" />
						<Path x:Name="BackgroundIcon" Fill="{StaticResource ButtonIconBackground_Normal}" Margin="0 2 0 0" Width="7" Height="7" Data="M0,2 L7,2 7,3 6,3 6,4 5,4 5,5 4,5 4,6 3,6 3,5 2,5 2,4 1,4 1,3 0,3 Z M0,0 L7,0 7,1 0,1 Z" />
						<Path x:Name="ForegroundIcon" Fill="{StaticResource ButtonIconForeground_Normal}" Margin="0 1 0 1" Width="7" Height="7" Data="M0,2 L7,2 7,3 6,3 6,4 5,4 5,5 4,5 4,6 3,6 3,5 2,5 2,4 1,4 1,3 0,3 Z M0,0 L7,0 7,1 0,1 Z" />
					</Grid>
					
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_MouseOver}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_MouseOver}" />
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_Pressed}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_Pressed}" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_Disabled}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_Disabled}" />
						</Trigger>
					</ControlTemplate.Triggers>
					
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<!--PaneGroup BottomTemplate-->
    <ControlTemplate x:Key="PaneGroupBottomTemplate" TargetType="telerikDocking:RadPaneGroup">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="*" MinHeight="20" />
                <RowDefinition Height="auto" />
            </Grid.RowDefinitions>

            <!--Content-->
            <ContentControl x:Name="ContentBackground" BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    Background="{TemplateBinding Background}"
                    Style="{StaticResource PaneGroup_PaneFrameStyle}">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="*" />
                    </Grid.RowDefinitions>
                    
                    <!--Header-->
					<Border Grid.Row="0" Visibility="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=SelectedItem.PaneHeaderVisibility}" >
						<dock:PaneHeader x:Name="HeaderElement"
								telerik:StyleManager.Theme="{StaticResource Theme}" Grid.Row="0"
								MinHeight="16" SelectedPane="{TemplateBinding SelectedPane}" />
					</Border>
					
					<ContentPresenter x:Name="ContentElement" Grid.Row="1"
                            ContentTemplate="{TemplateBinding SelectedContentTemplate}" />
                </Grid>
            </ContentControl>

            <!--Items-->
            <Border x:Name="ItemsContainer" Grid.Row="1" Margin="0 -5 0 0" Padding="0 0 1 0">
                <ItemsPresenter x:Name="ItemsPresenterElement" />
            </Border>

            <dock:RadGridResizer x:Name="DockResizer" Grid.RowSpan="2" Placement="Left"
                    ShowsPreview="True" Visibility="Collapsed" VerticalAlignment="Stretch"
                    HorizontalAlignment="Left" />

            
        </Grid>

        
        <ControlTemplate.Triggers>
			<Trigger Property="IsPaneHeaderVisible" Value="False">
				<Setter TargetName="HeaderElement" Property="Visibility" Value="Collapsed" />
			</Trigger>
            <Trigger Property="SplitterPosition">
                <Trigger.Value>
                    <Dock>Left</Dock>
                </Trigger.Value>
                <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                <Setter TargetName="DockResizer" Property="Cursor" Value="SizeWE" />
                <Setter TargetName="DockResizer" Property="Width" Value="4" />

                <Setter TargetName="ContentBackground" Property="Margin" Value="4 0 0 0" />
                <Setter TargetName="ItemsContainer" Property="Margin" Value="4 -5 0 0" />
            </Trigger>
            <Trigger Property="SplitterPosition">
                <Trigger.Value>
                    <Dock>Top</Dock>
                </Trigger.Value>
                <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                <Setter TargetName="DockResizer" Property="VerticalAlignment" Value="Top" />
                <Setter TargetName="DockResizer" Property="HorizontalAlignment" Value="Stretch" />
                <Setter TargetName="DockResizer" Property="Cursor" Value="SizeNS" />
                <Setter TargetName="DockResizer" Property="Height" Value="4" />
                <Setter TargetName="DockResizer" Property="system:Grid.RowSpan" Value="1" />
                <Setter TargetName="DockResizer" Property="system:Grid.Row" Value="0" />
                <Setter TargetName="DockResizer" Property="Margin" Value="2 -5 0 0" />
                <Setter TargetName="DockResizer" Property="Placement">
                    <Setter.Value>
                        <Dock>Top</Dock>
                    </Setter.Value>
                </Setter>

                <Setter TargetName="ContentBackground" Property="Margin" Value="0 4 0 0" />
            </Trigger>
            <Trigger Property="SplitterPosition">
                <Trigger.Value>
                    <Dock>Right</Dock>
                </Trigger.Value>
                <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                <Setter TargetName="DockResizer" Property="VerticalAlignment" Value="Top" />
                <Setter TargetName="DockResizer" Property="HorizontalAlignment" Value="Stretch" />
                <Setter TargetName="DockResizer" Property="Cursor" Value="SizeNS" />
                <Setter TargetName="DockResizer" Property="Height" Value="4" />
                <Setter TargetName="DockResizer" Property="system:Grid.RowSpan" Value="1" />
                <Setter TargetName="DockResizer" Property="system:Grid.Row" Value="0" />
                <Setter TargetName="DockResizer" Property="Margin" Value="2 -5 0 0" />
                <Setter TargetName="DockResizer" Property="Placement">
                    <Setter.Value>
                        <Dock>Top</Dock>
                    </Setter.Value>
                </Setter>
            </Trigger>
            <Trigger Property="SplitterPosition">
                <Trigger.Value>
                    <Dock>Bottom</Dock>
                </Trigger.Value>
                <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                <Setter TargetName="DockResizer" Property="VerticalAlignment" Value="Top" />
                <Setter TargetName="DockResizer" Property="HorizontalAlignment" Value="Stretch" />
                <Setter TargetName="DockResizer" Property="Cursor" Value="SizeNS" />
                <Setter TargetName="DockResizer" Property="Height" Value="4" />
                <Setter TargetName="DockResizer" Property="system:Grid.RowSpan" Value="1" />
                <Setter TargetName="DockResizer" Property="system:Grid.Row" Value="0" />
                <Setter TargetName="DockResizer" Property="Margin" Value="2 -5 0 0" />
                <Setter TargetName="DockResizer" Property="Placement">
                    <Setter.Value>
                        <Dock>Top</Dock>
                    </Setter.Value>
                </Setter>
            </Trigger>
            <Trigger Property="IsSingleItem" Value="True">
                <Setter TargetName="ItemsContainer" Property="Visibility" Value="Collapsed" />
            </Trigger>
            <Trigger Property="IsFocused" Value="True">
                <Setter TargetName="HeaderElement" Property="Background" Value="{StaticResource PaneHeader_Background_Focused}" />
            </Trigger>
            <Trigger Property="IsEnabled" Value="False" />
        </ControlTemplate.Triggers>
        
    </ControlTemplate>

    <ControlTemplate x:Key="PaneGroupDocumentTemplate" TargetType="telerikDocking:RadPaneGroup">
        <Grid>
			
			
			<Grid.RowDefinitions>
                <RowDefinition Height="auto" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>

			<!--Content-->
			<ContentControl x:Name="ContentBackground" Grid.Row="1"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    Background="{TemplateBinding Background}"
                    Style="{StaticResource PaneGroup_DocumentFrameStyle}">

				<ContentPresenter x:Name="ContentElement" ContentTemplate="{TemplateBinding SelectedContentTemplate}" />
			</ContentControl>
			
			<!--TabStrip-->
            <Grid Grid.Row="0" x:Name="Header">
                <Grid.ColumnDefinitions>
					<ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="*" />
					<ColumnDefinition Width="Auto" />
					<ColumnDefinition Width="Auto" />
					<ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>

				<RepeatButton x:Name="LeftScrollButtonElement" Style="{StaticResource PaneGroup_LeftScrollButtonStyle}" Grid.Column="0" Visibility="{Binding ComputedHorizontalScrollBarVisibility, ElementName=ScrollViewerElement}" />
									
				<ScrollViewer x:Name="ScrollViewerElement" Grid.Column="1" Margin="0 -2" HorizontalScrollBarVisibility="{Binding (ScrollViewer.HorizontalScrollBarVisibility), RelativeSource={RelativeSource TemplatedParent}}">
					<ScrollViewer.Template>
						<ControlTemplate TargetType="ScrollViewer">
							<ScrollContentPresenter x:Name="ScrollContentPresenter" ContentTemplate="{TemplateBinding ContentTemplate}" Margin="0 0 1 0" />
						</ControlTemplate>
					</ScrollViewer.Template>
					<ItemsPresenter x:Name="ItemsPresenterElement" Margin="0 2" />
				</ScrollViewer>
				
				<RepeatButton x:Name="RightScrollButtonElement" Style="{StaticResource PaneGroup_RightScrollButtonStyle}" Grid.Column="2" Visibility="{Binding ComputedHorizontalScrollBarVisibility, ElementName=ScrollViewerElement}" />

				<ToggleButton x:Name="DropDownButtonElement" Style="{StaticResource PaneGroup_PaneMenuButtonStyle}" Visibility="Collapsed" Grid.Column="3" IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}">
					<telerikNavigation:RadContextMenu.ContextMenu>
						<telerikTabControl:DropDownMenu x:Name="DropDownMenuElement"
								IsOpen="{Binding IsChecked, ElementName=DropDownButtonElement, Mode=Twoway}"
								StaysOpen="False"
								Placement="Bottom"
								ItemTemplate="{TemplateBinding ItemDropDownContentTemplate}"
								ItemTemplateSelector="{TemplateBinding ItemDropDownContentTemplateSelector}"
								DisplayMemberPath="{TemplateBinding DropDownDisplayMemberPath}"
								Style="{TemplateBinding DropDownStyle}">
							
						</telerikTabControl:DropDownMenu>
					</telerikNavigation:RadContextMenu.ContextMenu>
				</ToggleButton>

				<telerik:RadButton x:Name="CloseButton" Grid.Column="4" Style="{StaticResource PaneGroup_CloseButtonStyle}" Command="telerikDocking:RadDockingCommands.Close">

                </telerik:RadButton>
            </Grid>

            <dock:RadGridResizer x:Name="DockResizer" Placement="Left" ShowsPreview="True"
                    Visibility="Collapsed" VerticalAlignment="Stretch" HorizontalAlignment="Left"
                    Grid.RowSpan="2" />
                    
        </Grid>

        
        <ControlTemplate.Triggers>
			<Trigger Property="DropDownDisplayMode" Value="Visible">
				<Setter TargetName="DropDownButtonElement" Property="Visibility" Value="Visible" />
			</Trigger>
			<MultiTrigger>
				<MultiTrigger.Conditions>
					<Condition Property="DropDownDisplayMode" Value="WhenNeeded" />
					<Condition Property="ComputedHorizontalScrollBarVisibility" SourceName="ScrollViewerElement" Value="Visible" />
				</MultiTrigger.Conditions>
				<Setter TargetName="DropDownButtonElement" Property="Visibility" Value="Visible" />
			</MultiTrigger>
            <Trigger Property="SplitterPosition">
                <Trigger.Value>
                    <Dock>Left</Dock>
                </Trigger.Value>
                <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                <Setter TargetName="DockResizer" Property="Cursor" Value="SizeWE" />
                <Setter TargetName="DockResizer" Property="Width" Value="4" />
                <Setter TargetName="ItemsPresenterElement" Property="Margin" Value="0" />

                <Setter TargetName="ContentBackground" Property="Margin" Value="4 0 0 0" />
                <Setter TargetName="ItemsPresenterElement" Property="Margin" Value="4 0 0 0" />
            </Trigger>
            <Trigger Property="SplitterPosition">
                <Trigger.Value>
                    <Dock>Top</Dock>
                </Trigger.Value>
                <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                <Setter TargetName="DockResizer" Property="VerticalAlignment" Value="Top" />
                <Setter TargetName="DockResizer" Property="HorizontalAlignment" Value="Stretch" />
                <Setter TargetName="DockResizer" Property="Cursor" Value="SizeNS" />
                <Setter TargetName="DockResizer" Property="Height" Value="4" />
                <Setter TargetName="DockResizer" Property="system:Grid.RowSpan" Value="1" />
                <Setter TargetName="DockResizer" Property="system:Grid.Row" Value="0" />
                <Setter TargetName="DockResizer" Property="Margin" Value="2 0 0 0" />
                <Setter TargetName="DockResizer" Property="Placement">
                    <Setter.Value>
                        <Dock>Top</Dock>
                    </Setter.Value>
                </Setter>

                <Setter TargetName="Header" Property="Margin" Value="0 4 0 0" />
            </Trigger>
            <Trigger Property="SplitterPosition">
                <Trigger.Value>
                    <Dock>Right</Dock>
                </Trigger.Value>
                <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                <Setter TargetName="DockResizer" Property="VerticalAlignment" Value="Top" />
                <Setter TargetName="DockResizer" Property="HorizontalAlignment" Value="Stretch" />
                <Setter TargetName="DockResizer" Property="Height" Value="4" />
                <Setter TargetName="DockResizer" Property="Cursor" Value="SizeNS" />
                <Setter TargetName="DockResizer" Property="system:Grid.RowSpan" Value="1" />
                <Setter TargetName="DockResizer" Property="system:Grid.Row" Value="0" />
                <Setter TargetName="DockResizer" Property="Margin" Value="2 4 0 0" />
                <Setter TargetName="DockResizer" Property="Placement">
                    <Setter.Value>
                        <Dock>Top</Dock>
                    </Setter.Value>
                </Setter>
            </Trigger>
            <Trigger Property="SplitterPosition">
                <Trigger.Value>
                    <Dock>Bottom</Dock>
                </Trigger.Value>
                <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                <Setter TargetName="DockResizer" Property="VerticalAlignment" Value="Top" />
                <Setter TargetName="DockResizer" Property="HorizontalAlignment" Value="Stretch" />
                <Setter TargetName="DockResizer" Property="Cursor" Value="SizeNS" />
                <Setter TargetName="DockResizer" Property="Height" Value="4" />
                <Setter TargetName="DockResizer" Property="system:Grid.RowSpan" Value="1" />
                <Setter TargetName="DockResizer" Property="system:Grid.Row" Value="0" />
                <Setter TargetName="DockResizer" Property="Margin" Value="2 4 0 0" />
                <Setter TargetName="DockResizer" Property="Placement">
                    <Setter.Value>
                        <Dock>Top</Dock>
                    </Setter.Value>
                </Setter>
            </Trigger>
        </ControlTemplate.Triggers>
        

    </ControlTemplate>

    <!--PaneGroup Style-->
	<!--x:Key="{telerik:ThemeResourceKey ThemeType=
        telerik:Office_BlackTheme , ElementType={x:Type telerikDocking:RadPaneGroup}}"-->

	<Style TargetType="telerikDocking:RadPaneGroup">
		
		<Setter Property="FocusVisualStyle" Value="{x:Null}" />
		<Setter Property="IsTabStop" Value="False" />
	
        <Setter Property="Template" Value="{StaticResource PaneGroupBottomTemplate}" />
        <Setter Property="BottomTemplate" Value="{StaticResource PaneGroupBottomTemplate}" />
        <Setter Property="TopTemplate" Value="{StaticResource PaneGroupDocumentTemplate}" />
        <Setter Property="DocumentHostTemplate" Value="{StaticResource PaneGroupDocumentTemplate}" />
        <Setter Property="LeftTemplate" Value="{StaticResource PaneGroupBottomTemplate}" />
        <Setter Property="RightTemplate" Value="{StaticResource PaneGroupBottomTemplate}" />
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <telerikNavigationPrimitives:TabStripPanel />
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>

        <Setter Property="BorderThickness" Value="{StaticResource PaneGroup_BorderThickness}" />
        <Setter Property="BorderBrush" Value="{StaticResource PaneGroup_BorderBrush}" />
        <Setter Property="Background" Value="{StaticResource PaneGroup_Background}" />

        <Setter Property="HorizontalAlignment" Value="Stretch" />
        <Setter Property="VerticalAlignment" Value="Stretch" />

        <Setter Property="Align" Value="Left" />
        <Setter Property="TabStripPlacement" Value="Bottom" />
        <Setter Property="AllTabsEqualHeight" Value="True" />
        <Setter Property="BackgroundVisibility" Value="Visible" />
        <Setter Property="MinWidth" Value="15" />
        <Setter Property="MinHeight" Value="15" />
    </Style>
    
	
	<!-- RadTabControl TopTemplate-->
	<ControlTemplate x:Key="AutoHideAreaTopTemplate" TargetType="dock:AutoHideArea">
		<Grid>
			<Grid.RowDefinitions>
				<RowDefinition Height="auto" />
				<RowDefinition Height="*" />
			</Grid.RowDefinitions>

			<!--TabStrip-->
			<ItemsPresenter x:Name="ItemsPresenterElement" Grid.Row="0"/>

			<!--Content-->
			<Popup
				x:Name="ContentPopup"
				IsOpen="False"
				Grid.Row="1"
				
				AllowsTransparency="True"
				 >

				<Grid>
					<Grid x:Name="PopupChild" MinWidth="50" MinHeight="50">
						<Grid.RowDefinitions>
							<RowDefinition Height="*" />
							<RowDefinition Height="Auto" />
						</Grid.RowDefinitions>

						<!--Content-->
						<ContentControl
							x:Name="ContentBackground"
							Grid.Row="0"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							Background="{TemplateBinding Background}"
							Style="{StaticResource PaneGroup_PaneFrameStyle}">

							<Grid>
								<Grid.RowDefinitions>
									<RowDefinition Height="Auto" />
									<RowDefinition Height="*" />
								</Grid.RowDefinitions>

								<dock:PaneHeader
									x:Name="HeaderElement"
                                    Visibility="{Binding SelectedPane.PaneHeaderVisibility, RelativeSource={RelativeSource TemplatedParent}}"
									Grid.Row="0"
									MinHeight="16"
									SelectedPane="{TemplateBinding SelectedPane}"
									telerik:StyleManager.Theme="{StaticResource Theme}">
								</dock:PaneHeader>
								<ContentPresenter
									x:Name="ContentElement"
									Grid.Row="1"
									ContentTemplate="{TemplateBinding SelectedContentTemplate}">
								</ContentPresenter>
							</Grid>
						</ContentControl>

						<!--Resizer-->
						<dock:RadGridResizer
							x:Name="Resizer"
							telerik:StyleManager.Theme="{StaticResource Theme}"
							Placement="Bottom"
							Grid.Row="1"
							Height="4"
							HorizontalAlignment="Stretch" VerticalAlignment="Bottom"
							Cursor="SizeNS" />
					</Grid>
				</Grid>
			</Popup>

		</Grid>
	</ControlTemplate>

	<!-- RadTabControl Bottom Template-->
	<ControlTemplate x:Key="AutoHideAreaBottomTemplate" TargetType="dock:AutoHideArea">
		<Grid>
			<Grid.RowDefinitions>
				<RowDefinition Height="*" />
				<RowDefinition Height="auto" />
			</Grid.RowDefinitions>

			<!--TabStrip-->
			<ItemsPresenter x:Name="ItemsPresenterElement" Grid.Row="1"/>

			<!--Content-->
			<Popup x:Name="ContentPopup" IsOpen="False" 			   
				
				AllowsTransparency="True"
				Placement="Top"
				 >
				<Grid>
					<Grid x:Name="PopupChild" MinWidth="50" MinHeight="50">
						<Grid.RowDefinitions>
							<RowDefinition Height="Auto" />
							<RowDefinition Height="*" />
						</Grid.RowDefinitions>
						
						<!--Resizer-->
						<dock:RadGridResizer
							x:Name="Resizer"
							telerik:StyleManager.Theme="{StaticResource Theme}"
							Grid.Row="0"
							Placement="Top"
							HorizontalAlignment="Stretch" VerticalAlignment="Top"
							Height="4"
							Cursor="SizeNS" />
						
						<!--Content-->
						<ContentControl
							x:Name="ContentBackground"
							Grid.Row="1"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							Background="{TemplateBinding Background}"
							Style="{StaticResource PaneGroup_PaneFrameStyle}">

							<Grid>
								<Grid.RowDefinitions>
									<RowDefinition Height="Auto" />
									<RowDefinition Height="*" />
								</Grid.RowDefinitions>

								<dock:PaneHeader
									x:Name="HeaderElement"
                                    Visibility="{Binding SelectedPane.PaneHeaderVisibility, RelativeSource={RelativeSource TemplatedParent}}"
									Grid.Row="0"
									MinHeight="16"
									SelectedPane="{TemplateBinding SelectedPane}"
									telerik:StyleManager.Theme="{StaticResource Theme}">
								</dock:PaneHeader>
								<ContentPresenter
									x:Name="ContentElement"
									Grid.Row="1"
									ContentTemplate="{TemplateBinding SelectedContentTemplate}">
								</ContentPresenter>
							</Grid>
						</ContentControl>
					</Grid>
				</Grid>
			</Popup>	
		</Grid>
	</ControlTemplate>

	<!-- RadTabControl LeftTemplate-->
	<ControlTemplate x:Key="AutoHideAreaLeftTemplate" TargetType="dock:AutoHideArea">
		<Grid>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="Auto" />
				<ColumnDefinition Width="*" />
			</Grid.ColumnDefinitions>

			<!--TabStrip-->
			<ItemsPresenter x:Name="ItemsPresenterElement" />

			<!--Content-->
			
			<Popup IsOpen="False" x:Name="ContentPopup" Grid.Column="1"
				
				AllowsTransparency="True"
				Placement="Right"
				 >
				<Grid>
					<Grid x:Name="PopupChild" MinWidth="50" MinHeight="50">
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="*" />
							<ColumnDefinition Width="Auto" />
						</Grid.ColumnDefinitions>
						<!--Content-->
						<ContentControl
							x:Name="ContentBackground"
							Grid.Column="0"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							Background="{TemplateBinding Background}"
							Style="{StaticResource PaneGroup_PaneFrameStyle}">

							<Grid>
								<Grid.RowDefinitions>
									<RowDefinition Height="Auto" />
									<RowDefinition Height="*" />
								</Grid.RowDefinitions>

								<dock:PaneHeader
									x:Name="HeaderElement"
                                    Visibility="{Binding SelectedPane.PaneHeaderVisibility, RelativeSource={RelativeSource TemplatedParent}}"
									Grid.Row="0"
									MinHeight="16"
									SelectedPane="{TemplateBinding SelectedPane}"
									telerik:StyleManager.Theme="{StaticResource Theme}">
								</dock:PaneHeader>
								<ContentPresenter
									x:Name="ContentElement"
									Grid.Row="1"
									ContentTemplate="{TemplateBinding SelectedContentTemplate}">
								</ContentPresenter>
							</Grid>
						</ContentControl>
						<!--Resizer-->
						<dock:RadGridResizer
							x:Name="Resizer"
							telerik:StyleManager.Theme="{StaticResource Theme}"
							Grid.Column="1"
							Placement="Right"
							HorizontalAlignment="Right" VerticalAlignment="Stretch"
							Width="4"  
							Cursor="SizeWE" />
					</Grid>
				</Grid>
			</Popup>
			
		</Grid>
	</ControlTemplate>

	<!-- RadTabControl RightTemplate-->
	<ControlTemplate x:Key="AutoHideAreaRightTemplate" TargetType="dock:AutoHideArea">
		<Grid>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="Auto" />
			</Grid.ColumnDefinitions>

			<!--TabStrip-->
			<ItemsPresenter x:Name="ItemsPresenterElement" Grid.Column="1"/>

			<!--Content-->

			<Popup IsOpen="False" x:Name="ContentPopup"			   
				
				AllowsTransparency="True"
				Placement="Left"
				 >
				<Grid>
					<Grid x:Name="PopupChild" MinWidth="50" MinHeight="50">
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="Auto" />
							<ColumnDefinition Width="*" />
						</Grid.ColumnDefinitions>
						
						<!--Content-->
						<ContentControl
							x:Name="ContentBackground"
							Grid.Column="1"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							Background="{TemplateBinding Background}"
							Style="{StaticResource PaneGroup_PaneFrameStyle}">

							<Grid>
								<Grid.RowDefinitions>
									<RowDefinition Height="Auto" />
									<RowDefinition Height="*" />
								</Grid.RowDefinitions>

								<dock:PaneHeader
									x:Name="HeaderElement"
                                    Visibility="{Binding SelectedPane.PaneHeaderVisibility, RelativeSource={RelativeSource TemplatedParent}}"
									Grid.Row="0"
									MinHeight="16"
									SelectedPane="{TemplateBinding SelectedPane}"
									telerik:StyleManager.Theme="{StaticResource Theme}">
								</dock:PaneHeader>
								<ContentPresenter
									x:Name="ContentElement"
									Grid.Row="1"
									ContentTemplate="{TemplateBinding SelectedContentTemplate}">
								</ContentPresenter>
							</Grid>
						</ContentControl>
						<dock:RadGridResizer
							x:Name="Resizer"
							telerik:StyleManager.Theme="{StaticResource Theme}"
							Grid.Column="0"
							Placement="Left"
							HorizontalAlignment="Left" VerticalAlignment="Stretch"
							Width="4"
							Cursor="SizeWE" />
					</Grid>
				</Grid>
			</Popup>

		</Grid>

	</ControlTemplate>

	<!--AutoHideArea Style-->
	<!-- RadTabControl -->
	<!--x:Key="{telerik:ThemeResourceKey ThemeType=
		telerik:Office_BlackTheme , ElementType={x:Type dock:AutoHideArea}}"-->
	<Style TargetType="dock:AutoHideArea">
		
		<Setter Property="HorizontalContentAlignment" Value="Center" />
		<Setter Property="VerticalContentAlignment" Value="Center" />
		<Setter Property="IsEnabled" Value="True" />
		<Setter Property="IsTabStop" Value="True" />

		<Setter Property="BorderThickness" Value="{StaticResource PaneGroup_BorderThickness}" />
		<Setter Property="BorderBrush" Value="{StaticResource PaneGroup_BorderBrush}" />
		<Setter Property="Background" Value="{StaticResource PaneGroup_Background}" />

		<Setter Property="ItemsPanel">
			<Setter.Value>
				<ItemsPanelTemplate>
					<telerikNavigationPrimitives:TabStripPanel x:Name="TabStripPanel" />
				</ItemsPanelTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="ReorderTabRows" Value="False" />
		
		<Setter Property="Template" Value="{StaticResource AutoHideAreaTopTemplate}" />
		<Setter Property="TopTemplate" Value="{StaticResource AutoHideAreaTopTemplate}" />
		<Setter Property="BottomTemplate" Value="{StaticResource AutoHideAreaBottomTemplate}" />
		<Setter Property="RightTemplate" Value="{StaticResource AutoHideAreaRightTemplate}" />
		<Setter Property="LeftTemplate" Value="{StaticResource AutoHideAreaLeftTemplate}" />
	</Style>
	
	
	<!-- ToolWindow -->
	

	<Style x:Key="ToolWindow_CloseButtonStyle" TargetType="telerik:RadButton">
		<Setter Property="Width" Value="17" />
		<Setter Property="Height" Value="17" />
		<Setter Property="Margin" Value="{StaticResource HeaderButtonMargin}" />
		<Setter Property="IsTabStop" Value="False" />
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerik:RadButton">
					<Grid x:Name="LayoutRoot">
						
						<telerikChromes:ButtonChrome telerik:StyleManager.Theme="{StaticResource Theme}" RenderNormal="False" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}" />
						<Path x:Name="BackgroundIcon" Fill="{StaticResource ButtonIconBackground_Normal}" Margin="0 2 0 0" Width="8" Height="7" Data="M0,0 L2,0 2,1 3,1 3,2 5,2 5,1 6,1 6,0 8,0 8,1 7,1 7,2 6,2 6,3 5,3 5,4 6,4 6,5 6,5 7,5 7,6 8,6 8,7 6,7 6,6 5,6 5,5 3,5 3,6 2,6 2,7 0,7 0,6 1,6 1,5 2,5 2,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1 Z" />
						<Path x:Name="ForegroundIcon" Fill="{StaticResource ButtonIconForeground_Normal}" Margin="0 1 0 1" Width="8" Height="7" Data="M0,0 L2,0 2,1 3,1 3,2 5,2 5,1 6,1 6,0 8,0 8,1 7,1 7,2 6,2 6,3 5,3 5,4 6,4 6,5 6,5 7,5 7,6 8,6 8,7 6,7 6,6 5,6 5,5 3,5 3,6 2,6 2,7 0,7 0,6 1,6 1,5 2,5 2,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1 Z" />
					</Grid>
					
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_MouseOver}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_MouseOver}" />
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_Pressed}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_Pressed}" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="ForegroundIcon" Property="Fill" Value="{StaticResource ButtonIconForeground_Disabled}" />
							<Setter TargetName="BackgroundIcon" Property="Fill" Value="{StaticResource ButtonIconBackground_Disabled}" />
						</Trigger>
					</ControlTemplate.Triggers>
					
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<!--ToolWindow Style-->
	<!--x:Key="{telerik:ThemeResourceKey ThemeType=
        telerik:Office_BlackTheme , ElementType={x:Type dock:ToolWindow}}"-->

	<Style TargetType="dock:ToolWindow">
	
		<Setter Property="FocusVisualStyle" Value="{x:Null}" />

        <Setter Property="MinHeight" Value="24" />
        <Setter Property="MinWidth" Value="85" />
        <Setter Property="IsTabStop" Value="False" />

        <Setter Property="Background" Value="{StaticResource ToolWindow_Background}" />
        <Setter Property="BorderBrush" Value="{StaticResource ToolWindow_OuterBorderBrush}" />
        <Setter Property="BorderThickness" Value="1" />

        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="dock:ToolWindow">
                    <Grid x:Name="VisualRoot" Focusable="False">
                        <telerikChromes:ShadowChrome telerik:StyleManager.Theme="{StaticResource Theme}" />
                        <Border Background="Transparent">
                            <Border CornerRadius="4" BorderThickness="1" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}">
                                <Border CornerRadius="3" BorderThickness="1" BorderBrush="{StaticResource ToolWindow_InnerBorderBrush}">
                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="*" />
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="*" />
                                            <ColumnDefinition Width="Auto" />
                                        </Grid.ColumnDefinitions>
                                        <Border x:Name="HeaderElement" Grid.Row="0" Grid.Column="0" Background="Transparent" Padding="3 1">
                                            

                                            
                                            <Border.InputBindings>
                                                <MouseBinding Command="telerikDocking:RadDockingCommands.PaneHeaderMenuOpen">
                                                    <MouseBinding.Gesture>
                                                        <MouseGesture MouseAction="RightClick" />
                                                    </MouseBinding.Gesture>
                                                </MouseBinding>
                                            </Border.InputBindings>
                                            
                                            <ContentPresenter x:Name="Header" Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}" />
                                        </Border>
                                        <telerik:RadButton x:Name="CloseButton" Style="{StaticResource ToolWindow_CloseButtonStyle}" Grid.Row="0" Grid.Column="1" Margin="1 1 3 1" Command="telerik:WindowCommands.Close" />
                                        <ContentPresenter x:Name="Content" Grid.Row="1" Grid.ColumnSpan="2" Content="{TemplateBinding Content}" Margin="3 0 3 3"/>
                                    </Grid>
                                </Border>
                            </Border>
                        </Border>

                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    
	
</ResourceDictionary>