<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		    
    xmlns:animation="clr-namespace:Telerik.Windows.Controls.Animation;assembly=Telerik.Windows.Controls"
    xmlns:telerikTransitions="clr-namespace:Telerik.Windows.Controls.TransitionEffects;assembly=Telerik.Windows.Controls"
    xmlns:telerikChromes="clr-namespace:Telerik.Windows.Controls.Chromes;assembly=Telerik.Windows.Controls"

	xmlns:telerik="clr-namespace:Telerik.Windows.Controls;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:telerikPrimitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls"
	xmlns:telerikToolBar="clr-namespace:Telerik.Windows.Controls.ToolBar;assembly=Telerik.Windows.Controls.Navigation"
	xmlns:treeView="clr-namespace:Telerik.Windows.Controls.TreeView;assembly=Telerik.Windows.Controls.Navigation"
	xmlns:theme="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
	xmlns:themes="http://schemas.telerik.com/2008/xaml/presentation"
    xmlns:mscorlib="clr-namespace:System;assembly=mscorlib"
	xmlns:dragDrop="clr-namespace:Telerik.Windows.Controls.DragDrop;assembly=Telerik.Windows.Controls"
	xmlns:telerikTabControl="clr-namespace:Telerik.Windows.Controls.TabControl;assembly=Telerik.Windows.Controls.Navigation"
    xmlns:animationNavigation="clr-namespace:Telerik.Windows.Controls.Animation;assembly=Telerik.Windows.Controls.Navigation"
	xmlns:book="clr-namespace:Telerik.Windows.Controls.Book;assembly=Telerik.Windows.Controls.Navigation"
	xmlns:outlookBarPrimitives="clr-namespace:Telerik.Windows.Controls.OutlookBar;assembly=Telerik.Windows.Controls.Navigation"
	xmlns:primitives="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows"
	xmlns:sys="clr-namespace:System;assembly=mscorlib"


 >

    <SolidColorBrush x:Key="ControlForeground_Normal" Color="#FFDDDDDD" />
<CornerRadius x:Key="ControlOuterBorder_CornerRadius">3</CornerRadius>
<LinearGradientBrush x:Key="ControlOuterBorder_Checked" EndPoint="0.971000015735626,0.5" StartPoint="0.0399999991059303,0.5">
        <GradientStop Color="#FF707070"/>
        <GradientStop Color="#FF707070" Offset="1"/>
        <GradientStop Color="#FFA3A3A3" Offset="0.5"/>
    </LinearGradientBrush>
<LinearGradientBrush x:Key="ControlBackground_Checked" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF454545" Offset="0"/>
        <GradientStop Color="#FF575859" Offset="1"/>
        <GradientStop Color="#FF575859" Offset="0.14"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="ControlElement_Normal" Color="#FFC5C2C2" />
<SolidColorBrush x:Key="ControlElement_Pressed" Color="#FFC5C2C2" />
<LinearGradientBrush x:Key="ControlOuterBorder_MouseOver" EndPoint="0.971000015735626,0.5" StartPoint="0.0399999991059303,0.5">
        <GradientStop Color="#FFB0B0B0" Offset="0"/>
        <GradientStop Color="#FFB0B0B0" Offset="1"/>
        <GradientStop Color="#FFE0E1E2" Offset="0.5"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="ControlBackground_MouseOver" Color="#FF878787" />
<SolidColorBrush x:Key="ControlElement_MouseOver" Color="#FF262626" />
<SolidColorBrush x:Key="ControlOuterBorder_Pressed" Color="#FF1A1A1A"/>
<LinearGradientBrush x:Key="ControlBackground_Pressed" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF2E2D2D" Offset="0"/>
        <GradientStop Color="#FF424242" Offset="1"/>
        <GradientStop Color="#FF424242" Offset="0.14"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="ControlOuterBorder_Disabled" Color="#FF5D5C5C" />
<SolidColorBrush x:Key="ControlBackground_Disabled" Color="#FF666666" />
<SolidColorBrush x:Key="ControlElement_Disabled" Color="#FF868686" />
<SolidColorBrush x:Key="OutlookBar_MinimizedContentButton_Background_Normal" Color="#FF3D3D3D"  />
<SolidColorBrush x:Key="OutlookBar_MinimizedContentButton_Background_MouseOver" Color="#FF878787" />
<SolidColorBrush x:Key="OutlookBar_MinimizedContentButton_Background_Pressed" Color="#FFCDCDCD" />
<SolidColorBrush x:Key="ControlOuterBorder" Color="#FF595959" />
<SolidColorBrush x:Key="ControlBackground" Color="#FF3D3D3D" />
<SolidColorBrush x:Key="ControlForeground_MouseOver" Color="#FF262626" />
<SolidColorBrush x:Key="ControlForeground_Active" Color="#FF262626" />
<SolidColorBrush x:Key="TabControl_DropDownHeaderBrush" Color="Transparent" />
<SolidColorBrush x:Key="OutlookBar_HorizontalSplitterPath_OuterBackground" Color="#FF000000" />
<SolidColorBrush x:Key="OutlookBar_HorizontalSplitterPath_InnerBackground" Color="#FFAAAAAA" />
<Thickness x:Key="OutlookBar_HorizontalSplitter_BorderThickness">0 1 0 0</Thickness>
<SolidColorBrush x:Key="OutlookBar_HorizontalSplitterBackground" Color="#FF707070" />
<SolidColorBrush x:Key="OutlookBar_ForegroundHeader" Color="#FFDDDDDD" />
<LinearGradientBrush x:Key="ControlHeader_OuterBorderBrush" EndPoint="0.971000015735626,0.5" StartPoint="0.0399999991059303,0.5">
        <GradientStop Color="#FF707070" Offset="0"/>
        <GradientStop Color="#FF707070" Offset="1"/>
        <GradientStop Color="#FFA3A3A3" Offset="0.5"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="ControlHeader_Background" Color="#FF2D2E32" />
<SolidColorBrush x:Key="ControlHeader_Foreground" Color="#FFDDDDDD" />
<Thickness x:Key="OutlookBar_OuterBorderThickness" >0 1 0 0</Thickness>
<LinearGradientBrush x:Key="ControlItem_OuterBorder_Normal"  EndPoint="0.972,0.5" StartPoint="0.042,0.5">
        <GradientStop Color="#FF707070" Offset="0"/>
        <GradientStop Color="#FF707070" Offset="1"/>
        <GradientStop Color="#FFA3A3A3" Offset="0.5"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="ControlItem_Background_Normal" Color="#FF575859" />
<LinearGradientBrush x:Key="ControlItem_OuterBorder_MouseOver" EndPoint="0.971000015735626,0.5" StartPoint="0.0399999991059303,0.5">
        <GradientStop Color="#FFB0B0B0" Offset="0"/>
        <GradientStop Color="#FFB0B0B0" Offset="1"/>
        <GradientStop Color="#FFE0E1E2" Offset="0.5"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="ControlItem_Background_MouseOver" Color="#FF878787"/>
<LinearGradientBrush x:Key="ControlItem_OuterBorder_Selected" EndPoint="0.972,0.5" StartPoint="0.042,0.5">
        <GradientStop Color="#FF595959" Offset="0"/>
        <GradientStop Color="#FF595959" Offset="1"/>
        <GradientStop Color="#FFA3A3A3" Offset="0.5"/>
    </LinearGradientBrush>
<LinearGradientBrush x:Key="ControlItem_Background_Selected" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF616060" Offset="0"/>
        <GradientStop Color="#FFCDCDCD" Offset="1"/>
        <GradientStop Color="#FFCDCDCD" Offset="0.14"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="ControlForeground_Disabled" Color="#FF868686" />

    
    <telerik:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
    <outlookBarPrimitives:ResizerAlignmentToHorizontalAlignmentConverter x:Key="AlignmentConverter" />

    <Style TargetType="telerik:RadToggleButton" x:Key="MinimizeButtonStyle" >
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="BorderBrush" Value="Transparent" />
        <Setter Property="Background" Value="Transparent" />
        <Setter Property="Foreground" Value="{StaticResource ControlForeground_Normal}" />
        <Setter Property="HorizontalContentAlignment" Value="Center" />
        <Setter Property="VerticalContentAlignment" Value="Center" />
        <Setter Property="Padding" Value="3" />
        <Setter Property="CornerRadius" Value="{StaticResource ControlOuterBorder_CornerRadius}" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:RadToggleButton">
                    <Grid SnapsToDevicePixels="True"
                         >
                        


                        <Border x:Name="Border" BorderThickness="{TemplateBinding BorderThickness}"
								BorderBrush="{TemplateBinding BorderBrush}"
								Background="{TemplateBinding Background}" 
                                CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}" />

                        <!-- checked -->
                        <Border x:Name="CheckedVisual" Opacity="0"
								BorderThickness="{TemplateBinding BorderThickness}"
								BorderBrush="{StaticResource ControlOuterBorder_Checked}"
								Background="{StaticResource ControlBackground_Checked}" 
                                CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}" />
                        
                        
                        <Path x:Name="arrow" Fill="{StaticResource ControlElement_Normal}" Width="8"
						        Height="4" Stretch="None" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                Margin="{TemplateBinding Padding}"
						        Data="M0,0 L0.67,0 4,2.67 7.25,0 8,0 8,0.67 4,4 0,0.75 z"
						        RenderTransformOrigin="0.5,0.5">
                            <Path.RenderTransform>
                                <RotateTransform x:Name="directionRotation" Angle="90" />
                            </Path.RenderTransform>
                        </Path>

                       
                    </Grid>
                    
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsChecked" Value="True">
                            <Setter TargetName="CheckedVisual" Property="Opacity" Value="1" />
                            <Setter TargetName="arrow" Property="Fill" Value="{StaticResource ControlElement_Pressed}" />
                            <Setter TargetName="arrow" Property="LayoutTransform">
                                <Setter.Value>
                                    <TransformGroup>
                                        <RotateTransform Angle="180" />
                                    </TransformGroup>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="IsMouseOver" Value="true">
                            <Setter TargetName="Border" Property="BorderBrush"
									Value="{StaticResource ControlOuterBorder_MouseOver}" />
                            <Setter TargetName="Border" Property="Background"
									Value="{StaticResource ControlBackground_MouseOver}" />
                            <Setter TargetName="arrow" Property="Fill" 
                                    Value="{StaticResource ControlElement_MouseOver}" />
                        </Trigger>
                        <Trigger Property="IsPressed" Value="True">
                            <Setter TargetName="Border" Property="BorderBrush"
									Value="{StaticResource ControlOuterBorder_Pressed}" />
                            <Setter TargetName="Border" Property="Background"
									Value="{StaticResource ControlBackground_Pressed}" />
                            <Setter TargetName="arrow" Property="Fill" 
                                    Value="{StaticResource ControlElement_Pressed}" />
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter TargetName="CheckedVisual" Property="Opacity" Value="0.5" />
                            <Setter TargetName="Border" Property="BorderBrush"
									Value="{StaticResource ControlOuterBorder_Disabled}" />
                            <Setter TargetName="Border" Property="Background"
									Value="{StaticResource ControlBackground_Disabled}" />
                            <Setter TargetName="arrow" Property="Fill" Value="{StaticResource ControlElement_Disabled}" />
                        </Trigger>
                       
                    </ControlTemplate.Triggers>
                    
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="telerik:RadDropDownButton" x:Key="MinimizedContentButtonStyle" >
        <Setter Property="IsOpen" Value="false" />
        <Setter Property="BorderThickness" Value="0" />
        <Setter Property="BorderBrush" Value="Transparent" />
        <Setter Property="Background" Value="{StaticResource OutlookBar_MinimizedContentButton_Background_Normal}" />
        <Setter Property="Foreground" Value="{StaticResource ControlForeground_Normal}" />
        <Setter Property="HorizontalContentAlignment" Value="Center" />
        <Setter Property="VerticalContentAlignment" Value="Center" />
        <Setter Property="Padding" Value="3" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:RadDropDownButton">
                    <Grid>
                        

                        <!-- normal-->
                        <Border Background="{TemplateBinding Background}"
							    BorderBrush="{TemplateBinding BorderBrush}"
							    BorderThickness="{TemplateBinding BorderThickness}"/>

                        <!-- Hover -->
                        <Border x:Name="MouseOverVisual" Opacity="0" 
                                Background="{StaticResource OutlookBar_MinimizedContentButton_Background_MouseOver}" />

                        <!-- pressed -->
                        <Border x:Name="PressedVisual" Opacity="0" 
                                Background="{StaticResource OutlookBar_MinimizedContentButton_Background_Pressed}" />

                        <!-- checked -->
                        <Border x:Name="CheckedVisual" Opacity="0" 
                                Background="{StaticResource OutlookBar_MinimizedContentButton_Background_Pressed}" />

                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="*" />
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <ContentControl x:Name="Content"
									Grid.Row="1" Grid.Column="1"
									Margin="{TemplateBinding Padding}"
									Content="{TemplateBinding Content}"
									ContentTemplate="{TemplateBinding ContentTemplate}"
                                    Foreground="{TemplateBinding Foreground}"
									VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
									HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"/>
                                <Path
								x:Name="DropDownIndicator"
								Grid.Row="2" Grid.Column="1"
								IsHitTestVisible="False"
								Visibility="{TemplateBinding DropDownIndicatorVisibility}"
								Fill="{StaticResource ControlElement_Normal}"
								HorizontalAlignment="Center"
								VerticalAlignment="Center"
								RenderTransformOrigin="0.5,0.5"
								Margin="5,3,5,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"
								SnapsToDevicePixels="True"
                                     />
                        </Grid>
                        <Popup x:Name="DropDownPopup" 
                            AllowsTransparency="True" StaysOpen="False" Focusable="false" Placement="Bottom"
							IsOpen="{Binding Path=IsOpen, RelativeSource={RelativeSource TemplatedParent}}"
                             >
                            <Grid>
                                <Border x:Name="DropDownPopupBorder"
										BorderBrush="{StaticResource ControlOuterBorder}"
										Background="{StaticResource ControlBackground}"
										BorderThickness="1" 
										CornerRadius="{TemplateBinding CornerRadius}" 
										Margin="0,1,4,4" MinWidth="3" MinHeight="3"
										Width="{TemplateBinding DropDownWidth}"
										Height="{TemplateBinding DropDownHeight}"
										MaxWidth="{TemplateBinding DropDownMaxWidth}"
										MaxHeight="{TemplateBinding DropDownMaxHeight}">
                                    <ContentPresenter
										x:Name="DropDownPopupContent"
										Content="{TemplateBinding DropDownContent}"
										ContentTemplate="{TemplateBinding DropDownContentTemplate}"
										HorizontalAlignment="Stretch"
										VerticalAlignment="Stretch"
										DataContext="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=DataContext}"/>
                                </Border>
                            </Grid>
                        </Popup>

                    </Grid>

                    
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="true">
                            <Setter Property="Opacity" TargetName="MouseOverVisual" Value="1" />
                            <Setter TargetName="Content" Property="Foreground"  Value="{StaticResource ControlForeground_MouseOver}" />
                        </Trigger>
                        <Trigger Property="IsPressed" Value="True">
                            <Setter Property="Opacity" TargetName="PressedVisual" Value="1" />
                            <Setter TargetName="Content" Property="Foreground"  Value="{StaticResource ControlForeground_Active}" />
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter Property="Opacity" TargetName="Content" Value="0.5" />
                        </Trigger>
                        <Trigger Property="IsOpen" Value="True">
                            <Setter TargetName="CheckedVisual" Property="Opacity" Value="1" />
                            <Setter TargetName="Content" Property="Foreground"  Value="{StaticResource ControlForeground_Active}" />
                        </Trigger>
                        <Trigger Property="DropDownButtonPosition" Value="Bottom" />
                        <Trigger Property="DropDownButtonPosition" Value="Left">
                            <Setter TargetName="DropDownIndicator" Property="Grid.Column" Value="0"/>
                            <Setter TargetName="DropDownIndicator" Property="Grid.Row" Value="1"/>
                        </Trigger>
                        <Trigger Property="DropDownButtonPosition" Value="Top">
                            <Setter TargetName="DropDownIndicator" Property="Grid.Column" Value="1"/>
                            <Setter TargetName="DropDownIndicator" Property="Grid.Row" Value="0"/>
                        </Trigger>
                        <Trigger Property="DropDownButtonPosition" Value="Right">
                            <Setter TargetName="DropDownIndicator" Property="Grid.Column" Value="2"/>
                            <Setter TargetName="DropDownIndicator" Property="Grid.Row" Value="1"/>
                        </Trigger>
                        <Trigger Property="DropDownPlacement" Value="Absolute" />
                        <Trigger Property="DropDownPlacement" Value="Bottom" />
                        <Trigger Property="DropDownPlacement" Value="Center" />
                        <Trigger Property="DropDownPlacement" Value="Top">
                            <Setter TargetName="DropDownPopup" Property="Placement" Value="Top" />
                            <Setter TargetName="DropDownIndicator" Property="LayoutTransform">
                                <Setter.Value>
                                    <TransformGroup>
                                        <RotateTransform Angle="180" />
                                    </TransformGroup>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="DropDownPlacement" Value="Left">
                            <Setter TargetName="DropDownPopup" Property="Placement" Value="Left" />
                            <Setter TargetName="DropDownIndicator" Property="LayoutTransform">
                                <Setter.Value>
                                    <TransformGroup>
                                        <RotateTransform Angle="90" />
                                    </TransformGroup>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="DropDownPlacement" Value="Right">
                            <Setter TargetName="DropDownPopup" Property="Placement" Value="Right" />
                            <Setter TargetName="DropDownIndicator" Property="LayoutTransform">
                                <Setter.Value>
                                    <TransformGroup>
                                        <RotateTransform Angle="-90" />
                                    </TransformGroup>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                    
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!--DropDown Menu-->
    <Style TargetType="telerikTabControl:DropDownMenu" x:Key="DropDownStyle">
        <Setter Property="Background" Value="{StaticResource ControlBackground}" />
        <Setter Property="VerticalContentAlignment" Value="Center" />
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="MaxHeight" Value="500" />
        <Setter Property="BorderBrush" Value="{StaticResource ControlOuterBorder}" />
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <telerik:RadWrapPanel Orientation="Vertical" />
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerikTabControl:DropDownMenu">
                    <Grid>
                        <Border Background="{TemplateBinding Background}"
								BorderBrush="{TemplateBinding BorderBrush}"
								BorderThickness="{TemplateBinding BorderThickness}">
                            <Border BorderThickness="0 2 0 0"
									BorderBrush="{StaticResource ControlOuterBorder}">
                                <ItemsPresenter Margin="{TemplateBinding Padding}"
										VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
										HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" />
                            </Border>
                        </Border>
                        <Rectangle Fill="{StaticResource TabControl_DropDownHeaderBrush}"
								x:Name="BorderMaskElement" VerticalAlignment="Top"
								HorizontalAlignment="Left" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!--	
			*******************************
					OVERFLOW BUTTON
			*******************************
	-->
    <Style TargetType="ToggleButton" x:Key="OutlookFooterToggleButton">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ToggleButton">
                    <Border x:Name="ControlBorder" BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							Background="{TemplateBinding Background}"
							Padding="{TemplateBinding Padding}">
                        
                        <Grid>
                            <!-- Normal -->
                            <Border BorderBrush="{TemplateBinding BorderBrush}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Background="{TemplateBinding Background}" 
                                CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}" />

                            <!-- MouseOver -->
                            <Border BorderBrush="{StaticResource ControlOuterBorder_MouseOver}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Background="{StaticResource ControlBackground_MouseOver}" 
                                CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}" Opacity="0" x:Name="MouseOverState" />

                            <!-- Pressed -->
                            <Border BorderBrush="{StaticResource ControlOuterBorder_Pressed}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Background="{StaticResource ControlBackground_Pressed}" 
                                CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}" Opacity="0" x:Name="PressedState" />

                            <!-- Checked -->
                            <Border BorderBrush="{StaticResource ControlOuterBorder_Checked}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Background="{StaticResource ControlBackground_Checked}" 
                                CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}" Opacity="0" x:Name="CheckedState" />

                            <!-- Disabled -->
                            <Border BorderBrush="{StaticResource ControlOuterBorder_Disabled}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Background="{StaticResource ControlBackground_Disabled}" 
                                CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}" Opacity="0" x:Name="DisabledState" />

                            <ContentPresenter Content="{TemplateBinding Content}"
									ContentTemplate="{TemplateBinding ContentTemplate}"
									VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
									HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" />
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Padding" Value="0" />
        <Setter Property="BorderThickness" Value="0" />
        <Setter Property="Background" Value="Transparent" />
    </Style>
    <!--	
			*****************************************
					MINIMIZED OUTLOOKBAR ITEM
			*****************************************
	-->
    <Style TargetType="outlookBarPrimitives:MinimizedOutlookBarItem"
           x:Key="{telerik:ThemeResourceKey ThemeType=
        telerik:ExpressionDarkTheme , ElementType=outlookBarPrimitives:MinimizedOutlookBarItem}"
        >
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="outlookBarPrimitives:MinimizedOutlookBarItem">
                    <Border x:Name="ControlBorder" BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
                            CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}"
							Background="{TemplateBinding Background}" Margin="3 0 0 0">
                        
                        <Grid>
                            <!-- MouseOver -->
                            <Border x:Name="MouseOverElement" Visibility="Collapsed" BorderThickness="1"
									CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}"
									BorderBrush="{StaticResource ControlOuterBorder_MouseOver}"
                                    Background="{StaticResource ControlBackground_MouseOver}" />

                            <!-- Pressed -->
                            <Border x:Name="PressedElement" Visibility="Collapsed" BorderThickness="1"
									CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}"
									BorderBrush="{StaticResource ControlOuterBorder_Pressed}"
									Background="{StaticResource ControlBackground_Pressed}" />

                            <telerik:RadDockPanel Margin="{TemplateBinding Padding}">
                                <Image Source="{TemplateBinding SmallIcon}"
										VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
										telerik:RadDockPanel.Dock="Left" Stretch="None" />
                                <ContentPresenter Content="{TemplateBinding Content}"
										Grid.Column="1"
										ContentTemplate="{TemplateBinding ContentTemplate}"
										VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
										HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" />
                            </telerik:RadDockPanel>
                        </Grid>
                    </Border>
                    
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Setter TargetName="MouseOverElement" Property="Visibility"
									Value="Visible" />
                        </Trigger>
                        <Trigger Property="IsSelected" Value="True">
                            <Setter Property="Visibility" TargetName="PressedElement"
									Value="Visible" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                    
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Padding" Value="2 0 2 0" />
        <Setter Property="Background" Value="Transparent" />
        <Setter Property="VerticalContentAlignment" Value="Center" />
    </Style>
    <!--	
			******************************
					MINIMIZED AREA
			******************************
	-->
    <Style TargetType="outlookBarPrimitives:MinimizedOutlookBarArea"
           x:Key="{telerik:ThemeResourceKey ThemeType=
        telerik:ExpressionDarkTheme , ElementType=outlookBarPrimitives:MinimizedOutlookBarArea}"
        >
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="outlookBarPrimitives:MinimizedOutlookBarArea">
                    <Border BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							Background="{TemplateBinding Background}">
                        <ItemsPresenter />
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <outlookBarPrimitives:OutlookBarPanel Orientation="Horizontal" />
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!--	
			***********************************
					HORIZONTAL SPLITTER
			***********************************
	-->
    
        
        <Style TargetType="Thumb" x:Key="OutlookBarHorizontalSplitter">
            
            <Setter Property="Template">
                <Setter.Value>
                    
                        
                        <ControlTemplate TargetType="Thumb">
                            
                            <Border BorderBrush="{TemplateBinding BorderBrush}"
									BorderThickness="{TemplateBinding BorderThickness}"
									Background="{TemplateBinding Background}"
									Padding="{TemplateBinding Padding}">
                                <Grid Height="3"
										HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
										VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
										Width="15">
                                    <Path
											Fill="{StaticResource OutlookBar_HorizontalSplitterPath_OuterBackground}"
											Stretch="Fill" StrokeThickness="0" Margin="0,0,1,1"
											Data="M12,0 L13,0 L14,0 L14,1 L14,2 L13,2 L12,2 L12,1 z M8,0 L9,0 L10,0 L10,1 L10,2 L9,2 L8,2 L8,1 z M4,0 L5,0 L6,0 L6,1 L6,2 L5,2 L4,2 L4,1 z M0,0 L1,0 L2,0 L2,1 L2,2 L1,2 L0,2 L0,1 z" />
                                    <Path
											Fill="{StaticResource OutlookBar_HorizontalSplitterPath_InnerBackground}"
											Stretch="Fill" StrokeThickness="0" Margin="1,1,0,0"
											Data="M12,0 L13,0 L14,0 L14,1 L14,2 L13,2 L12,2 L12,1 z M8,0 L9,0 L10,0 L10,1 L10,2 L9,2 L8,2 L8,1 z M4,0 L5,0 L6,0 L6,1 L6,2 L5,2 L4,2 L4,1 z M0,0 L1,0 L2,0 L2,1 L2,2 L1,2 L0,2 L0,1 z" />
                                </Grid>
                            </Border>
                        </ControlTemplate>
                </Setter.Value>
            </Setter>
            <Setter Property="BorderBrush" Value="{StaticResource ControlOuterBorder}" />
            <Setter Property="BorderThickness"
					Value="{StaticResource OutlookBar_HorizontalSplitter_BorderThickness}" />
            <Setter Property="Background"
					Value="{StaticResource OutlookBar_HorizontalSplitterBackground}" />
            <Setter Property="HorizontalContentAlignment" Value="Center" />
            <Setter Property="VerticalContentAlignment" Value="Center" />
            <Setter Property="Padding" Value="0 2 0 2" />
            <Setter Property="Cursor" Value="SizeNS" />
        </Style>
        <!--	
			**************************
					OUTLOOKBAR
			************************** 
	-->
        <Style TargetType="telerikNavigation:RadOutlookBar"
			x:Key="{telerik:ThemeResourceKey ThemeType=
            telerik:ExpressionDarkTheme , ElementType=telerikNavigation:RadOutlookBar}"
             >
            <Setter Property="TitleTemplate">
                <Setter.Value>
                    <DataTemplate>
                        <Grid>
                            <ContentControl
									HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
									Foreground="{StaticResource OutlookBar_ForegroundHeader}"
									FontSize="12" FontWeight="Bold" IsTabStop="False"
									Content="{Binding}" />
                        </Grid>
                    </DataTemplate>
                </Setter.Value>
            </Setter>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="telerikNavigation:RadOutlookBar">
                        <Grid x:Name="LayoutRoot">
                            
                            <Border BorderBrush="{TemplateBinding BorderBrush}"
									BorderThickness="{TemplateBinding BorderThickness}"
									Background="{TemplateBinding Background}" x:Name="RootElement">
                                
                                    
                                    <DockPanel>
                                        
                                        <Border BorderThickness="1" Margin="-1"
												BorderBrush="{StaticResource ControlHeader_OuterBorderBrush}"
												Background="{StaticResource ControlHeader_Background}"
												
                                             DockPanel.Dock="Top"
                                             Visibility="{TemplateBinding HeaderVisibility}">
                                            <Grid>
                                                <ContentControl x:Name="TitleElement"
													    HorizontalContentAlignment="Stretch"
													    VerticalContentAlignment="Stretch"
													    Margin="5 3 5 3" IsTabStop="False"
                                                        Foreground="{StaticResource ControlHeader_Foreground}"
													    ContentTemplate="{TemplateBinding TitleTemplate}" />
                                                <telerik:RadToggleButton x:Name="MinimizeButton" Margin="0 0 3 0"
                                                            HorizontalAlignment="Right" Width="19" Height="19"
                                                            Style="{StaticResource MinimizeButtonStyle}"
                                                            IsChecked="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=IsMinimized, Mode=TwoWay}"
                                                            Visibility="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=IsMinimizable, Converter={StaticResource BooleanToVisibilityConverter}}" />

                                            </Grid>
                                        </Border>
                                        <Border
												Visibility="{TemplateBinding MinimizedAreaVisibility}"
											
                                             DockPanel.Dock="Bottom"
                                             BorderThickness="{StaticResource OutlookBar_OuterBorderThickness}"
											BorderBrush="{StaticResource ControlItem_OuterBorder_Normal}"
											MinHeight="{TemplateBinding MinimizedAreaMinHeight}"
											Background="{StaticResource ControlItem_Background_Normal}">
                                            
                                                
                                                <DockPanel
												HorizontalAlignment="Right">
                                                    <ToggleButton x:Name="DropDownButtonElement"
															MinWidth="15"
													
                                                         DockPanel.Dock="Right"
                                                         Style="{StaticResource OutlookFooterToggleButton}"
														IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
														>
                                                        <ToolTipService.ToolTip>
                                                            <TextBlock Text="Configure buttons"
																	telerik:LocalizationManager.ResourceKey="OutlookBarConfigureButtons" />
                                                        </ToolTipService.ToolTip>
                                                        <telerikNavigation:RadContextMenu.ContextMenu>
                                                            <telerikTabControl:DropDownMenu
																	x:Name="DropDownMenuElement"
																	IsOpen="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
																	StaysOpen="False"
																	Placement="Bottom"
																	Style="{TemplateBinding DropDownStyle}"
																	ItemTemplate="{TemplateBinding ItemDropDownContentTemplate}"
																	ItemTemplateSelector="{TemplateBinding ItemDropDownContentTemplateSelector}"
																	DisplayMemberPath="{TemplateBinding DropDownDisplayMemberPath}"></telerikTabControl:DropDownMenu>
                                                        </telerikNavigation:RadContextMenu.ContextMenu>
                                                        <Path Data="M0,0 L5,0 3,3 0,0"
																Fill="{StaticResource ControlElement_Normal}"
																Width="5" Height="3" />
                                                    </ToggleButton>
                                                    <outlookBarPrimitives:MinimizedOutlookBarArea
															IsTabStop="False"
															x:Name="MinimizedAreaControl"
											
                                                         DockPanel.Dock="Right"
                                                         />
                                                        
                                            
                                    </DockPanel>
                                    

                            </Border>
                            <ItemsPresenter 
								
                                 DockPanel.Dock="Bottom"
                                 x:Name="ItemsPresenterElement" />
                                
                                    
                                    <Thumb x:Name="HorizontalSplitter" DockPanel.Dock="Bottom"
								Style="{TemplateBinding HorizontalSplitterStyle}"
								>
                                        <ToolTipService.ToolTip>
                                            <TextBlock
													Text="Start dragging in order to change items' position"
													telerik:LocalizationManager.ResourceKey="OutlookBarHorizontalSplitter" />
                                        </ToolTipService.ToolTip>
                                        
                                
                                </Thumb>
                                
                                <Grid>
                                    <ContentPresenter x:Name="ContentElement"                                                  
										ContentTemplate="{TemplateBinding SelectedContentTemplate}"
										
                                        ContentTemplateSelector="{TemplateBinding SelectedContentTemplateSelector}"
                                        
                                        HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
										Margin="{TemplateBinding Padding}" />

                                        <telerik:RadDropDownButton DropDownIndicatorVisibility="Collapsed" x:Name="MinimizedContentElement" 
                                                               Style="{StaticResource MinimizedContentButtonStyle}"
                                                               Visibility="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=IsMinimized, Converter={StaticResource BooleanToVisibilityConverter}}"
                                                               DropDownPlacement="Right" Padding="4 0 0 0" Margin="0 1 0 0" >
                                            <telerikPrimitives:LayoutTransformControl>
                                                <telerikPrimitives:LayoutTransformControl.LayoutTransform>
                                                    <RotateTransform Angle="-90" />
                                                </telerikPrimitives:LayoutTransformControl.LayoutTransform>
                                                <TextBlock Text="Folders" FontWeight="Bold" />
                                            </telerikPrimitives:LayoutTransformControl>
                                            <telerik:RadDropDownButton.DropDownContent>
                                                <Grid>
                                                    <ContentPresenter x:Name="MinimizedContentPresenter" />
                                                    <Thumb x:Name="PopupResizer" VerticalAlignment="Stretch" Cursor="SizeWE" Opacity="0"  
                                                           HorizontalAlignment="Right" Width="2" />
                                                </Grid>
                                            </telerik:RadDropDownButton.DropDownContent>
                                        </telerik:RadDropDownButton>
                                </Grid>
                                
                                
                                </DockPanel>
                                
                                </Border>

                                <Thumb x:Name="VerticalResizer" Opacity="0" Visibility="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=IsVerticalResizerVisible, Converter={StaticResource BooleanToVisibilityConverter}}" 
                                       Cursor="SizeWE" VerticalAlignment="Stretch" Width="2"
                                       HorizontalAlignment="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=VerticalResizerAlignment, Converter={StaticResource AlignmentConverter}}">
                                    <ToolTipService.ToolTip>
                                        <TextBlock
													Text="Start dragging in order to resize the outlookbar"
													telerik:LocalizationManager.ResourceKey="OutlookBarVerticalResizer" />
                                    </ToolTipService.ToolTip>
                                </Thumb>
                        </Grid>
                        
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsMinimized" Value="True">
                                <Trigger.EnterActions>
                                    <BeginStoryboard>
                                        <Storyboard>
                                            <DoubleAnimation Duration="0"
                                                Storyboard.TargetName="ContentElement"
                                                Storyboard.TargetProperty="(UIElement.Opacity)" From="1" To="0" />
                                            <DoubleAnimation Duration="0"
                                                Storyboard.TargetName="TitleElement"
                                                Storyboard.TargetProperty="(UIElement.Opacity)" From="1" To="0" />
                                        </Storyboard>
                                    </BeginStoryboard>
                                </Trigger.EnterActions>
                                <Trigger.ExitActions>
                                    <BeginStoryboard>
                                        <Storyboard>
                                            <DoubleAnimation Duration="00:00:00.5000000"
                                                Storyboard.TargetName="ContentElement"
                                                Storyboard.TargetProperty="(UIElement.Opacity)" From="0" To="1" />
                                            <DoubleAnimation Duration="00:00:00.5000000"
                                                Storyboard.TargetName="TitleElement"
                                                Storyboard.TargetProperty="(UIElement.Opacity)" From="0" To="1" />
                                        </Storyboard>
                                    </BeginStoryboard>
                                </Trigger.ExitActions>
                            </Trigger>
                        </ControlTemplate.Triggers>
                                    
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
            <Setter Property="BorderBrush" Value="{StaticResource ControlOuterBorder}" />
            <Setter Property="Foreground" Value="{StaticResource ControlForeground_Normal}" />
            <Setter Property="DropDownDisplayMode" Value="Visible" />
            <Setter Property="DropDownStyle" Value="{StaticResource DropDownStyle}" />
            <Setter Property="BorderThickness" Value="1" />
            <Setter Property="HorizontalContentAlignment" Value="Stretch" />
            <Setter Property="VerticalContentAlignment" Value="Stretch" />
            <Setter Property="ItemsPanel">
                <Setter.Value>
                    <ItemsPanelTemplate>
                        <outlookBarPrimitives:OutlookBarPanel />
                    </ItemsPanelTemplate>
                </Setter.Value>
            </Setter>
            <Setter Property="MinimizedAreaMinHeight" Value="31" />
            <Setter Property="HorizontalSplitterStyle"
					Value="{StaticResource OutlookBarHorizontalSplitter}" />
            <Setter Property="Background" Value="{StaticResource ControlBackground}" />
            
            
            <Setter Property="KeyboardNavigation.TabNavigation" Value="Once" />
            <Setter Property="SnapsToDevicePixels" Value="True" />
            
        </Style>
        <!--	
			*******************************
					OUTLOOKBAR ITEM
			******************************* 
	-->
        <Style TargetType="telerikNavigation:RadOutlookBarItem"
			x:Key="{telerik:ThemeResourceKey ThemeType=
            telerik:ExpressionDarkTheme , ElementType=telerikNavigation:RadOutlookBarItem}"
             >
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="telerikNavigation:RadOutlookBarItem">
                        <Grid x:Name="wrapper">
                            
                            <!-- normal-->
                            <Border BorderBrush="{TemplateBinding BorderBrush}" Margin="-1 0 -1 -1"
									BorderThickness="{TemplateBinding BorderThickness}"
									Background="{TemplateBinding Background}" />

                            <!-- Hover -->
                            <Border x:Name="MouseOverVisual" Opacity="0"
									BorderBrush="{StaticResource ControlItem_OuterBorder_MouseOver}"
									BorderThickness="1" Margin="-1 0 -1 -1"
									Background="{StaticResource ControlItem_Background_MouseOver}" />

                            <!-- Select -->
                            <Border x:Name="SelectVisual" Opacity="0" Margin="-1 0 -1 -1"
									BorderBrush="{StaticResource ControlItem_OuterBorder_Selected}"
									BorderThickness="1"
									Background="{StaticResource ControlItem_Background_Selected}" />

                            <!-- Disabled -->
                            <Border x:Name="DisabledVisual" Opacity="0" Margin="-1 0 -1 -1"
									BorderBrush="{StaticResource ControlOuterBorder_Disabled}"
									BorderThickness="1"
									Background="{StaticResource ControlBackground_Disabled}" />

                            <Grid Margin="{TemplateBinding Padding}">
                                <telerik:RadDockPanel>
                                    <Image Source="{TemplateBinding Icon}"
											VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
											telerik:RadDockPanel.Dock="Left" Stretch="None" />
                                    <ContentControl x:Name="HeaderElement" Margin="3 0 0 0"
											FontWeight="{TemplateBinding FontWeight}"
											Content="{TemplateBinding Header}"
                                            Foreground="{TemplateBinding Foreground}"
											ContentTemplate="{TemplateBinding HeaderTemplate}"
											HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
											VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
											IsTabStop="False" />
                                </telerik:RadDockPanel>
                            </Grid>
                        </Grid>
                        
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsMouseOver" Value="True">
                                <Setter Property="Opacity" Value="1" TargetName="MouseOverVisual" />
                                <Setter TargetName="HeaderElement" Property="Foreground" Value="{StaticResource ControlForeground_MouseOver}" />
                            </Trigger>
                            <Trigger Property="IsSelected" Value="True">
                                <Setter Property="Opacity" Value="1" TargetName="SelectVisual" />
                                <Setter TargetName="HeaderElement" Property="Foreground" Value="{StaticResource ControlForeground_Active}" />
                            </Trigger>
                            <Trigger Property="IsEnabled" Value="false">
                                <Setter Property="Opacity" Value="1" TargetName="DisabledVisual" />
                                <Setter TargetName="HeaderElement" Property="Foreground" Value="{StaticResource ControlForeground_Disabled}" />
                            </Trigger>
                        </ControlTemplate.Triggers>
                        
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
            <Setter Property="BorderBrush" Value="{StaticResource ControlItem_OuterBorder_Normal}" />
            <Setter Property="IsTabStop" Value="False" />
            <Setter Property="BorderThickness" Value="1" />
            <Setter Property="Padding" Value="3" />
            <Setter Property="FontWeight" Value="Normal" />
            <Setter Property="Background" Value="{StaticResource ControlItem_Background_Normal}" />
            <Setter Property="HorizontalContentAlignment" Value="Left" />
            <Setter Property="VerticalContentAlignment" Value="Center" />
            <Setter Property="Foreground" Value="{StaticResource ControlForeground_Normal}" />
        </Style>
        
</ResourceDictionary>
