<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:vistaCopy="clr-namespace:VistaThemeCopy"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
	xmlns:telerik="clr-namespace:Telerik.Windows.Controls;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:telerikToolBar="clr-namespace:Telerik.Windows.Controls.ToolBar;assembly=Telerik.Windows.Controls.Navigation"
	>
    
    
	<LinearGradientBrush x:Key="RadToolBar_InnerBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFD5E2EC" Offset="0"/>
		<GradientStop Color="#FF8BB8DE" Offset="1"/>
		<GradientStop Color="#FF95BADD" Offset="0.43"/>
		<GradientStop Color="#FFBAD2E4" Offset="0.42"/>
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="RadToolBar_InnerBackgroundV" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FFD5E2EC" Offset="0" />
		<GradientStop Color="#FF8BB8DE" Offset="1" />
		<GradientStop Color="#FF95BADD" Offset="0.43" />
		<GradientStop Color="#FFBAD2E4" Offset="0.42" />
	</LinearGradientBrush>

	<SolidColorBrush x:Key="Background" Color="LightBlue" />
	<SolidColorBrush x:Key="GripBackgroundX" Color="#FF808080" />
	<SolidColorBrush x:Key="DropdownBackgroundX" Color="#FF808080" />
	<SolidColorBrush x:Key="ContentBackgroundX" Color="#FFB0B0B0" />
	<SolidColorBrush x:Key="OverflowBorderOuterBrush" Color="#FF000000" />
	<SolidColorBrush x:Key="OverflowBorderInnerBrush" Color="#FF9199A4" />
	<SolidColorBrush x:Key="OverflowContentBackgroundBrush" Color="#FFF6F6F6" />
	<Color x:Key="DropdownColorNormal">#FF808080</Color>
	<Color x:Key="DropdownColorHover">#FFFF8080</Color>
	<Color x:Key="DropdownColorPressed">#FFAAaaFF</Color>
	<Color x:Key="DropdownColorChecked">#FF4040FF</Color>
	<Color x:Key="ArrowColorNormal">#FF111111</Color>
	<Color x:Key="ArrowColorHover">#FFffFFff</Color>
	<Color x:Key="ArrowColorPressed">#FF77FFff</Color>
	<Color x:Key="ArrowColorChecked">#FF00FFff</Color>

	<LinearGradientBrush x:Key="RadToolBarButtonOverbackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFA7D9F5" Offset="1"/>
		<GradientStop Color="#FFEAF6FD" Offset="0"/>
		<GradientStop Color="#FFBEE6FD" Offset="0.51"/>
		<GradientStop Color="#FFD9F0FC" Offset="0.5"/>
	</LinearGradientBrush>

	<SolidColorBrush x:Key="RadToolBarButtonOverborder" Color="#FF3C7FB1" />

	<LinearGradientBrush x:Key="RadToolBarButtonPressedbackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FF68B3DB" Offset="1"/>
		<GradientStop Color="#FFE5F4FC" Offset="0"/>
		<GradientStop Color="#FF98D1EF" Offset="0.51"/>
		<GradientStop Color="#FFC4E5F6" Offset="0.5"/>
	</LinearGradientBrush>

	<SolidColorBrush x:Key="RadToolBarButtonPressedborder" Color="#FF2C628B" />

	<Style TargetType="telerikNavigation:RadToolBarSeparator"
		
		x:Key="{telerik:ThemeResourceKey ThemeType=
		vistaCopy:VistaThemeCopyTheme , ElementType=telerikNavigation:RadToolBarSeparator}"
		
		>
		<Setter Property="Background" Value="#80FFFFFF" />
		<Setter Property="BorderBrush" Value="#50000000" />
		<Setter Property="Margin" Value="2" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerikNavigation:RadToolBarSeparator">
					<Grid MinWidth="2" MinHeight="2"
						 SnapsToDevicePixels="true" 
						>
						<Rectangle Margin="1,1,0,0" Fill="{TemplateBinding BorderBrush}" />
						<Rectangle Margin="0,0,1,1" Fill="{TemplateBinding Background}" />
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="ToolBarSeparator" TargetType="telerikNavigation:RadToolBarSeparator">
		<Setter Property="Background" Value="#80FFFFFF" />
		<Setter Property="BorderBrush" Value="#50000000" />
		<Setter Property="Margin" Value="2" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerikNavigation:RadToolBarSeparator">
					<Grid MinWidth="2" MinHeight="2"
						 SnapsToDevicePixels="true" 
						>
						<Rectangle Margin="1,1,0,0" Fill="{TemplateBinding BorderBrush}" />
						<Rectangle Margin="0,0,1,1" Fill="{TemplateBinding Background}" />
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="ToolBarTextBlock" TargetType="TextBlock">
		<Setter Property="FontSize" Value="11" />
		<Setter Property="Foreground" Value="Black" />
		<Setter Property="FontStyle" Value="Normal" />
		<Setter Property="FontWeight" Value="Normal" />
		<Setter Property="VerticalAlignment" Value="Center" />
		<Setter Property="Margin" Value="3 1 3 0" />
	</Style>

	<Style x:Key="ToolBarTextBox" TargetType="TextBox">
		<Setter Property="FontSize" Value="11" />
		<Setter Property="Foreground" Value="Black" />
		<Setter Property="FontStyle" Value="Normal" />
		<Setter Property="FontWeight" Value="Normal" />
		<Setter Property="VerticalAlignment" Value="Center" />
		<Setter Property="Margin" Value="3 2" />
		<Setter Property="BorderBrush" Value="#FFFFFFFF" />
		<Setter Property="BorderThickness" Value="0" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="TextBox">
					<Grid x:Name="RootElement">

						<Border x:Name="Border" BorderThickness="{TemplateBinding BorderThickness}"
								Opacity="1" Background="{TemplateBinding Background}"
								BorderBrush="{TemplateBinding BorderBrush}">
							<Grid>
								<Border x:Name="ReadOnlyVisualElement" Background="#FF3C7FB1" Opacity="0" />
								<Border x:Name="MouseOverBorder" BorderThickness="1" BorderBrush="#FF3C7FB1" Margin="-1" CornerRadius="2">


									<ScrollViewer x:Name="PART_ContentHost"

										Padding="{TemplateBinding Padding}" BorderThickness="0" IsTabStop="False" />
								</Border>
							</Grid>
						</Border>
						<Border x:Name="DisabledVisualElement" Background="#A5F7F7F7" BorderBrush="#A5F7F7F7" BorderThickness="{TemplateBinding BorderThickness}" Opacity="0" IsHitTestVisible="False" />
						<Border x:Name="FocusVisualElement" BorderBrush="#FF6DBDD1" BorderThickness="{TemplateBinding BorderThickness}" Margin="1" Opacity="0" IsHitTestVisible="False" />
					</Grid>

					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="TextBoxMouseOverStoryboard">
									<Storyboard>
										<ColorAnimation
											Storyboard.TargetName="MouseOverBorder" To="#FF2C628B" Duration="0"
											Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" />
									</Storyboard>
								</BeginStoryboard>
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<StopStoryboard BeginStoryboardName="TextBoxMouseOverStoryboard" />
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="True">
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="0" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="1" />
						</Trigger>
						<Trigger Property="IsReadOnly" Value="True">
							<Setter TargetName="ReadOnlyVisualElement" Property="Opacity" Value="1" />
						</Trigger>
						<Trigger Property="IsReadOnly" Value="False">
							<Setter TargetName="ReadOnlyVisualElement" Property="Opacity" Value="0" />
						</Trigger>
						<Trigger Property="IsFocused" Value="True">
							<Setter TargetName="FocusVisualElement" Property="Opacity" Value="1.0" />
						</Trigger>
						<Trigger Property="IsFocused" Value="False">
							<Setter TargetName="FocusVisualElement" Property="Opacity" Value="0" />
						</Trigger>
					</ControlTemplate.Triggers>

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

	<Style x:Key="ToolBarButton" TargetType="Button">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="Button">
					<Grid>

						<Rectangle x:Name="BackgroundGradient" RadiusX="2" RadiusY="2" />
						<ContentPresenter x:Name="Content"
								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
								Margin="{TemplateBinding Padding}"
								VerticalAlignment="Center"
								Content="{TemplateBinding Content}"
								ContentTemplate="{TemplateBinding ContentTemplate}" />
					</Grid>

					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter TargetName="BackgroundGradient" Property="Stroke" Value="{StaticResource RadToolBarButtonOverborder}" />
							<Setter TargetName="BackgroundGradient" Property="Fill" Value="{StaticResource RadToolBarButtonOverbackground}" />
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter TargetName="BackgroundGradient" Property="Stroke" Value="{StaticResource RadToolBarButtonPressedborder}" />
							<Setter TargetName="BackgroundGradient" Property="Fill" Value="{StaticResource RadToolBarButtonPressedbackground}" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="True">
							<Setter TargetName="Content" Property="Opacity" Value="1" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="Content" Property="Opacity" Value="0.5" />
						</Trigger>
					</ControlTemplate.Triggers>

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

	<Style TargetType="ToggleButton" x:Key="ToolBarToggleButton">
		<Setter Property="Margin" Value="1"></Setter>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="ToggleButton">
					<Grid>

						<Rectangle x:Name="CheckedGradient" RadiusX="2" RadiusY="2" />
						<Rectangle x:Name="MoseOverGradient" RadiusX="2" RadiusY="2" />
						<ContentPresenter x:Name="contentPresenter"
								Content="{TemplateBinding Content}"
								ContentTemplate="{TemplateBinding ContentTemplate}"
								VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
								Margin="{TemplateBinding Padding}" />
						<Rectangle x:Name="DisabledVisual" Visibility="Collapsed" Fill="#99FFFFFF" />
					</Grid>

					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter TargetName="MoseOverGradient" Property="Stroke" Value="{StaticResource RadToolBarButtonOverborder}" />
							<Setter TargetName="MoseOverGradient" Property="Fill" Value="{StaticResource RadToolBarButtonOverbackground}" />
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter TargetName="MoseOverGradient" Property="Stroke" Value="{StaticResource RadToolBarButtonPressedborder}" />
							<Setter TargetName="MoseOverGradient" Property="Fill" Value="{StaticResource RadToolBarButtonPressedbackground}" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="True">
							<Setter TargetName="DisabledVisual" Property="Visibility" Value="Collapsed" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="DisabledVisual" Property="Visibility" Value="Visible" />
						</Trigger>
						<Trigger Property="IsChecked" Value="True">
							<Setter TargetName="CheckedGradient" Property="Stroke" Value="{StaticResource RadToolBarButtonPressedborder}" />
							<Setter TargetName="CheckedGradient" Property="Fill" Value="{StaticResource RadToolBarButtonPressedbackground}" />
						</Trigger>
					</ControlTemplate.Triggers>

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

	<Style TargetType="CheckBox" x:Key="ToolBarCheckBox">
		<Setter Property="Background" Value="#FF448DCA" />
		<Setter Property="Foreground" Value="#FF000000" />
		<Setter Property="HorizontalContentAlignment" Value="Left" />
		<Setter Property="VerticalContentAlignment" Value="Center" />
		<Setter Property="VerticalAlignment" Value="Center" />
		<Setter Property="Padding" Value="4,1,0,0" />
		<Setter Property="BorderThickness" Value="1" />
		<Setter Property="BorderBrush" Value="#FF979898" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="CheckBox">
					<Grid>
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="16" />
							<ColumnDefinition Width="*" />
						</Grid.ColumnDefinitions>

						<Grid HorizontalAlignment="Left" VerticalAlignment="Center">
							<Rectangle x:Name="Background" Width="14" Height="14" RadiusX="0"
									RadiusY="0" Stroke="{TemplateBinding BorderBrush}"
									StrokeThickness="{TemplateBinding BorderThickness}"
									Fill="#FFEEEEEE" Margin="1" />
							<Rectangle x:Name="BackgroundOverlay" Fill="#FFDAF7FA" Opacity="0"
									Width="14" Height="14" RadiusX="0" RadiusY="0"
									StrokeThickness="1" Margin="1" Stroke="#FF5585A2" />
							<Rectangle x:Name="BackgroundPressed" Fill="#FFA7E9F0" Opacity="0"
									Width="14" Height="14" RadiusX="0" RadiusY="0"
									StrokeThickness="1" Margin="1" Stroke="#FF1C5578" />
							<Rectangle x:Name="BoxMiddleBackground" Width="10" Height="10"
									RadiusX="0" RadiusY="0" Fill="{TemplateBinding Background}"
									Stroke="#00000000" StrokeThickness="1" />
							<Rectangle x:Name="BoxMiddle" Width="10" Height="10" RadiusX="0"
									RadiusY="0" StrokeThickness="1">
								<Rectangle.Stroke>
									<LinearGradientBrush EndPoint="0.854,0.854"
											StartPoint="0.146,0.146">
										<GradientStop Color="#FF9B9B9B" Offset="0" />
										<GradientStop Color="#FFE6E6E8" Offset="1" />
									</LinearGradientBrush>
								</Rectangle.Stroke>
								<Rectangle.Fill>
									<LinearGradientBrush EndPoint="0.854,0.854"
											StartPoint="0.146,0.146">
										<GradientStop Color="#FFBABFC6" Offset="0" />
										<GradientStop Color="#FFFFFFFF" Offset="1" />
									</LinearGradientBrush>
								</Rectangle.Fill>
							</Rectangle>
							<Rectangle x:Name="BoxMiddleLine" Width="10" Height="10" RadiusX="0"
									RadiusY="0" Stroke="{TemplateBinding BorderBrush}"
									StrokeThickness="1" Opacity=".2" />
							<Path x:Name="CheckIcon" Margin="0,1,0,1.5" Stretch="Fill" Opacity="0"
									Width="9" Height="8" Stroke="#FF1C5578" StrokeThickness="2"
									Data="M32.192282,77.371554 L34.688632,80.304322 38.863374,72.720928" />
							<Rectangle x:Name="IndeterminateIcon" Height="2" Fill="#FF1C5578"
									Opacity="0" Width="6" />
							<Rectangle x:Name="DisabledVisualElement" RadiusX="0" RadiusY="0"
									Width="14" Height="14" Opacity="0" Fill="#FFFFFFFF" />
							<Rectangle x:Name="ContentFocusVisualElement" RadiusX="0" RadiusY="0"
									Stroke="#FF6DBDD1" StrokeThickness="0" Opacity="0"
									IsHitTestVisible="false" Width="16" Height="16" />
						</Grid>
						<ContentPresenter Grid.Column="1" x:Name="contentPresenter"
								Content="{TemplateBinding Content}"
								ContentTemplate="{TemplateBinding ContentTemplate}"
								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
								VerticalAlignment="Center"
								Margin="{TemplateBinding Padding}" />
					</Grid>

					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="CheckBoxMouseOverStoryboard">
									<Storyboard>
										<DoubleAnimation Storyboard.TargetName="BackgroundOverlay"
												Storyboard.TargetProperty="Opacity" Duration="0"
												To="1" />
										<DoubleAnimation Storyboard.TargetName="BoxMiddleBackground"
												Storyboard.TargetProperty="Opacity" Duration="0"
												To="1" />
										<ColorAnimation Storyboard.TargetName="BoxMiddle" Duration="0" To="#FFE5F6FD"
											Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" />
										<ColorAnimation Storyboard.TargetName="BoxMiddle" Duration="0" To="#FF94CFF5"
											Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" />
										<ObjectAnimationUsingKeyFrames
											Storyboard.TargetName="BoxMiddle" Storyboard.TargetProperty="Stroke">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<LinearGradientBrush EndPoint="0.854,0.854" StartPoint="0.146,0.146">
														<GradientStop Color="#FF5DBBF9" Offset="0" />
														<GradientStop Color="#FFD0EDFC" Offset="1" />
													</LinearGradientBrush>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</BeginStoryboard>
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<StopStoryboard BeginStoryboardName="CheckBoxMouseOverStoryboard" />
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="CheckBoxIsPressedStoryboard">
									<Storyboard>
										<DoubleAnimation Storyboard.TargetName="BackgroundPressed"
												Storyboard.TargetProperty="Opacity" Duration="0"
												To="1" />
										<DoubleAnimation Storyboard.TargetName="BoxMiddleBackground"
												Storyboard.TargetProperty="Opacity" Duration="0"
												To="1" />
										<ColorAnimation Storyboard.TargetName="BoxMiddle" Duration="0" To="#FF68B7EA"
											Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" />
										<ColorAnimation Storyboard.TargetName="BoxMiddle" Duration="0" To="#FFBEE8F7"
											Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" />
										<ObjectAnimationUsingKeyFrames
											Storyboard.TargetName="BoxMiddle" Storyboard.TargetProperty="Stroke">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<LinearGradientBrush EndPoint="0.854,0.854" StartPoint="0.146,0.146">
														<GradientStop Color="#FF2A8ED0" Offset="0" />
														<GradientStop Color="#FFA6DBF5" Offset="1" />
													</LinearGradientBrush>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</BeginStoryboard>
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<StopStoryboard BeginStoryboardName="CheckBoxIsPressedStoryboard" />
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="contentPresenter" Property="Opacity" Value=".55" />
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value=".55" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="True">
							<Setter TargetName="contentPresenter" Property="Opacity" Value="1" />
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="0" />
						</Trigger>
						<Trigger Property="IsChecked" Value="True">
							<Setter TargetName="CheckIcon" Property="Opacity" Value="1" />
						</Trigger>
						<Trigger Property="IsChecked" Value="False">
							<Setter TargetName="CheckIcon" Property="Opacity" Value="0" />
						</Trigger>
						<Trigger Property="IsChecked" Value="{x:Null}">
							<Setter TargetName="IndeterminateIcon" Property="Opacity" Value="1" />
						</Trigger>
						<Trigger Property="IsFocused" Value="True">
							<Setter TargetName="ContentFocusVisualElement" Property="Opacity" Value="1" />
						</Trigger>
					</ControlTemplate.Triggers>

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

	<Style TargetType="RadioButton" x:Key="ToolBarRadioButton">
		<Setter Property="Background">
			<Setter.Value>
				<LinearGradientBrush EndPoint="0.854,0.854" StartPoint="0.146,0.146">
					<GradientStop Color="#FFBABFC6" Offset="0" />
					<GradientStop Color="#FFFFFFFF" Offset="1" />
				</LinearGradientBrush>
			</Setter.Value>
		</Setter>
		<Setter Property="Foreground" Value="#FF000000" />
		<Setter Property="HorizontalContentAlignment" Value="Left" />
		<Setter Property="VerticalContentAlignment" Value="Center" />
		<Setter Property="VerticalAlignment" Value="Center" />
		<Setter Property="Padding" Value="4,1,0,0" />
		<Setter Property="BorderThickness" Value="1" />
		<Setter Property="BorderBrush" Value="#FF979898" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="RadioButton">
					<Grid>
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="16" />
							<ColumnDefinition Width="*" />
						</Grid.ColumnDefinitions>

						<Grid HorizontalAlignment="Left" VerticalAlignment="Center">
							<Ellipse x:Name="Background" Width="14" Height="14"
									Stroke="{TemplateBinding BorderBrush}"
									StrokeThickness="{TemplateBinding BorderThickness}"
									Fill="#FFEEEEEE" Margin="1" />
							<Ellipse x:Name="BackgroundOverlay" Fill="#FFDAF7FA" Opacity="0"
									Width="14" Height="14" StrokeThickness="1" Margin="1"
									Stroke="#FF5585A2" />
							<Ellipse x:Name="BackgroundPressed" Fill="#FFA7E9F0" Opacity="0"
									Width="14" Height="14" StrokeThickness="1" Margin="1"
									Stroke="#FF1C5578" />
							<Ellipse x:Name="BoxMiddleBackground" Width="10" Height="10"
									Fill="{TemplateBinding Background}" Stroke="#00000000"
									StrokeThickness="1" />
							<Ellipse x:Name="BoxMiddle" Width="10" Height="10" StrokeThickness="1">
								<Ellipse.Stroke>
									<LinearGradientBrush EndPoint="0.854,0.854"
											StartPoint="0.146,0.146">
										<GradientStop Color="#FF9B9B9B" Offset="0" />
										<GradientStop Color="#FFE6E6E8" Offset="1" />
									</LinearGradientBrush>
								</Ellipse.Stroke>
								<Ellipse.Fill>
									<LinearGradientBrush EndPoint="0.854,0.854"
											StartPoint="0.146,0.146">
										<GradientStop Color="#FFBABFC6" Offset="0" />
										<GradientStop Color="#FFFFFFFF" Offset="1" />
									</LinearGradientBrush>
								</Ellipse.Fill>
							</Ellipse>
							<Ellipse x:Name="CheckIcon" VerticalAlignment="Center"
									HorizontalAlignment="Center" Stroke="#FF1C5578" Width="8"
									Height="8" Opacity="0" StrokeThickness="1">
								<Ellipse.Fill>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"
											MappingMode="RelativeToBoundingBox">
										<GradientStop Color="#FFD5F1FF" Offset="0" />
										<GradientStop Color="#FF075780" Offset="0.91239610096801138" />
									</LinearGradientBrush>
								</Ellipse.Fill>
							</Ellipse>
							<Ellipse x:Name="DisabledVisualElement" Width="14" Height="14"
									Opacity="0" Fill="#FFFFFFFF" />
							<Ellipse x:Name="ContentFocusVisualElement" Stroke="#006DBDD1"
									StrokeThickness="1" Opacity="0" IsHitTestVisible="false"
									Width="14" Height="14" />
						</Grid>
						<ContentPresenter Grid.Column="1" x:Name="contentPresenter"
								Content="{TemplateBinding Content}"
								ContentTemplate="{TemplateBinding ContentTemplate}"
								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
								VerticalAlignment="Center"
								Margin="{TemplateBinding Padding}" />
					</Grid>

					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="RadioButtonMouseOverStoryboard">
									<Storyboard>
										<DoubleAnimation Storyboard.TargetName="BackgroundOverlay"
												Storyboard.TargetProperty="Opacity" Duration="0"
												To="1" />
										<DoubleAnimation Storyboard.TargetName="BoxMiddleBackground"
												Storyboard.TargetProperty="Opacity" Duration="0"
												To="1" />
										<ColorAnimation Storyboard.TargetName="BoxMiddle" Duration="0" To="#FF94CFF5"
											Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" />
										<ColorAnimation Storyboard.TargetName="BoxMiddle" Duration="0" To="#FFE5F6FD"
											Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" />
										<ObjectAnimationUsingKeyFrames
											Storyboard.TargetName="BoxMiddle" Storyboard.TargetProperty="Stroke">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<LinearGradientBrush EndPoint="0.854,0.854" StartPoint="0.146,0.146">
														<GradientStop Color="#FF5DBBF9" Offset="0" />
														<GradientStop Color="#FFD0EDFC" Offset="1" />
													</LinearGradientBrush>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</BeginStoryboard>
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<StopStoryboard BeginStoryboardName="RadioButtonMouseOverStoryboard" />
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="RadioButtonIsPressedStoryboard">
									<Storyboard>
										<DoubleAnimation Storyboard.TargetName="BackgroundPressed"
												Storyboard.TargetProperty="Opacity" Duration="0"
												To="1" />
										<DoubleAnimation Storyboard.TargetName="BoxMiddleBackground"
												Storyboard.TargetProperty="Opacity" Duration="0"
												To="1" />
										<ColorAnimation Storyboard.TargetName="BoxMiddle" Duration="0" To="#FF68B7EA"
											Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" />
										<ColorAnimation Storyboard.TargetName="BoxMiddle" Duration="0" To="#FFBEE8F7"
											Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" />
										<ObjectAnimationUsingKeyFrames
											Storyboard.TargetName="BoxMiddle" Storyboard.TargetProperty="Stroke">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<LinearGradientBrush EndPoint="0.854,0.854" StartPoint="0.146,0.146">
														<GradientStop Color="#FF2A8ED0" Offset="0" />
														<GradientStop Color="#FFA6DBF5" Offset="1" />
													</LinearGradientBrush>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</BeginStoryboard>
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<StopStoryboard BeginStoryboardName="RadioButtonIsPressedStoryboard" />
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="contentPresenter" Property="Opacity" Value=".55" />
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value=".55" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="True">
							<Setter TargetName="contentPresenter" Property="Opacity" Value="1" />
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="0" />
						</Trigger>
						<Trigger Property="IsChecked" Value="True">
							<Setter TargetName="CheckIcon" Property="Opacity" Value="1" />
						</Trigger>
						<Trigger Property="IsChecked" Value="False">
							<Setter TargetName="CheckIcon" Property="Opacity" Value="0" />
						</Trigger>
						<Trigger Property="IsFocused" Value="True">
							<Setter TargetName="ContentFocusVisualElement" Property="Opacity" Value="1" />
						</Trigger>
					</ControlTemplate.Triggers>

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

	<SolidColorBrush Color="#FF3C7FB0" x:Key="ToggleButton_normalBackground" />

	<SolidColorBrush Color="#FF3C7FB0" x:Key="ToggleButton_normalBackgroundV" />

	<LinearGradientBrush x:Key="ToggleButton_OverBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFA7D9F5" Offset="1"/>
		<GradientStop Color="#FFEAF6FD" Offset="0"/>
		<GradientStop Color="#FFBEE6FD" Offset="0.43"/>
		<GradientStop Color="#FFD9F0FC" Offset="0.42"/>
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="ToggleButton_OverBackgroundV" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FFA7D9F5" Offset="1" />
		<GradientStop Color="#FFEAF6FD" Offset="0" />
		<GradientStop Color="#FFBEE6FD" Offset="0.43" />
		<GradientStop Color="#FFD9F0FC" Offset="0.42" />
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="ToggleButton_PressedBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FF68B3DB" Offset="1"/>
		<GradientStop Color="#FFE5F4FC" Offset="0"/>
		<GradientStop Color="#FF98D1EF" Offset="0.51"/>
		<GradientStop Color="#FFC4E5F6" Offset="0.5"/>
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="ToggleButton_PressedBackgroundV" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FF68B3DB" Offset="1" />
		<GradientStop Color="#FFE5F4FC" Offset="0" />
		<GradientStop Color="#FF98D1EF" Offset="0.51" />
		<GradientStop Color="#FFC4E5F6" Offset="0.5" />
	</LinearGradientBrush>

	<ControlTemplate TargetType="ToggleButton" x:Key="ToolBarDropdownButtonH">
		<Grid Background="Transparent">

			<Border Background="{StaticResource ToggleButton_normalBackground}" x:Name="BackgroundGradient" CornerRadius="3" />
			<Border Background="{StaticResource ToggleButton_PressedBackground}" x:Name="BackgroundGradientCheck" CornerRadius="3" Opacity="0" />
			<Grid x:Name="OrnamentGrid" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="0 0 3 4" Opacity="1">
				<Path Fill="#FFFFFFFF" Stretch="Fill" Margin="2,5,0,0" HorizontalAlignment="Center" VerticalAlignment="Top" Width="5" Height="3" Data="M0,0 L5,0 5,1 4,1 4,2 3,2 3,3 2,3 2,2 1,2 1,1 0,1 0,0 z" />
				<Path Fill="#FF000000" Stretch="Fill" Margin="0,4,0,0" HorizontalAlignment="Center" VerticalAlignment="Top" Width="5" Height="3" Data="M0,0 L5,0 5,1 4,1 4,2 3,2 3,3 2,3 2,2 1,2 1,1 0,1 0,0 z" />
				<Path Fill="#FFFFFFFF" Stretch="Fill" Margin="2,1,0,0" HorizontalAlignment="Center" VerticalAlignment="Top" Width="5" Height="1" Data="M0,0 L5,0 5,1 0,1 0,0 z" />
				<Path Fill="#FF000000" Stretch="Fill" Margin="0,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Top" Width="5" Height="1" Data="M0,0 L5,0 5,1 0,1 0,0 z" />
			</Grid>
		</Grid>

		<ControlTemplate.Triggers>
			<Trigger Property="IsChecked" Value="True">
				<Setter TargetName="BackgroundGradientCheck" Property="Opacity" Value="1" />
			</Trigger>
			<Trigger Property="IsMouseOver" Value="true">
				<Setter TargetName="BackgroundGradient" Property="Background" Value="{StaticResource ToggleButton_OverBackground}" />
			</Trigger>
			<Trigger Property="IsPressed" Value="True">
				<Setter TargetName="BackgroundGradient" Property="Background" Value="{StaticResource ToggleButton_PressedBackground}" />
			</Trigger>
			<Trigger Property="IsEnabled" Value="False">
				<Setter TargetName="OrnamentGrid" Property="Opacity" Value="0.25" />
			</Trigger>
		</ControlTemplate.Triggers>

	</ControlTemplate>

	<telerikNavigation:ToolBarContainerStyleSelector x:Key="ToolBarContainerStyleSelector">
		<telerikNavigation:ToolBarContainerStyle
			TypeName="RadToolBarSeparator" ContainerStyle="{StaticResource ToolBarSeparator}" />
		<telerikNavigation:ToolBarContainerStyle
			TypeName="TextBlock" ContainerStyle="{StaticResource ToolBarTextBlock}"/>
		<telerikNavigation:ToolBarContainerStyle
			TypeName="TextBox" ContainerStyle="{StaticResource ToolBarTextBox}"/>
		<telerikNavigation:ToolBarContainerStyle
			TypeName="Button" ContainerStyle="{StaticResource ToolBarButton}"/>
		<telerikNavigation:ToolBarContainerStyle
			TypeName="ToggleButton" ContainerStyle="{StaticResource ToolBarToggleButton}"/>
		<telerikNavigation:ToolBarContainerStyle
			TypeName="CheckBox" ContainerStyle="{StaticResource ToolBarCheckBox}" />
		<telerikNavigation:ToolBarContainerStyle
			TypeName="RadioButton" ContainerStyle="{StaticResource ToolBarRadioButton}" />
	</telerikNavigation:ToolBarContainerStyleSelector>

	<Style
		TargetType="telerikNavigation:RadToolBar"

		x:Key="{telerik:ThemeResourceKey ThemeType=telerik:VistaTheme, ElementType=telerikNavigation:RadToolBar}"

		>
		<Setter Property="ItemContainerStyleSelector"
				Value="{StaticResource ToolBarContainerStyleSelector}" />
		<Setter Property="MinWidth" Value="25" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerikNavigation:RadToolBar">
					<Grid MinHeight="24" x:Name="RootElement">
						<Grid.ColumnDefinitions>
							<ColumnDefinition x:Name="c0" Width="10" />
							<ColumnDefinition x:Name="c1" Width="*" />
							<ColumnDefinition x:Name="c2" Width="11" />
						</Grid.ColumnDefinitions>
						<Grid.RowDefinitions>
							<RowDefinition x:Name="r0" Height="*" />
							<RowDefinition x:Name="r1" Height="Auto" />
							<RowDefinition x:Name="r2" Height="Auto" />
						</Grid.RowDefinitions>

						<ToggleButton

							Grid.Column="2" Margin="-6 0 0 0"

							x:Name="PART_DropdownButton"
							Template="{StaticResource ToolBarDropdownButtonH}"
							IsEnabled="{TemplateBinding HasOverflowItems}"
							IsChecked="{TemplateBinding IsOverflowOpen}" />

			<Grid Grid.Column="2">
							<Popup
								x:Name="PART_Overflow"
								AllowsTransparency="True" StaysOpen="False" Focusable="false" Placement="Bottom"
								IsOpen="{Binding Path=IsOverflowOpen, RelativeSource={RelativeSource TemplatedParent}}"
								PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}">


								<Border Margin="0" MinWidth="55" MinHeight="33">
									<Border BorderBrush="{StaticResource OverflowBorderInnerBrush}"
											Background="{StaticResource OverflowContentBackgroundBrush}"
											BorderThickness="1" Padding="1,2,1,2">
							<telerikToolBar:RadToolBarPanel 

											x:Name="PART_OverflowPanel"
											Orientation="Vertical" VerticalAlignment="Top" />
									</Border>
								</Border>
							</Popup>
			</Grid> 
						<Border x:Name="InnerBackground" Grid.ColumnSpan="2" Grid.RowSpan="2" BorderThickness="0,0,0,0"
								BorderBrush="#FF979797" CornerRadius="3,3,3,3"
								HorizontalAlignment="Stretch"
								Background="{StaticResource RadToolBar_InnerBackground}" />
						<Grid x:Name="GripOrnamentH" Visibility="Visible">
							<Path Fill="#FFFFFFFF" Stretch="Fill" Margin="5,1,0,0" Width="2" Height="14"
									VerticalAlignment="Center" HorizontalAlignment="Left"
									Data="M0,12 L2,12 2,14 0,14 0,12 z M0,8 L2,8 2,10 0,10 0,8 z M0,4 L2,4 2,6 0,6 0,4 z M0,0 L2,0 2,2 0,2 0,0 z" />
							<Path Fill="#FF3C7FB1" Stretch="Fill" Margin="4.4,0.4,0,0" Width="2" Height="14"
									VerticalAlignment="Center" HorizontalAlignment="Left"
									Data="M0,12 L2,12 2,14 0,14 0,12 z M0,8 L2,8 2,10 0,10 0,8 z M0,4 L2,4 2,6 0,6 0,4 z M0,0 L2,0 2,2 0,2 0,0 z" />
						</Grid>
						<Grid x:Name="GripOrnamentV" Visibility="Collapsed">
							<Path Fill="#FFFFFFFF" Stretch="Fill" Margin="1,1,0,0" Width="14" Height="2"
									VerticalAlignment="Center" HorizontalAlignment="Center"
									Data="M12,0 L12,2 14,2 14,0 12,0 z M8,0 L8,2 10,2 10,0 8,0 z M4,0 L4,2 6,2 6,0 4,0 z M0,0 L0,2 2,2 2,0 0,0 z" />
							<Path Fill="#FF3C7FB1" Stretch="Fill" Margin="0.4,0.4,0,0" Width="14" Height="2"
									VerticalAlignment="Center" HorizontalAlignment="Center"
									Data="M12,0 L12,2 14,2 14,0 12,0 z M8,0 L8,2 10,2 10,0 8,0 z M4,0 L4,2 6,2 6,0 4,0 z M0,0 L0,2 2,2 2,0 0,0 z" />
						</Grid>
			<telerikToolBar:RadToolBarPanel 

							x:Name="PART_StripPanel" Grid.Column="1" Margin="0,1,4,1"
							Orientation="Horizontal" HorizontalAlignment="Left" />
					</Grid>

					<ControlTemplate.Triggers>
						<Trigger Property="IsEnabled" Value="false">
							<Setter TargetName="RootElement" Property="Opacity" Value="0.5"/>
						</Trigger>
						<Trigger Property="Orientation" Value="Vertical">
							<Setter TargetName="c0" Property="Width" Value="*"/>
							<Setter TargetName="c1" Property="Width" Value="Auto" />
							<Setter TargetName="c2" Property="Width" Value="Auto" />
							<Setter TargetName="r0" Property="Height" Value="10" />
							<Setter TargetName="r1" Property="Height" Value="*" />
							<Setter TargetName="r2" Property="Height" Value="10" />

							<Setter TargetName="PART_StripPanel" Property="Orientation" Value="Vertical" />
							<Setter TargetName="PART_StripPanel" Property="Grid.Row" Value="1" />
							<Setter TargetName="PART_StripPanel" Property="Grid.Column" Value="0" />
							<Setter TargetName="PART_StripPanel" Property="Margin" Value="1,0,1,4" />

							<Setter TargetName="PART_DropdownButton" Property="Grid.Row" Value="2" />
							<Setter TargetName="PART_DropdownButton" Property="Grid.Column" Value="0" />
							<Setter TargetName="PART_DropdownButton" Property="Margin" Value="0 -6 0 0" />
							<Setter TargetName="PART_DropdownButton" Property="LayoutTransform">
								<Setter.Value>
									<TransformGroup>
										<RotateTransform Angle="-90" CenterX="0" CenterY="0" />
										<ScaleTransform ScaleX="1" ScaleY="-1" />
									</TransformGroup>
								</Setter.Value>
							</Setter>

							<Setter TargetName="GripOrnamentH" Property="Visibility" Value="Collapsed" />
							<Setter TargetName="GripOrnamentV" Property="Visibility" Value="Visible" />

							<Setter TargetName="InnerBackground" Property="Background" Value="{StaticResource RadToolBar_InnerBackgroundV}" />
						</Trigger>
					</ControlTemplate.Triggers>

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

	<Style
		TargetType="telerikNavigation:RadToolBarTray"

		x:Key="{telerik:ThemeResourceKey ThemeType=telerik:VistaTheme, ElementType=telerikNavigation:RadToolBarTray}"

		>
		<Setter Property="ItemsPanel">
			<Setter.Value>
				<ItemsPanelTemplate>
					<telerikToolBar:RadToolBarTrayPanel x:Name="PART_BandPanel" />
				</ItemsPanelTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerikNavigation:RadToolBarTray">
					<Border Padding="{TemplateBinding Padding}"
							Background="{TemplateBinding Background}"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}">
						<ItemsPresenter x:Name="PART_ItemsPresenter" />
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	

</ResourceDictionary>
