<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
		<Label x:Key="UsFileRevision" Content="1.0.87"/>
		<Label x:Key="UsStyleName" Content="UsWhite"/>
        <Style x:Key="UsPreviewCheckBox" TargetType="{x:Type CheckBox}">
            <Setter Property="SnapsToDevicePixels" Value="true"/>
            
            <Setter Property="Background" Value="Red"/>
            <Setter Property="BorderBrush" Value="Red"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type CheckBox}">
                        <Border>
                            <Grid>
                                <ContentPresenter Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Margin="{TemplateBinding Padding}" />
                                <Border>
                                    <Border.Background>
                                        <VisualBrush Opacity="1.0" Stretch="None" AlignmentY="Bottom">
                                            <VisualBrush.Visual>
                                                <Path Name="path" Opacity="0.1" Data="M -2 5 L 3 11 11 -2"  Stroke="#FF3838BA" StrokeThickness="2.5" 
                                                        StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" />
                                            </VisualBrush.Visual>
                                        </VisualBrush>
                                    </Border.Background>
                                </Border>
                            </Grid>
                        </Border>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsChecked" Value="True">
                                <Setter TargetName="path" Property="Opacity" Value="1.0" />
                                <Setter TargetName="path" Property="Stroke" Value="#FFEE2515" />
                                <Setter TargetName="path" Property="StrokeThickness" Value="2.5" />
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>					
					
        <Style x:Key="UsContextMenuStyle" TargetType="ContextMenu">
            <Setter Property="SnapsToDevicePixels" Value="True" />
            <Setter Property="OverridesDefaultStyle" Value="True" />
            <Setter Property="Grid.IsSharedSizeScope" Value="true" />
            <Setter Property="HasDropShadow"  Value="True" />
			<Setter Property="Foreground" Value="Blue" />
			<Setter Property="FontWeight" Value="Bold" />
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="ContextMenu">
                        <Border Name="Border"  BorderThickness="1.5" BorderBrush="Blue" Background="#FFE2E3E7">  
                            <StackPanel IsItemsHost="True"  KeyboardNavigation.DirectionalNavigation="Cycle" />
                        </Border>
                        <ControlTemplate.Triggers>
                            <Trigger Property="HasDropShadow"
                                 Value="true">
                                <Setter TargetName="Border"
                                    Property="Padding"
                                    Value="0,3,0,3" />
                                <Setter TargetName="Border"
                                    Property="CornerRadius"
                                    Value="4" />
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>						

        <Style x:Key="UsGridViewHeaderStyle"  TargetType="{x:Type DataGridColumnHeader}">
            <Setter Property="VerticalContentAlignment" Value="Center" />
            <Setter Property="HorizontalContentAlignment" Value="Center" />
            <Setter Property="Height" Value="35" />
            <Setter Property="SeparatorBrush" Value="DarkRed" />
            <Setter Property="FontWeight" Value="Bold" />
			<Setter Property="BorderThickness" Value="1,1,1,1"/>
            <Setter Property="Background" >
                <Setter.Value>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1" >
								<GradientStop Color="White" Offset="0"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
            <Setter Property="Foreground" Value="Blue"/>
            <Setter Property="BorderBrush">
                <Setter.Value>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="Blue" Offset="0"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>
									
        <Style x:Key="UsDataGridCellStyle" TargetType="DataGridCell" >
		    <Setter Property="FontFamily" Value="Calibri" />
            <Setter Property="FontSize" Value="18" />
            <Setter Property="FontWeight" Value="Bold" />
			<Setter Property="Foreground" Value="White" />
            <Setter Property="Background">
                <Setter.Value>
                    <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
							<GradientStop Color="#FF212CA5" Offset="0"/>
							<GradientStop Color="Blue" Offset="0.35"/>
							<GradientStop Color="#FF81A3D4" Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type DataGridCell}">
						<Grid Background="{TemplateBinding Background}">
							<ContentPresenter  VerticalAlignment="Center" />
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>			
            <Style.Triggers>
                <Trigger Property="IsSelected" Value="True">
					<Setter Property="Foreground" Value="Black" />
                    <Setter Property="Background">
                        <Setter.Value>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
								<GradientStop Color="#FFFFD190" Offset="0.2"/>
								<GradientStop Color="Orange" Offset="0.85"/>
								<GradientStop Color="#FFFFD190" Offset="1"/>
                            </LinearGradientBrush>
                        </Setter.Value>
                    </Setter>
                </Trigger>
            </Style.Triggers>
        </Style>				
	
	
        <Style x:Key="UsPolyInfo" TargetType="{x:Type Polygon}">
            <Setter Property="Stroke" Value="Green"/>
            <Setter Property="StrokeThickness" Value="2"/>
            <Setter Property="Fill">
                <Setter.Value>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1" >
						<GradientStop Color="#FF83AAF7" Offset="0"/>
						<GradientStop Color="#FFA5C1F0" Offset="0.35"/>
						<GradientStop Color="#FF81A3D4" Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="UsProgressBar" TargetType="ProgressBar">      
            <Setter Property="Foreground">
                <Setter.Value>
                    <LinearGradientBrush EndPoint=".5,1" StartPoint=".5,0">
						<GradientStop Color="#FF83AAF7" Offset="0"/>
						<GradientStop Color="#FF1B58BE" Offset="0.35"/>
						<GradientStop Color="#FF120870" Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>			
        <Style x:Key="TabItemStyle" TargetType="{x:Type TabItem}">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type TabItem}">
                        <Grid>
                            <Border  Name="Border" Margin="0,0,-4,0" BorderThickness="1,1,1,1" CornerRadius="2,12,0,0" >
                                <ContentPresenter x:Name="ContentSite" VerticalAlignment="Center" HorizontalAlignment="Center" ContentSource="Header" Margin="12,2,12,2" RecognizesAccessKey="True"/>
                            </Border>
                        </Grid>
                        <ControlTemplate.Triggers>

                            <Trigger Property="IsSelected" Value="True">
								<Setter Property="Foreground" Value="White"/>
                                <Setter Property="Panel.ZIndex" Value="100" />
                                <Setter TargetName="Border" Property="Background" Value="Blue" />
                                <Setter TargetName="Border" Property="BorderThickness" Value="1,1,1,0" />
                            </Trigger>

                            <Trigger Property="IsSelected" Value="False">
								<Setter Property="Foreground" Value="Blue"/>
                                <Setter TargetName="Border" Property="Background" Value="#FFD7D7D7" />
                            </Trigger>

                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
		
        <Style x:Key="ShadowStyle">
            <Setter Property="Control.Foreground" Value="White" />
        </Style>					
		<Style x:Key="MyFocusVisual">
            <Setter Property="Control.Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type Control}">
                        <Grid Margin="3 2">
                            <Rectangle Name="r1" StrokeThickness="1" Stroke="#686868" StrokeDashArray="2 2"/>
                            <Border Name="border" Width="{TemplateBinding ActualWidth}" Height="{TemplateBinding ActualHeight}"  CornerRadius="2" BorderThickness="1" />
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="PlugInButton" TargetType="Button">
            <Setter Property="Cursor" Value="Hand"/>
            <Setter Property="OverridesDefaultStyle" Value="True"/>
            <Setter Property="Margin" Value="2"/>
            <Setter Property="FontFamily" Value="Arial"/>
            <Setter Property="FontSize" Value="14px"/>
			<Setter Property="Foreground" Value="Black"/>
            <Setter Property="FocusVisualStyle" Value="{StaticResource MyFocusVisual}" />
            <Setter Property="Background" >
                <Setter.Value>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1" >
							<GradientStop Color="#FF90C5FF" Offset="0.2"/>
							<GradientStop Color="#FF008CFF" Offset="0.85"/>
							<GradientStop Color="#FF90B1FF" Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>

            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Button">
                        <Border Name="border" 
        				BorderThickness="1"
        				Padding="4,2" 
        				BorderBrush="DarkGray" 
        				CornerRadius="3" 
        				Background="{TemplateBinding Background}">
                            <Grid >
                                <ContentPresenter HorizontalAlignment="Center" 
        	                           VerticalAlignment="Center" Name="contentShadow" 
        					           Style="{StaticResource ShadowStyle}">
                                    <ContentPresenter.RenderTransform>
                                        <TranslateTransform X="1.0" Y="1.0" />
                                    </ContentPresenter.RenderTransform>
                                </ContentPresenter>
                                <ContentPresenter HorizontalAlignment="Center" 
                                    VerticalAlignment="Center" Name="content"/>
                            </Grid>
                        </Border>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsMouseOver" Value="True">
                                <Setter TargetName="border" Property="BorderBrush" Value="#FF4788C8" />
                                <Setter Property="Foreground" Value="Red" />
                            </Trigger>
                            <Trigger Property="IsPressed" Value="True">
                                <Setter Property="Background" >
                                    <Setter.Value>
                                        <LinearGradientBrush StartPoint="0,0" EndPoint="0,1" >
											<GradientStop Color="#FF9099FF" Offset="0.35"/>
											<GradientStop Color="#FF00FF8C" Offset="0.95"/>
											<GradientStop Color="#FF90D9FF" Offset="1"/>
                                        </LinearGradientBrush>
                                    </Setter.Value>
                                </Setter>
                                <Setter TargetName="content" Property="RenderTransform" >
                                    <Setter.Value>
                                        <TranslateTransform Y="1.0" />
                                    </Setter.Value>
                                </Setter>
                            </Trigger>
                            <Trigger Property="IsDefaulted" Value="True">
                                <Setter TargetName="border" Property="BorderBrush" Value="#FF282828" />
                            </Trigger>
                            <Trigger Property="IsFocused" Value="True">
                                <Setter TargetName="border" Property="BorderBrush" Value="#FF282828" />
                            </Trigger>
                            <Trigger Property="IsEnabled" Value="False">
                                <Setter TargetName="border" Property="Opacity" Value="0.7" />
                                <Setter Property="Foreground" Value="Gray" />
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>					
			
        <Style x:Key="PlugInButtonSelect" TargetType="Button">
            <Setter Property="Cursor" Value="Hand"/>
            <Setter Property="OverridesDefaultStyle" Value="True"/>
            <Setter Property="Margin" Value="2"/>
            <Setter Property="FontFamily" Value="Verdana"/>
            <Setter Property="FontSize" Value="14px"/>
			<Setter Property="Foreground" Value="Blue"/>
            <Setter Property="FocusVisualStyle" Value="{StaticResource MyFocusVisual}" />
            <Setter Property="Background" >
                <Setter.Value>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1" >
                        <GradientStop Color="#FFFFD190" Offset="0.2"/>
                        <GradientStop Color="Orange" Offset="0.85"/>
                        <GradientStop Color="#FFFFD190" Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>

            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Button">
                        <Border Name="border" 
        				BorderThickness="1"
        				Padding="4,2" 
        				BorderBrush="DarkGray" 
        				CornerRadius="3" 
        				Background="{TemplateBinding Background}">
                            <Grid >
                                <ContentPresenter HorizontalAlignment="Center" 
        	                           VerticalAlignment="Center" Name="contentShadow" 
        					           Style="{StaticResource ShadowStyle}">
                                    <ContentPresenter.RenderTransform>
                                        <TranslateTransform X="1.0" Y="1.0" />
                                    </ContentPresenter.RenderTransform>
                                </ContentPresenter>
                                <ContentPresenter HorizontalAlignment="Center" 
                                    VerticalAlignment="Center" Name="content"/>
                            </Grid>
                        </Border>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsMouseOver" Value="True">
                                <Setter TargetName="border" Property="BorderBrush" Value="#FF4788c8" />
                                <Setter Property="Foreground" Value="#FF4788c8" />
                            </Trigger>
                            <Trigger Property="IsPressed" Value="True">
                                <Setter Property="Background" >
                                    <Setter.Value>
                                        <LinearGradientBrush StartPoint="0,0" EndPoint="0,1" >
                                            <GradientStop Color="#FF9BFF90" Offset="0.35"/>
                                            <GradientStop Color="Green" Offset="0.95"/>
                                            <GradientStop Color="#FF9BFF90" Offset="1"/>
                                        </LinearGradientBrush>
                                    </Setter.Value>
                                </Setter>
                                <Setter TargetName="content" Property="RenderTransform" >
                                    <Setter.Value>
                                        <TranslateTransform Y="1.0" />
                                    </Setter.Value>
                                </Setter>
                            </Trigger>
                            <Trigger Property="IsDefaulted" Value="True">
                                <Setter TargetName="border" Property="BorderBrush" Value="#FF282828" />
                            </Trigger>
                            <Trigger Property="IsFocused" Value="True">
                                <Setter TargetName="border" Property="BorderBrush" Value="#FF282828" />
                            </Trigger>
                            <Trigger Property="IsEnabled" Value="False">
                                <Setter TargetName="border" Property="Opacity" Value="0.7" />
                                <Setter Property="Foreground" Value="Gray" />
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>			
        <Style TargetType="TextBox" x:Key="TextBoxStyle">
            <Setter Property="FontSize" Value="30" />
            <Setter Property="FontFamily" Value="Calibri" />
            <Setter Property="FontWeight" Value="Bold" />
            <Setter Property="Padding" Value="1" />
            <Setter Property="TextAlignment" Value="Center"/>
            <Setter Property="Background" Value="White" />
            <Setter Property="Foreground" Value="Blue"/>
        </Style>					
        <Style TargetType="CheckBox" x:Key="CheckBoxStyle">
            <Setter Property="FontSize" Value="22"></Setter>
            <Setter Property="FontWeight" Value="Bold"></Setter>
            <Setter Property="Cursor" Value="Hand"></Setter>
            <Setter Property="Content" Value=""></Setter>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type CheckBox}">
                        <Grid>
                            <Ellipse x:Name="outerEllipse">
                                <Ellipse.Fill>
                                    <RadialGradientBrush>
                                        <GradientStop Offset="0" Color="Red"/>
                                        <GradientStop Offset="0.88" Color="LightCoral"/>
                                        <GradientStop Offset="1" Color="DarkRed"/>
                                    </RadialGradientBrush>
                                </Ellipse.Fill>
                            </Ellipse>
                            <Ellipse Margin="5" x:Name="highlightCircle" >
                                <Ellipse.Fill >
                                    <LinearGradientBrush >
											<GradientStop Offset="0" Color="Blue"/>
											<GradientStop Offset="0.5" Color="#FF81A2FD"/>
											<GradientStop Offset="1" Color="#FF213499"/>
                                    </LinearGradientBrush>
                                </Ellipse.Fill>
                            </Ellipse>
                            <ContentPresenter x:Name="content" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsChecked" Value="False">
                                <Setter Property="Foreground" Value="Red"></Setter>
                                <Setter TargetName="highlightCircle" Property="Fill">
                                    <Setter.Value>
                                        <LinearGradientBrush StartPoint="0.3,0" EndPoint="0.7,1">
											<GradientStop Offset="0" Color="Blue"/>
											<GradientStop Offset="0.5" Color="#FF81A2FD"/>
											<GradientStop Offset="1" Color="#FF213499"/>
                                        </LinearGradientBrush>
                                    </Setter.Value>
                                </Setter>
                                <Setter TargetName="outerEllipse" Property="Fill">
                                    <Setter.Value>
                                        <RadialGradientBrush>
                                            <GradientStop Offset="0" Color="Blue"/>
                                            <GradientStop Offset="0.88" Color="LightBlue"/>
                                            <GradientStop Offset="1" Color="Blue"/>
                                        </RadialGradientBrush>
                                    </Setter.Value>
                                </Setter>
                            </Trigger>
                            <Trigger Property="IsChecked" Value="True">
                                <Setter Property="Foreground" Value="White"></Setter>
                                <Setter TargetName="highlightCircle" Property="Fill">
                                    <Setter.Value>
                                        <LinearGradientBrush StartPoint="0.3,0" EndPoint="0.7,1">
                                            <GradientStop Offset="0" Color="Red"/>
                                            <GradientStop Offset="0.5" Color="LightCoral"/>
                                            <GradientStop Offset="1" Color="DarkRed"/>
                                        </LinearGradientBrush>
                                    </Setter.Value>
                                </Setter>
                            </Trigger>
                            <Trigger Property="IsEnabled" Value="False">
                                <Setter Property="Foreground" Value="White"></Setter>
                                <Setter TargetName="highlightCircle" Property="Fill">
                                    <Setter.Value>
                                        <LinearGradientBrush StartPoint="0.3,0" EndPoint="0.7,1">
                                            <GradientStop Offset="0" Color="Gray"/>
                                            <GradientStop Offset="0.5" Color="Gray"/>
                                            <GradientStop Offset="1" Color="DarkGray"/>
                                        </LinearGradientBrush>
                                    </Setter.Value>
                                </Setter>
                            </Trigger>							
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
	
        <Style x:Key="BorderSelector" TargetType="Border">
            <Style.Resources>
                <RadialGradientBrush x:Key="BackBrush"  >
									<GradientStop Color="White" Offset="0.2" />
									<GradientStop Color="#CCD6D6D6" Offset="0.9" />
                </RadialGradientBrush>
            </Style.Resources>
            <Setter Property="Background" Value="{StaticResource BackBrush}"/>
            <Setter Property="BorderBrush" Value="Blue"/>
            <Setter Property="BorderThickness" Value="1" />
            <Setter Property="CornerRadius" Value="20" />
        </Style>
		<Style x:Key="LabelSelector" TargetType="Label">
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
            <Setter Property="VerticalContentAlignment" Value="Center"/>
            <Setter Property="FontFamily" Value="Microsoft Sans Serif"/>
            <Setter Property="Padding" Value="0"/>
            <Setter Property="Foreground" Value="Blue"/>
        </Style>		
		
        <Style x:Key="BorderSelector1" TargetType="Border">
            <Style.Resources>
                <RadialGradientBrush x:Key="BackBrush"  >
                    <GradientStop Color="Blue" Offset="0.7" />
					<GradientStop Color="#CCD6D6D6" Offset="0.9" />
                </RadialGradientBrush>
            </Style.Resources>
            <Setter Property="Background" Value="{StaticResource BackBrush}"/>
            <Setter Property="BorderBrush" Value="Blue"/>
            <Setter Property="BorderThickness" Value="1" />
            <Setter Property="CornerRadius" Value="30" />
        </Style>
        <Style x:Key="LabelInc" TargetType="Label">

            <Setter Property="HorizontalContentAlignment" Value="Center"/>
            <Setter Property="VerticalContentAlignment" Value="Center"/>

            <Setter Property="FontFamily" Value="Microsoft Sans Serif"/>
            <Setter Property="Padding" Value="0"/>
            <Setter Property="Foreground" Value="White"/>

        </Style>  		
        <Style x:Key="BorderInc" TargetType="Border">
            <Style.Resources>
                <RadialGradientBrush x:Key="BackBrush"  >
                    <GradientStop Color="Blue" Offset="0" />
                </RadialGradientBrush>
            </Style.Resources>
            <Setter Property="Background" Value="{StaticResource BackBrush}"/>
            <Setter Property="BorderBrush" Value="#FF212CA5"/>
            <Setter Property="BorderThickness" Value="1" />
            <Setter Property="CornerRadius" Value="10" />
        </Style>			
        <Style x:Key="LabelSelector1" TargetType="Label">

            <Setter Property="HorizontalContentAlignment" Value="Center"/>
            <Setter Property="VerticalContentAlignment" Value="Center"/>

            <Setter Property="FontFamily" Value="Microsoft Sans Serif"/>
            <Setter Property="Padding" Value="0"/>
            <Setter Property="Foreground" Value="White"/>

        </Style>
        <Style x:Key="SliderThumbStyle" TargetType="Thumb">
            <Setter Property="SnapsToDevicePixels" Value="true"/>
            <Setter Property="OverridesDefaultStyle" Value="false"/>
            <Setter Property="Height" Value="20"/>
            <Setter Property="Width" Value="20"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Thumb">
                        <Ellipse  Stroke="{x:Null}"
                          StrokeThickness="1"
                          Name="Ellipse" >
                            <Ellipse.Fill>
                                <RadialGradientBrush>
									<GradientStop Color="White" Offset="0.2" />
									<GradientStop Color="#CCF6F6F6" Offset="0.9" />
                                </RadialGradientBrush>
                            </Ellipse.Fill>
                        </Ellipse>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsMouseOver" Value="True">
                                <Setter TargetName="Ellipse" Property="Fill">
                                    <Setter.Value>
                                        <RadialGradientBrush>
                                            <GradientStop Color="#CCF6F6F6" Offset="0.2" />
                                            <GradientStop Color="White" Offset="0.9" />
                                        </RadialGradientBrush>
                                    </Setter.Value>
                                </Setter>
                            </Trigger>
                            <Trigger Property="IsEnabled" Value="false">
                                <Setter TargetName="Ellipse" Property="Fill" Value="Gray"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style> 
        <Style TargetType="Slider" x:Key="SliderStyle">
            <Setter Property="OverridesDefaultStyle" Value="true"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Slider">
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="2" />
                                <RowDefinition Height="40" Name="row" />
                                <RowDefinition Height="2" />
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="auto" />
                                <ColumnDefinition Width="*" Name="column" />
                                <ColumnDefinition Width="auto" />
                            </Grid.ColumnDefinitions>
                            <Border Name="PART_Border"
                           BorderBrush="Blue" BorderThickness="1.5" CornerRadius="15"
                           Padding="2"
                          Grid.Row="1" Grid.Column="1"
                           Width="{TemplateBinding Width}"
                           Height="30"
                           HorizontalAlignment="Stretch"
                           VerticalAlignment="Center" >
                                <Border.Background>
                                    <RadialGradientBrush Center="0.5,0.5" >
										<GradientStop Color="#88F5F5EB" Offset="0.2"/>
										<GradientStop Color="#CC2265AE" Offset="0.4"/>
                                    </RadialGradientBrush>
                                </Border.Background>
                                <Border.Effect>
                                    <DropShadowEffect
                                        BlurRadius="56"
                                        Direction="392"
                                        Color="#CC7CAADC"
                                        RenderingBias="Quality" />
                                </Border.Effect>
                            </Border>
                            <Track Name="PART_Track"
                              HorizontalAlignment="Stretch"
                              VerticalAlignment="Center"
                              Grid.Row="1" Grid.Column="1"
                              Width="{TemplateBinding Width}"
                              Height="{TemplateBinding Height}">
                                <Track.Thumb>
                                    <Thumb Style="{StaticResource SliderThumbStyle}" />
                                </Track.Thumb>
                            </Track>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>					
					
        <!-- Animated Expander Button's Template-->
        <ControlTemplate x:Key="AnimatedExpanderButtonTemp" TargetType="{x:Type ToggleButton}">
            <Border x:Name="ExpanderButtonBorder"
                    Background="{TemplateBinding Background}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    Padding="{TemplateBinding Padding}"
                    >
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <Rectangle Fill="Transparent"
							   Cursor="Hand"
                               Grid.ColumnSpan="2"/>
                    <Ellipse  Name="Circle"
                         Grid.Column="0"
                         Stroke="Blue"
						 Cursor="Hand"
                         Width="30"
                         Height="30"
                         HorizontalAlignment="Center"
                         VerticalAlignment="Center"
                         />
                    <Path x:Name="Arrow"
                      Grid.Column="0"
                      Data="M 1,1.5 L 4.5,5 8,1.5"
                      Stroke="Blue"
					  Cursor="Hand"
                      StrokeThickness="2"
                      HorizontalAlignment="Center"
                      VerticalAlignment="Center"
                      RenderTransformOrigin="0.5,0.5"
                      >
                        <Path.RenderTransform>
                            <RotateTransform Angle="0"/>
                        </Path.RenderTransform>
                    </Path>
                    <ContentPresenter x:Name="HeaderContent"
                                      Grid.Column="1"
                                      Margin="4,0,0,0"
                                      ContentSource="Content"/>
                </Grid>
            </Border>
            <ControlTemplate.Triggers>
                <!-- Animate arrow when toggled-->
                <Trigger Property="IsChecked"
                         Value="True">
                    <Trigger.EnterActions>
                        <BeginStoryboard>
                            <Storyboard>
                                <DoubleAnimation Storyboard.TargetName="Arrow"
                                                 Storyboard.TargetProperty="(Path.RenderTransform).(RotateTransform.Angle)"
                                                 To="180"
                                                 Duration="0:0:0.2"/>
                            </Storyboard>
                        </BeginStoryboard>
                    </Trigger.EnterActions>
                    <Trigger.ExitActions>
                        <BeginStoryboard>
                            <Storyboard>
                                <DoubleAnimation Storyboard.TargetName="Arrow"
                                                 Storyboard.TargetProperty="(Path.RenderTransform).(RotateTransform.Angle)"
                                                 To="0"
                                                 Duration="0:0:0.2"/>
                            </Storyboard>
                        </BeginStoryboard>
                    </Trigger.ExitActions>
                </Trigger>

                <!-- MouseOver, Pressed behaviours-->
                <Trigger Property="IsMouseOver" Value="true">
                    <Setter Property="Stroke" Value="#FF212CA5" TargetName="Circle"/>
					<Setter Property="StrokeThickness" Value="4" TargetName="Circle"/>
                    <Setter Property="Stroke" Value="#FF212CA5"  TargetName="Arrow"/>
                </Trigger>
                <Trigger Property="IsPressed" Value="true">
                    <Setter Property="Stroke" Value="#FF212CA5" TargetName="Circle"/>
					<Setter Property="StrokeThickness" Value="1" TargetName="Circle"/>
                    <Setter Property="Stroke" Value="#FF212CA5" TargetName="Arrow"/>
					<Setter Property="StrokeThickness" Value="4" TargetName="Arrow"/>
                </Trigger>
            </ControlTemplate.Triggers>
        </ControlTemplate>
		
        <!-- Animated Expander Button's Template-->
        <ControlTemplate x:Key="AnimatedExpanderButtonTemp1" TargetType="{x:Type ToggleButton}">
            <Border x:Name="ExpanderButtonBorder"
                    Background="{TemplateBinding Background}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    Padding="{TemplateBinding Padding}"
                    >
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <Rectangle Fill="Transparent"
							   Cursor="Hand"
                               Grid.ColumnSpan="2"/>
                    <Ellipse  Name="Circle"
                         Grid.Column="0"
                         Stroke="White"
						 Cursor="Hand"
                         Width="40"
                         Height="40"
						 StrokeThickness="2"
                         HorizontalAlignment="Center"
                         VerticalAlignment="Bottom"
                              Margin="0,5"
                         />
                    <Path x:Name="Arrow"
                      Grid.Column="0"
                      Data="M 1,1.5 L 4.5,10 8,1.5"
                      Stroke="White"
					  Cursor="Hand"
                      StrokeThickness="2"
                      HorizontalAlignment="Center"
                      VerticalAlignment="Bottom"
                      RenderTransformOrigin="0.5,0.5"
                          Margin="0,20"
                      >
                        <Path.RenderTransform>
                            <RotateTransform Angle="0"/>
                        </Path.RenderTransform>
                    </Path>
                    <ContentPresenter x:Name="HeaderContent"
                                      Grid.Column="1"
                                      Margin="4,0,0,0"
                                      ContentSource="Content"/>
                </Grid>
            </Border>
            <ControlTemplate.Triggers>
                <!-- Animate arrow when toggled-->
                <Trigger Property="IsChecked"
                         Value="True">
                    <Trigger.EnterActions>
                        <BeginStoryboard>
                            <Storyboard>
                                <DoubleAnimation Storyboard.TargetName="Arrow"
                                                 Storyboard.TargetProperty="(Path.RenderTransform).(RotateTransform.Angle)"
                                                 To="180"
                                                 Duration="0:0:0.2"/>
                            </Storyboard>
                        </BeginStoryboard>
                    </Trigger.EnterActions>
                    <Trigger.ExitActions>
                        <BeginStoryboard>
                            <Storyboard>
                                <DoubleAnimation Storyboard.TargetName="Arrow"
                                                 Storyboard.TargetProperty="(Path.RenderTransform).(RotateTransform.Angle)"
                                                 To="0"
                                                 Duration="0:0:0.2"/>
                            </Storyboard>
                        </BeginStoryboard>
                    </Trigger.ExitActions>
                </Trigger>

                <!-- MouseOver, Pressed behaviours-->
                <Trigger Property="IsMouseOver"
                                 Value="true">
                    <Setter Property="Stroke"
                                    Value="#FF3C7FB1"
                                    TargetName="Circle"/>
                    <Setter Property="Stroke"
                                    Value="#FF3C7FB1"
                                    TargetName="Arrow"/>
                </Trigger>
                <Trigger Property="IsPressed"
                                 Value="true">
                    <Setter Property="Stroke"
                                    Value="#FF526C7B"
                                    TargetName="Circle"/>
                    <Setter Property="StrokeThickness"
                                    Value="1.5"
                                    TargetName="Circle"/>
                    <Setter Property="Stroke"
                                    Value="#FF003366"
                                    TargetName="Arrow"/>
                </Trigger>
            </ControlTemplate.Triggers>
        </ControlTemplate>		

        <ControlTemplate x:Key="StretchyExpanderTemp" TargetType="{x:Type Expander}">
            <DockPanel Margin="0,0,0,0" RenderTransformOrigin="0.372,0.479">
                <ToggleButton x:Name="ExpanderButton" 
                              DockPanel.Dock="Right"
                              Template="{StaticResource AnimatedExpanderButtonTemp}"
                              Content="{TemplateBinding Header}"
                              IsChecked="{Binding Path=IsExpanded, RelativeSource={RelativeSource TemplatedParent}}"
                              OverridesDefaultStyle="True"
                              Padding="1.5,0" Height="Auto">
                </ToggleButton>
                <ContentPresenter x:Name="ExpanderContent"
                                  ContentSource="Content"
                                  DockPanel.Dock="Left"
                                  >
                    <ContentPresenter.LayoutTransform>
                        <ScaleTransform ScaleX="0"/>
                    </ContentPresenter.LayoutTransform>
                </ContentPresenter>
            </DockPanel>
            <ControlTemplate.Triggers>
                <Trigger Property="IsExpanded" Value="True">
                    <Trigger.EnterActions>
                        <BeginStoryboard>
                            <Storyboard>
                                <DoubleAnimation Storyboard.TargetName="ExpanderContent"
                                                 Storyboard.TargetProperty="(ContentPresenter.LayoutTransform).(ScaleTransform.ScaleX)"                                                 
                                                 To="1"
                                                 Duration="0:0:0.2"/>
                            </Storyboard>
                        </BeginStoryboard>
                    </Trigger.EnterActions>
                    <Trigger.ExitActions>
                        <BeginStoryboard>
                            <Storyboard>
                                <DoubleAnimation Storyboard.TargetName="ExpanderContent"
                                                 Storyboard.TargetProperty="(ContentPresenter.LayoutTransform).(ScaleTransform.ScaleX)"
                                                 To="0"
                                                 Duration="0:0:0.2"/>
                            </Storyboard>
                        </BeginStoryboard>
                    </Trigger.ExitActions>
                </Trigger>
            </ControlTemplate.Triggers>
        </ControlTemplate>

        <ControlTemplate x:Key="StretchyExpanderTemp1" TargetType="{x:Type Expander}">
            <DockPanel Margin="0,0,0,0" RenderTransformOrigin="0.372,0.479">
                <ToggleButton x:Name="ExpanderButton" 
                              DockPanel.Dock="Right"
                              Template="{StaticResource AnimatedExpanderButtonTemp1}"
                              Content="{TemplateBinding Header}"
                              IsChecked="{Binding Path=IsExpanded, RelativeSource={RelativeSource TemplatedParent}}"
                              OverridesDefaultStyle="True"
                              Padding="1.5,0" Height="Auto">
                </ToggleButton>
                <ContentPresenter x:Name="ExpanderContent"
                                  ContentSource="Content"
                                  DockPanel.Dock="Left"
                                  >
                    <ContentPresenter.LayoutTransform>
                        <ScaleTransform ScaleX="0"/>
                    </ContentPresenter.LayoutTransform>
                </ContentPresenter>
            </DockPanel>
            <ControlTemplate.Triggers>
                <Trigger Property="IsExpanded" Value="True">
                    <Trigger.EnterActions>
                        <BeginStoryboard>
                            <Storyboard>
                                <DoubleAnimation Storyboard.TargetName="ExpanderContent"
                                                 Storyboard.TargetProperty="(ContentPresenter.LayoutTransform).(ScaleTransform.ScaleX)"                                                 
                                                 To="1"
                                                 Duration="0:0:0.2"/>
                            </Storyboard>
                        </BeginStoryboard>
                    </Trigger.EnterActions>
                    <Trigger.ExitActions>
                        <BeginStoryboard>
                            <Storyboard>
                                <DoubleAnimation Storyboard.TargetName="ExpanderContent"
                                                 Storyboard.TargetProperty="(ContentPresenter.LayoutTransform).(ScaleTransform.ScaleX)"
                                                 To="0"
                                                 Duration="0:0:0.2"/>
                            </Storyboard>
                        </BeginStoryboard>
                    </Trigger.ExitActions>
                </Trigger>
            </ControlTemplate.Triggers>
        </ControlTemplate>		
		<!-- Animated Expander Button's Template-->							
									

    <Style x:Key="BtnVisType" TargetType="Button" >
        <Style.Resources>
            <LinearGradientBrush x:Key="BackBrush" StartPoint="0.5,0" EndPoint="0.5,1" >
                <GradientStop Color="#FF232020" Offset="0.1" />
                <GradientStop Color="#FF504040" Offset="0.9" />
            </LinearGradientBrush>
        </Style.Resources>
		<Setter Property="Cursor" Value="Hand"/>
        <Setter Property="Background" Value="{StaticResource BackBrush}" />
		<Setter Property="Foreground" Value="White" />
        <Setter Property="TextBlock.TextAlignment" Value="Center" />
		<Setter Property="FontFamily" Value="Calibri"/>
       
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Padding" Value="0"/>
	
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Border CornerRadius="10" Background="{StaticResource BackBrush}" BorderBrush="#ccc" BorderThickness="0,1,1,0" >
                        <ContentPresenter x:Name="contentPresenter" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
			
    </Style>					
					
    <Style x:Key="MainGridStyle" TargetType="Grid">
        <Style.Resources>
            <LinearGradientBrush x:Key="BackBrush" StartPoint="0.5,0" EndPoint="0.5,1" >
                <GradientStop Color="White" Offset="0.2"/>
                <GradientStop Color="#FFEEE9E4" Offset="0.7"/>
                <GradientStop Color="White" Offset="1"/>
            </LinearGradientBrush>
        </Style.Resources>
        <Setter Property="Background" Value="{StaticResource BackBrush}"/>
    </Style>
	
    <Style x:Key="BorderStyle" TargetType="Border">
        <Style.Resources>
            <LinearGradientBrush x:Key="BackBrush"
        StartPoint="0.5,0" EndPoint="0.5,1" >
                <GradientStop Color="White" Offset="0" />
            </LinearGradientBrush>
            <LinearGradientBrush x:Key="BorderBrush"
        StartPoint="0.5,0" EndPoint="0.5,1" >
                <GradientStop Color="Blue" Offset="0" />
            </LinearGradientBrush>
        </Style.Resources>
        <Setter Property="Background" Value="{StaticResource BackBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="CornerRadius" Value="4" />        
    </Style>
	
    <Style x:Key="BorderAbsStyle" TargetType="Border">
        <Style.Resources>
            <LinearGradientBrush x:Key="BackBrush"
        StartPoint="0.5,0" EndPoint="0.5,1" >
                <GradientStop Color="White" Offset="0" />
            </LinearGradientBrush>
            <LinearGradientBrush x:Key="BorderBrush"
        StartPoint="0.5,0" EndPoint="0.5,1" >
                <GradientStop Color="#FF212CA5" Offset="0" />
            </LinearGradientBrush>
        </Style.Resources>
        <Setter Property="Background" Value="{StaticResource BackBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="CornerRadius" Value="4" />        
    </Style>	

    <Style x:Key="BorderMonitorStyle" TargetType="Border">
        <Style.Resources>
            <LinearGradientBrush x:Key="BackBrush"
        StartPoint="0.5,0" EndPoint="0.5,1" >
                <GradientStop Color="Blue" Offset="0" />
            </LinearGradientBrush>
            <LinearGradientBrush x:Key="BorderBrush"
        StartPoint="0.5,0" EndPoint="0.5,1" >
                <GradientStop Color="#FF212CA5" Offset="0" />
            </LinearGradientBrush>
        </Style.Resources>
        <Setter Property="Background" Value="{StaticResource BackBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="CornerRadius" Value="0,15,15,0" />       
    </Style>		
	
    <Style x:Key="BorderNameAxesStyle" TargetType="Border">
        <Style.Resources>
            <LinearGradientBrush x:Key="BackBrush"
        StartPoint="0.5,0" EndPoint="0.5,1" >
                <GradientStop Color="Blue" Offset="0" />
            </LinearGradientBrush>
            <LinearGradientBrush x:Key="BorderBrush"
        StartPoint="0.5,0" EndPoint="0.5,1" >
                <GradientStop Color="#FF212CA5" Offset="0" />
            </LinearGradientBrush>
        </Style.Resources>
        <Setter Property="Background" Value="{StaticResource BackBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="CornerRadius" Value="8" />        
    </Style>	

	
    <Style x:Key="LabelStyle" TargetType="Label">

        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>

        <Setter Property="FontFamily" Value="Calibri"/>
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Foreground" Value="Blue"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Label">
                        <Border>
                            <ContentPresenter
                  HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                  VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                  RecognizesAccessKey="False" />
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>

    </Style>

    <Style x:Key="LabelAbsStyle" TargetType="Label">
        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>

        <Setter Property="FontFamily" Value="Calibri"/>
        
        <Setter Property="Padding" Value="0"/>
		<Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Foreground" Value="Blue"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Label">
                        <Border>
                            <ContentPresenter
                  HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                  VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                  RecognizesAccessKey="False" />
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
    </Style>	

    <Style x:Key="LabelMonitorStyle" TargetType="Label">
        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>

        <Setter Property="FontFamily" Value="Calibri"/>
        <Setter Property="Padding" Value="0"/>
		<Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Foreground" Value="White"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Label">
                        <Border>
                            <ContentPresenter
                  HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                  VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                  RecognizesAccessKey="False" />
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
    </Style>	
	
    <Style x:Key="LabelCommandsStyle" TargetType="Label">

        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>

        <Setter Property="FontFamily" Value="Calibri"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Foreground" Value="Blue"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Label">
                        <Border>
                            <ContentPresenter
                  HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                  VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                  RecognizesAccessKey="False" />
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>

    </Style>
	
    <Style x:Key="LabelNameAxesStyle" TargetType="Label">

        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>

        <Setter Property="FontFamily" Value="Calibri"/>
        
        <Setter Property="Padding" Value="0"/>
		<Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Foreground" Value="White"/>

    </Style>
    <Style x:Key="LabelFlashStyle" TargetType="Label">

        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        
        <Setter Property="FontFamily" Value="Calibri"/>
        
        <Setter Property="Padding" Value="-2"/>
		<Setter Property="Foreground" Value="#FFB3C6E0"/>  
		<Setter Property="Background" Value="Transparent"/> 		
    </Style>		
    <Style x:Key="LabelHomeStyle" TargetType="Label">
        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="FontFamily" Value="Calibri"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Foreground" Value="Blue"/>
    </Style>	
	
    <Style x:Key="ButtonCommandsStyle" TargetType="{x:Type Button}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Border Name="border" 
                        Background="{TemplateBinding Background}">
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="RenderTransform">
            <Setter.Value>
                <ScaleTransform ScaleX="1" ScaleY="1"/>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger Property="IsPressed" Value="True">
                <Trigger.EnterActions>
                    <BeginStoryboard>
						<Storyboard>
							<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" 
							To="0.6" Duration="0:0:0.2" />
							<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" 
							To="0.6" Duration="0:0:0.2" />
						</Storyboard>
					</BeginStoryboard>
                </Trigger.EnterActions>
                <Trigger.ExitActions>
                    <BeginStoryboard>
						<Storyboard x:Key="shrinkStoryboard">
							<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" 
							To="1" Duration="0:0:0.2" />
							<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" 
							To="1" Duration="0:0:0.2" />
						</Storyboard>
					</BeginStoryboard>
                </Trigger.ExitActions>
            </Trigger>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Effect">
                    <Setter.Value>
                        <DropShadowEffect ShadowDepth="0" Color="Green" Opacity="1" BlurRadius="20"/>
                    </Setter.Value>
                </Setter>
            </Trigger>
			<Trigger Property="IsEnabled" Value="False">
                <Setter Property="Opacity" Value="0.25"></Setter>
            </Trigger>
        </Style.Triggers>                     
    </Style>
	
    <Style x:Key="NotifyListViewFont"  TargetType="{x:Type ListViewItem}">
        <Setter Property="Foreground" Value="Blue" />
        <Setter Property="FontWeight" Value="Normal" />
		<Style.Triggers>
			<Trigger Property="IsSelected" Value="True">
				<Setter Property="Foreground" Value="#FF212CA5" />
			</Trigger>
			<Trigger Property="IsMouseOver" Value="True">
				<Setter Property="Foreground" Value="#FF212CA5" />
			</Trigger>
		</Style.Triggers>
    </Style>	
    <Style x:Key="NotifyListViewStyle" TargetType="ListView">
		<Setter Property="BorderBrush" Value="Blue" />
        <Style.Resources>
		    <Style  TargetType="TextBlock">
				<Setter Property="TextWrapping" Value="NoWrap" />
                <Setter Property="TextTrimming" Value="CharacterEllipsis"/>	
				<Setter Property="ToolTip"  Value="{Binding UsDescription}"/>
            </Style>
            <Style  TargetType="ScrollBar">
                <Setter Property="Width" Value="30"/>		
            </Style>
        </Style.Resources>
    </Style>
	<Label x:Key="UsGcodeForeground"  Foreground="Black" />
	<Label x:Key="UsGcodeComment"  Foreground="Green" />
	<Label x:Key="UsGcodeString"  Foreground="Maroon" />		
	<Label x:Key="UsGcodeDateLiteral"  Foreground="Black" />	
	<Label x:Key="UsGcodeDataTypes"  Foreground="Red" />
	<Label x:Key="UsGcodeKeywords"  Foreground="Blue" />
	<Label x:Key="UsGcodeBackGround"  Foreground="White" />	
	<Label x:Key="UsGcodeLineNumberColor"  Foreground="#FF808080" />
	<Label x:Key="UsGcodeDemandMarker"  Foreground="Yellow" />	
	<Label x:Key="UsGcodeActualMarker"  Foreground="Cyan" />	
	<Label x:Key="LedOn" Content="WhiteStyleImages\WhiteLedOn.png"/>
	<Label x:Key="LedOff" Content="WhiteStyleImages\WhiteLedOff.png"/>
	<Label x:Key="ButtonStop" Content="WhiteStyleImages\WhiteStop.png"/>
	<Label x:Key="ButtonStart" Content="WhiteStyleImages\WhiteStart.png"/>
	<Label x:Key="ButtonPause" Content="WhiteStyleImages\WhitePause.png"/>	
	<Label x:Key="ButtonPreview" Content="WhiteStyleImages\WhitePreview.png"/>
	<Label x:Key="ButtonRealSimulation" Content="WhiteStyleImages\RealSimulation.png"/>
	<Label x:Key="ButtonCollision" Content="WhiteStyleImages\WhiteCollision.png"/>
	<Label x:Key="ButtonCalcTime" Content="WhiteStyleImages\CalcTime.png"/>	
	<Label x:Key="ButtonModeRun" Content="WhiteStyleImages\WhiteRun.png"/>	
	<Label x:Key="ButtonModeStep" Content="WhiteStyleImages\WhiteStep.png"/>
	<Label x:Key="UsNotifyCncError" Content="GreenStyleImages\NotifyCncError.png"/>
	<Label x:Key="UsNotifyCncWarning" Content="GreenStyleImages\NotifyCncWarning.png"/>
	<Label x:Key="UsNotifyGcodeDefError" Content="GreenStyleImages\NotifyGcodeDefError.png"/>
	<Label x:Key="UsNotifyGcodeError" Content="GreenStyleImages\NotifyGcodeError.png"/>
	<Label x:Key="UsNotifyInfo" Content="GreenStyleImages\NotifyInfo.png"/>
	<Label x:Key="ButtonCncAlarms" Content="WhiteStyleImages\WhiteBellNoAlarm.png"/>
	<Label x:Key="ButtonCncAlarmsGo" Content="WhiteStyleImages\WhiteBellAlarm.png"/>
	<Label x:Key="ButtonResetCncAlarm" Content="WhiteStyleImages\WhiteResetCncAlarm.png"/>
	<Label x:Key="ButtonFeedInc" Content="WhiteStyleImages\WhiteFeedInc.png"/>
	<Label x:Key="ButtonFeedDec" Content="WhiteStyleImages\WhiteFeedDec.png"/>
	<Label x:Key="ButtonSelP" Content="WhiteStyleImages\WhiteSelP.png"/>
	<Label x:Key="ButtonJogP" Content="WhiteStyleImages\WhiteJogP.png"/>
	<Label x:Key="ButtonJogM" Content="WhiteStyleImages\WhiteJogM.png"/>
	<Label x:Key="ButtonGoMan" Content="WhiteStyleImages\WhiteGoMan.png"/>
	<Label x:Key="ButtonGenericExit" Content="WhiteStyleImages\WhiteExit.png"/>
	<Label x:Key="ButtonGenericOk" Content="WhiteStyleImages\WhiteOk.png"/>	
	<Label x:Key="UsMonitorLedOff" Background="White" Foreground="Blue"/>
	<Label x:Key="UsMonitorLedOn" Background="Blue" Foreground="White"/>	
	<Label x:Key="UsPlugInLabel"  Foreground="Black" FontSize="20" FontFamily="Segoe UI Black"/>
	<Label x:Key="ButtonGenericInfo" Content="WhiteStyleImages\WhiteGeneralInfo.png"/>	
	<Label x:Key="ButtonInputMask" Content="WhiteStyleImages\WhiteWizard.png"/>
	<Label x:Key="ButtonSearch" Content="WhiteStyleImages\WhiteSearch.png"/>
	<Label x:Key="ButtonNewGcode" Content="WhiteStyleImages\WhiteNew.png"/>	
	<Label x:Key="ButtonRemoveBreak" Content="WhiteStyleImages\WhiteRemoveBreak.png"/>
	<Label x:Key="ButtonWatch" Content="WhiteStyleImages\WhiteWatch.png"/>
	<Label x:Key="ButtonLoadGcode" Content="WhiteStyleImages\WhiteLoadGcode.png"/>
	<Label x:Key="ButtonSaveGcode" Content="WhiteStyleImages\WhiteSaveGcode.png"/>
	<Label x:Key="ButtonFavorites" Content="WhiteStyleImages\WhiteFavorites.png"/>	
	<Label x:Key="ButtonMdi" Content="WhiteStyleImages\WhiteMdi.png"/>
	<Label x:Key="ButtonUtility" Content="WhiteStyleImages\WhiteUtility.png"/>
	<Label x:Key="ButtonScript" Content="WhiteStyleImages\WhiteScript.png"/>	
	<Label x:Key="ButtonNewFolder" Content="WhiteStyleImages\WhiteNewFolder.png"/>
	<Label x:Key="ButtonSxPreview" Content="WhiteStyleImages\SxPreview.png"/>
	<Label x:Key="ButtonDxPreview" Content="WhiteStyleImages\DxPreview.png"/>
	<Label x:Key="CheckBoxPanArea" Content="WhiteStyleImages\PanArea.png"/>	
	<Label x:Key="CheckBoxShowOrigins" Content="WhiteStyleImages\ShowOrigins.png"/>
	<Label x:Key="CheckBoxRotate" Content="WhiteStyleImages\Rotate.png"/>
	<Label x:Key="CheckBoxShowLineInfo" Content="WhiteStyleImages\ShowLineInfo.png"/>
	<Label x:Key="CheckBoxShowLineCursor" Content="WhiteStyleImages\ShowLineCursor.png"/>
	<Label x:Key="ButtonPreviewConfig" Content="WhiteStyleImages\PreviewConfig.png"/>	
	<Label x:Key="PreviewG0Color" Foreground="Gray"/>
	<Label x:Key="PreviewG1Color" Foreground="Red"/>
	<Label x:Key="PreviewG2Color" Foreground="Yellow"/>
	<Label x:Key="PreviewG3Color" Foreground="Green"/>
	<Label x:Key="PreviewPlanColor" Content="Brown"/>
	<Label x:Key="PreviewOffsetColor" Foreground="Red"/>
	<Label x:Key="PreviewMarkerAbsoluteOrigins" Foreground="Red"/>
	<Label x:Key="PreviewMarkerWorkOrigins" Foreground="Blue"/>
	<Label x:Key="PreviewMarkerWorkOffset" Foreground="Green"/>
	<Label x:Key="PreviewZeroOrigins" Content="Cyan"/>
	<Label x:Key="PreviewFileOrigins" Content="Green"/>
	<Label x:Key="PreviewMarkShowLineColor" Content="Green"/>
    <Label x:Key="PreviewCanvasBackGroundColor" Background="Transparent"/>
	<Label x:Key="ButtonLockSim" Content="WhiteStyleImages\WhiteLock.png"/>
	<Label x:Key="ButtonUnLockSim" Content="WhiteStyleImages\WhiteUnlock.png"/>
	<Label x:Key="ButtonZoomSim" Content="WhiteStyleImages\ZoomSim.png"/>
	<Label x:Key="ButtonZoomIn" Content="WhiteStyleImages\ZoomIn.png"/>
	<Label x:Key="ButtonZoomOut" Content="WhiteStyleImages\ZoomOut.png"/>	
	<Label x:Key="ButtonZoomToFit" Content="WhiteStyleImages\ZoomToFit.png"/>
	<Label x:Key="ButtonPassword" Content="WhiteStyleImages\Key.png"/>
	<Label x:Key="ButtonGenericAdd" Content="WhiteStyleImages\WhiteAdd.png"/>
	<Label x:Key="ButtonGenericRemove" Content="WhiteStyleImages\WhiteRemove.png"/>
	<Label x:Key="ButtonLinkFile" Content="WhiteStyleImages\Chain.png"/>
	<Label x:Key="ButtonWriteSingleParameter" Content="WhiteStyleImages\WriteSingleParameter.png"/>
	<Label x:Key="ButtonWriteAllParameters" Content="WhiteStyleImages\WriteAllParameters.png"/>
	<Label x:Key="ButtonRecoveryUsCfg" Content="WhiteStyleImages\RecoveryUsCfg.png"/>
	<Label x:Key="ButtonMask" Content="WhiteStyleImages\VarMask.png"/>
	<Label x:Key="ButtonAddMask" Content="WhiteStyleImages\MaskAdd.png"/>
	<Label x:Key="ButtonRemoveMask" Content="WhiteStyleImages\MaskRemove.png"/>
	<Label x:Key="ButtonAddVarMask" Content="WhiteStyleImages\AddVarMask.png"/>
	<Label x:Key="ButtonRemoveVarMask" Content="WhiteStyleImages\RemoveVarMask.png"/>
	<Label x:Key="ButtonModifyVarMask" Content="WhiteStyleImages\ModifyVarMask.png"/>
	<Label x:Key="ButtonGenericPageUp" Content="WhiteStyleImages\PageUp.png"/>
	<Label x:Key="ButtonGenericPageDown" Content="WhiteStyleImages\PageDown.png"/>
	<Label x:Key="ButtonAcqPressed" Content="WhiteStyleImages\AcqPressed.png"/>
	<Label x:Key="ButtonGenericUndo" Content="WhiteStyleImages\Undo.png"/>
	<Label x:Key="ButtonGenericCwRotate" Content="WhiteStyleImages\CwRotate.png"/>
	<Label x:Key="ButtonGenericCCwRotate" Content="WhiteStyleImages\CCwRotate.png"/>
	<Label x:Key="ButtonGenericMoveUp" Content="WhiteStyleImages\MoveUp.png"/>
	<Label x:Key="ButtonGenericMoveDown" Content="WhiteStyleImages\MoveDown.png"/>
	<Label x:Key="ButtonGenericSaveFavorites" Content="WhiteStyleImages\SaveFavorites.png"/>
	<Label x:Key="ButtonGenericStore" Content="WhiteStyleImages\Store.png"/>
	<Label x:Key="ButtonGenericCopy" Content="WhiteStyleImages\Copy.png"/>
	<Label x:Key="ButtonUsUpdate" Content="WhiteStyleImages\Update.png"/>
	<Label x:Key="ButtonUsKeyBoard" Content="WhiteStyleImages\keyboard.png"/>
	<Label x:Key="ButtonUsPipe" Content="WhiteStyleImages\pipe.png"/>
	<Label x:Key="ButtonUsMaterial" Content="WhiteStyleImages\Material.png"/>
	<Label x:Key="CheckBoxMeasures" Content="WhiteStyleImages\WhiteMeter.png"/>
    <Storyboard x:Key="ButtonActivated">
		<DoubleAnimation From="1.0" To="0.3" Duration="0:0:1" AutoReverse="True" RepeatBehavior="Forever"
		Storyboard.TargetProperty="Opacity" />
		<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1.0" AutoReverse="True" RepeatBehavior="Forever"
			To="0.6" Duration="0:0:1" />
		<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1.0" AutoReverse="True" RepeatBehavior="Forever"
			To="0.6" Duration="0:0:1" />					
    </Storyboard>	
    <Storyboard x:Key="LabelFlash">
		<ColorAnimation From="Red" To="Yellow" Duration="0:0:1" AutoReverse="True" RepeatBehavior="Forever"  Storyboard.TargetProperty="Background.Color" />
        <ColorAnimation Storyboard.TargetProperty="Foreground.Color" From="Yellow" AutoReverse="True" RepeatBehavior="Forever" To="Red" Duration="0:0:1" />
    </Storyboard>	
</ResourceDictionary>
